Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Heartbeat detection method and device

A heartbeat detection and non-detection technology, applied in the computer field, can solve problems such as high CPU usage rate and timeout failure, and achieve the effect of improving reliability, reducing timeout failure, and avoiding the instantaneous surge of CPU usage rate

Pending Publication Date: 2021-07-13
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In production practice, it is found that the CPU usage of the Provider will regularly increase with the arrival of the heartbeat cycle, causing the business transactions being processed on the Provider to often time out and fail due to the busy CPU.

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
  • Heartbeat detection method and device
  • Heartbeat detection method and device
  • Heartbeat detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0024] In order to facilitate the understanding of the technical solution provided by the present application, the relevant content of the technical solution of the present application will be described below first. In the embodiment of the present invention, the Consumer is a process, and the Provider is also a process. Each Consumer has a corresponding IP address and port number, and the Cons...

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 heartbeat detection method and device which can be used in the financial field or other technical fields. The method comprises the following steps: acquiring idle consumers corresponding to a producer, and counting the number of the idle consumers; if the number of the idle consumers is greater than a preset value, dividing the idle consumers into N detection batches according to a heartbeat detection scattering rule, wherein N is a positive integer greater than or equal to 2; and sequentially carrying out heartbeat detection on consumers in each detection batch. The device is used for executing the method. According to the heartbeat detection method and device provided by the embodiment of the invention, the reliability of the system is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a heartbeat detection method and device. Background technique [0002] At present, in a distributed system, the heartbeat mechanism between microservices keeps alive the long connection. [0003] Take the Dubbo framework, a common open source distributed service framework, as an example. The consumer (Consumer) will establish a TCP long connection with each producer (Provider). If within a heartbeat cycle, such as 20 seconds, there is no When a business transaction occurs, the Provider will actively send a heartbeat packet to the Consumer to detect whether the TCP long connection is still healthy. In a scenario where the Consumer cluster is relatively large and the overall transaction volume is relatively small, each Provider may have to maintain TCP long-term connections with thousands or even tens of thousands of Consumers at the same time, and most of these Consumers are re...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26
CPCH04L43/10
Inventor 关海超夏龙飞颜高飞张远征
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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
Eureka Blog
Learn More
PatSnap group products