Data packet sorting debounce method and device
A technology for data packets and receiving data packets, applied in the field of communication, can solve the problems of decoder collapse and reduce the packet loss rate of data packets, and achieve the effect of ensuring integrity, reducing packet loss rate, and avoiding artificial packet loss.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 The first implementation flow of the packet sorting and debounce method provided by the first embodiment of the present invention is shown. For the convenience of description, only the parts related to the present invention are shown. The method is used to realize the transmission process of audio and video data.
[0028] In the embodiment of the present invention, a circular array for storing data packets that meet the enqueuing requirements is preset, which is the first buffer array; The set is the second cache array; an array of flag bits corresponding to the first cache array is used to record whether there is data stored in the corresponding position of the first cache array.
[0029] Such as figure 1 As shown, the method includes:
[0030] In step S101, a data packet is received.
[0031] In the embodiment of the present invention, the data packets include but not limited to audio data packets and video data packets.
[0032] In step S102, when the r...
Embodiment 2
[0046] figure 2 It shows the specific implementation flow of the data packet enqueuing operation in the data packet processing method provided by the second embodiment of the present invention; for the convenience of description, only the parts related to the present invention are shown.
[0047] Such as figure 2 As shown, the method includes:
[0048] In step S201, a first data packet of a video sequence is received.
[0049] In step S202, the data packet is stored in the initial position of the first buffer array, the corresponding position of the flag bit array is set to 1, and the number of data in the buffer array is increased by 1.
[0050] In step S203, it is judged whether a new data packet is received.
[0051] If yes, execute step S204, otherwise, return to step S203.
[0052] In step S204, the sequence number of the data packet is obtained, and it is judged whether the sequence number meets the enqueue requirement.
[0053] The enqueuing requirement is that t...
Embodiment 3
[0081] image 3 It shows the implementation process of the data packet dequeuing operation in the data packet sorting and debounce method provided by the third embodiment of the present invention. For the convenience of description, only the parts related to the present invention are shown.
[0082] In step S301, when the number of data in the buffer array is greater than or equal to the size of the first buffer array, it is determined whether there is a data packet at the dequeuing position.
[0083] Wherein, the number of data in the cache array is the total number of data packets in the first cache array and the second cache array.
[0084]If yes, execute step S303; otherwise, execute step S302.
[0085] In step S302, the type of the data packet at the dequeuing position is obtained, the data packet is restored according to the data packet type, and the dequeue operation is performed on the restored data packet to form a network abstraction layer unit NALU.
[0086] Jump ...
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