Distributed relay protection system generation method and device, electronic equipment and medium
By receiving and parsing configuration instructions to generate configuration files, a distributed relay protection system is generated, which solves the problems of complex system design and large R&D workload in existing technologies, and improves development efficiency and system stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANDONG LUNENG SOFTWARE TECH
- Filing Date
- 2022-09-19
- Publication Date
- 2026-06-19
AI Technical Summary
Existing protection and control systems employ multi-chip solutions such as MCU, DSP, and FPGA in their hardware, resulting in complex system design, complex multi-platform design, difficulty in modifying the system, and a large workload for research and development.
A method for generating a distributed relay protection system is provided, comprising: receiving a configuration instruction for a target relay protection system; the configuration instruction is an instruction to configure the functions to be implemented at each system layer according to business requirements; the system layers include a data layer, a device layer, a protocol layer, and an interface layer; parsing the configuration instruction and generating a corresponding configuration file based on the configuration parameters obtained after parsing; and loading the configuration file to generate the target relay protection system based on the configuration file.
This reduces the difficulty of system implementation, significantly reduces R&D workload, improves development efficiency, and enhances system stability and ease of subsequent maintenance.
Smart Images

Figure CN115525323B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of relay protection technology for intelligent substations, and more specifically, to a method and apparatus for generating a distributed relay protection system, an electronic device, and a computer-readable storage medium. Background Technology
[0002] Most existing protection and control systems in China adopt multi-chip solutions such as MCU, DSP, and FPGA in terms of hardware. They also design complex parallel bus based on FPGA to meet the interconnection of various boards and chips in the device. The multi-platform, multi-chip, and parallel port interconnection make the system design modification complex and difficult. In addition, the system design usually adopts a process-oriented approach to integrate business, application software, system, and hardware, resulting in a large amount of R&D work.
[0003] Therefore, how to solve the above problems is a key focus for those skilled in the art. Summary of the Invention
[0004] The purpose of this application is to provide a method and apparatus for generating a distributed relay protection system, as well as an electronic device and a computer-readable storage medium, which reduces the difficulty of system implementation, significantly reduces the workload of research and development, and improves development efficiency.
[0005] To achieve the above objectives, this application provides a method for generating a distributed relay protection system, comprising:
[0006] Receive configuration instructions for the target relay protection system; the configuration instructions are instructions to configure the functions required to be implemented at each system layer according to business requirements; the system layers include data layer, device layer, protocol layer, and interface layer;
[0007] The configuration instructions are parsed, and the corresponding configuration file is generated based on the parsed configuration parameters;
[0008] Load the configuration file to generate the target relay protection system based on the configuration file.
[0009] Optionally, receiving configuration instructions for the target relay protection system includes:
[0010] Receive configuration commands for the target relay protection system through a visual interface.
[0011] Optionally, receiving configuration instructions for the target relay protection system through a visual interface includes:
[0012] The visualization interface is used to display the system hierarchy stored in the preset relational database and all the achievable functions in each system hierarchy;
[0013] Receive selection instructions for the functions to be implemented in each of the system layers.
[0014] Optionally, the step of using the visualization interface to display the system hierarchy stored in the preset relational database and all achievable functions in each system hierarchy includes:
[0015] The visualization interface is used to display the data elements, logical elements, and computational elements in the data layer, the device type information in the device layer, the communication protocol types and corresponding protocol parameters in the protocol layer, and the physical interface types and corresponding interface parameters in the interface layer stored in the preset relational database.
[0016] Optionally, the preset relational database is further used to store the relationships between the logical elements, the relationships between the logical elements and the computational elements, the relationships between the computational elements and the data elements, and the relationships between the computational elements using foreign keys.
[0017] Optionally, the device type includes any one or a combination of any of the following: server device, client device, sampling device, logic device, computing device, and root device.
[0018] Optionally, the configuration file includes a station control layer configuration file and a bay layer configuration file;
[0019] Accordingly, loading the configuration file to generate the target relay protection system based on the configuration file includes:
[0020] Load and parse the station control layer configuration file and the bay layer configuration file to complete the initialization of the substation control layer and bay layer, and generate the target relay protection system.
[0021] Optionally, the target relay protection system includes one or more chips, each of which includes all of the system layers.
[0022] To achieve the above objectives, this application provides a distributed relay protection system generation device, comprising:
[0023] The instruction receiving module is used to receive configuration instructions for the target relay protection system; the configuration instructions are instructions to configure the functions required to be implemented at each system layer according to business requirements; the system layers include data layer, device layer, protocol layer, and interface layer;
[0024] The configuration generation module is used to parse the configuration instructions and generate corresponding configuration files based on the parsed configuration parameters.
[0025] The system generation module is used to load the configuration file to generate the target relay protection system according to the configuration file.
[0026] To achieve the above objectives, this application provides an electronic device, comprising:
[0027] Memory, used to store computer programs;
[0028] A processor is used to execute the computer program to implement the steps of the distributed relay protection system generation method described above.
[0029] To achieve the above objectives, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the distributed relay protection system generation method described above.
[0030] As can be seen from the above scheme, the distributed relay protection system generation method provided in this application includes: receiving a configuration instruction for a target relay protection system; the configuration instruction is an instruction to configure the functions required to be implemented at each system layer according to business needs; the system layers include a data layer, a device layer, a protocol layer, and an interface layer; parsing the configuration instruction and generating a corresponding configuration file based on the configuration parameters obtained after parsing; loading the configuration file to generate the target relay protection system according to the configuration file. It can be seen that this application pre-defines the system layers based on object-oriented principles, allowing users to issue configuration instructions based on the preset system layers to design the required target relay protection system. This layered design reduces the difficulty of system implementation, significantly reduces R&D workload, improves development efficiency, and is also beneficial to system stability and subsequent maintenance.
[0031] This application also discloses a distributed relay protection system generation device, an electronic device, and a computer-readable storage medium, which can achieve the same technical effects as described above.
[0032] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this application. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 This is a flowchart of a method for generating a distributed relay protection system disclosed in an embodiment of this application;
[0035] Figure 2 This is a schematic diagram of a distributed relay protection system disclosed in an embodiment of this application;
[0036] Figure 3 This is a software architecture diagram of a distributed relay protection system disclosed in an embodiment of this application;
[0037] Figure 4 This is a structural diagram of a distributed relay protection system generation device disclosed in an embodiment of this application;
[0038] Figure 5 This is a structural diagram of an electronic device disclosed in an embodiment of this application;
[0039] Figure 6 This is a structural diagram of another electronic device disclosed in an embodiment of this application. Detailed Implementation
[0040] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0041] In existing technologies, protection and control systems mostly adopt multi-chip solutions such as MCU, DSP, and FPGA in terms of hardware. They also design complex parallel bus based on FPGA to meet the interconnection of various boards and chips in the device. The multi-platform, multi-chip, and parallel port interconnection make the system design modification complex and difficult, and the research and development workload is large.
[0042] Therefore, this application discloses a method for generating a distributed relay protection system, which reduces the difficulty of system implementation, significantly reduces the amount of research and development work, and improves development efficiency.
[0043] See Figure 1 As shown in the embodiments of this application, a method for generating a distributed relay protection system includes:
[0044] S101: Receive configuration instructions for the target relay protection system; the configuration instructions are instructions to configure the functions required to be implemented at each system layer according to business requirements; the system layers include data layer, device layer, protocol layer, and interface layer;
[0045] In this step, the system receives configuration instructions from the user based on business needs, specifying the configuration of the target relay protection system. Specifically, this can be done by configuring each pre-defined system layer, i.e., configuring the functions required for each system layer.
[0046] It should be noted that the distributed relay protection system in this embodiment may specifically include: a data layer, a device layer, a protocol layer, and an interface layer. The data layer is used to handle data input, output, and processing. Supported data types include, but are not limited to, single-byte, integer, floating-point, string, array, and vector data. Supported logical operations include, but are not limited to, addition, subtraction, multiplication, division, AND, OR, NOT, delay, cloning, Fourier transform, vector multiplication, addition, and frequency calculation. The device layer represents the collection of data processing operations. Device types include, but are not limited to, server devices, client devices, sampling devices, logic devices, computing devices, and root devices. Specifically, server devices provide data, client devices consume data, sampling devices provide sampling point data, logic devices and computing devices provide logical calculation services, and the root device has the authority to operate the entire data element. The protocol layer is used to extract and encapsulate data, describing which protocol the current device uses for communication, including but not limited to traditional protocols such as 61850 and 103, or proprietary protocols. The interface layer represents the data transmission channel and describes what physical interface the current device uses, including but not limited to traditional interfaces such as network ports, serial ports, and CAN, or shared memory.
[0047] In this embodiment, the interface layer separates the code from the hardware, thereby achieving hardware independence and improving software portability.
[0048] As a preferred embodiment, the process of receiving configuration instructions for the target relay protection system can be specifically described as follows: receiving the configuration instructions through a visual interface. Specifically, the visual interface can be used to display the system hierarchy stored in a preset relational database and all achievable functions in each system hierarchy; then, the user can receive selection instructions to choose the achievable functions according to their needs, that is, configuration instructions for the functions to be implemented in each system hierarchy.
[0049] It is understood that the embodiments of this application utilize a relational database to store information describing the system layers in advance. Specifically, it can store data elements, logical elements, and computational elements in the data layer, device type information in the device layer, communication protocol types and corresponding protocol parameters in the protocol layer, and physical interface types and corresponding interface parameters in the interface layer. After displaying the above information, users can achieve visual and configurable design for each system layer according to business needs, separating business from code and improving business adaptability.
[0050] In practical implementation, the data elements in the aforementioned data layer can specifically be the general data tables that the current device needs to process, such as remote signaling point tables, telemetry point tables, remote control point tables, and setpoint tables. The aforementioned logic elements can specifically refer to the logical functions that the current device needs to process. Logic types include, but are not limited to, addition, subtraction, multiplication, division, AND, OR, NOT, exponential calculation, trigonometric calculation, comparison operations, multiplexing calculation, absolute value calculation, and delay calculation. The consistent logic type interfaces improve scalability. Specifically, the implementation method for each logic element can be pre-written, so that after obtaining the configuration command, the required logic can be componentized according to the configuration command and the implementation method. The aforementioned computational elements can specifically refer to the computational functions that the current device needs to process. Computational types include, but are not limited to, full-wave Fourier transform, half-wave Fourier transform, real and imaginary part calculation, sequence component calculation, frequency calculation and tracking, and differentiation.
[0051] It should be further explained that, in this embodiment of the application, the aforementioned preset relational database can also be used to store relationships between various logical elements, such as: the output of logical element A is the input of logical element B; relationships between logical elements and computational elements, such as: a logical element can use or modify a data element; relationships between computational elements and data elements; and dependencies between computational elements, such as: computational element A depends on the computation result of computational element B. It is understood that all of the above relationships can be stored using foreign keys in the database.
[0052] S102: Parse the configuration instructions and generate a corresponding configuration file based on the parsed configuration parameters;
[0053] In this step, after obtaining the configuration instructions for the target relay protection system, the configuration instructions are further parsed to obtain the configuration parameters in the configuration instructions, and then the corresponding configuration file is generated based on the above configuration parameters.
[0054] It should be noted that in specific implementations, the aforementioned configuration files can specifically include station control layer configuration files and bay layer configuration files. The station control layer application runs on a Linux system, and its main functions include: parsing system configuration files to complete the initialization of the substation control layer; to implement station control layer services, its data layer includes interlocking, remote control, data synthesis and forwarding, etc.; the equipment layer includes the backend, interlocking devices, recording devices, etc.; the protocol layer includes MMS (Microsoft Media Server Protocol), 103 protocol, custom protocols, etc.; and the interface layer includes shared memory, network ports, serial ports, CAN (Controller Area Network) bus, etc. The bay layer application runs on one or more metal systems, and its program architecture is the same as that of the station control layer, meaning that the two configuration files have the same format, thereby enabling distributed deployment for substation control layer services and bay layer services.
[0055] S103: Load the configuration file to generate the target relay protection system according to the configuration file.
[0056] It is understandable that by loading the above configuration files, the corresponding target relay protection system is generated. If the configuration files include station control layer configuration files and bay layer configuration files, then the above station control layer configuration files and bay layer configuration files can be loaded and parsed respectively to complete the initialization of the substation station control layer and bay layer, and generate the target relay protection system.
[0057] In practical implementation, the target relay protection system may include one or more chips, each of which includes all complete system layers: data layer, device layer, protocol layer, and interface layer. That is, all chips have the same system architecture, allowing identical or different services to be deployed across multiple chips for processing. Compared to traditional technologies that require centralized computation using high-performance chips, this embodiment utilizes multiple distributed chips with identical system architectures to collaboratively process computationally intensive services, significantly improving processing efficiency.
[0058] As can be seen from the above scheme, the distributed relay protection system generation method provided in this application includes: receiving a configuration instruction for a target relay protection system; the configuration instruction is an instruction to configure the functions required to be implemented at each system layer according to business needs; the system layers include a data layer, a device layer, a protocol layer, and an interface layer; parsing the configuration instruction and generating a corresponding configuration file based on the configuration parameters obtained after parsing; loading the configuration file to generate the target relay protection system according to the configuration file. It can be seen that this application pre-defines the system layers based on object-oriented principles, allowing users to issue configuration instructions based on the preset system layers to design the required target relay protection system. This layered design reduces the difficulty of system implementation, significantly reduces R&D workload, improves development efficiency, and is also beneficial to system stability and subsequent maintenance.
[0059] This application discloses a specific method for generating a distributed relay protection system. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. Specifically:
[0060] The current relay protection system suffers from a complex hardware structure, with multiple chips and architectures leading to high development and hardware costs. Furthermore, the complex application environment of relay protection necessitates manufacturers designing various boards and supporting programs to meet specific field requirements. This significantly increases the workload of research and development, maintenance difficulty, and expansion challenges, requiring substantial R&D effort.
[0061] To enable distributed business expansion, this application provides a main program for loading business functions, which is not responsible for any actual business operations. The business is described by a database file; specifically, a visual configuration is provided based on the database file. That is, the data, devices, protocols, interfaces, logic, and calculations of a single system are entirely determined by the configuration file. Therefore, this application pre-creates a relational database and provides a visual configuration method based on this relational database.
[0062] It is understandable that the above configuration file describes the following: a general data table that the device needs to process, i.e., data elements, which may specifically include remote signaling point tables, telemetry point tables, remote control point tables, sampling point tables, etc., and supports dynamic expansion. The remote signaling point table describes the various remote signaling processing types supported by the currently configured system, and whether remote signaling anti-jitter processing is supported. The telemetry point table describes the telemetry types supported by the currently configured system, supports floating-point and integer processing, and sets the corresponding coefficients and offsets. The remote control point table sets the remote control operation object, remote control type, remote control timeout, remote control pulse width, interlocking logic, and remote control position of the currently configured system. The sampling point table describes the sampling value coefficients.
[0063] The configuration file may also include the computations and logic that the device needs to process, including: various logical functions required by the current configuration system, i.e., logical elements, whose corresponding parameters include logical type, the relationship between logical elements, the relationship between logical elements and computational elements; and various computational functions required by the current configuration system, i.e. computational elements, whose corresponding parameters include computational element type, the relationship between computational elements and data elements, and the dependency relationship between computational elements.
[0064] The configuration file is also used to describe external or built-in devices, protocols, and interfaces, which can be described by information such as device type, physical interface type, interface layer parameters, protocol type, and protocol parameters.
[0065] This application embodiment is based on object-oriented principles and uses C language to implement all functions, ensuring that the main program can run on various operating systems and even bare metal. The interfaces between layers are clear and unambiguous, and the code is highly reusable. By using a unified hardware platform, hardware and R&D costs are reduced, R&D workload is decreased, and product development speed is increased. Business functions are abstracted and refined into independent, common modules, and corresponding business expansion can be achieved through visual configuration between modules. This increases system flexibility and reduces system dependence on hardware.
[0066] As can be seen from the above, when facing different business needs, the main program of this application embodiment does not need to be modified. Only the data elements, logic elements, computing elements, devices and corresponding protocol interfaces required to support the business need need to be modified using a visual tool. The main program will automatically load the configured business logic to realize the corresponding different business needs and improve the scalability of the function.
[0067] The following describes a distributed relay protection system designed using the distributed relay protection system generation method disclosed in this application, through a specific implementation scenario. (See also...) Figure 2 As shown, specifically:
[0068] Each core of each chip contains a complete data layer, device layer, protocol layer, and interface layer, utilizing Zynq (a scalable processing platform) as its hardware carrier. The shared memory and LVDS (Low-Voltage Differential Signaling) bus of the interface layer enable distributed interaction. The MCU (Microcontroller Unit) board is responsible for central regulation. The shared memory is specifically divided into 16 channels, each 1 Mbyte, further subdivided into 1024 smaller channels, each 1024 bytes. The LVDS bus connects the shared memory of different chips, enabling memory sharing between them. Furthermore, using a serial LVDS bus allows for the introduction of different operating systems to each core based on business requirements or real-time demands. The entire system is flexible and configurable, enabling distributed heterogeneous systems. Relay protection functions can be mapped to different cores of different chips. The data layer and device layer are identical in each core, while the interface layer is highly reused, significantly reducing workload. Simultaneously, the distributed design can flexibly adapt to complex substation operations or high-intensity computations.
[0069] See Figure 3 As shown, relay protection systems should at least have a station control layer data center and a bay layer data center. The station control layer data center is equipped with a heterogeneous Linux operating system, while the bay layer data center is equipped with a real-time operating system, depending on business requirements. If the bay layer is complex, multiple bay layer data centers can be added. Devices within the same data center interact through the data center; these devices can be data producers or data consumers. Devices in different data centers interact through protocols and interfaces. Devices with different chips and cores are ultimately combined to form the relay protection system. This system has highly reusable functions, strong stability, and can be easily extended to adjacent business areas such as power distribution.
[0070] Traditional embedded debugging methods are inefficient and difficult to implement. The embodiments of this application use a distributed architecture and the code achieves hardware independence. Therefore, the debugging code can be deployed on a PC, which facilitates the debugging and maintenance of the code.
[0071] The following describes a distributed relay protection system generation device provided in the embodiments of this application. The distributed relay protection system generation device described below and the distributed relay protection system generation method described above can be referred to each other.
[0072] See Figure 4 As shown in the figure, a distributed relay protection system generation device provided in this application includes:
[0073] The instruction receiving module 201 is used to receive configuration instructions for the target relay protection system; the configuration instructions are instructions to configure the functions required to be implemented at each system layer according to business requirements; the system layers include data layer, device layer, protocol layer, and interface layer;
[0074] The configuration generation module 202 is used to parse the configuration instructions and generate corresponding configuration files based on the configuration parameters obtained after parsing.
[0075] The system generation module 203 is used to load the configuration file to generate the target relay protection system according to the configuration file.
[0076] For details on the specific implementation process of modules 201 to 203, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.
[0077] This application also provides an electronic device, see [link to document]. Figure 5 As shown in the embodiment of this application, an electronic device includes:
[0078] Memory 100 is used to store computer programs;
[0079] The processor 200, when executing the computer program, can implement the steps of the distributed relay protection system generation method provided in the above embodiments.
[0080] Specifically, the memory 100 includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. In some embodiments, the processor 200 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip, providing computing and control capabilities to the electronic device. When executing the computer program stored in the memory 100, it can implement the steps of the distributed relay protection system generation method disclosed in any of the above embodiments.
[0081] Based on the above embodiments, as a preferred embodiment, see [link to preferred embodiment]. Figure 6 As shown, the electronic device further includes:
[0082] Input interface 300, connected to processor 200, is used to acquire externally imported computer programs, parameters, and instructions, and saves them to memory 100 under the control of processor 200. Input interface 300 can be connected to an input device to receive parameters or instructions manually entered by the user. This input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the terminal casing, or a keyboard, touchpad, or mouse, etc.
[0083] The display unit 400, connected to the processor 200, is used to display data processed by the processor 200 and to display a visual user interface. The display unit 400 can be an LED display, a liquid crystal display, a touch-screen liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc.
[0084] Network port 500, connected to processor 200, is used for communication with external terminal devices. The communication technology used for this connection can be wired or wireless, such as Mobile High Definition Link (MHL), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), Wireless Fidelity (WiFi), Bluetooth, Bluetooth Low Energy, or IEEE 802.11s-based communication technologies.
[0085] Figure 6 Only electronic devices with 100-500 components are shown; it will be understood by those skilled in the art that... Figure 6 The structure shown does not constitute a limitation on the electronic device and may include fewer or more components than shown, or combine certain components, or have different component arrangements.
[0086] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. The storage medium stores a computer program, which, when executed by a processor, implements the steps of the distributed relay protection system generation method disclosed in any of the above embodiments.
[0087] This application pre-defines the system hierarchy based on object-oriented principles, enabling users to issue configuration commands based on the preset system hierarchy to design the required target relay protection system. The layered design reduces the difficulty of system implementation, significantly reduces the workload of research and development, improves development efficiency, and is also conducive to system stability and subsequent maintenance.
[0088] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
[0089] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A method for generating a distributed relay protection system, characterized in that, include: Receive configuration commands for the target relay protection system; The target relay protection system includes one or more chips that achieve distributed interaction through shared memory and LVDS bus. The shared memory is divided into multiple channels, and each channel is divided into multiple sub-channels. Each chip includes all system layers. The configuration instructions are instructions to configure the functions required to be implemented by each system layer according to business requirements. The system layers include a data layer for completing data input, output and processing and including data elements, logic elements and computational elements; a device layer for characterizing data processing; a protocol layer for extracting and encapsulating data and describing the communication protocol used by the current device; and an interface layer for representing data transmission channels, describing the physical interface used by the current device and separating code from hardware. The configuration instructions are parsed, and corresponding station control layer configuration files and bay layer configuration files are generated based on the parsed configuration parameters. Load and parse the station control layer configuration file and the bay layer configuration file to complete the initialization of the substation station control layer and bay layer, and generate the target relay protection system; The step of receiving configuration instructions for the target relay protection system includes: Receive configuration commands for the target relay protection system through a visual interface; The step of receiving configuration instructions for the target relay protection system through a visual interface includes: The visualization interface is used to display the system hierarchy stored in the preset relational database and all the achievable functions in each system hierarchy; Receive selection instructions for the functions to be implemented in each of the system layers.
2. The method for generating a distributed relay protection system according to claim 1, characterized in that, The process of using the visual interface to display the system hierarchy stored in the preset relational database and all achievable functions in each system hierarchy includes: The visualization interface is used to display the data elements, logical elements, and computational elements in the data layer, the device type information in the device layer, the communication protocol types and corresponding protocol parameters in the protocol layer, and the physical interface types and corresponding interface parameters in the interface layer stored in the preset relational database.
3. The method for generating a distributed relay protection system according to claim 2, characterized in that, The preset relational database is also used to store the relationships between the logical elements, the relationships between the logical elements and the computational elements, the relationships between the computational elements and the data elements, and the relationships between the computational elements using foreign keys.
4. The method of claim 2, wherein, The device types include any one or a combination of any of the following: server-side devices, client-side devices, sampling devices, logic devices, computing devices, and root devices.
5. A distributed relay protection system generation apparatus characterized by comprising: include: The instruction receiving module is used to receive configuration instructions for the target relay protection system; The target relay protection system includes one or more chips that achieve distributed interaction through shared memory and LVDS bus. The shared memory is divided into multiple channels, and each channel is divided into multiple sub-channels. Each chip includes all system layers. The configuration instructions are instructions to configure the functions required to be implemented by each system layer according to business requirements. The system layers include a data layer for completing data input, output and processing and including data elements, logic elements and computational elements; a device layer for characterizing data processing; a protocol layer for extracting and encapsulating data and describing the communication protocol used by the current device; and an interface layer for representing data transmission channels, describing the physical interface used by the current device and separating code from hardware. The configuration generation module is used to parse the configuration instructions and generate corresponding station control layer configuration files and interval layer configuration files based on the parsed configuration parameters. The system generation module is used to load and parse the station control layer configuration file and the bay layer configuration file, complete the initialization of the substation station control layer and bay layer, and generate the target relay protection system. The instruction receiving module is further configured to: receive configuration instructions for the target relay protection system through a visual interface; The instruction receiving module is further configured to: display the system hierarchy stored in the preset relational database and all achievable functions in each system hierarchy using the visualization interface; and receive selection instructions for the functions to be implemented in each system hierarchy.
6. An electronic device, comprising: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the distributed relay protection system generation method as described in any one of claims 1 to 4.
7. A computer readable storage medium characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the distributed relay protection system generation method as described in any one of claims 1 to 4.