Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method, device and system for processing message by message queue

A message queue and message technology, applied in the Internet field, can solve the problems of complex implementation, lost messages, and difficult to use, and achieves the effect of ensuring reliability, high throughput, and improving efficiency

Inactive Publication Date: 2011-04-20
CHINA MOBILE COMM GRP CO LTD
View PDF0 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The memory message queue reduces the reliability of the system. In case of power failure, unexpected crash, or program crash, the integrity of the message cannot be guaranteed, and a large number of messages that cannot be processed in the future may be lost; while using the memory message queue + file system or When the memory message queue + database is used to achieve message persistence, the efficiency is very low, and the implementation is complicated and difficult to use

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
  • Method, device and system for processing message by message queue
  • Method, device and system for processing message by message queue
  • Method, device and system for processing message by message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In the technical solution provided by the embodiment of the present invention, the synchronization between the database and the message queue is realized by triggering, and the high performance of the memory message queue and the high reliability of the database are used to combine the advantages of the memory message queue and the data security to realize A message queue using a database as a persistent tool is developed, which solves the problems of performance and reliability.

[0030] The following will clearly and completely describe the technical solutions of the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the pro...

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 discloses a method for processing message by message queue, comprising the following steps: receiving a message from a message production equipment; sending the message to the first message queue in memory and adding into database according to flag bit of the message; sending the message in the database to the second message queue in the memory which is used for storing messages that is provided message using equipment with acquiring and processing; receiving the message processed by message using equipment, sending the message to the first message queue and deleting or modifying the processed message from the database according to flag bit of the processed message. The embodiment of the invention gives consideration to both performance and reliability of the message queue. Utilizing the method, the embodiment of the invention also discloses a device and a system.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method, device and system for processing messages through a message queue. Background technique [0002] In data business technology, a message refers to a data unit transmitted between two computers, which can be very simple, such as containing only text strings, or more complex, possibly containing embedded objects. A message queue is a container for storing messages during message transmission. It is a message processing technology for exchanging information between distributed applications. It can reside in memory or on disk. It is mainly used to provide routing and ensure message delivery. An application provides message processing and message queuing functionality, regardless of whether the computer on which the application is running is on the same network or online at the same time. If the recipient is unavailable when the message is sent, the message queue will 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): G06F17/30G06F9/46
Inventor 王磊范晓晖刘越于蓉蓉郑冬冬
Owner CHINA MOBILE COMM GRP 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
Eureka Blog
Learn More
PatSnap group products