CN109933440B - Method, system and equipment for interaction between protection module and management module in centralized protection device - Google Patents
Method, system and equipment for interaction between protection module and management module in centralized protection device Download PDFInfo
- Publication number
- CN109933440B CN109933440B CN201910132997.9A CN201910132997A CN109933440B CN 109933440 B CN109933440 B CN 109933440B CN 201910132997 A CN201910132997 A CN 201910132997A CN 109933440 B CN109933440 B CN 109933440B
- Authority
- CN
- China
- Prior art keywords
- area
- shared memory
- module
- management module
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Storage Device Security (AREA)
Abstract
The invention discloses a method, a system and equipment for interaction between a protection module and a management module in a centralized protection device, wherein a shared memory area is established between the management module and the protection module, and for typical application of a relay protection device, the shared memory area is divided into a fixed value area, an SOE event area, a recording data area and a command channel area, and the management module and the protection module interact through the shared memory area; the application mainly solves the problems that the relay protection device adopts a high-speed bus to perform data interaction in the past, such as: the data is easy to interfere, the data bandwidth is limited, the shared memory area is adopted for data interaction, the data access is carried out in the memory essentially, the possibility that the data is interfered is eliminated theoretically, meanwhile, the mass memory is utilized, only the shared memory area is required to be planned, the data bandwidth is not limited, and the requirement of real-time performance is met for fast reading of the memory data.
Description
Technical Field
The invention belongs to the field of data interaction modes, and particularly relates to a method, a system and equipment for interaction between a protection module and a management module in a centralized protection device.
Background
The existing mainstream technical scheme is that a single-core protection board interacts with a management board through a high-speed bus and a serial bus, the serial bus is generally used for interacting data with low real-time requirements such as fixed values or commands, and the high-speed bus is generally used for interacting data with strong real-time properties such as soe or wave recording.
As shown in fig. 1, the existing protection device management module and the protection module transmit data through a high-speed bus, the high-real-time data in the prior art is guaranteed by adopting the high-speed bus, in theory, the high-speed bus data is easy to be interfered in the normal operation process, so that error data are generated, the data security has a great hidden danger, and thus, the safety operation of a transformer substation is threatened greatly. While high speed buses have data bandwidth limitations. In order to prevent data loss, the high-speed bus has extremely high requirements on the real-time performance of the device, and has high requirements on an operating system and hardware, so that the further expansion of certain advanced functions of the protection device is not facilitated.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a method, a system and equipment for interaction between a protection module and a management module in a centralized protection device, wherein a shared memory area is adopted for data interaction, so that data access is essentially performed in a memory, the possibility of data interference is eliminated in theory, meanwhile, a mass memory is utilized, only the shared memory area is required to be planned, no bandwidth limitation exists, and the requirement of real-time performance is met for fast reading of memory data.
The invention solves the prior technical problems by the following technical proposal:
a protection module and management module interaction method in a centralized protection device establishes a shared memory area between the management module and the protection module, a multi-core CPU fuses the protection module and the management module in one CPU, the shared memory area belongs to resources in a RAM (random access memory) chip, the shared memory area is divided into a fixed value area, an SOE (state of the eye) event area, a recording data area and a command channel area, and the management module and the protection module interact through the shared memory area;
when the fixed value area interaction is carried out, the control management module reads a database (the database of the management module refers to data mapping of shared memory division, namely the basis of shared memory division), stores database data into the shared memory fixed value area, and simultaneously informs a corresponding protection module of reading a fixed value from the shared memory fixed value area through the command channel area;
when SOE event interaction is carried out, when the protection module detects that SOE changes, SOE information is stored in the shared memory area, meanwhile, the sequence number of SOE information is recorded, and the control management module reads SOE event area data at regular time;
when the wave recording event interaction is carried out, when the protection module triggers the protection action, the wave recording data generated by the protection action is stored in a wave recording data area, the management module regularly inquires whether wave recording data exist or not, and the wave recording data are transferred to the flash to generate a wave recording file.
The command channel area is used for transmitting the data needing command interaction in the management module to the protection module, and the protection module reads the data needing command interaction and executes corresponding operation.
The shared memory area belongs to the RAM intra-chip partition.
The protection module comprises one or a combination of a transformer protection module, a bus connection protection module, a backup automatic switching module and a measurement and control module.
A protection module and management module interaction system in a centralized protection device comprises a shared memory area dividing unit, a fixed value area interaction unit, an SOE event interaction unit and a recording data unit;
the shared memory area dividing unit establishes a shared memory area between the management module and the protection module, the multi-core CPU fuses the protection module and the management module into one CPU, the shared memory area belongs to resources in a RAM (random access memory) chip, and the shared memory area is divided into a fixed value area, an SOE (state of the eye) event area, a recording data area and a command channel area, and the management module and the protection module interact through the shared memory area;
the fixed value area interaction unit controls the management module to read the database, stores the database data into the shared memory fixed value area, and simultaneously informs the corresponding protection module of reading a fixed value from the shared memory fixed value area through the command channel area;
when the protection module detects SOE changes, the SOE event interaction unit stores SOE information into the shared memory area, simultaneously records the sequence number of SOE information, and controls the management module to read SOE event area data at regular time;
when the protection module triggers the protection action, the recording data unit stores the recording data generated by the protection action into a recording data area, and the management module regularly inquires whether the recording data exist or not and transfers the recording data to the flash to generate a recording file.
A computing device, comprising: one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing a method of interacting a protection module with a management module in a centralized protection device.
A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform a method of interacting a protection module with a management module in a centralized protection appliance.
Compared with the prior phase-locked loop technology, the invention has the advantages and positive effects that:
1. the invention discloses a method, a system and equipment for interaction between a protection module and a management module in a centralized protection device, which are free from limitation of data bandwidth, wherein the prior art adopts a high-speed bus to conduct real-time data exchange, data is transmitted to the high-speed bus to be encoded, CPU interrupt time is also required to be occupied for data reading, and the abnormality such as packet loss and data verification errors are easily caused by overlarge data quantity. The shared memory area belongs to the resources in the RAM slice and has no data bandwidth limitation;
2. the data interaction in the prior art is carried out on a high-speed bus without the problem of data security, the longer bus is easily affected by external interference in theory, such as EMC experiments, the shared memory is adopted for data interaction in the technology, the high-speed bus is not used, and all management and protection module data are completed in the same memory, so that the possibility that the data are affected by external interference is avoided;
3. the real-time requirements on hardware and an operating system are reduced, the high-speed bus data in the prior art has strong real-time requirements, the data is required to be received and transmitted in one interrupt, otherwise, the data is easy to lose, the shared memory is adopted for data interaction, and the data with strong real-time properties such as soe event and wave recording event only need to be marked, and data reading is not needed to be carried out on each interrupt.
Drawings
FIG. 1 is a schematic diagram of a prior art management module and protection module transmitting data over a high speed bus;
FIG. 2 is a schematic diagram illustrating data interaction between a centralized protection module and a management module according to the present application;
fig. 3 is a schematic diagram of the division of the shared memory area in the present application.
Description of the embodiments
The application of the method will now be described in detail with reference to the accompanying drawings.
The invention solves the prior technical problems by the following technical proposal:
as shown in fig. 2, a method for interaction between a protection module and a management module in a centralized protection device is provided, a shared memory area is established between the management module and the protection module, a multi-core CPU fuses the protection module and the management module in one CPU, the shared memory area belongs to resources in a RAM chip, and as shown in fig. 3, the shared memory area is divided into a fixed value area, an SOE event area, a recording data area and a command channel area, and the management module and the protection module interact through the shared memory area;
when the fixed value area interaction is carried out, the control management module reads a database (the database of the management module refers to data mapping of shared memory division, namely the basis of shared memory division), stores database data into the shared memory fixed value area, and simultaneously informs a corresponding protection module of reading a fixed value from the shared memory fixed value area through the command channel area;
when SOE event interaction is carried out, when the protection module detects that SOE changes, SOE information is stored in the shared memory area, meanwhile, the sequence number of SOE information is recorded, and the control management module reads SOE event area data at regular time;
when the wave recording event interaction is carried out, when the protection module triggers the protection action, the wave recording data generated by the protection action is stored in a wave recording data area, the management module regularly inquires whether wave recording data exist or not, and the wave recording data are transferred to the flash to generate a wave recording file.
The command channel area is used for transmitting the data needing command interaction in the management module to the protection module, and the protection module reads the data needing command interaction and executes corresponding operation.
The shared memory area belongs to the RAM intra-chip partition.
The protection module comprises one or a combination of a transformer protection module, a bus connection protection module, a backup automatic switching module and a measurement and control module.
A protection module and management module interaction system in a centralized protection device comprises a shared memory area dividing unit, a fixed value area interaction unit, an SOE event interaction unit and a recording data unit;
the shared memory area dividing unit establishes a shared memory area between the management module and the protection module, the multi-core CPU fuses the protection module and the management module into one CPU, the shared memory area belongs to resources in a RAM (random access memory) chip, and the shared memory area is divided into a fixed value area, an SOE (state of the eye) event area, a recording data area and a command channel area, and the management module and the protection module interact through the shared memory area;
the fixed value area interaction unit controls the management module to read a database (the database of the management module refers to data mapping of shared memory division, namely the basis of shared memory division), store database data into the shared memory fixed value area, and simultaneously inform the corresponding protection module of reading a value from the shared memory fixed value area through the command channel area;
when the protection module detects SOE changes, the SOE event interaction unit stores SOE information into the shared memory area, simultaneously records the sequence number of SOE information, and controls the management module to read SOE event area data at regular time;
when the protection module triggers the protection action, the recording data unit stores the recording data generated by the protection action into a recording data area, and the management module regularly inquires whether the recording data exist or not and transfers the recording data to the flash to generate a recording file.
A computing device, comprising: one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing a method of interacting a protection module with a management module in a centralized protection device.
A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform a method of interacting a protection module with a management module in a centralized protection appliance.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or groups of devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or groups of embodiments may be combined into one module or unit or group, and furthermore they may be divided into a plurality of sub-modules or sub-units or groups. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the method of the invention in accordance with instructions in said program code stored in the memory.
By way of example, and not limitation, computer readable media comprise computer storage media and communication media. Computer-readable media include computer storage media and communication media. Computer storage media stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is defined by the appended claims.
The foregoing is only a preferred embodiment of the invention, it being noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the invention.
Claims (6)
1. A method for interaction between a protection module and a management module in a centralized protection device is characterized in that,
a shared memory area is established between the management module and the protection module, the multi-core CPU fuses the protection module and the management module into one CPU, the shared memory area belongs to RAM in-chip resources, the shared memory area is divided into a fixed value area, an SOE event area, a recording data area and a command channel area, and the management module and the protection module interact through the shared memory area;
when the fixed value area interaction is carried out, the control management module reads the database, stores the database data into the shared memory fixed value area, and simultaneously informs the corresponding protection module of reading a fixed value from the shared memory fixed value area through the command channel area;
when SOE event interaction is carried out, when the protection module detects that SOE changes, SOE information is stored in the shared memory area, meanwhile, the sequence number of SOE information is recorded, and the control management module reads SOE event area data at regular time;
when the wave recording event interaction is carried out, when the protection module triggers the protection action, the wave recording data generated by the protection action is stored in a wave recording data area, the management module regularly inquires whether wave recording data exist or not, and the wave recording data are transferred to the flash to generate a wave recording file;
the command channel area is used for transmitting the data needing command interaction in the management module to the protection module, and the protection module reads the data needing command interaction and executes corresponding operation.
2. The method of claim 1, wherein the protection module interacts with the management module,
the shared memory area belongs to the RAM intra-chip partition.
3. The method of claim 1, wherein the protection module interacts with the management module,
the protection module comprises one or a combination of a transformer protection module, a bus connection protection module, a backup automatic switching module and a measurement and control module.
4. The interactive system of the protection module and the management module in the centralized protection device is characterized by comprising a shared memory area dividing unit, a constant value area interactive unit, an SOE event interactive unit and a recording data unit;
the shared memory area dividing unit establishes a shared memory area between the management module and the protection module, the multi-core CPU fuses the protection module and the management module into one CPU, the shared memory area belongs to resources in a RAM (random access memory) chip, and the shared memory area is divided into a fixed value area, an SOE (state of the eye) event area, a recording data area and a command channel area, and the management module and the protection module interact through the shared memory area;
the fixed value area interaction unit controls the management module to read the database, stores the database data into the shared memory fixed value area, and simultaneously informs the corresponding protection module of reading a fixed value from the shared memory fixed value area through the command channel area;
when the protection module detects SOE changes, the SOE event interaction unit stores SOE information into the shared memory area, simultaneously records the sequence number of SOE information, and controls the management module to read SOE event area data at regular time;
when the protection module triggers the protection action, the recording data unit stores the recording data generated by the protection action into a recording data area, and the management module regularly inquires whether the recording data exist or not and transfers the recording data to the flash to generate a recording file.
5. A computing device, comprising:
one or more processors, memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing any of the methods of claims 1-3.
6. A computer readable storage medium storing one or more programs, wherein the one or more programs comprise instructions, which when executed by a computing device, cause the computing device to perform any of the methods of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910132997.9A CN109933440B (en) | 2019-02-22 | 2019-02-22 | Method, system and equipment for interaction between protection module and management module in centralized protection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910132997.9A CN109933440B (en) | 2019-02-22 | 2019-02-22 | Method, system and equipment for interaction between protection module and management module in centralized protection device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109933440A CN109933440A (en) | 2019-06-25 |
CN109933440B true CN109933440B (en) | 2023-07-18 |
Family
ID=66985843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910132997.9A Active CN109933440B (en) | 2019-02-22 | 2019-02-22 | Method, system and equipment for interaction between protection module and management module in centralized protection device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109933440B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110596500A (en) * | 2019-10-15 | 2019-12-20 | 南京南瑞继保电气有限公司 | Intelligent test management platform and management method for relay protection device and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1538292A (en) * | 2003-10-22 | 2004-10-20 | 北京四方继保自动化有限公司 | Application management method of CSM-RTDB based on ombedded type system |
CN103439591A (en) * | 2013-05-31 | 2013-12-11 | 深圳市康必达控制技术有限公司 | Electric energy quality monitoring and controlling system |
CN104378439A (en) * | 2014-11-24 | 2015-02-25 | 上海许继电气有限公司 | System and method for achieving real-time transmission of transformer substation device information based on shared memory |
CN105515819A (en) * | 2015-07-14 | 2016-04-20 | 国家电网公司 | IEC61850-based communication component and application component data interface method |
US20180004797A1 (en) * | 2016-06-29 | 2018-01-04 | International Business Machines Corporation | Application resiliency management using a database driver |
CN107846077A (en) * | 2017-11-06 | 2018-03-27 | 成都交大许继电气有限责任公司 | Intelligent railway distribution substation Protection control system and its operation method |
-
2019
- 2019-02-22 CN CN201910132997.9A patent/CN109933440B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1538292A (en) * | 2003-10-22 | 2004-10-20 | 北京四方继保自动化有限公司 | Application management method of CSM-RTDB based on ombedded type system |
CN103439591A (en) * | 2013-05-31 | 2013-12-11 | 深圳市康必达控制技术有限公司 | Electric energy quality monitoring and controlling system |
CN104378439A (en) * | 2014-11-24 | 2015-02-25 | 上海许继电气有限公司 | System and method for achieving real-time transmission of transformer substation device information based on shared memory |
CN105515819A (en) * | 2015-07-14 | 2016-04-20 | 国家电网公司 | IEC61850-based communication component and application component data interface method |
US20180004797A1 (en) * | 2016-06-29 | 2018-01-04 | International Business Machines Corporation | Application resiliency management using a database driver |
CN107846077A (en) * | 2017-11-06 | 2018-03-27 | 成都交大许继电气有限责任公司 | Intelligent railway distribution substation Protection control system and its operation method |
Also Published As
Publication number | Publication date |
---|---|
CN109933440A (en) | 2019-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4123794A (en) | Multi-computer system | |
CN101430651B (en) | Access method for peripheral devices in heterogeneous multi-core system | |
US8572342B2 (en) | Data transfer device with confirmation of write completion and method of controlling the same | |
EP2372521A2 (en) | Remote direct storage access | |
US10140194B2 (en) | Storage system transactions | |
DE102011014588A1 (en) | Multicasting write requests to multi-memory controllers | |
US20070130432A1 (en) | Storage system for copying data between storage devices, and method of copying data | |
CN109391694B (en) | SFTP-based file transmission method and related equipment | |
US9507633B2 (en) | Scheduling method and system | |
CN108540315A (en) | Distributed memory system, method and apparatus | |
CN105446657A (en) | Method for monitoring RAID card | |
CN104156255A (en) | Virtual machine migration method, virtual machine migration device and source physical host | |
US20160034332A1 (en) | Information processing system and method | |
US9092396B2 (en) | Standby system device, a control method, and a program thereof | |
US20030217152A1 (en) | Resource sharing with database synchronization | |
CN115167782B (en) | Temporary storage copy management method, system, equipment and storage medium | |
CN109933440B (en) | Method, system and equipment for interaction between protection module and management module in centralized protection device | |
CN100580649C (en) | Disc control device and data transmission control method | |
US10248354B2 (en) | Hypervisor enabling secure communication between virtual machines by managing exchanging access to read buffer and write buffer with a queuing buffer | |
CN114610567A (en) | Container monitoring method, network device and storage medium | |
CN114047712A (en) | Data communication method of semi-physical simulation system based on reflective memory network | |
CN113687977A (en) | Data processing device based on RAID controller to realize calculation performance improvement | |
CN104281587B (en) | A kind of method and device for establishing connection | |
US20230268022A1 (en) | Mediating directed refresh management induced row hammer and row access strobe (ras) clobber failures | |
CN111611104B (en) | InfluxDB data backup method, system and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |