CN106598767B - Intelligent substation monitoring service console implementation method based on watchdog technique - Google Patents

Intelligent substation monitoring service console implementation method based on watchdog technique Download PDF

Info

Publication number
CN106598767B
CN106598767B CN201611071201.6A CN201611071201A CN106598767B CN 106598767 B CN106598767 B CN 106598767B CN 201611071201 A CN201611071201 A CN 201611071201A CN 106598767 B CN106598767 B CN 106598767B
Authority
CN
China
Prior art keywords
sub
services process
services
process
step
Prior art date
Application number
CN201611071201.6A
Other languages
Chinese (zh)
Other versions
CN106598767A (en
Inventor
张凯
苏怀广
王菲菲
刘吉庆
宋晓娜
Original Assignee
积成电子股份有限公司
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 积成电子股份有限公司 filed Critical 积成电子股份有限公司
Priority to CN201611071201.6A priority Critical patent/CN106598767B/en
Publication of CN106598767A publication Critical patent/CN106598767A/en
Application granted granted Critical
Publication of CN106598767B publication Critical patent/CN106598767B/en

Links

Abstract

The intelligent substation monitoring service console implementation method based on watchdog technique that the invention discloses a kind of, based on intelligent substation background monitoring system, automatic starting monitoring service console when system is run, the operating status of the thread of each sub-services process in monitoring backstage, and the sub-services process of collapse is restarted automatically according to relevant parameter, realize the self-healing function of intelligent substation background monitoring system.This method has adhered to object-oriented and modular design concept, has many advantages, such as that high cohesion, lower coupling, maintainability and transplantability are strong.Using service console implementation method provided by the invention, the monitoring and self-healing function of substation's background monitoring system may be implemented, there is positive meaning to the stable operation for guaranteeing intelligent substation background monitoring system.

Description

Intelligent substation monitoring service console implementation method based on watchdog technique

Technical field

The present invention relates to a kind of intelligent substation monitoring system service console implementation methods, are based on more particularly, to one kind The intelligent substation monitoring system service console implementation method of watchdog technique.

Background technique

Requirement of the power system customer to intelligent substation is mainly high reliablity, intelligence degree height, because intelligence becomes Power station is the presence of a system, is easy to appear the phenomenon that a certain failure is pulled one hair and move the whole body, so substation itself and interior All facilities in portion require that high reliability, such characteristic also require each subsystem of substation to need to have self The function of detection and management failure, the appearance of substation fault can effectively be prevented by only having the function of this.As intelligence Substation's background monitoring system of one of the subsystem of monitoring system of electric substation also requires have high reliability, and has certainly Restore function.

In order to improve the reliable and stable operation of intelligent substation background monitoring system, when background monitoring system breaks down It can restore automatically, improve its availability;And also to convenient for user in the artificial and automatic of substation's background monitoring system Change operation, proposes a kind of intelligent substation monitoring system service console implementation method based on watchdog technique.

The present invention needs sub-services process to be started, sub-services process manager by the configuration file management of sub-services process Monitor the operating condition of sub-services process, sub-services process manager notifies console sub-services whether normal operation, and can lead to The service interface for crossing console starts/stops the sub-services process of all monitoring.It is automatic that the present invention provides sub-services process failure Restart function, can efficiently monitor the operation of background monitoring system, realize that background monitoring system is unattended, while can also be with Friendly operation interface is provided to related Substation Operating personnel, there is positive application value.

It is the explanation of some specific terms used herein arrived below:

Service console: the supervisory control desk of substation's background monitoring system can run on backstage, also can run on foreground.

Service console interface: the interface of service console C/S framework can be used for the sub thread monitored to service console Start/stop operation.

Sub-services process manager: the sub-services process in service console for management backstage operation.

Sub-services process: each function services of substation's background monitoring system depend on service console.

Sub thread manager: for managing the sub thread in sub-services process.

Sub thread: the thread in sub-services process, for realizing function different in monitoring system.

Task manager: the corresponding task manager of each sub-services process is used for itself and sub-services process manager Communication.

Summary of the invention

The technical problems to be solved by the invention are to provide a kind of intelligent substation monitoring system based on watchdog technique Service console implementation method, this method in substation operation, according to service console manage file initialize sub-services into Thread management device monitors each sub-services running state of a process automatically, realizes automatic monitoring, the control of substation's background monitoring system And failure restarts function, ensures the long-time steady operation of substation, provides solid base to realize that substation is unattended Plinth.

In order to solve the above technical problems, The technical solution adopted by the invention is as follows:

Intelligent substation monitoring service console implementation method based on watchdog technique, includes the following steps:

Step 1: the sub-services management of process file for requiring configuration that need to run according to the starting of substation's background monitoring system, The sub-services management of process file specifically includes following information:

(1) sub-services number of processes, service console institute sub-services process number to be started;

(2) sub-services process title, service console are created according to sub-services process title in an operating system on startup Build corresponding shared drive;

(3) longest of sub-services process initiation time, i.e. service console when starting the sub-services process starts the time, Service console will kill the sub-services process if failed starting before the deadline;

(4) sub-services process house dog time, i.e. service console are sent to it service work in the waiting sub-services process High latency when dynamic data;

Step 2: service console promoter service processes;

Step 2-1: service console reads sub-services management of process file, obtains the sub-services process number for needing to monitor Amount;

Step 2-2: service console reads each sub-services process title, sub-services process in sub-services management of process file Start time, sub-services process house dog time, initializes sub-services process manager;

Step 2-3: the thread of sub-services process manager creation monitoring sub-services process records each sub-services process ID, starting time, house dog time, and memory process object is established, task manager, sub- clothes are established for each sub-services process Business process initiation is completed;

Step 2-4: if promoter service processes are unsuccessful, return step 2 is no to then follow the steps 3;

Step 3: its sub thread of sub-services process initiation;

Step 3-1: sub-services process establishes the communication with the task manager of the sub-services process, and initializes in real time It deposits, while initializing its sub thread manager and house dog time;

Step 3-2: the sub thread of sub-services process is registered to its sub thread manager, and the life event of sub thread is transferred to Sub thread manager is managed collectively;

Step 3-3: the sub thread starting of sub-services process, sub thread send life event at runtime and notify its sub thread Manager, sub thread manager monitor the activity of each sub thread according to the life event of each sub thread;

Step 4: service console monitors sub-services process;

Step 4-1: the operating condition of each sub thread of book service processes is notified service at runtime by sub-services process The task manager of the sub-services process manager of console, while the activity data of book service processes is written;

Step 4-2: the sub-services process manager of service console obtains the activity of monitored sub-services process in real time Data, judge sub-services process whether normal operation;

Step 4-3: if the operation of sub-services process is abnormal, i.e., the activity of sub-services process is not received within the set time Data, sub-services process manager assert that the sub-services process program error or program crashing, service console are killed The sub-services process, and return step 2 restarts the sub-services process;

If sub-services process normal operation, return step 3, meanwhile, service console notifies that service console interface is aobvious Show the real-time status of sub-services process.

The utility model has the advantages that the present invention provides a kind of intelligent substation monitoring system service console based on watchdog technique Implementation method, can be with developing intellectual resource monitoring system of electric substation service console software, for guarding monitoring system based on this method Each sub-services process of running background, has the effect that

(1) the intelligent substation monitoring system service console implementation method proposed by the present invention based on watchdog technique is grasped Object-oriented and modular design concept are held, data-handling efficiency is fast, highly reliable, and accuracy rate is high, has high cohesion, low The advantages that coupling, strong maintainable and transplantability.

(2) it is based on intelligent substation monitoring system service console implementation method proposed by the present invention, intelligence can be developed Monitoring system of electric substation service console software, the console software application is flexible, and scalability is strong;Has friendly artificial prison Depending on and control interface;Console service can monitor each sub-services running state of a process automatically, realize sub-services process monitoring, Control and failure restart function, and can show each sub-services state of a process on interface.Based on intelligence proposed by the present invention Monitoring system of electric substation service console implementation method, can be widely applied to the background monitoring system of intelligent substation, effectively Ensure the long-time steady operation of intelligent substation background monitoring system, unattended for intelligent substation widelys popularize tool There is positive realistic meaning.

Detailed description of the invention

Fig. 1 is main flow chart of the present invention;

Fig. 2 is data flow diagram of the present invention;

Fig. 3 is data interaction sequence chart.

Specific embodiment

As shown in Figure 1-3, a kind of monitoring system of electric substation service console implementation method based on watchdog technique, packet Include following steps:

Step 1: the sub-services management of process file for requiring configuration that need to run according to the starting of substation's background monitoring system, The sub-services management of process file specifically includes following information:

(1) sub-services number of processes, service console institute sub-services process number to be started;

(2) sub-services process title, service console are created according to sub-services process title in an operating system on startup Build corresponding shared drive;

(3) longest of sub-services process initiation time, i.e. service console when starting the sub-services process starts the time, Service console will kill the sub-services process if failed starting before the deadline;

(4) sub-services process house dog time, i.e. service console are sent to it service work in the waiting sub-services process High latency when dynamic data;

Step 2: service console promoter service processes;

Step 2-1: service console reads sub-services management of process file, obtains the sub-services process number for needing to monitor Amount;

Step 2-2: service console reads each sub-services process title, sub-services process in sub-services management of process file Start time, sub-services process house dog time, initializes sub-services process manager;

Step 2-3: the thread of sub-services process manager creation monitoring sub-services process records each sub-services process ID, starting time, house dog time, and memory process object is established, task manager, sub- clothes are established for each sub-services process Business process initiation is completed;

Step 2-4: if promoter service processes are unsuccessful, return step 2 is no to then follow the steps 3;

Step 3: its sub thread of sub-services process initiation;

Step 3-1: sub-services process establishes the communication with the task manager of the sub-services process, and initializes in real time It deposits, while initializing its sub thread manager and house dog time;

Step 3-2: the sub thread of sub-services process is registered to its sub thread manager, and the life event of sub thread is transferred to Sub thread manager is managed collectively;

Step 3-3: the sub thread starting of sub-services process, sub thread send life event at runtime and notify its sub thread Manager, sub thread manager monitor the activity of each sub thread according to the life event of each sub thread;

Step 4: service console monitors sub-services process;

Step 4-1: the operating condition of each sub thread of book service processes is notified service at runtime by sub-services process The task manager of the sub-services process manager of console, while the activity data of book service processes is written;

Step 4-2: the sub-services process manager of service console obtains the activity of monitored sub-services process in real time Data, judge sub-services process whether normal operation;

Step 4-3: if the operation of sub-services process is abnormal, i.e., the activity of sub-services process is not received within the set time Data, sub-services process manager assert that the sub-services process program error or program crashing, service console are killed The sub-services process, and return step 2 restarts the sub-services process;

If sub-services process normal operation, return step 3, meanwhile, service console notifies that service console interface is aobvious Show the real-time status of sub-services process.

Claims (1)

1. the intelligent substation monitoring service console implementation method based on watchdog technique, includes the following steps:
Step 1: the sub-services management of process file for requiring configuration that need to run according to the starting of substation's background monitoring system, the son Service processes management file specifically includes following information:
(1) sub-services number of processes, service console institute sub-services process number to be started;
(2) sub-services process title, service console create pair according to sub-services process title in an operating system on startup The shared drive answered;
(3) longest of sub-services process initiation time, i.e. service console when starting the sub-services process starts the time, such as exists Start not successfully in the defined time, service console will kill the sub-services process;
(4) sub-services process house dog time, i.e. service console are sent to it service activity number in the waiting sub-services process According to when high latency;
Step 2: service console promoter service processes;
Step 2-1: service console reads sub-services management of process file, obtains the sub-services number of processes for needing to monitor;
Step 2-2: service console reads each sub-services process title, sub-services process initiation in sub-services management of process file Time, sub-services process house dog time initialize sub-services process manager;
Step 2-3: the thread of sub-services process manager creation monitoring sub-services process records the ID of each sub-services process, opens Dynamic time, house dog time, and establish memory process object establish task manager for each sub-services process, sub-services into Journey start completion;
Step 2-4: if promoter service processes are unsuccessful, return step 2 is no to then follow the steps 3;
Step 3: its sub thread of sub-services process initiation;
Step 3-1: sub-services process establishes the communication with the task manager of the sub-services process, and initializes real-time, Its sub thread manager and house dog time are initialized simultaneously;
Step 3-2: the sub thread of sub-services process is registered to its sub thread manager, and the life event of sub thread is transferred to sub-line Thread management device is managed collectively;
Step 3-3: the sub thread starting of sub-services process, sub thread send life event at runtime and notify its sub-line thread management Device, sub thread manager monitor the activity of each sub thread according to the life event of each sub thread;
Step 4: service console monitors sub-services process;
Step 4-1: the operating condition of each sub thread of book service processes is notified Service controll at runtime by sub-services process The task manager of the sub-services process manager of platform, while the activity data of book service processes is written;
Step 4-2: the sub-services process manager of service console obtains the activity data of monitored sub-services process in real time, Judge sub-services process whether normal operation;
Step 4-3: if the operation of sub-services process is abnormal, i.e., the movable number of sub-services process is not received within the set time According to sub-services process manager assert the sub-services process program error or program crashing, and service console kills should Sub-services process, and return step 2 restarts the sub-services process;
If sub-services process normal operation, return step 3, meanwhile, service console notifies service console interface display The real-time status of service processes.
CN201611071201.6A 2016-11-29 2016-11-29 Intelligent substation monitoring service console implementation method based on watchdog technique CN106598767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611071201.6A CN106598767B (en) 2016-11-29 2016-11-29 Intelligent substation monitoring service console implementation method based on watchdog technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611071201.6A CN106598767B (en) 2016-11-29 2016-11-29 Intelligent substation monitoring service console implementation method based on watchdog technique

Publications (2)

Publication Number Publication Date
CN106598767A CN106598767A (en) 2017-04-26
CN106598767B true CN106598767B (en) 2019-07-09

Family

ID=58593629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611071201.6A CN106598767B (en) 2016-11-29 2016-11-29 Intelligent substation monitoring service console implementation method based on watchdog technique

Country Status (1)

Country Link
CN (1) CN106598767B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512371A (en) * 2002-12-27 2004-07-14 联想(北京)有限公司 Machine group management system of large scale machine group and its information processing method
CN101299677A (en) * 2008-04-30 2008-11-05 中兴通讯股份有限公司 Method for sharing unity service course by multiple courses
CN101464811A (en) * 2008-12-29 2009-06-24 艾默生网络能源有限公司 Multitask monitoring management system
CN103856363A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 System for testing subservers with many test phases and method thereof
CN104852931A (en) * 2015-06-12 2015-08-19 北京京东尚科信息技术有限公司 Communication method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720910B2 (en) * 2002-07-26 2010-05-18 International Business Machines Corporation Interactive filtering electronic messages received from a publication/subscription service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512371A (en) * 2002-12-27 2004-07-14 联想(北京)有限公司 Machine group management system of large scale machine group and its information processing method
CN101299677A (en) * 2008-04-30 2008-11-05 中兴通讯股份有限公司 Method for sharing unity service course by multiple courses
CN101464811A (en) * 2008-12-29 2009-06-24 艾默生网络能源有限公司 Multitask monitoring management system
CN103856363A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 System for testing subservers with many test phases and method thereof
CN104852931A (en) * 2015-06-12 2015-08-19 北京京东尚科信息技术有限公司 Communication method and device

Also Published As

Publication number Publication date
CN106598767A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
Kim et al. Availability modeling and analysis of a virtualized system
US7340654B2 (en) Autonomic monitoring in a grid environment
Castelli et al. Proactive management of software aging
JP4353005B2 (en) System switching method for clustered computer systems
EP2357559A1 (en) Performing a workflow having a set of dependancy-related predefined activities on a plurality of task servers
US8839035B1 (en) Cloud-based test execution
US20130014107A1 (en) Automatic monitoring and just-in-time resource provisioning system
US7779298B2 (en) Distributed job manager recovery
US9081750B2 (en) Recovery escalation of cloud deployments
US9727355B2 (en) Virtual Hadoop manager
US20130218547A1 (en) Systems and methods for analyzing performance of virtual environments
CN101313278A (en) Maintaining session states within virtual machine environments
CN102231681A (en) High availability cluster computer system and fault treatment method thereof
CN101799751B (en) Method for building monitoring agent software of host machine
TW201020756A (en) Power optimization via virtualization opportunity
CN102158535A (en) Cloud computing operating system
CN103200050B (en) The hardware state monitoring method and system of server
US20120030335A1 (en) Rejuvenation processing device, rejuvenation processing system, computer program, and data processing method
CN103324500A (en) Method and device for recycling internal memory
US8365193B2 (en) Recoverable asynchronous message driven processing in a multi-node system
DE102015105884A1 (en) Reliable and deterministic live migration of virtual machines
CN103188277B (en) load energy consumption management system, method and server
CN104731580B (en) Automation operational system and its implementation based on Karaf and ActiveMQ
CN103620520A (en) Power capping based on generator capacity
CN103957231A (en) Virtual machine distributed task scheduling method under cloud calculating platform

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant