Data cleaning method and device for integrating multiple sources of nuclear power plant production data
By acquiring and evaluating business objects from multiple data sources in nuclear power plants, performing similarity assessment, cleaning and merging, the complex problem of data integration is solved, and automated data integration and efficiency improvement are achieved.
Patent Information
- Application Number
- CN202210719814.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-06-23
AI Technical Summary
Since nuclear power plant production data is distributed among multiple professional information systems, data integration is complex and consumes a lot of manpower and material resources, especially in cross-professional and cross-system situations.
By obtaining business objects from multiple data sources, perform similarity assessment and data cleaning and merging, use query scripts to extract data, parse unique identifiers, perform word segmentation processing and word frequency calculations, and determine the similarity of feature vectors to determine the same business objects and data. , and perform cleaning and merging.
Automated data integration from multiple data sources is realized to form integrated business object data, which reduces human and material costs and improves data usage efficiency. Nuclear power plants can integrate data from multiple information systems according to their own standards.
Smart Images

Figure CN115098476B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of nuclear power technology, and in particular relates to a data cleaning method and device for integrating multiple sources of production data of a nuclear power plant. Background Art
[0002] As the most complex single process plant unit, the safe production operation of a nuclear power plant requires close collaboration among diverse and complex professional systems. Due to the complexity and diversity of production information systems, nuclear power plants are also process plants with relatively complex and diverse production data and large data volumes.
[0003] Currently, the relevant data of power plant production business objects are completely scattered across various professional information systems, and no data service based on data standards has been formed for each data object. When comprehensive data integration is performed on specific objects, it is necessary to retrieve and export relevant data in multiple information systems. When it involves cross-professional and cross-system integration, it will consume huge manpower and material resources. Summary of the Invention
[0004] In order to overcome the problems existing in the related technologies, a data cleaning method and device for unifying multiple sources of nuclear power plant production data are provided.
[0005] According to one aspect of an embodiment of the present disclosure, a data cleaning method for integrating multiple sources of nuclear power plant production data is provided, the method comprising:
[0006] Step 10: Obtain business objects and data of business objects from multiple data sources;
[0007] Step 20: perform similarity evaluation on the obtained multiple business objects to determine the same business objects;
[0008] Step 30, performing similarity evaluation on the data of the same business object to determine the same data;
[0009] Step 40: clean and merge the same data of the same business object.
[0010] In one possible implementation, step 10 includes:
[0011] Step 100, obtaining one or more business objects in each data source;
[0012] Step 101 : extracting source data related to each business object by configuring a query script for each business object, and editing the business object data mapping output.
[0013] In one possible implementation, step 20 includes:
[0014] Step 200: Analyze the business objects extracted from each data source and resolve the unique identifier of each business object;
[0015] Step 201: for business objects with unique identifiers, multiple business objects with the same unique identifiers are treated as the same business objects;
[0016] Step 202: For a business object that does not have a unique identifier, multiple attributes of the business object are combined into a combined identifier of the business object according to a data standard;
[0017] Step 203: multiple business objects with the same combination identifier are regarded as the same multiple business objects.
[0018] In a possible implementation, the method further includes:
[0019] Step 204: perform word segmentation on the combined identifiers of each business object to be compared, obtain keywords for each business object, and store the keywords of each business object in a tagged manner;
[0020] Step 205: Calculate the word frequency of each keyword of each business object and write the word frequency vector value to obtain the feature vector of each business object;
[0021] Step 206 : Determine the similarity of the feature vectors of each business object, and determine the business objects whose feature vector similarity meets a preset condition as the same business objects.
[0022] According to another aspect of an embodiment of the present disclosure, a data cleaning device for integrating multiple sources of nuclear power plant production data is provided, the device comprising:
[0023] The acquisition module is used to obtain business objects and data of business objects from multiple data sources;
[0024] A first determination module is used to perform similarity evaluation on the acquired multiple business objects to determine the same business objects;
[0025] The second determination module is used to perform similarity evaluation on data of the same business object to determine the same data;
[0026] The cleaning and merging module is used to clean and merge the same data of the same business object.
[0027] In a possible implementation, the acquisition module includes:
[0028] The acquisition submodule is used to obtain one or more business objects in each data source;
[0029] The extraction submodule is used to extract the relevant source data of each business object by configuring the query script of each business object, and edit the business object data mapping output.
[0030] In a possible implementation, the first determining module includes:
[0031] The parsing submodule is used to analyze the business objects extracted from each data source and parse the unique identifier of each business object;
[0032] A first determining submodule is configured to treat multiple business objects having the same unique identifier as the same multiple business objects for business objects having the same unique identifier;
[0033] The second determining submodule is configured to combine, for a business object that does not have a unique identifier, multiple attributes of the business object into a combined identifier of the business object according to a data standard;
[0034] The third determining submodule is configured to treat multiple business objects with the same combination identifier as the same multiple business objects.
[0035] In a possible implementation, the apparatus further includes:
[0036] The word segmentation module is used to perform word segmentation on the combined identifiers of each business object to be compared, obtain the keywords of each business object, and store the keywords of each business object in a labeled manner;
[0037] The word frequency module is used to calculate the word frequency of each keyword of each business object and write the word frequency vector value to obtain the feature vector of each business object;
[0038] The judgment module is used to judge the similarity of the feature vectors of each business object, and determine the business objects whose feature vector similarity meets the preset conditions as the same business objects.
[0039] According to another aspect of an embodiment of the present disclosure, a data cleaning device for integrating multiple sources of nuclear power plant production data is provided, the device comprising:
[0040] processor;
[0041] a memory for storing processor-executable instructions;
[0042] The processor is configured to execute the above method.
[0043] According to another aspect of an embodiment of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above method is implemented.
[0044] The beneficial effects of this disclosure are as follows: the technical solution provided herein can automatically integrate data from multiple data sources for the same business object based on the business object's data model and similarity evaluation algorithm, ultimately generating integrated business object data. Data users can directly select this integrated data for related data applications. Nuclear power plants can integrate data from multiple information systems based on the data standards of their respective business objects to form production-related data resource services. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The present invention is a flowchart of a data cleaning method for integrating multiple sources of nuclear power plant production data according to an exemplary embodiment.
[0046] Figure 2 The present invention is a block diagram showing a data cleaning device for integrating multiple sources of nuclear power plant production data according to an exemplary embodiment. DETAILED DESCRIPTION
[0047] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0048] Figure 1 This is a flow chart of a data cleaning method for integrating multiple sources of nuclear power plant production data according to an exemplary embodiment. The method can be executed by a terminal device, wherein the terminal device can be a computer, server, desktop computer, etc. The embodiment of the present disclosure does not limit the type of terminal device. Figure 1 As shown, the method includes:
[0049] Step 10: Obtain business objects and data of business objects from multiple data sources;
[0050] In the present disclosure, the data source may be a database of an application system or a corresponding data mart. The present disclosure does not limit the specific form of the data source.
[0051] For example, step 10 may include:
[0052] Step 100, obtaining one or more business objects in each data source;
[0053] Step 101 : extracting source data related to each business object by configuring a query script for each business object, and editing the business object data mapping output.
[0054] Step 20: perform similarity evaluation on the obtained multiple business objects to determine the same business objects;
[0055] For example, step 20 may include:
[0056] Step 200: Analyze the business objects extracted from each data source and resolve the unique identifier of each business object;
[0057] Step 201: for business objects with unique identifiers, multiple business objects with the same unique identifiers are treated as the same business objects;
[0058] Step 202: For a business object that does not have a unique identifier, multiple attributes of the business object are combined into a combined identifier of the business object according to a data standard;
[0059] Step 203: multiple business objects with the same combination identifier are regarded as the same multiple business objects.
[0060] Step 204: perform word segmentation on the combined identifiers of each business object to be compared, obtain keywords for each business object, and store the keywords of each business object in a tagged manner;
[0061] Step 205: Calculate the word frequency of each keyword of each business object and write the word frequency vector value to obtain the feature vector of each business object;
[0062] Step 206 : Determine the similarity of the feature vectors of each business object, and determine the business objects whose feature vector similarity meets a preset condition as the same business objects.
[0063] In one possible implementation, in order to optimize the efficiency of subsequent similarity calculations, a complexity variable is introduced. During calculations, when similar data is determined, the associated records are marked. In subsequent calculations, the marked data can be skipped. The complexity is less than the complexity variable, which improves calculation efficiency.
[0064] Step 30, performing similarity evaluation on the data of the same business object to determine the same data;
[0065] Step 40: clean and merge the same data of the same business object.
[0066] In an application example, the method of the present disclosure is described as follows:
[0067] First, configure the data source link that needs to be merged on the terminal device to obtain the business objects in the corresponding system reference; select the data source type and connection method; and configure data source related information, such as: host address, database name, port number, tablespace, user name, password, etc.
[0068] Next, you can test the connection to the data source to ensure the accuracy of the configuration information;
[0069] After that, you can obtain the business objects and their data under the data source, select the corresponding data input, such as table input, and configure the collection script for the relevant data table;
[0070] Select and configure the corresponding data output method, and map the collected data to the relevant object data standards;
[0071] Set the link method for multiple data sources for data integration, such as business uniqueness connection, similarity assessment, etc.
[0072] Business object similarity evaluation: perform similarity evaluation on the definitions of business objects from multiple data sources to identify the same business objects under multiple data sources.
[0073] Calculate the data similarity of the same business object, and clean and merge the data of the same business object from multiple data sources based on the calculation results.
[0074] Review the business object data that has been cleaned and merged to ensure the accuracy of the merged data.
[0075] In one possible implementation, a data cleaning device for integrating multiple sources of nuclear power plant production data is provided, the device comprising:
[0076] The acquisition module is used to obtain business objects and data of business objects from multiple data sources;
[0077] A first determination module is used to perform similarity evaluation on the acquired multiple business objects to determine the same business objects;
[0078] The second determination module is used to perform similarity evaluation on data of the same business object to determine the same data;
[0079] The cleaning and merging module is used to clean and merge the same data of the same business object.
[0080] In a possible implementation, the acquisition module includes:
[0081] The acquisition submodule is used to obtain one or more business objects in each data source;
[0082] The extraction submodule is used to extract the relevant source data of each business object by configuring the query script of each business object, and edit the business object data mapping output.
[0083] In a possible implementation, the first determining module includes:
[0084] The parsing submodule is used to analyze the business objects extracted from each data source and parse the unique identifier of each business object;
[0085] A first determining submodule is configured to treat multiple business objects having the same unique identifier as the same multiple business objects for business objects having the same unique identifier;
[0086] The second determining submodule is configured to combine, for a business object that does not have a unique identifier, multiple attributes of the business object into a combined identifier of the business object according to a data standard;
[0087] The third determining submodule is configured to treat multiple business objects with the same combination identifier as the same multiple business objects.
[0088] In a possible implementation, the apparatus further includes:
[0089] The word segmentation module is used to perform word segmentation on the combined identifiers of each business object to be compared, obtain the keywords of each business object, and store the keywords of each business object in a labeled manner;
[0090] The word frequency module is used to calculate the word frequency of each keyword of each business object and write the word frequency vector value to obtain the feature vector of each business object;
[0091] The judgment module is used to judge the similarity of the feature vectors of each business object, and determine the business objects whose feature vector similarity meets the preset conditions as the same business objects.
[0092] Figure 2 1 is a block diagram of a data cleaning device for integrating multiple sources of nuclear power plant production data according to an exemplary embodiment. For example, the device 1900 can be provided as a server. Figure 2 The apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute the instructions to perform the above-described method.
[0093] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output (I / O) interface 1958. The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™, or the like.
[0094] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by the processing component 1922 of the apparatus 1900 to perform the above-described method.
[0095] The present disclosure may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0096] A computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination thereof. As used herein, a computer-readable storage medium is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through an electrical wire.
[0097] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.
[0098] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, and conventional procedural programming languages such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., utilizing an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions. The electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0099] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0100] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0101] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0102] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the prescribed logical function. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the prescribed function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0103] While various embodiments of the present disclosure have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technical improvements to existing technologies, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A data cleaning method for integrating multiple sources of nuclear power plant production data, characterized in that: The method comprises: Step 10, obtaining business objects and data of business objects from multiple data sources; Step 20, performing similarity evaluation on the acquired multiple business objects to determine the same business objects; Step 30, performing similarity evaluation on data of the same business object to determine the same data; Step 40, cleaning and merging the same data of the same business object; Step 20 includes: Step 200, analyzing the business objects extracted from each data source, and resolving the unique identifier of each business object; Step 201, for business objects with unique identifiers, multiple business objects with the same unique identifiers are regarded as the same multiple business objects; Step 202, for a business object that does not have a unique identifier, multiple attributes of the business object are combined into a combined identifier of the business object according to a data standard; Step 203, treating multiple business objects with the same combination identifier as the same multiple business objects; The method further comprises: Step 204, performing word segmentation processing on the combined identifiers of each business object to be compared, obtaining keywords of each business object, and storing the keywords of each business object in a tagged manner; Step 205, calculating the frequency of each keyword of each business object, and writing the frequency vector value to obtain the feature vector of each business object; Step 206 , determining the similarity of the feature vectors of each business object, and determining the business objects whose feature vector similarity meets a preset condition as the same business objects.
2. The method according to claim 1, characterized in that Step 10 includes: Step 100, obtaining one or more business objects in each data source; Step 101 , extracting source data related to each business object by configuring the query script of each business object, and editing the business object data mapping output.
3. A data cleaning device for integrating multiple sources of nuclear power plant production data, characterized in that: The device comprises: An acquisition module is used to acquire business objects and data of business objects from multiple data sources; A first determination module is used to perform similarity evaluation on the acquired multiple business objects to determine the same business objects; A second determination module is used to perform similarity evaluation on data of the same business object to determine the same data; The cleaning and merging module is used to clean and merge the same data of the same business object; The first determination module includes: The parsing submodule is used to analyze the business objects extracted from each data source and parse the unique identifier of each business object; A first determination submodule is used for treating multiple business objects with the same unique identifier as the same multiple business objects for business objects with unique identifiers; A second determination submodule is used to combine multiple attributes of a business object that does not have a unique identifier into a combined identifier of the business object according to a data standard; A third determining submodule is used to treat multiple business objects with the same combination identifier as the same multiple business objects; The device also includes: The word segmentation module is used to perform word segmentation on the combined identifiers of each business object to be compared, obtain the keywords of each business object, and store the keywords of each business object in a labeled manner; The word frequency module is used to calculate the word frequency of each keyword of each business object and write the word frequency vector value to obtain the feature vector of each business object; The judgment module is used to judge the similarity of the feature vectors of each business object, and determine the business objects whose feature vector similarity meets the preset conditions as the same business objects.
4. The device according to claim 3, characterized in that The acquisition modules include: The acquisition submodule is used to obtain one or more business objects in each data source; The extraction submodule is used to extract the relevant source data of each business object by configuring the query script of each business object, and edit the business object data mapping output.
5. A data cleaning device for integrating multiple sources of nuclear power plant production data, characterized in that: The device comprises: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the method of claim 1 or 2.
6. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to claim 1 or 2 is implemented.
