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

Message sending and receiving methods and message sending and receiving devices

A technology of message sending and message receiving, which is applied in the Internet field, can solve the problem that message sending and receiving are not recorded and difficult to recover, and achieve the effect of avoiding data rollback

Inactive Publication Date: 2016-08-24
LETV CLOUD COMPUTING CO LTD
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiment of the present invention provides a message sending and receiving method and device to solve the technical problem in the prior art that message sending and receiving are not recorded and it is difficult to recover when message sending or receiving fails

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
  • Message sending and receiving methods and message sending and receiving devices
  • Message sending and receiving methods and message sending and receiving devices
  • Message sending and receiving methods and message sending and receiving devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0026] In the embodiment of the present invention, the message components are independently integrated into the sender and the receiver, and the message sending and receiving are separated from the specific business for asynchronous processing, and the storage and retry of the failed message are realized, and the sending or processing can be record...

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 message sending and receiving methods and message sending and receiving devices. The message sending method comprises that a first message is sent to a target receiver, and other local services are processed asynchronously; whether the first message is sent successfully is detected; and when sending of the first message fails, the first message is recorded in a message queue. Concrete businesses of message sending and receiving are separated and processed asynchronously, the failure message is stored and recorded, and data rollback caused by message loss or business data interruption is avoided.

Description

technical field [0001] The invention belongs to the field of the Internet, and in particular relates to a message sending and receiving method and device. Background technique [0002] When program A and program B communicate asynchronously, it is currently completed through Message Queue Service (MQ Server), but when program A fails to send a message to MQ Server, or B fails to process the message, A cannot get B If the response message is received, the required data cannot be obtained. The main manifestations are: [0003] 1. Program A fails to send a message, but the message is not saved, and the business needs to be rolled back or re-developed retry logic according to business needs [0004] 2. Program B fails to process after receiving the message, and cannot monitor and retry in time. After the failure, it cannot be automatically processed or the retry logic needs to be redeveloped. [0005] 3. MQ Server problem or network problem causes the message to be lost. Prog...

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/58
CPCH04L51/212H04L51/23
Inventor 刘永华王孝庆
Owner LETV CLOUD COMPUTING 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