A method and system for matching virtual and physical loops in the process layer of an intelligent substation
By creating virtual and real loop datasets, utilizing link state association signals and network identifiers, and employing a virtual-real loop association algorithm, automatic association and matching of virtual and real loops at the process layer of intelligent substations was achieved. This solved the problems of large workload and difficulty in ensuring accuracy in existing technologies, and improved work efficiency and accuracy.
Patent Information
- Application Number
- CN202310730235.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-19
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-06-19
AI Technical Summary
In existing technologies, the method for matching virtual and physical loops in the process layer of intelligent substations has the problems of large workload and difficulty in ensuring accuracy. In particular, the association between physical loops and message blocks requires manual configuration, which makes the work complicated and prone to errors.
By creating process-level virtual loop datasets and real loop datasets, and using virtual loop link status association signals and real loop network identifiers as key parameters, a virtual-real loop association matching algorithm is adopted to achieve automatic association matching between virtual loops and real loops published by the device, thereby reducing the amount of on-site engineering work.
It realizes automatic association and matching of virtual and physical circuits in the process layer of intelligent substations, improves work efficiency and quality, covers multiple circuit modes and communication scenarios, and supports visual monitoring of virtual and physical circuits and accurate location of defects.
Smart Images

Figure CN117200428B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of intelligent operation and maintenance technology for substations, and relates to a method and system for matching virtual and real circuits in the process layer of intelligent substations. Background Technology
[0002] The secondary circuits of smart substations primarily rely on fiber optics and networks. The entire secondary system is based on the substation's SCD model, and traditional terminals have been replaced by "virtual terminals." For secondary maintenance personnel, the visible secondary cables have become invisible virtual secondary circuits, turning the smart substation's secondary circuits into a "black box." To improve the efficiency of smart substation operation and maintenance, substation monitoring and intelligent operation and maintenance systems have implemented visualized monitoring and intelligent diagnostic functions for virtual and physical circuits at the substation process layer. However, due to the current lack of standardization in substation models, implementing visualized monitoring and intelligent diagnostic functions for virtual and physical circuits at the substation process layer requires significant engineering configuration work. In particular, there is a lack of efficient, labor-saving, and accurate methods for matching virtual and physical circuit associations. Manual configuration is often necessary, as it is not only labor-intensive but also lacks accuracy.
[0003] Existing technical document 1 (CN108551401A, Virtual-Real Circuit Association Mapping and Diagnostic Method for Intelligent Substation Virtual-Real Diagnostic System) discloses a virtual-real circuit association mapping and diagnostic method for an intelligent substation virtual-real diagnostic system. It includes a process-level virtual-real circuit association mapping method and a process-level virtual-real circuit diagnostic method. The process-level virtual-real circuit association mapping method includes: 1. Establishing a real circuit model; 2. Establishing the association relationship between the real circuit and message blocks, i.e., specifying the sending port and receiving port, and the APPID of the sent or received message block; 3. Establishing the association relationship between the port and the virtual circuit disconnection alarm signal, port power, and port status alarm signal; 4. Storing the above-configured association relationship in a secondary operation and maintenance model file; 5. Parsing the SCD model and the secondary operation and maintenance model, and storing the model association relationship in a database; thus establishing the association relationship between the real circuit and the virtual link. The shortcoming of the existing technical document 1 is that after establishing the real loop model, the association mapping method of virtual and real loops in the process layer requires further establishment of the association relationship between the real loop and the message block, that is, to clarify the sending port and receiving port, and the APPID of the message block sent or received. However, under the current technical conditions, this association relationship needs to be established manually. The association relationship configuration work is complex, error-prone and has a huge workload.
[0004] Prior art document 2 (CN113722883A, A Method for Fault Location of Secondary Circuits in Intelligent Substations) discloses a method for fault location of secondary circuits in intelligent substations. It proposes that when a secondary circuit fault occurs, a multi-branch tree algorithm is used to calculate the mapping relationship between virtual and real circuits. Step 30 involves calculating the mapping relationship between virtual and real circuits; step 31 involves using the multi-branch tree algorithm to calculate the real circuit information traversed by the virtual circuit; and step 32 involves, after calculating all secondary virtual circuits in the entire substation, reverse-engineering all virtual circuits flowing through the physical ports and optical fibers. The shortcoming of prior art document 2 is that it only discloses the use of the multi-branch tree algorithm to calculate the real circuit information traversed by the virtual circuit, without disclosing more methods for associating virtual and real circuits. Although the multi-branch tree algorithm can find two connected devices, without the assistance of other undisclosed methods, it is difficult to automatically calculate a completely correct mapping relationship between virtual and real circuits.
[0005] To address the aforementioned issues, this invention utilizes parameters common to both virtual and physical loops at the process layer. It employs virtual loop link status association signals and physical loop network identifiers as key parameters for association matching, eliminating the need for additional explicit and time-consuming association configuration parameters for virtual and physical loops. This achieves automatic association matching of virtual and physical loops at the process layer, reducing on-site engineering workload and improving work efficiency and quality. Furthermore, it covers various loop modes for fiber optic physical loops, including two-core total loops, return loops, and transmission loops. It is applicable to various application scenarios, including dual-network communication and point-to-point communication, supporting visualized monitoring and precise defect location of virtual and physical loops at the process layer in intelligent substations. Summary of the Invention
[0006] To address the shortcomings of existing technologies, this invention provides a method and system for matching virtual and physical circuits at the process layer of an intelligent substation. By creating a process layer virtual circuit dataset, a process layer physical circuit dataset, a device virtual circuit publishing association dataset, a device virtual circuit subscription association dataset, and a device physical circuit association dataset, and based on key parameters of the virtual and physical circuits, a virtual and physical circuit association matching algorithm is used to achieve the association matching of device publishing virtual circuits with physical circuits, device subscription virtual circuits with physical circuits, and device physical circuits with virtual circuits.
[0007] To achieve the above objectives, the present invention adopts the following technical solution.
[0008] The first aspect of this invention relates to a method for matching virtual and real circuit associations at the process layer of an intelligent substation, comprising the following steps:
[0009] Step 10: Extract the process layer virtual loop attribute set from the intelligent substation SCD model to create a process layer virtual loop dataset, and extract the process layer real loop attribute set to create a process layer real loop dataset.
[0010] Step 20: Set the link state association signal of the process layer virtual loop attribute set to the link loss alarm signal for the subscription device receiving process layer control block messages;
[0011] Step 30: Retrieve all published virtual loop datasets of a device from the process layer virtual loop dataset in order from top to bottom to create a device virtual loop publication association dataset; retrieve all subscribed virtual loop datasets of the device to create a device virtual loop subscription association dataset.
[0012] Step 40: Execute the virtual-real loop association matching algorithm to obtain the real loops associated with the virtual loops in the device virtual loop published association dataset and the real loops associated with the virtual loops in the device virtual loop subscribed association dataset, and create a device real loop association dataset.
[0013] Step 50: The next device association matching proceeds to step 30, and continues until all device process layer virtual and physical circuits in the smart substation have been associated and matched, at which point the process ends.
[0014] The present invention further includes the following preferred embodiments:
[0015] Preferably, in step 10, the process layer virtual loop dataset consists of a virtual loop attribute set, and the process layer virtual loop dataset is defined as V = {v1, v2, ..., v...} n The virtual loop attribute set includes at least the virtual loop ID, publishing device ID, publishing device name, publishing virtual terminal name, publishing virtual terminal model reference, subscribing device ID, subscribing device name, subscribing virtual terminal name, subscribing virtual terminal model reference, process layer message control block model reference, A network link status association signal, B network link status association signal, and C network link status association signal; the virtual loop attribute set is defined as X = {x1, x2, ..., x...} n}, x1 is named Virtual Circuit ID, x2 is named Publishing Device ID, x3 is named Publishing Device Name, x4 is named Publishing Virtual Terminal Name, x5 is named Publishing Virtual Terminal Model Parameter, x6 is named Subscribing Device ID, x7 is named Subscribing Device Name, x8 is named Subscribing Virtual Terminal Name, x9 is named Subscribing Virtual Terminal Model Parameter, x 10 The attribute name is process layer message control block model parameter, x 11 The attribute name is A network link status associated signal, x 12 The attribute name is B network link state association signal, x 13 The attribute name is C-network link state association signal; the j-th attribute value of the i-th virtual loop data instance in the process layer virtual loop dataset is represented as x. j (v i );
[0016] The virtual loop ID is an automatically assigned unique virtual loop number that can be used as a retrieval key for the process layer virtual loop dataset.
[0017] The publishing device ID and the subscription device ID are unique device numbers automatically assigned when extracting IED data from the SCD model.
[0018] The A-network link status association signal is a key parameter for the virtual-physical loop association configuration. The association signal is used to identify that the virtual loop passes through the A-network fiber optic physical loop, and the non-association signal is used to identify that the virtual loop does not pass through the A-network fiber optic physical loop. The A-network fiber optic physical loop is the fiber optic physical loop used for A-network communication in the dual-network networking communication mode of the device.
[0019] The B-network link status association signal is a key parameter for the virtual-physical loop association configuration. The association signal is used to identify that the virtual loop passes through the B-network optical fiber physical loop, and the non-association signal is used to identify that the virtual loop does not pass through the B-network optical fiber physical loop. The B-network optical fiber physical loop is the optical fiber physical loop used for B-network communication in the dual-network networking communication mode of the device.
[0020] The C-network link status association signal is a key parameter for the virtual-physical loop association configuration. The association signal is used to identify that the virtual loop passes through the C-network optical fiber physical loop, and the non-association signal is used to identify that the virtual loop does not pass through the C-network optical fiber physical loop. The C-network optical fiber physical loop is the optical fiber physical loop used for point-to-point communication in the device's point-to-point communication mode.
[0021] Preferably, in step 10, the process-layer real loop dataset consists of a real loop attribute set, and the process-layer real loop dataset is defined as R = {r1, r2, ..., r...} n The real loop attribute set includes at least the real loop ID, local device ID, local device name, local device type, local port number, local port name, peer device ID, peer device name, peer device type, peer port number, peer port name, and network identifier; the real loop attribute set is defined as Y = {y1, y2, ..., y...} n}, y1 is named Real Loop ID, y2 is named Local Device ID, y3 is named Local Device Name, y4 is named Local Device Type, y5 is named Local Port Number, y6 is named Local Port Name, y7 is named Peer Device ID, y8 is named Peer Device Name, y9 is named Peer Device Type, y 10 The attribute name is the peer port number, y 11 The attribute name is the peer port name, y 12 The attribute name is the network identifier; the j-th attribute value of the i-th real loop data instance in the process layer real loop dataset is represented as y. j (r i );
[0022] The real loop ID is an automatically assigned, unique fiber optic real loop number, which can be used as a retrieval key value for the process layer real loop dataset.
[0023] The local device ID and the peer device ID are unique device numbers automatically assigned when extracting IED data from the SCD model; if the device is not modeled in the SCD model, such as when the switch is not modeled, the device number is set to an invalid value of -1.
[0024] The types of local and remote equipment include at least devices and switches;
[0025] The network identifier is a key parameter in the virtual-physical loop association configuration, representing the network characteristics of the optical fiber physical loop, including A network total, A network receive, A network transmit, B network total, B network receive, B network transmit, C network total, C network receive, and C network transmit.
[0026] The term "A network total" indicates that the A network optical fiber physical circuit does not have separate transmit and receive cores, representing the total circuit of the A network optical fiber physical circuit; "A network receive" indicates that the A network optical fiber physical circuit has separate transmit and receive cores, representing the return circuit of the A network optical fiber physical circuit; "A network transmit" indicates that the A network optical fiber physical circuit has separate transmit and receive cores, representing the transmit circuit of the A network optical fiber physical circuit.
[0027] The term "B network total" indicates that the B network optical fiber physical circuit does not have separate transmit and receive cores, representing the total circuit of the B network optical fiber physical circuit; "B network receive" indicates that the B network optical fiber physical circuit has separate transmit and receive cores, representing the receive circuit of the B network optical fiber physical circuit; "B network transmit" indicates that the B network optical fiber physical circuit has separate transmit and receive cores, representing the transmit circuit of the B network optical fiber physical circuit.
[0028] The term "C-network total" indicates that the C-network optical fiber physical loop does not have separate transmit and receive cores, representing the total loop of the C-network optical fiber physical loop; "C-network receive" indicates that the C-network optical fiber physical loop has separate transmit and receive cores, representing the return loop of the C-network optical fiber physical loop; "C-network transmit" indicates that the C-network optical fiber physical loop has separate transmit and receive cores, representing the transmit loop of the C-network optical fiber physical loop.
[0029] If the SCD model does not model the process layer fiber optic port connections, the process layer real loop dataset is constructed after modeling using an independent process layer fiber optic port connection modeling tool.
[0030] Preferably, in step 20, according to the design of the process layer communication optical fiber network, the A network link status association signal, B network link status association signal, and C network link status association signal of the virtual loop attribute set of the actual communication network of the automatic or manual association device are the A network disconnection alarm signal, the B network disconnection alarm signal, and the C network disconnection alarm signal received by the subscription device from the process layer control block message. The link status association signal corresponding to the network where the virtual loop does not communicate is not associated.
[0031] Preferably, in step 30, the device virtual loop publication association dataset is composed of the device virtual loop publication association attribute set, and the device virtual loop publication association dataset is defined as P = {p1, p2, ..., p...} n The virtual circuit publishing association attribute set includes a virtual circuit ID and an associated real circuit container; the virtual circuit publishing association attribute set is defined as E = {e1, e2}, where the attribute name of e1 is the virtual circuit ID and the attribute name of e2 is the associated real circuit container; the associated real circuit container is used to store several real circuit IDs; the real circuit ID is the corresponding real circuit ID attribute value y1(r) of the virtual circuit whose virtual circuit ID needs to be obtained through the virtual-real circuit association matching algorithm and transmitted via optical fiber real circuit communication. i );
[0032] The device virtual loop subscription association dataset is composed of the device's virtual loop subscription association attribute set, and the device virtual loop subscription association dataset is defined as S = {s1, s2, ..., s...} n The virtual circuit subscription associated attribute set includes a virtual circuit ID and an associated real circuit container; the virtual circuit subscription associated attribute set is defined as F = {f1, f2}, where the attribute name of f1 is the virtual circuit ID and the attribute name of f2 is the associated real circuit container; the associated real circuit container is used to store several real circuit IDs; the real circuit ID is the corresponding real circuit ID attribute value y1(r) transmitted via optical fiber real circuit communication for the virtual circuit whose virtual circuit ID needs to be obtained through the virtual-real circuit association matching algorithm. j ).
[0033] Preferably, in step 40, the virtual-real loop association matching algorithm includes the following steps:
[0034] Step 41: Process the virtual loop published association dataset P from top to bottom in the order of virtual loop published association attribute set p. i According to p i The virtual circuit ID attribute value e1(p i The virtual circuit attribute set v corresponding to the virtual circuit is obtained by retrieving the virtual circuit dataset V of the process layer through key-value retrieval. i ;
[0035] Step 42: When step 41 processes the first virtual loop publishing associated attribute set p1, proceed directly to step 43; when step 41 processes the second and subsequent virtual loops publishing associated attribute sets p... i By logically determining condition x6(v) i )=x6(v i-1 ANDx 10 (v i )=x 10 (v i-1If established, it confirms that the current virtual loop and the previously processed virtual loop communicate via the same optical fiber physical loop, and executes e2(p i )=e2(p i-1 The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop publication association dataset P has another virtual loop, then jump to step 41. If this virtual loop is the last virtual loop, then jump to step 45. Otherwise, continue to step 43.
[0036] Step 43: Based on the virtual circuit attribute set v i A network link status associated signal attribute value x 11 (v i If valid, it determines that the virtual loop passes through fiber optic networks A and B, and includes the associated signal attribute value x of the link state. 11 (v i If valid, it determines that the virtual loop passes through fiber optic networks B and C, and includes the link status associated signal attribute value x. 11 (v i If valid, it is determined that the fiber optic network traversed by the virtual loop includes a C network; then, based on the virtual loop attribute set v... i The value of the publishing device ID attribute x2 (v i ) and Subscription Device ID attribute value x6 (v i By employing a real loop port path scanning strategy, the real loop dataset R of the process layer is scanned to obtain the real loop ID attribute value y1(r) of the real loop attribute set of all fiber optic real loops that conform to the network identifier correspondence from the publishing device to the subscribing device in this virtual loop. i Load the associated attribute set p into the virtual circuit. i The associated real loop container attribute value e2(p i )middle;
[0037] Step 44: If the device virtual loop publishes an associated dataset P with another virtual loop, then jump to step 41; if this virtual loop is the last virtual loop, then continue to step 45.
[0038] Step 45: Process one virtual loop subscription association attribute set s from the virtual loop subscription association dataset S in a top-down order. i According to s i The virtual circuit ID attribute value f1(s) i The virtual circuit attribute set v corresponding to the virtual circuit is obtained by retrieving the virtual circuit dataset V of the process layer through key-value retrieval. j ;
[0039] Step 46: When step 45 processes the first virtual loop subscription associated attribute set s1, proceed directly to step 47; when step 45 processes the second and subsequent virtual loop subscription associated attribute sets s1...i By logically determining the condition x2(v) j )=x2(v j-1 ANDx 10 (v j )=x 10 (v j-1 Once established, it is determined that the current virtual loop and the previously processed virtual loop communicate via the same optical fiber physical loop, and f2(s) is executed. i )=f2(s i-1 The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop subscription associated dataset S has another virtual loop, then jump to step 45. If this virtual loop is the last virtual loop, then jump to step 410. Otherwise, continue to step 47.
[0040] Step 47: If the physical optical fiber loop of the device does not have separate transmit and receive cores and adopts the overall loop mode, when the virtual loop v subscribed by the device... j The publishing device and the virtual loop v published by the device i When the two devices are the same, that is, when the two devices are each other's publishers and subscribers, execute f2(s) i )=e2(p i The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop subscription associated dataset S has another virtual loop, then jump to step 45. If this virtual loop is the last virtual loop, then jump to step 410. Otherwise, continue to step 48.
[0041] Step 48: Based on the virtual circuit attribute set v i A network link status associated signal attribute value x 11 (v j If valid, it determines that the virtual loop passes through fiber optic networks A and B, and includes the associated signal attribute value x of the link state. 11 (v j If valid, it determines that the virtual loop passes through fiber optic networks B and C, and includes the link status associated signal attribute value x. 11 (v j If valid, it is determined that the fiber optic network traversed by the virtual loop includes a C network; then, based on the virtual loop attribute set v... i The value of the publishing device ID attribute x2 (v j ) and Subscription Device ID attribute value x6 (v j By employing a real loop port path scanning strategy, the real loop dataset R of the process layer is scanned to obtain the real loop ID attribute value y1(r) of the real loop attribute set of all fiber optic real loops that conform to the network identifier correspondence from the publishing device to the subscribing device in this virtual loop. j Loading into the virtual circuit subscription associated property set si The associated real loop container attribute value f2(s) i )middle;
[0042] Step 49: If the virtual loop of the device subscribes to the associated dataset S and there is another virtual loop, then jump to step 45; if this virtual loop is the last virtual loop, then continue to step 410.
[0043] Step 410: Finally, analyze the published association dataset P of the device virtual loop and the subscribed association dataset S of the device virtual loop to create the device real loop association dataset; the device real loop association dataset is composed of the device's real loop association attribute set, and the device real loop association dataset is defined as T = {t1, t2, ..., t...} n The real-loop association attribute set includes a real-loop ID, an associated publishing virtual loop container, and an associated subscribing virtual loop container; the real-loop ID can be used as the retrieval key value of the device's real-loop association dataset; the real-loop association attribute set is defined as G = {g1, g2, g3}, where g1 is the real-loop ID, g2 is the associated publishing virtual loop container, and g3 is the associated subscribing virtual loop container; the real-loop association attribute set t i The real loop ID attribute value g1(t) i ) originates from e2(p i f2(s) and f2(s) i Furthermore, duplicate filtering is required; analyze the virtual loop publication association dataset P of the device, and assign the e1(p) of the virtual loop publication association attribute set of the device to the dataset. i The attribute values are loaded into the real loop associated attribute set t. i The associated publication of virtual loop container attribute value g2(t) i g2(t) i When ) is empty, it indicates that the device's real loop has no associated virtual loop; analyze the device's virtual loop subscription association dataset S, and set the device's virtual loop subscription association attribute set f1(s) to f1(s). i The attribute values are loaded into the real loop associated attribute set t. i The associated subscription virtual loop container property value g3(t) i ), g3(t i When ) is empty, it indicates that the real circuit of the device has no associated virtual circuit.
[0044] Preferably, in step 43, the real loop port path scanning strategy includes the following steps:
[0045] 1) Start scanning from the real loop port of the publishing device as the starting path, using the virtual loop attribute set v i The value of the publishing device ID attribute x2 (v iThe process layer real loop dataset R is scanned from top to bottom to identify any real loop attribute sets y1(r) that have not been associated with or matched. i ) or y7(r i ) attribute values, find the real loop attribute set r of the fiber optic real loop of the publishing device. i Continue to step 2), otherwise skip to step 6.
[0046] 2) Based on the real circuit attribute set r i It determines whether the publishing device is a local or remote device in a real loop. If it is a local device, it determines the remote device type attribute value y9(r). i If the peer device determines the local device type attribute value y4(r), then the local device type attribute value is used. i To determine whether the device opposite the fiber optic real loop port of the publishing device is a device or a switch;
[0047] 3) When the device on the opposite side of the optical fiber real loop port of the publishing device is a device, it indicates that the optical fiber real loops of the two devices are connected point-to-point, and the virtual loop attribute set v is determined. i The subscription device ID attribute value x6 (v i ) and the peer device ID attribute value y7(r i (When the publishing device is a local device in a real loop) or the local device ID attribute value y1(r i (When the publishing device is the peer device of the real loop) equals, records the real loop attribute set r of the optical fiber. i If the real loop scanning container is reached, continue to step 4); otherwise, jump to step 5. When the device opposite the real loop port of the publishing device is a switch, it indicates that the real loops of the two devices are connected through a network via the switch, and records the real loop attribute set r of the optical fiber. i Upon reaching the real loop scanning container, a) continue scanning the device type of the opposite fiber optic real loop ports of other fiber optic real loop ports of the switch. If the device of the opposite fiber optic real loop port of the other fiber optic real loop ports of the switch is a device, determine the virtual loop attribute set v. i The subscription device ID attribute value x6 (v i ) and the peer device ID attribute value y7(r j (When the subscription device is the peer device of a real loop) or the local device ID attribute value y1(r j (When the subscription device is the local end device of the real loop) equals, recording the real loop attribute set r of the optical fiber. jUpon reaching the real loop scanning container, proceed to step 4). If it is the last other fiber optic real loop port of the aforementioned switch and there is a cascaded switch at the next higher level, proceed to a) to continue scanning the next other fiber optic real loop port of the previous higher level switch. If it is the last other fiber optic real loop port of the aforementioned switch and there is no cascaded switch at the next higher level, proceed to step 5). Otherwise, proceed to a) to continue scanning the next other fiber optic real loop port of the aforementioned switch. When the device on the opposite side of the other fiber optic real loop port of the aforementioned switch is a switch, it indicates that the fiber optic real loops of the two devices are connected through a cascaded network of switches, and the real loop attribute set r of the fiber optic is temporarily recorded. j (In subsequent determination that the cascaded fiber optic physical loop is a virtual loop attribute set v) i The virtual loop is recorded in the real loop of the fiber after passing through it, and this is used to determine whether the cascaded fiber real loop is a virtual loop attribute set v. i After discarding the temporary record after the virtual loop passes through the fiber optic real loop, jump to a) to continue scanning other fiber optic real loop ports of the switch;
[0048] 4) Further determine the attribute set r of the real circuit i Network identifier attribute value y 12 (r i The network identifier is the total time of network A, and the virtual loop attribute set v i x 11 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i ); When the network identifier is A network, the virtual loop attribute set v i x 11 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i ); The network identifier is the total time of network B, and the virtual loop attribute set v i x 12 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. iThe real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the virtual loop attribute set v when network B is established. i x 12 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the total time of the C network, and the virtual loop attribute set v i x 13 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the virtual loop attribute set v when the C network is established. i x 13 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i );
[0049] 5) Scan to the last real loop attribute set r of the process layer real loop dataset R. n If yes, continue to step 6); otherwise, go to step 1.
[0050] 6) The real loop port path scan of this publishing device has ended.
[0051] Preferably, in step 48, the real loop port path scanning strategy is basically the same as the real loop port path scanning strategy executed in step 43. The main difference is that when processing network identifiers, step 43 processes the virtual loop publishing association dataset P of the device, which requires determining whether the network identifiers of the two optical fiber cores are A network, B network, and C network for virtual loop association matching. In contrast, step 47 processes the virtual loop subscribing association dataset S of the device, which requires determining whether the network identifiers of the two optical fiber cores are A network, B network, and C network for virtual loop association matching. Step 4) of the real loop port path scanning strategy executed in step 43 needs to be modified to: further determine the real loop attribute set r. i Network identifier attribute value y 12 (r i The network identifier is the total time of network A, and the virtual loop attribute set v i x 11 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i When the network identifier is A network, the virtual loop attribute set v i x 11 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i ); The network identifier is the total time of network B, and the virtual loop attribute set v i x 12 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i ); When the network identifier is received by network B, the virtual loop attribute set v i x12 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the total time of the C network, and the virtual loop attribute set v i x 13 (v i The attribute value is valid. Step 473 scans the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the virtual loop attribute set v when receiving data from the C network. i x 13 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i ).
[0052] A second aspect of this invention relates to a process-layer virtual-physical loop association and matching system for intelligent substations. This system implements the steps of the process-layer virtual-physical loop association and matching method for intelligent substations according to the first aspect of this invention. The system includes a process-layer virtual loop dataset management module, a process-layer physical loop dataset management module, a process-layer virtual loop network link status association module, a device virtual loop publishing association dataset management module, a device virtual loop subscribing association dataset management module, a device physical loop association dataset management module, and a virtual-physical loop association and matching algorithm module. The process-layer virtual loop dataset management module is responsible for extracting process-layer virtual loop attribute sets from the SCD model to create process-layer virtual loop datasets, and provides key-value retrieval and read / write functions for the process-layer virtual loop datasets. The process-layer physical loop dataset management module is responsible for extracting process-layer virtual loop attribute sets from the SCD model or other process-layer fiber optic port models to create process-layer physical loop datasets, and provides key-value retrieval and read / write functions for the process-layer physical loop datasets. The process-layer virtual loop network link status association module is responsible for automatically or manually associating and setting subscribing devices. The system receives link loss alarm signals from process layer control block messages and associates A-network link status, B-network link status, and C-network link status with the process layer virtual circuit attribute set. The device virtual circuit publishing association dataset management module retrieves device-published virtual circuits from the process layer virtual circuit dataset, creating a device virtual circuit publishing association dataset and providing read / write functionality for the virtual circuit publishing association attribute set. The device virtual circuit subscription association dataset management module retrieves device-subscribed virtual circuits from the process layer virtual circuit dataset, creating a device virtual circuit subscription association dataset and providing read / write functionality for the virtual circuit subscription association attribute set. The device real circuit association dataset management module creates a device real circuit association dataset, providing key-value retrieval functionality and read / write functionality for the real circuit association attribute set. The virtual-real circuit association matching algorithm module uses the virtual-real circuit association matching algorithm to associate and match all fiber optic real circuits traversed by device-published virtual circuits into the device virtual circuit publishing association dataset, and associates and matches all fiber optic real circuits traversed by device-subscribed virtual circuits into the device virtual circuit subscription association dataset, and sorts out the real circuit-virtual circuit relationships to create a device real circuit association dataset.
[0053] The beneficial effects of this invention are that, compared with the prior art, this invention is based on the parameters common to both virtual and real loops in the process layer, and uses the virtual loop link status association signal and the real loop network identifier as key parameters for association matching. It does not require additional explicit time-consuming association configuration parameters for virtual and real loops, and realizes automatic association matching of virtual and real loops in the process layer. This can reduce the workload of on-site engineering, improve work efficiency and quality, and cover multiple loop modes of application, including two-core total loop, return loop and transmission loop of optical fiber real loop. It is applicable to various application scenarios such as dual-network networking communication and point-to-point communication of devices, and supports the visual monitoring of virtual and real loops in the process layer of intelligent substations and the accurate location of defects. Attached Figure Description
[0054] Figure 1 This is a schematic diagram of the dual-network total circuit of a method for matching virtual and real circuits in the process layer of an intelligent substation according to the present invention.
[0055] Figure 2 This is a schematic diagram of the point-to-point and single-network optical fiber total circuit of a virtual-real circuit association matching method for the process layer of an intelligent substation according to the present invention.
[0056] Figure 3 This is a schematic diagram of a point-to-point and single-network fiber optic transceiver dual-core method for the virtual-real loop association matching method of the process layer in an intelligent substation according to the present invention.
[0057] Figure 4 This is a schematic diagram of a smart substation process layer virtual-real loop association matching system according to the present invention. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of this invention. The embodiments described in this application are merely some embodiments of this invention, and not all embodiments. Based on the spirit of this invention, other embodiments obtained by those skilled in the art without creative effort are all within the protection scope of this invention.
[0059] like Figure 1 , Figure 2 , Figure 3 As shown, the first aspect of the present invention relates to a method for matching virtual and real circuit associations at the process layer of an intelligent substation, comprising the following steps:
[0060] Step 10: Extract the process layer virtual loop attribute set from the intelligent substation SCD model to create a process layer virtual loop dataset, and extract the process layer real loop attribute set to create a process layer real loop dataset.
[0061] Step 20: Set the link state association signal of the process layer virtual loop attribute set to the link loss alarm signal for the subscription device receiving process layer control block messages;
[0062] Step 30: Retrieve all published virtual loop datasets of a device from the process layer virtual loop dataset in order from top to bottom to create a device virtual loop publication association dataset; retrieve all subscribed virtual loop datasets of the device to create a device virtual loop subscription association dataset.
[0063] Step 40: Execute the virtual-real loop association matching algorithm to obtain the real loops associated with the virtual loops in the device virtual loop published association dataset and the real loops associated with the virtual loops in the device virtual loop subscribed association dataset, and create a device real loop association dataset.
[0064] Step 50: The next device association matching proceeds to step 30, and continues until all device process layer virtual and physical circuits in the smart substation have been associated and matched, at which point the process ends.
[0065] The device is a device in which a smart substation establishes a virtual loop publishing and subscription relationship, including but not limited to relay protection devices, measurement and control devices, integrated measurement and protection devices, smart terminal devices, and merging unit devices.
[0066] In step 10, the process layer virtual loop dataset consists of a virtual loop attribute set, and the process layer virtual loop dataset is defined as V = {v1, v2, ..., v...} n The virtual loop attribute set includes at least the virtual loop ID, publishing device ID, publishing device name, publishing virtual terminal name, publishing virtual terminal model reference, subscribing device ID, subscribing device name, subscribing virtual terminal name, subscribing virtual terminal model reference, process layer message control block model reference, A network link status association signal, B network link status association signal, and C network link status association signal; the virtual loop attribute set is defined as X = {x1, x2, ..., x...} n}, x1 is named Virtual Circuit ID, x2 is named Publishing Device ID, x3 is named Publishing Device Name, x4 is named Publishing Virtual Terminal Name, x5 is named Publishing Virtual Terminal Model Parameter, x6 is named Subscribing Device ID, x7 is named Subscribing Device Name, x8 is named Subscribing Virtual Terminal Name, x9 is named Subscribing Virtual Terminal Model Parameter, x 10 The attribute name is process layer message control block model parameter, x 11 The attribute name is A network link status associated signal, x 12 The attribute name is B network link state association signal, x 13 The attribute name is C-network link state association signal; the j-th attribute value of the i-th virtual loop data instance in the process layer virtual loop dataset is represented as x. j (v iThe virtual loop ID is an automatically assigned unique virtual loop number, which can be used as a retrieval key for the process layer virtual loop dataset; the publishing device ID and subscribing device ID are automatically assigned unique device numbers when extracting IED data from the SCD model; the A-network link status association signal is a key parameter for the virtual-physical loop association configuration. The association signal is used to identify that the virtual loop passes through the A-network fiber optic physical loop, and the non-association signal is used to identify that the virtual loop does not pass through the A-network fiber optic physical loop; the A-network fiber optic physical loop is the fiber optic physical loop used for A-network communication in the device dual-network networking communication mode; the B-network link status... The association signal is a key parameter in the virtual-physical loop association configuration. The association signal identifies a virtual loop that passes through a B-network fiber optic physical loop, while the non-association signal identifies a virtual loop that does not pass through a B-network fiber optic physical loop. The B-network fiber optic physical loop is the fiber optic physical loop used for B-network communication in the device's dual-network networking communication mode. The C-network link status association signal is also a key parameter in the virtual-physical loop association configuration. The association signal identifies a virtual loop that passes through a C-network fiber optic physical loop, while the non-association signal identifies a virtual loop that does not pass through a C-network fiber optic physical loop. The C-network fiber optic physical loop is the fiber optic physical loop used for point-to-point communication in the device's point-to-point communication mode.
[0067] The process-level communication network of a smart substation includes dual-network communication mode and point-to-point communication mode, typically using various combinations. In this embodiment, network A is a communication network composed of the A network ports of all devices; network B is a communication network composed of the B network ports of all devices; and network C is a communication network where the C network ports of one device are directly connected point-to-point to the C network ports of another device. All point-to-point directly connected network ports of a device can be defined as C network ports, and all directly connected communication networks can be defined as C networks. The process-level communication networks applicable to this embodiment include, but are not limited to, A / B network dual-network communication mode, A network communication mode + C network point-to-point communication mode, and A / B network dual-network communication mode + C network point-to-point communication mode (for certain special devices).
[0068] In step 10, the process layer real loop dataset consists of a real loop attribute set, and the process layer real loop dataset is defined as R = {r1, r2, ..., r...} n The real loop attribute set includes at least the real loop ID, local device ID, local device name, local device type, local port number, local port name, peer device ID, peer device name, peer device type, peer port number, peer port name, and network identifier; the real loop attribute set is defined as Y = {y1, y2, ..., y...} n}, y1 is named Real Loop ID, y2 is named Local Device ID, y3 is named Local Device Name, y4 is named Local Device Type, y5 is named Local Port Number, y6 is named Local Port Name, y7 is named Peer Device ID, y8 is named Peer Device Name, y9 is named Peer Device Type, y 10 The attribute name is the peer port number, y 11 The attribute name is the peer port name, y 12 The attribute name is the network identifier; the j-th attribute value of the i-th real loop data instance in the process layer real loop dataset is represented as y. j (r i The physical loop ID is an automatically assigned unique fiber optic physical loop number, which can be used as a retrieval key value for the process layer physical loop dataset; the local device ID and the peer device ID are unique device numbers automatically assigned when extracting IED data from the SCD model; if the device is not modeled in the SCD model, such as when the switch is not modeled, the device number is set to an invalid value of -1; the types of the local device type and the peer device type include at least device and switch; the network identifier is a key parameter for the virtual-physical loop association configuration, representing the network characteristics of the fiber optic physical loop, including A network total, A network receive, A network transmit, B network total, B network receive, B network transmit, C network total, C network receive, and C network transmit; A network total indicates that the A network fiber optic physical loop does not have separate transmit and receive cores, representing the total loop of the A network fiber optic physical loop; A network receive indicates that the A network fiber optic physical loop has separate transmit and receive cores, representing the return loop of the A network fiber optic physical loop; The terms "A network transmit" and "B network total" refer to the transmission loop of the A network optical fiber real circuit, where the transmission and receive cores are separated. "B network receive" refers to the return loop of the B network optical fiber real circuit, where the transmission and receive cores are separated. "B network transmit" refers to the transmission loop of the B network optical fiber real circuit, where the transmission and receive cores are separated. "C network total" refers to the total loop of the C network optical fiber real circuit, where the transmission and receive cores are separated. "C network receive" refers to the return loop of the C network optical fiber real circuit, where the transmission and receive cores are separated. "C network transmit" refers to the transmission loop of the C network optical fiber real circuit, where the transmission and receive cores are separated. If the SCD model does not model the process layer optical fiber port connections, a separate process layer optical fiber port connection modeling tool is used to model the process layer real circuit dataset.
[0069] In step 20, according to the design of the process layer communication fiber optic network, the A network link status association signal, B network link status association signal, and C network link status association signal of the virtual loop attribute set of the actual communication network of the automatic or manual association device are the A network disconnection alarm signal, B network disconnection alarm signal, and C network disconnection alarm signal received by the subscription device from the process layer control block message. The link status association signal corresponding to the network where the virtual loop does not communicate is not associated.
[0070] In step 30, the device virtual loop publication association dataset is composed of the device virtual loop publication association attribute set, and the device virtual loop publication association dataset is defined as P = {p1, p2, ..., p...} n The virtual circuit publishing association attribute set includes a virtual circuit ID and an associated real circuit container; the virtual circuit publishing association attribute set is defined as E = {e1, e2}, where the attribute name of e1 is the virtual circuit ID and the attribute name of e2 is the associated real circuit container; the associated real circuit container is used to store several real circuit IDs; the real circuit ID is the corresponding real circuit ID attribute value y1(r) of the virtual circuit whose virtual circuit ID needs to be obtained through the virtual-real circuit association matching algorithm and transmitted via optical fiber real circuit communication. i The device virtual loop subscription association dataset is composed of the device's virtual loop subscription association attribute set, and the device virtual loop subscription association dataset is defined as S = {s1, s2, ..., s...}. n The virtual circuit subscription associated attribute set includes a virtual circuit ID and an associated real circuit container; the virtual circuit subscription associated attribute set is defined as F = {f1, f2}, where the attribute name of f1 is the virtual circuit ID and the attribute name of f2 is the associated real circuit container; the associated real circuit container is used to store several real circuit IDs; the real circuit ID is the corresponding real circuit ID attribute value y1(r) transmitted via optical fiber real circuit communication for the virtual circuit whose virtual circuit ID needs to be obtained through the virtual-real circuit association matching algorithm. j ).
[0071] In step 40, the virtual-real loop association matching algorithm includes the following steps:
[0072] Step 41: Process the virtual loop published association dataset P from top to bottom in the order of virtual loop published association attribute set p. i According to p i The virtual circuit ID attribute value e1(p i The virtual circuit attribute set v corresponding to the virtual circuit is obtained by retrieving the virtual circuit dataset V of the process layer through key-value retrieval. i ;
[0073] Step 42: When step 41 processes the first virtual loop publishing associated attribute set p1, proceed directly to step 43; when step 41 processes the second and subsequent virtual loops publishing associated attribute sets p... i By logically determining condition x6(v) i )=x6(v i-1 ANDx 10 (v i )=x 10 (v i-1 If established, it confirms that the current virtual loop and the previously processed virtual loop communicate via the same optical fiber physical loop, and executes e2(p i )=e2(p i-1 The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop publication association dataset P has another virtual loop, then jump to step 41. If this virtual loop is the last virtual loop, then jump to step 45. Otherwise, continue to step 43.
[0074] Step 43: Based on the virtual circuit attribute set v i A network link status associated signal attribute value x 11 (v i If valid, it determines that the virtual loop passes through fiber optic networks A and B, and includes the associated signal attribute value x of the link state. 11 (v i If valid, it determines that the virtual loop passes through fiber optic networks B and C, and includes the link status associated signal attribute value x. 11 (v i If valid, it is determined that the fiber optic network traversed by the virtual loop includes a C network; then, based on the virtual loop attribute set v... i The value of the publishing device ID attribute x2 (v i ) and Subscription Device ID attribute value x6 (v i By employing a real loop port path scanning strategy, the real loop dataset R of the process layer is scanned to obtain the real loop ID attribute value y1(r) of the real loop attribute set of all fiber optic real loops that conform to the network identifier correspondence from the publishing device to the subscribing device in this virtual loop. i Load the associated attribute set p into the virtual circuit. i The associated real loop container attribute value e2(p i )middle;
[0075] Step 44: If the device virtual loop publishes an associated dataset P with another virtual loop, then jump to step 41; if this virtual loop is the last virtual loop, then continue to step 45.
[0076] Step 45: Process one virtual loop subscription association attribute set s from the virtual loop subscription association dataset S in a top-down order. iAccording to s i The virtual circuit ID attribute value f1(s) i The virtual circuit attribute set v corresponding to the virtual circuit is obtained by retrieving the virtual circuit dataset V of the process layer through key-value retrieval. j ;
[0077] Step 46: When step 45 processes the first virtual loop subscription associated attribute set s1, proceed directly to step 47; when step 45 processes the second and subsequent virtual loop subscription associated attribute sets s1... i By logically determining the condition x2(v) j )=x2(v j-1 ANDx 10 (v j )=x 10 (v j-1 Once established, it is determined that the current virtual loop and the previously processed virtual loop communicate via the same optical fiber physical loop, and f2(s) is executed. i )=f2(s i-1 The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop subscription associated dataset S has another virtual loop, then jump to step 45. If this virtual loop is the last virtual loop, then jump to step 410. Otherwise, continue to step 47.
[0078] Step 47: If the physical optical fiber loop of the device does not have separate transmit and receive cores and adopts the overall loop mode, when the virtual loop v subscribed by the device... j The publishing device and the virtual loop v published by the device i When the two devices are the same, that is, when the two devices are each other's publishers and subscribers, execute f2(s) i )=e2(p i The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop subscription associated dataset S has another virtual loop, then jump to step 45. If this virtual loop is the last virtual loop, then jump to step 410. Otherwise, continue to step 48.
[0079] Step 48: Based on the virtual circuit attribute set v i A network link status associated signal attribute value x 11 (v j If valid, it determines that the virtual loop passes through fiber optic networks A and B, and includes the associated signal attribute value x of the link state. 11 (v j If valid, it determines that the virtual loop passes through fiber optic networks B and C, and includes the link status associated signal attribute value x. 11 (v j If valid, it is determined that the fiber optic network traversed by the virtual loop includes a C network; then, based on the virtual loop attribute set v...i The value of the publishing device ID attribute x2 (v j ) and Subscription Device ID attribute value x6 (v j By employing a real loop port path scanning strategy, the real loop dataset R of the process layer is scanned to obtain the real loop ID attribute value y1(r) of the real loop attribute set of all fiber optic real loops that conform to the network identifier correspondence from the publishing device to the subscribing device in this virtual loop. j Loading into the virtual circuit subscription associated property set s i The associated real loop container attribute value f2(s) i )middle;
[0080] Step 49: If the virtual loop of the device subscribes to the associated dataset S and there is another virtual loop, then jump to step 45; if this virtual loop is the last virtual loop, then continue to step 410.
[0081] Step 410: Finally, analyze the published association dataset P of the device virtual loop and the subscribed association dataset S of the device virtual loop to create the device real loop association dataset; the device real loop association dataset is composed of the device's real loop association attribute set, and the device real loop association dataset is defined as T = {t1, t2, ..., t...} n The real-loop association attribute set includes a real-loop ID, an associated publishing virtual loop container, and an associated subscribing virtual loop container; the real-loop ID can be used as the retrieval key value of the device's real-loop association dataset; the real-loop association attribute set is defined as G = {g1, g2, g3}, where g1 is the real-loop ID, g2 is the associated publishing virtual loop container, and g3 is the associated subscribing virtual loop container; the real-loop association attribute set t i The real loop ID attribute value g1(t) i ) originates from e2(p i f2(s) and f2(s) i Furthermore, duplicate filtering is required; analyze the virtual loop publication association dataset P of the device, and assign the e1(p) of the virtual loop publication association attribute set of the device to the dataset. i The attribute values are loaded into the real loop associated attribute set t. i The associated publication of virtual loop container attribute value g2(t) i g2(t) i When ) is empty, it indicates that the device's real loop has no associated virtual loop; analyze the device's virtual loop subscription association dataset S, and set the device's virtual loop subscription association attribute set f1(s) to f1(s). i The attribute values are loaded into the real loop associated attribute set t. i The associated subscription virtual loop container property value g3(t) i ), g3(t iWhen ) is empty, it indicates that the real circuit of the device has no associated virtual circuit.
[0082] In step 43, the corresponding real-loop port path scanning strategy includes the following steps:
[0083] 1) Start scanning from the real loop port of the publishing device as the starting path, using the virtual loop attribute set v i The value of the publishing device ID attribute x2 (v i The process layer real loop dataset R is scanned from top to bottom to identify any real loop attribute sets y1(r) that have not been associated with or matched. i ) or y7(r i ) attribute values, find the real loop attribute set r of the fiber optic real loop of the publishing device. i Continue to step 2), otherwise skip to step 6.
[0084] 2) Based on the real circuit attribute set r i It determines whether the publishing device is a local or remote device in a real loop. If it is a local device, it determines the remote device type attribute value y9(r). i If the peer device determines the local device type attribute value y4(r), then the local device type attribute value is used. i To determine whether the device opposite the fiber optic real loop port of the publishing device is a device or a switch;
[0085] 3) When the device on the opposite side of the optical fiber real loop port of the publishing device is a device, it indicates that the optical fiber real loops of the two devices are connected point-to-point, and the virtual loop attribute set v is determined. i The subscription device ID attribute value x6 (v i ) and the peer device ID attribute value y7(r i (When the publishing device is a local device in a real loop) or the local device ID attribute value y1(r i (When the publishing device is the peer device of the real loop) equals, records the real loop attribute set r of the optical fiber. i If the real loop scanning container is reached, continue to step 4); otherwise, jump to step 5. When the device opposite the real loop port of the publishing device is a switch, it indicates that the real loops of the two devices are connected through a network via the switch, and records the real loop attribute set r of the optical fiber. i Upon reaching the real loop scanning container, a) continue scanning the device type of the opposite fiber optic real loop ports of other fiber optic real loop ports of the switch. If the device of the opposite fiber optic real loop port of the other fiber optic real loop ports of the switch is a device, determine the virtual loop attribute set v. i The subscription device ID attribute value x6 (v i ) and the peer device ID attribute value y7(r j(When the subscription device is the peer device of a real loop) or the local device ID attribute value y1(r j (When the subscription device is the local end device of the real loop) equals, recording the real loop attribute set r of the optical fiber. j Upon reaching the real loop scanning container, proceed to step 4). If it is the last other fiber optic real loop port of the aforementioned switch and there is a cascaded switch at the next higher level, proceed to a) to continue scanning the next other fiber optic real loop port of the previous higher level switch. If it is the last other fiber optic real loop port of the aforementioned switch and there is no cascaded switch at the next higher level, proceed to step 5). Otherwise, proceed to a) to continue scanning the next other fiber optic real loop port of the aforementioned switch. When the device on the opposite side of the other fiber optic real loop port of the aforementioned switch is a switch, it indicates that the fiber optic real loops of the two devices are connected through a cascaded network of switches, and the real loop attribute set r of the fiber optic is temporarily recorded. j (In subsequent determination that the cascaded fiber optic physical loop is a virtual loop attribute set v) i The virtual loop is recorded in the real loop of the fiber after passing through it, and this is used to determine whether the cascaded fiber real loop is a virtual loop attribute set v. i After discarding the temporary record after the virtual loop passes through the fiber optic real loop, jump to a) to continue scanning other fiber optic real loop ports of the switch;
[0086] 4) Further determine the attribute set r of the real circuit i Network identifier attribute value y 12 (r i The network identifier is the total time of network A, and the virtual loop attribute set v i x 11 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i ); When the network identifier is A network, the virtual loop attribute set v i x 11 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i); The network identifier is the total time of network B, and the virtual loop attribute set v i x 12 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the virtual loop attribute set v when network B is established. i x 12 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the total time of the C network, and the virtual loop attribute set v i x 13 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the virtual loop attribute set v when the C network is established. i x 13 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i );
[0087] 5) Scan to the last real loop attribute set r of the process layer real loop dataset R. n If yes, continue to step 6); otherwise, go to step 1.
[0088] 6) The real loop port path scan of this publishing device has ended.
[0089] In step 48, the real loop port path scanning strategy is basically the same as that executed in step 43. The main difference is that when processing network identifiers, step 43 processes the virtual loop publishing association dataset P of the device, which requires determining whether the network identifiers of the two fiber optic cores are A-network, B-network, and C-network for virtual loop association matching. In contrast, step 47 processes the virtual loop subscribing association dataset S of the device, which requires determining whether the network identifiers of the two fiber optic cores are A-network, B-network, and C-network for virtual loop association matching. Therefore, step 4) of the real loop port path scanning strategy executed in step 43 needs to be modified to further determine the real loop attribute set r. i Network identifier attribute value y 12 (r i The network identifier is the total time of network A, and the virtual loop attribute set v i x 11 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i When the network identifier is A network, the virtual loop attribute set v i x 11 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i ); The network identifier is the total time of network B, and the virtual loop attribute set v i x 12 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(pi ); When the network identifier is received by network B, the virtual loop attribute set v i x 12 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the total time of the C network, and the virtual loop attribute set v i x 13 (v i The attribute value is valid. Step 473 scans the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i The network identifier is the virtual loop attribute set v when receiving data from the C network. i x 13 (v i If the attribute value is valid, step 3) scan the port to obtain the virtual circuit attribute set v. i The real loop scanning container {r} of all optical fibers traversed by the virtual loop i ,r j ...r n All attribute values y1(r) of} k ), where k = i, j, ..., n, loaded into e2(p i ).
[0090] exist Figure 1In this embodiment, an A-network communication mode is adopted, and the network identifier is a two-core optical fiber physical loop total loop. Through a smart substation process layer virtual and physical loop association matching method, the process layer virtual loop dataset V = {v1,v2,v3,v4,v5} and the process layer physical loop dataset R = {r1,r2,r3,r4,r5,r6} are obtained. The virtual and physical loop association matching relationships are as follows: virtual loop v1 and v5 are associated with physical loop {r1,r3,r4,r6}, virtual loop v3 is associated with physical loop {r1,r2,r4,r5}, virtual loop v2 and v4 are associated with physical loop {r2,r3,r5,r6}, physical loop r1 and r4 are associated with virtual loop {v1,v3,v5}, physical loop r2 and r5 are associated with virtual loop {v2,v3,v4}, and physical loop r3 and r6 are associated with virtual loop {v1,v2,v4,v5}.
[0091] exist Figure 2 In this embodiment, an A-network networking communication mode + C-network point-to-point communication mode is adopted, and the network identifier is a two-core optical fiber physical loop total loop. Device IED3 communicates only through C-network point-to-point. The two C-network ports are physically completely different network ports of the device. Through a smart substation process layer virtual and physical loop association matching method, the process layer virtual loop dataset V = {v1,v2,v3,v4,v5} and the process layer physical loop dataset R = {r1,r2,r3,r4} are obtained. The virtual and physical loop association matching relationships are as follows: virtual loops v1 and v3 are associated with physical loop {r1}, virtual loops v2 and v4 are associated with physical loop {r2}, virtual loop v5 is associated with physical loop {r3,r4}, physical loop r1 is associated with virtual loop {v1,v3}, physical loop r2 is associated with virtual loop {v2,v4}, and physical loops r3 and r4 are associated with virtual loop {v5}.
[0092] exist Figure 3In this embodiment, an A-network networking communication mode + C-network point-to-point communication mode is adopted, and the network identifier is a two-core optical fiber physical loop return path + transmission path. Device IED3 communicates only through C-network point-to-point communication. The two C-network ports are physically completely different network ports of the device. Through a smart substation process layer virtual and physical loop association matching method, the process layer virtual loop dataset V = {v1,v2,v3,v4,v5} and the process layer physical loop dataset R = {r1,r2,r3,r4,r5,r6,r7,r8} are obtained. The path association matching relationships are as follows: virtual loop v1 is associated with real loop {r1}, virtual loop v3 is associated with real loop {r2}, virtual loop v2 is associated with real loop {r3}, virtual loop v4 is associated with real loop {r4}, virtual loop v5 is associated with real loop {r5,r8}, real loop r1 is associated with virtual loop {v1}, real loop r2 is associated with virtual loop {v3}, real loop r3 is associated with virtual loop {v2}, real loop r4 is associated with virtual loop {v4}, real loops r5 and r8 are associated with virtual loop {v5}, and real loops r6 and r7 are not associated with virtual loops.
[0093] like Figure 4As shown, in a second aspect, the present invention relates to a process-layer virtual-physical loop association and matching system for intelligent substations. This system is used to implement a process-layer virtual-physical loop association and matching method for intelligent substations according to the first aspect of the present invention. The system includes a process-layer virtual loop dataset management module, a process-layer physical loop dataset management module, a process-layer virtual loop network link status association module, a device virtual loop publishing association dataset management module, a device virtual loop subscribing association dataset management module, a device physical loop association dataset management module, and a virtual-physical loop association matching algorithm module. The process-layer virtual loop dataset management module is responsible for extracting process-layer virtual loop attribute sets from the SCD model to create process-layer virtual loop datasets, and provides key-value retrieval and read / write functions for the process-layer virtual loop datasets. The process-layer physical loop dataset management module is responsible for extracting process-layer virtual loop attribute sets from the SCD model or other process-layer fiber optic port models to create process-layer physical loop datasets, and provides key-value retrieval and read / write functions for the process-layer physical loop datasets. The process-layer virtual loop network link status association module is responsible for automatically or manually associating and setting subscription device connections. The system receives link loss alarm signals from process layer control block messages and associates A-network link status, B-network link status, and C-network link status with the process layer virtual circuit attribute set. The device virtual circuit publishing association dataset management module retrieves device-published virtual circuits from the process layer virtual circuit dataset to create device virtual circuit publishing association datasets, providing read / write functionality for virtual circuit publishing association attribute sets. The device virtual circuit subscription association dataset management module retrieves device-subscribed virtual circuits from the process layer virtual circuit dataset to create device virtual circuit subscription association datasets, providing read / write functionality for virtual circuit subscription association attribute sets. The device real circuit association dataset management module creates device real circuit association datasets, providing key-value retrieval functionality and read / write functionality for real circuit association attribute sets. The virtual-real circuit association matching algorithm module uses the virtual-real circuit association matching algorithm to associate and match all fiber optic real circuits traversed by device-published virtual circuits into the device virtual circuit publishing association dataset, and associates and matches all fiber optic real circuits traversed by device-subscribed virtual circuits into the device virtual circuit subscription association dataset, and sorts out the relationships between real circuits and virtual circuits to create the device real circuit association dataset.
[0094] The beneficial effects of this invention are that, compared with the prior art, this invention is based on the parameters common to both virtual and real loops in the process layer, and uses the virtual loop link status association signal and the real loop network identifier as key parameters for association matching. It does not require additional explicit time-consuming association configuration parameters for virtual and real loops, and realizes automatic association matching of virtual and real loops in the process layer. This can reduce the workload of on-site engineering, improve work efficiency and quality, and cover multiple loop modes of application, including two-core total loop, return loop and transmission loop of optical fiber real loop. It is applicable to various application scenarios such as dual-network networking communication and point-to-point communication of devices, and supports the visual monitoring of virtual and real loops in the process layer of intelligent substations and the accurate location of defects.
[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the protection scope of the claims of the present invention.
Claims
1. A method for matching virtual and real loop associations at the process layer of an intelligent substation, characterized in that, The method includes the following steps: Step 10: Extract the process layer virtual loop attribute set from the intelligent substation SCD model to create a process layer virtual loop dataset, and extract the process layer real loop attribute set to create a process layer real loop dataset. Step 20: Set the link state association signal of the process layer virtual loop attribute set to the link loss alarm signal for the subscription device receiving process layer control block messages; Step 30: Retrieve all published virtual loop datasets of a device from the process layer virtual loop dataset in order from top to bottom to create a device virtual loop publication association dataset; retrieve all subscribed virtual loop datasets of the device to create a device virtual loop subscription association dataset. The device virtual loop publication association dataset is composed of the device's virtual loop publication association attribute set, and the device virtual loop publication association dataset is defined as follows: The device virtual loop subscription association dataset is composed of the device's virtual loop subscription association attribute set, and the device virtual loop subscription association dataset is defined as follows: ; Step 40: Execute the virtual-real loop association matching algorithm to obtain the real loops associated with the virtual loops in the device virtual loop published association dataset and the real loops associated with the virtual loops in the device virtual loop subscribed association dataset, and create a device real loop association dataset. The virtual-real loop association matching algorithm includes the following steps: Step 41: Process one virtual loop published association attribute set from the virtual loop published association dataset P in order from top to bottom. ,according to The virtual circuit ID attribute value The virtual circuit attribute set corresponding to the virtual circuit is obtained by retrieving the virtual circuit dataset V of the process layer by key value. ; Step 42: When Step 41 processes the first virtual loop, publish the associated attribute set. Proceed directly to step 43; when step 41 processes the second and subsequent virtual loops to publish associated attribute sets. By logically determining the virtual circuit attribute set Subscription device ID attribute value Equal to the set of virtual circuit properties Subscription device ID attribute value and virtual circuit property set Process layer message control block model parameter attribute values Equal to the set of virtual circuit properties Process layer message control block model parameter attribute values Established, this virtual loop and the previously processed virtual loop communicate via the same fiber optic physical loop, and the process proceeds to publish the associated attribute set for the virtual loop. The associated real loop container attribute value This is equivalent to publishing the associated attribute set to the virtual circuit. The associated real loop container attribute value The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop publication association dataset P has another virtual loop, then jump to step 41. If this virtual loop is the last virtual loop, then jump to step 45. Otherwise, continue to step 43. Step 43: Based on the virtual circuit attribute set A network link status associated signal attribute value If valid, it determines that the virtual loop passes through fiber optic networks A and B, and includes link status associated signal attribute values. If valid, it determines that the virtual loop passes through fiber optic networks B and C, and includes link status associated signal attribute values. If valid, it is determined that the fiber optic network traversed by the virtual loop includes a C network; then, based on the virtual loop attribute set... The value of the publishing device ID attribute and subscription device ID attribute value By employing a real loop port path scanning strategy, the real loop ID attribute value of the real loop attribute set of all fiber optic real loops that conform to the network identifier correspondence along the path from the publishing device to the subscribing device in this virtual loop is obtained by scanning the process layer real loop dataset R. Loading into the virtual circuit to publish the associated attribute set The associated real loop container attribute value middle; Step 44: If the device virtual loop publishes an associated dataset P with another virtual loop, then jump to step 41; if this virtual loop is the last virtual loop, then continue to step 45. Step 45: Process one virtual loop subscription association attribute set from the virtual loop subscription association dataset S in a top-down order. ,according to The virtual circuit ID attribute value The virtual circuit attribute set corresponding to the virtual circuit is obtained by retrieving the virtual circuit dataset V of the process layer by key value. ; Step 46: While processing the first virtual loop subscription associated attribute set in step 45 Proceed directly to step 47; when step 45 processes the second and subsequent virtual loop subscription associated attribute sets. By logical judgment conditions Virtual circuit property set The value of the publishing device ID attribute Equal to the set of virtual circuit properties The value of the publishing device ID attribute and virtual circuit property set Process layer message control block model parameter attribute values Equal to the set of virtual circuit properties Process layer message control block model parameter attribute values Establishment: This confirms that the current virtual loop and the previously processed virtual loop communicate via the same fiber optic physical loop, and executes the virtual loop subscription associated attribute set. The associated real loop container attribute value Equivalent to virtual circuit subscription associated attribute set The associated real loop container attribute value The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop subscribed to the associated dataset S has another virtual loop, then jump to step 45. If this virtual loop is the last virtual loop, then jump to step 410. Otherwise, continue to step 47. Step 47: If the physical optical fiber loop of the device does not have separate transmit and receive cores and adopts the overall loop mode, when the virtual loop subscribed by the device... The publishing device and the virtual loop published by the device When the subscription devices are the same, that is, when the two devices are both publishers and subscribers to each other, the execution... The assignment operation implements the copying of the virtual loop associated with the real loop container to complete the virtual-real loop association matching. If the device virtual loop subscribed to the associated dataset S has another virtual loop, then jump to step 45. If this virtual loop is the last virtual loop, then jump to step 410. Otherwise, continue to step 48. Step 48: Based on the virtual circuit attribute set A network link status associated signal attribute value If valid, it determines that the virtual loop passes through fiber optic networks A and B, and includes link status associated signal attribute values. If valid, it determines that the virtual loop passes through fiber optic networks B and C, and includes link status associated signal attribute values. If valid, it is determined that the fiber optic network traversed by the virtual loop includes a C network; then, based on the virtual loop attribute set... The value of the publishing device ID attribute and subscription device ID attribute value By employing a real loop port path scanning strategy, the real loop ID attribute value of the real loop attribute set of all fiber optic real loops that conform to the network identifier correspondence along the path from the publishing device to the subscribing device in this virtual loop is obtained by scanning the process layer real loop dataset R. Load into virtual circuit subscription associated property set The associated real loop container attribute value middle; Step 49: If the virtual loop of the device subscribes to the associated dataset S and there is another virtual loop, then jump to step 45; if this virtual loop is the last virtual loop, then continue to step 410. Step 410: Finally, analyze the published association dataset P of the device virtual circuit and the subscribed association dataset S of the device virtual circuit to create a device real circuit association dataset; the device real circuit association dataset is composed of the device's real circuit association attribute set, and the device real circuit association dataset is defined as follows: The real-loop association attribute set includes a real-loop ID, an associated publishing virtual loop container, and an associated subscribing virtual loop container; the real-loop ID can be used as the retrieval key value of the device's real-loop association dataset; the real-loop association attribute set is defined as follows: , The attribute name is Real Circuit ID. The attribute name is associated publishing virtual loop container. The attribute name is associated with the virtual loop container of the subscription; the real loop is associated with the attribute set. Real loop ID attribute value Source and Furthermore, duplicate filtering is required; analyze the virtual loop publication association dataset P of the device, and then analyze the virtual loop publication association attribute set of the device. Attribute values are loaded into the real loop associated attribute set. Associated publishing virtual loop container attribute values , An empty value indicates that the device's real loop has no associated virtual loop; analyze the device's virtual loop subscription association dataset S, and associate the device's virtual loop subscription association attribute set. Attribute values are loaded into the real loop associated attribute set. Related subscription virtual loop container property value , An empty value indicates that the device's real circuit has no associated virtual circuit. Step 50: The next device association matching proceeds to step 30, and continues until all device process layer virtual and physical circuits in the smart substation have been associated and matched, at which point the process ends.
2. The method for matching virtual and real loop associations at the process layer of an intelligent substation according to claim 1, characterized in that, In step 10, The process layer virtual loop dataset consists of a virtual loop attribute set, and the process layer virtual loop dataset is defined as follows: The virtual loop attribute set includes at least the virtual loop ID, publishing device ID, publishing device name, publishing virtual terminal name, publishing virtual terminal model reference, subscribing device ID, subscribing device name, subscribing virtual terminal name, subscribing virtual terminal model reference, process layer message control block model reference, A network link status association signal, B network link status association signal, and C network link status association signal; the virtual loop attribute set is defined as follows: , The attribute name is virtual circuit ID. The attribute name is the publishing device ID. The attribute name is the publishing device name. The attribute name is the name of the published virtual terminal. The attribute name is the release virtual terminal model parameter. The attribute name is the subscription device ID. The attribute name is the subscription device name. The attribute name is the subscription virtual terminal name. The attribute name is the subscription virtual terminal model parameter. The attribute name is Process Layer Message Control Block Model Parameter. The attribute name is A network link status associated signal. The attribute name is B network link status association signal. The attribute name is C-network link state association signal; the j-th attribute value of the i-th virtual loop data instance in the process layer virtual loop dataset is represented as... ; The virtual loop ID is an automatically assigned unique virtual loop number that can be used as a retrieval key for the process layer virtual loop dataset. The publishing device ID and the subscription device ID are unique device numbers automatically assigned when extracting IED data from the SCD model. The A-network link status association signal is a key parameter for the virtual-physical loop association configuration. The association signal is used to identify that the virtual loop passes through the A-network fiber optic physical loop, and the non-association signal is used to identify that the virtual loop does not pass through the A-network fiber optic physical loop. The A-network fiber optic physical loop is the fiber optic physical loop used for A-network communication in the dual-network networking communication mode of the device. The B-network link status association signal is a key parameter for the virtual-physical loop association configuration. The association signal is used to identify that the virtual loop passes through the B-network optical fiber physical loop, and the non-association signal is used to identify that the virtual loop does not pass through the B-network optical fiber physical loop. The B-network optical fiber physical loop is the optical fiber physical loop used for B-network communication in the dual-network networking communication mode of the device. The C-network link status association signal is a key parameter for the virtual-physical loop association configuration. The association signal is used to identify that the virtual loop passes through the C-network optical fiber physical loop, and the non-association signal is used to identify that the virtual loop does not pass through the C-network optical fiber physical loop. The C-network optical fiber physical loop is the optical fiber physical loop used for point-to-point communication in the device's point-to-point communication mode.
3. The method for matching virtual and real loop associations at the process layer of an intelligent substation according to claim 1, characterized in that, In step 10, The process layer real loop dataset consists of a real loop attribute set, and the process layer real loop dataset is defined as follows: The real loop attribute set includes at least the real loop ID, local device ID, local device name, local device type, local port number, local port name, peer device ID, peer device name, peer device type, peer port number, peer port name, and network identifier; the real loop attribute set is defined as follows: , The attribute name is Real Circuit ID. The attribute name is the local device ID. The attribute name is the local device name. The attribute name is the local device type. The attribute name is the local port number. The attribute name is the local port name. The attribute name is the peer device ID. The attribute name is the peer device name. The attribute name is the peer device type. The attribute name is the peer port number. The attribute name is the peer port name. The attribute name is the network identifier; the j-th attribute value of the i-th real loop data instance in the process layer real loop dataset is represented as... ; The real loop ID is an automatically assigned, unique fiber optic real loop number, which can be used as a retrieval key value for the process layer real loop dataset. The local device ID and the peer device ID are unique device numbers automatically assigned when extracting IED data from the SCD model; if the device is not modeled in the SCD model and the switch is not modeled, the device number is set to an invalid value of -1. The types of local and remote equipment include at least devices and switches; The network identifier is a key parameter in the virtual-physical loop association configuration, representing the network characteristics of the optical fiber physical loop, including A network total, A network receive, A network transmit, B network total, B network receive, B network transmit, C network total, C network receive, and C network transmit. The term "A network total" indicates that the A network optical fiber physical circuit does not have separate transmit and receive cores, representing the total circuit of the A network optical fiber physical circuit; "A network receive" indicates that the A network optical fiber physical circuit has separate transmit and receive cores, representing the return circuit of the A network optical fiber physical circuit; "A network transmit" indicates that the A network optical fiber physical circuit has separate transmit and receive cores, representing the transmit circuit of the A network optical fiber physical circuit. The term "B network total" indicates that the B network optical fiber physical circuit does not have separate transmit and receive cores, representing the total circuit of the B network optical fiber physical circuit; "B network receive" indicates that the B network optical fiber physical circuit has separate transmit and receive cores, representing the receive circuit of the B network optical fiber physical circuit; "B network transmit" indicates that the B network optical fiber physical circuit has separate transmit and receive cores, representing the transmit circuit of the B network optical fiber physical circuit. The term "C-network total" indicates that the C-network optical fiber physical loop does not have separate transmit and receive cores, representing the total loop of the C-network optical fiber physical loop; "C-network receive" indicates that the C-network optical fiber physical loop has separate transmit and receive cores, representing the return loop of the C-network optical fiber physical loop; "C-network transmit" indicates that the C-network optical fiber physical loop has separate transmit and receive cores, representing the transmit loop of the C-network optical fiber physical loop. If the SCD model does not model the process layer fiber optic port connections, a separate process layer fiber optic port connection modeling tool is used to model and construct the process layer real loop dataset.
4. A method for matching virtual and real loop associations at the process layer of an intelligent substation according to claim 2 or 3, characterized in that, In step 20, According to the design of the process layer communication optical fiber network, the A network link status association signal, B network link status association signal, and C network link status association signal of the virtual loop attribute set of the actual communication network of the automatic or manual association device are the A network disconnection alarm signal, B network disconnection alarm signal, and C network disconnection alarm signal received by the subscription device from the process layer control block message. The link status association signal corresponding to the network where the virtual loop does not communicate is not associated.
5. The method for matching virtual and real loop associations at the process layer of an intelligent substation according to claim 1, characterized in that, In step 30 The virtual circuit publishing association attribute set includes a virtual circuit ID and an associated real circuit container; the virtual circuit publishing association attribute set is defined as follows: , The attribute name is virtual circuit ID. The attribute name is "Associated Real Circuit Container"; the associated real circuit container is used to store several real circuit IDs; the real circuit ID is the corresponding real circuit ID attribute value transmitted via optical fiber real circuit communication for the virtual circuit whose virtual circuit ID needs to be obtained through the virtual-real circuit association matching algorithm. ; The virtual circuit subscription associated attribute set includes a virtual circuit ID and an associated real circuit container; the virtual circuit subscription associated attribute set is defined as follows: , The attribute name is virtual circuit ID. The attribute name is "Associated Real Circuit Container"; the associated real circuit container is used to store several real circuit IDs; the real circuit ID is the corresponding real circuit ID attribute value transmitted via optical fiber real circuit communication for the virtual circuit whose virtual circuit ID needs to be obtained through the virtual-real circuit association matching algorithm. .
6. The method for matching virtual and real loop associations at the process layer of an intelligent substation according to claim 1, characterized in that, In step 43 The real-loop port path scanning strategy includes the following steps: 1) Start scanning from the real loop port of the publishing device as the starting path, using the virtual loop attribute set. The value of the publishing device ID attribute Scan the real loop attribute set of the process layer real loop dataset R from top to bottom that has not been associated with or matched. or Attribute values, find the real loop attribute set of the fiber optic real loop of the publishing device. Continue to step 2), otherwise skip to step 6. 2) Based on the real loop attribute set It determines whether the publishing device is a local device or a remote device in a real loop. If it is a local device, it then determines the type attribute value of the remote device. If it is the peer device, then determine the type attribute value of the local device. Determine whether the device opposite the fiber optic real loop port of the publishing device is a device or a switch; 3) When the device opposite the fiber optic physical loop port of the publishing device is a device, it indicates that the fiber optic physical loops of the two devices are connected point-to-point, and the virtual loop attribute set is determined. Subscription device ID attribute value With the peer device ID attribute value (When the publishing device is a local device with a real loop) or local device ID attribute value (When the publishing device is the peer device of the real loop) equal, record the real loop attribute set of the optical fiber. If the real loop scanning container is reached, continue to step 4); otherwise, jump to step 5. When the device opposite the real loop port of the publishing device is a switch, it indicates that the real loops of the two devices are connected through a network via the switch, and records the real loop attribute set of the optical fiber. Upon reaching the real loop scanning container, a) continue scanning the device type of the opposite fiber optic real loop ports of other fiber optic real loop ports of the switch. If the device of the opposite fiber optic real loop port of the other fiber optic real loop ports of the switch is a device, determine the virtual loop attribute set. Subscription device ID attribute value With the peer device ID attribute value (When the subscription device is the peer device of a real loop) or the local device ID attribute value (When the subscription device is the local end device of the real loop) equal, record the real loop attribute set of the optical fiber. Upon reaching the real loop scanning container, proceed to step 4). If it is the last other fiber optic real loop port of the switch and there is a cascaded switch at the next higher level, proceed to a) to continue scanning the next other fiber optic real loop port of the higher level switch. If it is the last other fiber optic real loop port of the switch and there is no cascaded switch at the next higher level, proceed to step 5). Otherwise, proceed to a) to continue scanning the next other fiber optic real loop port of the switch. When the device on the opposite side of the other fiber optic real loop port of the switch is a switch, it indicates that the fiber optic real loops of the two devices are connected through a cascaded network of switches, and the real loop attribute set of the fiber is temporarily recorded. (In subsequent determination of the attribute set of this cascaded fiber optic physical loop as a virtual loop) The virtual loop is recorded in the real loop of the fiber after passing through it, and this is used to determine whether the real loop of the cascaded fiber is a virtual loop attribute set. After the virtual loop passes through the fiber optic real loop, discard the temporary record and jump to a) to continue scanning other fiber optic real loop ports of the switch; 4) Further determine the attribute set of the real circuit. Network Identifier Attribute Value The network identifier is the total time of network A, and the virtual circuit attribute set. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the virtual circuit attribute set when network A is established. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the total time of network B, and the virtual loop attribute set. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the virtual circuit attribute set when network B is established. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the C network total time, virtual loop attribute set. of The attribute value is valid. Step 3) Scan the port to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the virtual loop attribute set when the C network is used. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into ; 5) Scan to the last real loop attribute set of the process layer real loop dataset R. If yes, continue to step 6); otherwise, go to step 1. 6) The real loop port path scan of this publishing device has ended.
7. The method for matching virtual and real loop associations at the process layer of an intelligent substation according to claim 1, characterized in that, In step 48 The actual loop port path scanning strategy is basically the same as the actual loop port path scanning strategy executed in step 43. The main difference is that when processing network identifiers, step 43 processes the virtual loop publishing association dataset P of the device, which requires determining whether the network identifiers of the optical fiber transceiver cores are A network, B network, and C network for virtual loop association matching. However, step 47 processes the virtual loop subscription association dataset S of the device, which requires determining whether the network identifiers of the optical fiber transceiver cores are A network, B network, and C network for virtual loop association matching. Therefore, step 4) of the actual loop port path scanning strategy executed in step 43 needs to be modified to: further determine the actual loop attribute set. Network Identifier Attribute Value The network identifier is the total time of network A, and the virtual circuit attribute set. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scan container of all optical fibers through which the virtual loop passes. All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the virtual loop attribute set when network A receives the signal. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the total time of network B, and the virtual loop attribute set. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the virtual loop attribute set when network B receives the signal. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the C network total time, virtual loop attribute set. of The attribute value is valid. Step 473 scans the port to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into The network identifier is the virtual loop attribute set when receiving data from the C network. of Attribute values are valid. Step 3) Scan ports to obtain the virtual circuit attribute set. The real loop scanning container through all optical fibers of the virtual loop All attribute values Where k = i, j, ..., n, is loaded into .
8. A smart substation process layer virtual-physical loop association matching system, characterized in that: The system is used to implement the intelligent substation process layer virtual-real loop association matching method as described in claims 1-7; and... The system includes a process-layer virtual loop dataset management module, a process-layer real loop dataset management module, a process-layer virtual loop network link status association module, a device virtual loop publish-association dataset management module, a device virtual loop subscribe-association dataset management module, a device real loop association dataset management module, and a virtual-real loop association matching algorithm module; wherein... The process layer virtual loop dataset management module is used to extract the process layer virtual loop attribute set from the SCD model to create the process layer virtual loop dataset, and provides key-value retrieval function and process layer virtual loop attribute set read and write function for the process layer virtual loop dataset; The process layer real loop dataset management module is used to extract the process layer virtual loop attribute set from the SCD model or other process layer fiber optic port models to create the process layer real loop dataset, and provides key-value retrieval function and process layer real loop attribute set read and write function for the process layer real loop dataset; The process layer virtual loop network link status association module is used to automatically or manually associate the subscription device receiving the process layer control block message link failure alarm signal to the process layer virtual loop attribute set A network link status association signal, B network link status association signal, and C network link status association signal. The device virtual loop release association dataset management module is used to retrieve the device-released virtual loops from the process layer virtual loop dataset to create a device virtual loop release association dataset, and provides read and write functions for virtual loop release association attribute sets. The device virtual loop subscription associated dataset management module is used to retrieve the virtual loops subscribed to by the device from the process layer virtual loop dataset, create the device virtual loop subscription associated dataset, and provide read and write functions for the virtual loop subscription associated attribute set; The device real circuit association dataset management module is used to create device real circuit association datasets and provides key-value retrieval function and real circuit association attribute set read and write function for device real circuit association datasets; The virtual-real loop association matching algorithm module is used to employ the virtual-real loop association matching algorithm, whereby the association matching device publishes all the optical fibers through which the virtual loop passes and writes them into the virtual loop published association dataset, and the association matching device subscribes to all the optical fibers through which the virtual loop passes and writes them into the virtual loop subscribed association dataset, and sorts out the relationship between the real loop and the virtual loop to create the device real loop association dataset.
Citation Information
Patent Citations
Intelligent substation secondary circuit fault positioning method
CN113722883A
GOOSE-link-mapping-mechanism-based on-line monitoring system and method
CN106410972A
Virtual and real loops association mapping and diagnosis method of virtual and real diagnosis system of intelligent substation
CN108551401A
