CN101557307B - Dispatch automation system application state management method - Google Patents

Dispatch automation system application state management method Download PDF

Info

Publication number
CN101557307B
CN101557307B CN2009100266220A CN200910026622A CN101557307B CN 101557307 B CN101557307 B CN 101557307B CN 2009100266220 A CN2009100266220 A CN 2009100266220A CN 200910026622 A CN200910026622 A CN 200910026622A CN 101557307 B CN101557307 B CN 101557307B
Authority
CN
China
Prior art keywords
application
initialization
state
standby
application state
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
CN2009100266220A
Other languages
Chinese (zh)
Other versions
CN101557307A (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.)
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
Nari 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 Nari Technology Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN2009100266220A priority Critical patent/CN101557307B/en
Publication of CN101557307A publication Critical patent/CN101557307A/en
Application granted granted Critical
Publication of CN101557307B publication Critical patent/CN101557307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a dispatch automation system application state management method, which is characterized in that the method comprising the following steps: 1) initializing configuration management: starting system management process; starting all the processes which belong to some application; completing application initialization; ensuring the active standby machine of the application viathe active standby competition method after the initialization; starting node monitoring and management process after completely starting all the application; monitoring the running state of a serve r hardware; and assisting configuration management; and 2) after completely initializing the configuration management, automatically judging whether to switch the application state by checking the application state information in the whole system. The dispatch automation system application state management method has the advantages of fine granularity, flexibility and reliability in the process ofstate management of system run.

Description

Dispatch automation system application state management method
Technical field
The present invention relates to a kind of management method of system running state of server, belong to technical field of automation.
Background technology
In the existing dispatch automated system, active and standby machine management method generally be with a station server as unit, except that the server of state on duty, dispose the other redundant server be in hot stand-by duty again.This administrative mechanism underaction, the machine in case server on duty is delayed, standby server replaces its work, and all application systems of moving all will experience handoff procedure one time.
Summary of the invention
Technical problem to be solved by this invention provides a kind of fine size, flexible, reliable application system application state management method.
For solving the problems of the technologies described above, the invention provides a kind of dispatch automation system application state management method.The present invention is a unit with the application system on the server, the main frame of definition application level and the notion of standby host, arbitrarily main frame of using and standby host can separate configurations on any server, reach flexibly, manage reliably the purpose of all application system running statuses.
The present invention adopts following technical scheme to realize:
The management method of a kind of system running state of the present invention is characterized in that may further comprise the steps:
1) initialization of configuration management: start-up system managing process at first, start all processes that belong to certain application then, finish the initialization of application, after finishing, initialization determines the active and standby machine of this application by the main and standby competition method between using, starting node after all application starts are finished monitors and managing process, running status to server hardware monitors, configuration management is helped out;
2) after the configuration management initialization is finished,, judge whether to carry out the switching of application state automatically by checking the application state information in the whole system,
In described step 1), described main and standby competition method may further comprise the steps:
(1) as if a certain standby host that is applied as, and existing other main frames in the system, the message that this is applied as standby host then sent; If do not have main frame in the system, and the priority that should use is the highest, sends the message that this application is a main frame on duty;
(2) if this application is a main frame, detect in the system that to also have Another Application also be main frame, relatively should use and the priority of Another Application, with priority low switch to standby host;
In described step 2) in, its state information processing procedure is: at first judge the network state of this machine, if the network of this machine is obstructed, then application all on this machine is changed to the suspension state; If this meshed network is in good condition, then receive the application heartbeat message corresponding, and judge the running status of each application with this node, corresponding information is saved in the application state information table; All do not send the heartbeat message message if some application surpass N specified period, then this application is changed to suspension, relevant information is saved in the application state information table.
The automatic switchover of described application and main and standby competition method can be carried out between the application on the multiple servers, rather than only limit to two-server.
Be provided with the interface module of activestandby state information of each application of inquiry at work station, be used to realize that work station chooses the server at any applied host machine place at any time and connect.
Above-mentioned functions realizes by computer program, can operate on various UNIX and Linux, the Windows operating system, and not rely on the software that operating system carries.
The beneficial effect that the present invention reached:
The present invention is by above step, and can reach following technique effect: 1, granularity of division is thin, and the concept definition of active and standby machine is at application level; 2, the active and standby machine of each application system does not have relevance, and independent part is deployed on any server separately; 3, all functions are to have computer program to realize fully, may operate on various UNIX and Linux, the Windows operating system, not the software that need carry by any operating system; 4, have cross-platform ability, the active and standby machine of application system can be deployed on the server of different operating system; 5, state-detection cycle, switching time, parameter programming such as interval was adjustable; 6, application system can judge whether the running status of self is normal, and whether decision automaticallyes switch; 7, can be by the running status of interface to external world's output application system.In sum, the present invention is a kind of fine size, flexible, reliable application system application state management method.
Description of drawings
Fig. 1 is active and standby switching state figure among the present invention;
Fig. 2 is a configuration management initialization flowchart among the present invention;
Application initializes flow chart among Fig. 3 the present invention;
Fig. 4 is a state information handling process among the present invention;
Fig. 5 uses active and standby switching flow figure among the present invention.
Embodiment
Below in conjunction with accompanying drawing this bright dispatch automation system application state management method is further described.
Fig. 1 is active and standby switching state figure among the present invention, and each application has initialization, is equipped with states such as attitude, main frame, suspension, fault.
Use app a(i) after the initialization, at first enter the standby host state.Check the state information of received application this moment: (1) is if use app aExisting main frame app on duty a(j), app then a(i) be in standby host up to app always aThere is not main frame; (2) do not have other main frames, check app aThe application priority of all standby hosts, if app a(i) priority is the highest, then app a(i) become application app aMain frame on duty.
App a(i) be in Host Status, be checked through app aAlso have other main frames, relatively app aThe application priority of main frame, with priority low switch to standby host;
Work as app a(i) detect own suspension after, state is set to suspension, when detect network recovery normal after, oneself state is switched to standby host;
Work as app a(i) detect and to switch to malfunction when being in malfunction, no longer switch to standby host after being in fault case.
Fig. 2 is a configuration management initialization flowchart among the present invention, and the initialization of application is the initialized part of configuration management, and the initialization flow process of configuration management as shown in Figure 2.At first the start-up system managing process starts all processes that belong to certain application then, finishes the initialization of application.Determine the active and standby machine of this application after initialization is finished by the main and standby competition method between using, all application starts are finished the back and started node supervision and managing process, the running status of server hardware is monitored, configuration management is helped out.
Application initializes flow chart among Fig. 3 the present invention is used app i(j) initialization flow process as shown in Figure 3.Relation according to application and node, application and process is carried out initialization, app to application i(j) after starting successfully, enter a latent period, in this cycle, receive the information of other servers of self-application and report in the real-time storehouse, wait for finish after with app i(j) be changed to standby host; If initialization is unsuccessful, then with app i(j) be changed to fault case.
After the configuration management initialization was finished, hypervisor was in the state that sends and receive heartbeat message, and heartbeat message is exactly an application state information.By checking the application state information in the whole system, judge whether to carry out the switching of application state automatically.Fig. 4 is a state information handling process among the present invention, at first judges the network state of this machine, if the network of this machine is obstructed, then application all on this machine is changed to the suspension state; If this meshed network is in good condition, then receive the application heartbeat message corresponding, and judge the running status of each application with this node, corresponding information is saved in the application state information table; All do not send the heartbeat message message if some application surpass N specified period, then this application is changed to suspension, relevant information is saved in the application state information table.
Fig. 5 is that the present invention uses active and standby switching flow figure, checks in system-wide application state information and uses app iThe activestandby state on Servers-all.If app i(j) be standby host, and existing other main frames in the system, app then sent i(j) for using app iThe message of standby host; If do not have main frame, app in the system i(j) priority is the highest, sends app i(j) be the message of main frame on duty;
If app i(j) be main frame, detect in the system and to also have app i(k) also be main frame, relatively app i(j) and app i(k) priority, with priority low switch to standby host.
The present invention is illustrated according to the preferred embodiment, should be appreciated that but the foregoing description does not limit the present invention in any form, and all employings are equal to replaces or the technical scheme that form obtained of equivalent transformation, all drops within protection scope of the present invention.

Claims (4)

1. dispatch automation system application state management method is characterized in that may further comprise the steps:
1) initialization of configuration management: start-up system managing process at first, start all processes that belong to certain application then, finish the initialization of application, after finishing, initialization determines the active and standby machine of this application by the main and standby competition method between using, starting node after all application starts are finished monitors and managing process, running status to server hardware monitors, configuration management is helped out;
2) after the configuration management initialization is finished,, judge whether to carry out the switching of application state automatically by checking the application state information in the whole system,
In described step 1), described main and standby competition method may further comprise the steps:
(1) as if a certain standby host that is applied as, and existing other main frames in the system, the message that this is applied as standby host then sent; If do not have main frame in the system, and the priority that should use is the highest, sends the message that this application is a main frame on duty;
(2) if this application is a main frame, detect in the system that to also have Another Application also be main frame, relatively should use and the priority of Another Application, with priority low switch to standby host;
In described step 2) in, its state information processing procedure is: at first judge the network state of this machine, if the network of this machine is obstructed, then application all on this machine is changed to the suspension state; If this meshed network is in good condition, then receive the application heartbeat message corresponding, and judge the running status of each application with this node, corresponding information is saved in the application state information table; All do not send the heartbeat message message if some application surpass N specified period, then this application is changed to suspension, relevant information is saved in the application state information table.
2. dispatch automation system application state management method according to claim 1, it is characterized in that: in described step 1), in the initialization procedure of described application, relation according to application and node, application and process is carried out initialization to application, after a certain application start success, enter a latent period, in this cycle, receive the information of other servers of self-application and report in the real-time storehouse that wait is changed to standby host with this application after finishing; If initialization is unsuccessful, then this application is changed to fault case.
3. dispatch automation system application state management method according to claim 1 and 2 is characterized in that: the automatic switchover of described application and main and standby competition method are carried out between the application on the multiple servers.
4. dispatch automation system application state management method according to claim 1 and 2, it is characterized in that: be provided with the interface module of activestandby state information of each application of inquiry at work station, be used to realize that work station chooses the server at any applied host machine place at any time and connect.
CN2009100266220A 2009-05-07 2009-05-07 Dispatch automation system application state management method Active CN101557307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100266220A CN101557307B (en) 2009-05-07 2009-05-07 Dispatch automation system application state management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100266220A CN101557307B (en) 2009-05-07 2009-05-07 Dispatch automation system application state management method

Publications (2)

Publication Number Publication Date
CN101557307A CN101557307A (en) 2009-10-14
CN101557307B true CN101557307B (en) 2011-06-15

Family

ID=41175261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100266220A Active CN101557307B (en) 2009-05-07 2009-05-07 Dispatch automation system application state management method

Country Status (1)

Country Link
CN (1) CN101557307B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR112016023577B1 (en) * 2014-04-14 2023-05-09 Huawei Technologies Co., Ltd APPLIANCE AND METHOD TO CONFIGURE REDUNDANCY SOLUTION IN CLOUD COMPUTING ARCHITECTURE
CN103970009A (en) * 2014-04-30 2014-08-06 南京南瑞继保电气有限公司 Data selection method for sending redundancy units in DC transmission system
CN108196441B (en) * 2017-11-17 2021-04-13 国电南瑞科技股份有限公司 Method for realizing hot standby redundancy for system application
CN112948065B (en) * 2019-11-26 2022-07-22 南京南瑞继保电气有限公司 Kubernetes-based scheduling automation system management device
CN112394662A (en) * 2020-11-11 2021-02-23 许继集团有限公司 Transformer substation monitoring system server role determination method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183992A (en) * 2007-12-28 2008-05-21 中兴通讯股份有限公司 Equipment management method in stacked system
CN101197702A (en) * 2006-12-08 2008-06-11 中兴通讯股份有限公司 Method for implementing communication and service processing between main and standby system
CN101378334A (en) * 2008-09-25 2009-03-04 卡斯柯信号有限公司 Communication method base on dual-network redundant universal network model
CN101394306A (en) * 2008-07-08 2009-03-25 国电南瑞科技股份有限公司 Seamless switching method for dual server system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197702A (en) * 2006-12-08 2008-06-11 中兴通讯股份有限公司 Method for implementing communication and service processing between main and standby system
CN101183992A (en) * 2007-12-28 2008-05-21 中兴通讯股份有限公司 Equipment management method in stacked system
CN101394306A (en) * 2008-07-08 2009-03-25 国电南瑞科技股份有限公司 Seamless switching method for dual server system
CN101378334A (en) * 2008-09-25 2009-03-04 卡斯柯信号有限公司 Communication method base on dual-network redundant universal network model

Also Published As

Publication number Publication date
CN101557307A (en) 2009-10-14

Similar Documents

Publication Publication Date Title
US10560315B2 (en) Method and device for processing failure in at least one distributed cluster, and system
US10601657B2 (en) Instance node management method and management device
CN103346903B (en) Dual-machine backup method and device
CN107733684A (en) A kind of multi-controller computing redundancy cluster based on Loongson processor
CN100492305C (en) Fast restoration method of computer system and apparatus
CN102244669B (en) Software upgrading method in stacking equipment and stacking equipment
CN103019889A (en) Distributed file system and failure processing method thereof
CN101557307B (en) Dispatch automation system application state management method
CN103853622A (en) Control method of dual redundancies capable of being backed up mutually
CN104484243B (en) A kind of highly reliable system and device and method of virtual machine fault-toleranr technique and the combination of high-availability cluster technology
CN103532753A (en) Double-computer hot standby method based on memory page replacement synchronization
CN104079454A (en) Equipment exception detecting method and equipment
CN109525434B (en) Redundancy backup method based on onboard equipment board card
CN105068763B (en) A kind of virtual machine tolerant system and method for storage failure
CN101197702A (en) Method for implementing communication and service processing between main and standby system
CN109165181A (en) A kind of more boards are from configuration and task from compartment system and method
CN105515838A (en) Service configuration method and HA (High Available) cluster system
CN102073523A (en) Method and device for implementing software version synchronization
CN102291303B (en) Single board and method for determining primary and standby states for the same
JP5285044B2 (en) Cluster system recovery method, server, and program
CN111930573A (en) Task-level dual-computer hot standby system and method based on management platform
CN100395962C (en) Method and system for equipment switching in communication system
CN110677288A (en) Edge computing system and method generally used for multi-scene deployment
CN111221683A (en) Double-flash hot backup method, system, terminal and storage medium for data center switch
CN201047943Y (en) Fast recovery equipment of computer system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: NARI NANJING CONTROL SYSTEM LTD.

Effective date: 20141127

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20141127

Address after: High road high tech Development Zone Nanjing city Jiangsu province 210061 No. 20

Patentee after: NARI Technology Development Co., Ltd.

Patentee after: SGCC NARI Nanjing Control System Co., Ltd.

Address before: High road high tech Development Zone Nanjing city Jiangsu province 210061 No. 20

Patentee before: NARI Technology Development Co., Ltd.