Unlock instant, AI-driven research and patent intelligence for your innovation.

Failure retry notification method and device based on quick recovery

A fast recovery and retry technology, applied in the communication field, can solve problems such as frequent access, affecting database performance, and inability to transmit result data in time, so as to avoid the reduction of system performance

Pending Publication Date: 2022-08-09
晨贝(天津)技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, for the retry mechanism in related technologies, if the retry interval is short, the database needs to be accessed frequently, thereby affecting database performance; if the retry interval is long, the result data cannot be transmitted in time after the third-party business system returns to normal

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
  • Failure retry notification method and device based on quick recovery
  • Failure retry notification method and device based on quick recovery
  • Failure retry notification method and device based on quick recovery

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below with reference to the accompanying drawings in the present application. Obviously, the described embodiments are part of the embodiments of the present application. , not all examples. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0031] The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustr...

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 failure retry notification method and device based on quick recovery. The method comprises the following steps: acquiring a notification message to be sent; under the condition that the target notification object is abnormal, adding the notification message to be sent to a message queue; sending the notification message to be sent in the message queue to the target notification object by adopting different strategies based on different states of the flag bit, and updating the flag bit based on a sending result; wherein the flag bit is used for indicating the current running state of the target notification object; the states of the flag bit comprise an open state, a semi-open state and a closed state. Therefore, after the service of the target notification object is recovered, the message in the message queue is sent to the target notification object in time, and under the condition that the to-be-sent notification message exists in the message queue, the subsequently sent to-be-sent notification message is sent through the message queue. And reduction of system performance caused by the fact that the target notification object receives too many notification messages at a time is avoided.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular, to a method and device for notification of failure retry based on fast recovery. Background technique [0002] In a business system, it is essential to connect with a third-party business system, and the solutions usually adopted include message queue (message queue, MQ) and remote procedure call (remote procedure call, RPC). Taking the RPC solution as an example, usually when the business is completed, the result data needs to be sent to the third-party business system through an asynchronous RPC call. During this process, if the third-party business system fails and the result data cannot be sent to the third-party business system, a retry mechanism is usually used to try until the third-party business system returns to normal. [0003] However, with the retry mechanism in the related art, if the retry interval is short, the database needs to be accessed f...

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): H04L49/90H04L67/133
CPCH04L49/90
Inventor 陆雅
Owner 晨贝(天津)技术有限公司