CN110851199B - Information protection system in electric power system and initialization method thereof - Google Patents

Information protection system in electric power system and initialization method thereof Download PDF

Info

Publication number
CN110851199B
CN110851199B CN201910983861.9A CN201910983861A CN110851199B CN 110851199 B CN110851199 B CN 110851199B CN 201910983861 A CN201910983861 A CN 201910983861A CN 110851199 B CN110851199 B CN 110851199B
Authority
CN
China
Prior art keywords
command
protection system
station
initialization
commands
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
Application number
CN201910983861.9A
Other languages
Chinese (zh)
Other versions
CN110851199A (en
Inventor
丁博
黄浩然
张航
徐大青
邓建慎
刘洋
杨迎春
王少鹏
刘洪星
丁亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN201910983861.9A priority Critical patent/CN110851199B/en
Publication of CN110851199A publication Critical patent/CN110851199A/en
Application granted granted Critical
Publication of CN110851199B publication Critical patent/CN110851199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Abstract

The invention relates to an information protection system in a power system and an initialization method thereof, belonging to the technical field of power systems. According to the invention, a command is allocated for the initialization of each device, each command is executed according to the sequence of the description and the attribute of the calling device group, and then the commands are operated in parallel; when the station in the information protection system is initialized, a group title containing the initialized station is allocated to each station, then a command for continuing initializing description and attribute is returned through the group title of the calling station, and if the description and attribute of the station relate to the return of the secondary device, the command allocated to 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, and greatly reduces the initialization time and improves the initialization efficiency through the parallel operation of each command.

Description

Information protection system in electric power system and initialization method thereof
Technical Field
The invention relates to an information protection system in a power system and an initialization method thereof, belonging to the technical field of power systems.
Background
The information protection system in the electric power system needs to initialize the newly accessed equipment and device information, and the main function of the information protection system directly stores the basic information and description information of the primary equipment and the corresponding secondary equipment (device) and description information into a database. This operation process requires a lot of engineering personnel debugging time each time the initialization operation is performed on the station-level equipment due to the variety and number of the equipment. Most systems will initialize for a single device or apparatus at the time of initialization, and with the progress of computer software technology, the function of one-key initialization starts to appear, but the effect cannot meet the field requirements of engineering personnel.
Taking an initialization substation as an example, when the information of the station is called, the group title of the station needs to be called first, then the description and the attribute of the call are continuously called according to the difference of the group titles of the station, the command when the group title is called is different from the command when the description and the attribute of the call are called, the group title needs to be called first, then the description and the attribute of the call are called again, and when the information of the station is used for secondary equipment, the group title needs to be called first, and then different calling description and attribute commands are issued according to the CPU number and the group title number. The whole process is required to be carried out according to strict sequence requirements, but because the primary equipment and secondary equipment under the primary equipment are numerous, if the primary equipment and the secondary equipment are also carried out in sequence, the initialization of the substation is completed in a long time, and the quick application of the substation is affected.
Disclosure of Invention
The invention aims to provide an information protection system in a power system and an initialization method thereof, which are used for solving the problem that the time is excessively long in the current initialization process.
The invention provides an initialization method of an information protection system in an electric power system for solving the technical problems, which comprises the following steps:
1) 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 commands of each device comprise calling the self group title of the device, and then corresponding description and attribute calling are respectively carried out according to the called group title;
2) And when the station in the information protection system is initialized, calling the own group title of the station, calling corresponding description and attribute according to the called group title, controlling the command of each station to run in parallel, and if the description and attribute of the station relate to the return of the secondary device, calling the command distributed for the device in step 1), and controlling the command of each device 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.
According to the invention, a command is allocated for the initialization of each device, each command is executed according to the sequence of the description and the attribute of the calling device group, and then the commands are operated in parallel; when the station in the information protection system is initialized, a group title containing the initialized station is allocated to each station, then a command for continuing initializing description and attribute is returned through the group title of the calling station, and if the description and attribute of the station relate to the return of the secondary device, the command allocated to 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, and 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 json character strings.
Further, the content stored by the value includes: all commands sent, commands requiring polling, commands that have been returned, exception information, process information, and a status identifier.
Further, the state identifier is used for distinguishing whether the command returns, succeeds and fails, and when the command is initialized, the next command or the next group of commands is started according to the state of the state identifier.
Drawings
FIG. 1 is a schematic diagram of a value storage structure in a Key-value database employed in the present invention;
FIG. 2 is a state diagram of a sub-command in a Key-value database employed by the present invention;
FIG. 3 is a flow chart of the initialization of the information protection system in the power system of the present invention;
FIG. 4 is a schematic diagram of an initialization step of the apparatus employed in the present invention;
fig. 5 is a schematic diagram of a substation initialization procedure employed by the present invention.
Detailed Description
The following describes the embodiments of the present invention further 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 commands of each device comprise calling the self group title of the device, and then corresponding description and attribute calling are respectively carried out according to the called group title; and when the station in the information protection system is initialized, the command of each station comprises a calling station group header, the commands of each station are controlled to run in parallel, corresponding description and attribute calling are respectively carried out according to the called group header, if the description and attribute of the station relate to the return of the secondary device, and if the description and attribute 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 run in parallel.
Wherein each command (including a command of a station and a command of a device) is stored by adopting a database (such as redis) based on a Key-value type, wherein 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 figure 1, wherein cmdList is all the transmitted commands; cmdMidList is a command that needs to be polled; cmdRecList is a command that has been returned; srrorinfo is anomaly information; sProcessInfo is process information and is stored into data according to the need; the sKey is a unique command identifier; status is a status identifier used to distinguish whether a command returns, succeeds, and fails; the veResult is the returned result set list, the content of which is determined by the business. Judging whether the currently called method, parameters, types, time and commands 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 a method for calling the device group header and the description of the device, the device group header initialization and the description and the attribute initialization are 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 the device one-key initialization is to call the device group header first and then call the description and the attribute of the group. The initialization process of the station is as shown in fig. 5, to initialize the group header of the station first, the description and attribute are continuously initialized by calling the group header return of the station, and when the description and attribute of the station relate to the return of the secondary device, the device initialization function can be called. When the whole return state is 0, the initialization is completed, and the initialization of the station involves the loop nesting of the device initialization.
The specific process of initialization is shown in fig. 3, firstly judging whether skey is empty, if skey is empty, indicating that the device initialization process is started, generating a uuid as a key stored in redis, initializing status, cmdList, cmdMidList and cmdRecList as json character strings as value to be stored in redis, then setting status as 1, cmdList and cmdMidList as parameter list of sent command, and setting cmdRecList as empty. And returning the result including the key stored by redis and the corresponding state status to the client, and when the client judges that the key is not finished, assigning the key to the skey as an incoming parameter to continuously call the service. When the service is called again, the logic for judging redisl status is entered with skey. If status is 1, judging whether the sizes of cmdlist and cmdRecList are equal, if so, considering that the issued command is returned, setting status as 0 at the moment, and returning, if not, considering that the command is not returned, and returning the stored result set without modification; if status is 2, consider that the command has returned failure information, the command is considered complete, the current record in cmdMidList is removed, and a record is added in cmdRecList; if status is 0, the command is considered to be finished, whether the type of the current command needs to be issued by a subcommand is judged, if the type of the current command needs to be issued by a group subcommand, the process is called in a nested way, corresponding records are added in cmdList and cmdMidList in the current command, a new key-value pair is stored in redis to correspond to the command records, and if the type of the current command does not need to be issued by the group subcommand, the command is considered to be all ended.
Signal protection system embodiments
The signal protection system in the power system of the invention comprises a substation and a device, wherein the substation and the device adopt the initialization method of the information protection system in the power system of the invention, and the specific initialization process is described in detail in the embodiment of the method and is not repeated here.

Claims (5)

1. A method for initializing an information protection system in an electric power system, the method comprising the steps of:
1) 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 commands of each device comprise calling the self group title of the device, and then corresponding description and attribute calling are respectively carried out according to the called group title;
2) And when the station in the information protection system is initialized, calling the own group title of the station, calling corresponding description and attribute according to the called group title, controlling the command of each station to run in parallel, and if the description and attribute of the station relate to the return of the secondary device, calling the command distributed for the device in step 1), and controlling the command of each device to run in parallel.
2. The method for initializing an information protection system in a power system according to claim 1, wherein each command is stored using a key-value type database, key is a unique id of the command, and value is stored in a json string format.
3. The method for initializing an information protection system in a power system according to claim 2, wherein the value storage includes: all commands sent, commands requiring polling, commands that have been returned, exception information, process information, and a status identifier.
4. A method for initializing an information protection system in a power system according to claim 3, wherein the status identifier is used to distinguish whether the command is returned, successful or failed, and the next command or the next group of commands is started according to the status of the status identifier when the command is initialized.
5. A signal protection system in an electric power system, characterized in that the signal protection system employs the method for initializing an information protection system in an electric power system according to any one of claims 1-4.
CN201910983861.9A 2019-10-16 2019-10-16 Information protection system in electric power system and initialization method thereof Active CN110851199B (en)

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 CN110851199A (en) 2020-02-28
CN110851199B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711488B (en) * 2021-01-06 2024-04-12 许昌许继软件技术有限公司 Device initialization method and system based on micro-service and message queue

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100898055B1 (en) * 2008-12-18 2009-05-19 주식회사 스마트카드연구소 System for protecting private information of uicc and method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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)

* Cited by examiner, † Cited by third party
Title
S. Sengupta 等."A Coordinated Distributed Scheme for Cognitive Radio Based IEEE 802.22 Wireless Mesh Networks".《 ICC Workshops - 2008 IEEE International Conference on Communications Workshops》.2008,全文. *
李贞 等."智能变电站监控系统总召唤策略分析及应用".《电力系统保护与控制》.2013,(第02期),全文. *
王峰 等."继电保护故障信息系统子站自动测试系统设计开发".《电力系统保护与控制》.2012,(第18期),全文. *

Also Published As

Publication number Publication date
CN110851199A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN112463144B (en) Distributed storage command line service method, system, terminal and storage medium
CN102668516B (en) Method and apparatus for realizing message passing amid cloud information service
CN102880503B (en) Data analysis system and data analysis method
CN109120678A (en) The method and apparatus of service tray for distributed memory system
CN103460203A (en) Cluster unique identifier
AU2261795A (en) Interface device and method
US20080059436A1 (en) Providing a visual representation of a sub-set of a visual program
CN103795754A (en) Method and system for data synchronization among multiple systems
CN109582335A (en) It is a kind of without interrupt storage cluster node online upgrading method, device and equipment
CN110532182B (en) Automatic testing method and device for virtualization platform
CN109325016A (en) Data migration method, device, medium and electronic equipment
CN110851199B (en) Information protection system in electric power system and initialization method thereof
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
CN114860505B (en) Object storage data asynchronous backup method and system
CN112596801A (en) Transaction processing method, device, equipment, storage medium and database
CN115454333A (en) Docking method and device for cloud computing platform and storage system
CN112667375A (en) Task scheduling method and system based on big data service
CN113835786A (en) Data docking system, method and computer-readable storage medium
CN110377298B (en) Distributed cluster upgrading method and distributed cluster
CN114024822A (en) Block chain-based Internet of things equipment management method, equipment, server and medium
CN102111783A (en) Primary subcommand rollback method and terminal
CN110417978A (en) Menu configuration method, device, equipment and storage medium
CN111708568A (en) Component development decoupling method and terminal
CN109814911A (en) Method, apparatus, computer equipment and storage medium for Manage Scripts program
CN110389821A (en) More account processing methods, processing unit, application program and electronic device

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