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

Media stream real-time pushing method and server

A push server, media streaming technology, applied in the direction of image communication, selective content distribution, electrical components, etc., can solve the problems of reducing transmission efficiency, single network transmission protocol, cumulative delay, etc., to avoid cumulative delay and improve transmission efficiency effect

Active Publication Date: 2020-09-15
BEIJING KAIGUANG INFOTECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In various related push schemes, once the media data is generated, it will be sent to the sending buffer immediately. However, if the data volume of a single media unit is small, frequent single push will increase the network transmission overhead and reduce the transmission efficiency.
[0006] 2. Only a single network transmission protocol is used, which cannot adapt to various complex network environments
First of all, due to the settings of routers and firewalls in the Internet, only specific transmission protocols can be used between the server and certain clients, and the server needs to select different network transmission protocols for different clients; secondly, when the terminal where the client is located passes through When a wireless network accesses the Internet, the signal quality of its access link will vary with the location of the terminal. Correspondingly, the network transmission bandwidth, transmission delay and packet loss rate will also change, which cannot be guaranteed by using only one network transmission protocol. Service performance, such as when the link packet loss rate is high, the TCP transmission efficiency is very low, or even unable to work
[0007] 3. Only use a single transmission connection, resulting in cumulative delay
For RTMP or HTTP-FLV, it is necessary to establish a TCP connection before transmission and use the connection during the entire transmission process, which can easily lead to cumulative delay, that is, when network congestion occurs, the data packets that are too late to be sent are accumulated Up, blocking the transmission of subsequent data packets
Although the above problems can be compensated by clearing the cache and disconnecting and reconnecting, this will cause the loss of all data in the cache

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
  • Media stream real-time pushing method and server
  • Media stream real-time pushing method and server
  • Media stream real-time pushing method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 3

[0069] Embodiment 3. In the following embodiment, how the server generates a new media segment according to the feedback from the client and the generation of media units will be described.

[0070] Further, in one embodiment of the present invention, generating a new media segment according to the feedback from the client and the generation of the media unit further includes: whenever a new media unit is generated, judging whether the existing media unit satisfies a predetermined A media segment generation condition is set, wherein, if the preset media segment generation condition is satisfied, some or all of the unsuccessfully sent media units are selected and encapsulated into a new media segment.

[0071] In the embodiment of the present invention, which of the existing media units have been successfully sent and which have not been successfully sent can be obtained through the feedback from the client. Whenever a new media unit is generated, it is checked whether the exis...

Embodiment 4

[0089] Embodiment 4. In the following embodiments, how the server uses various network transmission protocols to transmit media segments will be described.

[0090] Optionally, in an embodiment of the present invention, the preset network transmission protocol is one of the following protocols: RTP, TCP, HTTP and QUIC.

[0091] Specifically, the use of TCP to transmit media segments has been introduced in the foregoing embodiment 1. Here, how to use several other transmission protocols to transmit media segments will be explained respectively.

[0092] When the RTP protocol is used to transmit media segments, the RTP protocol is actually based on the UDP protocol. Therefore, the client should provide an IP address and UDP port number, and the server will establish a one-way UDP connection to the client. Used to send media segments, on the other hand, the server can provide a UDP port number for receiving feedback from the client.

[0093] When the HTTP protocol is used to tra...

Embodiment 5

[0096] Embodiment 5. In the following embodiment, the automatic selection of the network transmission protocol during the transmission of the media segment will be described.

[0097] Wherein, in one embodiment of the present invention, when the preset network transmission protocol includes multiple network transmission protocols, the network transmission protocol is selected according to the feedback from the client and the transmission requirements of the media stream.

[0098] Specifically, when the server and the client agree on two or more network transmission protocols, the server can select the network transmission protocol to use according to the feedback from the client. Generally speaking, the actual transmission bandwidth between the client and the server is time-varying. This is because the Internet is a bandwidth-sharing network, and there are always multiple connections competing for the transmission bandwidth at the same time. Another reason is that the There are ...

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 media stream real-time pushing method and a server. The method comprises the steps that a media segment is generated, an initial media segment is generated, a new media segment is generated according to feedback of a client and generation conditions of media units, at least one media unit is packaged in the media segment, and the feedback of the client comprises an indication that data is received in the media segment; and the generated media segment is sent to the client and feedback of the client is received, and at least one transmission connection with the clientis established by adopting a preset network transmission protocol so as to transmit the generated media segment by using the at least one transmission connection. According to the pushing method provided by the embodiment of the invention, self-adaptive segmented pushing of the media stream can be realized, various network transmission protocols are supported, and the transmission efficiency of the media stream and the transmission performance in a complex network environment are improved.

Description

technical field [0001] The invention relates to the technical field of digital information transmission, in particular to a method and server for real-time pushing of media streams. Background technique [0002] With the rapid development of the Internet, especially the mobile Internet, real-time transmission of multimedia data such as audio, video, and images through the Internet has become a basic requirement for many applications. In order to meet this demand, various real-time streaming media transmission technologies have been proposed. The originator of the transmission is different. These streaming media real-time transmission technologies can be divided into two categories: one is the stream pull method. The basic principle is that the client actively requests real-time data from the server. The technical solutions using stream pull are: Apple Inc. HLS (HTTP Live Streaming) proposed by Microsoft, Smooth Streaming proposed by Microsoft, HDS (HTTP Dynamic Streaming) pr...

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): H04N21/643H04N21/6437H04N21/845
CPCH04N21/643H04N21/6437H04N21/8456
Inventor 姜红旗
Owner BEIJING KAIGUANG INFOTECH 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