CN100377528C - Safety managing method for network control system - Google Patents
Safety managing method for network control system Download PDFInfo
- Publication number
- CN100377528C CN100377528C CNB200410069495XA CN200410069495A CN100377528C CN 100377528 C CN100377528 C CN 100377528C CN B200410069495X A CNB200410069495X A CN B200410069495XA CN 200410069495 A CN200410069495 A CN 200410069495A CN 100377528 C CN100377528 C CN 100377528C
- Authority
- CN
- China
- Prior art keywords
- configuration item
- message
- dependence
- system monitoring
- configuration file
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention relates to a method for the safety management of a network control system, which comprises the steps as follows: a. the mutual dependency relationship among every course is determined and then converted into a configuration item parameter and stored in a configuration file; B. a system monitoring course loads and analyzes the configuration file and launches the course according to the configuration file. The data consistency of each module is ensured by the present invention when a system is launched. In addition, the normal operation of the network management system is further ensured.
Description
Technical field
The present invention relates to field of network management, particularly a kind of safety managing method for network control system.
Background technology
Network management system is meant a kind of management software, is mainly used in the management such as communication network, enterprise network, and people can manage the equipment in the network by this software.And system monitoring is a software subsystem of each administration module in the coordinated scheduling network management system.The message mechanism that each module of whole network management system all is based on Integrated Management Application Platform iMap carries out mutual communication, and whether the process that system monitoring is monitored in detection also must rely on the message mechanism of iMap to realize when starting fully.The technical scheme whether present detection procedure has started fully is: operating system is loaded program, and thinks that promptly process initiation is successful after having distributed process ID, and does not consider that the data load in the process start-up course can cause the inconsistent hidden danger of data.In fact, just should be considered process when a process enters message circulation and carries out communication with other process starts fully.
Summary of the invention
The object of the present invention is to provide a kind of safety managing method for network control system, the data consistency of each module when having guaranteed system start-up guarantees the normal operation of network management system further.
A kind of safety managing method for network control system of the present invention comprises following step:
A, determine the relation of interdependence between each process, and described dependence is converted into the configuration item parameter deposits in the configuration file that described configuration item parameter comprises the definition of described dependence and the message mechanism whether process is based on the process message communication;
B, system monitoring process read and analyze described configuration file, and when the configuration item parameter that comprises according to this configuration file determines that a monitored process has started, start other associated process that rely on described monitored process.
Described configuration item parameter comprises that further process estimates start-up time.
Step B further comprises: when system monitoring reads described process and whether is based on the message mechanism configuration item of process message communication, when not being based on the message mechanism of process message communication as definite this process, at this moment the system monitoring process is seeing that this process is operated system loads and thinks that promptly this process starts fully.
Step B further comprises: after the message mechanism configuration item that whether is based on the process message communication according to described process determined that described process is based on the module of process message communication message mechanism exploitation, system monitoring sent message with some cycles to this process and inquires about to judge whether process starts success in the time range that foundation process estimation configuration item start-up time is determined.
Step B further comprises: system monitoring produces several different process groups that start priority that have according to the relation of interdependence between each process, starts corresponding process group according to described priority orders.
Process in each described process group can not start when not having mutual dependence simultaneously.
If certain process initiation failure, other process that relies on it so will can not be activated.
When process is closed, when the process that relies on stops, should not stopped, forcing to stop dependent process by dependent process.
Steps A further comprises: described dependence is configured to a dependency tiee, and this tree is converted into the configuration item parameter.
The present invention is by on the basis that starts each module process of webmaster simply, the startup of introducing each intermodule concerns the startup of the process of control, thereby guaranteed the data consistency of each module in the system start-up effectively, guaranteed the normal operation of network management system further.
Description of drawings
Fig. 1 is the tree-like figure of dependence of the present invention;
Fig. 2 is the flow chart of the method for the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
Core of the present invention is:
A, determine the relation of interdependence between each process, and described dependence is converted into the configuration item parameter deposits in the configuration file;
B, system monitoring process read and analyze described configuration file, start described process according to configuration file.
In any management system, dependence more or less can be arranged all between each subsystem.Network management system is the software systems of a complexity, is made of each subsystem, such as alarm subsystem, secure subsystem, topological subsystem etc.In these subsystems, also exist restricting relation each other, be referred to as in the present invention to rely on.So-called ring is meant that the dependence between each subsystem may produce a kind of dependence of circulation, depends on B as A under the irrational situation of design, and B depends on C, and C depends on A, and this is referred to as ring.In network management system, this dependence will become the important prerequisite of data consistency.How to dispatch these modules, make it to carry out work, just become the important process of this total activation of system monitoring according to correct mode.
At first, at first determine the relation of interdependence between each process, then, they are configured to the arborescence of a dependence as shown in Figure 1, it can also be configured to the dependence graph of other types certainly according to this dependence.The dependence that shows among Fig. 1 is:
E-A-G-D
A-G-D
C-G-D
H-D
G-D
B-D
F
Certainly, in fact also there is more complicated dependence, also may directly depend on D such as E, but as long as not enough Cheng Huan depends on G such as A, G depends on D, and D depends on A, so just can realize starting by dependence the requirement of these processes.According to existing configuration mode, this tree is converted into certain form is placed in the configuration file and reads and analyze by the system monitoring process, relevant configuration item has:
The definition of [Monidependence] dependence
There is not sequencing problem in tabulation with the dependent process of CSV.
Whether [Moniimapmsgmech] this process is based on the message mechanism of message manager process message communication
The system monitoring process need send message to monitored process and confirm whether process starts fully, so need to determine whether this process is based on the message mechanism of process message communication.But this process also might not be based on the message mechanism exploitation of process message communication, and at this moment the system monitoring process is seeing that this process is operated system loads and thinks that promptly this process starts fully.
[Monistartupspan] process is estimated start-up time
For module based on the exploitation of process message communication message mechanism, system monitoring need send message with some cycles to this process and inquire about to judge whether process starts success in the certain hour scope, but can not ceaselessly give, because process may itself just have problem sometimes, not in place such as desired resource, just directly withdrawed from, at this moment will enable and estimate configuration item start-up time.
For the process A of last example, described dependence is converted into the configuration item parameter deposits in the configuration file, these three configuration items promptly can be converted into following form:
Monidependence=G, D // depend on process G and D, the sequence independence of G and D is critical
Monistartupspan=60 // process A starts and enters message circulation probably needs 60 seconds
Moniimapmsgmech=1 // process A is based on the message mechanism exploitation of process message communication.
Then, system monitoring reads the configuration item in the above-mentioned configuration file, carries out process initiation according to described configuration item.So the present invention is by on the basis that starts each module process of webmaster simply, the startup of introducing each intermodule concerns the startup of the process of control, makes that the data consistency of each module is guaranteed in the system start-up.
Certainly, in order to improve the efficient of system start-up, top dependency tiee can not be converted into the initiating sequence of a serial, but be divided into several groups, there is not mutual dependence in process in each group, can start simultaneously, will save the time that whole network management system starts so greatly.Then can be converted into following several groups as top dependency tiee:
D,F
H,G,B
A,C
E
Then, system starts process according to the dependence of customization:
System monitoring is analyzed the configuration file of dependency tiee, produces several different process groups that start priority that have, according to this grouping startup process.D and F process can be started simultaneously as system monitoring, after detecting the success of D process initiation, again can be with H, G, three processes of B start simultaneously, and this time, the F process might not start fully certainly, after detecting the G process and starting fully, A and C process can be started simultaneously again, in like manner, at this moment H and B process also not necessarily start fully.By that analogy, and then can improve the starting efficiency of system.
And in this process, if certain process initiation failure, other process that relies on it so will can not be attempted to start, and can know early so whether whole network management system can normally start.
Equally, also can be when process is closed according to this dependence, when the process that relies on does not stop, should not being stopped by dependent process or force to stop dependent process.
Claims (9)
1. a safety managing method for network control system is characterized in that, comprises the steps:
A, determine the relation of interdependence between each process, and described dependence is converted into the configuration item parameter deposits in the configuration file that described configuration item parameter comprises the definition of described dependence and the message mechanism whether process is based on the process message communication;
B, system monitoring process read and analyze described configuration file, and when the configuration item parameter that comprises according to this configuration file determines that a monitored process has started, start other associated process that rely on described monitored process.
2. the method for claim 1 is characterized in that, described configuration item parameter comprises that also process estimates start-up time.
3. the method for claim 1, it is characterized in that, step B further comprises: when system monitoring reads described process and whether is based on the message mechanism configuration item of process message communication, when not being based on the message mechanism of process message communication as definite this process, at this moment the system monitoring process is seeing that this process is operated system loads and thinks that promptly this process starts fully.
4. method as claimed in claim 2, it is characterized in that, step B further comprises: after the message mechanism configuration item that whether is based on the process message communication according to described process determined that described process is based on the module of process message communication message mechanism exploitation, system monitoring sent message with some cycles to this process and inquires about to judge whether process starts success in the time range that foundation process estimation configuration item start-up time is determined.
5. the method for claim 1 is characterized in that, step B further comprises: system monitoring produces several different process groups that start priority that have according to the relation of interdependence between each process, starts corresponding process group according to described priority orders.
6. method as claimed in claim 5 is characterized in that, there is not mutual dependence in the process in each described process group, can start simultaneously.
7. the method for claim 1 is characterized in that, if certain process initiation failure, other process that relies on it so will can not be activated.
8. the method for claim 1 is characterized in that, when process is closed, should not stopped by dependent process when the process that relies on stops, and forces to stop dependent process.
9. the method for claim 1 is characterized in that, steps A further comprises: described dependence is configured to a dependency tiee, and this tree is converted into the configuration item parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200410069495XA CN100377528C (en) | 2004-06-28 | 2004-06-28 | Safety managing method for network control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200410069495XA CN100377528C (en) | 2004-06-28 | 2004-06-28 | Safety managing method for network control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1716871A CN1716871A (en) | 2006-01-04 |
CN100377528C true CN100377528C (en) | 2008-03-26 |
Family
ID=35822331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200410069495XA Expired - Fee Related CN100377528C (en) | 2004-06-28 | 2004-06-28 | Safety managing method for network control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100377528C (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100461701C (en) * | 2006-08-24 | 2009-02-11 | 华为技术有限公司 | Calibration method and system for network resource uniformity of gating and members of network |
CN101777020B (en) * | 2009-12-25 | 2012-12-05 | 北京讯鸟软件有限公司 | Fault tolerance method and system used for distributed program |
CN101772051B (en) * | 2010-01-21 | 2014-03-12 | 浪潮通信信息系统有限公司 | Asynchronous processing method of collected data in communication performance network management system |
JP2012088815A (en) * | 2010-10-15 | 2012-05-10 | Toshiba Corp | Microprocessor operation monitoring system |
CN102486732A (en) * | 2010-12-02 | 2012-06-06 | 上海可鲁系统软件有限公司 | Distributed type platform and control method for starting priorities of functional modules in platform |
CN107544886A (en) * | 2016-06-27 | 2018-01-05 | 上海中兴软件有限责任公司 | A kind of block process dispatching method and device |
CN110764883B (en) * | 2018-07-26 | 2022-08-23 | 浙江宇视科技有限公司 | Start-stop control method and device for service group |
CN112527416A (en) * | 2020-12-24 | 2021-03-19 | 深圳追一科技有限公司 | Task processing method and device, computer equipment and storage medium |
CN114546517A (en) * | 2022-01-24 | 2022-05-27 | 中国第一汽车股份有限公司 | Software health management method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030065791A1 (en) * | 2001-09-28 | 2003-04-03 | Ajay Garg | System and method for remotely accessing a home server while preserving end-to-end security |
CN1464397A (en) * | 2002-06-10 | 2003-12-31 | 联想(北京)有限公司 | System process protection method |
-
2004
- 2004-06-28 CN CNB200410069495XA patent/CN100377528C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030065791A1 (en) * | 2001-09-28 | 2003-04-03 | Ajay Garg | System and method for remotely accessing a home server while preserving end-to-end security |
CN1464397A (en) * | 2002-06-10 | 2003-12-31 | 联想(北京)有限公司 | System process protection method |
Also Published As
Publication number | Publication date |
---|---|
CN1716871A (en) | 2006-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100377528C (en) | Safety managing method for network control system | |
CN106156939B (en) | Distributed scheduling system based on job flow and application method | |
CN102023624A (en) | Method and apparatus to manage module run sequences in a process control environment | |
CN111414229B (en) | Application container exception handling method and device | |
CN111897671A (en) | Failure recovery method, computer device, and storage medium | |
CN101778004B (en) | Terminal and method for performing device management scheduled based on threshold thereof | |
CN101777020A (en) | Fault tolerance method and system used for distributed program | |
CN108268305A (en) | For the system and method for virtual machine scalable appearance automatically | |
CN109558147A (en) | A kind of continuous integrating platform construction method based on Jenkins and Gitlab | |
CN114035925A (en) | Workflow scheduling method, device and equipment and readable storage medium | |
CN112084004A (en) | Container detection and maintenance method and system for container application | |
CN111580948A (en) | Task scheduling method and device and computer equipment | |
CN114640709A (en) | Edge node processing method, device and medium | |
CN113434155A (en) | Automatic deployment system in mixed cloud mode | |
CN115291892A (en) | Method and system for deploying micro service based on Ansible | |
CN112948065B (en) | Kubernetes-based scheduling automation system management device | |
CN111176959B (en) | Early warning method, system and storage medium of cross-domain application server | |
CN110830850A (en) | Debugging information acquisition method of android set top box | |
CN113722181B (en) | BMC process monitoring method, device, system and medium of server | |
CN112181609B (en) | Service daemon method, device and readable storage medium | |
CN116366585B (en) | Message sending flow monitoring method and device, equipment and medium thereof | |
CN109800013B (en) | Method and system for hot expansion of server application function and readable storage medium | |
CN114356391A (en) | Intelligent system maintenance method and device and computer readable storage medium | |
CN112905309B (en) | Business opening transaction exception processing method and device | |
CN114330776A (en) | Automatic operation and maintenance 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080326 Termination date: 20160628 |