Method and system for uploading check code to information protection substation of autonomous controllable direct current protection system

By performing core scanning, summary analysis and encoding verification of the multi-processor architecture of the DC protection system, and generating and integrating backup verification codes, the problem of easy interference in the verification code generation process in the existing technology is solved, the security and accuracy of data transmission are achieved, and the stable operation of the DC protection system is ensured.

CN120262332AActive Publication Date: 2025-07-04STATE GRID ECONOMIC TECH RES INST CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510749901.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-06
Publication Date
2025-07-04
Estimated Expiration
2045-06-06

AI Technical Summary

Technical Problem

The existing verification code upload method has problems such as incomplete data verification, low parameter file integration efficiency, and easy interference in the verification code generation process, which cannot meet the requirements of the DC protection system for real-time and reliability.

Method used

The autonomous controllable DC protection system adopts a multi-processor architecture, scans, summarizes and analyzes the application software function modules stored in the core of each processor chip, and generates and integrates the backup verification code and device information, forms a parameter file and sends it to the guarantee sub-station.

Benefits of technology

It improves the reliability and anti-interference ability of the verification code, ensures the security and accuracy of data transmission, enhances the data interaction efficiency between the DC protection system and the guarantee substation, and provides data support for stable operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120262332A_ABST
    Figure CN120262332A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of direct-current power transmission protection, and discloses a method and a system for uploading a check code to a protection information substation of an autonomous controllable direct-current protection system. The method comprises the following steps: scanning an application software function module stored in each core to obtain application software function module configuration data of the corresponding core; summarizing and analyzing the configuration data of each core application software function module to obtain interface variable metadata of the autonomous controllable direct current protection system; performing coding verification on the interface variable metadata to obtain a first verification code of the autonomous controllable direct current protection system; performing data verification on the first check code to obtain a second check code of the autonomous controllable direct current protection system; and integrating and backing up the second check code and the equipment information of the autonomous controllable direct current protection system to obtain a parameter file, and sending the parameter file to the information protection substation. According to the invention, high efficiency and accuracy of data interaction between the autonomous controllable direct current protection system and the information protection substation are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of DC transmission protection, and particularly to a method and system for sending verification codes of an autonomous and controllable DC protection system to a protection information substation. Background Art

[0002] In a high-voltage DC transmission project, as a key link to ensure the safe and stable operation of DC transmission, the accuracy and reliability of data interaction between the DC protection system and the protection information substation are crucial. As an important means to ensure data integrity and accuracy, the process of sending verification codes directly affects the system's monitoring and control of the operating state.

[0003] With the continuous improvement of the complexity of the DC protection system, in a complex environment of multi-processor architecture and fragmented software storage, the existing methods for sending verification codes to the protection information substation have problems such as incomplete data verification, low efficiency of parameter file integration, and susceptibility to interference in the verification code generation process. It is difficult to ensure the accuracy and stability of sending verification codes, and it cannot fully meet the strict requirements of the DC protection system for real-time performance and reliability.

[0004] Therefore, there is an urgent need to propose a new method that can adapt to the hardware architecture of the DC protection system and improve the reliability and accuracy of sending verification codes. Summary of the Invention

[0005] Aiming at the deficiencies of the existing technology in the complex environment of the DC protection system, the present invention provides a method and system for sending verification codes of an autonomous and controllable DC protection system to a protection information substation.

[0006] In a first aspect, an embodiment of the present invention provides a method for sending verification codes of an autonomous and controllable DC protection system to a protection information substation. The autonomous and controllable DC protection system adopts a multi-processor architecture, and each processor chip includes several cores. The application software of the autonomous and controllable DC protection system is fragmented and stored in each core. The method for sending verification codes of the autonomous and controllable DC protection system to a protection information substation includes: Scanning the application software function modules stored in each core to obtain the application software function module configuration data corresponding to the core. The application software function module configuration data includes the application software function module name and the initial value of the interface variable of the application software function module. Summarizing and analyzing the application software function module configuration data of each core to obtain the interface variable metadata of the autonomous and controllable DC protection system. The interface variable metadata includes the interface variable call expression and the interface variable attribute information. Performing coding verification on the interface variable metadata to obtain the first verification code of the autonomous and controllable DC protection system. Perform data verification on the first check code to obtain the second check code of the self - controllable DC protection system; Integrate and back up the second check code and the device information of the self - controllable DC protection system to obtain a parameter file, and send the parameter file to the protection information sub - station.

[0007] Preferably, after integrating and backing up the second check code and the device information of the self - controllable DC protection system to obtain a parameter file and sending the parameter file to the protection information sub - station, it further includes: Based on the parameter access request of the protection information sub - station, perform parameter callback on the self - controllable DC protection system to obtain the data interaction consistency result between the self - controllable DC protection system and the protection information sub - station.

[0008] Preferably, scanning the application software function modules stored in each core to obtain the application software function module configuration data corresponding to the core includes: Eliminate redundant data from the application software function modules stored in each core to obtain the purified data of the application software function modules corresponding to the core, where the redundant data includes the position coordinate information, note information, creation and modification time, and page number information of the application software function modules; Select valid data from the purified data of the application software function modules of each core to obtain the application software function module configuration data corresponding to the core, where the valid data includes the name of the application software function module and the initial value of the interface variable.

[0009] Preferably, summarizing and analyzing the application software function module configuration data of each core to obtain the interface variable metadata of the self - controllable DC protection system includes: Summarize the application software function module configuration data of each core to obtain an application software function module configuration data set; Perform logical analysis on the application software function module configuration data set to obtain the interface variable call expression and interface variable attribute information of the self - controllable DC protection system.

[0010] Preferably, performing encoding verification on the interface variable metadata to obtain the first check code of the self - controllable DC protection system includes: Merge the interface variable call expression and the interface variable attribute information to obtain a string, and convert the string to ASCII code; Perform cyclic redundancy check on the ASCII code to obtain the first check code of the self - controllable DC protection system.

[0011] Preferably, the data verification of the first check code to obtain the second check code of the autonomous and controllable DC protection system includes: Perform a parameter legality check on the first check code. If the first check code passes the parameter legality check, then characterize the first check code as the second check code of the autonomous and controllable DC protection system; otherwise, correct the first check code and characterize the corrected first check code as the second check code of the autonomous and controllable DC protection system.

[0012] Preferably, the integration and backup of the second check code and the device information of the autonomous and controllable DC protection system to obtain a parameter file and send the parameter file to the protection information substation includes: Integrate the second check code and the device information of the autonomous and controllable DC protection system to obtain a parameter global variable; Dump and archive the parameter global variable to obtain a parameter file, and back up the parameter file to obtain a parameter backup file; Send the parameter file to the protection information substation in the form of a message.

[0013] Preferably, based on the parameter access request of the protection information substation, perform a parameter callback on the autonomous and controllable DC protection system to obtain the data interaction consistency result between the autonomous and controllable DC protection system and the protection information substation, including: Based on the read parameter request of the protection information substation, perform a read parameter callback on the autonomous and controllable DC protection system to obtain the data reading consistency result between the autonomous and controllable DC protection system and the protection information substation; Based on the write parameter request of the protection information substation, perform a write parameter callback on the autonomous and controllable DC protection system to obtain the data writing consistency result between the autonomous and controllable DC protection system and the protection information substation.

[0014] In a second aspect, an embodiment of the present invention provides a system for sending the check code of an autonomous and controllable DC protection system to a protection information substation. The autonomous and controllable DC protection system adopts a multi-processor architecture, and each processor chip includes a number of cores. The application software of the autonomous and controllable DC protection system is fragmented and stored in each core; The system for sending the check code of the autonomous and controllable DC protection system to the protection information substation includes: A core scanning unit, configured to scan the application software function modules stored in each core to obtain the application software function module configuration data corresponding to each core, where the application software function module configuration data includes the application software function module name and the initial value of the application software function module interface variable; A summary analysis unit for summarizing and analyzing the configuration data of each of the application software function modules of the core to obtain interface variable metadata of the self - controllable DC protection system, where the interface variable metadata includes an interface variable call expression and interface variable attribute information; An encoding verification unit for performing encoding verification on the interface variable metadata to obtain a first verification code of the self - controllable DC protection system; A data verification unit for performing data verification on the first verification code to obtain a second verification code of the self - controllable DC protection system; A file uploading unit for integrating and backing up the second verification code and the device information of the self - controllable DC protection system to obtain a parameter file, and sending the parameter file to the protection information sub - station.

[0015] Preferably, the system for uploading the verification code of the self - controllable DC protection system to the protection information sub - station further includes: A parameter callback unit for performing parameter callback on the self - controllable DC protection system based on a parameter access request from the protection information sub - station to obtain a data interaction consistency result between the self - controllable DC protection system and the protection information sub - station.

[0016] Compared with the prior art, the method and system for uploading the verification code of the self - controllable DC protection system to the protection information sub - station according to the embodiments of the present invention have the following beneficial effects: It fully adapts to the operating characteristics of fragmented software storage under the multi - processor architecture of the self - controllable DC protection system, effectively breaking through the technical bottleneck of verification code generation and summarization in the multi - core synchronous operation scenario; by comprehensively scanning each core application software function module, accurately obtaining module configuration data, ensuring the integrity and accuracy of basic data; forming interface variable metadata through summarizing and analyzing configuration data, constructing a standardized data basis for verification code generation; the dual guarantees of encoding verification and data verification significantly improve the reliability and anti - interference ability of the verification code, effectively reducing the risk of data transmission errors; integrating and backing up the second verification code and device information to generate a parameter file not only realizes the safe storage of data but also ensures the traceability of data; finally, sending it to the protection information sub - station in the form of a parameter file not only guarantees the efficiency and accuracy of data interaction between the self - controllable DC protection system and the protection information sub - station, but also enhances the security of core data transmission in the power system, providing strong data support for the stable operation of the DC transmission system. Description of the Drawings

[0017] Figure 1 is a schematic flow chart of a method for uploading the verification code of the self - controllable DC protection system to the protection information sub - station according to an embodiment of the present invention; Figure 2 is a schematic flow chart of scanning to obtain configuration data of application software function modules according to an embodiment of the present invention; Figure 3 It is a schematic flowchart for summarizing and analyzing interface variable metadata in an embodiment of the present invention; Figure 4 It is a schematic flowchart for encoding verification in an embodiment of the present invention; Figure 5 It is a schematic flowchart for integration and backup in an embodiment of the present invention; Figure 6 It is another schematic flowchart for the method of sending the verification code of an independently controllable DC protection system in an embodiment of the present invention to the protection information substation; Figure 7 It is a schematic flowchart for parameter callback in an embodiment of the present invention; Figure 8 It is a schematic structural diagram of a system for sending the verification code of an independently controllable DC protection system in an embodiment of the present invention to the protection information substation; Figure 9 It is another schematic structural diagram of a system for sending the verification code of an independently controllable DC protection system in an embodiment of the present invention to the protection information substation; Reference numerals: 1. Core scanning unit; 2. Summarizing and analyzing unit; 3. Encoding verification unit; 4. Data verification unit; 5. File sending unit; 6. Parameter callback unit. Detailed implementation manners

[0018] The following will further describe in detail the specific implementation manners of the present invention in conjunction with the drawings and embodiments. The following embodiments are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0019] In the description of the present invention, it should be understood that the terms "first" and "second" etc. adopted in the present invention are used to distinguish different objects, rather than to describe a specific order.

[0020] In the description of the present invention, it should be noted that unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as commonly understood by those skilled in the art. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0021] As Figure 1 shown, it is a schematic flowchart of the method for sending the verification code of an independently controllable DC protection system in an embodiment of the present invention to the protection information substation.

[0022] It should be noted that the independently controllable DC protection system applied in the present invention uses independently controllable chips. For the sake of simplicity in description, the independently controllable DC protection system will be hereinafter abbreviated as the DC protection system.

[0023] The DC protection system based on the self-controlled chip has achieved a standardized design. It adopts a multi-processor architecture. Each processor chip includes several cores, and the application software of the DC protection system is fragmented and stored in each core. In other words, each processor chip uses multiple cores to process the application software synchronously. It is understandable that the core in the processor chip is usually also called the kernel, which is a functional unit in the processor chip that can independently execute instructions and perform data processing.

[0024] Specifically, the method for sending the verification code to the trust-guaranteeing substation includes the following steps: S1. Scan the application software function modules stored in each core to obtain the application software function module configuration data of the corresponding core; like Figure 2 As shown, it is a schematic diagram of a process of scanning and obtaining application software function module configuration data according to an embodiment of the present invention. Specifically, step S1 includes: S101, removing redundant data from the application software function modules stored in each core to obtain purified data of the application software function modules of the corresponding core; Specifically, the application software of the DC protection system of this embodiment is stored in the Flash (flash memory, a non-volatile storage chip) of each core in the form of an iecprg.dat file. The iecprg.dat file stored in each core is scanned by the PROC function block, and the factors that have no effect on the application logic, that is, redundant data, are eliminated to obtain the purified data of the application software function module of the corresponding core. Furthermore, the redundant data includes the location coordinate information, remark information, creation and modification time, and page number information of the application software function module. By reducing the amount of unnecessary data processing, the efficiency of subsequent information processing can be improved.

[0025] S102: Select effective data from the purified data of the application software function module of each core to obtain the configuration data of the application software function module of the corresponding core.

[0026] The valid data in the purified data of the application software function module of each core is obtained to obtain the configuration data of the application software function module of the corresponding core. Specifically, the valid data includes the name of the application software function module and the initial value of the interface variable. Accordingly, the configuration data of the application software function module includes the name of the application software function module and the initial value of the interface variable of the application software function module. By obtaining these valid data, the function and initial state of the software module can be better understood, providing an accurate data basis for subsequent software operations.

[0027] S2. Summarize and analyze the configuration data of each core application software function module to obtain the interface variable metadata of the autonomous controllable DC protection system; like Figure 3As shown, it is a schematic flowchart of summarizing and analyzing interface variable metadata in an embodiment of the present invention. Specifically, step S2 includes: S201. Summarize the configuration data of each core application software function module to obtain an application software function module configuration data set; In this embodiment, the PROS function block is used to summarize the configuration data of each core application software function module to obtain an application software function module configuration data set.

[0028] S202. Conduct a logical analysis on the application software function module configuration data set to obtain an interface variable call expression and interface variable attribute information of the autonomous and controllable DC protection system.

[0029] Specifically, the interface variable metadata includes an interface variable call expression and interface variable attribute information. Further, the process of logical analysis includes the steps of: 1) Structured data storage Organize the collected application software function module configuration data and store it in a suitable data structure so that these information can be conveniently accessed and processed subsequently.

[0030] 2) Analyze the connection relationship between modules According to the design document, schematic diagram of the DC protection system or the actual connection situation between modules, determine the interface connection relationship between each module. Clearly identify which module's output is the input of the remaining modules, thereby establishing a logical connection network between modules.

[0031] 3) Deduce the interface variable call logic Based on the connection relationship between modules and the functional characteristics of each module, deduce the call logic operation expression of the interface variable, that is, the interface variable call expression. Formal logical deduction methods such as truth tables and logical algebraic operations can be used to accurately determine the operation relationship between interface variables.

[0032] 4) Determine the attribute setting information For the interface variable of each module, determine the corresponding attribute setting information, that is, the interface variable attribute information, according to its role and requirements in the DC protection system. These attributes include the data type, value range, precision requirement, whether it is an input or output variable, etc. of the variable.

[0033] S3. Conduct a coding check on the interface variable metadata to obtain the first check code of the autonomous and controllable DC protection system; As Figure 4 shown, it is a schematic flowchart of the coding check in an embodiment of the present invention. Specifically, step S3 includes: S301. Combine the interface variable call expression and the interface variable attribute information to obtain a string, and convert the string into ASCII code; Combine the interface variable call expression and the interface variable attribute information to form a string containing specific data information, and convert the string into ASCII code.

[0034] S302. Perform cyclic redundancy check on the ASCII code to obtain the first check code of the independently controllable DC protection system.

[0035] In this embodiment, the CRC32 algorithm is used to perform cyclic redundancy check on the ASCII code to obtain the first check code of the DC protection system. The CRC32 algorithm is a commonly used data verification method, and its purpose is to detect whether errors occur during data transmission or storage, so as to ensure the integrity and accuracy of the data.

[0036] S4. Perform data verification on the first check code to obtain the second check code of the independently controllable DC protection system; Specifically, perform parameter legality check on the first check code. If the first check code passes the parameter legality check, then represent the first check code as the second check code of the DC protection system; otherwise, correct the first check code and represent the corrected first check code as the second check code of the DC protection system.

[0037] It should be noted that the step of parameter legality check is very crucial because only legal parameters can ensure the normal operation of the DC protection system. The requirements for parameter legality include that the value of the parameter must be within the specified range and the format of the parameter should meet the requirements of the DC protection system. If it is found that the parameter is illegal, corresponding correction measures need to be taken, such as restoring the default parameters.

[0038] S5. Integrate and back up the second check code and the device information of the independently controllable DC protection system to obtain a parameter file, and send the parameter file to the protection information substation.

[0039] As Figure 5 shown, it is a schematic flowchart of the integration and backup in the embodiment of the present invention. Specifically, step S5 includes: S501. Integrate the second check code and the device information of the DC protection system to obtain a parameter global variable; In this embodiment, the second check code and the device information of the DC protection system are written into the parameter global variable gParameterRegion together. The global variable is a variable that can be accessed and used throughout the program. Storing the key data such as the check code and device information in the global variable is convenient for calling and processing. Among them, the device information includes device model, configuration parameters, and operating status.

[0040] S502. Dump the parameter global variables into a parameter file and back up the parameter file to obtain a parameter backup file; Specifically, dump the parameter global variables into a parameter file by creating a write parameter file task, and back up the parameter file in a standard format to obtain a parameter backup file.

[0041] The process of the write parameter file task in this embodiment will be specifically described below: 1) Initialize the write parameter file command Initialize the command to execute the write parameter file through the PARI function block. It should be noted that the PARI function block plays a role in starting the entire write parameter file task process and sets the initial state for a series of subsequent operations.

[0042] 2) Check whether the parameter file exists Check whether the parameter file Parameter.bin exists in the Flash. It can be understood that the Flash, as a storage medium, is used to store the parameter file for a long time. This step is to determine the direction of subsequent operations because the existence or non - existence of the file will lead to different processing flows.

[0043] 3) Processing when the parameter file does not exist If the parameter file Parameter.bin does not exist, create two files, namely the parameter file Parameter.bin and the parameter backup file Parameter_back.bin. Creating these files is to store the parameter data required for the operation of the DC protection system and back it up to prevent data loss.

[0044] Initialize and configure the parameter global variable gParameterRegion according to the default value of the PARI function block (the default parameter value preset by the PARI function block) to ensure that it is in a suitable initial state.

[0045] Write the data such as the check code contained in the parameter global variable gParameterRegion into the newly created parameter file Parameter.bin and the parameter backup file Parameter_back.bin. Therefore, the new parameter file and the parameter backup file contain the key parameter information required for the operation of the DC protection system.

[0046] 4) Processing when the parameter file exists If the parameter file Parameter.bin exists, it is necessary to check the legality of the parameter file. The legality check includes multiple aspects, such as confirming whether the device information is correct, whether the checksum is valid, and whether the number of various types of parameters in the file is consistent with the function block configuration. Only a legal parameter file can ensure the normal operation of the system, and an illegal parameter file may cause system failures or incorrect operations.

[0047] If the parameter file is checked to be legal, first write the original parameter file Parameter.bin to the parameter backup file Parameter_back.bin to retain the content of the original parameter file so that it can be restored to the previous state when needed. Then write data such as the checksum in the parameter global variable gParameterRegion to the parameter file Parameter.bin to update the content of the original parameter file to include the latest parameter information. Finally, output the starting address of the parameter read buffer to facilitate accessing the data in the parameter read buffer.

[0048] S503. Send the parameter file to the protection information substation in the form of a message.

[0049] Through the communication protocol established between the DC protection system and the protection information substation, send the parameter file to the protection information substation in the form of a message.

[0050] To ensure the accuracy of the data transmission and processing process from the DC protection system to the protection information substation, as Figure 6 shown, it is another process schematic diagram of the method for sending the checksum of an autonomous and controllable DC protection system to the protection information substation in an embodiment of the present invention. In the method for sending the checksum of an autonomous and controllable DC protection system to the protection information substation in an embodiment of the present invention, after step S5, the method further includes the step of: S6. Based on the parameter access request of the protection information substation, perform a parameter callback on the autonomous and controllable DC protection system to obtain the data interaction consistency result between the autonomous and controllable DC protection system and the protection information substation.

[0051] As Figure 7 shown, it is a process schematic diagram of the parameter callback in an embodiment of the present invention. Specifically, step S6 includes: S601. Based on the read parameter request of the protection information substation, perform a read parameter callback on the autonomous and controllable DC protection system to obtain the data reading consistency result between the autonomous and controllable DC protection system and the protection information substation; The following specifically describes the read parameter callback process of this embodiment: 1) Enter the read-write service callback When the protection information substation initiates a parameter reading request, the DC protection system will enter a pre-defined read-write service callback function. It can be understood that a callback function is a function that is called when a specific event occurs. Here, the specific event is the parameter reading request.

[0052] 2) Obtain the reference da_ref The reference da_ref is an identifier for parameter reference, which is used to uniquely identify a parameter. After entering the callback, the DC protection system will obtain this reference from the request information so that the corresponding parameter can be accurately found later.

[0053] 3) Search in VarCfg.xml to obtain the num number VarCfg.xml is a configuration file that usually stores relevant configuration information of parameters, such as parameter numbers, names, and data types. The DC protection system searches for the corresponding num number in the configuration file VarCfg.xml through the reference da_ref. Among them, the num number is also a parameter identifier that is convenient for internal processing in the DC protection system.

[0054] 4) Retrieve the value from the parameter global variable The parameter global variable gParameterRegion stores the current parameter values of the DC protection system. According to the obtained num number, the DC protection system retrieves the corresponding parameter value from this parameter global variable.

[0055] 5) Write to the dataptr in da_map da_map is a data mapping structure, and dataptr is a data pointer in da_map. The DC protection system writes the parameter value retrieved from the parameter global variable gParameterRegion to the position pointed to by dataptr in da_map, so as to pass the parameter value to the protection information substation.

[0056] 6) Refresh the parameter value To ensure the timeliness and accuracy of data, after passing the parameter value to the protection information substation, the DC protection system will refresh the relevant parameter values.

[0057] Generally speaking, the parameter reading callback operation is to find the number in the configuration file through the reference after receiving the parameter reading request and entering the callback, retrieve the value from the parameter global variable, write it into the data mapping structure, and refresh the parameter value.

[0058] S602. Based on the parameter writing request of the protection information substation, perform a parameter writing callback on the autonomous and controllable DC protection system to obtain the data writing consistency result between the autonomous and controllable DC protection system and the protection information substation.

[0059] The following is a specific description of the parameter callback process in this embodiment: 1) Enter the read / write service callback When the protection information substation initiates a write parameter request, the DC protection system will also enter the read / write service callback function.

[0060] 2) Obtain the reference da_ref through da_map The DC protection system obtains the reference da_ref from the data mapping structure da_map to determine the parameter to be written.

[0061] 3) Search for the num number in VarCfg.xml Search for the corresponding num number in the configuration file VarCfg.xml through the reference da_ref to accurately find the position where the parameter is stored inside the DC protection system.

[0062] 4) Retrieve data from dataptr in da_map Retrieve the new parameter value sent by the protection information substation from the position pointed to by dataptr in da_map.

[0063] 5) Write to the global variable Write the retrieved new parameter value to the parameter global variable gParameterRegion to update the current parameter value of the DC protection system.

[0064] 6) Release the write parameter file signal The write parameter file signal is a semaphore used to control the write parameter file operation. Releasing this signal indicates that the write parameter file operation can begin.

[0065] 7) In the background task, obtain the write parameter file In the background task of the DC protection system, obtain the write parameter file and write the updated parameter value to the parameter file in Flash to complete the persistent storage of the parameter.

[0066] Generally speaking, after receiving the write parameter request and entering the callback, the write parameter callback operation obtains the reference and the new parameter value from the data mapping structure, writes them to the parameter global variable, and then updates the parameter file in the background task after releasing the write signal.

[0067] Through the read / write parameter callback, it is possible to ensure the consistency of parameter reading and writing between the DC protection system and the protection information substation.

[0068] The method for sending the check code of an autonomous and controllable DC protection system to the protection information substation in an embodiment of the present invention fully adapts to the operating characteristics of fragmented software storage in the multi-processor architecture of the autonomous and controllable DC protection system, effectively breaking through the technical bottleneck of check code generation and summarization in the scenario of multi-core synchronous operation; by comprehensively scanning the functional modules of the core application software, accurately obtaining the module configuration data, ensuring the integrity and accuracy of the basic data; forming interface variable metadata through the summarization and analysis of the configuration data, building a standardized data basis for check code generation; the dual guarantees of coding verification and data verification significantly improve the reliability and anti-interference ability of the check code, effectively reducing the risk of data transmission errors; integrating and backing up the second check code with the device information to generate a parameter file, which not only realizes the secure storage of data but also ensures the traceability of data; finally, sending it to the protection information substation in the form of a parameter file, not only ensuring the efficiency and accuracy of data interaction between the autonomous and controllable DC protection system and the protection information substation, but also enhancing the security of core data transmission in the power system, providing strong data support for the stable operation of the DC transmission system.

[0069] Based on the above method for sending the check code of an autonomous and controllable DC protection system to the protection information substation, as Figure 8 shown, it is a schematic structural diagram of a system for sending the check code of an autonomous and controllable DC protection system to the protection information substation in an embodiment of the present invention. The embodiment of the present invention provides a system for sending the check code of an autonomous and controllable DC protection system to the protection information substation.

[0070] The DC protection system adopts a multi-processor architecture, each processor chip includes several cores, and the application software of the DC protection system is fragmented and stored in each core.

[0071] The system for sending the check code to the protection information substation includes: A core scanning unit 1, configured to scan the functional modules of the application software stored in each core to obtain the configuration data of the application software functional modules corresponding to the core, wherein the configuration data of the application software functional modules includes the name of the application software functional module and the initial value of the interface variable of the application software functional module; A summarization and analysis unit 2, configured to summarize and analyze the configuration data of the application software functional modules of each core to obtain the interface variable metadata of the autonomous and controllable DC protection system, wherein the interface variable metadata includes the interface variable call expression and the interface variable attribute information; An encoding verification unit 3, configured to perform encoding verification on the interface variable metadata to obtain the first check code of the autonomous and controllable DC protection system; A data verification unit 4, configured to perform data verification on the first check code to obtain the second check code of the autonomous and controllable DC protection system; A file upload unit 5, which is used to integrate and backup the second verification code and the device information of the independently controllable DC protection system to obtain a parameter file, and send the parameter file to the protection information substation.

[0072] Furthermore, as Figure 9 shown, it is another structural schematic diagram of a system for uploading the verification code of an independently controllable DC protection system to a protection information substation according to an embodiment of the present invention. The system for uploading the verification code of an independently controllable DC protection system to a protection information substation according to an embodiment of the present invention further includes: A parameter callback unit 6, which is used to perform parameter callback on the independently controllable DC protection system based on a parameter access request from the protection information substation, and obtain a data interaction consistency result between the independently controllable DC protection system and the protection information substation.

[0073] It should be noted that each unit in the above system for uploading the verification code of an independently controllable DC protection system to a protection information substation can be implemented in whole or in part by software, hardware, and their combination. The above units can be embedded in the processor in the computer device in the form of hardware or be independent of it, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above units. For the specific limitations of the system for uploading the verification code of an independently controllable DC protection system to a protection information substation, refer to the limitations on the method for uploading the verification code of an independently controllable DC protection system to a protection information substation in the above text. The two have the same functions and effects, and will not be elaborated here.

[0074] In summary, for the method and system for uploading the verification code of an independently controllable DC protection system to a protection information substation according to an embodiment of the present invention, it fully adapts to the operation characteristics of fragmented software storage under the multi-processor architecture of the independently controllable DC protection system, effectively breaks through the technical bottleneck of verification code generation and aggregation in the multi-core synchronous operation scenario; through a comprehensive scan of each core application software function module, accurately obtains the module configuration data, and ensures the integrity and accuracy of the basic data; forms interface variable metadata through the summary and analysis of the configuration data, and constructs a standardized data basis for verification code generation; the double guarantee of coding verification and data verification significantly improves the reliability and anti-interference ability of the verification code, effectively reduces the risk of data transmission errors; integrates and backs up the second verification code and the device information to generate a parameter file, which not only realizes the safe storage of data, but also ensures the traceability of data; finally, sends it to the protection information substation in the form of a parameter file, which not only guarantees the efficiency and accuracy of data interaction between the independently controllable DC protection system and the protection information substation, but also enhances the security of core data transmission in the power system, and provides strong data support for the stable operation of the DC transmission system.

[0075] Each embodiment in this specification is described in a progressive manner. For the parts that are the same or similar in each embodiment, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, reference can be made to the partial description of the method embodiment. It should be noted that the technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0076] The above is only the preferred embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the technical principle of the present invention, several improvements and replacements can be made, and these improvements and replacements should also be regarded as the protection scope of the present invention.

Claims

1. A method for sending the check code of an autonomous and controllable DC protection system to a protection information substation, characterized in that, The self - controllable DC protection system adopts a multi - processor architecture. Each processor chip includes several cores, and the application software of the self - controllable DC protection system is fragmented and stored in each core; The method for uploading the verification code of the self - controllable DC protection system to the protection information sub - station includes: Scanning the application software function modules stored in each core to obtain the application software function module configuration data corresponding to each core, where the application software function module configuration data includes the name of the application software function module and the initial values of the interface variables of the application software function module; Summarizing and analyzing the application software function module configuration data of each core to obtain the interface variable metadata of the self - controllable DC protection system, where the interface variable metadata includes the interface variable call expression and the interface variable attribute information; Performing coding verification on the interface variable metadata to obtain the first verification code of the self - controllable DC protection system; Performing data verification on the first verification code to obtain the second verification code of the self - controllable DC protection system; Integrating and backing up the second verification code and the device information of the self - controllable DC protection system to obtain a parameter file, and sending the parameter file to the protection information sub - station.

2. The method for sending the verification code of the self - controllable DC protection system to the protection and control information sub - station according to claim 1, wherein, After integrating and backing up the second verification code and the device information of the self - controllable DC protection system to obtain a parameter file and sending the parameter file to the protection information sub - station, it further includes: Based on the parameter access request of the protection information sub - station, performing parameter callback on the self - controllable DC protection system to obtain the data interaction consistency result between the self - controllable DC protection system and the protection information sub - station.

3. The method for uploading the verification code of the self - controllable DC protection system to the protection information sub - station according to claim 1, wherein, The scanning of the application software function modules stored in each core to obtain the application software function module configuration data corresponding to each core includes: Removing redundant data from the application software function modules stored in each core to obtain the purified data of the application software function modules corresponding to each core, where the redundant data includes the position coordinate information, note information, creation and modification time, and page number information of the application software function module; Selecting valid data from the purified data of the application software function modules of each core to obtain the application software function module configuration data corresponding to each core, where the valid data includes the name of the application software function module and the initial value of the interface variable.

4. The method for sending the check code of the self - controllable DC protection system to the protection information sub - station according to claim 1, characterized in that, The summarizing and analyzing of the application software function module configuration data of each core to obtain the interface variable metadata of the self - controllable DC protection system includes: Summarizing the application software function module configuration data of each core to obtain an application software function module configuration data set; Performing logical analysis on the application software function module configuration data set to obtain the interface variable call expression and the interface variable attribute information of the self - controllable DC protection system.

5. The method for sending the check code of the autonomous and controllable DC protection system to the protection information substation according to claim 1, characterized in that, The performing of coding verification on the interface variable metadata to obtain the first verification code of the self - controllable DC protection system includes: Combine the interface variable call expression and the interface variable attribute information to obtain a string, and convert the string to ASCII code; Perform a cyclic redundancy check on the ASCII code to obtain the first check code of the self - controllable DC protection system.

6. The method for sending the check code of the self - controllable DC protection system to the protection and control information sub - station according to claim 1, wherein, The data verification of the first check code to obtain the second check code of the self - controllable DC protection system includes: Check the parameter legality of the first check code. If the first check code passes the parameter legality check, represent the first check code as the second check code of the self - controllable DC protection system; otherwise, correct the first check code and represent the corrected first check code as the second check code of the self - controllable DC protection system.

7. The method for sending the verification code of the self - controllable DC protection system to the protection information sub - station according to claim 1, characterized in that, The integration and backup of the second check code and the device information of the self - controllable DC protection system to obtain a parameter file and send the parameter file to the protection information sub - station includes: Integrate the second check code and the device information of the self - controllable DC protection system to obtain a parameter global variable; Dump the parameter global variable into a file to obtain a parameter file, and back up the parameter file to obtain a parameter backup file; Send the parameter file to the protection information sub - station in the form of a message.

8. The method for sending the verification code of the self - controllable DC protection system to the protection and control information sub - station according to claim 2, characterized in that, Based on the parameter access request of the protection information sub - station, perform a parameter callback on the self - controllable DC protection system to obtain the data interaction consistency result between the self - controllable DC protection system and the protection information sub - station, including: Based on the read parameter request of the protection information sub - station, perform a read parameter callback on the self - controllable DC protection system to obtain the data reading consistency result between the self - controllable DC protection system and the protection information sub - station; Based on the write parameter request of the protection information sub - station, perform a write parameter callback on the self - controllable DC protection system to obtain the data writing consistency result between the self - controllable DC protection system and the protection information sub - station.

9. A check code uploading protection information substation system for an autonomous and controllable DC protection system, characterized in that, The self - controllable DC protection system adopts a multi - processor architecture. Each processor chip includes several cores, and the application software of the self - controllable DC protection system is fragmented and stored in each core; The check code of the self - controllable DC protection system is sent to the protection information sub - station system, including: A core scanning unit for scanning the application software function modules stored in each core to obtain the application software function module configuration data corresponding to the core. The application software function module configuration data includes the application software function module name and the initial value of the application software function module interface variable; A summary analysis unit for summarizing and analyzing the application software function module configuration data of each core to obtain the interface variable metadata of the self - controllable DC protection system. The interface variable metadata includes the interface variable call expression and the interface variable attribute information; An encoding check unit for performing an encoding check on the interface variable metadata to obtain the first check code of the self - controllable DC protection system; A data verification unit for verifying the first check code to obtain a second check code of the self - controllable DC protection system; A file upload unit for integrating and backing up the second check code and the device information of the self - controllable DC protection system to obtain a parameter file, and sending the parameter file to the protection information sub - station.

10. The check code uploading and protection information substation system of the autonomous and controllable DC protection system according to claim 9, characterized in that, The check code upload protection information sub - station system of the self - controllable DC protection system further includes: A parameter callback unit for performing parameter callback on the self - controllable DC protection system based on the parameter access request of the protection information sub - station to obtain the data interaction consistency result between the self - controllable DC protection system and the protection information sub - station.

Citation Information

Patent Citations

  • Transformer substation information protection sub-station simulation modeling method

    CN104750911A

  • Method, device, equipment and system for checking configuration file of intelligent substation

    CN114429408A

  • Information interaction method and relay protection fault information system

    CN116599758A

  • Acceptance and acceptance system and method for information protection substation

    CN119067588A

  • Application software validity verification method based on dual verification and self-verification in Bootloader

    CN119537253A