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 PDFInfo
- 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
- service
- thread
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
- G06F11/0757—Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Economics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Public Health (AREA)
- Computing Systems (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Debugging And Monitoring (AREA)
- Alarm Systems (AREA)
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
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.
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 Active 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108196996A (en) * | 2017-12-29 | 2018-06-22 | 贵阳学院 | A kind of high-power computing device energy control system |
CN108551400B (en) * | 2018-04-01 | 2022-01-11 | 南京捷安信息科技有限公司 | Portable fortune dimension fort machine system |
CN108762967B (en) * | 2018-05-30 | 2021-08-24 | 宁波市标准化研究院 | Software watchdog implementation method for monitoring Web service in Linux system |
Citations (5)
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 | 艾默生网络能源有限公司 | Multi-task monitoring and 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)
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 |
-
2016
- 2016-11-29 CN CN201611071201.6A patent/CN106598767B/en active Active
Patent Citations (5)
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 | 艾默生网络能源有限公司 | Multi-task monitoring and 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 |
---|---|---|
CN109412874B (en) | Equipment resource configuration method, device, server and storage medium | |
CN106201844B (en) | A kind of log collecting method and device | |
CN105659562B (en) | A method and data processing system for fault tolerance and storage device including computer usable code for fault tolerance | |
US9384021B2 (en) | System and method for virtualization aware server maintenance mode | |
CN106598767B (en) | Intelligent substation monitoring service console implementation method based on watchdog technique | |
CN108632057A (en) | A kind of fault recovery method of cloud computing server, device and management system | |
CN102394791A (en) | Downtime recovery method and system | |
CN105068763B (en) | A kind of virtual machine tolerant system and method for storage failure | |
CN106156939A (en) | Dispatching System based on job stream and application process | |
CN110109371A (en) | Intelligent household equipment management system and equipment management method | |
CN106603696A (en) | High-availability system based on hyper-converged infrastructure | |
CN109783311A (en) | Monitor processing method, device, equipment and the readable storage medium storing program for executing of breakpoint behavior | |
CN108616428A (en) | A kind of mobile APP implementations of remote management RACK computer rooms | |
CN117742959A (en) | Training method and device based on clusters, electronic equipment and storage medium | |
CN110798339A (en) | Task disaster tolerance method based on distributed task scheduling framework | |
CN104503861A (en) | Abnormality handling method and system, agency device and control device | |
WO2024164682A1 (en) | Method and apparatus for supervising and controlling train on the basis of integrated scheduling system, as well as medium and system | |
CN109522145A (en) | A kind of virtual-machine fail automatic recovery system and its method | |
CN101557307B (en) | Dispatch automation system application state management method | |
CN104951346A (en) | Process management method for embedded system as well as system | |
CN111177232B (en) | Data processing method, device, system and storage medium | |
CN115664925B (en) | Method, device and equipment for handling faults of emergency nodes | |
CN112612635A (en) | Multi-level protection method for application program | |
CN104063451B (en) | A kind of database connection management method and system | |
CN108243205A (en) | A kind of method, equipment and system for being used to control cloud platform resource allocation |
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 |