A method for self-verification of nuclear power data integrity

By self-checking each sub-task during the nuclear power data transmission process, locating and supplementing problem data, the incompleteness problem in nuclear power data transmission is solved, and the reliability of the data and the accuracy of analysis are improved.

CN118246076BActive Publication Date: 2024-08-27CHINA NUCLEAR POWER OPERATION TECH CORP +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410661706.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-08-27
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

The nuclear power industry Internet platform often encounters the problem of incomplete data when transmitting historical data. Especially due to the large amount of data and long transmission links, there are missing or redundant data in the storage process, which affects the reliability of the data and the application analysis. accuracy.

Method used

Provides a self-verification method for nuclear power data integrity. By performing self-verification on each sub-task in the collection task, including obtaining measurement point data, preprocessing, calculating feature values, comparing differences, and locating problem data based on the difference results, Generate supplemental acquisition tasks to ensure data integrity.

Benefits of technology

It achieves rapid and accurate location of problem data, improves the quality and integrity of nuclear power data, and ensures the reliability of center-side data and the accuracy of application analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118246076B
    Figure CN118246076B
Patent Text Reader

Abstract

The present invention discloses a nuclear power data integrity self-verification method, which performs a self-verification check on each subtask in a collection task, including: S1 respectively obtaining corresponding first measuring point data and second measuring point data from a target database and a source database according to a measuring point range and a time range in the subtask; S2 respectively performing preprocessing operations on the first measuring point data and the second measuring point data according to different data types; S3 respectively calculating corresponding first eigenvalues ​​and second eigenvalues ​​according to a time interval for the preprocessed first measuring point data and the second measuring point data, wherein the data types of the measuring points are different and the eigenvalues ​​are set differently; S4 comparing the first eigenvalue and the second eigenvalue in the same time segment to obtain a difference comparison result; S5 locating the problem data in the subtask based on the difference comparison result, which can realize automatic verification of the integrity of the nuclear power data stored on the center side, so as to locate the problem data and ensure consistency with the data on the edge side.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of nuclear power data processing, and in particular to a nuclear power data integrity self-checking method. Background Art

[0002] The edge side of the nuclear power industrial Internet platform accesses and stores massive time series data of the power plant. According to the characteristics of nuclear power data business, time series data can be divided into near real-time data and historical data. Among them, in the process of transmitting historical data from the edge side to the center side, incomplete and unreliable data are often encountered. Specifically, historical data has the characteristics of large data volume and large time span. Due to the long historical transmission link and many data flow links, the data finally stored in the nuclear power industrial Internet platform is incomplete. Since the nuclear power industrial Internet platform needs to perform various applications and analyses based on historical data, it has high requirements on the quality of historical data within a continuous time interval, otherwise it will affect the reliability of application and analysis. In order to improve the integrity and reliability of the massive historical data stored in the nuclear power industrial Internet platform, after the historical data is stored in the nuclear power industrial Internet platform, the nuclear power industrial Internet platform also designs a step to supplement the collection of problematic historical data to ensure the integrity and reliability of massive historical data. Due to the large number of nuclear power measurement points, the amount of data collected at each measurement point every day is usually more than 100, and the total amount of historical data usually reaches billions. Therefore, how to quickly locate problem data from massive data is an urgent problem that needs to be solved. Summary of the invention

[0003] In view of this, it is necessary to provide a nuclear power data integrity self-verification method to solve the problem of rapid positioning of problematic data at the center side of the nuclear power platform.

[0004] The present invention provides a nuclear power data integrity self-checking method, after judging that the current acquisition task is completed, a self-checking check is performed on each subtask in the acquisition task, wherein the self-checking of each subtask includes:

[0005] S1 acquires corresponding first measuring point data and second measuring point data from the target database and the source database respectively according to the measuring point range and the time range in the subtask;

[0006] S2, performing preprocessing operations on the first measuring point data and the second measuring point data respectively according to different data types;

[0007] S3, for the preprocessed first measuring point data and the second measuring point data, respectively calculating the first characteristic value and the second characteristic value corresponding to each measuring point in the time interval according to a preset time interval, wherein the data types of the measuring points are different and the characteristic values ​​are set differently;

[0008] S4 compares the first feature value and the second feature value in the same time period to obtain a difference comparison result;

[0009] S5: locating the problematic data in the subtask based on the difference comparison result, wherein the second measuring point data with differences is recorded as problematic data.

[0010] Preferably, S2 performs preprocessing operations on the first measuring point data and the second measuring point data respectively according to different data types, including:

[0011] If the data type of the measuring point is an integer type, all the measuring point values ​​in the measuring point are converted to scientific notation and then the denoising operation is performed;

[0012] If the data type of the measuring point is a switch value, performing a rounding operation on all the measuring point values ​​in the measuring point;

[0013] If the data type of the measurement point is a floating point, a denoising operation is performed on all the values ​​in the measurement point.

[0014] Preferably, the denoising operation retains 4 decimal places.

[0015] Preferably, in S3, the data types of the measuring points are different, and the characteristic values ​​are set differently, including:

[0016] If the data type of the measuring point is integer, the first eigenvalue and the second eigenvalue are variances;

[0017] If the data type of the measuring point is a switch value, the first eigenvalue and the second eigenvalue are SUM;

[0018] If the data type of the measurement point is a floating point type, the first eigenvalue and the second eigenvalue are averages.

[0019] Preferably, after the execution of S1, the step further includes aligning the first measuring point data with the second measuring point data according to the actual acquisition time, wherein, if there is measuring point data that is not time-aligned, the second measuring point data that is not time-aligned is recorded as problematic data and transferred to S5 for processing; and at the same time, the other first measuring point data and the second measuring point data that are time-aligned are transferred to S2 for processing.

[0020] Preferably, after S5, the step further includes: S6 a step of generating a supplementary collection task for the subtask based on the problem data, wherein, after the supplementary collection task is completed, the measuring point data obtained for the supplementary collection task continues to perform self-verification check until the subtask self-verification passes.

[0021] Further, for each subtask, when performing the first self-check, the time interval is set to be the same as the actual acquisition time frequency, and when performing subsequent self-checks, the time interval is not less than the actual acquisition time frequency setting.

[0022] Preferably, in S3, a target relationship table is constructed based on the measuring point, the time interval and the first characteristic value, and a source data relationship table is constructed based on the measuring point, the time interval and the second characteristic value; in S4, the target relationship table is compared with the source data relationship table to obtain a difference comparison result and construct a difference table, wherein the difference table includes the measuring point, the time interval and the difference comparison result.

[0023] Preferably, the self-checking method also includes a check completion table, which is used to store the completion result of the self-checking of each subtask. After the self-checking of each subtask is completed, the check value corresponding to the subtask is set to true, which is used to indicate that the subtask has completed the self-checking. Otherwise, the check value of the corresponding subtask is set to false. When the acquisition task performs self-checking, it obtains the check value of the corresponding subtask from the check completion table. If the corresponding check value in the subtask is true, the subtask is skipped and the self-checking of the next subtask is performed.

[0024] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any step of the file-based storage-based nuclear power historical data comparison method when executing the computer program.

[0025] The present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the computer program implements the steps of any one of the above-mentioned nuclear power historical data comparison methods based on file storage.

[0026] Compared with the prior art, a nuclear power data integrity self-verification method of the present invention adopts different preprocessing steps and sets different eigenvalues ​​for different types of measuring point data, and then obtains difference results based on eigenvalue comparison, thereby realizing fast and accurate acquisition of problem data, improving the quality of nuclear power data on the center side, and ensuring the integrity of nuclear power data on the center side. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0028] FIG1 is a flowchart of an embodiment of a method for self-verification of nuclear power data integrity provided by the present invention;

[0029] Figure 2 A flowchart of another example of a nuclear power data integrity self-checking method provided by the present invention;

[0030] Figure 3 This is a schematic diagram of the hardware structure of the computer device provided by the present invention. DETAILED DESCRIPTION

[0031] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0032] See also Figure 1 In this embodiment, a method for self-checking the integrity of nuclear power data is provided. After determining that the current collection task is completed, a self-check is performed on each subtask in the collection task. The self-check of each subtask includes:

[0033] S1 acquires corresponding first measuring point data and second measuring point data from the target database and the source database respectively according to the measuring point range and the time range in the subtask;

[0034] S2, performing preprocessing operations on the first measuring point data and the second measuring point data respectively according to different data types;

[0035] The same subtask may include multiple measurement points, each of which corresponds to a data type. In this embodiment, in order to improve the efficiency of subsequent difference determination, the measurement point data are preprocessed according to different data types, specifically including the following steps:

[0036] S21 respectively obtains data types in the first measuring point data and the second measuring point data;

[0037] In this embodiment, the type values ​​in the point_type fields of the first measuring point data and the second measuring point data are read respectively to determine the data type of the corresponding measuring point, wherein float indicates that the data type of the side point is a floating point, digital indicates that the data type of the side point is a switch value, and int indicates that the data type of the side point is an integer value;

[0038] S22 preprocesses the measurement point values ​​in the first measurement point data and the second measurement point data respectively:

[0039] In this embodiment, the measurement point values ​​are stored in the value field of the first measurement point data and the second measurement point data, wherein, if the data type of the measurement point is an integer type, the scientific notation conversion is performed on all the measurement point values ​​in the measurement point and then the denoising operation is performed; further, the denoising operation is to retain 4 decimal places, for example, if one group of measurement point values ​​is 912345600, the value is first converted to 9.123456 * 10^8, and then retained 4 digits to 9.1234 * 10^8, and finally the measurement point value result is 912340000;

[0040] If the data type of the measuring point is a switch value, a rounding operation is performed on all the measuring point values ​​in the measuring point. For example, if one group of measuring point values ​​of the measuring point is 1.0, it is directly rounded to 1;

[0041] If the data type of the measuring point is a floating point, a denoising operation is performed on all the values ​​in the measuring point. Furthermore, the denoising operation is to retain 4 decimal places. For example, if one set of measuring point values ​​of the measuring point is 9.123456, 4 decimal places are retained and recorded as 9.1234.

[0042] S3, for the preprocessed first measuring point data and the second measuring point data, respectively calculating the first characteristic value and the second characteristic value corresponding to each measuring point in the time interval according to a preset time interval, wherein the data types of the measuring points are different and the characteristic values ​​are set differently;

[0043] In this embodiment, in order to improve the accuracy and speed of self-checking, different eigenvalues ​​are calculated for different similar measuring points, where if the data type of the measuring point is integer type, the first eigenvalue and the second eigenvalue are variances. For integer type, the variance is used to calculate the difference rate in the integer array, which is better and faster than other types of eigenvalues; if the data type of the measuring point is switch quantity, the first eigenvalue and the second eigenvalue are SUM. This setting is faster and more accurate than calculating the variance. If the data type of the measuring point is floating point type, the first eigenvalue and the second eigenvalue are averages; compared with other types of eigenvalues, it is more efficient and has guaranteed accuracy.

[0044] At the same time, in this embodiment, in order to facilitate the comparison of subsequent eigenvalues, as a preferred solution, in step S3, for each set of data, a target relationship table is constructed based on the measuring point, the time interval and the first eigenvalue, and a source data relationship table is constructed based on the measuring point, the time interval and the second eigenvalue. Among them, for the measuring point FQ_01_9DAA001SY with a data type of digital, the SUM method is used to obtain the eigenvalue, and the time interval is set in days. The constructed target relationship table and source data relationship table are shown in Table 1 and Table 2 respectively.

[0045] Table 1 Target relationship table

[0046] unit Measuring point Time interval First eigenvalue FQ_01 FQ_01_9DAA001SY 19.10.1 126 FQ_01 FQ_01_9DAA001SY 19.10.2 120 FQ_01 FQ_01_9DAA001SY 19.10.3 124 FQ_01 FQ_01_9DAA001SY 19.10.4 128

[0047] Table 2 Source data relationship table

[0048] unit Measuring point time The second eigenvalue FQ_01 FQ_01_9DAA001SY 19.10.1 126 FQ_01 FQ_01_9DAA001SY 19.10.2 119 FQ_01 FQ_01_9DAA001SY 19.10.3 124 FQ_01 FQ_01_9DAA001SY 19.10.4 128

[0049] In addition, if Figure 2 As shown, in order to avoid unnecessary calculations and further improve the location speed of the problem data, in this embodiment, after the first measuring point data and the second measuring point data are obtained in step S1, as a preferred solution, it also includes aligning the first measuring point data and the second measuring point data according to the actual acquisition time, wherein, if there is measuring point data that is not aligned in time, the second measuring point data that is not aligned in time is recorded as the problem data and transferred to S5 for processing; at the same time, the other first measuring point data and the second measuring point data that are aligned in time are transferred to S2 for processing. In this way, for a specified measuring point, when the two groups of data cannot be aligned in time slices, it is determined that the data in this time period is missing or redundant, that is, the second measuring point data has a difference in this time period, and it is directly defined as the problem data and transferred to S5 for processing; and for the first measuring point data and the second measuring point data that are aligned in time slices, it is transferred to step S2 to further confirm whether there is problem data.

[0050] S4 compares the first feature value and the second feature value in the same time period to obtain a difference comparison result;

[0051] For the first eigenvalue and the second eigenvalue of the same measuring point in the same time interval, if the two are the same, it means that the data stored in the target database in the time interval is the same, and the difference comparison result is recorded as true. If the two are different, it means that the data of the measuring point in the target database in the time interval is not the same as that in the source database, and the difference comparison result is recorded as false.

[0052] As mentioned above, in this embodiment, for the convenience of comparison, based on the first eigenvalue and the second eigenvalue, the difference between the target relationship table and the source data relationship table is confirmed, and a difference table is constructed. The difference table includes measurement points, time intervals and difference comparison results. Among them, the difference table finally generated by comparing Table 1 and Table 2 is shown in Table 3.

[0053] Table 3 Difference table

[0054] unit Measuring point Time interval Difference comparison results FQ_01 FQ_01_9DAA001SY 19.10.1 true FQ_01 FQ_01_9DAA001SY 19.10.2 false FQ_01 FQ_01_9DAA001SY 19.10.3 true FQ_01 FQ_01_9DAA001SY 19.10.4 true

[0055] S5: locating the problematic data in the subtask based on the difference comparison result, wherein the second measuring point data with differences is recorded as problematic data.

[0056] If the difference comparison results of each time interval in the difference table are all true and there is no second measurement point data that is not aligned in time, it means that the data of this subtask is correct and the self-verification process of the next subtask is entered; if the difference comparison results of one or more time intervals in the difference table are false, and / or there is second measurement point data that is not aligned in time, both are judged as problematic data in this subtask.

[0057] As a preferred solution, in this embodiment, after S5, the following further includes: S6, a step of generating a supplementary collection task for the subtask based on the problem data, wherein, after the supplementary collection task is completed, the measuring point data obtained for the supplementary collection task continues to perform self-verification check until the subtask self-verification passes.

[0058] Furthermore, as a preferred solution, for each subtask, when performing the first self-check, the time interval is set to be the same as the actual acquisition time frequency, and when performing subsequent self-checks, the time interval is not less than the actual acquisition time frequency setting. For each subtask, when performing the first self-check, the time interval is set to be the same as the actual acquisition time frequency. For example, if the acquisition time frequency is days, the time interval is also set to days accordingly, so as to ensure that problematic data is found as much as possible through self-checking.

[0059] In this embodiment, during the self-checking process, each supplementary collection task is generated recursively. After the first batch is generated, the second batch is the false items of the first batch, and the third batch is the same, until a new batch cannot be generated. Among them, after it is determined through self-checking that there is a problem with the data of the subtask, for the data obtained in the supplementary collection subtasks of the subsequent batches, when performing self-checking, the time interval can be set in units of weeks or months, so as to reduce the number of subsequent comparisons and improve the efficiency of locating problematic data. For example, when the data of the second batch of supplementary collection tasks is self-checked, the time interval can be set to months, and the difference months are found out by month; for the data obtained by the supplementary collection of the third batch, when performing self-checking, the time interval can be set to weeks, and the difference weeks are found out by week comparison; for the data obtained by the supplementary collection of the third batch, the time interval is set to the week, and the comparison is made by day, and the day corresponding to the problematic data is finally confirmed, and then supplementary collection is performed by day according to the located time.

[0060] As a preferred solution, the self-checking method further includes a check completion table, which is used to store whether each subtask performs self-checking; after each subtask completes self-checking, the check value corresponding to the subtask is set to true, which is used to indicate that the subtask has completed self-checking; otherwise, the check value of the corresponding subtask is set to false. For each acquisition task, when performing self-checking, the check value of the corresponding subtask is first read from the check completion table. If the corresponding table value in the subtask is true, the subtask is skipped and the self-checking step of the next subtask is performed to avoid repeated execution and improve work efficiency.

[0061] The present invention also provides a computer device, such as a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server or a server cluster composed of multiple servers) that can execute programs. The computer device 20 of this embodiment includes at least but is not limited to: a memory 21 and a processor 22 that can communicate with each other via a system bus, such as Figure 3 It should be pointed out that Figure 3 Only computer device 20 is shown with components 21 - 22 , but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0062] In this embodiment, the memory 21 (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 21 can be an internal storage unit of the computer device 20, such as a hard disk or memory of the computer device 20. In other embodiments, the memory 21 can also be an external storage device of the computer device 20, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 20. Of course, the memory 21 can also include both the internal storage unit of the computer device 20 and its external storage device. In this embodiment, the memory 21 is generally used to store the operating system and various application software installed on the computer device 20, such as the program code of the method of the present invention, etc. In addition, the memory 21 can also be used to temporarily store various data that have been output or are to be output.

[0063] The processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip in some embodiments. The processor 22 is generally used to control the overall operation of the computer device 20. In this embodiment, the processor 22 is used to run the program code stored in the memory 21 or process data to implement the nuclear power history data comparison method based on file storage.

[0064] The present invention also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and the program realizes corresponding functions when executed by a processor. The computer-readable storage medium of this embodiment is used for a computer program, and when executed by a processor, a nuclear power historical data comparison method based on file storage is realized.

[0065] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed in the present invention should be covered by the present invention.

Claims

1. A method for self-verification of nuclear power data integrity, It is characterized in that After determining that the current collection task is completed, a self-check is performed on each subtask in the collection task, wherein the self-check of each subtask includes: S1 acquires corresponding first measuring point data and second measuring point data from the target database and the source database respectively according to the measuring point range and the time range in the subtask; S2 performs preprocessing operations on the first measuring point data and the second measuring point data respectively according to different data types; including: If the data type of the measuring point is an integer type, all the measuring point values ​​in the measuring point are converted to scientific notation and then the denoising operation is performed; If the data type of the measuring point is a switch value, performing a rounding operation on all the measuring point values ​​in the measuring point; If the data type of the measuring point is floating point, the denoising operation is performed on all the values ​​in the measuring point; S3, for the preprocessed first measuring point data and the second measuring point data, respectively calculating the first eigenvalue and the second eigenvalue corresponding to each measuring point in the time interval according to a preset time interval, wherein the data types of the measuring points are different and the eigenvalues ​​are set differently; including: If the data type of the measuring point is integer, the first eigenvalue and the second eigenvalue are variances; If the data type of the measurement point is a switch value, the first eigenvalue and the second eigenvalue are SUM; If the data type of the measurement point is floating point, the first eigenvalue and the second eigenvalue are averages; S4 compares the first feature value and the second feature value in the same time period to obtain a difference comparison result; S5: locating the problematic data in the subtask based on the difference comparison result, wherein the second measuring point data with differences is recorded as problematic data.

2. A nuclear power data integrity self-checking method according to claim 1, It is characterized in that After the execution of S1, the first measuring point data and the second measuring point data are also aligned according to the actual acquisition time. If there is measuring point data that is not aligned in time, the second measuring point data that is not aligned in time is recorded as problematic data and transferred to S5 for processing; at the same time, other first measuring point data and the second measuring point data that are aligned in time are transferred to S2 for processing.

3. A nuclear power data integrity self-checking method according to claim 1, It is characterized in that The step S5 further includes: S6 generating a supplementary collection task for the subtask based on the problem data, wherein, after the supplementary collection task is completed, the measuring point data acquired for the supplementary collection task continues to perform self-checking until the subtask passes the self-checking.

4. A nuclear power data integrity self-checking method according to claim 3, It is characterized in that For each subtask, when performing the first self-check, the time interval is set to be the same as the actual acquisition time frequency, and when performing subsequent self-checks, the time interval is not less than the actual acquisition time frequency setting.

5. A nuclear power data integrity self-checking method according to claim 1, It is characterized in that In S3, a target relationship table is constructed based on the measuring point, the time interval and the first characteristic value, and a source data relationship table is constructed based on the measuring point, the time interval and the second characteristic value; In S4, the target relationship table is compared with the source data relationship table to obtain a difference comparison result and construct a difference table, wherein the difference table includes measurement points, time intervals and difference comparison results.

6. A nuclear power data integrity self-checking method according to claim 1, It is characterized in that The self-checking method also includes a check completion table, which is used to store the completion result of the self-checking of each subtask. After the self-checking of each subtask is completed, the check value corresponding to the subtask is set to true, which is used to indicate that the subtask has completed the self-checking. Otherwise, the check value of the corresponding subtask is set to false. When the acquisition task performs self-checking, it obtains the check value of the corresponding subtask from the check completion table. If the corresponding check value in the subtask is true, the subtask is skipped and the self-checking of the next subtask is performed.

7. A computer device, Features: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.

8. A computer-readable storage medium having a computer program stored thereon, Features: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.