Five-prevention graph model ledger manufacturing method, system and equipment for transformer substation and storage medium

The automated method for creating diagrams and ledgers solves the problem of the cumbersome process in the traditional substation five-prevention diagram and ledger creation process, and achieves efficient data processing and rapid production.

CN119669191APending Publication Date: 2025-03-21CYG CONTRON
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411738417.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

The traditional process of creating diagrams and ledgers for five-prevention substations is cumbersome, makes it difficult to process large amounts of data quickly, and has low overall efficiency, failing to meet the needs of large-scale diagram and ledger production.

Method used

An automated method for creating graphical ledgers, including copying, naming verification, data cleaning, and batch replacement, utilizes databases and rule tables to achieve batch processing of attributes, reducing manual intervention.

Benefits of technology

It significantly improves the efficiency of creating diagrams and ledgers, shortens the project implementation cycle, and enables the processing of large amounts of data in a short period of time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119669191A_ABST
    Figure CN119669191A_ABST
Patent Text Reader

Abstract

The invention discloses a transformer substation five-prevention graph model ledger manufacturing method, system and device and a storage medium, and the technical scheme is characterized in that according to a user copying instruction, a source graph model device and the copying number are determined; according to the source ledger attribute of the source graph and model equipment, generating an initial ledger attribute of copy equipment with a copy number; performing naming verification and data cleaning on the initial standing book attribute to obtain an intermediate standing book attribute; performing batch replacement on the intermediate machine account attribute according to a user replacement instruction to obtain a target machine account attribute; and generating a graph model standing book of the copy equipment according to the target standing book attribute. According to the method, a large amount of data can be processed in a short time, the requirement for large-scale graph model standing book manufacturing is met, and the manufacturing efficiency of the graph model standing book is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of image processing technology, and specifically relates to a method, system, equipment and storage medium for manufacturing a five-defense image model ledger for a substation. Background Art

[0002] In the five-defense system of substations, when implementing new stations or expanding the capacity of existing stations, it is usually necessary to draw a large number of diagrams and equipment and make corresponding diagram records. However, the traditional diagram record making process faces multiple technical problems and risks.

[0003] The traditional method requires that after copying the model, multiple attributes of the model ledger must be manually modified, such as equipment number, equipment name, voltage level, interval, and expert terminology. This operation process is cumbersome and the overall efficiency is low, making it difficult to cope with the rapid production and maintenance needs of a large number of models. Summary of the invention

[0004] The purpose of the present invention is to provide a method, system, equipment and storage medium for manufacturing a substation five-prevention graphic model ledger, which can process a large amount of data in a short time, meet the needs of large-scale graphic model ledger production, and significantly improve the manufacturing efficiency of the graphic model ledger.

[0005] The first aspect of the present invention provides a method for manufacturing a substation five-prevention model account book, comprising:

[0006] Determine the source image model device and the number of copies according to the user's copy instruction;

[0007] Generate initial ledger attributes of the replicated number of replica devices according to the source ledger attributes of the source image model device;

[0008] Performing naming verification and data cleaning on the initial ledger attributes to obtain intermediate ledger attributes;

[0009] Replace the intermediate ledger attributes in batches according to the user replacement instruction to obtain the target ledger attributes;

[0010] Generate a graphic model ledger of the replica device according to the target ledger attributes.

[0011] In some embodiments, generating the initial ledger attributes of the replica device of the replicated number according to the source ledger attributes of the source image model device includes:

[0012] Pre-load the source ledger attributes of the source image model device from the database;

[0013] Divide the source ledger attributes into fixed attributes and adjustable attributes;

[0014] Copy the fixed attributes of the source ledger attributes until the initial fixed attributes of the copied quantity are obtained;

[0015] Adjust the adjustable attribute of the source ledger attribute by means of primary key auto-increment until the initial adjustable attribute of the copy quantity is obtained;

[0016] All initial fixed attributes and all initial adjustable attributes are matched one by one to obtain the ledger attributes of the replicated number, and the initial ledger attributes of the replicated number of replica devices are generated according to the ledger attributes of the replicated number.

[0017] In some embodiments, performing naming verification and data cleaning on the initial ledger attributes to obtain intermediate ledger attributes includes:

[0018] Use unique constraints and regular expressions to perform naming verification on the initial ledger attributes to obtain the verified initial ledger attributes;

[0019] Perform data cleansing on the verified initial ledger attributes to obtain the intermediate ledger attributes.

[0020] In some embodiments, the initial ledger attributes include: initial equipment number, initial equipment name, initial line interval, initial voltage level and initial expert terminology; the initial ledger attributes are named and verified by using unique constraints and regular expressions to obtain the verified initial ledger attributes, including:

[0021] Performing a uniqueness check on the initial device number to obtain a uniqueness check result;

[0022] Determine the device type of the source image model device according to the source ledger attribute;

[0023] Determine a naming rule that matches the device number in the rule table according to the device type, verify the initial device number according to the naming rule, and obtain a number verification result;

[0024] Determine a naming rule that matches the device name in the rule table, verify the initial device name according to the naming rule, and obtain a name verification result;

[0025] Determine a naming rule that matches the line interval in the rule table, verify the initial line interval according to the naming rule, and obtain an interval verification result;

[0026] Determine a naming rule that matches the voltage level in the rule table, verify the initial voltage level according to the naming rule, and obtain a voltage verification result;

[0027] Determine in the rule table a naming rule that matches the expert term, verify the initial expert term according to the naming rule, and obtain a term verification result;

[0028] Determine whether to modify the initial ledger attributes based on the uniqueness verification result, name verification result, interval verification result, voltage verification result and terminology verification result. If so, use the modified initial ledger attributes as the verified initial ledger attributes. If not, use the initial ledger attributes as the verified initial ledger attributes.

[0029] In some embodiments, the data cleaning of the verified initial ledger attributes to obtain the intermediate ledger attributes includes:

[0030] Determine a matching voltage level that matches the initial line interval in the verified initial account attribute in the preset interval voltage list;

[0031] Determine whether the initial voltage level in the verified initial account attribute is consistent with the matching voltage level;

[0032] If they are inconsistent, the verified initial voltage level is updated to the matching voltage level to obtain the intermediate ledger attributes.

[0033] In some embodiments, the batch replacement of intermediate ledger attributes according to the user replacement instruction to obtain target ledger attributes includes:

[0034] Determine the ledger attributes to be changed from the intermediate ledger attributes according to the user replacement instruction;

[0035] Calling corresponding modification rules according to the attributes of the account to be modified, wherein the modification rules include: preset rule templates and user-defined rules;

[0036] The ledger attributes to be modified are replaced in batches according to the modification rules to obtain the target ledger attributes.

[0037] The second aspect of the present invention provides a substation five-defense model account manufacturing system, including:

[0038] A determination module, used to determine the source image model device and the number of copies according to the user's copy instruction;

[0039] A filling module, used to generate initial ledger attributes of the replica devices of the replicated number according to the source ledger attributes of the source image model device;

[0040] A verification and cleaning module is used to perform name verification and data cleaning on the initial ledger attributes to obtain intermediate ledger attributes;

[0041] The batch replacement module is used to batch replace the intermediate ledger attributes according to the user's replacement instructions to obtain the target ledger attributes;

[0042] The ledger generation module is used to generate a graphic model ledger of the replica device according to the target ledger attributes.

[0043] In some embodiments, the batch replacement module includes:

[0044] A category determination unit, used to determine the to-be-changed ledger attributes from the intermediate ledger attributes according to the user replacement instruction;

[0045] A rule calling unit, used to call corresponding modification rules according to the attributes of the account to be modified, wherein the modification rules include: preset rule templates and user-defined rules;

[0046] The batch replacement unit is used to batch replace the attributes of the ledger to be modified according to the modification rules to obtain the target ledger attributes.

[0047] A third aspect of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0048] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0049] The technical solution provided by the present invention has the following advantages and effects: by taking the source ledger attributes of the source model device as a template, the initial ledger attributes of multiple copy devices can be copied, and then the initial ledger attributes are verified, cleaned and replaced in batches, reducing manual intervention and operation steps, and being able to process a large amount of data in a short time to meet the needs of large-scale model ledger production, thereby significantly improving the manufacturing efficiency of the model ledger and greatly shortening the project implementation cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a schematic diagram of the process of manufacturing the substation five-prevention diagram model account book provided by the present invention;

[0051] Figure 2 It is a structural block diagram of the substation five-defense model ledger manufacturing system provided by the present invention;

[0052] Figure 3 It is a diagram of the internal structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to facilitate the understanding of the present invention, specific embodiments of the present invention will be described in more detail below with reference to the accompanying drawings.

[0054] Unless otherwise specified or defined, the "first, second..." used in this article is merely used to distinguish names and does not represent a specific quantity or order.

[0055] Unless specifically stated or defined otherwise, the term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0056] It should be noted that, in this document, “fixed to” or “connected to” may mean directly fixing or connecting to an element, or indirectly fixing or connecting to an element.

[0057] like Figure 1 As shown, this embodiment provides a method for manufacturing a five-defense model account of a substation, including the following steps S1 to S4:

[0058] Step S1, determining the source image device and the number of copies according to the user's copy instruction.

[0059] In actual application, the user selects the source model device to be copied and the number of copies to be copied through the interactive device. The interactive device generates a user copy instruction based on the user's operation, accepts the user copy instruction, and then determines the source model device and the number of copies based on the user copy instruction.

[0060] Step S2: Generate initial ledger attributes of the replicated number of replica devices according to the source ledger attributes of the source model device.

[0061] In actual applications, source ledger attributes include: equipment number, equipment name, voltage level, line interval and expert terminology; after obtaining the source ledger attributes from the model ledger of the source model device, the source ledger attributes are copied according to the number of copies to obtain the initial ledger attributes of the number of copies, thereby realizing batch copying of ledger attributes and enabling the copy device to inherit all basic attributes of the source model device.

[0062] Furthermore, the step of generating the initial ledger attributes of the replica devices of the replicated number according to the source ledger attributes of the source image model device comprises the following sub-steps:

[0063] Step S21, pre-load the source ledger attributes of the source model device from the database; the database pre-stores the ledger attributes of all model devices, and after determining the source model device according to the user copy instruction, select the ledger attributes matching the source model device from the database as the source ledger attributes.

[0064] Step S22: Divide the source ledger attributes into fixed attributes and adjustable attributes.

[0065] Specifically, fixed attributes include voltage level, line spacing and expert terminology, and adjustable attributes include device number and device name. Since line spacing is irregular and features cannot be extracted from major identifiers such as device numbers, the line spacing will not be processed in step S22; the fixed attributes in step S22 are limited to not being adjusted in step S2, and can still be adjusted in subsequent steps S3 and S4.

[0066] Step S23: copy the fixed attributes of the source ledger attributes until the initial fixed attributes of the copied quantity are obtained.

[0067] In practical applications, if the voltage level in the fixed attribute of the source ledger attribute is 10kV, the number of replications is M, where M is an arbitrary positive integer, and the voltage level is replicated 10kVM times, the voltage level in the initial fixed attribute of the number of replications is also 10kV.

[0068] Step S24: Adjust the adjustable attribute of the source ledger attribute by means of primary key auto-increment until the initial adjustable attribute of the copy quantity is obtained.

[0069] Specifically, if the device numbers in the source ledger attributes are 101, 1011, and 1013, the initial device numbers in the first initial adjustable attribute will be automatically named 102, 1021, and 1023, the initial device numbers in the second initial adjustable attribute will be automatically named 103, 1031, and 1033, and the initial device numbers in the Mth initial adjustable attribute will be automatically named 10M+1, 10M+11, and 10M+13; for the device names 101 switch, 1011 knife switch and 1013 knife switch, the initial device name in the first initial adjustable attribute will be automatically named 102 switch, 1021 knife switch, 1023 knife switch, the initial device number in the second initial adjustable attribute will be automatically named 103 switch, 1031 knife switch, 1033 knife switch, the initial device number in the Mth initial adjustable attribute will be automatically named 10M+1 switch, 10M+11 knife switch, 10M+13 knife switch, and so on, to obtain the initial adjustable properties of all copy devices.

[0070] Step S25: All initial fixed attributes and all initial adjustable attributes are matched one by one to obtain the ledger attributes of the number of copies, and the initial ledger attributes of the number of replica devices are generated according to the ledger attributes of the number of copies.

[0071] In actual applications, the initial ledger attributes include: initial equipment number, initial equipment name, initial line interval, initial voltage level and initial expert terminology; different attributes use different adjustment methods to reduce the subsequent manual adjustment work.

[0072] Step S3: perform naming verification and data cleaning on the initial ledger attributes to obtain intermediate ledger attributes.

[0073] In practical applications, in order to better manage ledger data, it is usually necessary to stipulate that the naming of ledger attributes must comply with certain rules. Therefore, after obtaining the initial ledger attributes, it is usually necessary to perform name verification on them. The initial ledger attributes after verification also need to be cleaned, such as removing duplicate data, filling missing values, processing outliers, and converting data formats, so that the initial ledger attributes after verification meet the basic specifications.

[0074] Furthermore, the initial ledger attributes are subjected to naming verification and data cleaning to obtain intermediate ledger attributes, including the following sub-steps:

[0075] Step S31: Use uniqueness constraints and regular expressions to perform naming verification on the initial ledger attributes to obtain the verified initial ledger attributes;

[0076] Specifically, the method of using uniqueness constraints and regular expressions to perform naming verification on the initial ledger attributes to obtain the verified initial ledger attributes includes the following sub-steps:

[0077] Step S311, perform a uniqueness check on the initial device number to obtain a uniqueness verification result; since the main device numbers of each interval of the electrical primary diagram cannot be repeated, by performing a uniqueness check on the initial device number, it is possible to determine whether the initial device numbers of each copy device are repeated and obtain a uniqueness verification result.

[0078] Step S312: determine the device type of the source model device according to the source ledger attributes; specifically, the device types include: primary devices and tag devices, and the primary devices include: switches, knife switches, ground switches, etc.

[0079] Step S313: Determine a naming rule that matches the device number in the rule table according to the device type, verify the initial device number according to the naming rule, and obtain a number verification result;

[0080] Step S314: determine a naming rule that matches the device name in the rule table, verify the initial device name according to the naming rule, and obtain a name verification result;

[0081] Step S315: Determine a naming rule that matches the line interval in the rule table, verify the initial line interval according to the naming rule, and obtain an interval verification result;

[0082] Step S316: Determine a naming rule that matches the voltage level in the rule table, verify the initial voltage level according to the naming rule, and obtain a voltage verification result;

[0083] Step S317: determining a naming rule that matches the expert term in the rule table, and verifying the initial expert term according to the naming rule to obtain a term verification result;

[0084] Step S318: Determine whether to modify the initial ledger attributes based on the uniqueness verification result, name verification result, interval verification result, voltage verification result and terminology verification result. If so, use the modified initial ledger attributes as the verified initial ledger attributes. If not, use the initial ledger attributes as the verified initial ledger attributes.

[0085] Step S32: perform data cleaning on the verified initial ledger attributes to obtain intermediate ledger attributes.

[0086] Specifically, the rule table is a rule table established in advance through regular expressions, and the rule table contains multiple naming rules, such as "Naming rule 1, only underscores, numbers, and English are allowed to be input", "Naming rule 2, only underscores, numbers, English, and Chinese are allowed to be input", "Naming rule 3, only numbers are allowed to be input", "Naming rule 4, no restrictions", "Naming rule 5, custom", etc., among which the custom rule of naming rule 5 needs to be configured using the original regular expression, such as the regular expression that only allows English input is ^[a-ZA-Z]+$. A corresponding mapping relationship is established between each rule in the rule table and the ledger attribute, such as the default mapping relationship: a mapping relationship is established between naming rule 1 and the device number of the primary device, a mapping relationship is established between naming rule 2 and the device name and line interval, a mapping relationship is established between naming rule 3 and the voltage level, and a mapping relationship is established between naming rule 4 and expert terms and the device number of label-type devices.

[0087] For the initial equipment number, if the device type of the source model device is a primary device such as a switch, knife switch, or ground switch, then match the naming rule 1 from the rule table for verification; if the device type of the source model device is a label device, then match the naming rule 4 from the rule table for verification, so that different types of model devices use different naming rules; for the initial equipment name and initial line interval, match the naming rule 2 from the rule table for verification; for the initial voltage level, match the naming rule 3 from the rule table for verification; for the initial expert terminology, match the naming rule 4 from the rule table for verification. When the initial ledger attributes do not conform to the corresponding naming rules, that is, when any one or more of the verification results of the uniqueness verification result, name verification result, interval verification result, voltage verification result, and terminology verification result do not conform to the naming rules, the initial ledger attributes that do not conform to the naming rules are corrected to ledger attributes that meet the naming rules, and a modification prompt is given.

[0088] Specifically, the data cleaning of the verified initial ledger attributes to obtain the intermediate ledger attributes includes the following sub-steps:

[0089] Step S321, determining a matching voltage level that matches the initial line interval in the verified initial account attribute in the preset interval voltage list;

[0090] Step S322, determining whether the initial voltage level in the verified initial account attribute is consistent with the matching voltage level;

[0091] Step S323: If they are inconsistent, the verified initial voltage level is updated to the matching voltage level to obtain the intermediate ledger attributes.

[0092] In practical applications, in the predefined interval voltage list, each line interval will have a corresponding voltage level. During cleaning, first match the line interval that is the same as the initial line interval after verification from the interval voltage list as the matching line interval, and select the voltage level corresponding to the matching line interval from the interval voltage list as the matching voltage level. Compare the matching voltage level with the initial voltage level after verification to determine whether the two are consistent. If they are consistent, there is no need to update the initial voltage level after verification. If they are inconsistent, the initial voltage level after verification is automatically updated to be consistent with the matching voltage level in the interval voltage list. It can quickly check whether the initial line interval and the initial voltage level in the initial ledger attributes match. If they do not match, the initial voltage level is automatically updated. In addition, the spaces before and after the verified initial ledger attributes can be checked. If there are spaces before and after the verified initial ledger attributes, the spaces before and after are removed.

[0093] Step S4: Replace the intermediate ledger attributes in batches according to the user replacement instruction to obtain the target ledger attributes.

[0094] In actual applications, if the intermediate ledger attributes are different from the ledger attributes expected by the user, the user can issue a user replacement instruction. After receiving the user replacement instruction, the key ledger attributes in the intermediate ledger attributes are replaced in batches according to the user replacement instruction, which is convenient for users to flexibly adjust the naming rules and data formats of the ledger attributes of the graphic model equipment according to different business needs.

[0095] Specifically, the batch replacement of the intermediate ledger attributes according to the user replacement instruction to obtain the target ledger attributes includes the following sub-steps:

[0096] Step S41, determining the account attributes to be changed from the intermediate account attributes according to the user replacement instruction;

[0097] Step S42: calling corresponding modification rules according to the attributes of the account to be modified, wherein the modification rules include: preset rule templates and user-defined rules;

[0098] Step S43: Batch replace the ledger attributes to be modified according to the modification rule to obtain the target ledger attributes.

[0099] In actual applications, the user replacement instruction includes at least one ledger attribute that needs to be replaced in batches. The ledger attribute is used as the ledger attribute to be modified, and the modification rule corresponding to the ledger attribute to be modified is called to batch replace the ledger attribute to be modified.

[0100] If the device number is used as the attribute of the account to be modified, the corresponding modification rule can be to specify the number prefix, suffix, starting number and incremental value. According to the set modification rules, a unique device number is automatically generated for each replica device. Specifically, the source switch device number is 100, the number of copies is 3, the specified generation number is 3, the number prefix is ​​"ZX", and the suffix is ​​"Q", then the replica device starting number is 101, the incremental value is 2, and the newly generated three interval master replica device numbers are ZX101Q, ZX103Q, and ZX105Q, realizing the account. If a certain model device requires a special number, it is also allowed to be specified or adjusted separately in the management interface.

[0101] If the device name is used as the attribute of the ledger to be modified, the user can set the device name to generate a template (the template can be pre-defined or modified in the confirmation interface when generating), such as "{voltage level}{interval name}{device number}{device type}". The device name corresponding to the copy device is automatically generated according to the template, such as: 110kV Gongchuang Line ZX101Q switch.

[0102] If the line interval is used as the attribute of the ledger to be changed, since the generation of the line interval requires manual intervention by the user, the user can import the line interval name in the interval voltage list information in advance for automatic filling during quick replacement (the interval voltage list will contain the voltage level, line interval and main equipment number. When the main equipment number matches, the corresponding line interval is automatically matched when the model is generated). It can also be filled in manually when batch generating copy equipment. When saving, the filled-in line interval is checked in units of line intervals (the separation algorithm of the line interval is implemented by the topology, with the disconnection point of the bus, main transformer or wiring as the endpoint, indicating a separate line interval), mainly to determine whether the line interval has the same name as other line intervals and whether it complies with the naming rules of the previous step.

[0103] If expert terms are used as attributes of the account to be modified, two methods are supported to generate expert terms. One method is to extract the expert terms of the corresponding device type from the expert term template and associate them with the corresponding copy device. For example, for a 101 switch, the term templates corresponding to the opening and closing operations are "pull open {device name}" and "close {device name}". The other method is to customize the terms of a single model device and select them by switching options. For the convenience of management, in the model management, you can view all devices with customized terms and support batch adjustment.

[0104] Step S5, generating a graphic model ledger of the replica device according to the target ledger attributes; specifically, after obtaining the target ledger attributes, generating a graphic model ledger of the replica device according to the target ledger attributes, thereby realizing rapid generation of the graphic model ledger.

[0105] like Figure 2 As shown, the embodiment of the present invention also provides a substation five-defense model account manufacturing system, including:

[0106] A determination module 100 is used to determine a source image model device and a copy quantity according to a user copy instruction;

[0107] A filling module 200 is used to generate initial ledger attributes of the replica devices of the replicated number according to the source ledger attributes of the source image model device;

[0108] The verification and cleaning module 300 is used to perform name verification and data cleaning on the initial ledger attributes to obtain intermediate ledger attributes;

[0109] The batch replacement module 400 is used to batch replace the intermediate ledger attributes according to the user replacement instruction to obtain the target ledger attributes;

[0110] The ledger generation module 500 is used to generate a graphical ledger of a replica device according to the target ledger attributes.

[0111] As an optional implementation, the filling module includes the following units (not shown):

[0112] A data loading unit, used to pre-load the source ledger attributes of the source image model device from a database;

[0113] An attribute classification unit, used to classify the source ledger attributes into fixed attributes and adjustable attributes;

[0114] A first copying unit, used to copy the fixed attributes of the source ledger attributes until an initial fixed attribute of the copy quantity is obtained;

[0115] A second replication unit is used to adjust the adjustable attribute of the source ledger attribute by means of primary key auto-increment until an initial adjustable attribute of the replication quantity is obtained;

[0116] The ledger generation unit is used to obtain the ledger attributes of the replicated number by one-to-one correspondence between all initial fixed attributes and all initial adjustable attributes, and to generate the initial ledger attributes of the replicated number of replica devices according to the ledger attributes of the replicated number.

[0117] As an optional implementation, the verification and cleaning module includes the following units not shown in the figure:

[0118] A verification unit is used to perform naming verification on the initial ledger attributes by using uniqueness constraints and regular expressions to obtain the verified initial ledger attributes;

[0119] The cleaning unit is used to clean the initial ledger attributes after verification to obtain intermediate ledger attributes.

[0120] The initial ledger attributes include: initial equipment number, initial equipment name, initial line interval, initial voltage level and initial expert terminology; as an optional implementation, the verification unit includes the following units not shown in the figure:

[0121] A checking unit, used for checking the uniqueness of the initial device number to obtain a uniqueness check result;

[0122] A type determination unit, used to determine the device type of the source image model device according to the source ledger attribute;

[0123] A first verification unit is used to determine a naming rule matching the device number in a rule table according to the device type, and verify the initial device number according to the naming rule to obtain a number verification result;

[0124] A second verification unit is used to determine a naming rule that matches the device name in the rule table, and verify the initial device name according to the naming rule to obtain a name verification result;

[0125] A third verification unit is used to determine a naming rule matching the line interval in the rule table, verify the initial line interval according to the naming rule, and obtain an interval verification result;

[0126] A fourth verification unit, used to determine a naming rule matching the voltage level in the rule table, verify the initial voltage level according to the naming rule, and obtain a voltage verification result;

[0127] A fifth verification unit, configured to determine a naming rule matching the expert term in the rule table, verify the initial expert term according to the naming rule, and obtain a term verification result;

[0128] The judgment and correction unit is used to judge whether to correct the initial ledger attributes according to the uniqueness verification result, the name verification result, the interval verification result, the voltage verification result and the terminology verification result. If so, the corrected initial ledger attributes are used as the verified initial ledger attributes; if not, the initial ledger attributes are used as the verified initial ledger attributes.

[0129] As an optional implementation, the verification and cleaning module further includes the following units not shown in the figure:

[0130] A voltage determination unit, used to determine a matching voltage level that matches the initial line interval in the verified initial account attribute in a preset interval voltage list;

[0131] A voltage judgment unit, used to judge whether the initial voltage level in the verified initial account attribute is consistent with the matching voltage level;

[0132] The voltage update unit is used to update the verified initial voltage level to the matching voltage level if there is any inconsistency, so as to obtain the intermediate ledger attributes.

[0133] As an optional implementation, the batch replacement module includes the following units (not shown):

[0134] An attribute determination unit, used to determine the to-be-changed ledger attribute from the intermediate ledger attribute according to the user replacement instruction;

[0135] A rule calling unit, used to call corresponding modification rules according to the attributes of the account to be modified, wherein the modification rules include: preset rule templates and user-defined rules;

[0136] The batch replacement unit is used to batch replace the attributes of the ledger to be modified according to the modification rules to obtain the target ledger attributes.

[0137] Each module of the above-mentioned substation five-defense model ledger manufacturing system can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules and units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0138] like Figure 3 As shown, an embodiment of the present invention discloses a computer device, including a memory and a processor, wherein the memory stores a computer program;

[0139] The computer device may be a server, and its internal structure diagram may be as follows: Figure 3As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, the method for manufacturing the substation five-prevention model ledger described in the above embodiments is implemented.

[0140] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0141] An embodiment of the present invention also discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the method for manufacturing a substation five-prevention model ledger described in the above embodiments.

[0142] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0143] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A method for manufacturing a five-prevention model account of a substation, characterized in that: include: Determine the source image model device and the number of copies according to the user's copy instruction; Generate initial ledger attributes of the replicated number of replica devices according to the source ledger attributes of the source image model device, wherein the source ledger attributes are the ledger attributes of the ledger in the source image model device; Performing naming verification and data cleaning on the initial ledger attributes to obtain intermediate ledger attributes; Replace the intermediate ledger attributes in batches according to the user replacement instruction to obtain the target ledger attributes; Generate a graphic model ledger of the replica device according to the target ledger attributes.

2. The method for manufacturing the five-prevention model account of a substation according to claim 1, characterized in that: The method of generating the initial ledger attributes of the replica device of the replicated number according to the source ledger attributes of the source image model device includes: Pre-load the source ledger attributes of the source image model device from the database; Divide the source ledger attributes into fixed attributes and adjustable attributes; Copy the fixed attributes of the source ledger attributes until the initial fixed attributes of the copied quantity are obtained; Adjust the adjustable attribute of the source ledger attribute by means of primary key auto-increment until the initial adjustable attribute of the copy quantity is obtained; All initial fixed attributes and all initial adjustable attributes are matched one by one to obtain the ledger attributes of the replicated number, and the initial ledger attributes of the replicated number of replica devices are generated according to the ledger attributes of the replicated number.

3. The method for manufacturing the five-prevention model account of a substation according to claim 1, characterized in that: The initial ledger attributes are subjected to naming verification and data cleaning to obtain intermediate ledger attributes, including: Use unique constraints and regular expressions to perform naming verification on the initial ledger attributes to obtain the verified initial ledger attributes; Perform data cleansing on the verified initial ledger attributes to obtain the intermediate ledger attributes.

4. The method for manufacturing the five-prevention diagram and model account of a substation according to claim 3, characterized in that: The initial ledger attributes include: initial equipment number, initial equipment name, initial line interval, initial voltage level and initial expert terminology; the uniqueness constraint and regular expression are used to perform naming verification on the initial ledger attributes to obtain the verified initial ledger attributes, including: Performing a uniqueness check on the initial device number to obtain a uniqueness check result; Determine the device type of the source image model device according to the source ledger attribute; Determine a naming rule that matches the device number in the rule table according to the device type, verify the initial device number according to the naming rule, and obtain a number verification result; Determine a naming rule that matches the device name in the rule table, verify the initial device name according to the naming rule, and obtain a name verification result; Determine a naming rule that matches the line interval in the rule table, verify the initial line interval according to the naming rule, and obtain an interval verification result; Determine a naming rule that matches the voltage level in the rule table, verify the initial voltage level according to the naming rule, and obtain a voltage verification result; Determine in the rule table a naming rule that matches the expert term, verify the initial expert term according to the naming rule, and obtain a term verification result; Determine whether to modify the initial ledger attributes based on the uniqueness verification result, name verification result, interval verification result, voltage verification result and terminology verification result. If so, use the modified initial ledger attributes as the verified initial ledger attributes. If not, use the initial ledger attributes as the verified initial ledger attributes.

5. The method for manufacturing the five-prevention model account of a substation according to claim 3, characterized in that: The data cleaning of the verified initial ledger attributes to obtain the intermediate ledger attributes includes: Determine a matching voltage level that matches the initial line interval in the verified initial account attribute in the preset interval voltage list; Determine whether the initial voltage level in the verified initial account attribute is consistent with the matching voltage level; If they are inconsistent, the verified initial voltage level is updated to the matching voltage level to obtain the intermediate ledger attributes.

6. The method for manufacturing the five-prevention model account of a substation according to claim 1, characterized in that: The batch replacement of the intermediate ledger attributes according to the user replacement instruction to obtain the target ledger attributes includes: Determine the ledger attributes to be changed from the intermediate ledger attributes according to the user replacement instruction; Calling corresponding modification rules according to the attributes of the account to be modified, wherein the modification rules include: preset rule templates and user-defined rules; The ledger attributes to be modified are replaced in batches according to the modification rules to obtain the target ledger attributes.

7. The substation five-prevention model account manufacturing system is characterized by: include: A determination module, used to determine the source image model device and the number of copies according to the user's copy instruction; A filling module, used to generate initial ledger attributes of the replica devices of the replicated number according to the source ledger attributes of the source image model device; A verification and cleaning module is used to perform name verification and data cleaning on the initial ledger attributes to obtain intermediate ledger attributes; The batch replacement module is used to batch replace the intermediate ledger attributes according to the user's replacement instructions to obtain the target ledger attributes; The ledger generation module is used to generate a graphic model ledger of the replica device according to the target ledger attributes.

8. The substation five-prevention model account manufacturing system according to claim 7 is characterized in that: The batch replacement module includes: A category determination unit, used to determine the to-be-changed ledger attributes from the intermediate ledger attributes according to the user replacement instruction; A rule calling unit, used to call corresponding modification rules according to the attributes of the account to be modified, wherein the modification rules include: preset rule templates and user-defined rules; The batch replacement unit is used to batch replace the attributes of the ledger to be modified according to the modification rules to obtain the target ledger attributes.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

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