Multithread monitoring method and device

A technology of multi-threading and service thread is applied in the field of monitoring methods and devices, which can solve the problem of low reliability and achieve the effect of improving reliability.

Active Publication Date: 2013-08-14
广州京信通信科技有限公司
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a multi-threaded monitoring method and

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multithread monitoring method and device
  • Multithread monitoring method and device
  • Multithread monitoring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The specific implementation manners of the multi-thread monitoring method and device provided by the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0020] A kind of multi-thread monitoring method that the embodiment of the present invention provides, such as figure 1 As shown, the specific process includes the following steps:

[0021] S101. The global availability manager monitors the running status of at least one local availability manager; wherein, the local availability manager is used to monitor the running status of service threads registered with it;

[0022] S102. The global availability manager determines whether the local availability manager is operating normally; if it is determined that the local availability manager is operating normally, turn to step S101; if it is determined that the local availability manager is operating abnormally, perform step S103;

[0023] S103. The global a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a multithread monitoring method and device. A global availability manager monitors running states of at least one local availability manager and subjects the local availability manager to a recovery operation after determining that the local availability manager runs abnormally; wherein the local availability manager is used for monitoring running states of serve threads registered on the local availability manager. Due to the fact that a two-stage monitoring structure that the global availability manager is used for monitoring the local availability managers and the local availability managers are used for monitoring a service thread is used, so that the service thread is monitored effectively, the situation that when the service thread and a monitoring thread are both abnormal and due to the fact that a system can not know the existence of the abnormal service thread, the system can not provide normal services normally is avoided, and accordingly the reliability of the system is improved.

Description

technical field [0001] The invention relates to the field of multi-thread technology, in particular to a multi-thread monitoring method and device. Background technique [0002] With the development of science and technology, there are more and more functional requirements for the system, and the complexity of the system is also multiplied. In order to meet the functional requirements of the system, multi-threading technology will be used in the system. In a complex multi-threaded system, work such as inter-thread communication and thread synchronization occupies a considerable proportion of the entire system, and threads often have dead threads or abnormal exits in the process of providing services. If a thread is abnormal, that is, it fails to provide services normally, but other threads still send message requests to this thread, it is easy to cause task buffer overflow to affect business services, and then cause system crashes, which greatly affects the reliability of th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/30
Inventor 陈炳锐赖福琪方彬浩
Owner 广州京信通信科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products