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

Live broadcast data processing method and device, live broadcast method and device and live broadcast server

A data processing and server technology, applied in the field of Internet multimedia, can solve the problems of high hardware resource consumption and high server pressure.

Active Publication Date: 2019-05-14
北京数码视讯软件技术发展有限公司
View PDF12 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the purpose of the present invention is to provide a live data processing method and device, a live method and device, and a live server, so as to alleviate the need for the client to repeatedly request the server in order to maintain the playback of live TS data in the prior art. Update the download address of TS slices, causing technical problems such as high pressure on the server and high consumption of hardware resources

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
  • Live broadcast data processing method and device, live broadcast method and device and live broadcast server
  • Live broadcast data processing method and device, live broadcast method and device and live broadcast server
  • Live broadcast data processing method and device, live broadcast method and device and live broadcast server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] This embodiment provides a live data processing method, refer to figure 1 A flow chart of a live data processing method is shown, the method is applied to the server inside the server, and the method includes the following steps:

[0031] Step S102, receiving live transport stream TS data in real time;

[0032] The live TS data in the above-mentioned live transport stream may include video data, audio data, form data, etc., and the live TS data may be data uploaded to the service end of the server in real time by the data provider.

[0033] Step S104, slice the received current live TS data with the preset data duration as the slicing period, and obtain the current TS slice corresponding to the current slicing period;

[0034] The aforementioned preset data duration may be the program duration of the current TS slice, which is usually set to 4s to 10s. In this application, the preset data duration is set to 4s. In the process of slicing the current live TS data, the ...

Embodiment 2

[0060] The embodiment of the present invention also provides a live broadcast method, refer to image 3 A flow chart of a live broadcast method is shown, the method is applied to the client inside the server, and the method includes the following steps:

[0061] Step S302, sending a live broadcast request to the server server, so that the server returns a preset m3u8 file according to the live broadcast request; wherein, the storage address of the TS slice in the preset m3u8 file is determined according to preset rules;

[0062] Step S304, when the preset m3u8 file is received, based on the storage address of the TS slice in the preset m3u8 file and the preset rules, download the TS slice corresponding to the time of the live broadcast request in the live TS data and the TS slice after that time through http chunked, Realize the live broadcast of live TS data.

[0063] Among them, in step S304, based on the storage address and preset rules of the TS slices in the preset m3u8 ...

Embodiment 3

[0085] This embodiment provides a live data processing device, refer to Figure 5 A schematic structural diagram of a live data processing device is shown, the device is applied to the service end of the server, and the device includes:

[0086] The receiving module 502 is used to receive live transport stream TS data in real time;

[0087] The slicing module 504 is configured to slice the received current live TS data with the preset data duration as the slicing period, and obtain the current TS slice corresponding to the current slicing period;

[0088] The storage module 506 is configured to determine the storage address of the current TS slice according to preset rules, and store the current TS slice in a storage area corresponding to the storage address of the current TS slice;

[0089] An update module 508, configured to update the storage address of the TS slice in the preset m3u8 file to the storage address of the current TS slice;

[0090] The sending module 510, wh...

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 provides a live broadcast data processing method and device, a live broadcast method and device and a live broadcast server, and relates to the field of Internet multimedia, comprising the following steps: slicing live broadcast transport stream (TS) data received in real time, and storing the obtained current TS slice in a storage area of the slice according to a preset rule; Updating the storage address of the TS slice in the preset m3u8 file into the storage address of the current TS slice; And when a live broadcast request of the client is received, sending the preset m3u8 file to the client, so that the client realizes live broadcast based on the storage address of the TS slice in the m3u8 file and a preset rule. According to the method, the client only needs to requestthe m3u8 file to the server once during live broadcast, so that the situation that an http request is repeatedly initiated to the server to update the m3u8 file is avoided, and the pressure of the server and the consumption of hardware resources are reduced.

Description

technical field [0001] The present invention relates to the field of Internet multimedia technologies, in particular to a live data processing method and device, a live broadcast method and device, and a live server. Background technique [0002] HLS (Http Live Streaming, http live streaming) live broadcast technology is widely used in various fields of mobile Internet streaming media. Among them, the HLS technology requires the server to continuously slice the live TS stream (Transport Stream, transport stream). The duration of a slice is generally 6S. At the same time, the server is required to dynamically generate an index file in m3u8 format. The latest processed TS slice. When the player (client) plays the live TS stream, it first requests the m3u8 file from the server, and then downloads and plays it according to the download address of the 3 TS slices in the m3u8 file. In order to play the subsequent live TS stream, the client also needs to It is necessary to period...

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/239H04N21/231H04N21/262H04N21/2187H04N21/845H04N21/858H04N21/8547
Inventor 杨大维吴畏徐小龙刘义亮耶洁梁云
Owner 北京数码视讯软件技术发展有限公司
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