Method and device for verifying information consistency before and after upgrading, terminal equipment and storage medium

By combining pre-built conversion tools and simulation testing environments, the consistency of information before and after the substation monitoring backend upgrade is automatically verified, solving the problem of low efficiency of manual verification, improving the reliability and efficiency of substation monitoring backend upgrades, and ensuring the safety and stability of the power system.

CN121008971APending Publication Date: 2025-11-25CYG SUNRI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511057599.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-28
Publication Date
2025-11-25

AI Technical Summary

Technical Problem

During the upgrade of the existing substation monitoring backend, the manual verification method is inefficient, costly, and prone to errors, affecting the normal operation of the substation and the reliability of the power system.

Method used

A pre-built conversion tool is used to automatically obtain the static configuration information of the old and new monitoring backends. The consistency of information before and after the monitoring backend upgrade is verified by comparison and simulation test environment. Combined with offline static verification and online dynamic verification, the consistency of data before and after the monitoring backend upgrade is ensured.

Benefits of technology

It enables intelligent, efficient, and accurate verification of data consistency before and after the upgrade of the monitoring backend, improves the reliability of the substation monitoring backend upgrade process and the efficiency of engineering implementation, and ensures the safe and stable operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121008971A_ABST
    Figure CN121008971A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of transformer substations, and provides a method and device for verifying information consistency before and after upgrading, terminal equipment and a storage medium, and the method comprises the steps: obtaining new monitoring static configuration information from an upgraded new monitoring background, and obtaining old monitoring static configuration information from an old monitoring background before upgrading through a prefabricated conversion tool; comparing the new and old monitoring static configuration information, and verifying whether the monitoring static configuration information before and after upgrading of the monitoring background is consistent or not; if the monitoring static configuration information before and after upgrading of the monitoring background is consistent, acquiring a system configuration description file of an old monitoring background; and in a simulation test environment constructed based on the system configuration description file, based on old monitoring static configuration information, verifying whether the monitoring dynamic response information before and after upgrading of the monitoring background is consistent or not. According to the method, verification of data consistency before and after upgrading of the monitoring background can be intelligently, efficiently and accurately realized, and the reliability of the upgrading process of the monitoring background of the transformer substation and the engineering implementation efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of substations, and in particular to a method and device for verifying information consistency before and after upgrading, a terminal device, and a storage medium. BACKGROUND

[0002] As an important part of the power system, a substation has a complex and diverse system architecture, and usually includes multiple key parts such as primary equipment and secondary equipment. Among them, the primary equipment directly participates in power generation, transmission and distribution, the secondary equipment undertakes important functions such as monitoring, control and protection of the operation state of the substation, and the monitoring background system is the core platform for centralized management and monitoring of the secondary equipment. With the increase of the operation life of the substation and the continuous emergence of function upgrading requirements, especially under the background of the construction of the new generation of substations that emphasize self-controllability and safety and reliability, it is particularly important to upgrade and transform the monitoring system of the substation, which not only can improve the intelligent level of the substation, but also can better guarantee the stable operation of the power system and the power supply quality.

[0003] The monitoring background is usually located at the station control layer of the substation, and it mainly focuses on local monitoring and operation of the equipment in the substation. In the past upgrading process of the monitoring background system of the substation, the verification of information consistency before and after upgrading usually relies on manual signal point checking and function verification, or uses the method of comparing the new and old monitoring backgrounds. However, these methods have many problems: the manual verification method is tedious to operate, not only low in efficiency, but also high in labor cost due to the need for a large number of human resources, and prone to omissions and errors, which has certain safety hazards, thereby affecting the normal operation of the substation and the reliability of the power system.

[0004] Therefore, how to intelligently and efficiently verify the data consistency before and after upgrading of the monitoring background, and improve the reliability and engineering implementation efficiency of the upgrading process of the monitoring background of the substation. SUMMARY

[0005] The embodiments of the present application provide a method and device for verifying information consistency before and after upgrading, a terminal device, and a storage medium, which can intelligently and efficiently verify the data consistency before and after upgrading of the monitoring background, and improve the reliability and engineering implementation efficiency of the upgrading process of the monitoring background of the substation.

[0006] In a first aspect, the embodiments of the present application provide a method for verifying information consistency before and after upgrading, comprising:

[0007] obtaining new monitoring static configuration information from an upgraded new monitoring background, and obtaining old monitoring static configuration information from a pre-upgraded old monitoring background through a pre-prepared conversion tool, the new monitoring static configuration information being used to represent a static configuration state of the new monitoring background, and the old monitoring static configuration information being used to represent a static configuration state of the old monitoring background;

[0008] comparing the old monitoring static configuration information with the new monitoring static configuration information, and verifying whether the monitoring static configuration information before and after the upgrade of the monitoring background is consistent;

[0009] if the monitoring static configuration information before and after the upgrade of the monitoring background is consistent, obtaining a system configuration description file of the old monitoring background;

[0010] in a simulation test environment, verifying whether monitoring dynamic response information before and after the upgrade of the monitoring background is consistent based on the old monitoring static configuration information, wherein the simulation test environment is constructed based on the system configuration description file.

[0011] In a possible implementation manner of the first aspect, the monitoring static configuration information comprises a database information file and a picture signal file.

[0012] The comparison of the old monitoring static configuration information with the new monitoring static configuration information, and the verification of whether the monitoring static configuration information before and after the upgrade of the monitoring background is consistent, comprises:

[0013] comparing configuration parameter data items in the old database information file with the new database information file, and verifying whether configuration parameter information before and after the upgrade of the monitoring background is consistent;

[0014] comparing the old picture signal file with the new picture signal file, and verifying whether monitoring picture information before and after the upgrade of the monitoring background is consistent.

[0015] In a possible implementation manner of the first aspect, the monitoring static configuration information comprises a database information file, and the monitoring dynamic response information comprises telemetry and telecontrol information.

[0016] The verification of whether the monitoring dynamic response information before and after the upgrade of the monitoring background is consistent based on the old monitoring static configuration information comprises:

[0017] reading telemetry and telecontrol information in the old database information file and triggering in sequence;

[0018] recording the triggered telemetry and telecontrol information and generating a first data point change record file corresponding to the triggered telemetry and telecontrol information;

[0019] obtaining a second data point change record file generated by the new monitoring background based on the sequentially triggered telemetry and telecontrol information;

[0020] The first data point change record file and the second data point change record file are compared, and the full station signal of the upgraded new monitoring background is verified.

[0021] In a possible implementation of the first aspect, the monitoring static configuration information comprises a picture signal file, and the monitoring dynamic response information comprises picture response information.

[0022] The monitoring dynamic response information before and after the monitoring background is upgraded is verified based on the old monitoring static configuration information, and the verification comprises:

[0023] Telemetering and telecontrol information on a picture in the old picture signal file is read and triggered in sequence.

[0024] Picture response information corresponding to the triggered telemetering and telecontrol information is recorded, and a first picture change record file corresponding to the picture response information is generated.

[0025] A second picture change record file generated by the new monitoring background is acquired, and the second picture change record file comprises picture response information of the new monitoring background for the triggered telemetering and telecontrol information.

[0026] The first picture change record file and the second picture change record file are compared, and the picture signal of the upgraded new monitoring background is verified.

[0027] In a possible implementation of the first aspect, the monitoring static configuration information comprises a picture signal file, and the monitoring dynamic response information comprises remote control information.

[0028] The monitoring dynamic response information before and after the monitoring background is upgraded is verified based on the old monitoring static configuration information, and the verification comprises:

[0029] A remote control instruction sent by the new monitoring background based on remote control information in the old picture signal file is received, and a first remote control record file is generated.

[0030] A second remote control record file of the new monitoring background is acquired, and the second remote control record file comprises a record of the new monitoring background sending a remote control instruction based on the remote control information in the old picture signal file.

[0031] The first remote control record file and the second remote control record file are compared, and the remote control signal of the upgraded new monitoring background is verified.

[0032] In a possible implementation of the first aspect, the verification of whether the monitoring dynamic response information before and after the monitoring background is upgraded is consistent further comprises:

[0033] Compare the dynamic response time of the new monitoring background with the dynamic response time in the simulation test environment;

[0034] If the time difference of the dynamic response time does not exceed the preset response time threshold, it is determined that the consistency check verification of the dynamic response time of the new monitoring background is passed.

[0035] If the time difference of the dynamic response time exceeds the preset response time threshold, it is determined that the consistency check verification of the dynamic response time of the new monitoring background is not passed.

[0036] In a possible implementation manner of the first aspect, the simulation test environment is constructed based on the system configuration description file, including:

[0037] The system configuration description file is parsed to extract the substation device configuration, the network topology structure, and the communication protocol configuration.

[0038] The simulation test environment is built according to the extracted substation device configuration, the network topology structure, and the communication protocol configuration.

[0039] In the second aspect, the embodiments of the present application provide an information consistency verification method before and after upgrading, and the method comprises the steps of:

[0040] A configuration information acquisition unit is configured to acquire new monitoring static configuration information from a new monitoring background after upgrading and acquire old monitoring static configuration information from an old monitoring background before upgrading through a prefabricated conversion tool, wherein the new monitoring static configuration information is used to represent a static configuration state of the new monitoring background, and the old monitoring static configuration information is used to represent a static configuration state of the old monitoring background.

[0041] An offline static verification unit is configured to compare the old monitoring static configuration information with the new monitoring static configuration information and verify whether the monitoring static configuration information before and after upgrading of the monitoring background is consistent.

[0042] A system file acquisition and parsing unit is configured to acquire a system configuration description file of the old monitoring background if the monitoring static configuration information before and after upgrading of the monitoring background is consistent.

[0043] An online dynamic verification unit is configured to verify whether the monitoring dynamic response information before and after upgrading of the monitoring background is consistent in a simulation test environment based on the old monitoring static configuration information, wherein the simulation test environment is constructed based on the system configuration description file.

[0044] In the third aspect, the embodiments of the present application provide a terminal device, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the information consistency verification method before and after upgrading of the first aspect when executing the computer program.

[0045] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the pre-and-post-upgrade information consistency verification method according to the first aspect.

[0046] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the pre-and-post-upgrade information consistency verification method according to the first aspect.

[0047] In the embodiment of the present application, the new monitoring background after the upgrade is verified from the basic configuration to the actual operation in an all-round way by combining offline static verification and online dynamic verification, so as to avoid the risk of false control and rejection caused by the upgrade, intelligently and efficiently and accurately verify the data consistency of the monitoring background before and after the upgrade, and thus improve the reliability and engineering implementation efficiency of the upgrade process of the monitoring background of the substation, and finally ensure the safe and stable operation of the substation and the entire power system. BRIEF DESCRIPTION OF DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0049] Figure 1 is an implementation flowchart of the pre-and-post-upgrade information consistency verification method provided by the embodiment of the present application;

[0050] Figure 2 is a specific implementation flowchart of step S102 in the pre-and-post-upgrade information consistency verification method provided by the embodiment of the present application;

[0051] Figure 2.1 is a scene schematic diagram of offline static configuration consistency verification in the pre-and-post-upgrade information consistency verification method provided by the embodiment of the present application;

[0052] Figure 3 is a specific implementation flowchart of checking and verifying the whole-station signal in the pre-and-post-upgrade information consistency verification method provided by the embodiment of the present application;

[0053] Figure 3.1 is a scene schematic diagram of checking and verifying the whole-station signal in the pre-and-post-upgrade information consistency verification method provided by the embodiment of the present application;

[0054] Figure 4is a specific implementation flowchart of the verification picture signal in the consistency verification method before and after the upgrade provided by the embodiment of the present application;

[0055] Figure 4.1 is a scene schematic diagram of the verification remote control signal in the consistency verification method before and after the upgrade provided by the embodiment of the present application;

[0056] Figure 5 is a specific implementation flowchart of the verification remote control signal in the consistency verification method before and after the upgrade provided by the embodiment of the present application;

[0057] Figure 5.1 is a scene schematic diagram of the verification remote control signal in the consistency verification method before and after the upgrade provided by the embodiment of the present application;

[0058] Figure 6 is a specific implementation flowchart of the verification dynamic response time in the consistency verification method before and after the upgrade provided by the embodiment of the present application;

[0059] Figure 7 is a structure block diagram of the consistency verification device before and after the upgrade provided by the embodiment of the present application;

[0060] Figure 8 is a schematic diagram of the terminal device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0061] In the following description, specific details are set forth such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, persons skilled in the art will understand that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0062] It should be understood that the term "comprising" as used in the specification and in the claims indicates the presence of the recited features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0063] It should also be understood that the term "and / or" as used in the specification and in the claims indicates any combination of one or more of the associated listed items and all possible combinations of the items.

[0064] As used in the specification and the appended claims, the term "if' can be interpreted as meaning "when" or "upon" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [the described condition or event] is detected" can be interpreted as meaning "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]" depending on the context.

[0065] In addition, in the description of the present application and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0066] Reference in the specification to "one embodiment" or "some embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrases "in one embodiment", "in some embodiments", "in other embodiments", "in additional embodiments", and so on, in various places in the specification are not necessarily all referring to the same embodiment, unless otherwise specifically stated. The terms "comprising", "including", "having" and their variants mean "including but not limited to", unless otherwise specifically stated.

[0067] The upgrade pre-and-post information consistency verification method provided by the embodiments of the present application is applicable to various types of terminal devices that need to perform upgrade pre-and-post information consistency verification. The terminal device can specifically include a mobile phone, a tablet computer, a wearable device, a notebook computer, an ultra-mobile personal computer (UMPC), a desktop computer, an interactive large screen, a server, and the like. The embodiments of the present application do not make any limitation on the specific type of the terminal device.

[0068] Figure 1 The implementation flow of the upgrade pre-and-post information consistency verification method provided by the embodiments of the present application is shown, and the method flow includes steps S101 to S104. In the present embodiment, the execution subject of the flow is a terminal device, and the specific implementation principle of each step is as follows:

[0069] Step S101: Obtain new monitoring static configuration information from a new monitoring background after upgrade, and obtain old monitoring static configuration information from an old monitoring background before upgrade through a prefabricated conversion tool.

[0070] The new monitoring background refers to the upgraded monitoring background, and the old monitoring background refers to the monitoring background before upgrading. The monitoring static configuration information covers the basic configuration parameters required for system operation and is the basis for subsequent verification. The old monitoring static configuration information is used to represent the static configuration state of the old monitoring background, and the new monitoring static configuration information is used to represent the static configuration state of the new monitoring background.

[0071] The prefabricated conversion tool is a pre-developed program module with automatic data extraction function, which can quickly export data information from the monitoring background system according to the established data format and interface protocol, and can adapt to different versions of the data storage format of the monitoring background (such as XML, JSON, etc.). The core function is to automatically extract data according to the preset protocol to avoid manual operation and ensure data integrity and accuracy.

[0072] In a possible implementation, the prefabricated conversion tool is used to automatically export the old monitoring static configuration information from the data information of the old monitoring background.

[0073] In a possible implementation, the new monitoring static configuration information is directly exported by using the export function of the new monitoring background. Alternatively, the prefabricated conversion tool is used to automatically export the new monitoring static configuration information from the data information of the new monitoring background.

[0074] When the traditional monitoring background is upgraded, the old monitoring background needs to be upgraded to the old background program version that can generate a record file, and the information consistency verification is performed together with the new monitoring background. This method needs to upgrade two programs of the old monitoring background: the upgraded old monitoring background and the upgraded new monitoring background, which is complicated and has large changes. The prefabricated conversion tool is used to obtain the old monitoring static configuration information from the old monitoring background, without the need to upgrade the old monitoring background. Moreover, the prefabricated conversion tool is used to obtain the new and old static configuration information, which avoids the tediousness and mistakes of manual operation, greatly improves the efficiency of information collection, and lays a foundation for intelligent and efficient verification.

[0075] Step S102: Comparing the old monitoring static configuration information with the new monitoring static configuration information, verifying whether the monitoring static configuration information before and after the upgrade of the monitoring background is consistent.

[0076] In the embodiments of the present application, the consistency of the static configuration before and after the upgrade of the monitoring background is ensured by comparing and verifying whether the monitoring static configuration information before and after the upgrade of the monitoring background is consistent. If the monitoring static configuration information before and after the upgrade of the monitoring background is consistent, it is determined that the static configuration upgrade is successful. If the monitoring static configuration information before and after the upgrade of the monitoring background is inconsistent, it is determined that the upgrade of the monitoring background fails.

[0077] In a possible implementation, the new monitoring static configuration information is compared with the old monitoring static configuration information by using a multi-data-source offline processing tool.

[0078] In a possible implementation, if the monitoring static configuration information of the monitoring background before and after the upgrade is inconsistent, a comparison difference report is output, and the comparison difference report is used to guide the correction of the new monitoring static configuration information of the new monitoring background until the new monitoring static configuration information is consistent with the old monitoring static configuration information.

[0079] Specifically, the monitoring static configuration information includes a database information file and a picture signal file. As a possible implementation of the present application, Figure 2 A specific implementation process of step S102 in the upgrade-before-and-after information consistency verification method provided by the embodiments of the present application is shown, and is described in detail as follows:

[0080] A1: Compare the configuration parameter data items in the old database information file and the new database information file, and verify whether the configuration parameter information of the monitoring background before and after the upgrade is consistent.

[0081] A2: Compare the old picture signal file and the new picture signal file, and verify whether the monitoring picture information of the monitoring background before and after the upgrade is consistent.

[0082] During the comparison of static configuration information between the old and new monitoring systems, on the one hand, the configuration parameter data items in the old and new database information files are compared. These data items include plant parameters (plant name, voltage level), voltage level type, interval attributes (interval name, voltage level of the interval), primary equipment parameters (primary equipment name and description, interval name), secondary equipment parameters (secondary equipment name and description, interval name), telemetry ratio (signal name, reference, ratio), remote signaling index (signal name, MMS index, whether to invert), and remote control strategy (signal name, reference, remote signaling associated with remote control, control mode), etc. This ensures that these key configuration parameters remain consistent before and after the upgrade, avoiding system operation logic errors caused by parameter changes. For example, an incorrect telemetry ratio may lead to distorted measurement data, and an incorrect remote control strategy may cause misoperation. Accurate comparison can effectively avoid such risks and ensure the accuracy of data processing and control logic in the monitoring system. On the other hand, by comparing the old and new video signal files, we can check whether the monitoring screen information, such as the layout of graphic elements (graphic element type, graphic element position (x,y)), signal association (reference of graphic element associated signal, graphic element associated signal ID, signal description), and remote control information (remote control reference, remote control associated signal), is consistent. This ensures the accuracy and consistency of the monitoring screen display. By comparing the old and new video signal files, we can promptly identify and correct screen configuration problems, ensure that the monitoring screen is synchronized with the actual equipment status, improve the reliability of human-machine interaction, and provide operators with an accurate and stable visual monitoring interface.

[0083] In one possible implementation, since the converted primitives may have positional offsets or size changes, an error of a preset number of pixels (e.g., 100 pixels) is allowed in the (x, y) coordinates of the primitives. This error can be customized according to the actual application scenario and user requirements.

[0084] This application's embodiments employ a structured data comparison algorithm to verify key data items in the new and old monitoring static configuration information item by item. The comparison process can set a tolerance range and make a reasonable judgment on parameters that are not completely accurate matches. It also supports multi-dimensional cross-validation (such as the correlation verification between database parameters and the mapping relationship between screen signals).

[0085] For example, taking an application scenario as an example, such as Figure 2.1 As shown, the old video signal file and old database information file are read from the monitoring backend A before the upgrade using a conversion tool. The database / video of the monitoring backend A are automatically converted and upgraded using the conversion tool to obtain the upgraded monitoring backend B. The new video signal file and new database information file are then obtained from the monitoring backend B. The consistency of the new and old video signal files and the new and old database information files is then checked by comparing them.

[0086] By comprehensive comparison of static configuration information, configuration differences such as parameter error modification and signal mapping relationship loss can be accurately identified at the initial stage of system upgrade, and these potential risks can be found and corrected in time, so as to avoid logic errors of the monitoring system caused by inconsistent basic configurations (such as signal display abnormalities and control strategy invalidation), avoid the influence of static configuration problems on subsequent operation, significantly improve the reliability of the substation monitoring background upgrade process, reduce subsequent debugging costs and time consumption, and further improve the engineering implementation efficiency.

[0087] Step S103: If the monitoring static configuration information before and after the monitoring background upgrade is consistent, the system configuration description file of the old monitoring background is obtained.

[0088] If the monitoring static configuration information before and after the monitoring background upgrade is consistent, it means that the static configuration state of the new monitoring background is not affected by the upgrade process. On this basis, the system configuration description (SCD) file of the old monitoring background can be obtained by importing. The SCD file is a core configuration file based on the IEC 61850 standard, including device configuration, network topology structure, communication protocol configuration and other key information of the substation, and is the basis for building a simulation test environment.

[0089] Step S104: In the simulation test environment, based on the old monitoring static configuration information, it is verified whether the monitoring dynamic response information before and after the monitoring background upgrade is consistent.

[0090] In the embodiment of the application, a simulation test environment is constructed based on the system configuration description file in advance. By analyzing the system configuration description file, the substation device configuration, network topology structure and communication protocol configuration are extracted, and based on the extracted substation device configuration, network topology structure and communication protocol configuration, a simulation test environment is built on a terminal device, which can be the upgraded new monitoring background. The simulation test environment includes device models, communication parameters and the like, and can simulate the actual operation of the substation. By constructing a simulation test environment, a safe and controllable test platform is provided for dynamic response verification, the credibility of the verification result is improved, and the efficiency and accuracy of the verification process are further ensured.

[0091] As a possible implementation manner of the application, the monitoring static configuration information includes a database information file, and the monitoring dynamic response information includes telemetry and telesignaling information.

[0092] The database information file stores key parameters related to telemetry and telecontrol, such as the range of the telemetry signal, the conversion coefficient, the node definition of the telecontrol signal, the state code and the like, as a part of the monitoring static configuration information, which are the basis for interpreting the actual physical meaning of the telemetry and telecontrol. The telemetry information refers to the real-time analog quantity data of the operation of the substation equipment, such as voltage, current, power and the like; the telecontrol information refers to the state signal of the equipment, such as the opening and closing state of the switch, the action signal of the protection device and the like, and the telemetry and telecontrol information can reflect the running parameters and state changes of the equipment.

[0093] Figure 3 A specific implementation process of checking and verifying the signals of the whole station in the information consistency verification method before and after the upgrade provided by the embodiment of the application is shown, and is described in detail as follows:

[0094] B1: reading the telemetry and telecontrol information in the old database information file and triggering in sequence.

[0095] In this embodiment, the configuration parameters and signal values of the telemetry and telecontrol can be extracted piece by piece according to the table structure and index rules of the database, and a signal triggering sequence is generated according to the preset triggering logic (such as the incremental change of the analog telemetry signal from the minimum value to the maximum value, or the state flip of the telecontrol in sequence according to the interval order of the equipment), and the signals are triggered in sequence.

[0096] Reading and triggering the telemetry and telecontrol information from the old database information file can ensure that the verification process is based on the original and accurate static configuration parameters, and avoid inaccurate verification caused by parameter errors.

[0097] B2: recording the triggered telemetry and telecontrol information and generating a first data point change record file corresponding thereto.

[0098] During the triggering of the telemetry and telecontrol, the change information of each signal point is captured in real time, including the signal value, the triggering time, the state flag and the like, and these change information is stored as a first data point change record file in a specific data format (such as CSV, JSON), which records the expected change of the telemetry and telecontrol information in the simulation test environment.

[0099] B3: obtaining a second data point change record file generated by the new monitoring background based on the sequentially triggered telemetry and telecontrol information.

[0100] The terminal equipment establishes MMS communication with the new monitoring background after the upgrade, transmits the triggered telemetry and telecontrol information to the new monitoring background through the interface of the standard communication protocol, and the new monitoring background processes the information after receiving the information and records the response information of the new monitoring background to the telemetry and telecontrol information, to form a second data point change record file, which contains the telemetry and telecontrol change information actually collected and processed by the new monitoring background.

[0101] B4: Comparing the first data point change record file with the second data point change record file, the whole station signal of the upgraded new monitoring background is verified.

[0102] By comparing the information in the two data point change record files, the whole station signal of the upgraded new monitoring background is verified. In this process, by simulating the signal change in actual operation, it can be verified whether the collection, transmission and processing of telemetry and telecontrol data by the new monitoring background are accurate, to ensure the consistency of the whole station signal and the accuracy of real-time monitoring of the system on the running state of the equipment.

[0103] In a possible implementation, a data comparison algorithm is used to compare the signal values, time stamps, state identifiers and other key data items in the two data point change record files item by item, and a certain tolerance range (such as a ±5% error of the telemetry value) can be set to determine whether the collection, transmission and processing of telemetry and telecontrol information by the upgraded new monitoring background are accurate. If the comparison result is that there is a difference and the difference is not within the tolerance range, it is determined that the collection, transmission and processing of telemetry and telecontrol information by the upgraded new monitoring background are incorrect; if the comparison result is no difference (including the difference within the tolerance range), it is determined that the collection, transmission and processing of telemetry and telecontrol information by the upgraded new monitoring background are correct, and the whole station signal of the upgraded new monitoring background is accurate and effective. For example, if the telemetry value recorded by the new monitoring background deviates from the expected value in the first data point change record file beyond the tolerance range, it may mean that the range conversion algorithm is incorrect or the communication link is disturbed; if the time stamp of the telecontrol state change does not match the expected value, there may be signal transmission delay or processing lag.

[0104] Exemplarily, an application scenario is taken as an example, as shown in Figure 3.1 The terminal equipment carrying the simulation test system reads the old database information file of the old monitoring background, triggers the telemetry and telecontrol information in sequence, records the change data of each signal point in the signal triggering process, generates a data point change record file B, acquires a data point change record A generated by the new monitoring background based on the sequentially triggered telemetry and telecontrol information, and performs online consistency verification based on the data point change record A and the data point change record B.

[0105] In the embodiments of the present application, through special verification of telemetering and telecontrol information, a comprehensive checking mechanism for the core data transmission link of the substation monitoring system is constructed. By comparing two record files to check and verify the signals of the whole station, the abnormal points of the new monitoring background in the telemetering and telecontrol data processing link can be accurately located, so that the upgraded system can accurately and timely reflect the operation state of the substation equipment, avoid equipment fault diagnosis errors and protection device misoperation caused by signal distortion or misjudgment, and effectively guarantee the reliability and stability of the substation monitoring system, which is of great significance to improve the safe operation level of the power system, and also reduces the time and cost of manual signal problem checking, and improves the engineering implementation efficiency.

[0106] As a possible implementation manner of the present application, the monitoring static configuration information includes a picture signal file, and the monitoring dynamic response information includes picture response information. The picture signal file stores the visual configuration data of the monitoring interface, including the type of a graphic element (such as a circuit breaker, a transformer, and a bus graphic element), a spatial coordinate position, a mapping relationship between the graphic element and the telemetering and telecontrol signal (that is, an actual device signal ID associated with each graphic element), a picture hierarchical structure, and the like, which is the basis for monitoring picture rendering and interaction. The picture response information refers to the display state update data of the corresponding graphic element in the monitoring picture when the telemetering and telecontrol signal changes, for example, color change of a switch graphic element (green for opening and red for closing), value label refreshing, alarm flickering prompt, and the like visual feedback.

[0107] Figure 4 A specific implementation process of the picture signal checking and verification by the information consistency verification method before and after the upgrade provided by the embodiments of the present application is shown, and the details are as follows:

[0108] C1: Read the telemetering and telecontrol information on the picture in the old picture signal file and trigger in sequence.

[0109] The old picture signal file is read, the telemetering and telecontrol signal identification associated with each graphic element is extracted, and then a signal triggering sequence is generated according to the picture layout or device logical order. For example, according to the interval order of the main wiring diagram of the substation, the telemetering and telecontrol state flip signals corresponding to each switch are triggered in turn, or the related telemetering signal value is updated by simulating the load change of the transformer.

[0110] The telemetering and telecontrol information is obtained from the old picture signal file and triggered, so as to ensure that the verification is based on the original correct picture configuration relationship, and avoid verification deviation caused by configuration errors.

[0111] C2: Record the picture response information corresponding to the triggered telemetering and telecontrol information, and generate a first picture change record file corresponding thereto.

[0112] In the telemetry and telecontrol trigger process, the display state changes of each graphic element in the picture are captured in real time, including graphic element color, shape, position, numerical label content, dynamic effect (such as flicker, animation) and the like, and a first picture change record file is generated in a specific format (such as XML or JSON), which records the correct display changes of the picture based on the old picture signal file configuration.

[0113] C3: Obtain a second picture change record file generated by the new monitoring background. The second picture change record file includes picture response information of the new monitoring background for the triggered telemetry and telecontrol information.

[0114] The terminal device establishes MMS communication with the upgraded new monitoring background, transmits the triggered telemetry and telecontrol information to the new monitoring background through an interface conforming to a standard communication protocol, and the new monitoring background updates the picture display according to its own picture configuration logic after receiving the information, and records the actual display state changes of each graphic element in the picture to generate a second picture change record file, which reflects the picture response result of the new monitoring background after upgrading to the same telemetry and telecontrol information.

[0115] C4: Compare the picture response information in the first picture change record file and the second picture change record file to verify the picture signal of the upgraded new monitoring background.

[0116] By comparing the picture response information in the two picture change record files, the picture signal of the upgraded new monitoring background is verified to ensure that the monitoring picture can correctly display when the signal changes, realize the synchronization of the human-computer interaction interface and the actual device state, and improve the accuracy of the operator's intuitive perception of the system running state.

[0117] In a possible implementation, an algorithm combining image feature comparison and data verification is used, which not only compares the attribute parameters (such as color code, coordinate value, numerical label text) of each graphic element in the picture, but also verifies whether the trigger logic (such as alarm flicker frequency, animation play sequence) of the dynamic effect is consistent. For coordinate values and the like, a tolerance range (such as ±100 pixels) can be set to allow a certain display layout error. If the comparison result is that there is a difference and the difference is not within the tolerance range, it is determined that the picture response result of the new monitoring background after upgrading to the same telemetry and telecontrol information is incorrect; if the comparison result is no difference (including the difference within the tolerance range), it is determined that the picture response result of the new monitoring background after upgrading to the same telemetry and telecontrol information is correct, and the picture signal of the new monitoring background after upgrading is accurate and effective. For example, if the color of the switch graphic element in the second picture change record file of the new monitoring background does not change as expected, it may mean that the signal-graphic element mapping relationship has an error after upgrading; if the numerical label is not refreshed in time, there may be a picture data update delay problem.

[0118] Exemplarily, taking an application scenario as an example, as shown in the figure, the terminal equipment carrying the simulation test system reads the old picture signal file of the old monitoring background, triggers the telemetering and telecontrol information in sequence, records the change data of each signal point picture in the signal triggering process, generates a picture change record file B, acquires a picture change record file A generated by the new monitoring background in response to the telemetering and telecontrol information triggered in sequence, and performs online consistency checking based on the picture change record file A and the picture change record file B. Figure 4.1

[0119] In the embodiments of the present application, through special verification of picture signals, the verification blank in the visual level of the monitoring system is filled, and the reliability of human-computer interaction is significantly improved. By comparing and verifying the two record files, the abnormality of the new monitoring background in the picture display link can be accurately located, and it is ensured that the monitoring picture always accurately and timely reflects the equipment operation state. This is crucial for substation operation and maintenance personnel, avoids the risk of misjudgment and misoperation caused by picture display errors, and ensures the safe and stable operation of the power system. At the same time, the automatic picture signal verification greatly reduces the workload of manual picture-by-picture checking, and significantly improves the engineering implementation efficiency of the substation monitoring background upgrade.

[0120] As a possible implementation manner of the present application, the monitoring static configuration information includes a picture signal file, and the monitoring dynamic response information includes remote control information. The picture signal file also stores configuration data related to remote control operation, such as remote control button icon position, associated device remote control point number, operation permission identifier, five-prevention locking logic reference, etc. The remote control information includes full-process data such as initiation, transmission, execution feedback of remote control instructions, including instruction content (such as circuit breaker opening / closing command), operation time, execution state (success / failure), error code (if execution fails), and other key information.

[0121] Figure 5 A specific implementation process of checking and verifying the remote control signal in the information consistency verification method before and after the upgrade provided by the embodiments of the present application is shown, and is described in detail as follows:

[0122] D1: receiving the remote control instruction sent by the new monitoring background based on the remote control information in the old picture signal file, and generating a first remote control record file.

[0123] The remote control instruction initiated by the new monitoring background according to the remote control information in the old picture signal file is captured in real time. When the remote control instruction sent by the new monitoring background is received, the key information (instruction content, sending time, source address, etc.) of the instruction is stored as a first remote control record file in a predetermined format (such as CSV or XML) through a log recording module, which records the original remote control information of the remote control instruction initiated by the new monitoring background.

[0124] ​Based on the old picture signal file, the remote control instruction is received and recorded, and the verification process is ensured to be based on the original correct remote control configuration logic, so as to avoid the incorrect initiation of the instruction caused by the configuration change. The first remote control record file is generated to provide a trace basis for the source of the remote control instruction, so that the verification process is traceable and auditable.

[0125] D2: Obtain a second remote control record file of the new monitoring background, and the second remote control record file includes records of the remote control instructions sent by the new monitoring background based on the remote control information in the old picture signal file.

[0126] The terminal device can obtain the second remote control record file by calling the log record of the new monitoring background. The second remote control record file records the whole process data of the remote control instruction from initiation, transmission to execution in the new monitoring background, including the transmission timestamp of the remote control instruction in the communication link, the receiving confirmation information of the device end, the execution result feedback and the like.

[0127] D3: Compare the remote control operations in the first remote control record file and the second remote control record file, and verify the remote control signal of the upgraded new monitoring background.

[0128] The remote control signal of the upgraded new monitoring background is verified by comparing the remote control operations in the two remote control record files. Through the verification, the accuracy of the remote control command in the transmission link and the reliability of the execution effect are ensured, the device misoperation caused by the remote control abnormality is prevented, and the safe and stable operation of the substation and the entire power system is ensured.

[0129] In a possible implementation, an event sequence comparison algorithm is used to perform item-by-item verification on the remote control instruction content, operation time, execution state, error code and the like core fields in the two remote control record files. At the same time, in combination with the five-prevention logic rules and the operation permission configuration (from the picture signal file), it is verified whether the remote control operation conforms to the preset safety strategy. For example, it is checked whether the instruction execution state is consistent with the expectation, and if the instruction is sent successfully but the execution fails, it is compared whether the error code matches the device fault type.

[0130] In a possible implementation, the remote control record file includes the MMS index, the remote control type (preset, execute, cancel), the remote control value, and the remote control associated remote signaling MMS index. The MMS index, the remote control type, the remote control value, and the remote control associated remote signaling MMS index in the first remote control record file and the second remote control record file are compared in sequence. If they are all consistent, it is considered that the remote control data before and after the upgrade is consistent.

[0131] Exemplarily, an application scenario is taken as an example, such as Figure 5.1As shown, the new monitoring background imports the picture signal file of the old monitoring background, uses the automatic sequence remote control function of the monitoring background, automatically generates remote control record file A according to the remote control instruction sequence in the remote control information of the old picture signal file, and initiates the remote control instruction to the terminal equipment carrying the simulation test system. The terminal equipment generates remote control record file B based on the received remote control instruction, obtains the remote control record file A generated by the new monitoring background, and performs dynamic consistency checking based on the remote control record file A and the remote control record file B.

[0132] In the embodiments of the present application, through special verification of the remote control signal, a strict verification mechanism for the whole process of remote control operation of the substation is constructed, which effectively guarantees the safe and stable operation of the power system. By comparing the two remote control record files to verify the remote control signal, the abnormal points of the new monitoring background in the remote control function can be accurately located, ensuring that the upgraded remote control system accurately executes the instructions of the operator and avoiding equipment damage or power system accidents caused by remote control misoperation or refusal. At the same time, the automatic remote control signal verification greatly reduces the workload of manual simulation of remote control operation and checking of the results, significantly improves the efficiency of remote control function debugging in the upgrading process of the substation monitoring background, and provides a solid guarantee for the safe and efficient operation of the power system.

[0133] As a possible implementation manner of the present application, as shown in Figure 6 As shown, the verification whether the monitoring dynamic response information before and after the monitoring background is upgraded is consistent, further comprises:

[0134] E1: Compare the dynamic response time of the new monitoring background with the dynamic response time in the simulation test environment;

[0135] In the simulation test environment, simulate various signals (such as telemetry and remote signal triggering, remote control instruction issuing), record the time from signal generation to system response completion as the baseline dynamic response time; when the new monitoring background receives and processes the same simulated signal, record the corresponding actual dynamic response time. Compare the two dynamic response times.

[0136] E2: If the time difference of the dynamic response time does not exceed the preset response time threshold, it is determined that the consistency checking and verification of the dynamic response time of the new monitoring background is passed;

[0137] E3: If the time difference of the dynamic response time exceeds the preset response time threshold, it is determined that the consistency checking and verification of the dynamic response time of the new monitoring background is not passed. The preset response time threshold is set according to the operation standard of the substation monitoring system and engineering experience.

[0138] In the embodiment, if the time difference of the dynamic response time does not exceed the preset response time threshold, it is determined that the consistency check verification of the new monitoring background dynamic response time is passed. This verification dimension further evaluates the running state of the new monitoring background from the time performance angle, ensures that the system meets the actual running demand in data processing and response speed, and avoids affecting the real-time performance and reliability of the system due to response delay.

[0139] As can be seen from the above, in the embodiment, the running logic of the substation monitoring background before and after the upgrade is accurately reconstructed in the simulation environment by combining the pre-off-line static check verification with the online dynamic check verification driven by the system configuration description file. The scheme does not need to upgrade the old monitoring background, effectively exports the monitoring static configuration information of the old monitoring background before the upgrade and the new monitoring background after the upgrade by using the prefabricated conversion tool, lays a foundation for subsequent verification, verifies whether the monitoring static configuration information before and after the upgrade of the monitoring background is consistent to ensure the consistency of the basic configuration architecture before and after the upgrade by comparing the old monitoring static configuration information with the new monitoring static configuration information, on the basis of the offline static check verification, acquires and parses the system configuration description file of the old monitoring background, constructs a simulation test environment based on the system configuration description file, simulates the transmission link of the monitoring background and each device (such as a circuit breaker, a disconnector, a measurement and control device, etc.) in the substation, and executes the online dynamic check verification by reusing the verified monitoring static configuration information, to verify whether the new monitoring background after the upgrade can accurately process dynamic data, thereby maintaining the stable operation of the substation monitoring system and improving the reliability and safety of the system.

[0140] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment.

[0141] Corresponding to the information consistency verification method before and after the upgrade described in the above embodiment, Figure 7 The structure block diagram of the information consistency verification device before and after the upgrade provided by the embodiment is shown, and only the part related to the embodiment is shown for easy explanation.

[0142] Referring to Figure 7 The information consistency verification device before and after the upgrade includes a configuration information acquisition unit 71, an offline static verification unit 72, a system file acquisition and analysis unit 73, and an online dynamic verification unit 74, wherein:

[0143] The configuration information obtaining unit 71 is configured to obtain new monitoring static configuration information from the upgraded new monitoring background and obtain old monitoring static configuration information from the pre-upgraded old monitoring background through a pre-prepared conversion tool. The new monitoring static configuration information is used to represent the static configuration state of the new monitoring background, and the old monitoring static configuration information is used to represent the static configuration state of the old monitoring background.

[0144] The offline static verification unit 72 is configured to compare the old monitoring static configuration information with the new monitoring static configuration information to verify whether the monitoring static configuration information before and after the upgrade of the monitoring background is consistent.

[0145] The system file obtaining and analyzing unit 73 is configured to obtain a system configuration description file of the old monitoring background if the monitoring static configuration information before and after the upgrade of the monitoring background is consistent.

[0146] The online dynamic verification unit 74 is configured to verify whether the monitoring dynamic response information before and after the upgrade of the monitoring background is consistent in a simulation test environment based on the old monitoring static configuration information, where the simulation test environment is constructed based on the system configuration description file.

[0147] As a possible implementation of the present application, the monitoring static configuration information includes a database information file and a picture signal file; and the offline static verification unit 72 includes:

[0148] A first offline comparison module is configured to compare configuration parameter data items in the old database information file and the new database information file to verify whether the configuration parameter information before and after the upgrade of the monitoring background is consistent.

[0149] A second offline comparison module is configured to compare the old picture signal file and the new picture signal file to verify whether the monitoring picture information before and after the upgrade of the monitoring background is consistent.

[0150] As a possible implementation of the present application, the monitoring static configuration information includes a database information file, and the monitoring dynamic response information includes telemetry and telecontrol information; and the online dynamic verification unit 74 includes:

[0151] A first reading trigger module is configured to read the telemetry and telecontrol information in the old database information file and trigger in sequence.

[0152] A first data point change file obtaining module is configured to record the triggered telemetry and telecontrol information and generate a corresponding first data point change record file.

[0153] A second data point change file obtaining module is configured to obtain a second data point change record file generated by the new monitoring background based on the telemetry and telecontrol information triggered in sequence, where the second data point change record file includes the telemetry and telecontrol information recorded by the new monitoring background.

[0154] The all-station signal verification module is configured to compare the first data point change record file and the second data point change record file, and verify the all-station signal of the upgraded new monitoring background.

[0155] As a possible implementation of the present application, the monitoring static configuration information includes a picture signal file, and the monitoring dynamic response information includes picture response information; the online dynamic verification unit 74 includes:

[0156] The second reading trigger module is configured to read the telemetry and telecontrol information on the picture in the old picture signal file and sequentially trigger;

[0157] The first picture change file acquisition module is configured to record the picture response information corresponding to the triggered telemetry and telecontrol information, and generate a first picture change record file corresponding thereto.

[0158] The second picture change file acquisition module is configured to acquire a second picture change record file generated by the new monitoring background, the second picture change record file including picture response information of the new monitoring background for the triggered telemetry and telecontrol information;

[0159] The picture signal verification module is configured to compare the picture response information in the first picture change record file and the second picture change record file, and verify the picture signal of the upgraded new monitoring background.

[0160] As a possible implementation of the present application, the monitoring static configuration information includes a picture signal file, and the monitoring dynamic response information includes remote control information; the online dynamic verification unit 74 includes:

[0161] The first remote control record file acquisition module is configured to receive a remote control instruction sent by the new monitoring background based on the remote control information in the old picture signal file, and generate a first remote control record file;

[0162] The second remote control record file acquisition module is configured to acquire a second remote control record file of the new monitoring background, the second remote control record file including a record of the remote control instruction sent by the new monitoring background based on the remote control information in the old picture signal file;

[0163] The remote control signal verification module is configured to compare the remote control operation in the first remote control record file and the second remote control record file, and verify the remote control signal of the upgraded new monitoring background.

[0164] As a possible implementation of the present application, the online dynamic verification unit 74 further includes:

[0165] The response time verification module is configured to compare the dynamic response time of the new monitoring background with the dynamic response time in the simulation test environment; if the time difference of the dynamic response time does not exceed the preset response time threshold, it is determined that the consistency check verification of the dynamic response time of the new monitoring background is passed; if the time difference of the dynamic response time exceeds the preset response time threshold, it is determined that the consistency check verification of the dynamic response time of the new monitoring background is not passed.

[0166] As a possible implementation of the present application, the simulation test environment is constructed based on the system configuration description file, including:

[0167] The system configuration description file is parsed to extract the substation device configuration, network topology structure and communication protocol configuration;

[0168] The simulation test environment is built according to the extracted substation device configuration, network topology structure and communication protocol configuration.

[0169] As can be seen from the above, in the embodiments of the present application, the running logic of the substation monitoring background before and after the upgrade is accurately reconstructed in the simulation environment by combining the pre-off-line static check verification with the on-line dynamic check verification driven by the system configuration description file. The present scheme does not need to upgrade the old monitoring background, effectively exports the monitoring static configuration information of the old monitoring background before the upgrade and the new monitoring background after the upgrade by using the prefabricated conversion tool, lays a foundation for subsequent verification, verifies whether the monitoring static configuration information before and after the upgrade of the monitoring background is consistent to ensure the consistency of the basic configuration architecture before and after the upgrade by comparing the old monitoring static configuration information with the new monitoring static configuration information, obtains and parses the system configuration description file of the old monitoring background on the basis of the off-line static check verification, constructs the simulation test environment based on the system configuration description file, simulates the transmission link of the monitoring background and each device (such as a circuit breaker, a disconnector, a measurement and control device, etc.) in the substation, and executes the on-line dynamic check verification by reusing the verified monitoring static configuration information, so as to verify whether the new monitoring background after the upgrade can accurately and correctly process the dynamic data, thereby maintaining the stable operation of the substation monitoring system and improving the reliability and safety of the system.

[0170] It should be noted that the information interaction, execution process and the like between the above-mentioned devices / units are based on the same concept as the method embodiments of the present application, and the specific functions and the technical effects brought by them can be referred to the method embodiments part, which will not be described here.

[0171] The embodiments of the present application also provide a computer readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any one of the information consistency verification methods before and after the upgrade represented by the above-mentioned method embodiments. Figures 1 to 6

[0172] ​The embodiment of the present application further provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of any one of the information consistency verification methods before and after upgrading shown in the above embodiments when executing the computer program. Figures 1 to 6 The steps of any one of the information consistency verification methods before and after upgrading shown in the above embodiments.

[0173] The embodiment of the present application further provides a computer program product, which, when running on a terminal device, causes the terminal device to implement the steps of any one of the information consistency verification methods before and after upgrading shown in the above embodiments. Figures 1 to 6 The steps of any one of the information consistency verification methods before and after upgrading shown in the above embodiments.

[0174] Figure 8 is a schematic diagram of a terminal device provided by an embodiment of the present application. As shown in Figure 8 , the terminal device 8 of this embodiment comprises a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and executable on the processor 80. The processor 80 implements the steps in the above various information consistency verification method embodiments before and after upgrading when executing the computer program 82, such as the steps S101 to S104 shown in Figure 1 . Alternatively, the processor 80 implements the functions of the modules / units in the above various device embodiments when executing the computer program 82, such as the functions of the units 71 to 74 shown in Figure 7 .

[0175] For example, the computer program 82 can be divided into one or more modules / units, which are stored in the memory 81 and executed by the processor 80 to complete the present application. The one or more modules / units can be a series of computer readable instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program 82 in the terminal device 8.

[0176] The terminal device 8 can include, but is not limited to, the processor 80 and the memory 81. Those skilled in the art can understand that Figure 8 is merely an example of the terminal device 8 and does not constitute a limitation on the terminal device 8, and can include more or fewer components than those shown, or combine certain components, or different components, for example, the terminal device 8 can further include an input / output device, a network access device, a bus, etc.

[0177] The processor 80 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0178] The memory 81 can be an internal storage unit of the terminal device 8, such as a hard disk or a memory of the terminal device 8. The memory 81 can also be an external storage device of the terminal device 8, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 81 can also include both the internal storage unit and the external storage device of the terminal device 8. The memory 81 is used to store the computer program and other programs and data required by the terminal device. The memory 81 can also be used to temporarily store data that has been output or will be output.

[0179] It should be noted that the information interaction, execution process, etc. between the above apparatuses / units, since based on the same concept as the method embodiments of the present application, the specific functions and the brought technical effects can be referred to the method embodiments part, and will not be repeated here.

[0180] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit, and the integrated unit can be realized in the form of hardware or in the form of software function unit. In addition, the specific names of each functional unit and module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the unit and module in the system can refer to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0181] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the present application can implement all or part of the processes in the above-mentioned embodiment methods, which can be completed by instructing related hardware through a computer program. The computer program can be stored in a computer readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by a processor. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms. The computer readable medium at least includes any entity or device capable of carrying the computer program code to the device / terminal equipment, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, according to legislation and patent practice, the computer readable medium cannot be an electrical carrier signal and a telecommunication signal.

[0182] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0183] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A method for verifying information consistency before and after an upgrade, characterized in that, include: The new monitoring static configuration information is obtained from the upgraded new monitoring backend, and the old monitoring static configuration information is obtained from the old monitoring backend before the upgrade through a pre-made conversion tool. The new monitoring static configuration information is used to characterize the static configuration status of the new monitoring backend, and the old monitoring static configuration information is used to characterize the static configuration status of the old monitoring backend. Compare the old monitoring static configuration information with the new monitoring static configuration information to verify whether the monitoring static configuration information before and after the monitoring backend upgrade is consistent. If the static monitoring configuration information before and after the monitoring backend upgrade is consistent, then obtain the system configuration description file of the old monitoring backend; In a simulation test environment, based on the old static configuration information of the monitoring system, it is verified whether the dynamic response information of the monitoring system before and after the upgrade of the monitoring backend is consistent. The simulation test environment is built based on the system configuration description file.

2. The method according to claim 1, characterized in that, The static configuration information for monitoring includes a database information file and a video signal file; The comparison of the old and new static monitoring configuration information to verify whether the static monitoring configuration information before and after the monitoring backend upgrade is consistent includes: Compare the configuration parameter data items in the old database information file and the new database information file to verify whether the configuration parameter information of the monitoring backend is consistent before and after the upgrade. Compare the old and new video signal files to verify whether the monitoring screen information before and after the monitoring backend upgrade is consistent.

3. The method according to claim 1, characterized in that, The static monitoring configuration information includes a database information file, and the dynamic monitoring response information includes telemetry and teleindication information. The step of verifying whether the dynamic response information of the monitoring backend is consistent before and after the upgrade, based on the old static configuration information, includes: Read telemetry and telecontrol information from the old database information file and trigger it in sequence; Record the triggered telemetry and telecontrol information and generate the corresponding first data point change record file; Obtain the second data point change record file generated by the new monitoring backend based on the telemetry and telecontrol information triggered in the sequence; By comparing the first data point change record file with the second data point change record file, the overall signal of the upgraded new monitoring backend is verified.

4. The method according to claim 1, characterized in that, The static monitoring configuration information includes the video signal file, and the dynamic monitoring response information includes the video response information. The step of verifying whether the dynamic response information of the monitoring backend is consistent before and after the upgrade, based on the old static configuration information, includes: Read the telemetry and telecontrol information from the old video signal file and trigger it in sequence; Record the screen response information corresponding to the telemetry and teleindication information that is triggered, and generate the corresponding first screen change record file; Obtain the second screen change record file generated by the new monitoring backend. The second screen change record file includes the screen response information of the new monitoring backend in response to the triggered telemetry and teleindication information. By comparing the screen response information in the first screen change record file and the second screen change record file, the screen signal of the upgraded new monitoring backend is verified.

5. The method according to claim 1, characterized in that, The static monitoring configuration information includes the video signal file, and the dynamic monitoring response information includes remote control information; The step of verifying whether the dynamic response information of the monitoring backend is consistent before and after the upgrade, based on the old static configuration information, includes: Receive remote control commands sent by the new monitoring backend based on remote control information in the old video signal file, and generate a first remote control record file; Obtain the second remote control record file of the new monitoring backend, the second remote control record file including the record of the new monitoring backend sending remote control commands based on the remote control information in the old video signal file; The remote control operations in the first remote control log file and the second remote control log file are compared to verify the remote control signals of the upgraded monitoring backend.

6. The method according to any one of claims 1 to 5, characterized in that, The verification of whether the monitoring dynamic response information before and after the upgrade of the monitoring backend is consistent also includes: Compare the dynamic response time of the new monitoring backend with that of the simulation test environment; If the time difference of the dynamic response time does not exceed the preset response time threshold, then the consistency verification of the dynamic response time of the new monitoring backend is determined to be passed; If the time difference of the dynamic response time exceeds the preset response time threshold, it is determined that the consistency verification of the dynamic response time of the new monitoring backend has failed.

7. The method according to any one of claims 1 to 5, characterized in that, A simulation test environment is constructed based on the system configuration description file, including: The system configuration description file is parsed to extract substation equipment configuration, network topology, and communication protocol configuration. Based on the extracted substation equipment configuration, network topology, and communication protocol configuration, a simulation test environment is built.

8. A device for verifying information consistency before and after an upgrade, characterized in that, include: The configuration information acquisition unit is used to obtain new monitoring static configuration information from the upgraded new monitoring backend and obtain old monitoring static configuration information from the old monitoring backend before the upgrade through a pre-made conversion tool. The new monitoring static configuration information is used to characterize the static configuration status of the new monitoring backend, and the old monitoring static configuration information is used to characterize the static configuration status of the old monitoring backend. The offline static verification unit is used to compare the old monitoring static configuration information with the new monitoring static configuration information to verify whether the monitoring static configuration information before and after the monitoring backend upgrade is consistent. The system file acquisition and parsing unit is used to acquire the system configuration description file of the old monitoring backend if the static configuration information of the monitoring backend before and after the upgrade is consistent. The online dynamic verification unit is used to verify, in a simulation test environment, whether the dynamic response information of the monitoring backend before and after the upgrade is consistent, based on the old static configuration information of the monitoring backend. The simulation test environment is built based on the system configuration description file.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the information consistency verification method before and after the upgrade as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the information consistency verification method before and after the upgrade as described in any one of claims 1 to 7.