Live data processing method and device, live broadcast method and device, and live 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, and achieve the effect of reducing pressure and hardware resource consumption.

Active Publication Date: 2021-07-13
北京数码视讯软件技术发展有限公司
View PDF7 Cites 0 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 data processing method and device, live broadcast method and device, and live server
  • Live data processing method and device, live broadcast method and device, and live server
  • Live data processing method and device, live broadcast method and device, and live 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

[0084] 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:

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

[0086] 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;

[0087] 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;

[0088] 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;

[0089] 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 present invention provides a live broadcast data processing method and device, a live broadcast method and device and a live broadcast server, which relate to the field of Internet multimedia. By slicing the TS data of the live broadcast transmission stream received in real time, the obtained current TS slices are stored in accordance with preset rules. The storage area of ​​the slice; at the same time, update the storage address of the TS slice in the preset m3u8 file to the storage address of the current TS slice; when receiving the live broadcast request from the client, send the preset m3u8 file to the client, so that the client The terminal realizes live broadcast based on the storage address and preset rules of the TS slice in the m3u8 file. The client of this method only needs to request an m3u8 file from the server once during live broadcast, avoiding repeated http requests to the server to update the m3u8 file, and reducing the pressure on the server and the consumption of hardware resources.

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 Patents(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products