Message processing method and device, electronic equipment and storage medium

A message processing and message technology, applied in the directions of multi-program device, inter-program communication, resource allocation, etc., can solve the problems of low maintainability and unreusable system resources, so as to solve the problem of data inconsistency, ensure data security, The effect of simplifying business logic

Pending Publication Date: 2022-08-09
BEIJING SHAREIT INFORMATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Cause system resources can not be reused, maintainability is getting lower and lower

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 processing method and device, electronic equipment and storage medium
  • Message processing method and device, electronic equipment and storage medium
  • Message processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0135] In the following description, reference is made to the accompanying drawings which form a part of this application and which illustrate, by way of illustration, specific aspects of embodiments of the application, or specific aspects of which embodiments of the application may be used. It should be understood that the embodiments of the present application may be utilized in other aspects and may include structural or logical changes not depicted in the accompanying drawings. Therefore, the following detailed description is not to be taken in a limiting sense, and the scope of the application is defined by the appended claims. For example, it should be understood that disclosure in connection with a described method may equally apply to a corresponding apparatus or apparatus for performing the described method, and vice versa. For example, if one or more specific method steps are described, the corresponding apparatus may include one or more units, such as functional uni...

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 embodiment of the invention provides a message processing method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: a notification service receives and stores a transactional message sent by a business side, carries out the delivery of the transactional message, maintains a message delivery record according to the delivery condition of the transactional message, and sends the message delivery record to the business side; and after the transactional message is successfully delivered, callback of the transactional message is carried out, and a callback record of the transactional message is maintained according to a callback condition. Therefore, the transactional messages are stored in the database server, the problem of data inconsistency caused by message loss is solved, and data security is guaranteed. And meanwhile, transactional message receiving, notification processing, compensation and callback cohesion are carried out in the system, so that high cohesion and low coupling are really realized, and the cost of the server is greatly saved and reduced.

Description

technical field [0001] The present disclosure relates to the technical field of computer applications, and in particular, to a message processing method, apparatus, electronic device, and computer-readable storage medium. Background technique [0002] Microservices advocate dividing a single application into a set of small services, and the services coordinate with each other. As long as microservices are involved, there is a problem of data consistency. Currently, there is a message queue (Message Queue, MQ) in the industry to publish and subscribe. The mechanism publishes messages, and based on the compensation strategy, there are weak consistency strategies that ensure the eventual consistency of data, and there are strong consistency strategies that use the distributed transaction framework. However, because the strong consistency strategy is synchronous processing, there are problems such as thread blocking, large delay, and strong coupling, which are not suitable for h...

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/542G06F9/546G06F9/505
Inventor 李云龙常军
Owner BEIJING SHAREIT INFORMATION TECH CO LTD
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
Try Eureka
PatSnap group products