Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

P2P live broadcast system and method for reducing repetition of encoded segments

A fragment and encoding technology, applied in the field of live broadcast, can solve problems such as affecting user experience, slow process, and aggravating freeze, to reduce the risk of freeze, ensure smooth playback, and reduce the probability of receiving repeated encoded clips.

Active Publication Date: 2020-07-28
YUNSHANG CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to network delay or packet loss, the process of collecting k pieces by the playback node is relatively slow. If a certain chunk cannot be recovered for a long time, there will be a freeze phenomenon during streaming media playback, which will affect the user experience.
In addition, in the existing technology, the edge server sends the encoded fragments irregularly, and the playback node often receives repeated encoded fragments, which not only leads to waste of transmission, but also exacerbates the problem of stuttering

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
  • P2P live broadcast system and method for reducing repetition of encoded segments
  • P2P live broadcast system and method for reducing repetition of encoded segments
  • P2P live broadcast system and method for reducing repetition of encoded segments

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Such as figure 1 As shown, the P2P live broadcast system of this embodiment includes: an edge server 1, a source node 2 and a playback node, each edge server 1 is connected to a plurality of source nodes 2 respectively, and each source node 2 is connected to a plurality of source nodes. The playback nodes 3 are connected in communication, and each playback node is also connected in communication with multiple supply nodes 2 . During the live video broadcast, the edge server divides the acquired video data into several data blocks, and divides and encodes each data block into several coded segments. Specifically, the edge server divides each data block into k original fragments of the same size, and then encodes the k original fragments through erasure codes to generate N-k redundant coded fragments, and divides the N coded fragments into distribution Coding Snippets and Supplementary Coding Snippets. The edge server distributes the distribution code segment to the sou...

Embodiment 2

[0053] Embodiment 2 is basically the same as Embodiment 1, except that this embodiment provides another way to prevent the playback node from obtaining duplicate distributed coded segments. Specifically, in this embodiment, all distributed coded segments in a data block have different coded IDs (supplementary coded segments also have different coded IDs, which are independent from the distributed coded segments), but the coded IDs in each data block are the same, for example, the encoding ID in data block 1 is: distribution encoding segment 1, distribution encoding segment 2, ..., distribution encoding segment n; the encoding ID in data block 2 is also: distribution encoding segment 1, distribution encoding segment 2, ..., distribute the encoded segment n. The edge server assigns a fixed code ID to each source node, and sends the distribution code segment corresponding to the code ID to the corresponding source node, that is, the source node only receives the distribution code...

Embodiment 3

[0056] Such as figure 2 As shown, the P2P live broadcast method of the present embodiment includes the following steps:

[0057] Step 110, the edge server divides the video data into several data blocks, and divides and encodes each data block into several coded segments, and divides the several coded segments into distribution coded segments and supplementary coded segments.

[0058] Wherein, when dividing the coded segments, it is preferable to make the number m of supplementary coded segments not less than the erasure code threshold k. This is because, if a playback node fails to obtain any distributed coded fragments, all coded fragments need to be supplemented from the edge server, so it must be ensured that k<m<N. In addition, when dividing coded segments, it is best to make the number of distributed coded segments much larger than the number of supplementary coded segments, so as to reduce the probability of duplication during P2P exchange.

[0059] Step 120, the edg...

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 P2P live broadcast system and method for reducing repetition of coding segments. The live broadcast system includes: an edge server, a source node and a playback node; the edge server is used to divide the video data into several data blocks, and each data block is divided and encoded into several coded segments, and the several The code segment is divided into a distribution code segment and a supplementary code segment; the edge server is also used to distribute the distribution code segment to the source node; the playback node is used to obtain the distribution code segment from the source node, and When the number of distributed encoded fragments acquired within the preset time period does not reach the erasure code threshold, send a supplementary fragment request to the edge server; Segments are sent to the playback node for erasure code compensation. The present invention reduces the video freeze phenomenon in the live broadcasting process, and ensures the smooth playing of the video.

Description

technical field [0001] The invention relates to the field of live broadcast technology, in particular to a P2P (Peer-to-Peer Network) live broadcast system and method for reducing duplication of coded segments. Background technique [0002] During the live video broadcast, the edge server divides the video data into chunks of the same size, and then divides each chunk into k original pieces of the same size, which are generated by [N, k] erasure codes. N-k redundant coded segments, the edge server distributes the coded segments to the supply node, and the playback node obtains the coded segments from the source node. When each playback node collects k pieces, it tries to decode and restore the original chunk. However, due to network delay or packet loss, the process of collecting k pieces by the playback node is relatively slow. If a certain chunk cannot be recovered for a long time, there will be a freeze phenomenon during streaming media playback, which will affect the us...

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): H04L29/06H04L29/08H04N21/2187H04N21/2343H04N21/262
CPCH04L67/108H04N21/2187H04N21/2343H04N21/262H04L65/75
Inventor 汪志龙
Owner YUNSHANG CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products