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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com