CN110851199A - Information protection system in power system and initialization method thereof - Google Patents
Information protection system in power system and initialization method thereof Download PDFInfo
- Publication number
- CN110851199A CN110851199A CN201910983861.9A CN201910983861A CN110851199A CN 110851199 A CN110851199 A CN 110851199A CN 201910983861 A CN201910983861 A CN 201910983861A CN 110851199 A CN110851199 A CN 110851199A
- Authority
- CN
- China
- Prior art keywords
- command
- initialization
- protection system
- commands
- station
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
Abstract
The invention relates to an information protection system in an electric power system and an initialization method thereof, belonging to the technical field of electric power systems. The invention distributes a command for the initialization of each device, each command is executed according to the sequence of calling the device group title first and then the description and the attribute of the group, and all commands run in parallel; when the stations in the information protection system are initialized, a group header containing the initialized station is distributed to each station, then a command for continuing initializing description and attributes is returned through the group header of the calling station, if the description and attributes of the stations relate to the return of a secondary device, the command distributed for the device is called, and the commands are controlled to run in parallel. The invention adopts the parallel operation mode of each command to realize the initialization function of the middle device and the substation of the signal protection system, greatly reduces the initialization time and improves the initialization efficiency through the parallel operation of each command.
Description
Technical Field
The invention relates to an information protection system in an electric power system and an initialization method thereof, belonging to the technical field of electric power systems.
Background
The information protection system in the power system needs to perform initialization operation on newly accessed equipment and device information, and the main function of the system is to directly store the basic information and description information of primary equipment and corresponding secondary equipment (devices) and description information into a database. This operation process consumes a lot of time for engineering personnel to debug each time the station-level equipment is initialized due to different kinds and numbers of equipment. Most systems are initialized for a single device or equipment at the time of initialization, and with the progress of computer software technology, the function of one-key initialization begins to appear, but the effect cannot meet the field requirements of engineering personnel.
Taking the initialization substation as an example, when information of a calling station is called, a group title of the calling station needs to be called first, then calling description and attributes continue according to the difference of the station group titles, commands when the group title is called are different from the commands for calling the description and the attributes, and have a sequence, the group title needs to be called first, then the description and the attributes are called, when aiming at secondary equipment, the group title needs to be called first, and then different calling description and attribute commands are issued according to a cpu number and a group title number. The whole process needs to be carried out according to strict sequence requirements, but because the quantity of primary equipment and secondary equipment under the primary equipment is large, if the primary equipment and the secondary equipment are sequentially carried out, long time is needed for completing the initialization of the substation, and the rapid application of the substation is influenced.
Disclosure of Invention
The invention aims to provide an information protection system in a power system and an initialization method thereof, so as to solve the problem that the time consumption is too long in the current initialization process.
The present invention provides an initialization method for an information protection system in an electric power system to solve the above technical problems, the initialization method comprising the steps of:
1) allocating a command for the initialization of each device, and controlling the commands of the devices to run in parallel when the devices in the information protection system are initialized, wherein the command of each device comprises a group title for calling the device, and then carrying out corresponding description and attribute calling according to the called group title;
2) and (2) allocating a command for the initialization of each station, wherein when the stations in the information protection system are initialized, the command of each station comprises a group header for calling the station, corresponding description and attribute calling are respectively carried out according to the called group header, and the commands of each station are controlled to run in parallel, and if the description and attribute of the station relate to the return of a secondary device, the command allocated to the device in the step 1) is called, and the commands of each device are controlled to run in parallel.
The invention also provides a signal protection system in the power system, and the signal protection system adopts an initialization method of the information protection system.
The invention distributes a command for the initialization of each device, each command is executed according to the sequence of calling the device group title first and then the description and the attribute of the group, and all commands run in parallel; when the stations in the information protection system are initialized, a group header containing the initialized station is distributed to each station, then a command for continuing initializing description and attributes is returned through the group header of the calling station, if the description and attributes of the stations relate to the return of a secondary device, the command distributed for the device is called, and the commands are controlled to run in parallel. The invention adopts the parallel operation mode of each command to realize the initialization function of the middle device and the substation of the signal protection system, greatly reduces the initialization time and improves the initialization efficiency through the parallel operation of each command.
Further, in order to reduce the complexity of data storage and further improve the initialization efficiency, each command is stored by adopting a key-value type database, the key is the unique id of the command, and the value is stored in the format of a json character string.
Further, the value storage content includes: all commands sent, commands that need polling, commands that have been returned, exception information, process information, and a status identifier.
Further, the status identifier is used to distinguish whether the command is returned, successful, and failed, and when initializing, the next command or the next group of commands is started according to the status of the status identifier.
Drawings
FIG. 1 is a schematic diagram of a value storage structure in a Key-value database used in the present invention;
FIG. 2 is a diagram of the status of sub-commands in the Key-value database employed in the present invention;
FIG. 3 is a flow chart of initialization of the information protection system in the power system of the present invention;
FIG. 4 is a schematic diagram of the initialization steps of the apparatus employed in the present invention;
FIG. 5 is a schematic diagram of the substation initialization procedure employed in the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings.
Method embodiment
The invention improves the initialization process of the information protection system in the current power system, mainly improves the initialization efficiency and reduces the initialization time by parallel execution of partial commands in the current initialization process. Specifically, a command is allocated for the initialization of each device, when the devices in the information protection system are initialized, the commands of the devices are controlled to run in parallel, the command of each device comprises a group title for calling the device, and then corresponding description and attribute calling are respectively carried out according to the called group title; when the stations in the information protection system are initialized, the command of each station comprises a group title for calling the station and controlling the parallel operation of the commands of each station, then the calling of corresponding description and attributes is carried out according to the called group title, if the description and the attributes of the station relate to the return of a secondary device, if the description and the attributes of the station relate to the return of the secondary device, the command distributed for the device is called, and the commands are controlled to operate in parallel.
Each command (including the commands of the station and the commands of the device) is stored by adopting a database (such as redis) based on a Key-value type, the Key is a unique ID of the command, the value is stored in a json character string format, and a value storage structure in the Key-value database is shown in fig. 1, wherein cmdList is that all commands are sent; cmdMidList is a command that needs to be polled; cmdRecList is the command that has been returned; srerrorinfo is exception information; sProcessInfo is process information and is stored into data as required; sKey is a unique command identifier; status is a status identifier used to distinguish whether a command returns, succeeds, and fails; veResult is the returned result set list, the content of which is determined by the service. And judging whether the currently called method, parameter, type, time and command are successfully returned or not according to the data change of the List. The command states in the Key-value database are shown in fig. 2.
As shown in fig. 4, the device initialization includes an attribute method for calling a device group header and device description, the device group header initialization, the device group description and the device attribute initialization are all designed as atomic services, each atomic service corresponds to a command, when the device needs to be initialized, the initialization commands of the devices are controlled to run in parallel, and the function of device one-key initialization is to call the device group header first and then call the device description and the device attribute. As shown in fig. 5, the group header of the station is initialized first, and the description and attributes are initialized by returning the group header of the calling station, so that the device initialization function can be called when the return of the secondary device is involved in the description and attributes of the station. When the entire return state is 0, it indicates that the initialization is completed, and the loop nest of the device initialization is involved in the initialization of the station.
As shown in fig. 3, a specific process of initialization is first to determine whether the skey is empty, if the skey is empty, it indicates that the device initialization process starts, a uuid is generated as a key stored in redis, status, cmdList, cmdMidList, and cmdrecl are initialized to json character string as value and stored in redis, then status is set to 1, cmdlest and cmdredlist are set as parameter lists of sent commands, and cmdrecl is set to be empty. And returning the result including the key stored by the redis and the corresponding state status to the client, and when the client judges that the operation is not finished, assigning the key to the skey to serve as an incoming parameter to continue to call the service. When the service is called again, the logic for judging status in redis is entered with skey. If status is 1, judging whether the sizes of cmdlist and cmdRecList are equal, if so, considering that the sent command is returned, setting status to be 0 at the moment, returning, and if not, considering that the command is not returned, and at the moment, not modifying the stored result set and returning; if status is 2, then consider that the command has returned failure information, the command is considered to be completed, remove the current record in cmdMidList, and add a record in cmdRecList; if status is 0, the command is considered to be finished, whether the type of the current command needs to be sent by a sub command or not is judged, if the group of sub commands needs to be sent, the process is called in a nested mode, corresponding records are added into cmdList and cmdMidList in the command, new key-value pairs are stored in redis and correspond to the command records, and if the group of sub commands is not needed, the command is considered to be completely finished.
Embodiments of Signal protection System
The signal protection system in the power system of the present invention includes the substation and the device, wherein the substation and the device adopt the initialization method of the information protection system in the power system of the present invention, and the specific initialization process has been described in detail in the embodiment of the method, and is not described herein again.
Claims (5)
1. An initialization method of an information protection system in an electric power system, characterized by comprising the steps of:
1) allocating a command for the initialization of each device, and controlling the commands of the devices to run in parallel when the devices in the information protection system are initialized, wherein the command of each device comprises a group title for calling the device, and then carrying out corresponding description and attribute calling according to the called group title;
2) and (2) allocating a command for the initialization of each station, wherein when the stations in the information protection system are initialized, the command of each station comprises a group header for calling the station, corresponding description and attribute calling are respectively carried out according to the called group header, and the commands of each station are controlled to run in parallel, and if the description and attribute of the station relate to the return of a secondary device, the command allocated to the device in the step 1) is called, and the commands of each device are controlled to run in parallel.
2. The initialization method of an information protection system in a power system according to claim 1, wherein each command is stored using a key-value type database, the key is a unique id of the command, and the value is stored in a json string format.
3. The method according to claim 2, wherein the value is stored in a content including: all commands sent, commands that need polling, commands that have been returned, exception information, process information, and a status identifier.
4. The method of claim 2, wherein the status identifier is used to distinguish whether the command is returned, successful, or failed, and the initialization is performed according to the status of the status identifier.
5. A signal protection system in an electric power system, characterized in that the signal protection system employs the initialization method of the information protection system in the electric power system according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910983861.9A CN110851199B (en) | 2019-10-16 | 2019-10-16 | Information protection system in electric power system and initialization method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910983861.9A CN110851199B (en) | 2019-10-16 | 2019-10-16 | Information protection system in electric power system and initialization method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110851199A true CN110851199A (en) | 2020-02-28 |
CN110851199B CN110851199B (en) | 2023-07-11 |
Family
ID=69597594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910983861.9A Active CN110851199B (en) | 2019-10-16 | 2019-10-16 | Information protection system in electric power system and initialization method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110851199B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112711488A (en) * | 2021-01-06 | 2021-04-27 | 许昌许继软件技术有限公司 | Equipment initialization method and system based on microservice and message queue |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100159878A1 (en) * | 2008-12-18 | 2010-06-24 | Smartcard Laboratory Inc. | System and method for protecting private information of uicc |
CN101789626A (en) * | 2010-01-05 | 2010-07-28 | 国电南瑞科技股份有限公司 | Protected object-oriented automatic modeling and real-time information joint processing method |
CN102403788A (en) * | 2011-04-28 | 2012-04-04 | 广东省电力调度中心 | Test system applicable to southern power grid communication guaranteeing system |
CN103390936A (en) * | 2013-08-06 | 2013-11-13 | 国家电网公司 | Remote restarting system of secondary equipment in transformer substation |
CN103675526A (en) * | 2013-11-19 | 2014-03-26 | 广东电网公司电力调度控制中心 | Prudential sub-station test system |
CN104331838A (en) * | 2014-10-11 | 2015-02-04 | 中国南方电网有限责任公司 | Method for realizing maintenance-free stability control information model |
CN106951694A (en) * | 2017-03-07 | 2017-07-14 | 国网冀北电力有限公司 | A kind of secondary equipment in power system on-line monitoring system adaptive modeling method |
CN107819641A (en) * | 2017-07-05 | 2018-03-20 | 中国南方电网有限责任公司超高压输电公司南宁监控中心 | A kind of exception analysis method and device for protecting letter system |
CN108931972A (en) * | 2018-06-25 | 2018-12-04 | 国电南瑞科技股份有限公司 | A kind of substation secondary device condition intelligent diagnostic method based on model-driven |
-
2019
- 2019-10-16 CN CN201910983861.9A patent/CN110851199B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100159878A1 (en) * | 2008-12-18 | 2010-06-24 | Smartcard Laboratory Inc. | System and method for protecting private information of uicc |
CN101789626A (en) * | 2010-01-05 | 2010-07-28 | 国电南瑞科技股份有限公司 | Protected object-oriented automatic modeling and real-time information joint processing method |
CN102403788A (en) * | 2011-04-28 | 2012-04-04 | 广东省电力调度中心 | Test system applicable to southern power grid communication guaranteeing system |
CN103390936A (en) * | 2013-08-06 | 2013-11-13 | 国家电网公司 | Remote restarting system of secondary equipment in transformer substation |
CN103675526A (en) * | 2013-11-19 | 2014-03-26 | 广东电网公司电力调度控制中心 | Prudential sub-station test system |
CN104331838A (en) * | 2014-10-11 | 2015-02-04 | 中国南方电网有限责任公司 | Method for realizing maintenance-free stability control information model |
CN106951694A (en) * | 2017-03-07 | 2017-07-14 | 国网冀北电力有限公司 | A kind of secondary equipment in power system on-line monitoring system adaptive modeling method |
CN107819641A (en) * | 2017-07-05 | 2018-03-20 | 中国南方电网有限责任公司超高压输电公司南宁监控中心 | A kind of exception analysis method and device for protecting letter system |
CN108931972A (en) * | 2018-06-25 | 2018-12-04 | 国电南瑞科技股份有限公司 | A kind of substation secondary device condition intelligent diagnostic method based on model-driven |
Non-Patent Citations (3)
Title |
---|
S. SENGUPTA 等: ""A Coordinated Distributed Scheme for Cognitive Radio Based IEEE 802.22 Wireless Mesh Networks"" * |
李贞 等: ""智能变电站监控系统总召唤策略分析及应用"" * |
王峰 等: ""继电保护故障信息系统子站自动测试系统设计开发"" * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112711488A (en) * | 2021-01-06 | 2021-04-27 | 许昌许继软件技术有限公司 | Equipment initialization method and system based on microservice and message queue |
CN112711488B (en) * | 2021-01-06 | 2024-04-12 | 许昌许继软件技术有限公司 | Device initialization method and system based on micro-service and message queue |
Also Published As
Publication number | Publication date |
---|---|
CN110851199B (en) | 2023-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102668516B (en) | Method and apparatus for realizing message passing amid cloud information service | |
CN109120678A (en) | The method and apparatus of service tray for distributed memory system | |
CN113067850B (en) | Cluster arrangement system under multi-cloud scene | |
AU2261795A (en) | Interface device and method | |
CN109582335A (en) | It is a kind of without interrupt storage cluster node online upgrading method, device and equipment | |
CN109101320B (en) | Heterogeneous processor platform fusion management system | |
CN104065636A (en) | Data processing method and system | |
CN114077602B (en) | Data migration method and device, electronic equipment and storage medium | |
CN110825543B (en) | Method for quickly recovering data on fault storage device | |
CN113760513A (en) | Distributed task scheduling method, device, equipment and medium | |
CN109639773A (en) | A kind of the distributed data cluster control system and its method of dynamic construction | |
CN110851199B (en) | Information protection system in electric power system and initialization method thereof | |
CN102243655A (en) | Method and device for managing database connections | |
CN113296872B (en) | Container state query method, device, equipment, storage medium and system | |
CN114860505B (en) | Object storage data asynchronous backup method and system | |
CN113284039B (en) | Bitmap management method, device and equipment and readable storage medium | |
CN116089530A (en) | Mass data transmission control method, device and equipment | |
CN109542841A (en) | The method and terminal device of data snapshot are created in cluster | |
CN112486411B (en) | Method, device and medium for distributing disks of distributed file system in super-fusion environment | |
CN109002263A (en) | The method of adjustment and device of memory capacity | |
CN112948065B (en) | Kubernetes-based scheduling automation system management device | |
US10819622B2 (en) | Batch checkpointing for inter-stream messaging system | |
CN110377298B (en) | Distributed cluster upgrading method and distributed cluster | |
CN112667375A (en) | Task scheduling method and system based on big data service | |
CN102111783A (en) | Primary subcommand rollback method and terminal |
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 |