CN111669667B - Content display control method and device, server and storage medium - Google Patents

Content display control method and device, server and storage medium Download PDF

Info

Publication number
CN111669667B
CN111669667B CN201910168998.9A CN201910168998A CN111669667B CN 111669667 B CN111669667 B CN 111669667B CN 201910168998 A CN201910168998 A CN 201910168998A CN 111669667 B CN111669667 B CN 111669667B
Authority
CN
China
Prior art keywords
limited
content
playing
play
playlist file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910168998.9A
Other languages
Chinese (zh)
Other versions
CN111669667A (en
Inventor
刘秀萍
李锐
童浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201910168998.9A priority Critical patent/CN111669667B/en
Priority to PCT/CN2019/130258 priority patent/WO2020177468A1/en
Publication of CN111669667A publication Critical patent/CN111669667A/en
Application granted granted Critical
Publication of CN111669667B publication Critical patent/CN111669667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/2625Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for delaying content or additional data distribution, e.g. because of an extended sport event
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Abstract

The application discloses a content display control method, a content display control device, a server and a storage medium. Wherein the method comprises the following steps: receiving a Uniform Resource Locator (URL) of a playing request sent by a terminal; analyzing the playing request URL to obtain the relevant information of the display limited strategy carried in the playing request URL; generating a first playlist file according to the display limited strategy related information, and sending the first playlist file to the terminal; the first playlist file is used for controlling content playing and displaying of the terminal.

Description

Content display control method and device, server and storage medium
Technical Field
The present application relates to the field of information display technologies, and in particular, to a method and an apparatus for controlling content display, a server, and a storage medium.
Background
With the rapid development and popularization of the internet, channels and ways for users to acquire resources are more abundant and diversified, and the acquired contents of the resources, such as media streams, can be watched anytime and anywhere. On this basis, content operators hope to flexibly, effectively and accurately control the content presentation and enrich the content presentation modes.
In the related art, the presentation of the content may be controlled in a user grouping manner or a terminal implementation manner. However, the control methods for content presentation in the related art can not meet the complex requirements of content operators, for example, for a certain channel, the content is not allowed to be played in a specific time period and a specific area; for another example, for a certain video content, there is a limitation that complicated conditions such as playing only in a specific area are present.
Obviously, the related art cannot realize flexible, effective and accurate control of content presentation to meet the complex requirements of content operators.
Disclosure of Invention
In view of the above, the present application mainly aims to provide a content display control method, device, server and storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a content display control method, which is applied to a server, and includes:
receiving a Uniform Resource Locator (URL) of a play request sent by a terminal;
analyzing the playing request URL to obtain the relevant information of the display limited strategy carried in the playing request URL;
generating a first playlist file according to the display limited strategy related information, and sending the first playlist file to the terminal;
the first playlist file is used for controlling content playing and displaying of the terminal.
In the above scheme, the method further comprises:
acquiring a configured display limited strategy aiming at the playing content;
generating a first playlist file according to the information related to the display restricted policy, including:
matching the relevant information of the display limited strategy with the display limited strategy to obtain a matching result;
and generating a first playlist file according to the matching result.
In the foregoing solution, the generating a first playlist file according to the matching result includes:
when the matching result meets a first limited condition, generating a first playlist file corresponding to first specific content;
wherein the first specific content is used for representing the content allowed to be played within the first limited condition.
In the foregoing solution, the generating a first playlist file according to the matching result includes:
and when the matching result meets a second limited condition, generating the first playlist file according to the relationship between the playing time point of the fragment contained in the playing content currently being played and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition.
In the above scheme, the second limited condition is that the playing time period is limited;
the generating the first playlist file according to the relationship between the playing time point of the segment included in the currently playing content and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition includes:
when the current time point for sending the play request URL is not matched with the limited play time period and the cross relationship exists between the play time point of part of the fragments contained in the play content which is currently played and the limited play time period, replacing the fragments corresponding to the cross part with the fragments corresponding to the second specific content to generate the first play list file;
wherein the second specific content is used to represent content allowed to be played within the second limited condition.
In the above scheme, the second limited condition is that the playing time period is limited;
the generating the first playlist file according to the relationship between the playing time point of the segment included in the currently playing content and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition includes:
when the current time point for sending the play request URL is not matched with the limited play time period and the play time point of a part of the segments included in the play content currently being played has an overlapping relationship with the limited play time period, replacing the segments corresponding to the overlapping portion with the segments corresponding to a third specific content, reserving the segments corresponding to the non-overlapping portion, and generating the first playlist file;
wherein the third specific content is used to represent content allowed to be played within the second limited condition.
In a second aspect, an embodiment of the present application further provides a control device for content display, including:
the receiving unit is used for receiving a Uniform Resource Locator (URL) of a playing request sent by a terminal;
the analysis unit is used for analyzing the playing request URL and obtaining the display limited strategy related information carried in the playing request URL;
the generating unit is used for generating a first playlist file according to the display limited strategy related information;
a sending unit, configured to send the first playlist file to the terminal;
the first playlist file is used for controlling content playing and displaying of the terminal.
In the above scheme, the apparatus further comprises:
the acquisition unit is used for acquiring the configured display limited strategy aiming at the playing content;
the generating unit is specifically configured to:
matching the relevant information of the display limited strategy with the display limited strategy to obtain a matching result;
and generating a first playlist file according to the matching result.
In the foregoing solution, the generating unit is specifically configured to:
when the matching result meets a first limited condition, generating a first playlist file corresponding to first specific content;
wherein the first specific content is used for representing the content allowed to be played within the first limited condition.
In the foregoing solution, the generating unit is specifically configured to:
and when the matching result meets a second limited condition, generating the first playlist file according to the relationship between the playing time point of the fragment contained in the playing content currently being played and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition.
In the above scheme, the second limited condition is that the playing time period is limited;
the generating unit is specifically configured to:
when the current time point for sending the play request URL is not matched with the limited play time period and the cross relationship exists between the play time point of part of the fragments contained in the play content which is currently played and the limited play time period, replacing the fragments corresponding to the cross part with the fragments corresponding to the second specific content to generate the first play list file;
wherein the second specific content is used to represent content allowed to be played within the second limited condition.
In the above scheme, the second limited condition is that the playing time period is limited;
the generating unit is specifically configured to:
when the current time point for sending the play request URL is not matched with the limited play time period and the play time point of a part of the segments included in the play content currently being played has an overlapping relationship with the limited play time period, replacing the segments corresponding to the overlapping portion with the segments corresponding to a third specific content, reserving the segments corresponding to the non-overlapping portion, and generating the first playlist file;
wherein the third specific content is used to represent content allowed to be played within the second limited condition.
In a third aspect, an embodiment of the present application further provides a server, including: a processor and a memory for storing a computer program operable on the processor;
when the processor is used for running the computer program, the steps of the control method for content presentation provided by the embodiment of the application are executed.
In a fourth aspect, the present application further provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the control method for content presentation provided in the present application.
According to the content display control method, the content display control device, the server and the storage medium, the server receives a playing request URL sent by a terminal; analyzing the playing request URL to obtain the relevant information of the display limited strategy carried in the playing request URL; and generating a first playlist file according to the relevant information of the display limited strategy, and sending the first playlist file to the terminal. Therefore, according to the scheme provided by the embodiment of the application, the first playlist file is generated based on the display limited strategy related information carried in the analyzed play request URL, the dynamic display of the content at the content play source end is realized through the first playlist file, and the output content such as the play display of the media stream can be flexibly, effectively and accurately controlled, so that the content presentation mode is enriched while the safety, the real-time performance and the accuracy are ensured, the complex requirements of content operators are met, and the user experience is improved.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a content display control method on a server side according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of another content display control method on a server side according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of a control method for content display according to an embodiment of the present application;
fig. 4 is a schematic flow chart illustrating an implementation of another content display control method according to an embodiment of the present application;
fig. 5 is a schematic flow chart illustrating an implementation of a control method for displaying channel playing according to an embodiment of the present application;
fig. 6 is a schematic flow chart illustrating an implementation of a control method for content display when a content playing channel is shifted by 1 minute in advance according to an embodiment of the present application;
fig. 7 is a schematic flow chart illustrating an implementation of a control method for content display when a content playing channel is shifted by 2 minutes in the past according to an embodiment of the present application;
fig. 8A is a schematic view of a currently playing channel segment;
fig. 8B is a schematic diagram of currently playing channel segment ii;
fig. 8C is a schematic diagram of currently playing channel segments;
FIG. 8D is a schematic diagram of a slice of a channel shifted forward by 1 minute;
FIG. 8E is a schematic diagram of a slice of a channel shifted 2 minutes forward;
fig. 9 is a schematic structural diagram of a content display control device disposed on a server according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a content display control system according to an embodiment of the present application.
Detailed Description
So that the manner in which the features and elements of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
It should be noted that in the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Currently, internet companies are crossing operators, developing various video and data service services (OTT) based on The open internet more and more deeply into The daily work and life of users, providing various application services to The users through The internet, and such applications are different from The communication services currently provided by operators, which only utilize The network of The operators, and The services are provided by third parties other than The operators. At present, typical OTT services are OTT video, apple app stores, and the like.
Through careful study, the applicants have found that: the current OTT system can be categorized into the following two types:
the first category, which limits the content to be played, such as video, before playing, mainly shows the following ways: the content presentation is controlled in a user grouping mode, specifically, the users are divided into several groups according to categories such as tourists, members, VIPs (very important persons), gold members and the like, and the content presented to the users is controlled according to the watching authority of the users in each group on the played content.
And in the second category, the content presentation is controlled in a terminal implementation manner, specifically, an original video stream audio played before the terminal is closed, and a specific still picture or video is displayed in an overlaid manner on the original video stream, so as to implement the control on the content presentation.
For the first type of mode, users are only roughly divided into several groups, and the conditions for group division are relatively single, so that the content presentation control is extensive, and each group cannot be flexibly adjusted according to the requirements of the users, so that the content presentation cannot be flexibly controlled.
In addition, for the second type of mode, it can be understood that the terminal controls the playing of the video stream according to the policy, and the terminal needs to be modified once every time a limit is added to the policy, which results in high implementation complexity and high cost of the method; the restriction strategy of the terminal usually appears at a certain time and cannot be immediately effective, so that the real-time performance of the method is poor; in practical application, when the video stream is limited to play, the video stream is actually pulled down to the terminal, so that the display of the video stream cannot be effectively controlled, especially the time-shifted or review video stream cannot be effectively controlled, and the security is poor. It can be seen that the second type of implementation is costly and unsafe.
However, in practical applications, content operators have complex requirements for content presentation, such as restrictions on conditions of playing areas, playing time periods, and the like of the content, and at this time, the content presentation needs to be flexibly, effectively, and accurately controlled according to the complex requirements. Obviously, in the related art, a solution that can realize flexible, effective and accurate control of content presentation to meet the complex requirements of content operators is not provided at present.
Based on this, in various embodiments of the present application, by analyzing the display limited policy related information in the play request URL, generating a first playlist file based on the display limited policy related information, and implementing dynamic display of content at a content play source (e.g., a CDN control system side) through the first playlist file, the play display of output content, such as a media stream, can be flexibly, effectively, and accurately controlled, and the complex requirements of a content operator are met.
The following describes the implementation process of the control method shown in the embodiment of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of an implementation flow of a control method for Content presentation at a server side according to an embodiment of the present application, where the control method for Content presentation is applicable to a server, such as a Content Delivery Network (CDN) control server, and as shown in fig. 1, the implementation flow of the control method for Content presentation provided in the embodiment of the present application may include the following steps:
step S101: and receiving a playing request URL sent by the terminal.
Here, the play request URL is used to indicate a data source address of the content of the play request. The terminal may include, but is not limited to, an electronic device with a player, such as a smart phone, a tablet computer, a palmtop computer, and the like.
Step S102: and analyzing the playing request URL to obtain the relevant information of the display restricted strategy carried in the playing request URL.
In practical application, when the server receives the play request URL sent by the terminal and analyzes the play request URL, because the play request URL is configured with a limited condition of the current content display, that is, the play request URL carries the display limited policy related information for the play content, the display limited policy related information of the play content can be conveniently obtained by analyzing the play request URL. The playing content may include a video, a still picture, and the like, and the video may be an OTT video.
Here, the presentation limitation policy-related information of the play content includes at least one of: grouping users; terminal characteristic information; a playing area; playing a channel; play time period, etc.
Wherein the terminal feature information includes at least one of: a terminal IP section; terminal type, etc.
Specifically, the terminal IP segment refers to segment IP geographic information to which the IP address of the terminal belongs, for example, geographic information with segment IP1 of 1.1.1.0 to 1.1.1.255 corresponds to shenzhen city in Guandong province, geographic information with segment IP2 of 1.1.3.0 to 1.1.3.255 corresponds to Dongguan city in Guandong province, and if the IP address of the current terminal is 1.1.1.201, it can be determined that the IP address of the current terminal belongs to segment IP 1. For the terminal type, the terminal may be divided into a terminal supporting an Android (Android) system and a terminal supporting an iOS system according to a difference of operating systems supported by the terminal.
Of course, it is understood that, in practical applications, the terminal type is not limited to the above-mentioned division type, and this is not further limited by the embodiment of the present application.
Step S103: and generating a first playlist file according to the display limited strategy related information.
Step S104: and sending the first playlist file to the terminal.
Here, the first playlist file is used to control a content playback presentation of the terminal. In other words, the server sends the generated first playlist file to the terminal, so that the terminal performs playback display based on the received first playlist file request.
In some embodiments, the first playlist file may be represented by a file in an M3U8 format, but is not limited to a file in an M3U8 format, and may also be represented by a file in another format, which is not limited herein.
In practical application, when the first playlist file is represented in M3U8 format, the entity file that the terminal requests to select from the first playlist file for playing, that is, the content of the file that is actually played, may be stored in the server in the form of fragments.
In practical application, the server, such as the CDN control server, needs to obtain a display limited policy for the played content that is synchronized by the limited policy management server, so that the CDN control server generates the first playlist file according to a matching result of the display limited policy related information and the display limited policy, thereby controlling content playing and displaying of the terminal.
Based on this, in some embodiments, as shown in fig. 2, fig. 2 is a schematic implementation flow diagram of another content presentation control method on the server side provided in the embodiment of the present application, and the method may further include:
step S105: and acquiring the configured display limited strategy aiming at the played content.
Here, the display restricted policy is pre-configured by the restricted policy management server according to the requirement of the content operator, and is synchronized to the CDN control server in real time after configuration is completed. That is to say, the step of obtaining the exhibition limited policy by the CDN control server actually obtains the exhibition limited policy preconfigured by the limited policy management server for the CDN control server.
Here, the presentation limitation policy may include a first limitation condition and a second limitation condition.
The first limited condition is used for representing a limited condition set based on characteristic information corresponding to a user, for example, the limited condition is set based on an audience range of content, or is set based on a terminal held by the user, and the first limited condition may include user group limitation; the terminal characteristic information is limited; limited playing area, etc.; the second limited condition is used to indicate a limited condition set based on user requirements, for example, set based on a requirement of a user wishing to view content in which time period, or set based on a requirement of a user wanting to view content of which channel, and the like, and may include a play channel limitation and a play time period limitation.
Here, the terminal characteristic information limitation includes a terminal IP section limitation and a terminal type limitation.
In practical application, the display limitation strategy can be a flexible combination of multiple limitation conditions so as to meet the complex requirements of content operators and expand the application range.
It should be noted that, in the embodiment of the present application, the execution sequence of step S101 and step S105 is not limited, for example, step S105 may be executed first, and then step S101 is executed, that is, the server acquires the display restricted policy first, then receives the play request URL sent by the terminal, and analyzes the play request URL to obtain the information related to the display restricted policy (as shown in fig. 2); for another example, step S101 may be executed first, and then step S105 may be executed, that is, the server receives the play request URL sent by the terminal first, analyzes the play request URL, obtains the relevant information of the display restricted policy, and then obtains the display restricted policy.
In some embodiments, the specific implementation process of generating the first playlist file according to the information related to the display restricted policy in step S103 may include:
matching the relevant information of the display limited strategy with the display limited strategy to obtain a matching result;
and generating a first playlist file according to the matching result.
In practical application, in the process of generating the first playlist file according to the matching result, when the matching result meets different limited conditions, the process of generating the first playlist file by the server is also different. Accordingly, there is also a difference in the contents of the first playlist file generated by the server.
Based on this, in some embodiments, the generating a first playlist file according to the matching result includes:
when the matching result meets a first limited condition, generating a first playlist file corresponding to first specific content;
wherein the first specific content is used for representing the content allowed to be played within the first limited condition.
That is to say, when a server, such as a CDN control server, matches the information related to the exhibition-restricted policy with the exhibition-restricted policy, if it is determined that the matching result meets a first restricted condition, that is, the matching result is at least one of user grouping restriction/terminal feature information restriction/play area restriction, in other words, the content operator restricts at least one condition of a play-oriented object, a play terminal, and a play area of the content, at this time, the CDN control server generates a first playlist file corresponding to the first specific content, and returns the first playlist file corresponding to the first specific content to the terminal.
Here, the first specific content is used to indicate a limited user group, terminal characteristic information, and content allowed to be played in the playing area, that is, replacing the playing content corresponding to the limited user group, terminal characteristic information, and playing area. For example, if it is determined that a certain video content a is not allowed to be played in the area a, a first specific content, such as a video content B, generated by the CDN control server can be played in the area a, and the video content a is replaced with the video content B; that is, the video content B is a content permitted to be played in the area a.
The first specific content may be a default content of the system, or may be a content determined by the server according to needs, for example, a content corresponding to the display restricted policy configuration, which is not further limited in the embodiment of the present application.
In practical application, the CDN control server may flexibly modify the first specific content as needed.
In some embodiments, the generating a first playlist file according to the matching result includes:
and when the matching result meets a second limited condition, generating the first playlist file according to the relationship between the playing time point of the fragment contained in the playing content currently being played and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition.
That is to say, when the CDN control server matches the information related to the display restricted policy with the display restricted policy, if it is determined that the matching result meets a second restricted condition, for example, the matching result is that the playing time period is restricted, in other words, the content operator does not allow the content to be played in a specific time period, at this time, the CDN control server generates a first playlist file according to a relationship between a playing time point of a fragment included in the currently-played playing content and the second restricted condition, and a relationship between a current time point of sending the play request URL and the second restricted condition, and returns the generated first playlist file to the terminal.
The following describes the above process of generating the first playlist file in detail for some cases where the second limited condition is that the playing time period is limited.
Case 1:
in some embodiments, the generating the first playlist file according to a relationship between a playing time point of a clip included in the currently playing content and the second limited condition, and a relationship between a current time point of sending the play request URL and the second limited condition includes:
and when the current time point for sending the play request URL is not matched with the limited play time period and the play time point of the fragment contained in the play content which is played currently is not matched with the limited play time period, generating a first play list file corresponding to fourth specific content.
Here, the fourth specific content is used to indicate content allowed to be played for a limited period of time. The fourth specific content may be a default content of the system, or may be a content determined by the server according to needs, which is not further limited in the embodiment of the present application.
For example, the limited playing time period is 9:00 to 10:00 of the morning, it is assumed that the current time point of sending the playing request URL is 8:56 of the morning, the playing time point of the segment included in the currently playing content is 10:05 of the morning, obviously, the time point 8:56 of sending the playing request URL is not within the limited playing time period 9:00 to 10:00, and the time point 10:05 of the playing segment is not within the limited playing time period 9:00 to 10:00, at this time, the CDN control server directly returns the generated first playlist file corresponding to the fourth specific content to the terminal.
Case 2:
in some embodiments, the generating the first playlist file according to a relationship between a playing time point of a clip included in the currently playing content and the second limited condition, and a relationship between a current time point of sending the play request URL and the second limited condition includes:
when the current time point for sending the play request URL is not matched with the limited play time period and the cross relationship exists between the play time point of part of the fragments contained in the play content which is currently played and the limited play time period, replacing the fragments corresponding to the cross part with the fragments corresponding to the second specific content to generate the first play list file;
wherein the second specific content is used to represent content allowed to be played within the second limited condition.
Here, the second specific content is used to represent content that is allowed to be played for a limited period of time. The second specific content may be a default content of the system, or may be a content determined by the server according to needs, which is not further limited in the embodiment of the present application.
For example, the limited playing time period is 9:00 to 10:00 of the morning, it is assumed that the current time point of sending the playing request URL is 8:56 of the morning, and the playing time point of the partial segment included in the currently playing content is between 8:59 to 9:10 of the morning, and it is obvious that the time point 8:56 of sending the playing request URL is not within the range of the limited playing time period 9:00 to 10:00, but there is an intersection between the time point of the played partial segment and the limited playing time period 9:00 to 10:00, at this time, the CDN control server replaces the segment corresponding to the intersection, that is, 9:00 to 9:10, with the segment corresponding to the second specific content, to generate the first playlist file.
Case 3:
in some embodiments, the generating the first playlist file according to a relationship between a playing time point of a clip included in the currently playing content and the second limited condition, and a relationship between a current time point of sending the play request URL and the second limited condition includes:
when the current time point for sending the play request URL is not matched with the limited play time period and the play time point of a part of the segments included in the play content currently being played has an overlapping relationship with the limited play time period, replacing the segments corresponding to the overlapping portion with the segments corresponding to a third specific content, reserving the segments corresponding to the non-overlapping portion, and generating the first playlist file;
wherein the third specific content is used for representing the content allowed to be played within the second limited condition, that is, for representing the content allowed to be played for a limited period of time.
Here, the third specific content may be a content default to the system, or may be a content determined by the server according to needs, which is not further limited in this embodiment of the application.
For example, the limited playing time period is 9:00 to 10:00 of the morning, it is assumed that the current time point of sending the playing request URL is 8:56 of the morning, and the playing time point of a part of the segments included in the currently playing content is between 9:00 to 10:30 of the morning, it is obvious that the time point 8:56 of sending the playing request URL is not within the range of the limited playing time period 9:00 to 10:00, but there is an overlapping portion between the time point of the played part of the segments and the limited playing time period 9:00 to 10:00, at this time, the CDN control server replaces the segments corresponding to the overlapping portion, i.e., 9:00 to 10:00, with the segments corresponding to the third specific content, and retains the segments of the original content for the non-overlapping portion, i.e., the segments corresponding to 10:01 to 10:30, so as to generate the first playlist file.
Case 4:
in some embodiments, the generating the first playlist file according to a relationship between a playing time point of a clip included in the currently playing content and the second limited condition, and a relationship between a current time point of sending the play request URL and the second limited condition includes:
and when the current time point of the URL sending the playing request is matched with the limited playing time period and the playing time point of the segment contained in the playing content currently being played is not matched with the limited playing time period, replacing the segment not matched with the limited playing time period with the segment corresponding to the original playing content to generate the first playlist file.
For example, the limited playing time period is 9:00 to 10:00 of the morning, it is assumed that the current time point of sending the playing request URL is 9:02 of the morning, and the playing time point of the segment included in the playing content being currently played is 10:05 of the morning, and obviously, the time point 9:02 of sending the playing request URL is within the range of the limited playing time period 9:00 to 10:00, but the time point 10:05 of the playing segment is not within the range of the limited playing time period 9:00 to 10:00, at this time, the CDN control server replaces the segment that does not match the limited playing time period with the segment corresponding to the original playing content, and generates the first playlist file.
Case 5:
in some embodiments, the generating the first playlist file according to a relationship between a playing time point of a clip included in the currently playing content and the second limited condition, and a relationship between a current time point of sending the play request URL and the second limited condition includes:
and when the current time point of the URL sending the playing request is matched with the limited playing time period and the playing time point of the sub-piece contained in the playing content which is currently played is matched with the limited playing time period, generating a first playlist file corresponding to fifth specific content.
Here, the fifth specific content may be a content default to the system, or may be a content determined by the server according to needs, which is not further limited in this embodiment of the application.
For example, the limited playing time period is 9:00 to 10:00 of the morning, it is assumed that the current time point of sending the playing request URL is 9:02 of the morning, and the playing time point of the segment included in the playing content being currently played is between 9:05 to 9:20 of the morning, and obviously, the time point 9:02 of sending the playing request URL is within the range of the limited playing time period 9:00 to 10:00, and any one of the time points 9:05 to 9:20 of the playing segment is also within the range of the limited playing time period 9:00 to 10:00, at this time, the CDN control server generates the first playlist file corresponding to the fifth specific content, and returns the generated first playlist file corresponding to the fifth specific content to the terminal.
It should be specifically noted that the second specific content, the third specific content, the fourth specific content and the fifth specific content in the embodiments of the present application may be the same (including all the same and part of the same), or may be different, and are not further limited herein.
The content display control method provided by the embodiment of the application is based on the display limited strategy related information carried in the play request URL to generate the first play list file, dynamic display of the content at the content play source end is realized through the first play list file, and the output content such as media stream can be flexibly, effectively and accurately controlled to be played and displayed, so that the content presentation mode is enriched while the safety, the real-time performance and the accuracy are ensured, the complex requirements of content operators are met, and the user experience is improved.
Fig. 3 is a schematic view of an implementation flow of a control method for content presentation according to an embodiment of the present application, and as shown in fig. 3, the implementation flow of the control method for content presentation according to the embodiment of the present application may include the following steps:
step S301: the terminal sends a play request URL to the server.
Here, when a user using a terminal wants to view a play content such as a video, a play request URL is transmitted to a server through the terminal, wherein the play request URL can be carried in a play request message.
Step S302: and the server receives a playing request URL sent by the terminal.
Step S303: and the server analyzes the playing request URL to obtain the relevant information of the display limited strategy carried in the playing request URL.
In practical application, the related information of the display limited strategy can be set by the limited strategy management server based on the characteristic information corresponding to the user or the user requirement, and after the setting of the limited strategy management server is completed, the related information of the display limited strategy is sent to the terminal, so that when the terminal sends a play request URL to the server, the related information of the display limited strategy can be carried in the play request URL and sent together.
Here, the presentation restricted policy related information includes at least one of: grouping users; terminal characteristic information; a playing area; playing a channel; play time period, etc. Wherein the terminal feature information includes at least one of: a terminal IP section; terminal type, etc.
In some embodiments, before obtaining the information related to the restricted policy for presentation carried in the play request URL, the method may further include: and acquiring the configured display limited strategy aiming at the playing content.
Here, the display restricted policy is pre-configured by the restricted policy management server according to the requirement of the content operator, and is synchronized to the CDN control server in real time after configuration is completed. That is to say, the step of obtaining the exhibition limited policy by the CDN control server may actually obtain, for the CDN control server, the exhibition limited policy preconfigured by the limited policy management server.
In practical application, the display limitation strategy can be a flexible combination of multiple limitation conditions so as to meet the complex requirements of content operators and expand the application range.
Step S304: and the server generates a first playlist file according to the relevant information of the display limited strategy.
In some embodiments, when the server obtains the exhibition-restricted policy, the specific implementation process of step S304 may include:
matching the relevant information of the display limited strategy with the display limited strategy to obtain a matching result; and generating a first playlist file according to the matching result.
Step S305: and the server sends the generated first playlist file to a terminal.
Here, the first playlist file is used to control a content playback presentation of the terminal.
In practical applications, the first playlist file may be represented by a file in the M3U8 format, but is not limited to the file in the M3U8 format, and may also be represented by a file in another format, which is not limited herein.
Step S306: and after receiving the first playlist file, the terminal performs playing display based on the first playlist file request.
In practical application, when the first playlist file is represented in M3U8 format, the entity file that the terminal requests to select from the first playlist file for playing, that is, the file that is actually played, may be stored in the server in the form of fragments.
Here, the step of requesting, by the terminal, to play and present based on the first playlist file may actually request, in sequence, to play and present at least two segment files included in the first playlist file based on the at least two segment files.
Here, the time lengths of the at least two fragmented files may be the same or different, and this is not further limited in this embodiment of the application.
In some embodiments, when the terminal requests a play presentation based on the first playlist file, the method may further include:
monitoring the playing progress of the at least two fragment files;
when the fact that the playing progress of the at least two fragment files reaches a set threshold value is monitored, a playing request URL is sent to the server again; wherein the re-sent play request URL is used to request acquisition of a second playlist file.
That is, when the terminal requests a new playlist file, i.e., a second playlist file, from the server again, steps S301 to S306 may be repeatedly performed to meet the requirement of periodically requesting a new playlist file. Here, the set threshold may be preset as needed, and is not further limited herein.
It should be noted that the specific processing procedure of the server has been described in detail above, and is not described herein again.
According to the content display control method provided by the embodiment of the application, after the server receives the play request URL sent by the terminal, the play request URL is analyzed, based on the display limited strategy related information carried in the analyzed play request URL, a first play list file is generated, dynamic display of content at a content play source end is realized through the first play list file, the output content such as media stream can be flexibly, effectively and accurately controlled to be displayed, the safety, the real-time performance and the accuracy are guaranteed, meanwhile, the content display mode is enriched, the complex requirements of content operators are met, and the user experience is improved.
In actual application, before obtaining the relevant information of the display limited strategy carried in the play request URL, the server may further obtain the configured display limited strategy for the play content, so that the server generates a first playlist file according to a matching result of the relevant information of the display limited strategy and the display limited strategy, thereby controlling the content play and display of the terminal.
Based on this, the embodiment of the present application proposes another content presentation control method. Fig. 4 is a schematic view of an implementation flow of another content presentation control method provided in the embodiment of the present application, and as shown in fig. 4, the implementation flow of the another content presentation control method provided in the embodiment of the present application may include the following steps:
step S401: the limited strategy management server sets a content limited rule and generates a display limited strategy based on the content limited rule.
Here, in actual application, the limited policy management server may set a content limited rule according to a requirement of a content operator, for example, the limited policy management server may be configured with the content limited rule in advance, that is, set a limitation condition for content playing and displaying by the content operator, which is not further limited in the embodiment of the present application.
Step S402: and the limited strategy management server transmits the display limited strategy to the CDN control server.
Here, the limited policy management server issues the display limited policy to the CDN control server, for example, the display limited policy may be issued to the CDN control server in real time, so that the real-time performance of controlling the content playing display by the CDN control server can be ensured.
Step S403: and the CDN control server receives and stores the exhibition limited strategy.
Step S404: and the terminal sends a playing request URL to the CDN control server.
Step S405: and after receiving the playing request URL, the CDN control server acquires relevant information of the display limited strategy.
Here, since the play request URL is configured with a limited condition for current content display, that is, the play request URL carries display limited policy related information for the play content, the CDN control server parses the play request URL after receiving the play request URL, and can obtain the display limited policy related information carried in the play request URL.
Step S406: and the CDN control server matches the information related to the display limited strategy with the display limited strategy to obtain a matching result, and generates a first playlist file according to the matching result.
Step S407: and the CDN control server sends the generated first playlist file to a terminal.
Step S408: and after receiving the first playlist file, the terminal sequentially requests the fragment files in the first playlist file and plays the fragment files.
In some embodiments, when the terminal sequentially requests and plays the segment files in the first playlist file, the terminal may further monitor the playing progress of at least two segment files in the first playlist file, and when it is determined that the playing progress of the at least two segment files reaches a set threshold, for example, when the playing progress of the at least two segment files is close to the end of playing, the terminal will request a new playlist file, that is, a second playlist file, from the CDN control server again, and at this time, steps S404 to S408 may be repeatedly performed, so as to meet a requirement that the terminal periodically requests a new playlist file.
It should be noted that specific processing procedures of the CDN control server and the terminal are described in detail above, and are not described here again.
According to the content display control method provided by the embodiment of the application, after the server receives the play request URL sent by the terminal, the play request URL is analyzed, based on the display limited strategy related information carried in the analyzed play request URL, a first play list file is generated, dynamic display of content at a content play source end is realized through the first play list file, the output content such as media stream can be flexibly, effectively and accurately controlled to be displayed, the safety, the real-time performance and the accuracy are guaranteed, meanwhile, the content display mode is enriched, the complex requirements of content operators are met, and the user experience is improved.
The present application will be described in further detail with reference to the following application examples.
Application embodiment 1
In the embodiment of the application, the CDN control server determines that the playing of the current channel is limited as a matching result, and controls the content playing display of the terminal according to the matching result when the playing of the current channel is not limited.
Specifically, fig. 5 is a schematic view of an implementation flow of a control method for playing and displaying a channel provided in an embodiment of the present application, and as shown in fig. 5, the implementation flow of the control method for playing and displaying a channel provided in an embodiment of the present application may include the following steps:
step S501: and the terminal sends a playing request URL to the CDN control server.
Step S502: and the CDN control server analyzes the playing request URL to obtain the relevant information of the display limited strategy.
Here, the presentation limitation policy related information may be carried in the play request URL.
Step S503: and the CDN control server matches the playing time corresponding to the current playing channel fragment with the related information of the display limited strategy to obtain a matching result.
Step S504: and the CDN control server starts playing the limited content when determining that the matching result is that the current channel is limited to be played, generates an M3U8 file, and sends the generated M3U8 file to the terminal.
In practical application, the playing content exists in a form of a segment, and the playing time of each segment file is assumed to be 10 s. As shown in fig. 8A, the CDN control server determines that the currently playing channel slice is b 2427. The CDN control server matches the playing time corresponding to the segment B2427 with the information related to the display restricted policy to obtain a matching result, and generates an M3U8 file when it is determined that the matching result is that the current channel is restricted for playing, as shown in fig. 8B, the generated M3U8 file includes three segment files, such as segments c3315, c3316, and c 3317.
Step S505: and after receiving the M3U8 file, the terminal requests the fragment files in the M3U8 file to play in sequence.
Step S506: and when monitoring that the playing progress of all the sub-slices in the M3U8 file reaches a set threshold value, the terminal sends a new playing request URL to the CDN control server again to request a new M3U8 file.
Step S507: and after receiving the new playing request URL, the CDN control server analyzes the new playing request URL to obtain the corresponding display limited strategy related information.
Step S508: and the CDN control server matches the playing time corresponding to the playing channel fragment at the moment with the relevant information of the display limited strategy to obtain a matching result.
Step S509: and the CDN control server starts playing the current channel fragment when determining that the playing of the current channel is not limited in the matching result, generates a new M3U8 file, and sends the generated new M3U8 file to the terminal.
Step S510: and after receiving the new M3U8 file, the terminal requests the slicing files in the new M3U8 file to play in sequence.
Here, as shown in fig. 8C, the terminal currently requests the slice b2431 in the new M3U8 file to play.
It should be noted that specific processing procedures of the CDN control server and the terminal are described in detail above, and are not described here again.
Application example two
In the embodiment of the application, the terminal can perform time shifting on the content playing channel, and the CDN control server matches the time-shifted playing time with the information related to the display-limited policy, and controls the content playing display of the terminal according to the matching result. The application embodiment provides a control method for content display corresponding to the content playing channel which is shifted by 1 minute ahead.
Specifically, fig. 6 is a schematic flow chart illustrating an implementation process of a control method for content exhibition when a content playing channel is time-shifted by 1 minute in the past, where as shown in fig. 6, the implementation process of the control method for content exhibition when a content playing channel is time-shifted by 1 minute in the past provided by the embodiment of the present application may include the following steps:
step S601: and the terminal sends a playing request URL and a time-shift playing starting time point to the CDN control server.
Step S602: and the CDN control server analyzes the playing request URL to obtain the relevant information of the display limited strategy.
Here, the presentation limitation policy related information may be carried in the play request URL.
Step S603: the CDN control server calculates a time shift time difference based on the time shift play start time point and the time shift play time.
Step S604: and the CDN control server matches the time-shifting playing time of the content playing channel with the related information of the display limited strategy to obtain a matching result.
Step S605: and the CDN control server starts playing the limited content when determining that the matching result is that the time-shift playing channel is limited, determines a corresponding fragment address according to the time-shift time difference, generates an M3U8 file, and sends the generated M3U8 file to the terminal.
Here, as shown in fig. 8B, the generated M3U8 file may include three sliced files, such as slices c3315, c3316, and c 3317.
Step S606: and after receiving the M3U8 file, the terminal requests the fragment files in the M3U8 file to play in sequence.
Step S607: and when monitoring that the playing progress of all the sub-slices in the M3U8 file reaches a set threshold value, the terminal sends a new playing request URL to the CDN control server again to request a new M3U8 file.
Step S608: and after receiving the new playing request URL, the CDN control server analyzes the new playing request URL to obtain corresponding display limited strategy related information, and calculates a new time shifting time difference again.
Step S609: and the CDN control server matches the time-shifting playing time of the current content playing channel with the related information of the display limited strategy to obtain a matching result.
Step S610: and when the CDN control server determines that the matching result is that the time-shift playing channel is not limited, determining a corresponding fragment address according to the new time-shift time difference, generating a new M3U8 file, and sending the generated new M3U8 file to the terminal.
Step S611: and after receiving the new M3U8 file, the terminal requests the slicing files in the new M3U8 file to play in sequence.
As shown in fig. 8D, the CDN control server determines that the currently playing channel segment is b2427, and requests to play the content of the segment b2421 when the content playing channel is time-shifted, that is, the content playing channel is time-shifted by 1 minute before.
It should be noted that specific processing procedures of the CDN control server and the terminal are described in detail above, and are not described here again.
Application example three
In the embodiment of the application, the terminal can perform time shifting on the content playing channel, and the CDN control server matches the time-shifted playing time with the information related to the display-limited policy, and controls the content playing display of the terminal according to the matching result. The application embodiment provides a control method for content display corresponding to a content playing channel which is shifted by 2 minutes in the forward direction.
Specifically, fig. 7 is a schematic flow chart illustrating an implementation process of a control method for content exhibition when a content playing channel is time-shifted by 2 minutes in the past, where as shown in fig. 7, the implementation process of the control method for content exhibition when a content playing channel is time-shifted by 2 minutes in the past provided by the embodiment of the present application may include the following steps:
step S701: and the terminal sends a playing request URL and a time-shift playing starting time point to the CDN control server.
Step S702: and the CDN control server analyzes the playing request URL to obtain the relevant information of the display limited strategy.
Here, the presentation limitation policy related information may be carried in the play request URL.
Step S703: the CDN control server calculates a time shift time difference based on the time shift play start time point and the time shift play time.
Step S704: and the CDN control server matches the time-shifting playing time of the content playing channel with the related information of the display limited strategy to obtain a matching result.
Step S705: and the CDN control server starts playing the limited content when determining that the matching result is that the time-shift playing channel is limited, determines a corresponding fragment address according to the time-shift time difference, generates an M3U8 file, and sends the generated M3U8 file to the terminal.
Here, as shown in fig. 8B, the generated M3U8 file may include three sliced files, such as slices c3315, c3316, and c 3317.
Step S706: and after receiving the M3U8 file, the terminal requests the fragment files in the M3U8 file to play in sequence.
Step S707: and when monitoring that the playing progress of all the sub-slices in the M3U8 file reaches a set threshold value, the terminal sends a new playing request URL to the CDN control server again to request a new M3U8 file.
Step S708: and after receiving the new playing request URL, the CDN control server analyzes the new playing request URL to obtain corresponding display limited strategy related information, and calculates a new time shifting time difference again.
Step S709: and the CDN control server matches the time-shifting playing time of the current content playing channel with the related information of the display limited strategy to obtain a matching result.
Step S710: and the CDN control server determines that the matching result is that the time-shift playing channel is limited, inquires a corresponding fragment address according to a limited content playing fragment sequence, generates a new M3U8 file, and sends the generated new M3U8 file to the terminal.
Here, the new M3U8 file includes three fragmented files with serial numbers c3318, c3319, and c3320, respectively.
Step S711: and after receiving the new M3U8 file, the terminal requests to play the previously connected fragment file.
As shown in fig. 8E, the CDN control server determines that the currently playing channel segment is b2427, and requests to play the content of segment b2415 after time shifting the content playing channel, that is, time shifting the content playing channel by 2 minutes.
It should be noted that specific processing procedures of the CDN control server and the terminal are described in detail above, and are not described here again.
In order to implement the method for controlling content presentation in the embodiment of the present application, an embodiment of the present application further provides a control device for content presentation, where the control device is disposed on a server, such as a CDN control server, and fig. 9 is a schematic structural diagram of the control device for content presentation disposed on the server, where as shown in fig. 9, the control device includes:
a receiving unit 91, configured to receive a play request URL sent by a terminal;
the analyzing unit 92 is configured to analyze the play request URL to obtain the relevant information of the display restricted policy carried in the play request URL;
a generating unit 93, configured to generate a first playlist file according to the information related to the display restricted policy;
a sending unit 94, configured to send the first playlist file to the terminal.
Here, the first playlist file is used to control a content playback presentation of the terminal.
In practical application, the server, such as the CDN control server, needs to obtain a display limited policy for the played content that is synchronized by the limited policy management server, so that the CDN control server generates the first playlist file according to a matching result of the display limited policy related information and the display limited policy, thereby controlling content playing and displaying of the terminal.
Based on this, in some embodiments, as shown in fig. 9, the apparatus may further include:
an obtaining unit 95, configured to obtain a display limited policy for the playing content;
correspondingly, the generating unit 93 is specifically configured to:
matching the relevant information of the display limited strategy with the display limited strategy to obtain a matching result;
and generating a first playlist file according to the matching result.
In some embodiments, the generating unit 93 is specifically configured to:
when the matching result meets a first limited condition, generating a first playlist file corresponding to first specific content;
wherein the first specific content is used for representing the content allowed to be played within the first limited condition.
In some embodiments, the generating unit 93 is specifically configured to:
and when the matching result meets a second limited condition, generating the first playlist file according to the relationship between the playing time point of the fragment contained in the playing content currently being played and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition.
In some embodiments, when the second limited condition is that the playing time period is limited, the generating unit 93 is specifically configured to:
when the current time point for sending the play request URL is not matched with the limited play time period and the cross relationship exists between the play time point of part of the fragments contained in the play content which is currently played and the limited play time period, replacing the fragments corresponding to the cross part with the fragments corresponding to the second specific content to generate the first play list file;
wherein the second specific content is used to represent content allowed to be played within the second limited condition.
In some embodiments, when the second limited condition is that the playing time period is limited, the generating unit 93 is specifically configured to:
when the current time point for sending the play request URL is not matched with the limited play time period and the play time point of a part of the segments included in the play content currently being played has an overlapping relationship with the limited play time period, replacing the segments corresponding to the overlapping portion with the segments corresponding to a third specific content, reserving the segments corresponding to the non-overlapping portion, and generating the first playlist file;
wherein the third specific content is used to represent content allowed to be played within the second limited condition.
In practical applications, the receiving unit 91, the obtaining unit 95 and the sending unit 94 may be implemented by a communication interface in a control device for content display; the parsing unit 92 and the generating unit 93 may be implemented by a processor in the control device for content presentation in combination with a communication interface.
It should be noted that, when the control device for content exhibition provided in the above embodiment controls content exhibition, only the division of the above program modules is taken as an example, and in practical applications, the above processing may be distributed to different program modules as needed, that is, the internal structure of the device may be divided into different program modules to complete all or part of the above-described processing. In addition, the control device for content presentation and the control method for content presentation provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Based on the hardware implementation of the program module, and in order to implement the control method for content display provided in the embodiment of the present application, an embodiment of the present application further provides a server, where the server may specifically be a CDN control server, and fig. 10 is a schematic structural diagram of a server provided in the embodiment of the present application, and as shown in fig. 10, the server 100 includes:
a communication interface 101 capable of performing information interaction with other devices;
and the processor 102 is connected with the communication interface 101 to realize information interaction with the terminal, and is used for executing a control method of content presentation provided by one or more technical schemes on the server side when running a computer program, and the computer program is stored on the memory 103.
Specifically, in the course of the server 100 executing the control method of content presentation,
the communication interface 101 is configured to receive a play request URL sent by a terminal;
the processor 102 is configured to parse the play request URL, and obtain relevant information of the display restricted policy carried in the play request URL;
the processor 102 is further configured to generate a first playlist file according to the information related to the display restricted policy;
the communication interface 101 is further configured to send the first playlist file to the terminal.
Here, the first playlist file is used to control a content playback presentation of the terminal.
In some embodiments, the communication interface 101 is further configured to obtain a configured presentation limitation policy for the playing content;
the processor 102 is specifically configured to:
matching the relevant information of the display limited strategy with the display limited strategy to obtain a matching result;
and generating a first playlist file according to the matching result.
In some embodiments, the processor 102 is specifically configured to:
when the matching result meets a first limited condition, generating a first playlist file corresponding to first specific content;
wherein the first specific content is used for representing the content allowed to be played within the first limited condition.
In some embodiments, the processor 102 is specifically configured to:
and when the matching result meets a second limited condition, generating the first playlist file according to the relationship between the playing time point of the fragment contained in the playing content currently being played and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition.
In some embodiments, the second limited condition is that the play time period is limited; the processor 102 is specifically configured to:
when the current time point for sending the play request URL is not matched with the limited play time period and the cross relationship exists between the play time point of part of the fragments contained in the play content which is currently played and the limited play time period, replacing the fragments corresponding to the cross part with the fragments corresponding to the second specific content to generate the first play list file;
wherein the second specific content is used to represent content allowed to be played within the second limited condition.
In some embodiments, the second limited condition is that the play time period is limited; the processor 102 is specifically configured to:
when the current time point for sending the play request URL is not matched with the limited play time period and the play time point of a part of the segments included in the play content currently being played has an overlapping relationship with the limited play time period, replacing the segments corresponding to the overlapping portion with the segments corresponding to a third specific content, reserving the segments corresponding to the non-overlapping portion, and generating the first playlist file;
wherein the third specific content is used to represent content allowed to be played within the second limited condition.
It should be noted that specific processing procedures of the communication interface 101 and the processor 102 are described in detail in the method embodiment, and are not described herein again.
Of course, in practice, the various components in the server 100 are coupled together by the bus system 104. It will be appreciated that the bus system 104 is used to enable communications among the components. The bus system 104 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 104 in fig. 10.
The memory 103 in the embodiment of the present application is used to store various types of data to support the operation of the server 100. Examples of such data include: any computer program for operating on the server 100.
The method disclosed in the embodiments of the present application can be applied to the processor 102, or implemented by the processor 102. The processor 102 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 102. The Processor 102 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The processor 102 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 103, and the processor 102 reads the information in the memory 103 and performs the steps of the foregoing method in combination with the hardware thereof.
In an exemplary embodiment, the server 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
It will be appreciated that the memory 103 of embodiments of the present application may be either volatile memory or non-volatile memory, and may include both volatile and non-volatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced Synchronous Dynamic Random Access Memory), Synchronous linked Dynamic Random Access Memory (DRAM, Synchronous Link Dynamic Random Access Memory), Direct Memory (DRmb Random Access Memory). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory.
In order to implement the foregoing method according to the embodiment of the present application, an embodiment of the present application further provides a control system for content presentation, and fig. 11 is a schematic structural diagram of the control system for content presentation according to the embodiment of the present application, and as shown in fig. 11, the system includes: a terminal 111 and a CDN control server 112; wherein the content of the first and second substances,
the terminal 111 is configured to send a play request URL to the CDN control server 112; receiving a first playlist file returned by the CDN control server 112, and performing playback presentation based on the first playlist file request;
the CDN control server 112 is configured to receive a play request URL sent by the terminal 111; analyzing the playing request URL to obtain the relevant information of the display limited strategy carried in the playing request URL; and generating a first playlist file according to the information related to the display restricted policy, and sending the first playlist file to the terminal 111.
Here, the first playlist file is used to control a content playback presentation of the terminal.
Of course, as mentioned above, the system may further include: a limited policy management server 113 configured to set a content limited rule, and generate a display limited policy based on the content limited rule; and issuing the exhibition limited policy to the CDN control server 112.
Correspondingly, the CDN control server 112 is further configured to receive and store the display restricted policy sent by the restricted policy management server 113.
Here, the limited policy management server 113 issues the display limited policy to the CDN control server 112, specifically may issue the display limited policy to the CDN control server 112 in real time, so as to ensure real-time performance of controlling content playing and displaying by the CDN control server.
It should be noted that the specific processing procedures of the terminal 111 and the CDN control server 112 have been described in detail above, and are not described herein again.
In an exemplary embodiment, the present application further provides a storage medium, that is, a computer storage medium, which may be specifically a computer readable storage medium, for example, a memory 103 storing a computer program, where the computer program is executable by a processor 102 of a server 100, such as a CDN control server, to complete the steps of the foregoing content presentation control method. The computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk or CD-ROM.
It should be noted that the terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In addition, it should be understood by those skilled in the art that the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
The above description is only exemplary of the present application and should not be taken as limiting the scope of the present application, as any modifications, equivalents, improvements, etc. made within the spirit and principle of the present application should be included in the scope of the present application.

Claims (14)

1. A control method for content display is applied to a server and comprises the following steps:
receiving a Uniform Resource Locator (URL) of a playing request sent by a terminal;
analyzing the playing request URL to obtain the relevant information of the display limited strategy carried in the playing request URL;
generating a first playlist file according to the display limited strategy related information, and sending the first playlist file to the terminal;
the first playlist file is used for controlling the content playing and displaying of the terminal;
the presentation limited policy related information includes at least one of: a playing area; playing a channel; a playing time period.
2. The method of claim 1, further comprising:
acquiring a configured display limited strategy aiming at the playing content;
generating a first playlist file according to the information related to the display restricted policy, including:
matching the relevant information of the display limited strategy with the display limited strategy to obtain a matching result;
and generating a first playlist file according to the matching result.
3. The method of claim 2, wherein generating a first playlist file based on the matching comprises:
when the matching result meets a first limited condition, generating a first playlist file corresponding to first specific content;
wherein the first specific content is used for representing the content allowed to be played within the first limited condition.
4. The method of claim 2, wherein generating a first playlist file based on the matching comprises:
and when the matching result meets a second limited condition, generating the first playlist file according to the relationship between the playing time point of the fragment contained in the playing content currently being played and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition.
5. The method according to claim 4, wherein the second limited condition is that a play time period is limited;
the generating the first playlist file according to the relationship between the playing time point of the segment included in the currently playing content and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition includes:
when the current time point for sending the play request URL is not matched with the limited play time period and the cross relationship exists between the play time point of part of the fragments contained in the play content which is currently played and the limited play time period, replacing the fragments corresponding to the cross part with the fragments corresponding to the second specific content to generate the first play list file;
wherein the second specific content is used to represent content allowed to be played within the second limited condition.
6. The method according to claim 4, wherein the second limited condition is that a play time period is limited;
the generating the first playlist file according to the relationship between the playing time point of the segment included in the currently playing content and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition includes:
when the current time point for sending the play request URL is not matched with the limited play time period and the play time point of a part of the segments included in the play content currently being played has an overlapping relationship with the limited play time period, replacing the segments corresponding to the overlapping portion with the segments corresponding to a third specific content, reserving the segments corresponding to the non-overlapping portion, and generating the first playlist file;
wherein the third specific content is used to represent content allowed to be played within the second limited condition.
7. A control apparatus for content presentation, comprising:
the receiving unit is used for receiving a Uniform Resource Locator (URL) of a playing request sent by a terminal;
the analysis unit is used for analyzing the playing request URL and obtaining the display limited strategy related information carried in the playing request URL;
the generating unit is used for generating a first playlist file according to the display limited strategy related information;
a sending unit, configured to send the first playlist file to the terminal;
the first playlist file is used for controlling the content playing and displaying of the terminal;
the presentation limited policy related information includes at least one of: a playing area; playing a channel; a playing time period.
8. The apparatus of claim 7, further comprising:
the acquisition unit is used for acquiring the configured display limited strategy aiming at the playing content;
the generating unit is specifically configured to:
matching the relevant information of the display limited strategy with the display limited strategy to obtain a matching result;
and generating a first playlist file according to the matching result.
9. The apparatus according to claim 8, wherein the generating unit is specifically configured to:
when the matching result meets a first limited condition, generating a first playlist file corresponding to first specific content;
wherein the first specific content is used for representing the content allowed to be played within the first limited condition.
10. The apparatus according to claim 8, wherein the generating unit is specifically configured to:
and when the matching result meets a second limited condition, generating the first playlist file according to the relationship between the playing time point of the fragment contained in the playing content currently being played and the second limited condition and the relationship between the current time point of the URL sending the playing request and the second limited condition.
11. The apparatus of claim 10, wherein the second limited condition is that a play time period is limited;
the generating unit is specifically configured to:
when the current time point for sending the play request URL is not matched with the limited play time period and the cross relationship exists between the play time point of part of the fragments contained in the play content which is currently played and the limited play time period, replacing the fragments corresponding to the cross part with the fragments corresponding to the second specific content to generate the first play list file;
wherein the second specific content is used to represent content allowed to be played within the second limited condition.
12. The apparatus of claim 10, wherein the second limited condition is that a play time period is limited;
the generating unit is specifically configured to:
when the current time point for sending the play request URL is not matched with the limited play time period and the play time point of a part of the segments included in the play content currently being played has an overlapping relationship with the limited play time period, replacing the segments corresponding to the overlapping portion with the segments corresponding to a third specific content, reserving the segments corresponding to the non-overlapping portion, and generating the first playlist file;
wherein the third specific content is used to represent content allowed to be played within the second limited condition.
13. A server, comprising: a processor and a memory for storing a computer program operable on the processor;
wherein the processor is configured to execute the steps of the control method for content presentation according to any one of claims 1 to 6 when the computer program is executed.
14. A storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the control method of content presentation of any one of claims 1 to 6.
CN201910168998.9A 2019-03-06 2019-03-06 Content display control method and device, server and storage medium Active CN111669667B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910168998.9A CN111669667B (en) 2019-03-06 2019-03-06 Content display control method and device, server and storage medium
PCT/CN2019/130258 WO2020177468A1 (en) 2019-03-06 2019-12-31 Method and apparatus for controlling content presentation, and server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910168998.9A CN111669667B (en) 2019-03-06 2019-03-06 Content display control method and device, server and storage medium

Publications (2)

Publication Number Publication Date
CN111669667A CN111669667A (en) 2020-09-15
CN111669667B true CN111669667B (en) 2021-08-03

Family

ID=72338388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910168998.9A Active CN111669667B (en) 2019-03-06 2019-03-06 Content display control method and device, server and storage medium

Country Status (2)

Country Link
CN (1) CN111669667B (en)
WO (1) WO2020177468A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022076770A (en) * 2020-11-10 2022-05-20 シャープ株式会社 Content reproduction system, content reproduction method, and content reproduction program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159132A (en) * 2014-08-22 2014-11-19 华为软件技术有限公司 Method and device of implementing customized service of video
CN105898445A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertising method and device
CN106210803A (en) * 2016-07-12 2016-12-07 乐视控股(北京)有限公司 The player method of a kind of media program and device

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5643089B2 (en) * 2007-08-23 2014-12-17 トムソン ライセンシングThomson Licensing Method, apparatus and system for dynamic override of playlist
CN101588472B (en) * 2008-05-22 2012-11-07 华为技术有限公司 Method, device and system for controlling program broadcasting
US8234350B1 (en) * 2011-12-19 2012-07-31 Seachange International, Inc. Systems and methods for generating targeted manifest files
CN102665128B (en) * 2012-04-27 2015-05-27 北京人民广播电台 Method and device for customizing timer-shaft content
US20140380386A1 (en) * 2013-03-08 2014-12-25 Thomson Licensing Method and apparatus for searching and generating a channel
CN104202625B (en) * 2014-08-26 2018-01-02 青岛海信电器股份有限公司 A kind of media file processing method and equipment
US10587667B2 (en) * 2014-12-30 2020-03-10 Spotify Ab Location-based tagging and retrieving of media content
CN106534883A (en) * 2015-09-11 2017-03-22 中兴通讯股份有限公司 Video control method and device
CN106534053B (en) * 2015-09-15 2020-02-18 腾讯科技(北京)有限公司 Media file permission control method, server and equipment
CN105872626A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and device
US10412178B2 (en) * 2016-06-30 2019-09-10 Rovi Guides, Inc. Systems and methods for ensuring continued access to media of a playlist despite geographic content restrictions
CN106303615A (en) * 2016-08-15 2017-01-04 腾讯科技(深圳)有限公司 Play the methods, devices and systems of video
CN107181970B (en) * 2017-05-02 2020-09-11 成都智元汇通信息技术有限公司 Method for automatically generating playlist by advertisement terminal
CN107948408B (en) * 2017-11-14 2020-10-09 维沃移动通信有限公司 Media file playing method and device
US10212468B1 (en) * 2018-03-01 2019-02-19 Facebook, Inc. Obtaining ratings for content items from a group of users while limiting a number of times the content items are presented to the group of users within a time interval

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159132A (en) * 2014-08-22 2014-11-19 华为软件技术有限公司 Method and device of implementing customized service of video
CN105898445A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertising method and device
CN106210803A (en) * 2016-07-12 2016-12-07 乐视控股(北京)有限公司 The player method of a kind of media program and device

Also Published As

Publication number Publication date
WO2020177468A1 (en) 2020-09-10
CN111669667A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN112188225B (en) Bullet screen issuing method for live broadcast playback and live broadcast video bullet screen playback method
CN106791933B (en) The method and system of online quick editor's video based on web terminal
US10412142B2 (en) Video-production system with social-media features
CN110213672A (en) Video generation, playback method, system, device, storage medium and equipment
US20090164904A1 (en) Blog-Based Video Summarization
WO2015035942A1 (en) Method for playing back live video and device
KR102330088B1 (en) System for filtering media manifests using manifest attributes
US9055193B2 (en) System and method of a remote conference
CN105721811A (en) Live video recording method and system
KR20200083608A (en) Video live broadcasting method and device
US9788034B1 (en) Systems and methods for processing a traffic log having an optional-promotion log entry
KR20150002432A (en) Reception device, reception method, transmission device, transmission method, and program
MX2014008657A (en) Receiving device, receiving method, program, and information processing system.
US10521481B2 (en) Video-production system with social-media features
CN108933764B (en) Method and device for realizing quick broadcast starting
US10404770B2 (en) Video-production system with social-media features
EP3300355B1 (en) Program recording method and device, and set top box
CN111651617A (en) Multimedia information sharing method, device, equipment and storage medium
CN105357544A (en) HLS-based multimedia file processing method and server
CN111669667B (en) Content display control method and device, server and storage medium
KR20150038692A (en) Method and device for encoding and decoding multimedia data
CN112243158B (en) Media file processing method and device, computer readable medium and electronic equipment
CN103220587A (en) Method and device for obtaining time shifting contents
CN114095755A (en) Video processing method, device and system, electronic equipment and storage medium
CN109948082B (en) Live broadcast information processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant