Message transmission method and device based on database, electronic equipment and storage medium

A message transmission and database technology, applied in the directions of database indexing, database update, database distribution/replication, etc., can solve the problems of increasing system complexity and maintenance costs, middleware dependence, and complex implementation, etc., to achieve data persistence and maintenance The Effects of Low Cost, High Performance, and High Availability

Pending Publication Date: 2020-12-11
SHANGHAI YITU NETWORK SCI & TECH
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the process of message transmission, there is often a backlog of data transmitted between devices due to network interruptions, network congestion, etc. Add a middleware to implement breakpoint resume, such as KAFKA, RabbitMQ or RocketMQ, etc., but the middleware has many dependencies and complex implementation. For example, kafka needs to rely on zookeeper to solve the distributed consistency problem, which increases the complexity of the system and reduces maintenance. cost

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 transmission method and device based on database, electronic equipment and storage medium
  • Message transmission method and device based on database, electronic equipment and storage medium
  • Message transmission method and device based on database, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0057] Any number of elements in the drawings is for illustration rather than limitation, and any designation is for distinction only and has no limiting meaning.

[0058] The message production terminal refers to the terminal that generates the message. For example, the message production terminal can be a data collection device, such as a surveillance camera, an environmental monitoring sensor, etc., or a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, etc. devices, smart TVs and other electronic devices.

[0059] The message consumer refers to the terminal that receives and processes the message, such as the o...

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 communication, and discloses a database-based message transmission method and device, electronic equipment and a storage medium, which reduce system dependence and system complexity and further reduce maintenance cost, the method comprises the following steps: receiving a to-be-transmitted message, and storing the to-be-transmitted message in a storage unit of a database, wherein each message stored in the database is associated with a timestamp when the message is stored in the database; when a message consumption request sent by a message consumption end is received, based on a target timestamp in the associated information corresponding to the storage unit, obtaining a corresponding target message from the storage unit and sending the corresponding target message to the message consumption end; and when response information which represents a consumed target message and is sent by the message consumption end is received, updating a target timestamp in the associated information based on the minimum timestamp in the timestamps of the unconsumed messages in the storage unit.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a database-based message transmission method, device, electronic equipment, and storage medium. Background technique [0002] In the process of message transmission, there is often a backlog of data transmitted between devices due to network interruptions, network congestion, etc. Add a middleware to implement breakpoint resume, such as KAFKA, RabbitMQ or RocketMQ, etc., but the middleware has many dependencies and complex implementation. For example, Kafka needs to rely on zookeeper to solve the distributed consistency problem, which increases the complexity of the system and reduces maintenance. cost. Contents of the invention [0003] Embodiments of the present application provide a database-based message transmission method, device, electronic equipment, and storage medium, which reduce system dependence and system complexity, and further reduce mainte...

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): G06F16/23G06F16/22G06F16/2457G06F16/27G06F9/54
CPCG06F16/2322G06F16/22G06F16/24578G06F16/27G06F9/546G06F2209/547G06F2209/548
Inventor 周亚权
Owner SHANGHAI YITU NETWORK SCI & TECH
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