Method and system for transmitting check code of autonomous controllable DC protection system to protection substation
By performing core scanning and data integration of the multi-processor architecture of the DC protection system, and generating and sending verification codes, the data incomplete and susceptible interference problems in the process of sending verification codes in the prior art are solved, and efficient and reliable data transmission and interaction of the DC protection system are realized.
Patent Information
- Application Number
- CN202510749901.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2045-06-06
AI Technical Summary
In the multi-processor architecture and fragmented software storage environment, the existing DC protection system has problems such as incomplete data verification, low parameter file integration efficiency, and easy interference during the verification code transmission process, which cannot meet the requirements of real-time and reliability.
The autonomous controllable DC protection system adopts a multi-processor architecture. By scanning, redundant data is eliminated and purified by each core application software functional module, module configuration data is obtained, interface variable metadata is formed, and encoding checksum data is carried out, backup verification codes and equipment information are generated and integrated, and parameter files are formed to send to the guarantee substation.
It improves the reliability and anti-interference ability of the verification code, ensures the accuracy and security of data transmission, enhances the data interaction efficiency and consistency between the DC protection system and the guarantee substation, and provides a guarantee of stable operation of the power system.
Smart Images

Figure CN120262332B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of direct current (DC) transmission protection, and in particular to a method and system for transmitting a check code of an autonomous controllable DC protection system to a protection signal substation. Background Art
[0002] In HVDC transmission projects, the DC protection system is a key component in ensuring safe and stable operation. The accuracy and reliability of data exchange between the DC protection system and the security substation are crucial. The checksum, a crucial safeguard for data integrity and accuracy, directly impacts the system's monitoring and control of operating status during its upload process.
[0003] As the complexity of DC protection systems continues to increase, the existing method of sending check codes to protection substations has problems such as incomplete data verification, low efficiency of parameter file integration, and susceptibility to interference in the complex environment of multi-processor architecture and fragmented software storage. It is difficult to ensure the accuracy and stability of the check code transmission, and cannot fully meet the strict real-time and reliability requirements of the DC protection system.
[0004] Therefore, it is urgent to propose a new method that can adapt to the hardware architecture of the DC protection system and improve the reliability and accuracy of the check code transmission. Summary of the Invention
[0005] In view of the shortcomings of the prior art in the complex environment of DC protection systems, the present invention provides a method and system for transmitting the check code of an autonomous and controllable DC protection system to a protection signal substation.
[0006] In a first aspect, an embodiment of the present invention provides a method for transmitting a check code of an autonomous controllable DC protection system to a protection signal substation. The autonomous controllable DC protection system adopts a multi-processor architecture, each processor chip includes a plurality of cores, and the application software of the autonomous controllable DC protection system is fragmented and stored in each of the cores.
[0007] The method for transmitting the verification code of the autonomous controllable DC protection system to the protection substation includes:
[0008] Scanning the application software function modules stored in each of the cores to obtain application software function module configuration data corresponding to the core, wherein the application software function module configuration data includes an application software function module name and an initial value of an application software function module interface variable;
[0009] Summarizing and analyzing the configuration data of the application software function modules of each core to obtain interface variable metadata of the autonomous controllable DC protection system, wherein the interface variable metadata includes interface variable call expressions and interface variable attribute information;
[0010] Performing coding verification on the interface variable metadata to obtain a first verification code of the autonomous controllable DC protection system;
[0011] Performing data verification on the first check code to obtain a second check code of the autonomous controllable DC protection system;
[0012] The second check code and the equipment information of the autonomous controllable DC protection system are integrated and backed up to obtain a parameter file, and the parameter file is sent to the security substation.
[0013] Preferably, after integrating and backing up the second check code and the device information of the autonomous controllable DC protection system to obtain a parameter file and sending the parameter file to the security substation, the method further includes:
[0014] Based on the parameter access request of the trustworthy substation, parameter callback is performed on the autonomous controllable DC protection system to obtain a data interaction consistency result between the autonomous controllable DC protection system and the trustworthy substation.
[0015] 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:
[0016] Eliminating redundant data from the application software function modules stored in each of the cores to obtain purified data of the application software function modules corresponding to the core, wherein the redundant data includes location coordinate information, remarks, creation and modification time, and page number information of the application software function modules;
[0017] Valid data is selected from the purified data of the application software function module of each core to obtain the application software function module configuration data corresponding to the core, wherein the valid data includes the name of the application software function module and the initial value of the interface variable.
[0018] Preferably, the summarizing and analyzing the configuration data of the application software functional modules of each core to obtain the interface variable metadata of the autonomous controllable DC protection system includes:
[0019] Summarizing the application software function module configuration data of each core to obtain an application software function module configuration data set;
[0020] A logical analysis is performed on the application software function module configuration data set to obtain the interface variable call expression and interface variable attribute information of the autonomous controllable DC protection system.
[0021] Preferably, the performing coding verification on the interface variable metadata to obtain the first verification code of the autonomous controllable DC protection system includes:
[0022] Merging the interface variable call expression and the interface variable attribute information to obtain a character string, and converting the character string into ASCII code;
[0023] A cyclic redundancy check is performed on the ASCII code to obtain a first check code of the autonomous controllable DC protection system.
[0024] Preferably, performing data verification on the first check code to obtain a second check code of the autonomous controllable DC protection system includes:
[0025] A parameter validity check is performed on the first check code. If the first check code passes the parameter validity check, the first check code is represented as the second check code of the autonomous controllable DC protection system; otherwise, the first check code is corrected, and the corrected first check code is represented as the second check code of the autonomous controllable DC protection system.
[0026] Preferably, the integrating and backing up the second check code and the device information of the autonomous controllable DC protection system to obtain a parameter file, and sending the parameter file to the security substation includes:
[0027] Integrating the second check code and the device information of the autonomous controllable DC protection system to obtain a parameter global variable;
[0028] Dumping the parameter global variables into a file to obtain a parameter file, and backing up the parameter file to obtain a parameter backup file;
[0029] The parameter file is sent to the Baoxin substation in the form of a message.
[0030] Preferably, the parameter callback of the autonomous controllable DC protection system based on the parameter access request of the trustworthy substation to obtain the data interaction consistency result between the autonomous controllable DC protection system and the trustworthy substation includes:
[0031] Based on the read parameter request of the trustworthy substation, a read parameter callback is performed on the autonomous controllable DC protection system to obtain a data read consistency result between the autonomous controllable DC protection system and the trustworthy substation;
[0032] Based on the write parameter request of the trustworthy substation, a write parameter callback is performed on the autonomous controllable DC protection system to obtain a data write consistency result between the autonomous controllable DC protection system and the trustworthy substation.
[0033] In a second aspect, an embodiment of the present invention provides a system for transmitting a check code to a protection signal substation of an autonomous controllable DC protection system. The autonomous controllable DC protection system adopts a multi-processor architecture, each processor chip includes a plurality of cores, and the application software of the autonomous controllable DC protection system is fragmented and stored in each of the cores.
[0034] The verification code of the autonomous controllable DC protection system is sent to the protection substation system, including:
[0035] a core scanning unit, configured to scan the application software function modules stored in each of the cores to obtain application software function module configuration data corresponding to the core, wherein the application software function module configuration data includes an application software function module name and an initial value of an application software function module interface variable;
[0036] a summarizing and analyzing unit, configured to summarize and analyze the configuration data of the application software function modules of each core to obtain interface variable metadata of the autonomous controllable DC protection system, wherein the interface variable metadata includes interface variable call expressions and interface variable attribute information;
[0037] a coding verification unit, configured to perform coding verification on the interface variable metadata to obtain a first verification code of the autonomous controllable DC protection system;
[0038] a data verification unit, configured to perform data verification on the first verification code to obtain a second verification code of the autonomous controllable DC protection system;
[0039] The file uploading unit is used to integrate and back up the second verification code and the equipment information of the autonomous controllable DC protection system to obtain a parameter file, and send the parameter file to the security substation.
[0040] Preferably, the verification code of the autonomous controllable DC protection system is sent to the protection signal substation system, further comprising:
[0041] A parameter callback unit is used to perform parameter callback on the autonomous controllable DC protection system based on the parameter access request of the security substation, and obtain a data interaction consistency result between the autonomous controllable DC protection system and the security substation.
[0042] Compared with the prior art, the method and system for sending the check code of an autonomous controllable DC protection system to a trustworthy substation in an embodiment of the present invention have the following beneficial effects: fully adapting to the operating characteristics of fragmented software storage under the multi-processor architecture of the autonomous controllable DC protection system, effectively breaking through the technical bottleneck of check code generation and aggregation in multi-core synchronous operation scenarios; accurately obtaining module configuration data through comprehensive scanning of each core application software functional module, ensuring the integrity and accuracy of basic data; forming interface variable metadata through configuration data aggregation and analysis, and constructing a standardized data foundation for check code generation; the dual protection of coding check and data verification significantly improves the reliability and anti-interference ability of the check code, and effectively reduces the risk of data transmission errors; integrating the second check code with the equipment information to back up and generate a parameter file, which not only realizes the safe storage of data, but also ensures the traceability of data; and finally sending it to the trustworthy substation in the form of a parameter file, which not only ensures the efficiency and accuracy of data interaction between the autonomous controllable DC protection system and the trustworthy substation, but also enhances the security of core data transmission of the power system, and provides strong data support for the stable operation of the DC transmission system. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 This is a flow chart of a method for transmitting a check code of an autonomous controllable DC protection system to a protection signal substation according to an embodiment of the present invention;
[0044] Figure 2 This is a flow chart of scanning and obtaining configuration data of application software function modules according to an embodiment of the present invention;
[0045] Figure 3 This is a schematic diagram of a process for obtaining interface variable metadata through summary analysis according to an embodiment of the present invention;
[0046] Figure 4 1 is a schematic diagram of a coding verification process according to an embodiment of the present invention;
[0047] Figure 5 This is a schematic diagram of the integrated backup process according to an embodiment of the present invention;
[0048] Figure 6 This is another flowchart of a method for transmitting a check code of an autonomous controllable DC protection system to a protection signal substation according to an embodiment of the present invention;
[0049] Figure 7 1 is a flow chart of parameter callback according to an embodiment of the present invention;
[0050] Figure 8 This is a structural diagram of a system for transmitting a check code to a protection signal substation of an autonomous controllable DC protection system according to an embodiment of the present invention;
[0051] Figure 9This is another structural diagram of a system for transmitting a check code to a protection signal substation of an autonomous controllable DC protection system according to an embodiment of the present invention;
[0052] Reference numerals:
[0053] 1. Core scanning unit; 2. Summary and analysis unit; 3. Encoding verification unit; 4. Data verification unit; 5. File upload unit; 6. Parameter callback unit. DETAILED DESCRIPTION
[0054] The following embodiments of the present invention are described in further detail with reference to the accompanying drawings and examples. The following examples are used to illustrate the present invention but are not intended to limit the scope of the present invention.
[0055] In the description of the present invention, it should be understood that the terms "first" and "second" etc. are used in the present invention to distinguish different objects rather than to describe a specific order.
[0056] In describing the present invention, it should be noted that, unless otherwise defined, all technical and scientific terms used herein have the same meanings as those 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. Those skilled in the art will understand the specific meanings of the above terms in the present invention in specific circumstances.
[0057] like Figure 1 As shown, it is a flow chart of a method for transmitting a check code of an autonomous controllable DC protection system to a protection signal substation according to an embodiment of the present invention.
[0058] It should be noted that the autonomous controllable DC protection system used in the present invention uses an autonomous controllable chip. To simplify the description, the autonomous controllable DC protection system will be referred to as the DC protection system.
[0059] The DC protection system based on proprietary controllable chips has achieved a standardized design. It utilizes a multi-processor architecture, with each processor chip comprising several cores. The DC protection system's application software is fragmented and stored within each core. In other words, each processor chip utilizes multiple cores to simultaneously process the application software. As you can see, a core within a processor chip is often also referred to as a kernel. It is a functional unit within the processor chip that can independently execute instructions and process data.
[0060] Specifically, the method for sending the verification code to the trustworthy substation includes the following steps:
[0061] S1. Scan the application software function modules stored in each core to obtain the application software function module configuration data of the corresponding core;
[0062] like Figure 2 As shown, it is a flow chart of scanning and obtaining the configuration data of the application software function module according to an embodiment of the present invention. Specifically, step S1 includes:
[0063] 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;
[0064] Specifically, the DC protection system's application software in this embodiment is stored in the Flash memory (a non-volatile memory chip) of each core as an iecprg.dat file. The PROC function block scans the iecprg.dat file stored in each core, removing factors that have no impact on the application logic, i.e., redundant data, to obtain clean data for the corresponding core's application software functional module. Furthermore, this redundant data includes the application software functional module's location coordinate information, notes, creation and modification times, and page numbers. By reducing unnecessary data processing, the efficiency of subsequent information processing can be improved.
[0065] S102: Select valid 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.
[0066] Valid data from the purified data for each core application software functional module is obtained to obtain the corresponding core application software functional module configuration data. Specifically, valid data includes the application software functional module name and initial values of interface variables. Accordingly, the application software functional module configuration data includes the application software functional module name and initial values of application software functional module interface variables. By obtaining this valid data, we can better understand the function and initial status of the software module, providing an accurate data foundation for subsequent software operations.
[0067] S2. Summarize and analyze the configuration data of each core application software functional module to obtain the interface variable metadata of the autonomous controllable DC protection system;
[0068] like Figure 3 As shown, it is a schematic diagram of the process of summarizing and analyzing the interface variable metadata according to an embodiment of the present invention. Specifically, step S2 includes:
[0069] S201, summarizing the application software function module configuration data of each core to obtain an application software function module configuration data set;
[0070] This embodiment aggregates the application software function module configuration data of each core through the PROS function block to obtain an application software function module configuration data set.
[0071] S202: Perform logic analysis on the application software function module configuration data set to obtain interface variable call expressions and interface variable attribute information of the autonomous controllable DC protection system.
[0072] Specifically, the interface variable metadata includes the interface variable call expression and interface variable attribute information. Further, the logic analysis process includes the following steps:
[0073] 1) Structured data storage
[0074] The collected configuration data of the application software function modules are sorted and stored in a suitable data structure so that the information can be easily accessed and processed later.
[0075] 2) Analyze the connection relationship between modules
[0076] Determine the interface connections between modules based on the DC protection system design documents, schematics, or actual connections between modules. Identify which module outputs are inputs to other modules, thereby establishing a logical connection network between modules.
[0077] 3) Derive interface variable calling logic
[0078] Based on the connection relationships between modules and the functional characteristics of each module, the call logic operation expression of the interface variables, namely the interface variable call expression, is derived. Formal logic deduction methods such as truth tables and logical algebraic operations can be used to accurately determine the operation relationship between interface variables.
[0079] 4) Determine the property setting information
[0080] For each module's interface variable, the corresponding attribute settings, i.e., interface variable attribute information, are determined based on its role and requirements in the DC protection system. These attributes include the variable's data type, value range, accuracy requirements, and whether it is an input or output variable.
[0081] S3. Perform coding verification on the interface variable metadata to obtain a first verification code of the autonomous controllable DC protection system;
[0082] like Figure 4 As shown, it is a schematic diagram of the process of coding verification according to an embodiment of the present invention. Specifically, step S3 includes:
[0083] S301, combining the interface variable call expression and the interface variable attribute information to obtain a string, and converting the string into ASCII code;
[0084] The interface variable call expression and the interface variable attribute information are combined to form a string containing specific data information, and the string is converted into ASCII code.
[0085] S302: Perform a cyclic redundancy check on the ASCII code to obtain a first check code of the autonomous controllable DC protection system.
[0086] This embodiment uses the CRC32 algorithm to perform a 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, whose purpose is to detect whether errors occur during data transmission or storage, thereby ensuring data integrity and accuracy.
[0087] S4. Perform data verification on the first check code to obtain a second check code of the autonomous controllable DC protection system;
[0088] Specifically, a parameter validity check is performed on the first check code. If the first check code passes the parameter validity check, the first check code is represented as the second check code of the DC protection system. Otherwise, the first check code is corrected, and the corrected first check code is represented as the second check code of the DC protection system.
[0089] It's important to note that checking parameter validity is crucial, as only valid parameters ensure the proper operation of the DC protection system. Parameter validity requirements include ensuring that parameter values are within specified ranges and that the parameter format complies with DC protection system requirements. If invalid parameters are found, corrective measures must be taken, such as restoring default parameters.
[0090] S5. Integrate and back up the second check code and the equipment information of the autonomous controllable DC protection system to obtain a parameter file, and send the parameter file to the security substation.
[0091] like Figure 5 , which is a schematic diagram of the process of integrating backup according to an embodiment of the present invention. Specifically, step S5 includes:
[0092] S501, integrating the second check code and the device information of the DC protection system to obtain a parameter global variable;
[0093] In this embodiment, the second checksum and device information of the DC protection system are written into the global parameter variable gParameterRegion. Global variables are accessible and usable throughout the entire program. Storing key data such as the checksum and device information in global variables facilitates access and processing. Device information includes the device model, configuration parameters, and operating status.
[0094] S502, dumping the parameter global variables into a file to obtain a parameter file, and backing up the parameter file to obtain a parameter backup file;
[0095] Specifically, a parameter file writing task is created to dump the parameter global variables into a file to obtain a parameter file, and the parameter file is backed up in a standard format to obtain a parameter backup file.
[0096] The following is a detailed description of the process of writing the parameter file task in this embodiment:
[0097] 1) Initialize the command to write parameter files
[0098] The PARI function block initializes the execution of the command to write the parameter file. It should be noted that the PARI function block here plays the role of starting the entire task process of writing the parameter file, and it sets the initial state for a series of subsequent operations.
[0099] 2) Check whether the parameter file exists
[0100] Check whether the parameter file Parameter.bin exists in the Flash memory. As you can see, Flash memory is used as a storage medium for long-term storage of parameter files. This step determines the direction of subsequent operations, as the presence or absence of the file will lead to different processing procedures.
[0101] 3) Handling the problem of parameter file not existing
[0102] If the parameter file Parameter.bin does not exist, two files are created: the parameter file Parameter.bin and the parameter backup file Parameter_back.bin. These files are created to store the parameter data required for the operation of the DC protection system and to back it up to prevent data loss.
[0103] Initialize and configure the parameter global variable gParameterRegion according to the PARI function block default value (the default parameter value preset by the PARI function block) to ensure that it is in a suitable initial state.
[0104] The checksum and other data contained in the global parameter variable gParameterRegion are written to the newly created parameter file Parameter.bin and parameter backup file Parameter_back.bin. Therefore, the new parameter file and parameter backup file contain the key parameter information required for the operation of the DC protection system.
[0105] 4) Processing of parameter file existence
[0106] If the parameter file Parameter.bin exists, you need to check its validity. This validation includes multiple aspects, such as confirming that the device information is correct, that the checksum is valid, and that the number of each parameter type in the file is consistent with the function block configuration. Only a valid parameter file ensures normal system operation; an invalid parameter file may cause system failure or malfunction.
[0107] If the parameter file is valid, the original parameter file Parameter.bin is first written to the parameter backup file Parameter_back.bin, preserving the original parameter file's contents so that it can be restored to its previous state if needed. The checksum and other data in the global parameter variable gParameterRegion are then written to the parameter file Parameter.bin, updating the original parameter file's contents to include the latest parameter information. Finally, the starting address of the parameter read buffer is output to facilitate access to the data in the parameter read buffer.
[0108] S503: Send the parameter file to the Baoxin substation in the form of a message.
[0109] The parameter file is sent to the Baoxin substation in the form of a message through the communication protocol established between the DC protection system and the Baoxin substation.
[0110] In order to ensure the accuracy of data transmission and processing from the DC protection system to the Baoxin substation, such as Figure 6 As shown, it is another flow chart of a method for transmitting a check code of an autonomous controllable DC protection system to a signal protection substation according to an embodiment of the present invention. A method for transmitting a check code of an autonomous controllable DC protection system to a signal protection substation according to an embodiment of the present invention, after step S5, further includes the following steps:
[0111] S6. Based on the parameter access request of the trustworthy substation, the parameters of the autonomous controllable DC protection system are called back to obtain the data interaction consistency result between the autonomous controllable DC protection system and the trustworthy substation.
[0112] like Figure 7 As shown, it is a schematic diagram of the parameter callback process of an embodiment of the present invention. Specifically, step S6 includes:
[0113] S601: Based on the parameter read request of the trustworthy substation, a parameter read callback is performed on the autonomous controllable DC protection system to obtain a data read consistency result between the autonomous controllable DC protection system and the trustworthy substation;
[0114] The following is a detailed description of the parameter read callback process in this embodiment:
[0115] 1) Enter the read and write service callback
[0116] When the protection substation initiates a parameter read request, the DC protection system enters the predefined read / write service callback function. It can be understood that a callback function is a function that is called when a specific event occurs, and the specific event here is the parameter read request.
[0117] 2) Get reference da_ref
[0118] The reference da_ref is a parameter reference identifier that uniquely identifies a parameter. After the callback is entered, the DC protection system obtains this reference from the request information so that it can accurately find the corresponding parameter later.
[0119] 3) Find VarCfg.xml to get the num number
[0120] VarCfg.xml is a configuration file that typically stores parameter configuration information, such as the parameter number, name, and data type. The DC protection system uses the da_ref reference to find the corresponding num number in the VarCfg.xml configuration file. The num number also serves as a parameter identifier for internal processing within the DC protection system.
[0121] 4) Get the value from the parameter global variable
[0122] The parameter global variable gParameterRegion stores the current parameter value of the DC protection system. Based on the obtained num number, the DC protection system retrieves the corresponding parameter value from this parameter global variable.
[0123] 5) dataptr written to da_map
[0124] 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 global parameter variable gParameterRegion to the location pointed to by dataptr in da_map, thereby passing the parameter value to the protection substation.
[0125] 6) Refresh parameter values
[0126] In order to ensure the timeliness and accuracy of data, the DC protection system will refresh the relevant parameter values after transmitting the parameter values to the Baoxin substation.
[0127] In general, the parameter read callback operation is to enter the callback after receiving the parameter read request, find the number in the configuration file by reference, get the value from the parameter global variable, write it into the data mapping structure and refresh the parameter value.
[0128] S602: Based on the parameter write request of the trustworthy substation, the autonomous controllable DC protection system is called back to write parameters, and a data write consistency result between the autonomous controllable DC protection system and the trustworthy substation is obtained.
[0129] The following is a detailed description of the parameter writing callback process in this embodiment:
[0130] 1) Enter the read and write service callback
[0131] When the protection substation initiates a parameter write request, the DC protection system will also enter the read-write service callback function.
[0132] 2) Get the reference da_ref through da_map
[0133] The DC protection system obtains the reference da_ref from the data mapping structure da_map to determine the parameters to be written.
[0134] 3) Find VarCfg.xml to get the num number
[0135] By referencing da_ref, the corresponding num number is searched in the configuration file VarCfg.xml to accurately find the location where the parameter is stored inside the DC protection system.
[0136] 4) Get data from dataptr in da_map
[0137] Get the new parameter value sent by the trust substation from the location pointed to by dataptr in da_map.
[0138] 5) Write global variables
[0139] The new parameter value is written into the parameter global variable gParameterRegion to update the current parameter value of the DC protection system.
[0140] 6) Release the signal to write parameter file
[0141] The parameter file write signal is a semaphore used to control the parameter file write operation. Releasing this signal indicates that the parameter file write operation can begin.
[0142] 7) In the background task, obtain the write parameter file
[0143] In the background task of the DC protection system, the write parameter file is obtained and the updated parameter values are written into the parameter file in the Flash to complete the persistent storage of the parameters.
[0144] In general, the write parameter callback operation is to obtain the reference and new parameter value from the data mapping structure and write them into the parameter global variable after receiving the write parameter request and entering the callback. After releasing the write signal, the parameter file is updated in the background task.
[0145] The callback of reading and writing parameters can ensure the consistency of parameter reading and writing between the DC protection system and the protection substation.
[0146] The embodiment of the present invention provides a method for sending the check code of an autonomous controllable DC protection system to a security substation, which is fully adapted to the operating characteristics of fragmented software storage under the multi-processor architecture of the autonomous controllable DC protection system, and effectively breaks through the technical bottleneck of check code generation and aggregation in the multi-core synchronous operation scenario; by comprehensively scanning the functional modules of each core application software, the module configuration data is accurately obtained to ensure the integrity and accuracy of the basic data; the interface variable metadata is formed through the summary and analysis of the configuration data, and a standardized data foundation is constructed for the generation of check codes; the dual protection of coding check and data verification significantly improves the reliability and anti-interference ability of the check code, and effectively reduces the risk of data transmission errors; the second check code is integrated with the equipment information and backed up to generate a parameter file, which not only realizes the safe storage of data, but also ensures the traceability of data; and finally, it is sent to the security substation in the form of a parameter file, which not only ensures the efficiency and accuracy of data interaction between the autonomous controllable DC protection system and the security substation, but also enhances the security of the core data transmission of the power system, and provides strong data support for the stable operation of the DC transmission system.
[0147] Based on the above-mentioned method of sending the check code of the autonomous controllable DC protection system to the protection substation, Figure 8 As shown, it is a structural diagram of a check code sending protection signal substation system of an autonomous controllable DC protection system according to an embodiment of the present invention. An embodiment of the present invention provides a check code sending protection signal substation system of an autonomous controllable DC protection system.
[0148] 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.
[0149] The verification code is sent to the trust-guaranteed substation system, including:
[0150] The core scanning unit 1 is used to scan the application software function modules stored in each core to obtain the application software function module configuration data of the corresponding core, wherein 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;
[0151] Summarizing and analyzing unit 2, configured to summarize and analyze the configuration data of the application software functional modules of each core to obtain interface variable metadata of the autonomous controllable DC protection system, wherein the interface variable metadata includes interface variable call expressions and interface variable attribute information;
[0152] The coding verification unit 3 is used to perform coding verification on the interface variable metadata to obtain a first verification code of the autonomous controllable DC protection system;
[0153] A data verification unit 4 is configured to perform data verification on the first verification code to obtain a second verification code of the autonomous controllable DC protection system;
[0154] The file uploading unit 5 is used to integrate and back up the second verification code and the equipment information of the autonomous controllable DC protection system to obtain a parameter file, and send the parameter file to the security substation.
[0155] Furthermore, if Figure 9 As shown, it is another structural schematic diagram of a check code transmission protection substation system of an autonomous controllable DC protection system according to an embodiment of the present invention. A check code transmission protection substation system of an autonomous controllable DC protection system according to an embodiment of the present invention further includes:
[0156] The parameter callback unit 6 is used to perform parameter callback on the autonomous controllable DC protection system based on the parameter access request of the security substation, and obtain the data interaction consistency result between the autonomous controllable DC protection system and the security substation.
[0157] It should be noted that each unit in the system for sending the check code to the security substation of the above-mentioned autonomous controllable DC protection system can be fully or partially implemented by software, hardware and their combination. The above-mentioned units can be embedded in or independent of the processor in the computer device in the form of hardware, 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-mentioned units. For the specific definition of the system for sending the check code to the security substation of an autonomous controllable DC protection system, please refer to the definition of the method for sending the check code to the security substation of an autonomous controllable DC protection system above. The two have the same functions and effects and will not be repeated here.
[0158] To sum up, the embodiment of the present invention provides a method and system for sending the check code of an autonomous and controllable DC protection system to a trustworthy substation, which fully adapts to the operating characteristics of fragmented software storage under the multi-processor architecture of the autonomous and controllable DC protection system, and effectively breaks through the technical bottleneck of check code generation and aggregation in the multi-core synchronous operation scenario; by comprehensively scanning the functional modules of each core application software, the module configuration data is accurately obtained to ensure the integrity and accuracy of the basic data; the interface variable metadata is formed through the summary and analysis of the configuration data, and a standardized data foundation is constructed for the generation of check codes; the dual protection of coding check and data verification significantly improves the reliability and anti-interference ability of the check code, and effectively reduces the risk of data transmission errors; the second check code is integrated with the equipment information and backed up to generate a parameter file, which not only realizes the safe storage of data, but also ensures the traceability of data; and finally it is sent to the trustworthy substation in the form of a parameter file, which not only ensures the efficiency and accuracy of data interaction between the autonomous and controllable DC protection system and the trustworthy substation, but also enhances the security of the core data transmission of the power system, and provides strong data support for the stable operation of the DC transmission system.
[0159] Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and 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, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the various technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0160] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention. These improvements and substitutions should also be regarded as the scope of protection of the present invention.
Claims
1. A method for transmitting a check code of an autonomous controllable DC protection system to a protection substation, characterized in that: The autonomous controllable DC protection system adopts a multi-processor architecture, each processor chip includes a plurality of cores, and the application software of the autonomous controllable DC protection system is fragmented and stored in each of the cores; The method for transmitting the verification code of the autonomous controllable DC protection system to the protection substation includes: Scanning the application software function modules stored in each of the cores to obtain application software function module configuration data corresponding to the core, wherein the application software function module configuration data includes an application software function module name and an initial value of an application software function module interface variable; Summarizing and analyzing the configuration data of the application software function modules of each core to obtain interface variable metadata of the autonomous controllable DC protection system, wherein the interface variable metadata includes interface variable call expressions and interface variable attribute information; Performing coding verification on the interface variable metadata to obtain a first verification code of the autonomous controllable DC protection system; Performing data verification on the first check code to obtain a second check code of the autonomous controllable DC protection system; Integrate and back up the second check code and the device information of the autonomous controllable DC protection system to obtain a parameter file, and send the parameter file to the security substation; The performing data verification on the first check code to obtain a second check code of the autonomous controllable DC protection system includes: A parameter validity check is performed on the first check code. If the first check code passes the parameter validity check, the first check code is represented as the second check code of the autonomous controllable DC protection system; otherwise, the first check code is corrected, and the corrected first check code is represented as the second check code of the autonomous controllable DC protection system.
2. The method for transmitting the check code of the autonomous controllable DC protection system to the protection signal substation according to claim 1 is characterized in that: After integrating and backing up the second check code and the device information of the autonomous controllable DC protection system to obtain a parameter file, and sending the parameter file to the security substation, the method further includes: Based on the parameter access request of the trustworthy substation, parameter callback is performed on the autonomous controllable DC protection system to obtain a data interaction consistency result between the autonomous controllable DC protection system and the trustworthy substation.
3. The method for transmitting the check code of the autonomous controllable DC protection system to the protection signal substation according to claim 1, characterized in that: Scanning the application software function modules stored in each core to obtain configuration data of the application software function modules corresponding to the core includes: Eliminating redundant data from the application software function modules stored in each of the cores to obtain purified data of the application software function modules corresponding to the core, wherein the redundant data includes location coordinate information, remarks, creation and modification time, and page number information of the application software function modules; Valid data is selected from the purified data of the application software function module of each core to obtain the application software function module configuration data corresponding to the core, wherein the valid data includes the name of the application software function module and the initial value of the interface variable.
4. The method for transmitting the check code of the autonomous controllable DC protection system to the protection signal substation according to claim 1 is characterized in that: The aggregation and analysis of the configuration data of the application software functional modules of each core to obtain the interface variable metadata of the autonomous 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; A logical analysis is performed on the application software function module configuration data set to obtain the interface variable call expression and interface variable attribute information of the autonomous controllable DC protection system.
5. The method for transmitting the check code of the autonomous controllable DC protection system to the protection signal substation according to claim 1 is characterized in that: The performing coding verification on the interface variable metadata to obtain a first verification code of the autonomous controllable DC protection system includes: Merging the interface variable call expression and the interface variable attribute information to obtain a character string, and converting the character string into ASCII code; A cyclic redundancy check is performed on the ASCII code to obtain a first check code of the autonomous controllable DC protection system.
6. The method for transmitting the check code of the autonomous controllable DC protection system to the protection signal substation according to claim 1, characterized in that: The integrating and backing up the second check code and the device information of the autonomous controllable DC protection system to obtain a parameter file, and sending the parameter file to the security substation includes: Integrating the second check code and the device information of the autonomous controllable DC protection system to obtain a parameter global variable; Dumping the parameter global variables into a file to obtain a parameter file, and backing up the parameter file to obtain a parameter backup file; The parameter file is sent to the Baoxin substation in the form of a message.
7. The method for transmitting the check code of the autonomous controllable DC protection system to the protection signal substation according to claim 2, characterized in that: The parameter access request of the trustworthy substation is used to call back the parameters of the autonomous controllable DC protection system, and obtain the data interaction consistency result between the autonomous controllable DC protection system and the trustworthy substation, including: Based on the read parameter request of the trustworthy substation, a read parameter callback is performed on the autonomous controllable DC protection system to obtain a data read consistency result between the autonomous controllable DC protection system and the trustworthy substation; Based on the write parameter request of the trustworthy substation, a write parameter callback is performed on the autonomous controllable DC protection system to obtain a data write consistency result between the autonomous controllable DC protection system and the trustworthy substation.
8. A system for transmitting the check code of an autonomous controllable DC protection system to a signal protection substation, characterized in that: The autonomous controllable DC protection system adopts a multi-processor architecture, each processor chip includes a plurality of cores, and the application software of the autonomous controllable DC protection system is fragmented and stored in each of the cores; The verification code of the autonomous controllable DC protection system is sent to the protection substation system, including: a core scanning unit, configured to scan the application software function modules stored in each of the cores to obtain application software function module configuration data corresponding to the core, wherein the application software function module configuration data includes an application software function module name and an initial value of an application software function module interface variable; a summarizing and analyzing unit, configured to summarize and analyze the configuration data of the application software function modules of each core to obtain interface variable metadata of the autonomous controllable DC protection system, wherein the interface variable metadata includes interface variable call expressions and interface variable attribute information; a coding verification unit, configured to perform coding verification on the interface variable metadata to obtain a first verification code of the autonomous controllable DC protection system; a data verification unit, configured to perform data verification on the first verification code to obtain a second verification code of the autonomous controllable DC protection system; A file uploading unit, configured to integrate and back up the second verification code and the device information of the autonomous controllable DC protection system to obtain a parameter file, and send the parameter file to the security substation; The performing data verification on the first check code to obtain a second check code of the autonomous controllable DC protection system includes: A parameter validity check is performed on the first check code. If the first check code passes the parameter validity check, the first check code is represented as the second check code of the autonomous controllable DC protection system; otherwise, the first check code is corrected, and the corrected first check code is represented as the second check code of the autonomous controllable DC protection system.
9. The verification code transmission system of the autonomous controllable DC protection system according to claim 8 is characterized in that: The verification code of the autonomous controllable DC protection system is sent to the protection signal substation system, further comprising: A parameter callback unit is used to perform parameter callback on the autonomous controllable DC protection system based on the parameter access request of the security substation, and obtain a data interaction consistency result between the autonomous controllable DC protection system and the security substation.
Citation Information
Patent Citations
Transformer substation information protection sub-station simulation modeling method
CN104750911A
Information interaction method and relay protection fault information system
CN116599758A