Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed message system and service status detection method thereof

A message system and service status technology, applied in the field of communication, can solve problems such as high overhead, increased services, and affecting the normal operation of the system, and achieve the effect of solving huge overhead and reducing resource consumption

Active Publication Date: 2012-10-03
ZICT TECH CO LTD
View PDF4 Cites 58 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this is that if the number of service consumers increases, the service provider will spend a lot on heartbeat detection, which will seriously affect the normal operation of the system.
[0004] Therefore, a new service status detection technology is needed, which can reduce the resource consumption of the server in heartbeat detection, and fundamentally solve the huge management overhead caused by the increase in services

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
  • Distributed message system and service status detection method thereof
  • Distributed message system and service status detection method thereof
  • Distributed message system and service status detection method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0033] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

[0034] figure 1 A block diagram of a distributed message system according to an embodiment of the present invention is shown.

[0035] Such as figure 1 As shown, the distributed message system acc...

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 provides a distributed message system, which comprises a server, a client side and a zookeeper cluster, wherein the server comprises a server communication unit which is used for transmitting the starting information of a server progress to the zookeeper cluster; the zookeeper cluster comprises a node management unit which is used for creating a corresponding sub-node for the started server progress on the created root node, and the sub-node is a temporary node; the client side comprises a client side communication unit and a judgment unit, wherein the client side communication unit is used for acquiring the creation situation of the sub-node from the zookeeper cluster; and the judgment unit is used for judging the current usable service of the server according to the creation situation of the sub-node. The invention also correspondently provides a service status detection method of the distributed message system. Due to the adoption of the technical scheme of the invention, a highly available communication platform based on the zookeeper is established, so that the resource consumption of the server for the heartbeat detection can be reduced, and the vast expenditure problem of the management caused by the increased service can be fundamentally solved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a distributed message system and a service state detection method of the distributed message system. Background technique [0002] When writing distributed computing applications, "partial failure" often occurs, that is, when a message is transmitted between two nodes in the network, if a network error occurs, the sender cannot know whether the receiver has received the message or not. messages. The receiver may or may not have received the message before the network error occurred, or the receiving process may have died. The only way for the sender to get the truth is to reconnect to the receiver and send it a query. This is partial failure: we don't even know if an operation has failed. [0003] The current popular solution is mainly heartbeat detection, that is, the service provider and the consumer maintain a certain connection, and send heartbeat packets regularly t...

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): H04L12/58H04L29/06
Inventor 孙为李江涛吴振宇张弛田睿
Owner ZICT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products