Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and equipment used for processing message through persistent queue

A persistent and message technology, applied in the computer field, can solve the problem of the limited speed of persistent queue processing messages, and achieve the effect of reducing IO operations, improving processing speed, and ensuring security.

Active Publication Date: 2017-11-24
ALIBABA GRP HLDG LTD
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] One purpose of this application is to provide a method and device for processing messages through persistent queues, so as to solve the problem of limited processing speed of persistent queues

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 and equipment used for processing message through persistent queue
  • Method and equipment used for processing message through persistent queue
  • Method and equipment used for processing message through persistent queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The application will be described in further detail below in conjunction with the accompanying drawings.

[0031] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0032] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0033] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random acce...

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 aims to provide a method and equipment used for processing a message through a persistent queue. Specifically, according to a message writing request, a first corresponding message is written into a front cache and a memory queue corresponding to the persistent queue; according to a message reading request, a second corresponding message is read and processed from the memory queue; and after the second message finishes being processed, the second message is deleted from the above cache. Compared with the prior art, the method and the equipment are characterized in that the front cache corresponding to the persistent queue is increased, the message is written into the front cache and the memory queue corresponding to the persistent queue, reading and processing are carried out from the memory queue during processing, finally, after the message finishes being processed, the message is deleted from the front cache, a message writing and reading frequency from the corresponding file system of the persistent queue is reduced, an IO operation is reduced, and message processing speed is improved.

Description

technical field [0001] The present application relates to the computer field, and in particular to a technology for processing messages through persistent queues. Background technique [0002] With the development of the times, the amount of data message processing is increasing. In order to ensure the security of data in the process of data message processing and avoid the loss of memory queue data messages caused by program restarts, the existing technology will arrange memory queues and The file system forms a persistent queue to ensure that data messages are stored in the file storage system when the program is restarted. However, in the prior art, when processing data messages, operations of writing or reading from a file system may occur, resulting in a large number of IO operations, which limits the processing speed of data messages. Contents of the invention [0003] An object of the present application is to provide a method and device for processing messages thr...

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/54
CPCG06F9/546
Inventor 佟路林
Owner ALIBABA GRP HLDG LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More