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

Distributed control method in priority for operation process Download PDF

Info

Publication number
CN1924810A
CN1924810A CN 200510036946 CN200510036946A CN1924810A CN 1924810 A CN1924810 A CN 1924810A CN 200510036946 CN200510036946 CN 200510036946 CN 200510036946 A CN200510036946 A CN 200510036946A CN 1924810 A CN1924810 A CN 1924810A
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.)
Granted
Application number
CN 200510036946
Other languages
Chinese (zh)
Other versions
CN100373341C (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

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 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, and the priority of the business process of like-identified ID is compared respectively, so that the business process of the limit priority on normal node is activated.
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 step B also comprises:
Break down and during the communicating interrupt of other nodes at node, but each node of other communications the business process priority of like-identified ID is compared, and start the business process of limit priority.
Described method, wherein, described step B also comprises:
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 nodes relatively should identify the business process priority of ID, and started the business process of limit priority.
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 (6)

1, 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 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, and the priority of the business process of like-identified ID is compared respectively, so that the business process of the limit priority on normal node is activated.
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 step B also comprises:
Break down and during the communicating interrupt of other nodes at node, but each node of other communications the business process priority of like-identified ID is compared, and start the business process of limit priority.
4, method according to claim 1 is characterized in that, described step B also comprises:
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 nodes relatively should identify the business process priority of ID, and started the business process of limit priority.
5, method according to claim 4 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.
6, according to any described method of claim of claim 1 to 5, 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 true CN1924810A (en) 2007-03-07
CN100373341C 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)

Cited By (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
CN102404390A (en) * 2011-11-07 2012-04-04 广东电网公司电力科学研究院 Intelligent dynamic load balancing method for high-speed real-time database
CN102868736A (en) * 2012-08-30 2013-01-09 浪潮(北京)电子信息产业有限公司 Design and implementation method of cloud computing monitoring framework, and cloud computing processing equipment
CN102891881A (en) * 2012-07-09 2013-01-23 北京中创信测科技股份有限公司 Method for implementing equivalence and balance of nodes under cloud environment
CN104272267A (en) * 2012-05-02 2015-01-07 提姆斯通公司 Method for monitoring resources in computing device, and computing device
CN106020962A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Progress control method and terminal equipment
WO2016165474A1 (en) * 2015-04-16 2016-10-20 中兴通讯股份有限公司 Network speed measurement service processing method, server, and storage medium
CN110825593A (en) * 2019-11-11 2020-02-21 腾讯科技(深圳)有限公司 Method, device and equipment for detecting abnormal state of process and storage medium
CN111083003A (en) * 2018-10-22 2020-04-28 中兴通讯股份有限公司 Monitoring system and method, storage medium and processor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19531609A1 (en) * 1994-09-13 1996-03-28 Siemens Ag Communications network traffic management
FI104593B (en) * 1996-09-30 2000-02-29 Nokia Networks Oy Hierarchical synchronization procedure
GB2338372B (en) * 1998-06-12 2003-08-27 Ericsson Telefon Ab L M Architecture for integrated services packet-switched networks
CN1288860C (en) * 2002-11-21 2006-12-06 华为技术有限公司 Method for checking multiplex section state
CN100490476C (en) * 2003-12-11 2009-05-20 华为技术有限公司 Method for realizing precedence service of data packets

Cited By (15)

* 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
CN102404390A (en) * 2011-11-07 2012-04-04 广东电网公司电力科学研究院 Intelligent dynamic load balancing method for high-speed real-time database
CN102404390B (en) * 2011-11-07 2013-11-27 广东电网公司电力科学研究院 Intelligent dynamic load balancing method for high-speed real-time database
CN104272267A (en) * 2012-05-02 2015-01-07 提姆斯通公司 Method for monitoring resources in computing device, and computing device
CN104272267B (en) * 2012-05-02 2016-10-26 提姆斯通公司 For monitoring the method for the resource calculated in device and calculating device
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
CN102868736A (en) * 2012-08-30 2013-01-09 浪潮(北京)电子信息产业有限公司 Design and implementation method of cloud computing monitoring framework, and cloud computing processing equipment
WO2016165474A1 (en) * 2015-04-16 2016-10-20 中兴通讯股份有限公司 Network speed measurement service processing method, server, and storage medium
CN106020962A (en) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 Progress control method and terminal equipment
CN106020962B (en) * 2016-05-31 2019-05-21 Oppo广东移动通信有限公司 A kind of course control method and terminal device
US10719351B2 (en) 2016-05-31 2020-07-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling states of processes and related device
US10754684B2 (en) 2016-05-31 2020-08-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling process and related device
CN111083003A (en) * 2018-10-22 2020-04-28 中兴通讯股份有限公司 Monitoring system and method, storage medium and processor
CN110825593A (en) * 2019-11-11 2020-02-21 腾讯科技(深圳)有限公司 Method, device and equipment for detecting abnormal state of process and storage medium

Also Published As

Publication number Publication date
CN100373341C (en) 2008-03-05

Similar Documents

Publication Publication Date Title
CN1924810A (en) Distributed control method in priority for operation process
CN1230737C (en) Device data polling dispatching method
CN1129857C (en) Multi-processor converter and main processor converting method
CN1852141A (en) Method for realizing upward link back-up
CN110545260A (en) Cloud management platform construction method based on mimicry structure
CN1825851A (en) WINDOWS remote debugger service
CN1595368A (en) Abnormal monitoring equipment and method for multi-task system
CN1342280A (en) Protocol for replicated servers
CN1195813A (en) System of reporting errors by hardward element of distributed computer system
CN105159769A (en) Distributed job scheduling method suitable for heterogeneous computational capability cluster
CN109710416B (en) Resource scheduling method and device
CN1251103C (en) Method for improving serviceability of business machine group
CN1812413A (en) Systems, methods for detecting nagle on a tcp network connection
CN1754153A (en) Policy-based response to system errors occuring during os runtime
CN1260654C (en) Method of reporting errors by hardward element of distributed computer system
CN112015549B (en) Method and system for selectively preempting scheduling nodes based on server cluster
CN1508689A (en) System and method for long-distace obtaining informtion of monitroed computer
CN1350228A (en) Automatic WINDOWS NT course protecting system
CN200944605Y (en) Domain name server and communication system
CN110287159B (en) File processing method and device
CN1834926A (en) Failures inform method
CN1156860A (en) Computer system
CN101039207A (en) Intelligent optical network equipment having double CPU and method for realizing the same
CN1842011A (en) Improved method and system for carrying out charging based on flow
CN101272230B (en) Method for managing cross-network transmission data packet and information processing 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