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

Data transmission method and device based on message queue, electronic equipment, and medium

A data transmission method and message queue technology, applied in the field of process optimization, can solve problems such as lowering data transmission efficiency, flexible change of data capacity, and inability to call directly by the client, and achieve the effect of increasing scalability and improving efficiency

Pending Publication Date: 2022-02-11
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing data transmission methods based on message queues include kafka and rocketmq, but these two methods are for server-side use and cannot be directly invoked on the client side, and the existing message queues are not conducive to flexible changes in data capacity, often Frequent dynamic expansion due to insufficient queue space reduces the efficiency of data transmission

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
  • Data transmission method and device based on message queue, electronic equipment, and medium
  • Data transmission method and device based on message queue, electronic equipment, and medium
  • Data transmission method and device based on message queue, electronic equipment, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0049] An embodiment of the present application provides a data transmission method based on a message queue. The executor of the message queue-based data transmission method includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. Among them, the server can be an independent server, or it can provide cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content delivery network (Content Delivery Network) Network, CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms. In other words, the message qu...

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 relates to the technical field of process optimization, and discloses a data transmission method based on a message queue. The method comprises the following steps: receiving a data transmission request, acquiring to-be-transmitted data according to the data transmission request, and constructing assembled data through the to-be-transmitted data; acquiring the priority of the assembled data, and constructing target request objects according to the priority of the assembled data; adding the target request objects to message sub-queues of a preset message queue to obtain a data transmission queue, wherein the message queue comprises a plurality of message sub-queues, and the plurality of message sub-queues are realized in a linked list structure; transmitting the to-be-transmitted data to a server side through the data transmission queue. The invention further provides a data transmission device based on the message queue, equipment, and a storage medium. The invention further relates to a blockchain technology, and the to-be-transmitted data can be stored in blockchain nodes. According to the invention, the data transmission efficiency can be improved.

Description

technical field [0001] The present invention relates to the technical field of process optimization, in particular to a message queue-based data transmission method, device, electronic equipment and computer-readable storage medium. Background technique [0002] When the client and the server perform data transmission based on the TCP long connection, in order to ensure the security and speed of the data, a message queue is often set up in the client to carry the data that the client needs to send to the server. [0003] The existing data transmission methods based on message queues include kafka and rocketmq, but these two methods are for server-side use and cannot be directly invoked on the client side, and the existing message queues are not conducive to flexible changes in data capacity, often Frequent dynamic expansion due to insufficient queue space reduces the efficiency of data transmission. Contents of the invention [0004] The present invention provides a messa...

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
IPC IPC(8): G06F9/54G06F16/27G06F21/60
CPCG06F9/546G06F21/602G06F16/27
Inventor 陈晟豪
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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