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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


