Unlock instant, AI-driven research and patent intelligence for your innovation.

A queue management method and device

A management method and technology of a management device, which are applied in the direction of processing data according to predetermined rules, etc., can solve problems such as blocking and inability to effectively utilize the continuous read and write performance of disks, and achieve the effect of reducing system load.

Active Publication Date: 2018-05-11
CHINA TELECOM CORP LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 2) The continuous read and write performance of the disk cannot be effectively utilized
[0008] 3) Every time you enter the queue, due to the need for IO operations, it will cause blocking
[0009] 4) When multiple threads enter the queue in parallel, it may lead to parallel IO operations

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
  • A queue management method and device
  • A queue management method and device
  • A queue management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are illustrated. The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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 protection scope of the present invention. The technical solution of the present invention will be described in various aspects below in conjunction with various figures and embodiments.

[0030] figure 1 It is a flowchart of an embodiment of the management method of the queue according to the present invention; as figure 1 Shown: ...

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 discloses a queue management method and device, which monitors the idle rate or fill rate of the queue; when the fill rate of the queue exceeds a set first threshold, the data that needs to be added to the queue is stored in the queue storage in the disk In the file; when the filling rate of the queue is lower than the set second threshold, the data in the queue storage file is loaded into the queue. The queue management method and device of the present invention save data through files when the filling rate exceeds the threshold, and through the control based on the queue filling rate, it can be guaranteed that reading and writing will not occur at the same time; because the writing and reading operations are performed in batches , which can make better use of the continuous read and write performance of the disk and reduce the system load.

Description

technical field [0001] The invention relates to the technical field of data transmission, in particular to a queue management method and device. Background technique [0002] In various modular systems, modules interact through data. In order to asynchronously interact between modules, it is generally necessary to use a queue system for inter-module communication. Common queuing systems have the following problems: [0003] 1. Does not support persistence. [0004] 2. When the queue is full, either discard new data, discard old data, or block new data. [0005] Based on the above problems, some queue systems that support persistence have emerged to ensure that the data will not be lost by persisting the incoming data. But these systems have the following problems: [0006] 1) Strict persistence is adopted, and each data entering the queue needs to be persisted once. [0007] 2) The continuous read and write performance of the disk cannot be effectively utilized. [00...

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 Patents(China)
IPC IPC(8): G06F7/76
Inventor 李文宇冯晓东贾海燕唐维章军田朝文张鉴常力元赵洪波赵敬谦俞韶桢
Owner CHINA TELECOM CORP LTD