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

Flow data processing method in multi-user environment

A technology of streaming data and processing methods, applied in the direction of electronic digital data processing, multi-programming devices, resource allocation, etc., can solve the problems of system resource consumption, system real-time performance and memory fragmentation, high data cost, etc., to reduce memory fragmentation The effect of generation, avoiding the application and release of memory, and reducing the chance of memory leaks

Inactive Publication Date: 2018-10-09
电信科学技术第五研究所有限公司
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 3) The data scale is uncertain, and its maximum or minimum value cannot be predicted;
[0006] 4) Data backtracking is difficult. Once processed, it cannot be retrieved again unless it is specially saved, or the cost of re-extracting data is high
This can effectively protect the integrity and correctness of metadata, but it will inevitably cause excessive consumption of system resources and reduce system efficiency. As the amount of data continues to increase, this problem becomes more obvious and serious
At the same time, because the mechanism is dynamically applied from the memory, in the system with frequent data volume operations, it also brings problems such as system real-time and memory fragmentation.

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
  • Flow data processing method in multi-user environment
  • Flow data processing method in multi-user environment
  • Flow data processing method in multi-user environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention adopts the ring memory zero-copy processing mechanism. Based on the traditional data sharing mechanism, the modification mechanism redesigns and encapsulates the core module, and introduces the concept of memory ring. Such as figure 2 As shown, compared with the traditional mechanism, the biggest difference is that when the user obtains data from the memory cache, what he gets is not the specific data, but the memory address corresponding to the data.

[0045] see image 3 . The principle of the ring memory data sharing mechanism: allocate a block of memory from the memory in advance to build a memory ring, and the initial size calculation formula of the memory ring is: nCount=(rear-front+nSize)%nSize.

[0046] Rear: Indicates the queue tail offset, which is placed in the shared memory Head and visible to all components;

[0047] Front: Indicates the head offset of the current process, which is a process private variable and visible to the cur...

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 relates to a flow data processing method in a multi-user environment, and relates to computer data processing technology. The method comprises the following steps of: 1) reading data content from a data stream, and storing the read data content in the memory area of a memory ring according to the read sequence; 2) adding the user request into the request queue according to the priority of the user request if a user data request is received; 3) processing the user request according to the queue sequence, retrieving the data content in the request in the memory ring, and proceedingto step 4) if the requested data is retrieved; proceeding to step 5) if the requested data is not retrieved; 4) returning the address pointer of the requested data in the memory ring to the user; 5)re-adding the user request in the request queue after waiting for a predetermined time, and returning prompt information to the user if the data corresponding to the request is still not retrieved after a predetermined number of times or a preset time. According to the invention, the consumption of system resource is reduced.

Description

technical field [0001] The present invention relates to computer data processing technology. Background technique [0002] Streaming data, also known as streaming data, is a set of data sequences that arrive sequentially and continuously. In general, streaming data can be regarded as a dynamic data collection that grows infinitely over time; The data continuously generated by thousands of data sources is usually sent in the form of data records at the same time, and the data scale changes from time to time. At the same time, the characteristics of streaming data: [0003] 1) Real-time data transmission; [0004] 2) Data transmission sequence independence, not controlled by external factors; [0005] 3) The data scale is uncertain, and its maximum or minimum value cannot be predicted; [0006] 4) It is very difficult to trace back the data. Once processed, it cannot be retrieved again unless it is specially saved, or the cost of re-extracting the data is high. [0007] B...

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): G06F9/50G06F9/54G06F12/02
CPCG06F9/5016G06F9/5022G06F9/544G06F12/0253
Inventor 罗晓辉
Owner 电信科学技术第五研究所有限公司