Data encoding and decoding method and system

A data encoding and encoding technology, which is applied in the field of image technology applications, can solve the problems of reducing the terminal video display frame rate, etc., and achieve the effect of increasing the video display frame rate and solving the video display frame rate

Inactive Publication Date: 2020-01-14
ALIBABA GRP HLDG LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present invention provides a data encoding and decoding method and system to at least solve the technical problem of reducing the terminal video display frame rate during the decoding process due to packet loss during the transmission process

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 encoding and decoding method and system
  • Data encoding and decoding method and system
  • Data encoding and decoding method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] According to an embodiment of the present invention, an embodiment of a data encoding method is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, Although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.

[0042] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 1 It is a hardware structure block diagram of a computer terminal of a data encoding method in an embodiment of the present invention. Such as figure 1 As shown, the computer terminal 10 may include one or more (only one is shown in the figure) processor 102 (the processor 102 may include, but is not limited to, a pr...

Embodiment 2

[0087] This application provides such image 3 Shows the method of data decoding. On the device side of data decoding, such as image 3 As shown, image 3 It is a flowchart of a data decoding method according to the second embodiment of the present invention.

[0088] Step S302, receiving a data packet to be transmitted;

[0089] Step S304: parse the data packet to be transmitted to obtain an extension header;

[0090] Specifically, combining step S302 and step S304, on the receiving end side, when the receiving end includes a data decoding device, in real-time video communication application scenarios, such as 4G, wifi, packet loss and jitter, RTP The sequencenumber is highly probable that it is not continuous. According to the RTP packet sequence number, it is judged whether the current code stream can be decoded correctly. It is too strict and the misjudgment rate is high. The video code stream still has some redundancy. In the data decoding method provided in this application, t...

Embodiment 3

[0102] According to an embodiment of the present invention, a device for implementing the foregoing data encoding is also provided, such as Figure 4 As shown, on the device side of data encoding, Figure 4 It is a flowchart of a data encoding device according to the third embodiment of the present invention. The device includes: an encoding module 42, an information generating module 44, and a packing module 46.

[0103] The encoding module 42 is used to encode the frame to be encoded according to the reference frame to obtain the code stream to be transmitted, where the code stream to be transmitted includes: a first picture identifier, which is used to indicate the frame to be encoded; an information generation module 44, used to generate code stream information according to the first picture identification code in the code stream to be transmitted and the second picture identification code of the reference frame; the packing module 46, used to encapsulate the code stream to be ...

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 discloses a data encoding and decoding method and system. The method comprises the following steps: encoding a frame to be encoded according to a reference frame to obtain a code streamto be transmitted, the code stream to be transmitted comprising: a first picture identifier used for representing the frame to be encoded; generating code stream information according to the first picture identification code in the code stream to be transmitted and the second picture identification code of the reference frame; and packaging the to-be-transmitted code stream, and generating an extension head according to the code stream information to obtain a to-be-transmitted data packet. According to the invention, the technical problem that the video display frame rate of the terminal is reduced in the decoding process due to packet loss in the transmission process is solved.

Description

Technical field [0001] The present invention relates to the application field of image technology, and in particular to a method and system for data encoding and decoding. Background technique [0002] In real-time audio and video communication, the real time transport protocol (RTP) is commonly used to transmit video streams. The video compression format uses hardware features, especially for the mobile Internet, and generally uses the video coding standard H264 / AVC to encode and compress : [0003] Among them, the reference frame relationship in the H264 standard uses more complex logic to ensure the consistency of the codec, involving the marking operation of the reference frame in the decoded picture buffer (decoded picture buffer, DPB buffer), and the reference frame list rearrangement instruction, It cannot be obtained simply by parsing the code stream, especially when the code stream input to the decoder is incomplete, it is difficult to decode correctly; [0004] In additio...

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): H04N7/14H04N21/4788H04N21/6437
CPCH04N7/141H04N21/4788H04N21/6437
Inventor 朱玲张俊韶俞人杰华大
Owner ALIBABA GRP HLDG 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