Method for implementing perdurable data queue

A data queuing and persistent technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of database storage data not having the first-in-first-out feature, difficult to meet the needs of applications, and low efficiency. To achieve the effect of simple structure and algorithm, small resource occupation and high efficiency

Inactive Publication Date: 2009-08-19
BEIJING BEWINNER DIANYI INFORMATION TECH CO LTD
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For database persistence, it is necessary to build a database, and the built database itself requires overhead. For a lightweight application, it is too expensive to build a database specifically for message persistence. In addition, the database stores the data itself It does not have the characteristics of first-in first-out, so it will lead to

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 for implementing perdurable data queue
  • Method for implementing perdurable data queue
  • Method for implementing perdurable data queue

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0036] The present invention proposes a method for realizing persistent data queue, refer to Figure 11 As shown, it includes the following steps: first, obtaining control file information; then loading the data queue according to the control file information; and the control file manages the data files in the disk path. The data queue may be composed of a control file and a data file, and the control file and the data file are stored in the same disk path, that is, a data queue is mapped to a specified disk path.

[0037] In the solution of the present invention, obtaining the control file information is obtained by judging whether there is a control file in the specified path, that is, if there is the control file in the specified path, directly read the information in the control file; When there is no control file in the specified path, the control information is created according to the set format, and the control information is written into the newly created control file...

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 provides a method for realizing persistent data array. The method comprises the steps of obtaining information of a control file; loading the data array according to the information of the control file; and managing a file in a disc route through a control module. The method adopts the light-weight disc-file-based first-in-first-out end-to-end data array to realize the persistent data array, and is applicable to information transmission of a communication system or directly to the data retransmission and flow control which both require persistent information.

Description

technical field [0001] The invention relates to a method for persisting data queues, in particular to a method for implementing persistent data queues by using disk files in message transmission of a communication system. Background technique [0002] In the communication system, there are a large number of messages that need to be transmitted, and some of these transmitted information need to be persisted. Message persistence should be a better method for reliable message delivery. With message persistence, Even if the sender and receiver are not online at the same time or the message center shuts down after the sender sends the message, the message can still be sent after the message center is restarted. At present, most persistent message queues use database persistent messages, that is, the message queue to be saved is stored in a database or file, and the principle of this message persistence is very simple, that is, after the sender sends the message, the message cente...

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): H04L12/54G06F17/30
Inventor 曹东彭伟傅乐民
Owner BEIJING BEWINNER DIANYI 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