Media broadcasting method, server, terminal device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorLingming Zeng
Life of this patent
Estimating the term…
Abstract
A media broadcasting method includes: receiving, by a server, a playing request transmitted by a terminal device, the playing request requesting to play media segments; querying, by the server, a segment index file of the media segments according to the playing request; determining, by the server, a target segment set according to the segment index file of the media segments, the target segment set comprising segments for which the terminal device has playing authority in the media segments; determining, by the server, a target segment index file corresponding to the target segment set; and transmitting, by the server, the target segment index file to the terminal device.
Claims19
A media broadcasting method implemented by a server, comprising:
- storing, in the server, only a single initial segment index file of media segments that lists all segments with corresponding restriction information, the restriction information indicating at least one of whether the corresponding segment is a restricted segment or a rating of the corresponding segment;
- receiving a playing request transmitted by a terminal device, the playing request requesting to play media segments;
- upon receiving the playing request, determining whether the terminal device is restricted to play a segment in the media segments;
- in response to the terminal device being restricted to one or more segments, rewriting, in real time, the initial segment index file into a target segment index file by deleting, from the initial segment index file, segment index information of the one or more segments that the terminal device does not have authority to play;
- in response to the terminal device being not restricted to any of the segments, using the initial segment index file as the target segment index file;
- transmitting the target segment index file to the terminal device;
- acquiring comments on the segments in the media segments provided by a plurality of user terminals that have played the media segments;
- dividing the comments into multiple categories and determining characteristics of a segment according to a category that includes greater quantity of comments than other categories in the multiple categories;
- determining real-time segment ratings of the segments in the media segments according to segment ratings of the segments in the media segments and the characteristics on the segments in the media segments;
- and
- updating the stored initial segment index file of the media segments according to the real-time segment ratings of the segments in the media segments.
A server, comprising a memory and one or more processors, the memory storing computer-readable instructions, and the computer-readable instructions being executed by the one or more processors to enable the one or more processors to perform:
- storing, in the server, only a single initial segment index file of media segments that lists all segments with corresponding restriction information, the restriction information indicating at least one of whether the corresponding segment is a restricted segment or a rating of the corresponding segment;
- receiving a playing request transmitted by a terminal device, the playing request requesting to play media segments;
- upon receiving the playing request, determining whether the terminal device is restricted to play a segment in the media segments;
- in response to the terminal device being restricted to one or more segments, rewriting, in real time, the initial segment index file into a target segment index file by deleting, from the initial segment index file, segment index information of the one or more segments that the terminal device does not have authority to play;
- in response to the terminal device being not restricted to any of the segments, using the initial segment index file as the target segment index file;
- transmitting the target segment index file to the terminal device to enable the terminal device to download the target segment set according to the target segment index file;
- acquiring comments on the segments in the media segments provided by a plurality of user terminals that have played the media segments;
- dividing the comments into multiple categories and determining characteristics of a segment according to a category that includes greater quantity of comments than other categories in the multiple categories;
- determining real-time segment ratings of the segments in the media segments according to segment ratings of the segments in the media segments and the characteristics on the segments in the media segments;
- and
- updating the stored initial segment index file of the media segments according to the real-time segment ratings of the segments in the media segments.
A non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions, when being executed by a processor of a server, cause the processor to perform:
- storing, in the server, only a single initial segment index file of media segments that lists all segments with corresponding restriction information, the restriction information indicating at least one of whether the corresponding segment is a restricted segment or a rating of the corresponding segment;
- receiving a playing request transmitted by a terminal device, the playing request requesting to play media segments;
- upon receiving the playing request, determining whether the terminal device is restricted to play a segment in the media segments;
- in response to the terminal device being restricted to one or more segments, rewriting, in real time, the initial segment index file into a target segment index file by deleting, from the initial segment index file, segment index information of the one or more segments that the terminal device does not have authority to play;
- in response to the terminal device being not restricted to any of the segments, using the initial segment index file as the target segment index file;
- transmitting the target segment index file to the terminal device to enable the terminal device to download a target segment set according to the target segment index file;
- acquiring comments on the segments in the media segments provided by a plurality of user terminals that have played the media segments;
- dividing the comments into multiple categories and determining characteristics of a segment according to a category that includes greater quantity of comments than other categories in the multiple categories;
- determining real-time segment ratings of the segments in the media segments according to segment ratings of the segments in the media segments and the characteristics on the segments in the media segments;
- and
- updating the stored initial segment index file of the media segments according to the real-time segment ratings of the segments in the media segments.
Dependencies are inferred from the claim text.