OSM model-based electric power standard system missing item supplementing method and system
By using OSM model-based methods in the power standard system to identify and supplement missing items, the problem of insufficient accuracy of missing items in the prior art is solved, and a higher accuracy of missing items filling in the standard system is achieved.
Patent Information
- Application Number
- CN202411738134.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2044-11-29
AI Technical Summary
In the prior art, there is a problem of insufficient accuracy in the comparison and filling of missing items in the standard system.
Using an OSM model-based method, the missing items are identified and marked by obtaining relevant technical standards of the power system and using the ontology description language. Then, based on the semantic understanding of the missing items, the relevant technical documents are determined, pre-processed, classified and semantic analysis are performed, and preliminary and fine matching are performed, and the matching technical documents are finally supplemented into the missing items.
The accuracy of filling missing items in the standard system is improved, ensuring accurate supplementation of missing items is ensured, thereby improving the integrity and reliability of the standard system.
Smart Images

Figure CN119884613A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power technology, and in particular to a method and system for supplementing missing items in an electric power standard system based on an OSM model. Background Art
[0002] At present, the main function of the standard system planning tool is to guide the formulation and revision of standard texts and standard systems based on the current standards and standard system information (including standard system structure, standard detailed list and disassembled technical clause library), combined with the matching of business and standard clauses. However, the existing technology still has the problem of insufficient accuracy in the comparison and filling of missing items in the standard system. Summary of the invention
[0003] The purpose of the embodiments of the present invention is to provide a method and system for supplementing missing items in an electric power standard system based on an OSM model. The method for supplementing missing items in an electric power standard system can improve the accuracy of filling missing items in the standard system.
[0004] In order to achieve the above objectives, on the one hand, an embodiment of the present invention provides a method and system for supplementing missing items in an electric power standard system based on an OSM model, wherein the method for supplementing missing items in an electric power standard system comprises:
[0005] Obtain relevant technical standards for the power system, and identify and mark missing items in relevant technical standards through the ontology description language in the OSM model;
[0006] According to the semantic understanding of the missing item, determining at least one technical document related to the power field related to the missing item;
[0007] Preprocess the technical documents and missing items to obtain technical documents and missing items that meet the requirements;
[0008] Classifying the contents of the technical documents to obtain a plurality of topics;
[0009] Performing semantic analysis on the missing items to obtain the subject of the missing items;
[0010] Preliminarily matching the content of the technical document with the missing item according to the classified subject of the technical document and the subject of the missing item;
[0011] Screening the subject matter of the technical document according to the preliminary matching result, and further matching the content of the screened subject matter of the technical document with the missing item to obtain a refined matching result;
[0012] According to the result of the fine matching, the content of the matched technical documents is supplemented into the missing items.
[0013] Optionally, preprocessing the technical documents and missing items to obtain technical documents and missing items that meet the requirements includes:
[0014] Obtain the missing items and technical documents;
[0015] The missing items and technical documents are segmented, stop words are removed, stems are extracted, and word forms are restored.
[0016] Optionally, preprocessing the technical documents and missing items to obtain technical documents and missing items that meet the requirements includes:
[0017] Using a semantic analysis model to perform contextual semantic analysis on the technical document to obtain the true meaning of the words in the technical document;
[0018] Substituting the processed technical document into a translation machine for translation in units of words, and obtaining a multilingual word set corresponding to the words in the processed text;
[0019] The obtained multilingual text set is arranged and output according to the language grammar, so that the output text conforms to the grammar of the corresponding language, and a multilingual text that conforms to the semantics is obtained.
[0020] Optionally, the content of the technical document is classified to obtain a plurality of topics including:
[0021] Get a dataset containing text and corresponding labels as a training set;
[0022] Bringing the training set into the CNN model to train the CNN model;
[0023] Converting the content of the technical document to obtain a word vector sequence;
[0024] The word vector sequence is fed into the trained CNN model to obtain the classification results of the content of the technical document, and the classification results are mapped to different topics.
[0025] Optionally, based on the classified topics of the technical document and the topics of the missing items, preliminarily matching the content of the technical document with the missing items includes: based on the semantic understanding of the topic of the missing items, searching for the topic of the technical document having the same semantic representation as the topic of the missing items.
[0026] Optionally, screening the subject of the technical document according to the preliminary matching result, and further matching the content of the screened subject of the technical document with the missing item to obtain a refined matching result includes:
[0027] Acquire the subject of the technical document having the same subject semantic representation as the missing item;
[0028] Obtain the content of the subject, and perform a duplicate check on the text content of the subject to remove duplicate content;
[0029] Performing feature conversion on the deduplicated text content and missing items to obtain a feature vector in a unified format;
[0030] The text content and the missing item are matched in similarity according to the feature vector, and the text content with a similarity greater than a preset threshold is selected as the matching result.
[0031] Optionally, the electricity standard system includes multiple links from clean energy power generation, smart grid, energy storage technology to end-user services.
[0032] On the other hand, the present invention also provides a system for supplementing missing items of an electric power standard system based on an OSM model, the system comprising:
[0033] The data acquisition module acquires relevant technical standards of the power system and identifies and marks missing items of the standards through the ontology description language in the OSM model;
[0034] The missing item supplement module is used to obtain relevant technical standards of the power system and implement the method for supplementing missing items of the power standard system based on the OSM model as described above.
[0035] On the other hand, the present invention also provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute a method for supplementing missing items in an electricity standard system based on an OSM model as described above.
[0036] Through the above technical scheme, the present invention provides a method and system for supplementing missing items of an electric power standard system based on an OSM model. By obtaining relevant technical standards of the electric power system, the missing items of the relevant technical standards can be identified and marked through the ontology description language in the OSM model, and then at least one technical document related to the electric power field related to the missing item can be determined based on the semantic understanding of the missing item. After obtaining the technical documents, the technical documents and the missing items can be preprocessed, so that the technical documents and the missing items that meet the requirements can be obtained, and then the content of the technical documents can be classified, so that multiple topics can be obtained. The missing items can be semantically analyzed, so that the topics of the missing items can be obtained. According to the classified topics of the technical documents and the topics of the missing items, the content of the technical documents can be preliminarily matched with the missing items. According to the results of the preliminary matching, the topics of the technical documents can be screened, and the topic content of the technical documents that do not conform to the topics of the missing items can be removed, and then the content of the topics of the screened technical documents can be further matched with the missing items, so that a fine matching result can be obtained. According to the fine matching result, the content of the matched technical documents can be supplemented to the missing items. The method for supplementing missing items of an electric power standard system can improve the accuracy of filling missing items of a standard system.
[0037] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:
[0039] Figure 1 is a flow chart of a method for supplementing missing items of an electric power standard system based on an OSM model according to one embodiment of the present invention;
[0040] Figure 2 is a first flow chart of preprocessing of a method for supplementing missing items of an electric power standard system based on an OSM model according to an embodiment of the present invention;
[0041] Figure 3 is a second flow chart of preprocessing of a method for supplementing missing items of an electric power standard system based on an OSM model according to an embodiment of the present invention;
[0042] Figure 4 It is a flowchart for classifying the contents of technical documents according to a method for supplementing missing items of an electric power standard system based on an OSM model in one embodiment of the present invention;
[0043] Figure 5It is a flowchart of obtaining fine matching of a method for supplementing missing items of an electricity standard system based on an OSM model according to one embodiment of the present invention. DETAILED DESCRIPTION
[0044] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.
[0045] Figure 1 The flowchart of a method for supplementing missing items of an electric power standard system based on an OSM model according to an embodiment of the present invention. In the present invention, the process may include:
[0046] In step S1, relevant technical standards of the power system are obtained, and the missing items of the relevant technical standards are identified and marked through the ontology description language in the OSM model.
[0047] In step S2, at least one electric power field related technical document related to the missing item is determined based on the semantic understanding of the missing item.
[0048] In step S3, the technical documents and missing items are preprocessed to obtain technical documents and missing items that meet the requirements.
[0049] In step S4, the content of the technical document is classified to obtain a plurality of topics.
[0050] In step S5, semantic analysis is performed on the missing items to obtain the subject of the missing items.
[0051] In step S6, the content of the technical document is preliminarily matched with the missing item according to the classified subject of the technical document and the subject of the missing item.
[0052] In step S7, the subject matter of the technical document is screened according to the preliminary matching result, and the content of the screened subject matter of the technical document is further matched with the missing item to obtain a refined matching result.
[0053] In step S8, based on the result of the fine matching, the content of the matched technical document is supplemented into the missing item.
[0054] In the present invention, when supplementing the missing items, the relevant technical standards of the power system can be obtained first, and the missing items of the relevant technical standards can be identified and marked through the ontology description language in the OSM model. According to the understanding of the meaning of the missing items, at least one technical document related to the power field related to the missing items can be determined. The technical documents and the missing items can be preprocessed, so that the technical documents and the missing items that meet the requirements can be obtained. The content of the technical document can be classified to obtain multiple types of topics, and then the missing items can be semantically analyzed to obtain the topics of the missing items. According to the classified topics of the technical documents and the topics of the missing items, the content of the technical documents can be preliminarily matched with the missing items. After the preliminary matching of the missing items, the topics of the technical documents can be screened according to the results of the preliminary matching, and the content of the topics of the screened technical documents can be further matched with the missing items, so as to obtain the results of fine matching. According to the results of the fine matching, the content of the matched technical documents can be supplemented to the missing items. The method for supplementing missing items of the power standard system can improve the accuracy of filling the missing items of the standard system.
[0055] In one embodiment of the present invention, Figure 2 As shown, the first process of pre-processing may include:
[0056] In step S9, the missing items and technical documents are obtained.
[0057] In step S10, the missing items and technical documents are segmented, stop words are removed, stems are extracted, and word forms are restored.
[0058] For the acquired technical documents and missing items, unnecessary punctuation marks and special characters such as "," and "." can be removed, and then word segmentation, stem extraction and part-of-speech restoration processing can be performed to facilitate subsequent processing of the technical documents and missing items.
[0059] In one embodiment of the present invention, Figure 3 As shown, the second process of the pre-processing may include:
[0060] In step S11, a semantic analysis model is used to perform contextual semantic analysis on the technical document to obtain the true meaning of the words in the technical document.
[0061] In step S12, the processed technical document is put into a translation machine for translation in units of words to obtain a multilingual word set corresponding to the words in the processed text.
[0062] In step S13, the obtained multilingual text set is arranged and output according to the language grammar, so that the output text conforms to the grammar of the corresponding language, and a multilingual text conforming to the semantics is obtained.
[0063] In the present invention, after the technical document and the missing items are processed by word segmentation, a semantic analysis model can be used to perform contextual semantic analysis on the technical document, so as to obtain the true meaning of the words in the technical document, and then the processed technical document can be substituted into the translation machine for translation in word units, so as to obtain a multilingual word set corresponding to the words in the processed text. After obtaining the multilingual word set, the obtained multilingual text set can be arranged and output according to the language grammar, so that the output text can conform to the grammar of the corresponding language, so as to obtain a multilingual text that meets the requirements.
[0064] In one embodiment of the present invention, Figure 4 As shown, the process of classifying the content of technical documents may include:
[0065] In step S14, a data set including texts and corresponding labels is obtained as a training set.
[0066] In step S15, the training set is brought into the CNN model to train the CNN model.
[0067] In step S16, the content of the technical document is converted to obtain a word vector sequence.
[0068] In step S17, the word vector sequence is fed into the trained CNN model to obtain the classification results of the content of the technical document, and the classification results are mapped to different topics.
[0069] In the present invention, when classifying the content of a technical document, a data set containing text and corresponding labels can be first obtained as a training set, and then a CNN model can be trained through the training set so that the CNN model can classify the input text. After the training is completed, the content of the technical document can be converted to obtain a word vector sequence, and then the word vector sequence is sent to the trained CNN model to obtain a classification result of the content of the technical document, and then the classification result can be matched to different topics.
[0070] In one embodiment of the present invention, according to the classified subject of the technical document and the subject of the missing item, preliminarily matching the content of the technical document with the missing item includes: according to the subject semantic understanding of the missing item, searching for the subject of the technical document that has the same subject semantic representation as the missing item. After the preliminarily matching is obtained, the content of the subject that does not match the subject of the missing item in the technical document can be discarded.
[0071] In one embodiment of the present invention, Figure 5 As shown, the process of obtaining a fine match may include:
[0072] In step S18, the subject of the technical document having the same subject semantic representation as the missing item is obtained.
[0073] In step S19, the content of the topic is obtained, and the text content of the topic is checked for duplicate content to remove duplicate content.
[0074] In step S20, the deduplicated text content and missing items are subjected to feature conversion to obtain a feature vector in a unified format.
[0075] In step S21, the text content and the missing item are matched based on similarity according to the feature vector, and the text content with a similarity greater than a preset threshold is selected as the matching result.
[0076] In the present invention, when performing fine matching, the subject of the technical document with the same semantic representation as the subject of the missing item can be obtained, and then the content of the subject can be obtained, and the content of the subject can be checked for duplicates, so that the repeated content in the technical document can be removed. After deduplication, the deduplicated text content and the missing item can be subjected to feature conversion, so that a feature vector in a unified format can be obtained. Based on the feature vector of the text content and the feature vector of the missing item, the text content can be matched with the missing item for similarity, and then the text content with a similarity greater than a preset threshold can be selected as the matching result.
[0077] In one embodiment of the present invention, the electricity standard system may include multiple links from clean energy power generation, smart grid, energy storage technology to end-user services.
[0078] On the other hand, the present invention also provides a system for supplementing missing items of the power standard system based on the OSM model, the system comprising:
[0079] The data acquisition module obtains relevant technical standards of the power system and identifies and marks the missing items of the standards through the ontology description language in the OSM model.
[0080] The missing item supplement module is used to obtain relevant technical standards of the power system and implement the method for supplementing missing items of the power standard system based on the OSM model as described above.
[0081] In one aspect, the present invention further provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute a method for supplementing missing items in an electricity standard system based on an OSM model as described above.
[0082] Through the above technical scheme, the present invention provides a method and system for supplementing missing items of an electric power standard system based on an OSM model. By obtaining relevant technical standards of the electric power system, the missing items of the relevant technical standards can be identified and marked through the ontology description language in the OSM model, and then at least one technical document related to the electric power field related to the missing item can be determined based on the semantic understanding of the missing item. After obtaining the technical documents, the technical documents and the missing items can be preprocessed, so that the technical documents and the missing items that meet the requirements can be obtained, and then the content of the technical documents can be classified, so that multiple topics can be obtained. The missing items can be semantically analyzed, so that the topics of the missing items can be obtained. According to the classified topics of the technical documents and the topics of the missing items, the content of the technical documents can be preliminarily matched with the missing items. According to the results of the preliminary matching, the topics of the technical documents can be screened, and the topic content of the technical documents that do not conform to the topics of the missing items can be removed, and then the content of the topics of the screened technical documents can be further matched with the missing items, so that a fine matching result can be obtained. According to the fine matching result, the content of the matched technical documents can be supplemented to the missing items. The method for supplementing missing items of an electric power standard system can improve the accuracy of filling missing items of a standard system.
[0083] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0084] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0085] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0086] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0087] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0088] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0089] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0090] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0091] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for supplementing missing items in the power standard system based on the OSM model, characterized in that: The method for supplementing the missing items of the power standard system includes: Obtain relevant technical standards for the power system, and identify and mark missing items in relevant technical standards through the ontology description language in the OSM model; According to the semantic understanding of the missing item, determining at least one technical document related to the power field related to the missing item; Preprocess the technical documents and missing items to obtain technical documents and missing items that meet the requirements; Classifying the contents of the technical documents to obtain a plurality of topics; Performing semantic analysis on the missing items to obtain the subject of the missing items; Preliminarily matching the content of the technical document with the missing item according to the classified subject of the technical document and the subject of the missing item; Screening the subject matter of the technical document according to the preliminary matching result, and further matching the content of the screened subject matter of the technical document with the missing item to obtain a refined matching result; According to the result of the fine matching, the content of the matched technical documents is supplemented into the missing items.
2. The method for supplementing missing items in the power standard system according to claim 1, characterized in that: Preprocess the technical documents and missing items to obtain the technical documents and missing items that meet the requirements, including: Obtain the missing items and technical documents; The missing items and technical documents are segmented, stop words are removed, stems are extracted, and word forms are restored.
3. The method for supplementing missing items in the power standard system according to claim 2, characterized in that: Preprocess the technical documents and missing items to obtain the technical documents and missing items that meet the requirements, including: Using a semantic analysis model to perform contextual semantic analysis on the technical document to obtain the true meaning of the words in the technical document; Substituting the processed technical document into a translation machine for translation in units of words, and obtaining a multilingual word set corresponding to the words in the processed text; The obtained multilingual text set is arranged and output according to the language grammar, so that the output text conforms to the grammar of the corresponding language, and a multilingual text that conforms to the semantics is obtained.
4. The method for supplementing missing items in the power standard system according to claim 3, characterized in that: The contents of the technical documents are classified into multiple topics including: Get a dataset containing text and corresponding labels as a training set; Bringing the training set into the CNN model to train the CNN model; Converting the content of the technical document to obtain a word vector sequence; The word vector sequence is fed into the trained CNN model to obtain the classification results of the content of the technical document, and the classification results are mapped to different topics.
5. The method for supplementing missing items in the electric power standard system according to claim 4, characterized in that: According to the classified topics of the technical document and the topics of the missing items, preliminarily matching the content of the technical document with the missing items includes: according to the semantic understanding of the topic of the missing items, searching for the topic of the technical document that has the same semantic representation as the topic of the missing items.
6. The method for supplementing missing items in the power standard system according to claim 5, characterized in that: The subject matter of the technical document is screened according to the preliminary matching result, and the content of the screened subject matter of the technical document is further matched with the missing item to obtain a refined matching result including: Acquire the subject of the technical document having the same subject semantic representation as the missing item; Obtain the content of the subject, and perform a duplicate check on the text content of the subject to remove duplicate content; Performing feature conversion on the deduplicated text content and missing items to obtain a feature vector in a unified format; The text content and the missing item are matched in similarity according to the feature vector, and the text content with a similarity greater than a preset threshold is selected as the matching result.
7. The method for supplementing missing items in the power standard system according to claim 1, characterized in that: The electricity standard system includes multiple links from clean energy power generation, smart grid, energy storage technology to end-user services.
8. A system for supplementing missing items in the power standard system based on the OSM model, characterized in that: The system comprises: The data acquisition module acquires relevant technical standards of the power system and identifies and marks missing items of the standards through the ontology description language in the OSM model; The missing item supplement module is used to obtain relevant technical standards of the power system and execute a method for supplementing missing items of the power standard system based on the OSM model as described in any one of claims 1 to 7.
9. A machine-readable storage medium having instructions stored thereon, characterized in that: The instruction is used to enable the machine to execute a method for supplementing missing items in an electricity standard system based on an OSM model as described in any one of claims 1-7.
Citation Information
Patent Citations
Portable learning machine and resource retrieval method thereof
CN116975447A
Clustering generation method and device for power grid project data
CN117113112A
Display device, server and media asset information completion method
CN117915134A
Utilizing failures in question and answer system responses to enhance the accuracy of question and answer systems
US20130017524A1
Intelligent missing data filling method, apparatus and device, and storage medium
WO2021169116A1