Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data multi-level caching and high-speed transmission recording method based on MQ and asynchronous IO

A data recording and data caching technology, applied in the direction of electrical digital data processing, multi-program device, inter-program communication, etc., can solve the problems of exacerbated data packet loss, high cost, difficulty in CPU and disk IO scheduling, etc., and achieve high-speed stability Network transmission, improve speed and stability, reduce the effect of memory copy

Pending Publication Date: 2020-11-17
南京云灿信息科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the transmission level, TCP or UDP is usually used for transmission, but the transmission speed of TCP is not high enough, and the transmission speed of UDP is fast, but the problem of packet loss is difficult to avoid. We need a method that can make full use of network bandwidth and stable transmission without packet loss. method
At the level of data receiving and record storage, hardware boards can be used for high-speed writing, but the flexibility is slightly insufficient and the cost is relatively high; using software for receiving and high-speed writing improves flexibility, but CPU and disk IO Scheduling is quite difficult, and data packet loss will be exacerbated once data congestion occurs;

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
  • Data multi-level caching and high-speed transmission recording method based on MQ and asynchronous IO
  • Data multi-level caching and high-speed transmission recording method based on MQ and asynchronous IO
  • Data multi-level caching and high-speed transmission recording method based on MQ and asynchronous IO

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] According to the first aspect of the present invention, the present invention provides data multi-level cache and high-speed transmission recording method based on MQ and asynchronous IO, such as Figure 1-6 As shown, the patent of the present invention consists of two parts, the sending end and the receiving end, four units and a multi-level cache, and the data sending end is composed of a data sending interface unit and a high-speed data sending unit.

[0045] The data receiving end is composed of a high-speed data receiving unit and an asynchronous IO recording unit.

[0046] The buffer consists of a multi-level buffer for sending data buffers and a multi-level buffer for receiving data buffers (see figure 2 ).

[0047] In order to improve the stability of data transmission, the system has designed a multi-level cache architecture.

[0048]The sending end includes a three-level cache: in order to decouple the data preparation thread (data sending interface unit) f...

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

Provided is a data multi-level caching and high-speed transmission recording method based on MQ and asynchronous IO, multi-level caching technology and ZeroMQ technology are utilized, high-speed stable network transmission can be achieved, and network bandwidth resources are utilized to the maximum extent on the transmission level. On the data recording level, on one hand, asynchronous file writing is carried out through asynchronous IO, frequent switching between a user mode (User Mode) and a kernel mode (Kernel Mode) of a CPU is reduced, and the data writing speed is increased; and on the other hand, by sharing data receiving and asynchronous IO data caching, memory copying in the processing process is reduced, cache consumption is reduced, and data writing speed is increased. Through optimization and improvement of a transmission layer and a data recording layer, the overall transmission recording speed and stability of the system are improved.

Description

technical field [0001] The invention relates to the field of high-speed recording of the Internet of Things, in particular to a data multi-level cache and high-speed transmission recording method based on MQ and asynchronous IO. Background technique [0002] In the field of high-speed recording of the Internet of Things, it is necessary to perform high-speed transmission and high-speed recording of various massive Internet of Things data. At the transmission level, TCP or UDP is usually used for transmission, but the transmission speed of TCP is not high enough, and the transmission speed of UDP is fast, but the problem of packet loss is difficult to avoid. We need a method that can make full use of network bandwidth and stable transmission without packet loss. method. At the level of data receiving and record storage, hardware boards can be used for high-speed writing, but the flexibility is slightly insufficient and the cost is relatively high; using software for receivin...

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/543G06F9/544G06F9/546G06F2209/547G06F2209/548
Inventor 李敏
Owner 南京云灿信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products