Automatic modeling method for forwarding information of gateway machine of transformer substation, computer device and computer storage medium
By extracting equipment monitoring information from the specification file and matching the actual information using the keyword weight model, the problem of low point selection efficiency of the substation gateway forwarding table configuration is solved, automatic modeling and standardized management are realized, and the point selection process is simplified.
Patent Information
- Application Number
- CN202510517061.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-08-19
AI Technical Summary
In substation engineering, in the prior art, the substation gateway forwarding table configuration point selection processing efficiency is low and error-prone, and insufficient modeling and standardization lead to difficulty in point-by-point selection.
By extracting equipment monitoring information from the power grid area specification files, a standard model for forwarding information is constructed, and the keyword weight model and monitoring information weight model are used to match the actual equipment monitoring information, forming a forwarding information engineering model, and finally serialized into a two-dimensional structure forwarding table.
Automatic modeling of forwarding information of the substation gateway is realized, simplifying the point selection process, improving efficiency and reducing human errors.
Smart Images

Figure CN120509796A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to a method for automatically modeling information forwarded by a gateway machine in a substation, a computer device, and a computer storage medium. Background Art
[0002] In current power systems, the IEC104 protocol is widely used between master stations to transmit real-time grid operation data. This protocol requires forwarding table configuration and point selection for communication data. However, during the commissioning of gateway devices in new substation construction and expansion projects, this forwarding table configuration and point selection process has been inefficient and prone to errors.
[0003] The main reason for this problem is that during commissioning, key information about newly built or expanded gateways must be obtained and forwarding information modeled to form a forwarding table. In practice, this requires personnel to individually identify the key information required by the master station from a large amount of data, a cumbersome process that relies heavily on manual processing and can lead to errors. Furthermore, the forwarding table consists of two-dimensional information consisting of point numbers and corresponding measurement point names. During manual organization, the point numbers corresponding to each key piece of information, as well as the order of information, are randomly arranged, making individual point selection difficult due to insufficient modeling and standardization.
[0004] To address the difficulty of point-by-point selection, the following solutions exist in practical applications: First, optimizing staff operational processes and requiring them to select points according to specifications. While this approach can improve overall efficiency to a certain extent, the selection of key information and the forwarding of information modeling still rely on manual labor, which does not eliminate the risk of error and also has very limited efficiency gains. Another approach is to use service-based protocols such as the IEC61850 protocol to load information models. However, these protocols suffer from issues such as large communication data volumes and low transmission efficiency, making them unsuitable for widespread use and unable to replace the IEC104 protocol.
[0005] In existing patents, people have proposed using programs to directly model the forwarding information of substation gateway machines, but this has not solved the problem of difficult point-by-point selection. For example, the patent application with publication number CN118733534A discloses a method, device, and storage medium for automatically creating a model file. The text extracts the information required to be forwarded in the substation protocol document as the main node of the model file. Subsequently, the subnodes of the model file are filled in sequence using the data forwarding point table. Since the file forwarded to the host is a model file, the nodes of the data forwarding point table no longer need to be executed according to public specifications. However, the data forwarding point table cannot be automatically generated and still needs to be organized by staff. Therefore, although the application forms a standardized model file for the information forwarded to the main station and places the modeling process after the point selection, it does not solve the point selection problem in the file formation process. Summary of the Invention
[0006] The purpose of the present invention is to provide a method for automatically modeling substation gateway forwarding information, a computer device and a computer storage medium to solve the problem of point-by-point selection difficulties caused by insufficient modeling and standardization in the existing technology.
[0007] In order to solve the above technical problems, the present invention provides a method for automatically modeling substation gateway forwarding information, the steps of which include:
[0008] 1) Extracting equipment monitoring information that needs to be forwarded based on equipment type from the regulatory provisions of the power grid area, and integrating the information to obtain a forwarding information standard model; the equipment types include primary equipment and secondary equipment;
[0009] 2) Acquire actual equipment monitoring information from the substation actual engineering SCD model, match the acquired actual equipment monitoring information with the equipment monitoring information required in the forwarding information standard model through keyword matching, and fill the matched actual equipment monitoring information into the forwarding information standard model to form a forwarding information engineering model;
[0010] 3) Serialize the forwarding information engineering model into a two-dimensional structure forwarding table.
[0011] Furthermore, keyword matching is achieved using a keyword weight model and a monitoring information weight model. The keyword weight model includes keywords related to device monitoring information and sub-keywords and sub-keyword weights corresponding to each keyword; the monitoring information weight model includes keywords and keyword weights used to describe device monitoring information in the forwarding information standard model.
[0012] Furthermore, the process of extracting keywords from actual device monitoring information using a keyword weight model includes: matching the actual device monitoring information with the sub-keywords in the keyword weight model; if the weight of the sub-keyword that successfully matches the actual device monitoring information exceeds a first set threshold, the keyword corresponding to the successfully matched sub-keyword will be used as the keyword extracted from the actual device monitoring information.
[0013] Furthermore, keywords are extracted from the actual device monitoring information and matched with the keywords corresponding to the device monitoring information in the monitoring information weight model, and the keyword weights corresponding to the keywords that successfully match the same device monitoring information in the monitoring information weight model are added. When the addition result is greater than the second set threshold, the actual device monitoring information corresponding to each successfully matched keyword is filled in the device monitoring information corresponding to the forwarding information standard model to form a forwarding information engineering model.
[0014] Furthermore, the step 3) is to obtain a two-dimensional structure forwarding table by serializing the forwarding information engineering instance model and forwarding it. The two-dimensional structure forwarding table includes a forwarding sequence number and a corresponding forwarding information description.
[0015] Furthermore, when there is information in the two-dimensional structure forwarding table that fails to match the keyword weight model or the monitoring information weight model or is not in the specification but is actually needed, the two-dimensional structure forwarding table will be filled in through manual supplementation.
[0016] Furthermore, after the two-dimensional structure transfer table is filled by manual supplementation, the keywords, sub-keywords and sub-keyword weights in the keyword weight model and / or the keywords and keyword weights in the monitoring information weight model are modified according to the filled content.
[0017] A computer device includes a processor, and the processor is used to run a computer program to implement the automatic modeling method for substation gateway forwarding information as described above.
[0018] A computer storage medium stores a computer program to implement the automatic modeling method for substation gateway forwarding information as described above.
[0019] The beneficial effects of the present invention are: as an improved invention, the present application first obtains the equipment monitoring information that needs to be forwarded from the specification file of the area to form a forwarding information standard model, and then obtains the actual equipment monitoring information and the keywords therein, matches the actual equipment monitoring information with the equipment monitoring information through the keywords, and fills the matching information into the equipment monitoring information to form a forwarding information engineering model, thereby realizing automatic modeling of the substation gateway forwarding information, realizing standardized management of the actual equipment monitoring information, and effectively simplifying the subsequent point selection process. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of the method of the present invention;
[0021] Figure 2 It is a schematic diagram of the SCD model of the present invention;
[0022] Figure 3 It is a schematic diagram of the standard model of forwarding information of the present invention;
[0023] Figure 4 It is a schematic diagram of the monitoring information weight model of the present invention;
[0024] Figure 5 is the keyword matching module of the present invention;
[0025] Figure 6 It is the forwarding information engineering model of the present invention;
[0026] Figure 7 It is the two-dimensional structure transfer table of the present invention. DETAILED DESCRIPTION
[0027] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0028] The present invention proposes to extract the equipment monitoring information that needs to be forwarded from the specification document, and then use the keyword weight model to match the actual equipment monitoring information of the substation with the equipment monitoring information to obtain a forwarding information engineering model, thereby realizing automatic modeling of the substation gateway forwarding information before site selection, and solving the point-by-point selection difficulty caused by insufficient modeling and standardization.
[0029] Embodiment of automatic modeling method for forwarding information of substation gateway
[0030] The specific steps of the automatic modeling method for substation gateway forwarding information proposed in the present invention include:
[0031] 1. Build a standard model for forwarding information.
[0032] like Figure 1 As shown, the present invention extracts the equipment monitoring information that needs to be forwarded from the specification documents of the area where the substation is located, the regional forwarding requirements and other regulations, and integrates them to obtain a forwarding information standard model. The forwarding information standard model can be in the form of an electronic document. Specifically, the information extracted from the regulations needs to be divided according to the equipment type. The information includes detailed descriptions of the monitoring information of primary equipment such as transformers, circuit breakers, switches, lines, busbars, capacitors, reactors, current / voltage transformers, arc suppression coils, high-voltage reactors, and station power consumption, and also includes detailed descriptions of the monitoring information of secondary equipment such as DC systems, auxiliary control systems, protection devices, and measurement and control devices. In order to facilitate the matching of the equipment monitoring information that needs to be forwarded with the actual equipment monitoring information of the substation, it is necessary to mark each piece of equipment monitoring information with a corresponding index ID.
[0033] Table 1 is an example of the monitoring information specification for a substation in a certain region, which includes measurement information such as XX switch active power, XX switch reactive power, XX switch phase A current, XX switch phase B current, and XX switch phase C current. It also includes telesignaling position information such as XX switch position, XX switch phase A position, XX switch phase B position, and XX switch phase C position. The above information is the information extracted from the regulations. By integrating the above information according to the equipment classification and adding the corresponding index ID, a standard model for forwarding information can be formed.
[0034] Table 1
[0035]
[0036]
[0037] In order to facilitate the classification and management of information, in the forwarding information standard model, the equipment monitoring information can also be divided into operation information (RUNINFO), protection action information (RELAY) and alarm information (ALM). Figure 3 The following figure shows an example of a forwarding information standard model extracted and generated from a circuit breaker monitoring information specification. This model is in XML file format and represents a 1000kV circuit breaker. It contains three parts: operating information (RUNINFO), protection action information (RELAY), and alarm information (ALM). Operating information includes measurement and position information, while alarm information includes total signal and sulfur hexafluoride (SF6) information. Measurement information (MEAS) includes the active power of the XX switch, the reactive power of the XX switch, the current of the XX switch phase A, the current of the XX switch phase B, and the current of the XX switch phase C. Position information includes the position of the XX switch, the position of the XX switch phase A, the position of the XX switch phase B, and the position of the XX switch phase C.
[0038] 2. Obtain actual device monitoring information and perform keyword extraction.
[0039] Subsequently, the actual equipment monitoring information of the substation is obtained from the SCD model, and the keywords in the actual equipment monitoring information are obtained using the keyword weight model according to the interval and equipment type. The actual equipment monitoring information is then matched with the equipment monitoring information in the forwarding information standard model through the extracted keywords.
[0040] like Figure 2 The figure shows the SCD model, where CB100012 is the iedname of the measurement and control device to which switch T012 belongs. The dsAin data set contains measurement information such as circuit breakers Ia, Ib, and Ic, P, and Q. The dsDin data set contains telesignaling position information such as the position of circuit breaker T012, phase A position of circuit breaker T012, phase B position of circuit breaker T012, and phase C position of circuit breaker T012.
[0041] Specifically, keyword extraction from the actual device monitoring information obtained is implemented using a keyword weight model. The keyword weight model includes keywords related to the device monitoring information, sub-keywords corresponding to each keyword, and sub-keyword weights. Each keyword related to the device monitoring information corresponds to a keyword ID. Depending on the strength of the correlation, each sub-keyword corresponds to a sub-keyword weight value. If the keyword extracted from the actual device monitoring information matches the sub-keyword, and the sub-keyword weight corresponding to the sub-keyword is greater than the first set threshold, the match is considered successful, and the keyword extracted from the actual device monitoring information will be marked with the keyword ID of the corresponding keyword. The keyword weight value range is 0.5 to 1.
[0042] like Figure 5 As shown, taking the keyword "switch" as an example, the keyword weight model assigns the keyword ID "switch" to 1. Under the keyword "switch" are the sub-keywords "circuit breaker" and "switch." If the keyword "circuit breaker" is extracted from a piece of actual device monitoring information using the sub-keywords "circuit breaker" and "switch," it is determined that the keyword matches the sub-keyword "circuit breaker" in the keyword weight model. This piece of information in the actual device monitoring information is then annotated with the keyword ID "1" for the keyword "switch," indicating that the information is related to the switch.
[0043] 3. Use the monitoring information weight model to match the extracted keywords with the device monitoring information in the forwarding information standard model.
[0044] When matching keywords with device monitoring information in the forwarding information standard model, a monitoring information weight model is used. The monitoring information weight model includes keywords and keyword weights used to describe the device monitoring information in the forwarding information standard model. Keywords are extracted from the actual device monitoring information and matched with the keywords corresponding to the device monitoring information in the monitoring information weight model. The keyword weights corresponding to the keywords that successfully match the same device monitoring information in the monitoring information weight model are added together. When the sum is greater than a second set threshold, the actual device monitoring information corresponding to each successfully matched keyword is added to the device monitoring information corresponding to the forwarding information standard model, forming a forwarding information engineering model. The second set threshold value ranges from 0.5 to 1. In order to form the computer program logic, each device monitoring information in the monitoring information weight model is assigned a corresponding index ID. The index ID of the device monitoring information in the forwarding information standard model is the same as the index ID of the corresponding device monitoring information weight model. When the actual device monitoring information matches the keyword in the monitoring information weight model, the keyword in the keyword matching module is searched through the corresponding index ID, and the sub-keywords of the keyword and their weight values are found and matched with the keywords in the actual device monitoring information to obtain the corresponding index ID of the actual device monitoring information in the monitoring information weight model. The computer uses the index ID to determine the forwarding information position that should be filled in for each actual device monitoring information.
[0045] like Figure 4 As shown, take the "circuit breaker active power" in the monitoring information weight model as an example. Assuming that a piece of actual device monitoring information contains "T012 switch active power", the information is processed through the keyword weight model to extract the keywords "switch" and "active power". At this time, the actual device monitoring information "switch active power" is marked with keyword ID = 1 (i.e., the switch keyword ID) and keyword ID = 2 (i.e., the active power keyword ID). According to the following example, Figure 4The monitoring information weighting model shown includes device monitoring information with keyword ID=1, such as "circuit breaker active power" and "circuit breaker phase A current." For ease of explanation, this embodiment uses only these two pieces of device monitoring information as examples. Since keyword ID=1 of the actual device monitoring information matches keyword ID=1 for "circuit breaker active power" and "circuit breaker phase A current" in the monitoring information weighting model, the actual device monitoring information receives a keyword weight of 0.49 for "circuit breaker active power" and a keyword weight of 0.33 for "circuit breaker phase A current." Furthermore, the keyword "active power" in the actual device monitoring information matches the keyword "active power" in the "circuit breaker active power" section of the monitoring information weighting model, while the keyword "active power" does not exist in "circuit breaker phase A current." Therefore, the actual device monitoring information receives a keyword weight of 0.49 for the device monitoring information "circuit breaker active power" in the monitoring information weighting model, while no keyword "active power" is assigned to the keyword "circuit breaker phase A current." In summary, the actual device monitoring information obtains all keyword weights of 0.49+0.49=0.98 in the device monitoring information "circuit breaker active power" of the monitoring information weight model, and the weight of all keywords obtained in "circuit breaker A phase current" is 0.33. In this embodiment, the matching success threshold is set to 0.5. Since 0.98>0.5, the device monitoring information "circuit breaker active power" in the monitoring information weight model matches the actual device monitoring information "switch active power". The actual device monitoring information obtains the index ID of "circuit breaker active power" in the monitoring information weight model. Assume that the index ID of "circuit breaker active power" in the monitoring information weight model is 1. The index ID=1 of the actual device monitoring information is compared with Figure 3 The index ID = 1 in the forwarding information standard model shown matches, and the index ID of "xx switch active power" in the forwarding information standard model is also 1. Therefore, the actual device monitoring information "T012 switch active power" should be filled in the position with index ID 1 in the forwarding information standard model, that is, "xx switch active power".
[0046] After matching all the information in the actual device monitoring data and filling it into the forwarding information standard model, we can get the following Figure 6 The forwarding information engineering model shown, for example, includes measurement information (MEAS) including active power of the T012 switch, reactive power of the T012 switch, phase A current of the T012 switch, phase B current of the T012 switch, and phase C current of the T012 switch; and position information includes position of the T012 switch, phase A position of the T012 switch, phase B position of the T012 switch, and phase C position of the T012 switch.
[0047] In order to facilitate gateway forwarding, the forwarding information engineering model is transformed into Figure 7The two-dimensional forwarding table shown in the figure includes a forwarding sequence number and a corresponding forwarding information description. The two-dimensional forwarding table includes telemetry and single-point telesignaling information. Each forwarding message includes a device monitoring information description (Desc), a forwarding sequence number (no), and an IEC61850 reference (URI). In this example, telemetry information includes T012 switch active power, T012 switch reactive power, T012 switch phase A current, T012 switch phase B current, and T012 switch phase C current. Single-point telesignaling information includes T012 switch position, T012 switch phase A position, T012 switch phase B position, and T012 switch phase C position.
[0048] In actual operation, some actual equipment monitoring information may not match the equipment monitoring information in the forwarding information standard model, or some actually required information may not appear in the standard documents of the area. Therefore, after forming the two-dimensional structure forwarding table, the staff can supplement the two-dimensional structure forwarding table on their own. To solve the problem of matching errors, you can manually add keywords and adjust the weights of keywords to achieve the correction of keywords, sub-keywords and sub-keyword weights in the keyword weight model, as well as keywords and keyword weights in the monitoring information weight model. Depending on the actual situation, you can adjust only the keyword weight model or the monitoring information weight model or both at the same time. The part that needs to be adjusted in each model can be adjusted partially or as a whole according to the actual situation.
[0049] Computer device embodiment
[0050] The present invention proposes a computer device, comprising a processor, wherein the processor is configured to run a computer program to implement the above-mentioned method for automatically modeling information forwarding by a substation gateway.
[0051] The specific implementation process has been described in detail in the method embodiment and will not be repeated here.
[0052] Computer Storage Medium Embodiments
[0053] The present invention proposes a computer storage medium, in which a computer program is stored. The computer program includes a data acquisition module, a text processing module and a keyword matching model.
[0054] The data acquisition module is mainly used to collect actual equipment monitoring information of the substation; the text processing module is mainly used to extract the information that needs to be forwarded from the specification file and form a forwarding information standard model; the keyword matching model is mainly used to fill the actual data of the substation into the forwarding information standard model through keyword matching. The keyword matching model includes a keyword weight model and a monitoring information weight model.
[0055] The computer storage medium embodiment described above is merely illustrative. The module division is merely a logical function division. In actual implementation, there may be other division methods, such as combining or integrating multiple modules into another system, or some features may be ignored or not executed.
[0056] The specific implementation process has been described in detail in the method embodiment and will not be repeated here.
Claims
1. A method for automatically modeling substation gateway forwarding information, characterized in that the steps include: Extracting equipment monitoring information that needs to be forwarded based on equipment type from the regulatory provisions of the power grid area, and integrating the information to obtain a forwarding information standard model; the equipment types include primary equipment and secondary equipment; Acquire actual equipment monitoring information from the actual substation engineering SCD model, match the acquired actual equipment monitoring information with the equipment monitoring information required in the forwarding information standard model through keyword matching, and fill the matched actual equipment monitoring information into the forwarding information standard model to form a forwarding information engineering model; The forwarding information engineering model is serialized into a two-dimensional structure forwarding table.
2. The automatic modeling method for substation gateway forwarding information according to claim 1 is characterized in that: Keyword matching is achieved using a keyword weight model and a monitoring information weight model. The keyword weight model includes keywords related to device monitoring information and sub-keywords and sub-keyword weights corresponding to each keyword; the monitoring information weight model includes keywords and keyword weights used to describe device monitoring information in the forwarding information standard model.
3. The automatic modeling method for substation gateway forwarding information according to claim 2 is characterized in that: The process of extracting keywords from actual device monitoring information using a keyword weight model includes: matching the actual device monitoring information with the sub-keywords in the keyword weight model. If the weight of the sub-keyword that successfully matches the actual device monitoring information exceeds a first set threshold, the keyword corresponding to the successfully matched sub-keyword will be used as the keyword extracted from the actual device monitoring information.
4. The automatic modeling method for substation gateway forwarding information according to claim 2 is characterized in that: Keywords are extracted from the actual device monitoring information and matched with the keywords corresponding to the device monitoring information in the monitoring information weight model, and the keyword weights corresponding to the keywords that successfully match the same device monitoring information in the monitoring information weight model are added. When the addition result is greater than the second set threshold, the actual device monitoring information corresponding to each successfully matched keyword is filled in the device monitoring information corresponding to the forwarding information standard model to form a forwarding information engineering model.
5. The automatic modeling method for substation gateway forwarding information according to claim 1 is characterized in that: The step 3) is to obtain a two-dimensional structure forwarding table by serializing the forwarding information engineering instance model and forwarding the table. The two-dimensional structure forwarding table includes a forwarding sequence number and a corresponding forwarding information description.
6. The automatic modeling method for substation gateway forwarding information according to claim 5 is characterized in that: When there is information in the two-dimensional structure forwarding table that fails to match the keyword weight model or the monitoring information weight model or is not in the specification but is actually needed, the two-dimensional structure forwarding table will be filled in through manual supplementation.
7. The method for automatically modeling substation gateway forwarding information according to claim 6, characterized in that: After the two-dimensional structure transfer table is filled in manually, the keywords, sub-keywords and sub-keyword weights in the keyword weight model and / or the keywords and keyword weights in the monitoring information weight model are modified according to the filled content.
8. A computer device, characterized in that: The device includes a processor, and the processor is used to run a computer program to implement the method for automatically modeling substation gateway forwarding information as described in any one of claims 1 to 5.
9. A computer storage medium, characterized in that The computer storage medium stores a computer program to implement the method for automatically modeling substation gateway forwarding information as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Model file automatic creation method and device, storage medium and electronic equipment
CN118733534A