Efficient sampling port buffer management method
A buffer management and port technology, applied in the direction of memory address/allocation/relocation, multiprogramming device, etc., can solve the problems affecting the port's accessibility at any time, reduce communication efficiency, performance degradation, etc., to meet the functional characteristics requirements and Time requirements, improve communication efficiency, realize the effect of functional characteristics
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] The present invention provides an efficient sampling port buffer management method, the method is specifically as follows:
[0019] 1. When the sampling port is initialized, two buffers are allocated for the sampling port. For the convenience of expression, they are named BUFFER_1 and BUFFER_2 respectively. The two pointers of tempData and validData are used to point to these two buffers, and a write buffer count counter is saved at the same time.
[0020] 2. When the source port writes a message, write the message into the space pointed to by tempData, such as figure 1 shown in BUFFER_1.
[0021] 3. After the message is written, close task scheduling, point tempData to the buffer pointed to by validData, and point validData to the buffer pointed to by tempData, that is, exchange pointers, update the write buffer count counter at the same time, add 1 to the counter, and then start task scheduling. The destination port always reads data from the buffer pointed to by val...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com