WO2019134171A1 - Program playback control method and terminal - Google Patents

Program playback control method and terminal Download PDF

Info

Publication number
WO2019134171A1
WO2019134171A1 PCT/CN2018/071810 CN2018071810W WO2019134171A1 WO 2019134171 A1 WO2019134171 A1 WO 2019134171A1 CN 2018071810 W CN2018071810 W CN 2018071810W WO 2019134171 A1 WO2019134171 A1 WO 2019134171A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
content
played
terminal
application
Prior art date
Application number
PCT/CN2018/071810
Other languages
French (fr)
Chinese (zh)
Inventor
尚修远
Original Assignee
青岛海信电器股份有限公司
青岛海信国际营销股份有限公司
海信电子科技(深圳)有限公司
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 青岛海信电器股份有限公司, 青岛海信国际营销股份有限公司, 海信电子科技(深圳)有限公司 filed Critical 青岛海信电器股份有限公司
Priority to PCT/CN2018/071810 priority Critical patent/WO2019134171A1/en
Publication of WO2019134171A1 publication Critical patent/WO2019134171A1/en

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data

Definitions

  • the present disclosure relates to content playback such as audio and video, and more particularly to a program playback control method and terminal.
  • TV program playback control can be performed for different groups of people through the TV program grading system.
  • the user can lock the TV program by password according to the rating of the TV program. Only when the correct password is input can the TV program be unlocked and viewed to prevent a specific group of people from watching unsuitable TV programs.
  • Video applications such as Internet video applications.
  • One or more video applications can be installed on the television to provide television programming.
  • Video applications typically have a program play control function based on program ratings.
  • the video application having the function allows the user to set a play control policy and a password for the video application, and when it is determined based on the play control policy that the program to be played is required to be played, the user only enters the correct password. Play the show.
  • the present disclosure proposes a program play control method and terminal.
  • a program playback control method for a terminal comprising:
  • a video application running on the terminal receives a program play instruction, the program play instruction including information associated with a program requested to be played;
  • the video application reads a play control policy preset by the terminal
  • the rights verification application is invoked and the rights verification result returned by the rights verification application is obtained; wherein the rights verification application is independent of the video application, and is used to obtain the rights verification information input by the user, and verify the rights. The information is verified and the result of the permission verification is returned;
  • the reading the play control policy preset by the terminal comprises: obtaining the play control policy by calling a first interface provided by an operating system of the terminal.
  • the invoking the rights verification application and obtaining the rights verification result returned by the rights verification application including: calling the rights verification application by acquiring a second interface provided by an operating system of the terminal, and obtaining the The permission verification result returned by the permission verification application.
  • the content attribute of the program includes one or any combination of the following:
  • the channel used for the content of the program is the channel used for the content of the program.
  • determining, according to the content attribute of the program played by the request and the read play control policy, whether to perform play control on the program to be played including:
  • the program rating of the content of the program requested to be played belongs to a program rating defined by the playback control policy that requires playback control;
  • the video application from which the content of the requested program is derived belongs to a video application defined by the playback control policy and required to perform playback control;
  • the type of the content of the program requested to be played belonging to the type of program defined by the playback control policy that needs to be played and controlled;
  • a signal source of the content of the program requested to be played belonging to a signal source defined by the playback control policy and required to perform playback control;
  • the channel used for the content of the program requested to be played belongs to the channel defined by the playback control policy and required to perform playback control.
  • the obtaining the authorization verification information input by the user, and verifying the authorization verification information including:
  • the authority verification information input by the user is compared with the authority verification information stored in the operating system of the terminal, and the authority verification result is obtained according to the comparison result.
  • the obtaining the authority verification information input by the user includes: displaying the authority verification information input interface, and obtaining the authority verification information input by the user through the authority verification information input interface.
  • the obtaining the authority verification information input by the user includes: indicating that the electronic device associated with the terminal acquires the authority verification information input by the user, and receives the authority verification information input by the user sent by the electronic device.
  • the rights verification information includes at least one of the following: a character password, a gesture, and biological feature information.
  • a terminal including: a play control module, a rights verification module, and a policy storage module;
  • the play control module is configured to receive a program play instruction, where the program play instruction includes information associated with the program requested to be played; reading a play control policy preset by the terminal, and content attributes of the program played according to the request And the read playback control policy, determining whether to play control on the program to be played; if yes, calling the rights verification application and obtaining the rights verification result returned by the rights verification application; and verifying according to the rights As a result, playback control is performed on the program content;
  • the authority verification module is configured to obtain the authority verification information input by the user, verify the authority verification information, and return the authority verification result;
  • the policy storage module is configured to store the play control policy.
  • the play control module is specifically configured to: obtain the play control policy by calling a first interface provided by an operating system of the terminal.
  • the play control module is specifically configured to: invoke the rights verification application by using a second interface provided by an operating system of the terminal, and obtain a right verification result returned by the rights verification application.
  • the content attribute of the program includes one or any combination of the following:
  • the channel used for the content of the program is the channel used for the content of the program.
  • the play control module is specifically configured to: if one or any combination of the following conditions is met, determine to play control on the requested program:
  • the program rating of the content of the program requested to be played belongs to a program rating defined by the playback control policy that requires playback control;
  • the video application from which the content of the requested program is derived belongs to a video application defined by the playback control policy and required to perform playback control;
  • the type of the content of the program requested to be played belonging to the type of program defined by the playback control policy that needs to be played and controlled;
  • a signal source of the content of the program requested to be played belonging to a signal source defined by the playback control policy and required to perform playback control;
  • the channel used for the content of the program requested to be played belongs to the channel defined by the playback control policy and required to perform playback control.
  • the rights verification module is specifically configured to: obtain the rights verification information input by the user;
  • the authority verification information input by the user is compared with the authority verification information stored in the operating system of the terminal, and the authority verification result is obtained according to the comparison result.
  • the rights verification module is specifically configured to: display a rights verification information input interface, and obtain the rights verification information input by the user through the rights verification information input interface.
  • the rights verification module is specifically configured to: indicate that the electronic device associated with the terminal acquires the rights verification information input by the user, and receives the rights verification information input by the user sent by the electronic device.
  • the rights verification information includes at least one of the following: a character password, a gesture, and biological feature information.
  • a terminal comprising: a processor, a network interface, and a memory, wherein the network interface is configured to receive and transmit data under control of the processor; the memory is configured to: At least computer instructions are stored to perform the method of any of the above first aspects.
  • a computer readable non-volatile storage medium storing computer-executable instructions for causing the computer to perform The method of any of the above first aspects.
  • a computer program product for storing a computer program for performing the method of the first aspect described above.
  • Figure 1 is a schematic diagram of the principle provided by the present disclosure
  • FIG. 2 is a schematic diagram of a program play control flow provided by the present disclosure
  • FIG. 3 is a schematic structural diagram of a terminal provided by the present disclosure.
  • FIG. 4 is a schematic structural diagram of another terminal provided by the present disclosure.
  • the program for controlling the television program based on the program grading needs to set the play control policy and password for each video application, which causes the user setting operation to be cumbersome and complicated.
  • the above solution may also have the risk that a malicious video application modifies the play control policy or tests the password to cause the play control policy to fail.
  • the present disclosure provides a program play control method and terminal applied to a terminal.
  • the play control policy is stored in the terminal, and the terminal is further provided with a rights verification application independent of the video application.
  • the rights verification application can be provided for use by various video applications (such as Internet video applications) installed on the terminal, and the rights verification function for program play is no longer provided by each video application, but the rights verification application provides permission verification.
  • the video music on the terminal can implement the play control of the program based on the stored play control policy and the right verification function provided by the permission verification application.
  • the playback control policy is stored in the terminal and is opened for use by each video application, and the user does not have to separately set the playback control policy in each video application, which simplifies the user setting operation; Applying an independent permission verification application can prevent malicious video applications from testing the authorization verification information, thereby reducing the risk of invalidation of the playback control policy and improving security.
  • the playback control policy can be stored in the operating system of the terminal. Since the security of the operating system is higher than that of the video application, the risk of the malicious application modifying the playback control policy can be reduced, thereby reducing the risk of the playback control policy being invalid.
  • the terminal in the present disclosure may be a television set, such as a smart television set, or may be other similar computer equipment having an operating system and playable programs.
  • the program can be understood as a media stream provided by a video application, such as a television, a movie, or other program provided by a video application.
  • a video application can be installed in the TV, and multiple video applications can be installed (as shown in the video application 1 to video application n, n is an integer greater than 1) ).
  • These video applications can provide programs, such as movies, TV shows, and the like.
  • These video applications can be third party applications.
  • the television has an operating system, including but not limited to Android, Windows, and the present disclosure does not limit the type of operating system.
  • a rights verification application is provided in the television.
  • the rights verification application may be set in an operating system, that is, the rights verification application is a system application or a system service.
  • the rights verification application can be preset as part of the operating system before the device leaves the factory, or installed in the TV during the factory upgrade process.
  • the rights verification application is used for performing rights verification, and the program can be played only after the verification is passed, and if the verification fails, the program is prohibited from being played.
  • the rights verification application may compare the rights verification information input by the user with the rights verification information set by the user, and if the two match, the verification passes, otherwise the verification fails.
  • the user is allowed to set the authority verification information, and further, the user is allowed to modify the authority verification information.
  • the rights verification information can be accessed by the rights verification application, but not by the video application.
  • the user-set rights verification information may be stored in a television operating system.
  • the rights verification information may include one or any combination of the following: a character password, a gesture, and biological feature information.
  • the biological characteristic information includes, but is not limited to, a fingerprint, a voice print, and the like, and the disclosure is not limited.
  • a playback control policy is stored in the television operation.
  • the playback control policy can be stored in the operating system.
  • the playback control policy is used to define the programs that need to be controlled for playback.
  • the video application can obtain a playback control policy stored in the television, and based on the policy, determine whether to play control on the program requested to be played.
  • the user is allowed to set a play control policy. Further, the user is allowed to modify the playback control policy.
  • the operating system can also provide a default playback control policy.
  • the television can provide a first interface and a second interface.
  • the first interface may be provided by the operating system.
  • the second interface may be provided by a rights verification application.
  • the rights verification application is set in an operating system of the terminal, the second interface may be provided by an operating system of the terminal.
  • the video application can obtain the stored play control policy through the first interface, and invoke the rights verification application through the second interface.
  • the first interface and/or the second interface is an application programming interface (API).
  • API application programming interface
  • the video application determines whether to play control on the currently requested program according to the play control policy. If the determination is yes, the permission verification application is invoked, and after the permission verification application is invoked, according to the user input.
  • the permission verification information and the stored permission verification information are used for the authority verification, and the verification result is returned to the video application, and the video application determines whether to play the currently requested program according to the permission verification result.
  • FIG. 2 is a schematic diagram of a program play control process applied to a terminal according to the present disclosure, wherein a video application is run in the terminal, a rights verification application is set, and a play control policy is set.
  • the process can include:
  • the video application running on the terminal receives a program play instruction, and the program play instruction includes information associated with the program requested to be played.
  • the information related to the program requested to be played included in the program play instruction may include, but is not limited to, one or more of the following information: an address of the program, a name of the program, a video application from which the program is derived, and a program.
  • the content type and the like are not limited in this disclosure.
  • the operating system when the user selects the program provided by the application through the video application and operates the “play” button, the operating system generates a program play instruction, and sends the program play instruction to the video application.
  • the program play command is used to request playback of the selected program.
  • S203 The video application determines whether to perform play control on the requested program according to the content attribute of the requested program and the read play control policy. If it is determined that the playback control is performed on the requested program, the process proceeds to S204, and otherwise proceeds to S206.
  • the content attribute of the program may include one of the following attributes:
  • the program rating to which the content of the program belongs may be divided into an unrestricted level and a restricted level according to the content of the program.
  • the restricted level may further include a plurality of sub-levels. Different playback rights can be set corresponding to different ratings.
  • the present disclosure does not limit the program rating method.
  • the type of content of the show can be divided into children's programs, adult programs, and the like. Of course, it can also be divided from other angles, such as animation, variety shows, and the like.
  • the source of the content of the program may include but is not limited to: ATV (Analog TV), DTV (Digital TV), HDMI (High Definition Multimedia Interface), AV component, VGA (Video Graphics Array, video graphics array), etc.
  • a flexible playback control strategy can be provided based on the content attributes of the program.
  • the play control strategy and the corresponding play control decision method may include one of the following:
  • a playback control policy is defined according to the program hierarchy to which the content of the program belongs.
  • Different program ratings can correspond to different playback control strategies.
  • a non-restricted program its corresponding playback control policy can be set to: no playback control.
  • the corresponding playback control policy may be set to: perform playback control.
  • the program of the non-restricted level is generally suitable for watching by any age group, and no playback control is required; the program of the restricted level is usually only suitable for a specific group of people (such as an adult or a charging user), and needs to be played and controlled.
  • the decision is made to perform playback control on the requested program.
  • Different video applications can correspond to different playback control strategies. For example, for a video application that specifically provides a children's program, the corresponding playback control policy may be set to: no playback control is provided for the program provided by the video application. For another example, for a video application that provides a restricted program, its corresponding playback control policy can be set to: play control on a program originating from the video application.
  • the video application from which the content of the requested program is derived belongs to a video application defined by the playback control policy that needs to be played back, it is determined that playback control of the requested program is required.
  • the content of different types of programs may correspond to different playback control strategies.
  • the corresponding playback control policy can be set to: no playback control.
  • the corresponding play control strategy can be set to: play control.
  • the content type of the program requested to be played belongs to a program type defined by the playback control policy that needs to be played and controlled, it is decided that playback control of the requested program is required.
  • Programs of different signal sources may have different playback control strategies.
  • the signal source of the content of the requested program belongs to a signal source defined by the playback control policy that needs to be played back, it is determined that playback control of the requested program is required.
  • the playback control policy is defined according to the channel used by the content of the program.
  • Programs of different channels may have different playback control strategies. For example, for a channel for playing a children's program, the corresponding play control policy may be set to: no play control. For another example, for a channel for playing a variety show program, the corresponding play control policy may be set to: play control.
  • the channel used for the content of the program to be played belongs to a channel defined by the playback control policy that needs to be played, the decision is made to perform playback control on the requested program.
  • the play control policy may be defined according to various attributes of the content of the program, and accordingly, when the play control decision is made, the decision is also made according to various attributes of the content of the program, for example, in a video application according to the content of the program.
  • the play control strategy is: if the video application from which the content of the program is derived is a video application specifically for providing children's programs, no playback control is performed; otherwise, the program needs to be followed.
  • the program to which the content belongs is hierarchically controlled for playback.
  • the playback control may be performed; if the content of the requested program is derived from other video applications, and the content of the program is unrestricted Level, there is no need to play control; if the content of the program requested to be played is derived from other video applications, and the content of the program belongs to the restricted level, then the program needs to be played and controlled.
  • the video application may obtain a play control policy according to the first interface provided by calling the terminal, and then determine whether to perform play control according to the play control policy and the content attribute of the program to be played.
  • S204 The video application invokes the permission verification application and obtains the permission verification result returned by the permission verification application.
  • the rights verification application is configured to obtain the rights verification information input by the user, verify the rights verification information, and return the rights verification result.
  • the following operations may be performed: prompting the user to input the rights verification information; obtaining the rights verification information input by the user, and verifying the rights verification information input by the user and the operating system The stored permission verification information is compared, and the authority verification result is obtained according to the comparison result. If the authorization verification information input by the user matches the authority verification information stored in the terminal, the verification is passed, otherwise the verification fails.
  • the rights verification information may include one or any combination of the following: a character password, a gesture, and biological feature information.
  • the biological characteristic information includes, but is not limited to, a fingerprint, a voice print, and the like, and the disclosure is not limited.
  • the authorization verification method is also different. For example, if the authority verification information is a password, the authority verification application can provide a password input interface for displaying, prompting the user to input a password, and receiving the password input by the user through the user interface, and then saving the password entered by the user with the operating system. The password is compared and the verification result is obtained.
  • the authority verification application can provide a user interface, prompting the user to read the text prompted in the user interface, collecting the voice of the user through the sound collection device, and performing voiceprint extraction, and then operating.
  • the voiceprints pre-stored in the system are compared to obtain verification results.
  • the rights verification information input interface may be displayed, and the rights verification information input by the user through the rights verification information input interface is obtained.
  • the permission verification application can cause the television to display a password input interface on the screen thereof, and the user inputs the password input box provided in the user interface through a soft keyboard on the remote controller or the television screen.
  • Password which enables local authority verification.
  • the rights verification application may instruct the electronic device associated with the terminal to obtain the rights verification information input by the user, and receive the user input sent by the electronic device.
  • Permission verification information For example, if the authority verification information is a password and the terminal is an example of a mobile phone, the association between the mobile phone and the television may be set in advance, for example, the parent's mobile phone is associated with the television.
  • the authority verification application can send an indication message to the associated mobile phone through the television to instruct the mobile phone to display a password input interface, and the user inputs a password in the password input box provided by the user interface, and sends the password to the authority verification application through the mobile phone. This enables remote permission verification.
  • the rights verification information may be set according to multiple levels of authority.
  • C1, C2, and C3 are included from low to high according to the program rating, and corresponding password 1, password 2, and password 3 can be set accordingly. If the password entered by the user matches the password 1, only the program with the program rating C1 can be played, and the program with the program rating C2 and C3 cannot be played; if the password entered by the user matches the password 2, the program can be played as C1 and The program of C2, but the program whose program rating is C3 cannot be played; if the password input by several users matches the password 3, the programs whose programs are classified into C1, C2 and C3 can be played.
  • the video application may invoke the permission verification application by calling the second interface, and obtain the permission verification result returned by the permission verification application.
  • S205 The video application performs playback control on the requested program according to the permission verification result.
  • the play control policy is stored in the terminal, and can be provided to each video application installed on the terminal, and the terminal is also provided with a rights verification application for the independent and video application, so that the video application is no longer provided by each video application.
  • the rights verification function of the program is played, but the rights verification function is provided by the rights verification application, and the video application on the terminal can implement the play control of the program based on the play control policy stored in the terminal and the rights verification application provided in the terminal.
  • the playback control policy is stored in the terminal and is opened for use by each video application, and the user does not have to separately set the playback control policy in each video application, which simplifies the user setting operation; on the other hand, it is independent of The video application's permission verification application provides permission verification function, which can prevent malicious video applications from testing the authorization verification information, thereby reducing the risk of invalidation of the playback control policy and improving security.
  • the present disclosure also provides a terminal that can perform the playback control flow described in the embodiments of the present disclosure.
  • FIG. 3 a schematic structural diagram of a terminal provided by the present disclosure.
  • the terminal 300 may include: a play control module 301a to a play control module 301c, a rights verification module 302, and a policy storage module 303, and further may further include a rights verification information storage module 304.
  • the rights verification module 302, the policy storage module 303, and the rights verification information storage module 304 are located in an operating system.
  • the number of the play control modules may be one or multiple, and the three play control modules are taken as an example.
  • Each of the play control module 301a to the play control module 301c may correspond to a video application, and may provide a program, such as providing a movie or a television program.
  • the rights verification module 302 is configured to implement a rights verification function, and corresponding to the rights verification application, may be a system application or a system service.
  • the policy storage module 303 and the rights verification information storage module 304 may be storage units in an operating system.
  • the policy storage module 303 is configured to store a play control policy.
  • At least one of the play control module 301a to the play control module 301c configured to: receive a program play instruction, where the program play instruction includes information associated with the program requested to be played; and read a play control policy preset by the terminal; Determining whether to play control on the program requested to be played; and if so, invoking the rights verification module 302 and obtaining the authority verification returned by the authority verification module 302; a result; and, according to the permission verification result, playing control of the program requested to be played.
  • the rights verification module 302 is configured to obtain the rights verification information input by the user, verify the rights verification information, and return the rights verification result to at least one of the play control module 301a to the play control module 301c.
  • At least one of the play control module 301a to the play control module 301c is specifically configured to: obtain the play control policy by calling a first interface provided by an operating system of the terminal.
  • At least one of the play control module 301a to the play control module 301c is specifically configured to: invoke the rights verification application by using a second interface provided by an operating system of the terminal, and obtain the rights verification application to return Permission verification results.
  • the privilege verification module 302 is specifically configured to: obtain the privilege verification information input by the user; compare the privilege verification information input by the user with the privilege verification information stored in the operating system of the terminal, and obtain the privilege verification result according to the comparison result. .
  • the rights verification module 302 is specifically configured to: display a rights verification information input interface, and obtain the rights verification information input by the user through the rights verification information input interface.
  • the rights verification module 302 is specifically configured to: indicate that the electronic device associated with the terminal acquires the rights verification information input by the user, and receives the rights verification information input by the user sent by the electronic device.
  • the rights verification information includes at least one of the following: a character password, a gesture, and biological feature information.
  • FIG. 4 a schematic structural diagram of a terminal 400 (such as a smart TV) provided by the present disclosure is shown, that is, another structural diagram of the terminal 300 is shown.
  • the terminal 400 includes a processor 401 and a network interface 402.
  • the processor 401 can also be a controller.
  • the processor 401 is configured to support the terminal 300 to perform the functions involved in FIG. 2.
  • the network interface 402 is configured to support the function of the terminal 300 to send and receive messages.
  • Terminal 400 can also include a memory 403 for coupling with processor 401 that retains the program instructions and data necessary for the device.
  • the processor 401, the network interface 402 and the memory 403 are connected, the memory 403 is used to store instructions, and the processor 401 is configured to execute the instructions stored in the memory 403, to control the network interface 402 to send and receive messages, and complete the terminal 300 in the above method.
  • the steps to perform the corresponding function are performed.
  • the processor involved in the foregoing disclosure may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit. , ASIC), field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the memory may be integrated in the processor or may be separately provided from the processor.
  • the present disclosure also provides a computer storage medium for storing instructions that, when executed, can perform any of the methods involved in the foregoing content playback control apparatus.
  • the present disclosure also provides a computer program product for storing a computer program for performing the content playback control method involved in the above method embodiments.
  • the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A program playback control method and a terminal. The method comprises: a video application running on a terminal receives a program playback instruction, the program playback instruction comprising information associated with a program requested to be played; the video application reads a playback control policy preset by the terminal, and determines, according to the content attribute of the program requested to be played and the read playback control policy, whether to perform playback control on the program requested to be played; if yes, invoke a permission authentication application and obtain a permission authentication result returned by the permission authentication application; and perform playback control on the program requested to be played according to the permission authentication result. The permission authentication application is independent from the video application, and is configured to obtain permission authentication information input by a user, authenticate the permission authentication information, and return a permission authentication result.

Description

一种节目播放控制方法及终端Program playing control method and terminal 技术领域Technical field
本公开涉及音视频等内容播放,特别是涉及一种节目播放控制方法及终端。The present disclosure relates to content playback such as audio and video, and more particularly to a program playback control method and terminal.
背景技术Background technique
在电视广播行业,通过电视节目分级制度可以针对不同人群进行电视节目播放控制。用户可以根据电视节目所属的分级通过密码对电视节目进行加锁,只有输入正确的密码才能对电视节目进行解锁并观看,以防止特定人群观看不适合的电视节目。In the television broadcasting industry, TV program playback control can be performed for different groups of people through the TV program grading system. The user can lock the TV program by password according to the rating of the TV program. Only when the correct password is input can the TV program be unlocked and viewed to prevent a specific group of people from watching unsuitable TV programs.
随着互联网技术在电视机上的应用,越来越多的电视节目由视频应用(如互联网视频应用)提供。电视机上可以安装一个或多个视频应用,以提供电视节目。With the application of Internet technology on televisions, more and more television programs are being provided by video applications such as Internet video applications. One or more video applications can be installed on the television to provide television programming.
视频应用通常具有基于节目分级的节目播放控制功能。具有该功能的视频应用,允许用户针对该视频应用设置播放控制策略和密码,在基于该播放控制策略判断需要对请求播放的节目进行播放控制时,只有在用户输入正确的密码的情况下,才能播放该节目。Video applications typically have a program play control function based on program ratings. The video application having the function allows the user to set a play control policy and a password for the video application, and when it is determined based on the play control policy that the program to be played is required to be played, the user only enters the correct password. Play the show.
发明内容Summary of the invention
本公开提出了一种节目播放控制方法及终端。The present disclosure proposes a program play control method and terminal.
依据第一方面,提供一种应用于终端的节目播放控制方法,所述方法包括:According to a first aspect, a program playback control method for a terminal is provided, the method comprising:
运行于所述终端的视频应用接收节目播放指令,所述节目播放指令包括与请求播放的节目关联的信息;A video application running on the terminal receives a program play instruction, the program play instruction including information associated with a program requested to be played;
所述视频应用读取所述终端预先设置的播放控制策略;The video application reads a play control policy preset by the terminal;
所述视频应用根据所述请求播放的节目的内容属性以及所述读取的播放控制策略,确定是否对所述请求播放的节目进行播放控制;Determining, according to the content attribute of the program that is requested to be played, and the read play control policy, whether to perform play control on the program that is requested to be played;
若是,则调用权限验证应用并获得所述权限验证应用返回的权限验证结果;其中,所述权限验证应用与所述视频应用相互独立,用于获取用户输入的权限验证信息,对所述权限验证信息进行验证,并返回权限验证结果;If yes, the rights verification application is invoked and the rights verification result returned by the rights verification application is obtained; wherein the rights verification application is independent of the video application, and is used to obtain the rights verification information input by the user, and verify the rights. The information is verified and the result of the permission verification is returned;
根据所述权限验证结果,对所述请求播放的节目进行播放控制。And playing control on the program requested to be played according to the permission verification result.
可选地,所述读取所述终端预先设置的播放控制策略包括:通过调用所述终端的操作系统提供的第一接口,获得所述播放控制策略。Optionally, the reading the play control policy preset by the terminal comprises: obtaining the play control policy by calling a first interface provided by an operating system of the terminal.
可选地,所述调用所述权限验证应用并获得所述权限验证应用返回的权限验证结果,包括:通过调用所述终端的操作系统提供的第二接口,调用所述权限验证应用并获得所述 权限验证应用返回的权限验证结果。Optionally, the invoking the rights verification application and obtaining the rights verification result returned by the rights verification application, including: calling the rights verification application by acquiring a second interface provided by an operating system of the terminal, and obtaining the The permission verification result returned by the permission verification application.
可选地,所述节目的内容属性包括以下之一或任意组合:Optionally, the content attribute of the program includes one or any combination of the following:
节目的内容所属的节目分级;The rating of the program to which the content of the program belongs;
节目的内容所来源的视频应用;The video application from which the content of the program is derived;
节目的内容的类型;The type of content of the program;
节目的内容的信号源;a signal source for the content of the program;
节目的内容使用的频道。The channel used for the content of the program.
可选地,所述根据所述请求播放的节目的内容属性以及所述读取的播放控制策略,确定是否对所述请求播放的节目进行播放控制,包括:Optionally, determining, according to the content attribute of the program played by the request and the read play control policy, whether to perform play control on the program to be played, including:
若满足以下条件之一或任意组合,则确定对所请求播放的节目进行播放控制:If one or any combination of the following conditions is met, it is determined that playback control is performed on the requested program:
所请求播放的节目的内容所述的节目分级,属于所述播放控制策略定义的需要进行播放控制的节目分级;The program rating of the content of the program requested to be played belongs to a program rating defined by the playback control policy that requires playback control;
所请求播放的节目的内容所来源的视频应用,属于所述播放控制策略定义的需要进行播放控制的视频应用;The video application from which the content of the requested program is derived belongs to a video application defined by the playback control policy and required to perform playback control;
所请求播放的节目的内容的类型,属于所述播放控制策略定义的需要进行播放控制的节目类型;The type of the content of the program requested to be played, belonging to the type of program defined by the playback control policy that needs to be played and controlled;
所请求播放的节目的内容的信号源,属于所述播放控制策略定义的需要进行播放控制的信号源;a signal source of the content of the program requested to be played, belonging to a signal source defined by the playback control policy and required to perform playback control;
所请求播放的节目的内容使用的频道,属于所述播放控制策略定义的需要进行播放控制的频道。The channel used for the content of the program requested to be played belongs to the channel defined by the playback control policy and required to perform playback control.
可选地,所述获取用户输入的权限验证信息,对所述权限验证信息进行验证,包括:Optionally, the obtaining the authorization verification information input by the user, and verifying the authorization verification information, including:
获取用户输入的权限验证信息;Obtaining the authority verification information input by the user;
将用户输入的权限验证信息与所述终端的操作系统中存储的权限验证信息进行比较,根据比较结果得到权限验证结果。The authority verification information input by the user is compared with the authority verification information stored in the operating system of the terminal, and the authority verification result is obtained according to the comparison result.
可选地,所述获取用户输入的权限验证信息,包括:显示权限验证信息输入界面,获得用户通过所述权限验证信息输入界面输入的权限验证信息。Optionally, the obtaining the authority verification information input by the user includes: displaying the authority verification information input interface, and obtaining the authority verification information input by the user through the authority verification information input interface.
可选地,所述获取用户输入的权限验证信息,包括:指示与所述终端关联的电子设备获取用户输入的权限验证信息,接收所述电子设备发送的用户输入的权限验证信息。Optionally, the obtaining the authority verification information input by the user includes: indicating that the electronic device associated with the terminal acquires the authority verification information input by the user, and receives the authority verification information input by the user sent by the electronic device.
可选地,所述权限验证信息包括以下中的至少一种:字符密码,手势,生物学特征信息。Optionally, the rights verification information includes at least one of the following: a character password, a gesture, and biological feature information.
依据第二方面,提供一种终端,包括:播放控制模块、权限验证模块和策略存储模块;According to a second aspect, a terminal is provided, including: a play control module, a rights verification module, and a policy storage module;
所述播放控制模块,用于接收节目播放指令,所述节目播放指令包括与请求播放的节目关联的信息;读取所述终端预先设置的播放控制策略,根据所述请求播放的节目的内容属性以及所述读取的播放控制策略,确定是否对所述请求播放的节目进行播放控制;若是,则调用权限验证应用并获得所述权限验证应用返回的权限验证结果;以及,根据所述权限验证结果,对所述节目内容进行播放控制;The play control module is configured to receive a program play instruction, where the program play instruction includes information associated with the program requested to be played; reading a play control policy preset by the terminal, and content attributes of the program played according to the request And the read playback control policy, determining whether to play control on the program to be played; if yes, calling the rights verification application and obtaining the rights verification result returned by the rights verification application; and verifying according to the rights As a result, playback control is performed on the program content;
所述权限验证模块,用于获取用户输入的权限验证信息,对所述权限验证信息进行验证,并返回权限验证结果;The authority verification module is configured to obtain the authority verification information input by the user, verify the authority verification information, and return the authority verification result;
所述策略存储模块,用于存储所述播放控制策略。The policy storage module is configured to store the play control policy.
可选地,所述播放控制模块具体用于:通过调用所述终端的操作系统提供的第一接口,获得所述播放控制策略。Optionally, the play control module is specifically configured to: obtain the play control policy by calling a first interface provided by an operating system of the terminal.
可选地,所述播放控制模块具体用于:通过调用所述终端的操作系统提供的第二接口,调用所述权限验证应用并获得所述权限验证应用返回的权限验证结果。Optionally, the play control module is specifically configured to: invoke the rights verification application by using a second interface provided by an operating system of the terminal, and obtain a right verification result returned by the rights verification application.
可选地,所述节目的内容属性包括以下之一或任意组合:Optionally, the content attribute of the program includes one or any combination of the following:
节目的内容所属的节目分级;The rating of the program to which the content of the program belongs;
节目的内容所来源的视频应用;The video application from which the content of the program is derived;
节目的内容的类型;The type of content of the program;
节目的内容的信号源;a signal source for the content of the program;
节目的内容使用的频道。The channel used for the content of the program.
可选地,所述播放控制模块具体用于:若满足以下条件之一或任意组合,则确定对所请求播放的节目进行播放控制:Optionally, the play control module is specifically configured to: if one or any combination of the following conditions is met, determine to play control on the requested program:
所请求播放的节目的内容所述的节目分级,属于所述播放控制策略定义的需要进行播放控制的节目分级;The program rating of the content of the program requested to be played belongs to a program rating defined by the playback control policy that requires playback control;
所请求播放的节目的内容所来源的视频应用,属于所述播放控制策略定义的需要进行播放控制的视频应用;The video application from which the content of the requested program is derived belongs to a video application defined by the playback control policy and required to perform playback control;
所请求播放的节目的内容的类型,属于所述播放控制策略定义的需要进行播放控制的节目类型;The type of the content of the program requested to be played, belonging to the type of program defined by the playback control policy that needs to be played and controlled;
所请求播放的节目的内容的信号源,属于所述播放控制策略定义的需要进行播放控制的信号源;a signal source of the content of the program requested to be played, belonging to a signal source defined by the playback control policy and required to perform playback control;
所请求播放的节目的内容使用的频道,属于所述播放控制策略定义的需要进行播放控制的频道。The channel used for the content of the program requested to be played belongs to the channel defined by the playback control policy and required to perform playback control.
可选地,所述权限验证模块具体用于:获取用户输入的权限验证信息;Optionally, the rights verification module is specifically configured to: obtain the rights verification information input by the user;
将用户输入的权限验证信息与所述终端的操作系统中存储的权限验证信息进行比较,根据比较结果得到权限验证结果。The authority verification information input by the user is compared with the authority verification information stored in the operating system of the terminal, and the authority verification result is obtained according to the comparison result.
可选地,所述权限验证模块具体用于:显示权限验证信息输入界面,获得用户通过所述权限验证信息输入界面输入的权限验证信息。Optionally, the rights verification module is specifically configured to: display a rights verification information input interface, and obtain the rights verification information input by the user through the rights verification information input interface.
可选地,所述权限验证模块具体用于:指示与所述终端关联的电子设备获取用户输入的权限验证信息,接收所述电子设备发送的用户输入的权限验证信息。Optionally, the rights verification module is specifically configured to: indicate that the electronic device associated with the terminal acquires the rights verification information input by the user, and receives the rights verification information input by the user sent by the electronic device.
可选地,所述权限验证信息包括以下中的至少一种:字符密码,手势,生物学特征信息。Optionally, the rights verification information includes at least one of the following: a character password, a gesture, and biological feature information.
依据第三方面,提供一种终端,包括:包括:处理器、网络接口和存储器,其中,所述网络接口,用于在所述处理器的控制下接收和发送数据;所述存储器,用于存储至少计算机指令,以执行上述第一方面中任一项所述的方法。According to a third aspect, a terminal is provided, comprising: a processor, a network interface, and a memory, wherein the network interface is configured to receive and transmit data under control of the processor; the memory is configured to: At least computer instructions are stored to perform the method of any of the above first aspects.
依据第四方面,一种计算机可读的非易失性存储介质,所述计算机可读非易失性存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行如上述第一方面中任一项所述的方法。According to a fourth aspect, a computer readable non-volatile storage medium storing computer-executable instructions for causing the computer to perform The method of any of the above first aspects.
依据第五方面,提供一种计算机程序产品,用于存储计算机程序,该计算机程序用于执行上述第一方面涉及的方法。According to a fifth aspect, there is provided a computer program product for storing a computer program for performing the method of the first aspect described above.
附图说明DRAWINGS
图1是本公开提供的原理示意图;Figure 1 is a schematic diagram of the principle provided by the present disclosure;
图2是本公开提供的节目播放控制流程示意图;2 is a schematic diagram of a program play control flow provided by the present disclosure;
图3是本公开提供的终端的结构示意图;3 is a schematic structural diagram of a terminal provided by the present disclosure;
图4是本公开提供的另一终端的结构示意图。4 is a schematic structural diagram of another terminal provided by the present disclosure.
具体实施方式Detailed ways
在视频应用中基于节目分级进行电视节目播放控制的方案,需要针对每个视频应用设置播放控制策略和密码,导致用户设置操作繁琐复杂。另外,上述方案还可能存在恶意的视频应用对播放控制策略进行修改或对密码进行试探而导致播放控制策略失效的风险。In the video application, the program for controlling the television program based on the program grading needs to set the play control policy and password for each video application, which causes the user setting operation to be cumbersome and complicated. In addition, the above solution may also have the risk that a malicious video application modifies the play control policy or tests the password to cause the play control policy to fail.
为了解决上述问题,本公开提供了一种应用于终端的节目播放控制方法及终端。In order to solve the above problems, the present disclosure provides a program play control method and terminal applied to a terminal.
本公开中,播放控制策略存储于终端,该终端上还设置有与视频应用相独立的权限验证应用。该权限验证应用可提供给安装在该终端上的各个视频应用(比如互联网视频应用)使用,并且不再由各个视频应用提供针对节目播放的权限验证功能,而是由该权限验证应 用提供权限验证功能,终端上的视频音乐均可基于存储的播放控制策略以及该权限验证应用提供的权限验证功能实现节目的播放控制。依据本公开,一方面,在终端中存储播放控制策略并开放给各个视频应用使用,用户可以不必在每个视频应用中分别设置播放控制策略,简化了用户设置操作;再一方面,提供与视频应用相独立的权限验证应用,可以防止恶意视频应用对权限验证信息进行试探,从而可以降低播放控制策略失效的风险,提高安全性。In the present disclosure, the play control policy is stored in the terminal, and the terminal is further provided with a rights verification application independent of the video application. The rights verification application can be provided for use by various video applications (such as Internet video applications) installed on the terminal, and the rights verification function for program play is no longer provided by each video application, but the rights verification application provides permission verification. Function, the video music on the terminal can implement the play control of the program based on the stored play control policy and the right verification function provided by the permission verification application. According to the disclosure, on the one hand, the playback control policy is stored in the terminal and is opened for use by each video application, and the user does not have to separately set the playback control policy in each video application, which simplifies the user setting operation; Applying an independent permission verification application can prevent malicious video applications from testing the authorization verification information, thereby reducing the risk of invalidation of the playback control policy and improving security.
可选地,播放控制策略可存储在终端的操作系统中。由于操作系统的安全性高于视频应用,因此可以降低恶意应用对播放控制策略进行修改的风险,进而降低播放控制策略失效的风险。Alternatively, the playback control policy can be stored in the operating system of the terminal. Since the security of the operating system is higher than that of the video application, the risk of the malicious application modifying the playback control policy can be reduced, thereby reducing the risk of the playback control policy being invalid.
为使本公开的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本公开作进一步详细的说明。The above-described objects, features and advantages of the present disclosure will become more apparent from the aspects of the appended claims.
本公开中的终端,可以是电视机,比如可以是智能电视机,或者可以是其他类似的具有操作系统且可播放节目的计算机设备。其中,所述节目,可以理解为视频应用提供的媒体流,比如可以是视频应用提供的电视、电影或其他节目等。The terminal in the present disclosure may be a television set, such as a smart television set, or may be other similar computer equipment having an operating system and playable programs. The program can be understood as a media stream provided by a video application, such as a television, a movie, or other program provided by a video application.
以下实施例以电视机为例进行描述,但以下实施例的原理也可应用于其他类型的终端。The following embodiments are described by taking a television as an example, but the principles of the following embodiments are also applicable to other types of terminals.
参见图1,为本公开提供的原理示意图。Referring to Figure 1, a schematic diagram of the principles provided by the present disclosure is provided.
如图所示,以终端为电视机作为例子,电视机中可安装一个视频应用,也可安装多个视频应用(如图中所示的视频应用1至视频应用n,n为大于1的整数)。这些视频应用可以提供节目,比如提供电影、电视剧等。这些视频应用可以是第三方应用。电视机具有操作系统,所述操作系统包括但不限于Android、Windows,本公开对操作系统类型不作限制。As shown in the figure, taking the terminal as a TV as an example, a video application can be installed in the TV, and multiple video applications can be installed (as shown in the video application 1 to video application n, n is an integer greater than 1) ). These video applications can provide programs, such as movies, TV shows, and the like. These video applications can be third party applications. The television has an operating system, including but not limited to Android, Windows, and the present disclosure does not limit the type of operating system.
本公开中,在电视机中设置有权限验证应用,可选地,该权项验证应用可设置在操作系统中,即,所述权限验证应用为系统应用或系统服务。权限验证应用可以作为操作系统的一部分在设备出厂前预置,或者在出厂后的操作系统升级过程中被安装在电视机中。In the present disclosure, a rights verification application is provided in the television. Optionally, the rights verification application may be set in an operating system, that is, the rights verification application is a system application or a system service. The rights verification application can be preset as part of the operating system before the device leaves the factory, or installed in the TV during the factory upgrade process.
所述权限验证应用用于进行权限验证,只有验证通过才能进行节目的播放,若验证失败则禁止播放节目。可选地,该权限验证应用可将用户输入的权限验证信息与用户设置的权限验证信息进行比较,若两者匹配,则验证通过,否则验证失败。The rights verification application is used for performing rights verification, and the program can be played only after the verification is passed, and if the verification fails, the program is prohibited from being played. Optionally, the rights verification application may compare the rights verification information input by the user with the rights verification information set by the user, and if the two match, the verification passes, otherwise the verification fails.
本公开中,允许用户设置权限验证信息,进一步地,允许用户修改权限验证信息。为保证安全性,可选地,权限验证信息可以被权限验证应用访问,但不可以被视频应用 访问。可选地,用户设置的权限验证信息可存储于电视机操作系统。In the present disclosure, the user is allowed to set the authority verification information, and further, the user is allowed to modify the authority verification information. To ensure security, optionally, the rights verification information can be accessed by the rights verification application, but not by the video application. Optionally, the user-set rights verification information may be stored in a television operating system.
可选地,权限验证信息可以包括以下之一或任意组合:字符密码,手势,生物学特征信息。其中,生物性特征信息包括但不限于:指纹、声纹等,本公开不作限制。Optionally, the rights verification information may include one or any combination of the following: a character password, a gesture, and biological feature information. The biological characteristic information includes, but is not limited to, a fingerprint, a voice print, and the like, and the disclosure is not limited.
本公开中,在电视机操中存储有播放控制策略。可选地,为安全起见,播放控制策略可存储在操作系统中。播放控制策略用于定义需要进行播放控制的节目。视频应用可获得电视机中存储的播放控制策略,并基于该策略判断是否对请求播放的节目进行播放控制。In the present disclosure, a playback control policy is stored in the television operation. Alternatively, for security reasons, the playback control policy can be stored in the operating system. The playback control policy is used to define the programs that need to be controlled for playback. The video application can obtain a playback control policy stored in the television, and based on the policy, determine whether to play control on the program requested to be played.
可选地,本公开中,允许用户设置播放控制策略。进一步地,允许用户修改播放控制策略。操作系统也可以提供默认的播放控制策略。Optionally, in the present disclosure, the user is allowed to set a play control policy. Further, the user is allowed to modify the playback control policy. The operating system can also provide a default playback control policy.
可选地,电视机可提供第一接口和第二接口。可选地,若播放控制策略存储在操作系统中,则第一接口可由操作系统提供。可选地,第二接口可由权限验证应用提供。可选地,若权限验证应用设置在终端的操作系统中,第二接口可由该终端的操作系统提供。视频应用可以通过第一接口获取存储的播放控制策略,通过第二接口调用权限验证应用。可选地,所述第一接口和/或所述第二接口为应用程序编程接口(Application Programming Interface,API)。Optionally, the television can provide a first interface and a second interface. Alternatively, if the playback control policy is stored in the operating system, the first interface may be provided by the operating system. Alternatively, the second interface may be provided by a rights verification application. Optionally, if the rights verification application is set in an operating system of the terminal, the second interface may be provided by an operating system of the terminal. The video application can obtain the stored play control policy through the first interface, and invoke the rights verification application through the second interface. Optionally, the first interface and/or the second interface is an application programming interface (API).
当用户使用视频应用选取节目请求播放时,视频应用根据播放控制策略判断是否对当前请求播放的节目进行播放控制,若判定为是,则调用权限验证应用,权限验证应用被调用后,根据用户输入的权限验证信息与存储的权限验证信息进行权限验证,并将验证结果返回给视频应用,视频应用根据权限验证结果决定是否播放当前请求播放的节目。When the user selects a program request to play by using the video application, the video application determines whether to play control on the currently requested program according to the play control policy. If the determination is yes, the permission verification application is invoked, and after the permission verification application is invoked, according to the user input. The permission verification information and the stored permission verification information are used for the authority verification, and the verification result is returned to the video application, and the video application determines whether to play the currently requested program according to the permission verification result.
参见图2,为本公开提供的应用于终端的节目播放控制流程示意图,其中,所述终端中运行有视频应用,设置有权限验证应用,并设置有播放控制策略。2 is a schematic diagram of a program play control process applied to a terminal according to the present disclosure, wherein a video application is run in the terminal, a rights verification application is set, and a play control policy is set.
如图所示,该流程可包括:As shown, the process can include:
S201:运行于终端的视频应用接收节目播放指令,所述节目播放指令包括与请求播放的节目关联的信息。S201: The video application running on the terminal receives a program play instruction, and the program play instruction includes information associated with the program requested to be played.
其中,所述节目播放指令中包括的与请求播放的节目关联的信息,可包括但不限于以下信息中的一个或多个:节目的地址、节目的名称、节目所来源的视频应用、节目的内容类型等,本公开对此不作限制。The information related to the program requested to be played included in the program play instruction may include, but is not limited to, one or more of the following information: an address of the program, a name of the program, a video application from which the program is derived, and a program. The content type and the like are not limited in this disclosure.
该步骤中,当用户通过视频应用选取该应用提供的节目,并操作“播放”按键时,操作系统生成节目播放指令,并将该节目播放指令发送给该视频应用。该节目播放指令用于请求对所选取的节目进行播放。In this step, when the user selects the program provided by the application through the video application and operates the “play” button, the operating system generates a program play instruction, and sends the program play instruction to the video application. The program play command is used to request playback of the selected program.
S202:该视频应用读取该终端中预先设置的播放控制策略。S202: The video application reads a preset play control policy in the terminal.
S203:该视频应用根据所请求播放的节目的内容属性以及读取到的播放控制策略,确定是否对所请求播放的节目进行播放控制。若确定对所请求播放的节目进行播放控制,则转入S204,否则转入S206。S203: The video application determines whether to perform play control on the requested program according to the content attribute of the requested program and the read play control policy. If it is determined that the playback control is performed on the requested program, the process proceeds to S204, and otherwise proceeds to S206.
本公开中,可选地,节目的内容属性可以包括以下属性之一:In the present disclosure, optionally, the content attribute of the program may include one of the following attributes:
-节目的内容所属的节目分级。比如,节目分级可依据节目的内容分为非限制级和限制级,进一步地,限制级又可以可包括多个子分级。可以对应于不同的分级设置不同的播放权限。本公开对节目分级方法不作限制。- The program rating to which the content of the program belongs. For example, the program rating may be divided into an unrestricted level and a restricted level according to the content of the program. Further, the restricted level may further include a plurality of sub-levels. Different playback rights can be set corresponding to different ratings. The present disclosure does not limit the program rating method.
-节目的内容所来源的视频应用。- The video application from which the content of the program is sourced.
-节目的内容的类型。比如,节目的内容的类型可分为少儿节目、成人节目等。当然也可以从其他角度进行划分,比如可分为动画片、综艺节目等。- The type of content of the show. For example, the type of content of the program can be divided into children's programs, adult programs, and the like. Of course, it can also be divided from other angles, such as animation, variety shows, and the like.
-节目的内容的信号源。所述信号源可包括但不限于:ATV(Analog TV,输入模拟TV),DTV(Digital TV,即输入数字TV),HDMI(High Definition Multimedia Interface,即高清晰度多媒体接口),AV分量,VGA(Video Graphics Array,视频图形阵列)等。- The source of the content of the program. The signal source may include but is not limited to: ATV (Analog TV), DTV (Digital TV), HDMI (High Definition Multimedia Interface), AV component, VGA (Video Graphics Array, video graphics array), etc.
-节目的内容使用的频道。- The channel used for the content of the program.
以上仅示例性地列举了节目的内容的几种属性,本公开对节目的内容属性不作限制。The above merely exemplifies several attributes of the content of the program, and the present disclosure does not limit the content attributes of the program.
本公开中,可以基于节目的内容属性,提供灵活的播放控制策略。In the present disclosure, a flexible playback control strategy can be provided based on the content attributes of the program.
举例来说,播放控制策略以及相应的播放控制判决方法,可以包括以下之一:For example, the play control strategy and the corresponding play control decision method may include one of the following:
(1)根据节目的内容所属的节目分级定义播放控制策略。(1) A playback control policy is defined according to the program hierarchy to which the content of the program belongs.
不同的节目分级可以对应有不同的播放控制策略。比如,对于非限制级的节目,其对应的播放控制策略可以设置为:不进行播放控制。再比如,对于限制级的节目,其对应的播放控制策略可以设置为:进行播放控制。其中,所述非限制级的节目,通常适合任何年龄段人群收看,无需进行播放控制;所述限制级的节目,通常只适合特定人群(比如成年人或收费用户)收看,需要进行播放控制。Different program ratings can correspond to different playback control strategies. For example, for a non-restricted program, its corresponding playback control policy can be set to: no playback control. For another example, for a program of a restricted level, the corresponding playback control policy may be set to: perform playback control. The program of the non-restricted level is generally suitable for watching by any age group, and no playback control is required; the program of the restricted level is usually only suitable for a specific group of people (such as an adult or a charging user), and needs to be played and controlled.
相应地,若所请求播放的节目所属的节目分级,属于播放控制策略定义的需要进行播放控制的节目分级,则判决需要对所请求播放的节目进行播放控制。Correspondingly, if the program grading to which the program to be played belongs belongs to the program grading defined by the playback control policy and the playback control is required, the decision is made to perform playback control on the requested program.
(2)根据节目的内容所来源的视频应用定义播放控制策略。(2) Define a playback control strategy based on the video application from which the content of the program originates.
不同的视频应用可对应有不同的播放控制策略。比如,对于专门提供儿童节目的视频应用,其对应的播放控制策略可以设置为:对该视频应用提供的节目不进行播放控制。再比如,对于提供限制级节目的视频应用,其对应的播放控制策略可以设置为:对来源于该 视频应用的节目进行播放控制。Different video applications can correspond to different playback control strategies. For example, for a video application that specifically provides a children's program, the corresponding playback control policy may be set to: no playback control is provided for the program provided by the video application. For another example, for a video application that provides a restricted program, its corresponding playback control policy can be set to: play control on a program originating from the video application.
相应地,若所请求播放的节目的内容所来源的视频应用,属于播放控制策略定义的需要进行播放控制的视频应用,则判决需要对所请求播放的节目进行播放控制。Correspondingly, if the video application from which the content of the requested program is derived belongs to a video application defined by the playback control policy that needs to be played back, it is determined that playback control of the requested program is required.
(3)根据节目的内容的类型定义播放控制策略。(3) Define a playback control policy according to the type of content of the program.
不同类型的节目的内容可对应有不同的播放控制策略。比如,对于少儿类节目,其对应的播放控制策略可以设置为:不进行播放控制。对于综艺类节目,其对应的播放控制策略可以设置为:进行播放控制。The content of different types of programs may correspond to different playback control strategies. For example, for a children's program, the corresponding playback control policy can be set to: no playback control. For the variety show, the corresponding play control strategy can be set to: play control.
相应地,若所请求播放的节目的内容类型属于播放控制策略定义的需要进行播放控制的节目类型,则判决需要对所请求播放的节目进行播放控制。Correspondingly, if the content type of the program requested to be played belongs to a program type defined by the playback control policy that needs to be played and controlled, it is decided that playback control of the requested program is required.
(4)根据节目的内容的信号源定义播放控制策略。(4) Define a playback control strategy based on the source of the content of the program.
不同信号源的节目可对应有不同的播放控制策略。Programs of different signal sources may have different playback control strategies.
相应地,若所请求播放的节目的内容的信号源属于播放控制策略定义的需要进行播放控制的信号源,则判决需要对所请求播放的节目进行播放控制。Correspondingly, if the signal source of the content of the requested program belongs to a signal source defined by the playback control policy that needs to be played back, it is determined that playback control of the requested program is required.
(5)根据节目的内容使用的频道定义播放控制策略。(5) The playback control policy is defined according to the channel used by the content of the program.
不同频道的节目可对应有不同的播放控制策略。比如,对于用于播放少儿节目的频道,其对应的播放控制策略可设置为:不进行播放控制。再比如,对于用于播放综艺类节目的频道,其对应的播放控制策略可设置为:进行播放控制。Programs of different channels may have different playback control strategies. For example, for a channel for playing a children's program, the corresponding play control policy may be set to: no play control. For another example, for a channel for playing a variety show program, the corresponding play control policy may be set to: play control.
相应地,若所请求播放的节目的内容使用的频道属于播放控制策略定义的需要进行播放控制的频道,则判决需要对所请求播放的节目进行播放控制。Correspondingly, if the channel used for the content of the program to be played belongs to a channel defined by the playback control policy that needs to be played, the decision is made to perform playback control on the requested program.
可选地,可根据节目的内容的多种属性定义播放控制策略,相应地,在进行播放控制判决时也依据节目的内容的多种属性进行判决,比如,在根据节目内容所来源的视频应用以及节目内容所属的节目分级定义播放控制策略的一个例子中,播放控制策略为:若节目的内容所来源的视频应用为专门提供少儿节目的视频应用,则不进行播放控制,否则,需要按照节目的内容所属的节目分级进行播放控制。相应地,若所请求播放的节目的内容来源于该专门提供少儿节目的视频应用,则可进行播放控制;若所请求播放的节目的内容来源于其他视频应用,且该节目的内容属于非限制级,则也无需进行播放控制;若所请求播放的节目的内容来源于其他视频应用,且该节目的内容属于限制级,则需要对该节目进行播放控制。Optionally, the play control policy may be defined according to various attributes of the content of the program, and accordingly, when the play control decision is made, the decision is also made according to various attributes of the content of the program, for example, in a video application according to the content of the program. And an example of the program hierarchy definition playback control policy to which the program content belongs, the play control strategy is: if the video application from which the content of the program is derived is a video application specifically for providing children's programs, no playback control is performed; otherwise, the program needs to be followed. The program to which the content belongs is hierarchically controlled for playback. Correspondingly, if the content of the program requested to be played is derived from the video application dedicated to the children's program, the playback control may be performed; if the content of the requested program is derived from other video applications, and the content of the program is unrestricted Level, there is no need to play control; if the content of the program requested to be played is derived from other video applications, and the content of the program belongs to the restricted level, then the program needs to be played and controlled.
可选地,视频应用可以根据通过调用该终端提供的第一接口,获得播放控制策略,再根据该播放控制策略以及所请求播放的节目的内容属性,对是否进行播放控制进行判决。Optionally, the video application may obtain a play control policy according to the first interface provided by calling the terminal, and then determine whether to perform play control according to the play control policy and the content attribute of the program to be played.
S204:该视频应用调用权限验证应用并获得所述权限验证应用返回的权限验证结果。S204: The video application invokes the permission verification application and obtains the permission verification result returned by the permission verification application.
其中,所述权限验证应用用于获取用户输入的权限验证信息,对所述权限验证信息进行验证,并返回权限验证结果。The rights verification application is configured to obtain the rights verification information input by the user, verify the rights verification information, and return the rights verification result.
具体地,在一些实施例中,当所述权限验证应用被调用后,可执行如下操作:提示用户输入权限验证信息;获取用户输入的权限验证信息,将用户输入的权限验证信息与操作系统中存储的权限验证信息进行比较,根据比较结果得到权限验证结果。其中,若用户输入的权限验证信息与终端中存储的权限验证信息相匹配,则验证通过,否则验证失败。Specifically, in some embodiments, after the rights verification application is invoked, the following operations may be performed: prompting the user to input the rights verification information; obtaining the rights verification information input by the user, and verifying the rights verification information input by the user and the operating system The stored permission verification information is compared, and the authority verification result is obtained according to the comparison result. If the authorization verification information input by the user matches the authority verification information stored in the terminal, the verification is passed, otherwise the verification fails.
可选地,权限验证信息可以包括以下之一或任意组合:字符密码,手势,生物学特征信息。其中,生物性特征信息包括但不限于:指纹、声纹等,本公开不作限制。根据权限验证信息的不同,权限验证方法也有所区别。比如,如果权限验证信息为密码,则权限验证应用可提供密码输入界面进行显示,以提示用户输入密码,并通过该用户界面接收用户输入的密码,再将用户输入的密码与操作系统中保存的密码进行比较,得到验证结果。再比如,如果权限验证信息为声纹,则权限验证应用可提供用户界面,提示用户读出该用户界面中提示的文字,通过声音采集装置采集到用户的声音并进行声纹提取,再与操作系统中预先存储的声纹进行比较,得到验证结果。Optionally, the rights verification information may include one or any combination of the following: a character password, a gesture, and biological feature information. The biological characteristic information includes, but is not limited to, a fingerprint, a voice print, and the like, and the disclosure is not limited. Depending on the authorization verification information, the authorization verification method is also different. For example, if the authority verification information is a password, the authority verification application can provide a password input interface for displaying, prompting the user to input a password, and receiving the password input by the user through the user interface, and then saving the password entered by the user with the operating system. The password is compared and the verification result is obtained. For another example, if the authority verification information is a voiceprint, the authority verification application can provide a user interface, prompting the user to read the text prompted in the user interface, collecting the voice of the user through the sound collection device, and performing voiceprint extraction, and then operating. The voiceprints pre-stored in the system are compared to obtain verification results.
可选地,在一些实施例中,当所述权限验证应用被调用后,可显示权限验证信息输入界面,获得用户通过所述权限验证信息输入界面输入的权限验证信息。比如,以权限验证信息为密码举例,权限验证应用可使电视机在其屏幕上显示密码输入界面,用户通过遥控器或电视机屏幕上的软键盘,在该用户界面提供的密码输入框中输入密码,从而可以实现在本地进行权限验证。Optionally, in some embodiments, after the rights verification application is invoked, the rights verification information input interface may be displayed, and the rights verification information input by the user through the rights verification information input interface is obtained. For example, taking the authorization verification information as an example of the password, the permission verification application can cause the television to display a password input interface on the screen thereof, and the user inputs the password input box provided in the user interface through a soft keyboard on the remote controller or the television screen. Password, which enables local authority verification.
可选地,在另一些实施例中,当所述权限验证应用被调用后,权限验证应用可以指示与该终端关联的电子设备获取用户输入的权限验证信息,接收该电子设备发送的该用户输入的权限验证信息。比如,以权限验证信息为密码且所述终端为手机举例,预先可设置手机与电视机的关联,比如将家长的手机与电视机进行关联。权限验证应用可通过电视机向关联的手机发送指示信息,以指示该手机显示密码输入界面,用户在该用户界面提供的密码输入框中输入密码,并通过手机将该密码发送给权限验证应用,从而可以实现远程权限验证。Optionally, in another embodiment, after the rights verification application is invoked, the rights verification application may instruct the electronic device associated with the terminal to obtain the rights verification information input by the user, and receive the user input sent by the electronic device. Permission verification information. For example, if the authority verification information is a password and the terminal is an example of a mobile phone, the association between the mobile phone and the television may be set in advance, for example, the parent's mobile phone is associated with the television. The authority verification application can send an indication message to the associated mobile phone through the television to instruct the mobile phone to display a password input interface, and the user inputs a password in the password input box provided by the user interface, and sends the password to the authority verification application through the mobile phone. This enables remote permission verification.
可选地,权限验证信息可以根据权限等级设置多个。比如,按照节目分级从低到高包括C1、C2和C3,相应地,可以设置对应的密码1、密码2和密码3。如果用户输入的密码与密码1匹配,则只能播放节目分级为C1的节目,不能播放节目分级为C2和C3的节目;如果用户输入的密码与密码2匹配,则可以播放节目分级为C1和C2的节目,但不能播放节目分级为C3的节目;若干用户输入的密码与密码3匹配,则可以播放节目分级为 C1、C2和C3的节目。Optionally, the rights verification information may be set according to multiple levels of authority. For example, C1, C2, and C3 are included from low to high according to the program rating, and corresponding password 1, password 2, and password 3 can be set accordingly. If the password entered by the user matches the password 1, only the program with the program rating C1 can be played, and the program with the program rating C2 and C3 cannot be played; if the password entered by the user matches the password 2, the program can be played as C1 and The program of C2, but the program whose program rating is C3 cannot be played; if the password input by several users matches the password 3, the programs whose programs are classified into C1, C2 and C3 can be played.
可选地,视频应用可通过调用第二接口,来调用权限验证应用,并获得所述权限验证应用返回的权限验证结果。Optionally, the video application may invoke the permission verification application by calling the second interface, and obtain the permission verification result returned by the permission verification application.
S205:该视频应用根据权限验证结果,对所请求播放的节目进行播放控制。S205: The video application performs playback control on the requested program according to the permission verification result.
该步骤中,如果权限验证通过,则转入S206,播放所请求播放的节目;如果权限验证失败,则转入S207,放弃播放所请求播放的节目,并可进一步输出提示信息,提示禁止播放的原因。In this step, if the authority verification is passed, the process proceeds to S206, and the requested program is played; if the authority verification fails, the process proceeds to S207, the program requested to be played is abandoned, and the prompt information is further outputted, indicating that the playback is prohibited. the reason.
S206:该视频应用播放所请求播放的节目。S206: The video application plays the program requested to be played.
S207:该视频应用放弃播放所请求播放的节目。S207: The video application abandons playing the program requested to be played.
本公开中,播放控制策略存储于终端,并可提供给安装在该终端上的各个视频应用,该终端中还设置有独立与视频应用的权限验证应用,这样,不再由各个视频应用提供针对节目播放的权限验证功能,而是由该权限验证应用提供权限验证功能,终端上的视频应用均可基于终端中存储的播放控制策略以及该中提供的权限验证应用实现节目的播放控制。依据本公开,一方面,在终端中存储播放控制策略并开放给各个视频应用使用,用户可以不必在每个视频应用中分别设置播放控制策略,简化了用户设置操作;再一方面,由独立于视频应用的权限验证应用提供权限验证功能,可以防止恶意的视频应用对权限验证信息进行试探,从而可以降低播放控制策略失效的风险,提高安全性。In the present disclosure, the play control policy is stored in the terminal, and can be provided to each video application installed on the terminal, and the terminal is also provided with a rights verification application for the independent and video application, so that the video application is no longer provided by each video application. The rights verification function of the program is played, but the rights verification function is provided by the rights verification application, and the video application on the terminal can implement the play control of the program based on the play control policy stored in the terminal and the rights verification application provided in the terminal. According to the present disclosure, on the one hand, the playback control policy is stored in the terminal and is opened for use by each video application, and the user does not have to separately set the playback control policy in each video application, which simplifies the user setting operation; on the other hand, it is independent of The video application's permission verification application provides permission verification function, which can prevent malicious video applications from testing the authorization verification information, thereby reducing the risk of invalidation of the playback control policy and improving security.
基于相同的技术构思,本公开还提供了一种终端,该装置可执行本公开的实施例描述的播放控制流程。Based on the same technical concept, the present disclosure also provides a terminal that can perform the playback control flow described in the embodiments of the present disclosure.
参见图3,为本公开提供的终端的结构示意图。Referring to FIG. 3, a schematic structural diagram of a terminal provided by the present disclosure.
如图所示,该终端300可包括:播放控制模块301a至播放控制模块301c、权限验证模块302和策略存储模块303,进一步地还可包括权限验证信息存储模块304。可选地,权限验证模块302、策略存储模块303和权限验证信息存储模块304位于的操作系统。其中,播放控制模块的数量可以是一个,也可以是多个,图中以3个播放控制模块为例。As shown in the figure, the terminal 300 may include: a play control module 301a to a play control module 301c, a rights verification module 302, and a policy storage module 303, and further may further include a rights verification information storage module 304. Optionally, the rights verification module 302, the policy storage module 303, and the rights verification information storage module 304 are located in an operating system. The number of the play control modules may be one or multiple, and the three play control modules are taken as an example.
其中,播放控制模块301a至播放控制模块301c中的每个播放控制模块可对应于一个视频应用,可以提供节目,比如提供电影或电视节目等。权限验证模块302用于实现权限验证功能,对应于权限验证应用,可以是系统应用或系统服务。策略存储模块303和权限验证信息存储模块304可以是操作系统中的存储单元。Each of the play control module 301a to the play control module 301c may correspond to a video application, and may provide a program, such as providing a movie or a television program. The rights verification module 302 is configured to implement a rights verification function, and corresponding to the rights verification application, may be a system application or a system service. The policy storage module 303 and the rights verification information storage module 304 may be storage units in an operating system.
上述系统架构中,策略存储模块303用于存储播放控制策略。In the above system architecture, the policy storage module 303 is configured to store a play control policy.
播放控制模块301a至播放控制模块301c中的至少一个,用于:接收节目播放指令,所述节目播放指令包括与请求播放的节目关联的信息;读取所述终端预先设置的播放控制 策略;根据所述请求播放的节目的内容属性以及所述读取的播放控制策略,确定是否对所述请求播放的节目进行播放控制;若是,则调用权限验证模块302并获得权限验证模块302返回的权限验证结果;以及,根据所述权限验证结果,对所述请求播放的节目进行播放控制。At least one of the play control module 301a to the play control module 301c, configured to: receive a program play instruction, where the program play instruction includes information associated with the program requested to be played; and read a play control policy preset by the terminal; Determining whether to play control on the program requested to be played; and if so, invoking the rights verification module 302 and obtaining the authority verification returned by the authority verification module 302; a result; and, according to the permission verification result, playing control of the program requested to be played.
权限验证模块302用于获取用户输入的权限验证信息,对所述权限验证信息进行验证,并向播放控制模块301a至播放控制模块301c中的至少一个返回权限验证结果。The rights verification module 302 is configured to obtain the rights verification information input by the user, verify the rights verification information, and return the rights verification result to at least one of the play control module 301a to the play control module 301c.
其中,节目内容的属性以及播放控制策略的相关描述,可参见前述实施例,在此不再重复。For the description of the attributes of the program content and the description of the play control policy, refer to the foregoing embodiment, which is not repeated here.
可选地,播放控制模块301a至播放控制模块301c中的至少一个,具体用于:通过调用所述终端的操作系统提供的第一接口,获得所述播放控制策略。Optionally, at least one of the play control module 301a to the play control module 301c is specifically configured to: obtain the play control policy by calling a first interface provided by an operating system of the terminal.
可选地,播放控制模块301a至播放控制模块301c中的至少一个,具体用于:通过调用所述终端的操作系统提供的第二接口,调用所述权限验证应用并获得所述权限验证应用返回的权限验证结果。Optionally, at least one of the play control module 301a to the play control module 301c is specifically configured to: invoke the rights verification application by using a second interface provided by an operating system of the terminal, and obtain the rights verification application to return Permission verification results.
可选地,权限验证模块302具体用于:获取用户输入的权限验证信息;将用户输入的权限验证信息与所述终端的操作系统中存储的权限验证信息进行比较,根据比较结果得到权限验证结果。Optionally, the privilege verification module 302 is specifically configured to: obtain the privilege verification information input by the user; compare the privilege verification information input by the user with the privilege verification information stored in the operating system of the terminal, and obtain the privilege verification result according to the comparison result. .
可选地,权限验证模块302具体用于:显示权限验证信息输入界面,获得用户通过所述权限验证信息输入界面输入的权限验证信息。Optionally, the rights verification module 302 is specifically configured to: display a rights verification information input interface, and obtain the rights verification information input by the user through the rights verification information input interface.
可选地,权限验证模块302具体用于:指示与所述终端关联的电子设备获取用户输入的权限验证信息,接收所述电子设备发送的用户输入的权限验证信息。Optionally, the rights verification module 302 is specifically configured to: indicate that the electronic device associated with the terminal acquires the rights verification information input by the user, and receives the rights verification information input by the user sent by the electronic device.
可选地,所述权限验证信息包括以下中的至少一种:字符密码,手势,生物学特征信息。Optionally, the rights verification information includes at least one of the following: a character password, a gesture, and biological feature information.
参见图4,示出了本公开提供的终端400(比如智能电视)的结构示意图,即示出了终端300的另一结构示意图。参阅图4所示,终端400包括处理器401、网络接口402。其中,处理器401也可以为控制器。所述处理器401被配置为支持终端300执行图2涉及的功能。网络接口402被配置为支持终端300收发消息的功能。终端400还可以包括存储器403,存储器403用于与处理器401耦合,其保存该设备必要的程序指令和数据。其中,处理器401、网络接口402和存储器403相连,该存储器403用于存储指令,该处理器401用于执行该存储器403存储的指令,以控制网络接口402收发消息,完成上述方法中终端300执行相应功能的步骤。Referring to FIG. 4, a schematic structural diagram of a terminal 400 (such as a smart TV) provided by the present disclosure is shown, that is, another structural diagram of the terminal 300 is shown. Referring to FIG. 4, the terminal 400 includes a processor 401 and a network interface 402. The processor 401 can also be a controller. The processor 401 is configured to support the terminal 300 to perform the functions involved in FIG. 2. The network interface 402 is configured to support the function of the terminal 300 to send and receive messages. Terminal 400 can also include a memory 403 for coupling with processor 401 that retains the program instructions and data necessary for the device. The processor 401, the network interface 402 and the memory 403 are connected, the memory 403 is used to store instructions, and the processor 401 is configured to execute the instructions stored in the memory 403, to control the network interface 402 to send and receive messages, and complete the terminal 300 in the above method. The steps to perform the corresponding function.
本公开中,终端300以及终端400所涉及的与本公开提供的技术方案相关的概念,解 释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。In the present disclosure, the concepts, explanations, detailed descriptions, and other steps of the terminal 300 and the terminal 400 related to the technical solutions provided by the present disclosure are described in the foregoing methods or other embodiments, and are not described herein. .
需要说明的是,本公开上述涉及的处理器可以是中央处理器(central processing unit,CPU),通用处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本公开所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。其中,所述存储器可以集成在所述处理器中,也可以与所述处理器分开设置。It should be noted that the processor involved in the foregoing disclosure may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit. , ASIC), field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The memory may be integrated in the processor or may be separately provided from the processor.
本公开还提供一种计算机存储介质,用于存储一些指令,这些指令被执行时,可以完成前述内容播放控制装置所涉及的任意一种方法。The present disclosure also provides a computer storage medium for storing instructions that, when executed, can perform any of the methods involved in the foregoing content playback control apparatus.
本公开还提供一种计算机程序产品,用于存储计算机程序,该计算机程序用于执行上述方法实施例中涉及的内容播放控制方法。The present disclosure also provides a computer program product for storing a computer program for performing the content playback control method involved in the above method embodiments.
本领域内的技术人员应明白,本公开可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本公开是参照根据本公开的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Claims (19)

  1. 一种用于终端的节目播放控制方法,所述方法包括:A program for controlling broadcast of a terminal, the method comprising:
    运行于所述终端的视频应用接收节目播放指令,所述节目播放指令包括与请求播放的节目关联的信息;A video application running on the terminal receives a program play instruction, the program play instruction including information associated with a program requested to be played;
    所述视频应用读取所述终端预先设置的播放控制策略;The video application reads a play control policy preset by the terminal;
    所述视频应用根据所述请求播放的节目的内容属性以及所述读取的播放控制策略,确定是否对所述请求播放的节目进行播放控制;Determining, according to the content attribute of the program that is requested to be played, and the read play control policy, whether to perform play control on the program that is requested to be played;
    若是,则调用权限验证应用并获得所述权限验证应用返回的权限验证结果;其中,所述权限验证应用与所述视频应用相互独立,用于获取用户输入的权限验证信息,对所述权限验证信息进行验证,并返回权限验证结果;If yes, the rights verification application is invoked and the rights verification result returned by the rights verification application is obtained; wherein the rights verification application is independent of the video application, and is used to obtain the rights verification information input by the user, and verify the rights. The information is verified and the result of the permission verification is returned;
    根据所述权限验证结果,对所述请求播放的节目进行播放控制。And playing control on the program requested to be played according to the permission verification result.
  2. 如权利要求1所述的方法,其特征在于,所述读取所述终端预先设置的播放控制策略包括:The method of claim 1, wherein the reading the preset play control policy of the terminal comprises:
    通过调用所述终端的操作系统提供的第一接口,获得所述播放控制策略。The play control policy is obtained by calling a first interface provided by an operating system of the terminal.
  3. 如权利要求1所述的方法,其特征在于,所述调用所述权限验证应用并获得所述权限验证应用返回的权限验证结果,包括:The method of claim 1, wherein the invoking the rights verification application and obtaining the rights verification result returned by the rights verification application comprises:
    通过调用所述终端的操作系统提供的第二接口,调用所述权限验证应用并获得所述权限验证应用返回的权限验证结果。Calling the rights verification application and obtaining the rights verification result returned by the rights verification application by calling a second interface provided by the operating system of the terminal.
  4. 如权利要求1所述的方法,其特征在于,所述节目的内容属性包括以下之一或任意组合:The method of claim 1 wherein the content attributes of the program comprise one or any combination of the following:
    节目的内容所属的节目分级;The rating of the program to which the content of the program belongs;
    节目的内容所来源的视频应用;The video application from which the content of the program is derived;
    节目的内容的类型;The type of content of the program;
    节目的内容的信号源;a signal source for the content of the program;
    节目的内容使用的频道。The channel used for the content of the program.
  5. 如权利要求1所述的方法,其特征在于,所述根据所述请求播放的节目的内容属性以及所述读取的播放控制策略,确定是否对所述请求播放的节目进行播放控制,包括:The method of claim 1, wherein the determining, according to the content attribute of the program to be played and the read play control policy, whether to perform play control on the program to be played, includes:
    若满足以下条件之一或任意组合,则确定对所请求播放的节目进行播放控制:If one or any combination of the following conditions is met, it is determined that playback control is performed on the requested program:
    所请求播放的节目的内容所述的节目分级,属于所述播放控制策略定义的需要进行播放控制的节目分级;The program rating of the content of the program requested to be played belongs to a program rating defined by the playback control policy that requires playback control;
    所请求播放的节目的内容所来源的视频应用,属于所述播放控制策略定义的需要进行 播放控制的视频应用;The video application from which the content of the requested program is derived belongs to a video application defined by the playback control policy and required to perform playback control;
    所请求播放的节目的内容的类型,属于所述播放控制策略定义的需要进行播放控制的节目类型;The type of the content of the program requested to be played, belonging to the type of program defined by the playback control policy that needs to be played and controlled;
    所请求播放的节目的内容的信号源,属于所述播放控制策略定义的需要进行播放控制的信号源;a signal source of the content of the program requested to be played, belonging to a signal source defined by the playback control policy and required to perform playback control;
    所请求播放的节目的内容使用的频道,属于所述播放控制策略定义的需要进行播放控制的频道。The channel used for the content of the program requested to be played belongs to the channel defined by the playback control policy and required to perform playback control.
  6. 如权利要求1所述的方法,其特征在于,所述获取用户输入的权限验证信息,对所述权限验证信息进行验证,包括:The method according to claim 1, wherein the obtaining the authority verification information input by the user, and verifying the authority verification information comprises:
    获取用户输入的权限验证信息;Obtaining the authority verification information input by the user;
    将用户输入的权限验证信息与所述终端的操作系统中存储的权限验证信息进行比较,根据比较结果得到权限验证结果。The authority verification information input by the user is compared with the authority verification information stored in the operating system of the terminal, and the authority verification result is obtained according to the comparison result.
  7. 如权利要求1所述的方法,其特征在于,所述获取用户输入的权限验证信息,包括:The method according to claim 1, wherein the obtaining the authority verification information input by the user comprises:
    显示权限验证信息输入界面,获得用户通过所述权限验证信息输入界面输入的权限验证信息。The authority verification information input interface is displayed, and the authority verification information input by the user through the authority verification information input interface is obtained.
  8. 如权利要求1所述的方法,其特征在于,所述获取用户输入的权限验证信息,包括:The method according to claim 1, wherein the obtaining the authority verification information input by the user comprises:
    指示与所述终端关联的电子设备获取用户输入的权限验证信息,接收所述电子设备发送的用户输入的权限验证信息。Instructing the electronic device associated with the terminal to obtain the authority verification information input by the user, and receiving the authority verification information input by the user sent by the electronic device.
  9. 如权利要求1所述的方法,其特征在于,所述权限验证信息包括以下中的至少一种:字符密码,手势,生物学特征信息。The method of claim 1, wherein the authority verification information comprises at least one of the following: a character password, a gesture, and biological characteristic information.
  10. 一种终端,其特征在于,包括:处理器、网络接口和存储器,其中,A terminal, comprising: a processor, a network interface, and a memory, wherein
    所述网络接口,用于在所述处理器的控制下接收和发送数据;The network interface, configured to receive and send data under control of the processor;
    所述存储器,用于存储至少计算机指令,所述计算机指令包括电视应用的计算机指令以及权限验证应用的计算机指令,所述权限验证应用与所述视频应用相互独立;The memory is configured to store at least computer instructions, including computer instructions of a television application and computer instructions of a rights verification application, the rights verification application being independent of the video application;
    所述处理器,用于读取所述存储器中的计算机指令,以使所述处理器中的视频应用执行:The processor is configured to read computer instructions in the memory to cause a video application in the processor to execute:
    接收节目播放指令,所述节目播放指令包括与请求播放的节目关联的信息;Receiving a program play instruction, the program play instruction including information associated with the program requested to be played;
    读取所述终端预先设置的播放控制策略;Reading a preset play control policy of the terminal;
    根据所述请求播放的节目的内容属性以及所述读取的播放控制策略,确定是否对所述 请求播放的节目进行播放控制;Determining whether to perform play control on the program requested to be played according to the content attribute of the program to be played and the read play control policy;
    若是,则调用所述权限验证应用并获得所述权限验证应用返回的权限验证结果;其中,所述权限验证应用用于获取用户输入的权限验证信息,对所述权限验证信息进行验证,并返回权限验证结果;If yes, the rights verification application is invoked and the rights verification result returned by the rights verification application is obtained; wherein the rights verification application is used to obtain the rights verification information input by the user, verify the rights verification information, and return Authority verification result;
    根据所述权限验证结果,对所述请求播放的节目进行播放控制。And playing control on the program requested to be played according to the permission verification result.
  11. 如权利要求10所述的终端,其特征在于,所述处理器读取所述终端预先设置的播放控制策略包括:The terminal according to claim 10, wherein the reading, by the processor, the play control policy preset by the terminal comprises:
    通过调用操作系统提供的第一接口,获得所述播放控制策略。The playback control policy is obtained by calling a first interface provided by the operating system.
  12. 如权利要求10所述的终端,其特征在于,所述处理器调用所述权限验证应用并获得所述权限验证应用返回的权限验证结果,包括:The terminal according to claim 10, wherein the processor invokes the rights verification application and obtains the rights verification result returned by the rights verification application, including:
    通过调用所述终端的操作系统提供的第二接口,调用所述权限验证应用并获得所述权限验证应用返回的权限验证结果。Calling the rights verification application and obtaining the rights verification result returned by the rights verification application by calling a second interface provided by the operating system of the terminal.
  13. 如权利要求10所述的终端,其特征在于,所述节目的内容属性包括以下之一或任意组合:The terminal of claim 10, wherein the content attribute of the program comprises one or any combination of the following:
    节目的内容所属的节目分级;The rating of the program to which the content of the program belongs;
    节目的内容所来源的视频应用;The video application from which the content of the program is derived;
    节目的内容的类型;The type of content of the program;
    节目的内容的信号源;a signal source for the content of the program;
    节目的内容使用的频道。The channel used for the content of the program.
  14. 如权利要求10所述的终端,其特征在于,所述处理器根据所述请求播放的节目的内容属性以及所述读取的播放控制策略,确定是否对所述请求播放的节目进行播放控制,包括:The terminal according to claim 10, wherein the processor determines whether to play control on the program to be played according to the content attribute of the program to be played and the read play control policy, include:
    若满足以下条件之一或任意组合,则确定对所请求播放的节目进行播放控制:If one or any combination of the following conditions is met, it is determined that playback control is performed on the requested program:
    所请求播放的节目的内容所述的节目分级,属于所述播放控制策略定义的需要进行播放控制的节目分级;The program rating of the content of the program requested to be played belongs to a program rating defined by the playback control policy that requires playback control;
    所请求播放的节目的内容所来源的视频应用,属于所述播放控制策略定义的需要进行播放控制的视频应用;The video application from which the content of the requested program is derived belongs to a video application defined by the playback control policy and required to perform playback control;
    所请求播放的节目的内容的类型,属于所述播放控制策略定义的需要进行播放控制的节目类型;The type of the content of the program requested to be played, belonging to the type of program defined by the playback control policy that needs to be played and controlled;
    所请求播放的节目的内容的信号源,属于所述播放控制策略定义的需要进行播放控制的信号源;a signal source of the content of the program requested to be played, belonging to a signal source defined by the playback control policy and required to perform playback control;
    所请求播放的节目的内容使用的频道,属于所述播放控制策略定义的需要进行播放控制的频道。The channel used for the content of the program requested to be played belongs to the channel defined by the playback control policy and required to perform playback control.
  15. 如权利要求10所述的终端,其特征在于,所述处理器获取用户输入的权限验证信息,对所述权限验证信息进行验证,包括:The terminal according to claim 10, wherein the processor obtains the authority verification information input by the user, and performs verification on the authority verification information, including:
    获取用户输入的权限验证信息;Obtaining the authority verification information input by the user;
    将用户输入的权限验证信息与所述终端的操作系统中存储的权限验证信息进行比较,根据比较结果得到权限验证结果。The authority verification information input by the user is compared with the authority verification information stored in the operating system of the terminal, and the authority verification result is obtained according to the comparison result.
  16. 如权利要求10所述的终端,其特征在于,所述处理器获取用户输入的权限验证信息,包括:The terminal according to claim 10, wherein the processor obtains the authority verification information input by the user, including:
    显示权限验证信息输入界面,获得用户通过所述权限验证信息输入界面输入的权限验证信息。The authority verification information input interface is displayed, and the authority verification information input by the user through the authority verification information input interface is obtained.
  17. 如权利要求10所述的终端,其特征在于,所述处理器获取用户输入的权限验证信息,包括:The terminal according to claim 10, wherein the processor obtains the authority verification information input by the user, including:
    指示与所述终端关联的电子设备获取用户输入的权限验证信息,接收所述电子设备发送的用户输入的权限验证信息。Instructing the electronic device associated with the terminal to obtain the authority verification information input by the user, and receiving the authority verification information input by the user sent by the electronic device.
  18. 如权利要求10所述的终端,其特征在于,所述权限验证信息包括以下中的至少一种:字符密码,手势,生物学特征信息。The terminal according to claim 10, wherein the authority verification information comprises at least one of the following: a character password, a gesture, and biological characteristic information.
  19. 一种计算机可读的非易失性存储介质,所述计算机可读非易失性存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行权利要求1至9中任一项所述的方法。A computer readable non-volatile storage medium storing computer-executable instructions for causing the computer to perform the claims 1 to 9 The method of any of the preceding claims.
PCT/CN2018/071810 2018-01-08 2018-01-08 Program playback control method and terminal WO2019134171A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/071810 WO2019134171A1 (en) 2018-01-08 2018-01-08 Program playback control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/071810 WO2019134171A1 (en) 2018-01-08 2018-01-08 Program playback control method and terminal

Publications (1)

Publication Number Publication Date
WO2019134171A1 true WO2019134171A1 (en) 2019-07-11

Family

ID=67143571

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/071810 WO2019134171A1 (en) 2018-01-08 2018-01-08 Program playback control method and terminal

Country Status (1)

Country Link
WO (1) WO2019134171A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588472A (en) * 2008-05-22 2009-11-25 华为技术有限公司 Method, device and system for controlling program broadcasting
CN104202625A (en) * 2014-08-26 2014-12-10 青岛海信电器股份有限公司 Method and device for processing media file
CN106897629A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 The control method and terminal of terminal applies
CN107437023A (en) * 2017-06-23 2017-12-05 珠海格力电器股份有限公司 A kind of control method of terminal applies, control device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588472A (en) * 2008-05-22 2009-11-25 华为技术有限公司 Method, device and system for controlling program broadcasting
CN104202625A (en) * 2014-08-26 2014-12-10 青岛海信电器股份有限公司 Method and device for processing media file
CN106897629A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 The control method and terminal of terminal applies
CN107437023A (en) * 2017-06-23 2017-12-05 珠海格力电器股份有限公司 A kind of control method of terminal applies, control device and mobile terminal

Similar Documents

Publication Publication Date Title
US8473739B2 (en) Advanced content authentication and authorization
US20230031833A1 (en) Managing concurrent content playback
US9565169B2 (en) Device theft protection associating a device identifier and a user identifier
US11323774B2 (en) Method and apparatus for identifying a single user requesting conflicting content and resolving said conflict
US9515834B2 (en) Content protection continuity through authorized chains of components
WO2015096633A1 (en) Multi-account management and control method and system in smart television system
US11847069B2 (en) Granular access control for secure memory
WO2020125382A1 (en) Information display method and apparatus, and electronic device
US20120315019A1 (en) Access controls for known content
CN103546788A (en) Method for controlling external input and broadcast receiving apparatus
TW202019124A (en) Systems, methods, and media for managing user credentials
WO2017166523A1 (en) Unlocking method, device, and intelligent television
US10397296B2 (en) Comment link for shared streaming media content
US20110209206A1 (en) Access restriction for computing content
US8656506B2 (en) Rights enforcement of unencrypted content
US8635692B2 (en) System and method for user friendly detection of spammers
WO2019134171A1 (en) Program playback control method and terminal
US10897648B2 (en) Method and apparatus for identifying a single user requesting conflicting content and resolving said conflict
WO2019134173A1 (en) Method for processing channel of smart television, and smart television
CN111462763B (en) Voice command verification method implemented by computer and electronic device
US8533816B2 (en) Method of securing a changing scene, corresponding device, signal and computer program, method of updating a changing scene, corresponding device and computer program
EP4260570A1 (en) Secure video capture platform
US8279729B2 (en) Content recording method and apparatus
WO2019085038A1 (en) Method for loading data to third party by vehicle-mounted system, and vehicle-mounted system
KR20130072212A (en) Media registration and authorization on a media player

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18898496

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18898496

Country of ref document: EP

Kind code of ref document: A1