CN100373341C - Distributed control method in priority for operation process - Google Patents

Distributed control method in priority for operation process Download PDF

Info

Publication number
CN100373341C
CN100373341C CNB2005100369464A CN200510036946A CN100373341C CN 100373341 C CN100373341 C CN 100373341C CN B2005100369464 A CNB2005100369464 A CN B2005100369464A CN 200510036946 A CN200510036946 A CN 200510036946A CN 100373341 C CN100373341 C CN 100373341C
Authority
CN
China
Prior art keywords
node
business process
priority
identified
business
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
Application number
CNB2005100369464A
Other languages
Chinese (zh)
Other versions
CN1924810A (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.)
Beijing Yuanxin Science and Technology Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2005100369464A priority Critical patent/CN100373341C/en
Publication of CN1924810A publication Critical patent/CN1924810A/en
Application granted granted Critical
Publication of CN100373341C publication Critical patent/CN100373341C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

This invention discloses one business process distribution priority monitor method, which comprises the following steps: starting each point monitoring and judging the priority of the same label ID business process; starting highest priority business process; each point receives other business process information of the other part and comparing the priority of the same label ID business process to start highest business process on the normal point.

Description

A kind of distributed minute priority method for supervising of business process
Technical field
The present invention relates to a kind of computer networking technology, in particular a kind of method that business process is monitored in real time.
Background technology
In a telecom communication system, can business process reliable and stable operation will directly have influence on reliability of system operation, professional accuracy and real-time.
The method for supervising of current operation process concentrates in the monitoring to running environment such as the process of the operating system of individual node operation, threads mostly, these methods need the utilization factor of the CPU of collection system, the utilization rate of internal memory, the state of hard disk, state of network or the like information.Whether these information are normal in the operation that has to a certain degree reflected business process, for traditional monitoring method, a kind of method that can monitor the accounting server service logic that in the Chinese patent publication number is the patent documentation of CN1494257A, is proposed as Huawei Tech Co., Ltd, but after detection discovery system goes wrong, corresponding solution is not proposed in the prior art.
When finding business process occur unusual after, present most method is to kill process and restart corresponding process and handle by software watchdog; If but a node goes wrong,, can not solve corresponding problem even behind the repeated priming node.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The object of the present invention is to provide a kind of distributed minute priority method for supervising of business process, monitor each business process on each node by being distributed in monitoring process branch priority on each node, improve the reliability and stability of communication system greatly.
Technical scheme of the present invention is as follows:
A kind of distributed minute priority method for supervising of business process, it is monitored the business process of this node in the system by the monitoring process that is distributed on the different nodes of grid, and described method comprises:
A, start the monitoring process on each node, and the priority of business process with like-identified ID is judged, start the highest business process of its priority;
B, described each node receive the other side's monitored business process information each other, break down and during the communicating interrupt of other nodes at node, but each node of other communications compares the business process priority of like-identified ID, stop identical business process, and start the business process of limit priority with this sign ID;
During business process that a certain node detection notes abnormalities, this node stop should identify the operation of the business process of ID, and the priority that should identify the ID business process being reduced to lowest priority and sending the status information of present node to other node, other node stop and this identify the identical business process of ID, and start the business process of limit priority after the business process priority that relatively should identify ID.
Described method wherein, also comprises:
Described each node starts successively, and when this node starts in the maximum time of predetermined other nodal informations of detection interval, the priority of the business process of like-identified ID is compared.
Described method, wherein, described unusual reason comprises: endless loop, EMS memory occupation surpasses limit value, service logic flow process mistake or memory accessing outside.
Described method, wherein, the business process of the like-identified ID of described each node, its priority is identical and start when being the highest.
Distributed minute priority method for supervising of a kind of business process provided by the present invention, compared with prior art, because the business process to each node in the system has adopted distributed method for real-time monitoring according to priority, after a node broke down, other node can be taken over its work immediately; When the business process service logic mistake of certain operation of one of them node, stop the operation of this business process on this node, the highest business process of priority of like-identified brings into operation on other node; By adopting distributed multinode branch priority monitored in common, improved reliability of system operation greatly, stability, thus improved professional accuracy and real-time.
Description of drawings
Fig. 1 is the system network architecture synoptic diagram of a preferred embodiment of the inventive method;
Fig. 2 is the workflow synoptic diagram of a node in the system of the inventive method;
Fig. 3 is 3 o'clock a priority list synoptic diagram for business process number on each node of the embodiment of the inventive method shown in Figure 1.
Embodiment
Below in conjunction with accompanying drawing, will carry out comparatively detailed explanation to each preferred embodiment of the present invention.
Distributed minute priority method for supervising of described business process of the present invention, its core is by the monitoring process that is distributed on the different nodes of grid the business process in the system to be monitored, whether detection system running environment is normal, and according to the business process on mutual each node of information Control of each node.
The inventive method mainly comprises following content:
Monitoring process on each node can be monitored more than one business process, and business process is configured to different priority and sign ID.The sign ID of each business process can not be identical on same node, and priority can be identical.The priority of each business process on each node and sign ID can be the same or different.When being provided with generally the importance according to business process priority is set, important more process priority is high more, and the priority of business process also can be set according to other principles.Identical business process is configured to identical sign ID on the general different node.
The operation conditions of described monitoring process monitoring business process and the monitoring process on other nodes are according to the priority and the running state information of mutual interactive service process of certain cycle.They communicate with one another, and have constituted a cancellated communication network.
When each node started, the sequencing that starts business process on this node can flexible configuration, can pacify the sequence starting according to priority, also can start according to other method.
Business process interactive information on described monitoring process and this node, according to mutual information, described monitoring process judges whether service logic is correct, if service logic is incorrect, then the priority of this business process is reduced on each node the business process of lowest priority in the same sign ID business process.
Each node in the inventive method receives after the status information of the monitored business process that monitoring process sends on other nodes and the running state information of the monitored business process of this node compares.When the sign ID of the sign ID of the business process of this node and other nodes that receive is identical, if the priority of this node is the highest, and be not activated this business process, then start this business process of this node; If the priority of this node is minimum, then stop this business process of this node; If in priority and the system in the business process of like-identified ID the business process of limit priority identical, then do not stop this business process, also can be configured and determine whether stopping this business process according to other principles.
For a certain reason, if the monitoring process of this node does not receive the message that other monitoring nodes processes send within a certain period of time, monitoring process thinks that other node breaks down, and starts all business process that are not activated of this node monitoring; Also can adopt other disposal route according to configured strategy.
Be illustrated in figure 1 as the reticulate texture synoptic diagram of each node composition of the inventive method, the control information among the figure on mutual each node of each node; Be illustrated in figure 2 as the workflow diagram of a node in the inventive method system.Its workflow is carried out according to following process step:
S201. start the monitoring process of this node.
S202. starting timer monitors the state of this node business process and receives the message that other nodes send.
S204. whether information such as the cpu occupancy according to monitoring be very high, and various conditions that whether service logic is correct or the like go to judge whether the business process of this node and service logic be normal.If have unusually then execution in step S205, otherwise execution in step S206.
If S205. one of them business process goes wrong, then the priority of this business process is reduced to the lowest priority that is lower than same sign ID business process on each node.
S206. wait for the timer expiry of this node.
S207. timing arrives, judge whether to receive the message that other nodes send over, if receive the message that other node sends, and execution in step S208 then, otherwise execution in step S203.
If S203. do not receive the information that other nodes send over, think that then other node is not activated or problem has been arranged, at this moment start other business process that are not activated of this node configuration; Get back to step S202.
S208. each node of receiving of arrangement message of sending, the relatively priority of the business process of the like-identified ID of each node.
S209. watch the business process of all operations on the present node, see whether their priority remains the highest business process of business process medium priority of like-identified ID in the system; If execution in step S211 then, otherwise execution in step S210.
S210. stop the operation of the business process of this sign of this node ID, then execution in step S211.
S211. watch on this node, the business process the medium priority whether priority of a business process that is not activated becomes same sign ID in the system is the highest, if execution in step S212 then, otherwise turn back to step S202, continue to carry out.
S212. start the highest business process of business process medium priority that becomes same sign ID in the system in this node; Turning back to step S202 continues to carry out.
In conjunction with Fig. 3 the interaction relationship of the inventive method each node in the system of 4 nodes once is described again below.As shown in Figure 3, in the system of this embodiment of the inventive method, each node configuration 3 business process, the priority of business process hypothesis is shown in Fig. 3 table on each node, when like-identified ID in the native system has the priority of two or more processes identical and when the highest, the strategy of selecting is to allow the process of limit priority move jointly, also can decide the process of two or more limit priorities of like-identified ID in the operational system how according to other strategy.The number of service node in the system, the priority of process can be carried out different configurations as required.Setting each node, to survey the maximum of other nodes be 2 seconds often, and the value 0 of priority is maximum, and 255 is minimum priority.These parameters also can be provided with other value according to different demands.The system start-up flow process is as described below, and each node in the system can start one by one, also can start together, for the convenience of describing, the following describes a then embodiment of a startup:
At first start the monitoring process on the node A,, start the business process on the node A because in the given time, do not receive the message that other node is sent.
Then start the monitoring process on the Node B, receive the other side's monitored business process information in the maximum time of given other nodal informations of detection interval interior nodes A and Node B mutually.The monitoring process of Node B is compared with the information that receives with the sign ID and the priority of the monitored process of this machine, Node B sign ID is PROCESS1, the priority of the business process of PROCESS2 is that like-identified ID medium priority is minimum in current all nodes, does not start them.The priority that is designated the business process of PROCESS3 on the Node B is that the business process medium priority of like-identified in the current operation node is the highest, and starting the B node identification is the business process of PROCESS3.Node A finds that his sign ID is that the priority of the business process of PROCESS3 has not been the highest among the like-identified ID in the system now, stops the operation of this business process this time.
Start the monitoring process on the node C then, in the maximum time of given other nodal informations of detection interval, node A, Node B and node C receive the other side's monitored business process information each other.Each node compares mutually with information of self and the information that receives.The running status of finding their business process does not separately need to change.
Start the monitoring process on the node D, at the maximum time of given other nodal informations of detection interval interior nodes A, Node B, node C and node D receive the other side's monitored business process information each other.The running status that each node compares the monitored business process of finding each node does not need to change.
After system had moved a period of time, for a certain reason, node A broke down and the communicating interrupt of other nodes, Node B, and node C and node D and node A can't interactive information.Node B is through finding that relatively this node identification is that the priority of PROCESS1 business process is that like-identified business process priority is the highest in the system, and Node B starts the process that is designated PROCESS1.Node B finds all that with node C its business process priority that is designated PROCESS2 is identical, and is the highest in the like-identified ID business process in the system, according to the principle startup Node B of configuration and the business process that is designated PROCESS2 on the node C.Node D is through comparing, and the change of priority relativeness does not more take place for the priority of their node traffic processes and other nodes, so do not change the running status of business process.
After finding that node A breaks down, if got rid of fault and restarted node A and the monitoring process above it, at this moment because the priority that is designated the business process of PROCESS1 and PROCESS2 among the node A is the highest in the business process of like-identified ID in the system, they are activated operation.
The business process that is designated PROCESS1 and PROCESS2 in the Node B has not been limit priority in the business process of like-identified in system, and Node B promptly stops their operation.The business process that is designated PROCESS2 among the node C has not been the limit priority in the business process of like-identified in system, and node C also stops its operation.Node D does not change through the priority relativeness of checking each business process of finding it, does not therefore change the running status of its each business process.
After having moved a period of time, node A detect to find to be designated that the business process of PROCESS1 is unusual, and unusual reason may be endless loop, and EMS memory occupation surpasses limit value, service logic flow process mistake, memory accessing outside or the like a variety of causes.At this moment node A stops to be designated the operation of the business process of PROCESS1, and the priority of the business process of PROCESS1 is reduced to lowest priority 255 and sends the status information of present node to other node, after Node B obtains change information, because it is current for system's medium priority is the highest that the B node identification is the priority of business process of PROCESS1, Node B starts the business process that is designated PROCESS1.
Distributed minute priority method for supervising of business process of the present invention, compared with prior art, because the business process to each node in the system has adopted distributed method for real-time monitoring according to priority, solve traditional monitoring field and adopted the indeterminable problem of house dog, after a node broke down, other node can be taken over its work immediately; When the business process service logic mistake of certain operation of one of them node, stop the operation of this business process on this node, the highest business process of priority of like-identified brings into operation on other node; By adopting distributed multinode branch priority monitored in common, improved reliability of system operation greatly, stability, thus improved professional accuracy and real-time.
But should be understood that above-mentioned description at preferred embodiment of the present invention is comparatively concrete, can not therefore be interpreted as the restriction to scope of patent protection of the present invention, scope of patent protection of the present invention should be as the criterion with claims.

Claims (4)

1. distributed minute priority method for supervising of a business process, it is monitored the business process of this node in the system by the monitoring process that is distributed on the different nodes of grid, and described method also comprises:
A, start the monitoring process on each node, and the priority of business process with like-identified ID is judged, start the highest business process of its priority;
B, described each node receive the other side's monitored business process information each other, break down and during the communicating interrupt of other nodes at a certain node, but each node of other communications compares the business process priority of like-identified ID, stop identical business process, and start the business process of limit priority with this sign ID;
When a certain node detection is found the abnormal traffic process of self, this node stop should identify the operation of the business process of ID, and the priority that should identify the ID business process is reduced to lowest priority, and send the status information of present node to other node, other node stop and this identify the identical business process of ID, and start the business process of limit priority after the business process priority that relatively should identify ID.
2. method according to claim 1 is characterized in that, also comprises:
Described each node starts successively, and when this node starts in the maximum time of predetermined other nodal informations of detection interval, the priority of the business process of like-identified ID is compared.
3. method according to claim 1 is characterized in that, described unusual reason comprises: endless loop, EMS memory occupation surpasses limit value, service logic flow process mistake or memory accessing outside.
4. according to any described method of claim of claim 1 to 3, it is characterized in that the business process of the like-identified ID of described each node, identical and startup when be the highest of its priority.
CNB2005100369464A 2005-09-02 2005-09-02 Distributed control method in priority for operation process Expired - Fee Related CN100373341C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100369464A CN100373341C (en) 2005-09-02 2005-09-02 Distributed control method in priority for operation process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100369464A CN100373341C (en) 2005-09-02 2005-09-02 Distributed control method in priority for operation process

Publications (2)

Publication Number Publication Date
CN1924810A CN1924810A (en) 2007-03-07
CN100373341C true CN100373341C (en) 2008-03-05

Family

ID=37817465

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100369464A Expired - Fee Related CN100373341C (en) 2005-09-02 2005-09-02 Distributed control method in priority for operation process

Country Status (1)

Country Link
CN (1) CN100373341C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101290587B (en) * 2008-06-12 2010-06-16 中兴通讯股份有限公司 Realization progress start-up and control process
CN102404390B (en) * 2011-11-07 2013-11-27 广东电网公司电力科学研究院 Intelligent dynamic load balancing method for high-speed real-time database
KR101212497B1 (en) * 2012-05-02 2012-12-14 주식회사 팀스톤 Method of monitoring resource and apparatus performing the same
CN102891881A (en) * 2012-07-09 2013-01-23 北京中创信测科技股份有限公司 Method for implementing equivalence and balance of nodes under cloud environment
CN102868736B (en) * 2012-08-30 2015-09-02 浪潮(北京)电子信息产业有限公司 A kind of cloud computing Monitoring framework design basis ground motion method and cloud computing treatment facility
CN106161131A (en) * 2015-04-16 2016-11-23 中兴通讯股份有限公司 A kind of network tests the speed the processing method of business and server
CN106020962B (en) 2016-05-31 2019-05-21 Oppo广东移动通信有限公司 A kind of course control method and terminal device
CN111083003A (en) * 2018-10-22 2020-04-28 中兴通讯股份有限公司 Monitoring system and method, storage medium and processor
CN110825593B (en) * 2019-11-11 2022-08-23 腾讯科技(深圳)有限公司 Method, device and equipment for detecting abnormal state of process and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1128467A (en) * 1994-09-13 1996-08-07 西门子公司 Method for traffic routing in a communications network
CN1232585A (en) * 1996-09-30 1999-10-20 诺基亚电信公司 Hierarchical synchronization system
CN1312996A (en) * 1998-06-12 2001-09-12 艾利森电话股份有限公司 Admission control method and switching node for integrated services packet-switched networks
CN1503478A (en) * 2002-11-21 2004-06-09 华为技术有限公司 Method for checking multiplex section state
CN1627778A (en) * 2003-12-11 2005-06-15 华为技术有限公司 Method for realizing precedence service of data packets

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1128467A (en) * 1994-09-13 1996-08-07 西门子公司 Method for traffic routing in a communications network
CN1232585A (en) * 1996-09-30 1999-10-20 诺基亚电信公司 Hierarchical synchronization system
CN1312996A (en) * 1998-06-12 2001-09-12 艾利森电话股份有限公司 Admission control method and switching node for integrated services packet-switched networks
CN1503478A (en) * 2002-11-21 2004-06-09 华为技术有限公司 Method for checking multiplex section state
CN1627778A (en) * 2003-12-11 2005-06-15 华为技术有限公司 Method for realizing precedence service of data packets

Also Published As

Publication number Publication date
CN1924810A (en) 2007-03-07

Similar Documents

Publication Publication Date Title
CN100373341C (en) Distributed control method in priority for operation process
US6002851A (en) Method and apparatus for node pruning a multi-processor system for maximal, full connection during recovery
CN106533805B (en) Micro-service request processing method, micro-service controller and micro-service architecture
CN101996106B (en) Method for monitoring software running state
US20050108385A1 (en) Method and system for managing a discovery-related process in a network
CN111901422B (en) Method, system and device for managing nodes in cluster
WO1998033121A9 (en) Method and apparatus for split-brain avoidance in a multi-process or system
CN106789306A (en) Restoration methods and system are collected in communication equipment software fault detect
CN106656604A (en) Microservice request management method, microservice controller and high-concurrence microservice architecture
CN110618864A (en) Interrupt task recovery method and device
CN101635650A (en) Method and equipment for managing power saving mode
CN111796954A (en) Watchdog control method, device, equipment and storage medium based on JVM
CN110312245A (en) A kind of business monitoring method and device of transnational roaming terminal
CN114064217B (en) OpenStack-based node virtual machine migration method and device
WO1998034456A9 (en) Method and apparatus for tolerance of lost timer ticks during recovery of a multi-processor system
EP1012718A2 (en) Method and apparatus for tolerance of lost timer ticks during recovery of a multi-processor system
CN112612635B (en) Multi-level protection method for application program
CN110287159B (en) File processing method and device
JP2008102778A (en) Information processor, control method of information processor and program
CN112463348B (en) Timed task processing method and device
CN107453995B (en) Designated router election method, device, router and communication system
CN105975359A (en) Method and device for data cleaning of server and server
CN101158920B (en) Method and apparatus for detecting fault of operating system
KR100832890B1 (en) Process obstacle lookout method and recovery method for information communication
US6434713B1 (en) Processor management method of mobile communication home location register (HLR) 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: BEIJING YUANXIN TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20141103

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 100176 DAXING, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20141103

Address after: 408, -27, room 100176, building 8, building 1, Bei Sheng North Street, Beijing economic and Technological Development Zone, Beijing, China

Patentee after: BEIJING YUANXIN TECHNOLOGY CO., LTD.

Address before: 518057 Nanshan District, Guangdong high tech Industrial Park, science and Technology Industrial Park, ZTE building, block A, layer 6, layer

Patentee before: ZTE Corporation

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: BEIJING YUANXIN TECHNOLOGY CO., LTD.

Document name: Notification of Termination of Patent Right

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080305

Termination date: 20160902

CF01 Termination of patent right due to non-payment of annual fee