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

Message sending method, device and equipment and computer readable storage medium

A message sending and message technology, applied in the field of communication, can solve problems such as the absence of feedback mechanism

Pending Publication Date: 2021-03-26
JINGDONG TECH HLDG CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the embodiments of the present invention is to provide a message sending method, device, device and computer-readable storage medium to solve the problem in the prior art that there is no feedback mechanism in the message transmission process through MQ middleware

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 method, device and equipment and computer readable storage medium
  • Message sending method, device and equipment and computer readable storage medium
  • Message sending method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0036] According to an embodiment of the present invention, a message sending method executed by an application on an active side is provided. The active application is deployed on the active application host or the active application host cluster.

[0037] Such as figure 1 Shown is a flow chart of a message sending method executed by an application on the active side according to an embodiment of the present invention.

[0038] Step S110, transmitting the service message to the message middleware, so that the message middleware stores the service message in a message queue.

[0039] Message middleware, also known as MQ middleware, is used to store business messages from the active application in the message queue, and deliver the busin...

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 message sending method, device and equipment and a computer readable storage medium. The method executed in an active party application comprises the following steps: transmitting a service message to message-oriented middleware; receiving a message storage result returned by the message middleware; and when the message storage result is that the message is successfully stored, executing the next service operation, and sending an operation result to the message middleware. The method executed in message-oriented middleware comprises the following steps: receiving a service message from an active party application; storing the service message into a message queue; returning a message storage result of the service message to the active party application; and receiving an operation result returned by the active party application, and delivering the service message to the passive party application when the operation result shows that the operation is successful. In the process of message transmission by using the message middleware, a feedback mechanism is added, and the problem that information of all parties is inconsistent due to the fact that the information of all the parties is not equal in the message sending process is avoided.

Description

technical field [0001] The present invention relates to the technical field of communication, and in particular to a message sending method, device, equipment and computer-readable storage medium. Background technique [0002] At present, in order to realize the decoupling between multiple application systems, MQ (Message Queue, message queue) middleware is mostly used to send messages between application systems. Specifically, the active party application (that is, the party that sends the message) sends the message to the MQ middleware, and the MQ middleware stores the message in the message queue, and the passive party application that needs the message (that is, the party that uses the message) can The message is consumed from the message queue without the active application sending the message to the passive application that needs the message. [0003] However, there is no feedback mechanism in the message transmission process through the MQ middleware. For example, wh...

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): G06F9/54G06F9/50
CPCG06F9/546G06F9/505G06F2209/547G06F2209/548
Inventor 宋鑫凯
Owner JINGDONG TECH HLDG 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