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.

Inactive Publication Date: 2017-11-14
SHENZHEN HAIYUN NEW ENERGY CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention provides a data packet sorting and debounce method and device to solve the problem of decoder collapse caused by the existing audio and video transmission methods, reduce the packet loss rate of data packets, and maintain the structural integrity of the NALU performance, reduce the complexity of NALU formation and dynamically adjust the size of the cache array

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 packet sorting debounce method and device
  • Data packet sorting debounce method and device
  • Data packet sorting debounce method and device

Examples

Experimental program
Comparison scheme
Effect test

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 ...

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 present invention is applicable to the technical field of communication, and provides a data packet sorting and debounce method and device. The method includes: enqueuing the received data packets when they meet the enqueue requirements; calculating the data packets The network jitter of the packet, and adjust the size of the first cache array according to the jitter; if there is a data packet meeting the enqueue requirement in the second cache array, enqueue the data packet in the second cache array; When the first cache array satisfies the dequeuing requirements, if there is a data packet in the dequeue position, perform dequeue operation on the data packet in the dequeue position; otherwise, when there is no data packet in the dequeue position, Execute the dequeue operation after the data packet is restored; build the network abstraction layer unit NALU according to the dequeue data packet. The invention reduces the packet loss rate of data packets, realizes the dynamic adjustment of the size of the cache array, and maintains the structural integrity of the NALU, reduces the complexity of NALU formation, and effectively solves the problem of decoder collapse.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to a data packet sorting and debounce method and device. Background technique [0002] The existing video live broadcast or on-demand technology is mainly based on the user data packet protocol UDP to realize the transmission of audio and video signals, but the transmission of UDP is unreliable. H264 encoding technology is a new and efficient encoding method. Compared with H263 technology, under the same video quality, the amount of data transmitted by H264 is only half of that of H263. For H264 encoding technology, the existing data packet sorting and debounce method is mainly based on VoIP. However, this sorting and debounce solution is only suitable for the transmission of audio data, not for the transmission of video data, and it is easy to cause artificial packet loss; The size of the buffer array used for sorting is fixed, which affects the user experience, ...

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 Patents(China)
IPC IPC(8): H04L12/861H04L12/885H04L49/9023
Inventor 唐泽鹏陈勇全赵兵郑宏连廖子强符镇一
Owner SHENZHEN HAIYUN NEW ENERGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products