CN116775634A - Quality inspection method, device, equipment and medium for power generation engineering data - Google Patents

Quality inspection method, device, equipment and medium for power generation engineering data Download PDF

Info

Publication number
CN116775634A
CN116775634A CN202310763305.7A CN202310763305A CN116775634A CN 116775634 A CN116775634 A CN 116775634A CN 202310763305 A CN202310763305 A CN 202310763305A CN 116775634 A CN116775634 A CN 116775634A
Authority
CN
China
Prior art keywords
data
power generation
rule
checking
check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310763305.7A
Other languages
Chinese (zh)
Inventor
田景琦
马恩成
夏绪勇
张晓龙
赵俊杰
何洁
左超
苑博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Construction Technology Co ltd
GD Power Development Co Ltd
Original Assignee
Beijing Construction Technology Co ltd
GD Power Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Construction Technology Co ltd, GD Power Development Co Ltd filed Critical Beijing Construction Technology Co ltd
Priority to CN202310763305.7A priority Critical patent/CN116775634A/en
Publication of CN116775634A publication Critical patent/CN116775634A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a quality inspection method, device, equipment and medium of power generation engineering data. The quality inspection method of the power generation engineering data comprises the following steps: creating a check rule document according to the power generation engineering data standard, the types of target equipment in each power generation field and kks codes; analyzing the check rule document to obtain data to be stored in the mapping dictionary table and data to be stored in the check rule table, and generating a check rule base according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table; creating a rule checking set according to the type of each target device, kks codes and attribute standard fields of each detection item in each power generation field in the checking rule base; and acquiring the project file to be checked, checking the project file to be checked according to the rule checking set, and generating a target checking report of the project file to be checked. The technical scheme of the embodiment of the invention can improve the quality inspection efficiency and the quality inspection effect of the power generation engineering data.

Description

Quality inspection method, device, equipment and medium for power generation engineering data
Technical Field
The present invention relates to the field of data verification technologies, and in particular, to a quality inspection method, apparatus, device, and medium for power generation engineering data.
Background
Because of the non-unification of BIM platform and data rule, the digital working content in the links of design, construction and operation is not matched sufficiently, and the main data interfaces of different platforms in each stage are difficult to open, so that the quality inspection efficiency of the power generation engineering data is poor, and the quality inspection effect is poor.
Disclosure of Invention
The invention provides a quality inspection method, device, equipment and medium for power generation engineering data, which are used for solving the problems of poor quality inspection efficiency and poor quality inspection effect of the power generation engineering data.
According to an aspect of the present invention, there is provided a quality inspection method of power generation engineering data, including:
creating a check rule document according to the power generation engineering data standard, the types of target equipment in each power generation field and kks codes;
analyzing the check rule document to obtain data to be stored in the mapping dictionary table and data to be stored in the check rule table, and generating a check rule base according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table;
creating a rule checking set according to the type of each target device, kks codes and attribute standard fields of each detection item in each power generation field in the checking rule base;
And acquiring the project file to be checked, checking the project file to be checked according to the rule checking set, and generating a target checking report of the project file to be checked.
According to another aspect of the present invention, there is provided a quality inspection apparatus for power generation engineering data, comprising:
the checking rule document creation module is used for creating a checking rule document according to the power generation engineering data standard, the types of target equipment in each power generation field and kks codes;
the checking rule base generation module is used for analyzing the checking rule document to obtain data to be stored in the mapping dictionary table and data to be stored in the checking rule table, and generating a checking rule base according to the data to be stored in the mapping dictionary table and the data to be stored in the checking rule table;
the rule checking set creation module is used for creating a rule checking set according to the types of target equipment, kks codes and attribute standard fields of detection items in each power generation field in the checking rule base;
the target verification report generation module is used for acquiring the project file to be verified, verifying the project file to be verified according to the rule verification set and generating a target verification report of the project file to be verified.
According to another aspect of the present invention, there is provided an electronic apparatus including:
At least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the quality inspection method of power generation project data of any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a method for quality inspection of power generation engineering data according to any embodiment of the present invention.
According to the technical scheme, the check rule document is created according to the power generation engineering data standard, the types of the target devices in the power generation fields and kks codes, so that the check rule document is analyzed, data to be stored in the mapping dictionary table and data to be stored in the check rule table are obtained, a check rule base is generated according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table, a rule check set is created according to the types of the target devices in the power generation fields, kks codes and the attribute standard fields of the detection items in the check rule base, a project file to be checked is further obtained, the project file to be checked is checked according to the rule check set, and a target check report of the project file to be checked is generated. The target equipment type and kks codes in the scheme have industry uniformity, the check rule document created by combining the power generation engineering data standard can unify the check standard of the power generation industry, the check rule library generated according to the check rule document refines the check type, the fine check of the project file to be checked is realized, various problems in the power generation engineering model are recorded, a self-checking report is formed, the labor consumption is avoided, the problems of poor quality inspection efficiency and poor quality inspection effect of the power generation engineering data are solved, and the quality inspection efficiency and quality inspection effect of the power generation engineering data can be improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a quality inspection method for power generation engineering data according to a first embodiment of the present invention;
fig. 2 is a flowchart of a quality inspection method for power generation engineering data according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a quality inspection device for power generation engineering data according to a third embodiment of the present invention;
fig. 4 shows a schematic diagram of the structure of an electronic device that may be used to implement an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the term "object" and the like in the description of the present invention and the claims and the above drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a quality inspection method for power generation engineering data according to an embodiment of the present invention, where the method may be performed by a quality inspection device for power generation engineering data, the quality inspection device for power generation engineering data may be implemented in hardware and/or software, and the quality inspection device for power generation engineering data may be configured in an electronic device. As shown in fig. 1, the method includes:
S110, creating a check rule document according to the power generation engineering data standard, the types of target equipment in each power generation field and kks codes.
The power generation engineering data standard may be a power generation field data standard configured based on a power generation engineering information model data standard, a power BIM data delivery standard, and a power BIM information model handover standard. The target device type may be a type of device belonging to the field of power generation. The check rule document can be a check document obtained by combing the power generation model data according to the power generation engineering data standard and integrating the equipment type and kks code in the power generation field. The check rule document may be used to generate a rule base for checking the power generation engineering data.
In the embodiment of the invention, the power generation engineering data standard can be formed according to the power generation engineering information model data standard, the power BIM data delivery standard and the power BIM information model handover standard, so that the types of target equipment and corresponding kks codes in each power generation field are integrated, and data classification normalization is performed to obtain a check rule document.
And S120, analyzing the check rule document to obtain data to be stored in the mapping dictionary table and data to be stored in the check rule table, and generating a check rule base according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table.
The data to be stored in the mapping dictionary table can be analyzed from the checking rule document and needs to be stored in the mapping dictionary. The data to be stored in the check rule table can be data which is analyzed from the check rule document and needs to be stored in the data storage table. The check rule base may be a rule base that checks the power generation engineering data.
In the embodiment of the invention, the check rule document can be analyzed, the data to be stored in the mapping dictionary table of the mapping dictionary and the data to be stored in the check rule table of the data storage table are determined, and then the data to be stored in the mapping dictionary table and the data to be stored in the check rule table are correspondingly stored, so that the check rule library is obtained.
S130, creating a rule checking set according to the type of each target device, kks codes and attribute standard fields of each detection item in each power generation field in the checking rule base.
The attribute standard field may be an attribute field under a check rule document in a check rule base. The rule check set may be a set checked corresponding to the detection item. Rule check sets may include, but are not limited to, version confidence check, coordinate check, data consistency check, data identification and data reference check, primitive check, and attribute check (integrity, threshold), etc.
According to the embodiment of the invention, according to the checking requirement of the current power generation engineering data and the power generation field to which the power generation engineering data to be checked belong, the types of target equipment and kks codes in each power generation field and the attribute standard fields corresponding to the detection items matched with the checking requirement of the current power generation engineering data are read from a checking rule base, and a rule checking set corresponding to the detection items is created in a polymorphic mode.
And S140, acquiring the project file to be checked, checking the project file to be checked according to the rule checking set, and generating a target checking report of the project file to be checked.
The project file to be checked can be a power generation project file which needs to be checked. The target verification report may be a self-checking report generated after the project file to be verified is verified according to the rule verification set, wherein the self-checking report reflects the verification result.
In the embodiment of the invention, after the project file to be checked is obtained, the project file to be checked can be checked according to the check items corresponding to the detection items in the rule check set, and then the generated check result is subjected to data organization processing to obtain the target check report of the project file to be checked, so that a power generation engineer can perform perfect adjustment of the power generation model according to the target check report.
According to the technical scheme, the check rule document is created according to the power generation engineering data standard, the types of the target devices in the power generation fields and kks codes, so that the check rule document is analyzed, data to be stored in the mapping dictionary table and data to be stored in the check rule table are obtained, a check rule base is generated according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table, a rule check set is created according to the types of the target devices in the power generation fields, kks codes and the attribute standard fields of the detection items in the check rule base, a project file to be checked is further obtained, the project file to be checked is checked according to the rule check set, and a target check report of the project file to be checked is generated. The target equipment type and kks codes in the scheme have industry uniformity, the check rule document created by combining the power generation engineering data standard can unify the check standard of the power generation industry, the check rule library generated according to the check rule document refines the check type, the fine check of the project file to be checked is realized, various problems in the power generation engineering model are recorded, a self-checking report is formed, the labor consumption is avoided, the problems of poor quality inspection efficiency and poor quality inspection effect of the power generation engineering data are solved, and the quality inspection efficiency and quality inspection effect of the power generation engineering data can be improved.
Example two
Fig. 2 is a flowchart of a quality inspection method for power generation engineering data according to a second embodiment of the present invention, where the embodiment is based on the foregoing embodiment, and a specific alternative implementation manner of creating a verification rule document according to the power generation engineering data standard, each target device type and kks code in each power generation domain is given. As shown in fig. 2, the method includes:
and S210, carrying out data carding based on the power generation engineering data standard to obtain power generation engineering model data of a basic resource layer, a core expansion layer, a shared data layer and a professional field layer.
The power generation engineering model data can be data combing results of different layers based on power generation engineering data standards.
In the embodiment of the invention, the power generation engineering model data of the basic resource layer, the core expansion layer, the shared data layer and the professional field layer are respectively combed from the aspects of data integrity, data correctness, data quotation, data identification, attribute integrity, graphic primitive correctness and the like according to the power generation engineering data standard.
S220, determining a general attribute field and a proprietary attribute field of the power generation engineering model data.
The general attribute field may be a field that characterizes a general attribute in the power generation engineering model data. The proprietary attribute field may be a field characterizing a proprietary attribute in the power generation engineering model data.
In the embodiment of the invention, the general attribute fields and the proprietary attribute fields in terms of item information, model file information, internal system information, geometric expression information, material information, association relation and professional components in the power generation engineering model data can be determined.
S230, creating a check rule document according to the universal attribute field, the special attribute field, each target equipment type in each power generation field and kks codes corresponding to each target equipment type.
In the embodiment of the invention, each target equipment type and kks codes corresponding to each target equipment type in each power generation field can be integrated, and the general attribute fields and the special attribute fields are classified and regulated to form a check rule document.
S240, analyzing the check rule document to obtain data to be stored in the mapping dictionary table and data to be stored in the check rule table, and generating a check rule base according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table.
In an optional embodiment of the present invention, analyzing the check rule document to obtain the data to be stored in the mapping dictionary table and the data to be stored in the check rule table may include: kks codes, attribute units and enumeration dictionaries which are respectively corresponding to the types of each target device and are analyzed in the check rule document are used as data to be stored in a mapping dictionary table; and taking the attribute field name, field description, data type and null value discrimination results which are analyzed in the checking rule document as data to be stored in the checking rule table.
Wherein, the attribute unit may be a quantization unit for the attribute characteristics of the things. The null value discrimination result may be used to indicate whether the detection item may be null.
In the embodiment of the invention, kks codes, attribute units, enumeration dictionaries and the like which respectively correspond to each target equipment type analyzed in the check rule document can be used as data to be stored in a mapping dictionary table, and attribute field names, field descriptions, data types, null value judging results and the like analyzed in the check rule document can be used as data to be stored in the check rule table.
In an optional embodiment of the present invention, generating the check rule base according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table may include: and storing the data to be stored in the mapping dictionary table, and storing the data to be stored in the checking rule table to obtain a checking rule base.
The check rule table may be a data storage table storing data to be stored in the check rule table.
In the embodiment of the invention, the data to be stored in the mapping dictionary table can be stored in the mapping dictionary table, and the data to be stored in the checking rule table can be stored in the checking rule table, so that the checking rule library is formed by the mapping dictionary table and the checking rule table.
S250, creating a rule checking set according to the type of each target device, kks codes and the attribute standard fields of each detection item in each power generation field in the checking rule base.
In an alternative embodiment of the present invention, creating a rule check set according to each target device type, kks code and attribute standard field of each detection item in each power generation field in the check rule base may include: analyzing and checking a rule base through a light database, and determining a target sql statement in the current power generation field; and creating a rule check set according to the type of each target device in the current power generation field in the check rule base, kks codes and the attribute standard field of each detection item determined based on the target sql statement.
The target sql statement may be a sql statement determined according to a light database, a check requirement of current power generation engineering data, and a power generation field to which the power generation engineering data to be checked belongs.
In the embodiment of the invention, a check rule base can be analyzed through a light database (such as sqlite and the like), a target sql statement of the current power generation field is generated according to the check requirement of the current power generation engineering data and the power generation field to which the power generation engineering data to be checked belong, and each target equipment type and kks code under the current power generation field are read from the check rule base, so that a rule check set corresponding to a detection item is created in a polymorphic mode according to each target equipment type, kks code and attribute standard field of each detection item determined based on the target sql statement in the current power generation field in the check rule base.
And S260, acquiring the project file to be checked, checking the project file to be checked according to the rule checking set, and generating a target checking report of the project file to be checked.
Optionally, the project data such as project information, version information, hierarchical structures of the power generation engineering models, equipment types and attribute values corresponding to the component information and the like in the project file to be checked can be read, and then the data content to be checked is classified and organized according to the detection items, so that the classified and organized data content to be checked is checked according to the rule checking set, and a target checking report of the project file to be checked is generated.
The component information may include, among others, external lead-in components (PDMS, PMODEL, PV and STP, etc.), base primitives, element libraries, component modeling, building specialty components (walls and roofs, etc.), and structural specialty components (columns and beams, etc.), etc.
In an optional embodiment of the present invention, verifying the item file to be verified according to the rule checking set, and generating the target verification report of the item file to be verified may include: according to the project file to be checked, determining kks codes corresponding to the types of the equipment to be checked; indexing to each target specification check class of the rule check set based on kks codes corresponding to each equipment type to be checked; and verifying the project file to be verified according to each target specification verification class, and generating a target verification report of the project file to be verified.
The type of the equipment to be checked can be the type of equipment of the power generation project corresponding to the project file to be checked. The target specification check class may be a check type in a rule check set in which the item file to be checked needs to be checked.
In the embodiment of the invention, the project file to be checked can be analyzed, the type of each device to be checked corresponding to the project file to be checked is determined, so as to inquire kks codes corresponding to the type of each device to be checked, index to a rule checking set according to kks codes corresponding to the type of each device to be checked, determine each target specification checking class of the type of each device to be checked, check the project file to be checked according to each target specification checking class (such as validity check of the attribute, inquiring whether the attribute field has the problems of missing, null value, out-of-limit, unit error and the like), and generate a target checking report of the project file to be checked according to the checking result.
In an optional embodiment of the present invention, verifying the project file to be verified according to each target specification verification class, and generating a target verification report of the project file to be verified may include: obtaining a verification result of the project file to be verified; and classifying and summarizing the qualified items and the unqualified items of the verification result of the project file to be verified, and generating a target verification report of the project file to be verified.
The target verification report may include, but is not limited to, summary information of detection item results, basic information of items, filling information of missing items, model snapshot and the like.
In the embodiment of the invention, the data analysis can be carried out on the verification result of the project file to be verified, so that the classification summarization of the qualified items and the unqualified items and the automatic filling of the missing necessary filling items are carried out on the verification result of the project file to be verified, and the final target verification report of the project file to be verified is obtained, so that a designer of the power generation project can carry out the perfect adjustment of the power generation model according to the summary information of the detection item result, the project basic information, the filling information of the missing item and the model snapshot in the target verification report.
Based on the data standard of the power generation engineering information model, the delivery standard of the power BIM data and the handover standard of the power BIM information model, the auditing key points and common problems of each specialty of the power generation engineering are integrated, the compliance and compliance auditing indexes are combined to form a digital checking library (checking rule library), the BIM model is checked, the integrity and correctness of the model, the attribute and the data are verified, and the model is rated according to the checking result to form a target checking report. According to the technical standard specifications of the three-dimensional digital design series, aiming at BIM model data (Revit, bentley, PDMS) imported from external modeling software, and simultaneously combining data contents such as model creation, data mounting and the like completed in power generation basic modeling software, the three-dimensional model automatic quality inspection function is realized from aspects such as data integrity, data correctness, data quotation, data identification, attribute integrity, primitive correctness and the like, self-inspection results are summarized, various problems in the model are recorded, a self-inspection report is formed, and a bottom foundation is established for the follow-up comprehensive promotion of the application of domestic BIM technology in the power generation field.
In the power generation basic modeling software, the data of the built BIM model and the imported external model are analyzed, the data quality inspection and verification are systematically, flowsheet and normalized on the power generation engineering model, the inspection and verification results of the model are summarized, various problems in the model are recorded, a model self-inspection report is formed, the labor consumption is avoided, the verification efficiency is effectively improved, a designer can be assisted in carrying out model modification, and the reliability of the design result is ensured.
According to the technical scheme, data are carded based on power generation engineering data standards to obtain power generation engineering model data of a basic resource layer, a core extension layer, a shared data layer and a professional field layer, so that a general attribute field and a special attribute field of the power generation engineering model data are determined, a check rule document is created according to the general attribute field, the special attribute field, each target equipment type under each power generation field and kks codes corresponding to each target equipment type respectively, the check rule document is analyzed to obtain data to be stored in a mapping dictionary table and data to be stored in a check rule table, a check rule library is generated according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table, a rule check set is created according to the attribute standard fields of each target equipment type, kks codes and each detection item in each power generation field in the check rule library, a to-check project file is further obtained, and the to-be-checked project file is checked according to the rule check set, and a target check report of the to-be-checked project file is generated. The target equipment type and kks codes in the scheme have industry uniformity, the check rule document created by combining the power generation engineering data standard can unify the check standard of the power generation industry, the check rule library generated according to the check rule document refines the check type, the fine check of the project file to be checked is realized, various problems in the power generation engineering model are recorded, a self-checking report is formed, the labor consumption is avoided, the problems of poor quality inspection efficiency and poor quality inspection effect of the power generation engineering data are solved, and the quality inspection efficiency and quality inspection effect of the power generation engineering data can be improved.
Example III
Fig. 3 is a schematic structural diagram of a quality inspection device for power generation engineering data according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a verification rule document creation module 310, a verification rule base generation module 320, a rule verification set creation module 330, and a target verification report generation module 340, wherein,
the check rule document creation module 310 is configured to create a check rule document according to the power generation engineering data standard, the types of the target devices in each power generation field, and the code of the power plant identification system kks;
the checking rule base generating module 320 is configured to parse the checking rule document to obtain data to be stored in the mapping dictionary table and data to be stored in the checking rule table, and generate a checking rule base according to the data to be stored in the mapping dictionary table and the data to be stored in the checking rule table;
the rule checking set creating module 330 is configured to create a rule checking set according to the type of each target device, kks code and the attribute standard field of each detection item in each power generation field in the checking rule base;
the target verification report generating module 340 is configured to obtain the project file to be verified, verify the project file to be verified according to the rule checking set, and generate a target verification report of the project file to be verified.
According to the technical scheme, the check rule document is created according to the power generation engineering data standard, the types of the target devices in the power generation fields and kks codes, so that the check rule document is analyzed, data to be stored in the mapping dictionary table and data to be stored in the check rule table are obtained, a check rule base is generated according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table, a rule check set is created according to the types of the target devices in the power generation fields, kks codes and the attribute standard fields of the detection items in the check rule base, a project file to be checked is further obtained, the project file to be checked is checked according to the rule check set, and a target check report of the project file to be checked is generated. The target equipment type and kks codes in the scheme have industry uniformity, the check rule document created by combining the power generation engineering data standard can unify the check standard of the power generation industry, the check rule library generated according to the check rule document refines the check type, the fine check of the project file to be checked is realized, various problems in the power generation engineering model are recorded, a self-checking report is formed, the labor consumption is avoided, the problems of poor quality inspection efficiency and poor quality inspection effect of the power generation engineering data are solved, and the quality inspection efficiency and quality inspection effect of the power generation engineering data can be improved.
Optionally, the check rule document creation module 310 is specifically configured to perform data carding based on the power generation engineering data standard to obtain power generation engineering model data of a basic resource layer, a core expansion layer, a shared data layer and a professional domain layer; determining a general attribute field and a proprietary attribute field of the power generation engineering model data; and creating the check rule document according to the universal attribute field, the special attribute field, each target equipment type in each power generation field and kks codes corresponding to each target equipment type.
Optionally, the check rule base generating module 320 includes a data obtaining unit, configured to use kks codes, attribute units and enumeration dictionaries corresponding to the types of each target device parsed in the check rule document as data to be stored in the mapping dictionary table; and taking the attribute field name, field description, data type and null value discrimination result which are analyzed in the checking rule document as data to be stored in the checking rule table.
Optionally, the checking rule base generating module 320 includes a checking rule base generating unit, configured to store the data to be stored in the mapping dictionary table into the mapping dictionary table, and store the data to be stored in the checking rule table into the checking rule table, to obtain the checking rule base.
Optionally, the rule check set creation module 330 is specifically configured to analyze the check rule base through a light database, and determine a target structured query language sql statement in the current power generation field; and creating the rule checking set according to the type of each target device in the current power generation field in the checking rule base, kks codes and the attribute standard field of each detection item determined based on the target sql statement.
Optionally, the target verification report generating module 340 includes a data determining unit, a data indexing unit, and a target verification report generating unit; the data determining unit is used for determining kks codes corresponding to the types of the equipment to be checked according to the item file to be checked; the data index unit is used for indexing each target specification check class of the rule check set based on kks codes corresponding to each equipment type to be checked; and the target verification report generating unit is used for verifying the project file to be verified according to each target specification verification class and generating a target verification report of the project file to be verified.
Optionally, the target verification report generating unit is specifically configured to obtain a verification result of the item file to be verified; and classifying and summarizing the qualified items and the unqualified items of the verification result of the item file to be verified, and generating a target verification report of the item file to be verified.
The quality inspection device for the power generation engineering data provided by the embodiment of the invention can execute the quality inspection method for the power generation engineering data provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 shows a schematic diagram of the structure of an electronic device that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, such as a quality inspection method of the power generation project data.
In some embodiments, the quality inspection method of power generation engineering data may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the quality inspection method of power generation project data described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the quality inspection method of the power generation engineering data in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. The quality inspection method of the power generation engineering data is characterized by comprising the following steps of:
creating a check rule document according to the power generation engineering data standard, the type of each target device in each power generation field and the code of the power plant identification system kks;
analyzing the check rule document to obtain data to be stored in a mapping dictionary table and data to be stored in a check rule table, and generating a check rule library according to the data to be stored in the mapping dictionary table and the data to be stored in the check rule table;
Creating a rule checking set according to the type of each target device, kks codes and attribute standard fields of each detection item in each power generation field in the checking rule base;
and acquiring a project file to be checked, checking the project file to be checked according to the rule checking set, and generating a target checking report of the project file to be checked.
2. The method of claim 1, wherein creating a check rule document based on the power generation engineering data standard, each target device type in each power generation domain, and kks code, comprises:
based on the power generation engineering data standard, data carding is carried out to obtain power generation engineering model data of a basic resource layer, a core expansion layer, a shared data layer and a professional field layer;
determining a general attribute field and a proprietary attribute field of the power generation engineering model data;
and creating the check rule document according to the universal attribute field, the special attribute field, each target equipment type in each power generation field and kks codes corresponding to each target equipment type.
3. The method according to claim 2, wherein parsing the check rule document to obtain data to be stored in the mapping dictionary table and data to be stored in the check rule table includes:
Kks codes, attribute units and enumeration dictionaries which correspond to the types of the target devices and are analyzed in the check rule document are used as data to be stored in the mapping dictionary;
and taking the attribute field name, field description, data type and null value discrimination result which are analyzed in the checking rule document as data to be stored in the checking rule table.
4. The method of claim 2, wherein generating a check rule base from the data to be stored in the mapping dictionary table and the data to be stored in the check rule table comprises:
and storing the data to be stored in the mapping dictionary table into the mapping dictionary table, and storing the data to be stored in the checking rule table into the checking rule table to obtain the checking rule base.
5. The method of claim 1, wherein creating a rule check set based on each target device type, kks code and each detection item's attribute criteria field in each power generation domain in the check rule base comprises:
analyzing the checking rule base through a light database, and determining a target structured query language sql statement in the current power generation field;
and creating the rule checking set according to the type of each target device in the current power generation field in the checking rule base, kks codes and the attribute standard field of each detection item determined based on the target sql statement.
6. The method of claim 1, wherein verifying the item file to be verified according to the rule check set, generating a target verification report for the item file to be verified, comprises:
according to the project file to be checked, kks codes corresponding to the types of the equipment to be checked are determined;
based on kks codes corresponding to the types of the equipment to be checked, indexing to each target specification check class of the rule check set;
and verifying the project file to be verified according to each target specification verification class, and generating a target verification report of the project file to be verified.
7. The method of claim 6, wherein verifying the project file to be verified according to each of the target specification verification classes, generating a target verification report for the project file to be verified, comprises:
acquiring a verification result of the item file to be verified;
and classifying and summarizing the qualified items and the unqualified items of the verification result of the item file to be verified, and generating a target verification report of the item file to be verified.
8. The utility model provides a quality testing device of electricity generation engineering data which characterized in that includes:
The checking rule document creation module is used for creating a checking rule document according to the power generation engineering data standard, the types of target equipment in each power generation field and kks codes;
the checking rule base generation module is used for analyzing the checking rule document to obtain data to be stored in the mapping dictionary table and data to be stored in the checking rule table, and generating a checking rule base according to the data to be stored in the mapping dictionary table and the data to be stored in the checking rule table;
the rule checking set creation module is used for creating a rule checking set according to the type of each target device, kks code and the attribute standard field of each detection item in each power generation field in the checking rule base;
the target verification report generation module is used for acquiring the project file to be verified, verifying the project file to be verified according to the rule checking set and generating a target verification report of the project file to be verified.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the quality inspection method of power generation project data of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the quality inspection method of power engineering data of any one of claims 1-7.
CN202310763305.7A 2023-06-26 2023-06-26 Quality inspection method, device, equipment and medium for power generation engineering data Pending CN116775634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310763305.7A CN116775634A (en) 2023-06-26 2023-06-26 Quality inspection method, device, equipment and medium for power generation engineering data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310763305.7A CN116775634A (en) 2023-06-26 2023-06-26 Quality inspection method, device, equipment and medium for power generation engineering data

Publications (1)

Publication Number Publication Date
CN116775634A true CN116775634A (en) 2023-09-19

Family

ID=88007812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310763305.7A Pending CN116775634A (en) 2023-06-26 2023-06-26 Quality inspection method, device, equipment and medium for power generation engineering data

Country Status (1)

Country Link
CN (1) CN116775634A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117312295A (en) * 2023-11-29 2023-12-29 中国电力科学研究院有限公司 Method, device, medium and equipment for managing power grid material spot check data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117312295A (en) * 2023-11-29 2023-12-29 中国电力科学研究院有限公司 Method, device, medium and equipment for managing power grid material spot check data
CN117312295B (en) * 2023-11-29 2024-03-12 中国电力科学研究院有限公司 Method, device, medium and equipment for managing power grid material spot check data

Similar Documents

Publication Publication Date Title
CN111722839B (en) Code generation method and device, electronic equipment and storage medium
CN115599769A (en) Data migration method and device, electronic equipment and storage medium
CN116775634A (en) Quality inspection method, device, equipment and medium for power generation engineering data
CN116303013A (en) Source code analysis method, device, electronic equipment and storage medium
CN115757150A (en) Production environment testing method, device, equipment and storage medium
CN116881156A (en) Automatic test method, device, equipment and storage medium
CN116401113B (en) Environment verification method, device and medium for heterogeneous many-core architecture acceleration card
CN117236275A (en) Chip optimization method, device, equipment and storage medium
CN116185389A (en) Code generation method and device, electronic equipment and medium
CN115600038A (en) Page rendering method, device, equipment and medium
CN114443493A (en) Test case generation method and device, electronic equipment and storage medium
CN118502814B (en) Software modification evaluation method, device, equipment and medium based on byte codes
CN117076332B (en) Test case testing method and device, electronic equipment and storage medium
CN115098405B (en) Software product evaluation method and device, electronic equipment and storage medium
CN117724981A (en) Test report generation method, device, equipment and storage medium
CN117632734A (en) Performance test method of database, electronic equipment and storage medium
CN115757928A (en) Data query method and device, electronic equipment and storage medium
CN118012936A (en) Data extraction method, device, equipment and storage medium
CN118312497A (en) Database migration method, device, equipment, storage medium and product
CN117370213A (en) Test data generation method and device, electronic equipment and storage medium
CN118673437A (en) Knowledge graph-based abnormal examination method and device for examination rules and electronic equipment
CN117743374A (en) Database text query method, device and equipment based on data examples
CN116361323A (en) Relation tree adjustment method, device, equipment and storage medium
CN118502814A (en) Software modification evaluation method, device, equipment and medium based on byte codes
CN118012897A (en) Heterogeneous database grammar conversion method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Lanhua International Building, No. 19 Anyuan, Anhui Beili, Chaoyang District, Beijing, 100000

Applicant after: GD POWER DEVELOPMENT Co.,Ltd.

Applicant after: Beijing Construction Technology Co.,Ltd.

Address before: 100000 10th Floor, Kaibo Building, No. 30 North Third Ring East Road, Chaoyang District, Beijing

Applicant before: Beijing Construction Technology Co.,Ltd.

Applicant before: GD POWER DEVELOPMENT Co.,Ltd.

CB02 Change of applicant information
CB03 Change of inventor or designer information

Inventor after: Tian Jingqi

Inventor after: Ma Encheng

Inventor after: Xia Xuyong

Inventor after: Zhang Xiaolong

Inventor after: Zhao Junjie

Inventor after: He Jie

Inventor after: Zuo Chao

Inventor after: Yuan Bo

Inventor before: Tian Jingqi

Inventor before: Ma Encheng

Inventor before: Xia Xuyong

Inventor before: Zhang Xiaolong

Inventor before: Zhao Junjie

Inventor before: He Jie

Inventor before: Zuo Chao

Inventor before: Yuan Bo

CB03 Change of inventor or designer information