A remote control gateway offline closed-loop test method
Through the offline closed-loop testing method of remote gateway, the communication scenarios of substation equipment and remote gateways are simulated and closed-loop testing is carried out, which solves the problem of time-consuming and labor-consuming signal point verification in the reconstruction and expansion of substation equipment, and achieves efficient and reliable configuration verification.
Patent Information
- Application Number
- CN202411783713.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-12-06
AI Technical Summary
In the process of renovating and expanding substation equipment, a large number of signal points need to be checked, resulting in huge consumption of manpower, material resources and working hours, and there is a risk of information verification errors and omissions, which may lead to substation accidents.
The remote gateway offline closed-loop testing method is used to simulate the communication scenarios of the substation equipment and the remote gateway through the communication connection between the first tester and the second tester, and conduct closed-loop testing to verify the configuration information of the remote gateway.
The closed-loop verification of remote gateway configuration information is realized, the accuracy and reliability of verification results are improved, manpower and material consumption is reduced, the renovation and expansion period is shortened, and the efficiency and reliability of point-to-point work is improved.
Smart Images

Figure CN119254682B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of substation equipment testing, and in particular to an off-line closed-loop testing method for a telecontrol gateway. Background Art
[0002] With the rapid development of smart substation technology, the protection and measurement and control equipment in the original plant and station can no longer meet the current needs, and the equipment of the old substation needs to be modified in the background. Since the reconstruction and expansion work requires verification of the substation signal and the amount of substation signals is huge, this process is a very time-consuming and labor-intensive work, requiring close cooperation between on-site point-to-point personnel, monitoring personnel, and dispatching personnel. For example, the on-site point-to-point process in the prior art is: the on-site staff triggers the actual on-site devices one by one according to the point table order, and the monitoring personnel confirms whether the signal is received and correct by checking the information sent to the master station by the telecontrol gateway, and talking to the on-site staff by mobile phone. The point-to-point debugging work link occupies a large amount of manpower, material resources and working hours for the reconstruction and expansion work. According to statistics from on-site personnel, a 500kV substation has at least 8,000 signal points. The point-to-point process generally takes 1 to 2 months, the operator's work intensity is high, and manual operation also has the risk of information verification errors and omissions. In serious cases, substation accidents may occur.
[0003] At present, the workload in the renovation and expansion operation is large and cumbersome, especially the verification of the telesignaling and telemetering signal points of the telecontrol gateway in the station cannot be missed. And the renovation and expansion work requires the renovation and expansion substation to be shut down, which affects the normal use of electricity. The secondary system debugging is time-sensitive and the task is heavy. It is urgent to improve the efficiency of the secondary system debugging of the smart substation through technical means to reduce the labor intensity of personnel. Summary of the invention
[0004] In view of this, the present invention provides an off-line closed-loop testing method for a telecontrol gateway.
[0005] The telecontrol gateway offline closed-loop test method is applied to the telecontrol gateway offline closed-loop test system. The telecontrol gateway offline closed-loop test system includes a first tester and a second tester. The first tester is used to simulate the equipment to be tested and the master station in the substation, and the second tester is used to simulate the telecontrol gateway. The telecontrol gateway offline closed-loop test method includes:
[0006] Establishing a communication connection between the first tester and the second tester;
[0007] The first tester performs a simulation test on the device under test, generates a first message based on the simulation test result and the first corresponding relationship, and sends the first message to the second tester to simulate a first communication scenario in which the device under test communicates with the telecontrol gateway at the station control layer, wherein the first corresponding relationship is generated based on a local remote control configuration file, and the local remote control configuration file is identified as correct configuration information;
[0008] Using a second tester to generate a first verification result for a telecontrol remote control configuration file in a first communication scenario based on the first message and the second corresponding relationship, wherein the second corresponding relationship is generated based on the telecontrol remote control configuration file, and the telecontrol remote control configuration file is configuration information to be verified;
[0009] In the scenario where the first verification result is verification passed, the second tester performs data processing on the first message based on the telecontrol remote control configuration file to generate a second message, and sends the second message to the first tester to simulate the second communication scenario in which the master station and the telecontrol gateway communicate in the dispatching network;
[0010] Using a first tester, performing consistency check on the sent first message and the received second message to generate a second verification result for the telecontrol configuration file in a second communication scenario;
[0011] Based on the first verification result and the second verification result, a test result for the telecontrol gateway is generated.
[0012] According to an embodiment of the present invention, the above test method verifies the correctness of the telecontrol remote control configuration file based on the local remote control configuration file. In the operation of the substation, there is data communication between the substation equipment and the telecontrol gateway, and data communication between the telecontrol gateway and the master station, and these two communication stages are based on different communication protocols. Therefore, the method of the embodiment of the present invention innovatively forms a closed-loop test between the substation equipment and the telecontrol gateway, and between the telecontrol gateway and the master station by testing and verifying the data communication process between the substation equipment and the telecontrol gateway, and the data communication process between the telecontrol gateway and the master station, and realizes the closed-loop verification of the telecontrol gateway configuration information. The verification result is more accurate, reliable, and referenceable, and the two-stage verification process facilitates accurate positioning of the fault link, improving the accuracy and efficiency of fault positioning. Further, the method of the embodiment of the present invention improves the point debugging process for expansion and reconstruction, solves the technical problem that the configuration verification of the telecontrol gateway can be performed without the physical device of the substation, realizes the offline operation of the point work, and can automatically compare the data sent by the station end with the data received by the master station to form a closed-loop test. This method not only shortens the construction period required for the renovation and expansion project, but also requires only a small amount of manual operation to check the signal points of the entire station, reducing the use of manpower and material resources, and improving the efficiency and reliability of point-to-point work during the renovation and expansion. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0014] Figure 1 An exemplary system architecture of a telecontrol gateway offline closed-loop test system according to an embodiment of the present invention is shown;
[0015] Figure 2 A flowchart of an offline closed-loop testing method for a telecontrol gateway according to an embodiment of the present invention is shown;
[0016] Figure 3 A flow chart of a method for generating a first verification result in a first communication scenario according to an embodiment of the present invention is shown;
[0017] Figure 4 A flow chart of a method for performing consistency check on a first message and a second message in a second communication scenario according to an embodiment of the present invention is shown;
[0018] Figure 5 A flow chart of a method for performing consistency check on a first message and a second message in a second communication scenario according to another embodiment of the present invention is shown. DETAILED DESCRIPTION
[0019] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.
[0020] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0021] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0022] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0023] In the embodiments of the present invention, the collection, updating, analysis, processing, use, transmission, provision, invention, storage and other aspects of the data involved (for example, including but not limited to user personal information) are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. In particular, necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information and network security.
[0024] In the embodiment of the present invention, before obtaining or collecting the user's personal information, the user's authorization or consent is obtained.
[0025] An embodiment of the present invention provides an offline closed-loop test method for a telecontrol gateway, which is applied to an offline closed-loop test system for a telecontrol gateway. The offline closed-loop test system for a telecontrol gateway includes a first tester and a second tester. The first tester is used to simulate a device to be tested and a master station in a substation, and the second tester is used to simulate a telecontrol gateway. The above-mentioned offline closed-loop test method for a telecontrol gateway includes:
[0026] Establishing a communication connection between the first tester and the second tester;
[0027] The first tester performs a simulation test on the device under test, generates a first message based on the simulation test result and the first corresponding relationship, and sends the first message to the second tester to simulate a first communication scenario in which the device under test communicates with the telecontrol gateway at the station control layer, wherein the first corresponding relationship is generated based on a local remote control configuration file, and the local remote control configuration file is identified as correct configuration information;
[0028] Using a second tester to generate a first verification result for a telecontrol remote control configuration file in a first communication scenario based on the first message and the second corresponding relationship, wherein the second corresponding relationship is generated based on the telecontrol remote control configuration file, and the telecontrol remote control configuration file is configuration information to be verified;
[0029] If the first verification result is that the verification is passed, the second tester performs data processing on the first message based on the telecontrol remote control configuration file to generate a second message, and sends the second message to the first tester to simulate the second communication scenario in which the master station and the telecontrol gateway communicate in the dispatching network;
[0030] Using a first tester, performing consistency check on the sent first message and the received second message to generate a second verification result for the telecontrol configuration file in a second communication scenario;
[0031] Based on the first verification result and the second verification result, a test result for the telecontrol gateway is generated.
[0032] Figure 1 An exemplary system architecture of a telecontrol gateway offline closed-loop test system according to an embodiment of the present invention is shown. Figure 2 The flowchart of the method for offline closed-loop testing of a telecontrol gateway according to an embodiment of the present invention is shown. Figure 1 , Figure 2 The offline closed-loop testing method of the telecontrol gateway according to the embodiment of the present invention is described.
[0033] like Figure 1 As shown, the remote control gateway offline closed-loop test method is applied to the remote control gateway offline closed-loop test system. The remote control gateway offline closed-loop test system includes a first tester and a second tester. The first tester is used to simulate the equipment to be tested and the master station in the substation, and the second tester is used to simulate the remote control gateway.
[0034] Furthermore, the first tester includes a device simulation module, a master station simulation module, and a first data processing module. The device simulation module is used to simulate the device under test in the substation, and the master station simulation module is used to simulate the master station. The device under test may include a substation protection device, a measurement and control device, such as various switches, knife switches, etc.
[0035] The second tester includes a telecontrol gateway simulation module and a second data processing module. The telecontrol gateway simulation module is used to simulate the telecontrol gateway.
[0036] The first data processing module and the second data processing module can be used for data operations such as various data associations, processing and storage during the test process.
[0037] A communication connection is established between the first tester and the second tester, wherein establishing a communication connection between the first tester and the second tester comprises: establishing a communication connection from the first tester to the second tester based on a first communication protocol; and establishing a communication connection from the second tester to the first tester based on a second communication protocol.
[0038] Furthermore, the first communication protocol is the MMS (Manufacturing Message Specification) communication protocol; the second communication protocol is the IEC60870-5-104 communication protocol (IEC-104 protocol for short). That is, the communication between the device simulation module and the telecontrol gateway simulation module is based on the MMS protocol; the communication between the telecontrol gateway simulation module and the master station simulation module is based on the IEC-104 protocol.
[0039] The MMS protocol, or Manufacturing Message Specification, is the main communication protocol for intelligent substations and is also a built-in communication protocol in the IEC61850 standard. The IEC-104 protocol is a powerful data transmission protocol that is efficient, reliable, and secure. It is widely used in telecommunication networks, especially in the field of monitoring and control of power systems.
[0040] like Figure 2 As shown, based on Figure 1 The test method of the telecontrol gateway offline closed-loop test system shown may include operations S201 to S206 .
[0041] In operation S201, a communication connection is established between a first tester and a second tester;
[0042] In operation S202, the first tester performs a simulation test on the device under test, generates a first message based on the simulation test result and the first corresponding relationship, and sends the first message to the second tester to simulate a first communication scenario in which the device under test communicates with the telecontrol gateway at the station control layer, wherein the first corresponding relationship is generated based on a local remote control configuration file (local RCD configuration file), and the local remote control configuration file is identified as correct configuration information;
[0043] In operation S203, a first verification result for a telecontrol remote control configuration file in a first communication scenario is generated by a second tester based on the first message and the second corresponding relationship, wherein the second corresponding relationship is generated based on the telecontrol remote control configuration file (telecontrol RCD configuration file), and the telecontrol remote control configuration file is configuration information to be verified;
[0044] In operation S204, when the first verification result is that the verification is passed, the second tester performs data processing on the first message based on the telecontrol remote control configuration file to generate a second message, and sends the second message to the first tester to simulate a second communication scenario in which the master station and the telecontrol gateway communicate in the dispatching network;
[0045] In operation S205, a first tester is used to perform consistency check on the sent first message and the received second message to generate a second verification result for the telecontrol configuration file in a second communication scenario;
[0046] In operation S206 , a test result for the telecontrol gateway is generated based on the first verification result and the second verification result.
[0047] According to an embodiment of the present invention, the RCD (Remote Control Description) file is a remote control description file, which is mainly used to describe the remote control function of the intelligent electronic device (IED). It contains configuration information related to remote control, such as control commands, status feedback, etc., and is used for the configuration and management of smart substations. The RCD file is mainly used for the configuration and debugging of remote control.
[0048] The RCD (Remote Control Description) file includes the correspondence between the point number (104 point number) and the reference address (IEC61850 reference address) of the device under test in the substation. The point number (104 point number) and the reference address (IEC61850 reference address) are both identification information of the device, which are used in different scenarios and technical links of the substation. In order to ensure the normal operation of the substation, the correspondence between the point number and the reference address of the device must be unique and correct.
[0049] Among them, the local remote control configuration file (local RCD configuration file) is considered to be the correct configuration file in the test, and the telecontrol remote control configuration file (telecontrol RCD configuration file) is configured by the telecontrol manufacturer and has not been verified. Therefore, the method of the embodiment of the present invention is to use the local RCD configuration file as a benchmark to verify the correctness of the telecontrol RCD configuration file.
[0050] like Figure 1As shown, in the operation of the substation, there is data communication between the substation equipment and the telecontrol gateway, and data communication between the telecontrol gateway and the master station, and these two communication stages are based on different communication protocols. Therefore, the method of the embodiment of the present invention needs to test and verify the data communication process between the substation equipment and the telecontrol gateway, and the data communication process between the telecontrol gateway and the master station, forming a closed-loop test from the substation equipment to the telecontrol gateway, and from the telecontrol gateway to the master station, which can realize the closed-loop verification of the telecontrol gateway configuration information.
[0051] Before the test, a communication connection between the first tester and the second tester may be established, wherein both the first tester and the second tester may be set up in a laboratory.
[0052] The device simulation module is used to simulate the communication scenario of the equipment under test in the substation, and the master station simulation module is used to simulate the communication scenario of the master station. The communication between the device simulation module and the telecontrol gateway simulation module is based on the MMS protocol; the device simulation module and the telecontrol gateway simulation module in the second tester are directly connected to the simulated MMS client, simulating the MMS communication application scenario between the actual on-site device and the communication gateway at the station control layer.
[0053] The telecontrol gateway simulation module is used to simulate the telecontrol gateway communication scenario. The communication between the telecontrol gateway simulation module and the master station simulation module is based on the IEC-104 protocol. The master station simulation module simulates the 104 client and the telecontrol gateway simulation module to connect to the simulated 104 server, simulating the communication scenario between the field communication gateway and the master station in the dispatching network 104.
[0054] The local RCD configuration file includes the first type of configuration information related to the point number of the device under test, the reference address of the device under test (IEC61850 reference address), and the data format of the operation result of the device under test; the telecontrol RCD configuration file includes the second type of configuration information related to the point number of the device under test, the reference address of the device under test (IEC61850 reference address), and the data format of the operation result of the device under test. For example, the RCD configuration file is configured with the corresponding relationship between the point number and the reference address (IEC61850 reference address), as well as the display format of the operation result of the device under test, such as "ON" for the switch to be turned on, "OFF" for the switch to be merged, and other configuration information.
[0055] The first corresponding relationship is used to characterize a first corresponding relationship between the point number of the device under test and the reference address; the second corresponding relationship is used to characterize a second corresponding relationship between the point number of the device under test and the reference address.
[0056] Before the test is officially carried out, the first corresponding relationship and the second corresponding relationship can be established. For example, the first data processing module is used to generate the first corresponding relationship between the point number and the reference address of the device under test in the substation based on the local RCD configuration file of the device under test in the substation; the second data processing module is used to generate the second corresponding relationship between the point number and the reference address of the device under test in the substation based on the remote RCD configuration file of the device under test in the substation.
[0057] Since the local remote control configuration file is identified as the correct configuration information and the telecontrol remote control configuration file is the configuration information to be verified, the first correspondence is identified as the correct correspondence and the second correspondence is the correspondence to be verified.
[0058] According to an embodiment of the present invention, a first data processing module may be used to generate a first correspondence between a point number and a reference address of a device under test in a substation based on a local RCD configuration file of the device under test in the substation, for example, by the following method:
[0059] Operation 11: Parse the local remote control gateway configuration file and generate a local RCD configuration file.
[0060] Operation 12: Import SCD (Substation Configuration Description) file, point table file, and local RCD configuration file;
[0061] Among them, the point table file is used to collect and record the specific point information of the substation operation and monitoring data. For example, it includes the equipment operation status point, which records the status of the switch (circuit breaker) and the knife switch (disconnector), including the name of the switch knife switch and its auxiliary contacts. It also includes the equipment operation parameter point: including bus voltage (phase voltage, line voltage), frequency, voltage, current, active power, reactive power, etc. of the power supply line. It also includes the equipment metering parameter point: recording the active and reactive power of the power supply line and the load interval.
[0062] The SCD (Substation Configuration Description) file is a substation configuration description file, which is used to describe the configuration information of the entire substation. It contains the configuration information of all intelligent electronic devices (IEDs) in the substation, communication configuration, and description of the substation. It is mainly used for the configuration and management of smart substations. In smart substations, SCD files are used for the configuration and management of the entire substation.
[0063] Operation 13. Use the point number in the point table to search for the same point number 104 in the local RCD configuration file.
[0064] Operation 14: If the same point number is found in the local RCD configuration file, the IEC61850 reference address information corresponding to the point number can be obtained. If the same point number is not found, it means that the remote motor is not configured with this 104 point number. In this way, a test list with the corresponding relationship between the IEC61850 reference address and the 104 point number is generated according to the search and matching results, that is, the first corresponding relationship between the point number and the reference address is generated.
[0065] Furthermore, it is also possible to determine whether the device measurement point has been instantiated based on the SCD file. If it has not been instantiated, information simulation sending cannot be performed.
[0066] Specifically, after the above operation 14 finds the IEC61850 reference address information corresponding to the point number in the local RCD configuration file, it searches for this IEC61850 reference address in the SCD file. If it is found, it means that this point has been instantiated and information simulation can be sent. If it is not found in the SCD file, it means that this point has not been instantiated, and information simulation cannot be sent.
[0067] According to an embodiment of the present invention, a method for generating a second correspondence between a point number and a reference address of a device under test in a substation based on a telecontrol RCD configuration file of the device under test in the substation by using a second data processing module is substantially the same as the above-mentioned operations 11 to 14, for example, the following method may be adopted:
[0068] Operation 21: parse the remote control gateway configuration file at the remote control end and generate the remote control RCD configuration file.
[0069] Operation 22: Import SCD file, point table file, and telecontrol RCD configuration file;
[0070] Operation 23. Use the point number in the point table to search for the same point number 104 in the remote control RCD configuration file.
[0071] Operation 24: If the same point number is found in the remote control RCD configuration file, the IEC61850 reference address information corresponding to the point number can be obtained. If the same point number is not found, it means that the remote control is not configured with this 104 point number. In this way, a test list with the corresponding relationship between the IEC61850 reference address and the 104 point number is generated according to the search and matching results, that is, the second corresponding relationship between the point number and the reference address is generated.
[0072] Furthermore, it is also possible to determine whether the device measurement point has been instantiated based on the SCD file. If it has not been instantiated, information simulation sending cannot be performed.
[0073] Specifically, after the operation 24 finds the IEC61850 reference address information corresponding to the point number in the telecontrol RCD configuration file, the IEC61850 reference address is searched in the SCD file. If it is found, it means that the point has been instantiated and information simulation can be sent. If it is not found in the SCD file, it means that the point has not been instantiated and information simulation cannot be sent.
[0074] According to an embodiment of the present invention, after establishing a communication connection between the first tester and the second tester through the above-mentioned operation S201, in operation S202, the first tester performs a simulation test on the device to be tested, generates a first message based on the simulation test result and the first corresponding relationship, and sends the first message to the second tester to simulate the first communication scenario in which the device to be tested communicates with the telecontrol gateway at the station control layer.
[0075] For example, the device simulation module can simulate the device under test according to the test list, generate a first message, and send the first message to the telecontrol gateway simulation module. The first message includes the target reference address of the device under test, the first point number corresponding to the target reference address, and the first operation value used to characterize the operation result of the device under test. Specifically, it can be: the device simulation module counts the MMS point position for each test point in turn, and adds the 104 point number to the message in an explicit or hidden manner, and records the 104 point number (first point number) and the MMS value (first operation value) sent at this time.
[0076] In the above operation S203, the second tester is used to generate a first verification result for the telecontrol remote control configuration file in the first communication scenario based on the first message and the second corresponding relationship. For example, the telecontrol gateway machine simulation module can be used to parse the first message, and the second data processing module can be used to generate a first verification result for the telecontrol RCD configuration file based on the parsing result and the second corresponding relationship. The verification process uses the first corresponding relationship as a reference to verify whether the second corresponding relationship is correct, that is, the local RCD configuration file is used as a reference to verify the correctness of the telecontrol RCD configuration file.
[0077] In operation S204, in a scenario where the first verification result is verification passed, the second tester performs data processing on the first message based on the telecontrol remote control configuration file to generate a second message, and sends the second message to the first tester to simulate the second communication scenario in which the master station and the telecontrol gateway communicate in the dispatching network; wherein the second message includes a target reference address of the device under test, a second point number corresponding to the target reference address, and a second operating value for characterizing the operating result of the device under test.
[0078] For example, the telecontrol gateway simulation module may perform data processing on the first message based on the telecontrol RCD configuration file to generate a second message, and send the second message to the master station simulation module.
[0079] The second tester performs data processing on the first message based on the telecontrol configuration file to generate a second message. The point number can be redetermined based on the target reference address in the first message and with reference to the correspondence between the point number and the reference address (IEC61850 reference address) in the telecontrol configuration file to generate a second point number; and the first operating value of the operating result of the device under test in the first message is parsed to restore the operating result of the device under test, and the data display format of the operating result of the device under test is reset according to the display format of the operating result of the device under test set in the telecontrol configuration file to generate a second operating value for characterizing the operating result of the device under test.
[0080] In operation S205, a first tester is used to perform consistency check on the sent first message and the received second message to generate a second verification result for the telecontrol configuration file in a second communication scenario.
[0081] For example, the master station simulation module can be used to parse the second message, and the first data processing module can be used to perform consistency check on the sent first message and the received second message to generate a second verification result for the remote control RCD configuration file, and record the 104 point number, IEC61850 reference address, 104 description, acceptance result (acceptance success / acceptance failure), and export the acceptance test record.
[0082] The verification process uses the first message as a reference to verify the correctness of the second message. Since the first message is generated based on the local RCD configuration file and the second message is generated based on the remote RCD configuration file, the verification process is essentially still based on the local RCD configuration file to verify the correctness of the remote RCD configuration file. This includes verifying the correctness of the correspondence between the point number and the reference address of the device under test, and the correctness of the configuration information related to the data format of the running result of the device under test.
[0083] In operation S206 , a test result for the telecontrol gateway is generated based on the first verification result and the second verification result.
[0084] For example, based on the first verification result, a verification result of whether the configuration of the remote control gateway is correct in the first communication scenario where the device to be tested communicates with the remote control gateway at the station control layer can be generated. If the verification fails, it means that the configuration of the remote control gateway is incorrect, which may be due to the fact that the measuring point is not configured or configured incorrectly in the remote control RCD configuration file. For example, in the local RCD configuration file, the point number corresponding to the reference address of a certain measuring point is 100, but the point number corresponding to the reference address cannot be found in the remote control RCD configuration file, or the point number corresponding to the reference address is not 100, for example, it is 200, then the verification fails.
[0085] For example, based on the second verification result, a verification result of whether the configuration of the telecontrol gateway is correct in the second communication scenario where the master station and the telecontrol gateway communicate in the dispatching network can be generated. If the verification fails, it means that the configuration of the telecontrol gateway is incorrect, which may be caused by a configuration error in the telecontrol RCD configuration file. For example, in the local RCD configuration file, the point number corresponding to the reference address of a certain measuring point is 100, the switch state is on, and the data is displayed as "ON", while in the telecontrol RCD configuration file, the point number corresponding to the reference address is 100, the switch state is on, and the data is displayed as "OFF". In this case, the verification fails, and an incorrect data format is configured in the telecontrol RCD configuration file.
[0086] Further, when the verification in the first communication scenario and the verification in the second communication scenario are both passed, the acceptance is successful; otherwise, the acceptance fails.
[0087] According to an embodiment of the present invention, the above processing method verifies the correctness of the telecontrol RCD configuration file based on the local RCD configuration file. In the operation of the substation, there is data communication between the substation equipment and the telecontrol gateway, and data communication between the telecontrol gateway and the master station, and these two communication stages are based on different communication protocols. Therefore, the method of the embodiment of the present invention innovatively forms a closed-loop test between the substation equipment and the telecontrol gateway, and between the telecontrol gateway and the master station by testing and verifying the data communication process between the substation equipment and the telecontrol gateway, and the data communication process between the telecontrol gateway and the master station, and realizes the closed-loop verification of the telecontrol gateway configuration information. The verification result is more accurate, reliable, and referenceable, and the two-stage verification process facilitates accurate positioning of the fault link, improving the accuracy and efficiency of fault positioning. Further, the method of the embodiment of the present invention improves the point debugging process for expansion and reconstruction, solves the technical problem of verifying the configuration of the telecontrol gateway without the physical device of the substation, realizes the offline operation of the point work, and can automatically compare the data sent by the station end with the data received by the master station to form a closed-loop test. This method not only shortens the construction period required for the renovation and expansion project, but also requires only a small amount of manual operation to check the signal points of the entire station, reducing the use of manpower and material resources, and improving the efficiency and reliability of point-to-point work during the renovation and expansion.
[0088] According to an embodiment of the present invention, the simulation test in the above method of the embodiment of the present invention may be applied in a scenario of remote signaling test or in a scenario of telemetry test.
[0089] Remote signaling is mainly used to collect and transmit various protection and switch quantity information, such as the switch status of the equipment, alarm information, etc. It can be used to monitor the status of power equipment, determine whether the equipment is operating normally, whether a fault occurs, etc. The remote signaling function usually uses a passive contact method. The input of a certain remote signal quantity is a pair of relay contacts, whose status is closed or open. The closing or opening of the relay contacts is converted into a low-level or high-level signal through the remote signal terminal board and sent to the remote terminal unit. Remote signaling is often used to measure the position signal of the switch, the comprehensive signal of the internal fault of the transformer, the action signal of the protection device, the operating status signal of the communication equipment, the tap position signal of the voltage regulating transformer, the operating status signal of the automatic regulating device, the total accident signal and the main power failure signal of the device.
[0090] Telemetry is a technology that transmits the short-distance measurement value of the object parameter to a distant measuring station to achieve long-distance measurement. Telemetry information is the real-time parameters of the power system operation collected, such as generator output, bus voltage, system flow, active load and reactive load, line current, electricity measurement information, and also includes parameters such as voltage, current, temperature, and power in the energy storage system. The role of telemetry is to monitor the operating parameters of the system or equipment (such as the energy storage system) in real time, understand its operating conditions, and provide a basis for the optimization and management of the system or equipment.
[0091] The method of remote signaling test is similar to that of telemetry test, except that there are slight differences in message content, message assembly method and parsing method.
[0092] Specifically: the message content of the remote signal test includes the operating status value of the equipment, such as the status of switches and circuit breakers: open / merged; the message content of the telemetry test includes the real-time parameters of the equipment operation, such as bus voltage, current and other parameter values.
[0093] That is, in the telesignaling test, in the first message corresponding to the stage of sending the MMS message, and in the second message corresponding to the stage of forwarding the 104 message, the first operation value and the second operation value used to characterize the operation result of the device under test include the operation status value of the device. In the telemetry test, in the first message corresponding to the stage of sending the MMS message, and in the second message corresponding to the stage of forwarding the 104 message, the first operation value and the second operation value used to characterize the operation result of the device under test include the real-time parameters of the device operation.
[0094] Correspondingly, the telesignaling test and the telemetering test have slightly different processing methods for assembling messages. For example, at the beginning of the test, both the telesignaling test and the telemetering test use the device simulation module to count the MMS point positions for each test point in turn, and add the point number 104 in the message in an explicit or hidden manner, while recording the point number 104 (first point number) and the MMS value (first operating value) sent at this time. The difference may be that the method of generating the first message based on the simulation test result and the first corresponding relationship is different. For example, in the telesignaling test, the point number 104 can be added to the message in an explicit manner, while in the telemetering test, the point number 104 can be added to the message in a hidden manner. Furthermore, after the telecontrol gateway simulation module receives the MMS message sent by the device simulation module, the method of parsing the message is slightly different. They are introduced below:
[0095] Specifically, when the simulation test includes a remote signaling test, generating the first message based on the simulation test result and the first corresponding relationship includes:
[0096] Operation 31: Based on the first corresponding relationship, determine the first point number corresponding to the target reference address; the first point number may be determined by directly matching the corresponding relationship between the point number in the first corresponding relationship and the target reference address.
[0097] Operation 32: Determine a first operating value for characterizing the operating status value of the device under test based on the simulation test result of the remote signaling test; the first operating value, that is, the operating status value of the device can be directly read from the simulation test result.
[0098] Operation 33, assign the first point number to the time stamp part of the first message, and record the target reference address of the device under test and the first running value in the first message. In this way, the 104 point number is added to the message in an explicit manner to generate a first message including the first point number, the first running value, and the target reference address of the device under test. Specifically, it can be: the device simulation module performs the remote signaling MMS point position number for each test point in turn, and the remote signaling MMS point position number rule is: OFF->ON->OFF change position number. That is, the open and closed states of devices such as switches are changed. And the 104 point number is assigned to the seconds and milliseconds in the time stamp of the MMS remote signaling message, and the 104 point number (first point number) and MMS value (first running value) sent at this time are recorded.
[0099] After receiving the MMS message sent by the device simulation module, the telecontrol gateway simulation module extracts the IEC61850 reference address information, the 104 point number in the time stamp and the MMS value in the MMS message through regular expressions. Based on the second corresponding relationship, the second data processing module quickly finds the 104 point number corresponding to the MMS signal reference and compares it with the 104 point number in the received MMS message. If they are consistent, the verification is passed, indicating that the telecontrol RCD configuration file has passed the verification at this stage. This MMS signal can be transferred to the first tester as a 104 message, otherwise it will not be transferred.
[0100] According to an embodiment of the present invention, when the simulation test includes a telemetry test, generating a first message based on the simulation test result and the first corresponding relationship includes:
[0101] Operation 41: Based on the first corresponding relationship, determine the first point number corresponding to the target reference address; the first point number may be determined by directly matching the corresponding relationship between the point number in the first corresponding relationship and the target reference address.
[0102] Operation 42: Generate a feature code based on the simulation test result of the telemetry test and the first point number (point number 104);
[0103] Specifically, it can be: feature code = telemetry value of the previous telemetry point / 104 point number of the previous telemetry point (when the previous point number is 0, the feature code is 0); the telemetry value can be directly read from the simulation test results, and the real-time parameters of the equipment operation (such as current, voltage values, etc.) can be read.
[0104] Operation 43: generating a first operation value for characterizing an operation characteristic value of the device under test based on the first point number and the characteristic code, wherein information of the first point number is hidden in the first operation value;
[0105] Specifically, it can be: the first operating value (telemetry MMS value) = 104 point number of the current point + feature code.
[0106] It can be seen that operations 42 and 43 are used to generate a first operating value for characterizing the operating characteristic values of the equipment under test based on the simulation test results of the telemetry test. After the above operations, the first operating value hides and stores 104 point number information and real-time parameters of equipment operation (such as current, voltage values, etc.), which is used in data transmission scenarios to enhance the security of data transmission.
[0107] Operation 44 : Record the target reference address of the device under test and the first operation value in the first message, and generate a first message that hides the first point number, the first operation value, and the target reference address of the device under test.
[0108] Further, after receiving the MMS message sent by the device simulation module, the telecontrol gateway machine simulation module parses the first message and extracts the first point number corresponding to the target reference address, including:
[0109] First, obtain the feature code;
[0110] Afterwards, the first point number is calculated based on the first running value and the feature code.
[0111] The specific method for extracting the 104 point number may be: 104 point number = first operating value (telemetry MMS value) - feature code.
[0112] In the first communication scenario where the device under test communicates with the telecontrol gateway at the station control layer, the specific process of verifying based on the first message and the second corresponding relationship is described below.
[0113] Figure 3 A flow chart of a method for generating a first verification result in a first communication scenario according to an embodiment of the present invention is shown.
[0114] like Figure 3 As shown, the method of this embodiment may include operations S301 to S303.
[0115] In operation S301, the first message is parsed to extract the first point number corresponding to the target reference address; specifically, after receiving the MMS message sent by the device simulation module, the telecontrol gateway machine simulation module extracts the IEC61850 reference address information (target reference address) and the first operation value of the device in the MMS message by parsing the first message, and extracts the 104 point number (first point number) corresponding to the reference address. In the telesignaling test, the 104 point number can be extracted from the message time stamp; in the telemetry test, the method for extracting the 104 point number is: 104 point number = first operation value (telemetry MMS value) - feature code.
[0116] In operation S302, based on the second correspondence, a reference point number corresponding to the target reference address is determined; based on the second correspondence, the second data processing module quickly finds the 104 point number (reference point number) corresponding to the IEC61850 reference address in the MMS message.
[0117] In operation S303, the first point number and the reference point number are checked for consistency to generate a first verification result. The second data processing module compares the reference point number with the 104 point number (first point number) in the received MMS message. If they are consistent, the verification is passed, indicating that the verification of the telecontrol RCD configuration file at this stage is passed. This MMS signal can be transferred to the first tester as a 104 message, otherwise it will not be transferred.
[0118] According to the embodiment of the present invention, through the above verification process, it can be quickly verified whether the telecontrol end configuration is correct in the first communication scenario in which the device under test communicates with the telecontrol gateway at the station control layer.
[0119] In the second communication scenario in which the master station and the telecontrol gateway communicate in the dispatching network, the specific process of verifying based on the first message and the second message is described below.
[0120] The first message is a message sent from the first tester to the second tester, and the second message is a message received by the first tester and forwarded by the second tester. It is necessary to perform a consistency check on the sent message and the received message on the first tester to verify whether the remote control gateway configuration is correct in the second communication scenario.
[0121] Figure 4 A flow chart of a method for performing consistency verification on a first message and a second message in a second communication scenario according to an embodiment of the present invention is shown.
[0122] like Figure 4 As shown, the method of this embodiment may include using a first tester to perform the following operations S401-S403.
[0123] In operation S401, based on (parsing) a first message, a first point number corresponding to a target reference address is extracted; the first message is a message sent by a first tester, and a first point number corresponding to the target reference address according to a first corresponding relationship can be directly obtained from the first message.
[0124] In operation S402, based on (parsing) the second message, the second point number corresponding to the target reference address is extracted; the second message is a message conveyed by the second tester, and the first tester can obtain the target reference address from the second message by parsing the message, and obtain the second point number corresponding to the target reference address according to the second corresponding relationship.
[0125] In operation S403, the first point number and the second point number are checked for consistency. If the first point number and the second point number are consistent, the check passes, indicating that the correspondence between the IEC61850 reference address of the telecontrol gateway and the 104 point number is correctly configured, otherwise the check fails, indicating that the configuration is incorrect.
[0126] For example, compare the 104 point number corresponding to the IEC61850 reference address in the MMS message sent by the equipment simulation module with the 104 point number in the 104 message sent by the remote control gateway simulation module. If the 104 point numbers are consistent, it means that the correspondence between the IEC61850 reference address and the 104 point number of the remote control gateway is correctly configured, otherwise it is incorrect.
[0127] According to an embodiment of the present invention, in the second communication scenario, in addition to checking the consistency of the point numbers, it is also necessary to perform a consistency check on the numerical values of the operating values used to characterize the operating results of the device under test in the two messages.
[0128] Figure 5 A flow chart of a method for performing consistency check on a first message and a second message in a second communication scenario according to another embodiment of the present invention is shown.
[0129] like Figure 5 As shown, the method of this embodiment may include using a first tester to perform the following operations S501-S503.
[0130] In operation S501, based on (parsing) the first message, a first operating value used to characterize the operating result of the device under test is extracted; the first message is a message sent by the first tester, and the first operating value can be directly obtained from the first message, for example, in a telesignaling test, the opening and closing state of the switch is obtained, and in a telemetry test, the current and voltage values are obtained.
[0131] In operation S502, based on (parsing) the second message, a second operation value used to characterize the operation result of the device under test is extracted; the second message is a message conveyed by the second tester, and the first tester can obtain the second operation value from the second message by parsing the message.
[0132] In operation S503, the first operation value and the second operation value are checked for consistency. If the first operation value and the second operation value are consistent, the check is passed, indicating that the configuration of the telecontrol gateway and the data format of the operation result of the device under test is correct, otherwise it is wrong.
[0133] For example, compare the status value in the MMS message sent by the equipment simulation module with the status value in the 104 message sent by the remote control gateway simulation module. If the status values are consistent, it means that the forwarding status value configuration of this 104 point of the remote control gateway is correct, otherwise it is incorrect.
[0134] Through the above method, by checking the consistency of the point number and the consistency of the equipment operation value, if both are passed, the verification is passed, indicating that the remote control gateway, the remote control gateway IEC61850 reference address and the correspondence between the point number 104, and the configuration related to the equipment operation result data format are correct. According to the second verification result, a verification result of whether the remote control gateway configuration is correct in the second communication scenario where the master station and the remote control gateway communicate in the dispatching network can be generated. If the verification fails, it means that the remote control gateway configuration is incorrect, which may be caused by a configuration error in the remote control RCD configuration file. For example, in the local RCD configuration file of a certain measuring point, the point number corresponding to the reference address is 100, the switch state is open, and the data is displayed as "ON", while in the remote control RCD configuration file, the point number corresponding to the reference address is 100, the switch state is open, and the data is displayed as "OFF", then the verification fails, and the wrong data format is configured in the remote control RCD configuration file.
[0135] According to an embodiment of the present invention, by using a first tester to perform consistency verification of point numbers and operating values on a first message sent and a second message received, reliability of data transmission is ensured and comprehensive configuration verification of the motion gateway is achieved.
[0136] According to an embodiment of the present invention, in the process of using the second tester to generate a second correspondence between the point number and the reference address of the device under test in the substation based on the telecontrol RCD configuration file of the device under test in the substation, the method further includes:
[0137] Based on the second correspondence, the second tester uses the reference address of the device under test as the primary key and the point number of the device under test as the key value to establish a forwarding correspondence table, that is, a forwarding correspondence table of the IEC61850 reference and the 104 point number, and stores data in the forwarding correspondence table. By establishing the IEC61850 reference as the hash table primary key (KEY) and the 104 point number as the hash table key value (VAULE), data is stored through a hash algorithm. By using a hash table (hash table) to map the key value of the target element to a position in the hash table, it is convenient to achieve rapid data search later.
[0138] Based on this, when the second tester generates the first verification result for the telecontrol configuration file in the first communication scenario based on the first message and the corresponding relationship, when determining the reference point number corresponding to the target reference address based on the second corresponding relationship, the 104 point number corresponding to the MMS signal reference can be quickly found from the previously established hash table.
[0139] The following describes the off-line closed-loop testing method of the telecontrol gateway of the present invention by taking the telesignaling test and the telemetry test as examples.
[0140] Before the formal test, the first corresponding relationship and the second corresponding relationship are established.
[0141] For example, the first data processing module in the first tester is used to generate a first correspondence between the point number and the reference address of the equipment to be tested in the substation based on the local RCD configuration file of the equipment to be tested in the substation, that is, to generate a test list of telesignaling and telemetering with the correspondence between IEC61850 reference and 104 point number.
[0142] For example, the second data processing module in the second tester is used to generate a second correspondence between the point number and the reference address of the equipment to be tested in the substation based on the remote control RCD configuration file of the equipment to be tested in the substation, that is, a corresponding forwarding relationship table of telesignaling and telemetering with the correspondence between IEC61850 reference and 104 point number is generated, and a hash table is established to store data through a hash algorithm.
[0143] (1) Remote signal test process:
[0144] Operation 51, the equipment simulation module in the first tester performs MMS point position OFF->ON->OFF change number for each telesignaling test point in turn according to the telesignaling test list, and assigns the 104 point number to the seconds and milliseconds of the MMS telesignaling message time stamp, and records the MMS data sent at this time, the 104 point number and the MMS value (equipment operation value).
[0145] Operation 52: After receiving the MMS message sent by the device simulation module in the first tester, the telecontrol gateway simulation module in the second tester extracts the IEC61850 reference address information, the 104 point number in the message time stamp and the MMS value in the MMS message through a regular expression.
[0146] Operation 53, the second data processing module in the second tester quickly finds the 104 point number corresponding to the IEC61850 reference address in the MMS message in the pre-established hash table (second corresponding relationship) through a hash algorithm, and compares the point number with the 104 point number in the MMS message. If they are consistent, the MMS message is reorganized and transferred to the master station simulation module in the first tester as a 104 message, otherwise it is not transferred out.
[0147] Operation 54, after receiving the 104 message sent by the telecontrol gateway simulation module in the second tester, the master station simulation module in the first tester will check the received 104 message for consistency with the message data sent in the previous operation 51, record the 104 point number, IEC61850 reference address, 104 description, acceptance result (acceptance success / acceptance failure), and export the telesignaling acceptance test record.
[0148] The verification process in operation 54 includes a consistency check of the point number and the status value 104, which is as follows:
[0149] Compare the 104 point number corresponding to the IEC61850 reference address sent by the device simulation module in the first tester with the 104 point number in the 104 message sent by the remote control gateway simulation module in the second tester. If the 104 point numbers are consistent, it means that the correspondence between the IEC61850 reference address and the 104 point number of the remote control gateway is correctly configured, otherwise it is incorrect.
[0150] Compare the status value sent by the device simulation module in the first tester with the 104 status value in the 104 message sent by the remote control gateway simulation module in the second tester. If the status values are consistent, it means that the forwarding status value configuration of this 104 point of the remote control gateway is correct, otherwise it is incorrect.
[0151] If the verification results of point number 104 and status value are both passed, the remote signal test point is accepted successfully. Otherwise, if any verification result is inconsistent, the remote signal test point is accepted failed.
[0152] (2) Telemetry test process:
[0153] Operation 61, the device simulation module in the first tester counts the MMS point positions for each telemetry test point in turn according to the telemetry test list, and associates the 104 point number with the set value. The association relationship is telemetry MMS value = current 104 point number + feature code (feature code = telemetry value of the previous telemetry point / telemetry point number of the previous telemetry point. When the previous point number is 0, the feature code is 0). It is sent to the telecontrol gateway simulation module in the second tester via an MMS message, and the MMS data, 104 point number and MMS value sent at this time are recorded.
[0154] Operation 62: After receiving the MMS message sent by the device simulation module in the first tester, the telecontrol gateway simulation module in the second tester extracts the IEC61850 reference address information and MMS value in the MMS message through a regular expression, and extracts the 104 point number in the MMS value through a simple logical operation expression (i.e., the current 104 point number = telemetry MMS - feature code).
[0155] Operation 63, the second data processing module in the second tester quickly finds the 104 point number corresponding to the IEC61850 reference address in the MMS message in a pre-established hash table (second corresponding relationship) through a hash algorithm, and compares the point number with the 104 point number in the MMS message. If they are consistent, the MMS message is reorganized and transferred to the master station simulation module in the first tester as a 104 message, otherwise it is not transferred out.
[0156] Operation 64, after receiving the 104 message sent by the telecontrol gateway simulation module in the second tester, the master station simulation module in the first tester will check the received 104 message for consistency with the message data sent in the previous operation 61, record the 104 point number, IEC61850 reference address, 104 description, acceptance result (acceptance success / acceptance failure), and export the telemetry acceptance test record.
[0157] The verification process in operation 64 includes the consistency verification of point number 104 and telemetry value, which is as follows:
[0158] Compare the 104 point number corresponding to the IEC61850 reference address sent by the device simulation module in the first tester with the 104 point number in the 104 message sent by the remote control gateway simulation module in the second tester. If the 104 point numbers are consistent, it means that the correspondence between the IEC61850 reference address and the 104 point number of the remote control gateway is correctly configured, otherwise it is incorrect.
[0159] Compare the telemetry value sent by the device simulation module in the first tester with the 104 telemetry value in the 104 message sent by the telecontrol gateway simulation module in the second tester. If the telemetry values are consistent, it means that the forwarding telemetry value configuration of this 104 point of the telecontrol gateway is correct, otherwise it is incorrect.
[0160] If both the point number 104 and the telemetry value verification results are passed, then this telemetry test point is accepted successfully. Otherwise, if any of the verification results are inconsistent, then this telemetry test point is accepted failed.
[0161] According to an embodiment of the present invention, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments of the present invention can be combined and / or combined in a variety of ways, even if such a combination or combination is not clearly recorded in the present invention. In particular, without departing from the spirit and teachings of the present invention, the features described in the various embodiments of the present invention may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present invention.
[0162] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment is described above, it does not mean that the measures in each embodiment cannot be used in combination advantageously. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.
Claims
1. A telecontrol gateway offline closed-loop test method, applied to a telecontrol gateway offline closed-loop test system, characterized in that: The telecontrol gateway offline closed-loop test system comprises a first tester and a second tester, wherein the first tester is used to simulate the equipment to be tested and the master station in the substation, and the second tester is used to simulate the telecontrol gateway. The telecontrol gateway offline closed-loop test method comprises: Establishing a communication connection between the first tester and the second tester; The first tester performs a simulation test on the device under test, generates a first message based on the simulation test result and the first corresponding relationship, and sends the first message to the second tester to simulate a first communication scenario in which the device under test communicates with the telecontrol gateway at the station control layer, wherein the first corresponding relationship is generated based on a local remote control configuration file, and the local remote control configuration file is identified as correct configuration information; Using the second tester to generate a first verification result for a telecontrol remote control configuration file in the first communication scenario based on the first message and the second corresponding relationship, wherein the second corresponding relationship is generated based on the telecontrol remote control configuration file, and the telecontrol remote control configuration file is configuration information to be verified; If the first verification result is that the verification is passed, the second tester performs data processing on the first message based on the telecontrol remote control configuration file to generate a second message, and sends the second message to the first tester to simulate a second communication scenario in which the master station communicates with the telecontrol gateway in the dispatching network; Using the first tester, performing consistency check on the first message sent and the second message received, so as to generate a second verification result for the telecontrol configuration file in the second communication scenario; Based on the first verification result and the second verification result, a test result for the telecontrol gateway is generated.
2. The method according to claim 1, characterized in that: The local remote control configuration file includes: first configuration information related to the point number of the device under test, the reference address of the device under test, and the data format of the operation result of the device under test; The telecontrol configuration file includes: second configuration information related to the point number of the device under test, the reference address of the device under test, and the data format of the operation result of the device under test; The first corresponding relationship is used to represent a first corresponding relationship between the point number of the device under test and the reference address; The second corresponding relationship is used to represent a second corresponding relationship between the point number of the device under test and the reference address; The first message includes a target reference address of the device under test, a first point number corresponding to the target reference address, and a first operation value used to characterize an operation result of the device under test; The second message includes a target reference address of the device under test, a second point number corresponding to the target reference address, and a second operation value used to represent an operation result of the device under test.
3. The method according to claim 2, characterized in that Using the second tester to generate a first verification result for the telecontrol configuration file in the first communication scenario based on the first message and the second corresponding relationship includes using the second tester to perform the following operations: Parsing the first message to extract a first point number corresponding to the target reference address; Based on the second corresponding relationship, determining a reference point number corresponding to the target reference address; A consistency check is performed on the first point number and the reference point number to generate the first verification result.
4. The method according to claim 2, characterized in that: Using the first tester to perform consistency check on the first message sent and the second message received includes using the first tester to perform the following operations: Based on the first message, extracting a first point number corresponding to the target reference address; Based on the second message, extracting a second point number corresponding to the target reference address; A consistency check is performed on the first point number and the second point number.
5. The method according to claim 4, characterized in that Using the first tester to perform consistency check on the first message sent and the second message received also includes using the first tester to perform the following operations: Extracting, based on the first message, a first operation value used to characterize an operation result of the device under test; Extracting, based on the second message, a second operation value used to characterize an operation result of the device under test; A consistency check is performed on the first operating value and the second operating value.
6. The method according to claim 2, characterized in that In the case where the simulation test includes a remote signaling test, generating the first message based on the simulation test result and the first corresponding relationship includes: Based on the first corresponding relationship, determining a first point number corresponding to the target reference address; Based on the simulation test result of the remote signaling test, determining a first operating value for characterizing the operating state value of the device under test; The first point number is assigned to the time stamp part of the first message, and the target reference address of the device under test and the first operating value are recorded in the first message.
7. The method according to claim 4, characterized in that In a case where the simulation test includes a telemetry test, generating the first message based on the simulation test result and the first corresponding relationship includes: Based on the first corresponding relationship, determining a first point number corresponding to the target reference address; Generate a signature code based on the simulation test result of the telemetry test and the first point number; Based on the first point number and the feature code, generating a first operation value for characterizing the operation feature value of the device under test, wherein information of the first point number is hidden in the first operation value; The target reference address of the device under test and the first operating value are recorded in the first message.
8. The method according to claim 7, characterized in that In the case where the simulation test includes a telemetry test, extracting a first point number corresponding to the target reference address based on the first message includes: Get the feature code; The first point number is calculated based on the feature code and the first running value in the first message.
9. The method according to claim 2, characterized in that: The method further comprises: The second tester establishes a forwarding correspondence table based on the second correspondence, using the reference address of the device under test as a primary key and the point number of the device under test as a key value, and stores data in the forwarding correspondence table.
10. The method according to claim 1, characterized in that Establishing a communication connection between the first tester and the second tester includes: Establishing a communication connection from the first tester to the second tester based on a first communication protocol; Establishing a communication connection from the second tester to the first tester based on a second communication protocol; The first communication protocol is the MMS communication protocol; The second communication protocol is the IEC60870-5-104 communication protocol.
Citation Information
Patent Citations
System and method for automatically generating telecontrol configuration description file RCD
CN110231957A
Intelligent substation monitoring information automatic acceptance method and system
CN112366818A