CN111263222B - Channel playing control method and device, television and readable storage medium - Google Patents
Channel playing control method and device, television and readable storage medium Download PDFInfo
- Publication number
- CN111263222B CN111263222B CN202010209831.5A CN202010209831A CN111263222B CN 111263222 B CN111263222 B CN 111263222B CN 202010209831 A CN202010209831 A CN 202010209831A CN 111263222 B CN111263222 B CN 111263222B
- Authority
- CN
- China
- Prior art keywords
- channel
- application
- identifier
- information
- playing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000008569 process Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
- H04N21/4384—Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a channel playing control method, which comprises the following steps: acquiring a channel control instruction of a television; when the channel control instruction comprises a channel identifier, determining first application information corresponding to the channel identifier, and acquiring a second application identifier corresponding to a playing application installed on the television; the first application information comprises first application identifiers supporting playing of a plurality of first preset applications of a channel corresponding to the channel identifier; determining a first target application in the playing applications installed in the television according to the first application identifier and the second application identifier; and controlling the first target application to play the channel corresponding to the channel identifier. The invention also discloses a channel playing control device, a television and a readable storage medium. The invention aims to realize that the television based on a plurality of playing applications can quickly respond to the channel calling requirement of a user and improve the convenience of the user for calling the channel.
Description
Technical Field
The present invention relates to the field of channel playing technologies, and in particular, to a channel playing control method, a channel playing control apparatus, a television, and a readable storage medium.
Background
At present, users have diversified playing requirements in the use of the television, and generally install a plurality of applications on the television, and there may be differences in channels supporting playing among different applications.
However, when a user sends an instruction to call a channel, only the currently opened application of the television will respond, and if the terminal such as the television does not currently open any application, the sent instruction is not a control instruction corresponding to the currently opened application, or the current application does not have a channel required by the user instruction, the user cannot control the terminal such as the television to play the required channel, and the user needs to query and open the application capable of playing the required channel by himself to meet the playing requirement. Therefore, the channel playing control of the current terminal based on multiple applications cannot realize the fast calling of the playing channel required by the user, and is very inconvenient.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a channel playing control method, aiming at realizing that a terminal based on a plurality of playing applications can quickly respond to the channel calling requirement of a user and improving the convenience of the user for calling the channel.
In order to achieve the above object, the present invention provides a channel play control method, which comprises the following steps:
acquiring a channel control instruction of a terminal;
when the channel control instruction comprises a channel identifier, determining first application information corresponding to the channel identifier, and acquiring a second application identifier corresponding to a playing application installed in the terminal; the first application information comprises first application identifiers supporting playing of a plurality of first preset applications of a channel corresponding to the channel identifier;
determining a first target application in the playing applications installed in the terminal according to the first application identifier and the second application identifier;
and controlling the first target application to play the channel corresponding to the channel identifier.
Optionally, the first application information further includes preset channel hopping information associated with each first application identifier, and before the step of controlling the first target application to play the channel corresponding to the channel identifier, the method further includes:
in the first application information, determining preset channel skipping information associated with an application identifier corresponding to the first target application as target channel skipping information;
the step of controlling the first target application to play the channel corresponding to the channel identifier includes:
and calling a corresponding interface of the first target application according to the target channel skipping information, and playing the channel corresponding to the channel identifier.
Optionally, the television control method further includes:
when a newly added application supporting a channel corresponding to the channel identifier exists, acquiring and associating the application identifier of the newly added application and channel skip information related to the channel identifier to form newly added information;
and updating the first application information according to the newly added information.
Optionally, the step of determining a first target application from the playing applications installed in the terminal according to the first application identifier and the second application identifier includes:
acquiring the priority of the installed playing application of the terminal;
according to the priority, selecting a corresponding second application identifier to be compared with each first application identifier;
and when the first application identifier matched with the second application identifier with the high priority exists, taking the application corresponding to the second application identifier with the high priority as the first target application in the playing applications installed in the terminal.
Optionally, after the step of obtaining the channel control instruction of the terminal, the method further includes:
when the channel control instruction comprises channel switching pointing information, determining that the application in the playing state of the terminal is a second target application;
determining a channel switching instruction corresponding to the channel switching pointing information in the second target application as a target instruction;
and controlling the second target application to switch channels according to the target instruction.
Optionally, the step of determining a channel switching instruction corresponding to the channel switching direction information in the second target application as a target instruction includes:
acquiring second application information corresponding to the channel switching pointing information, and acquiring a third application identifier of the second target application; the second application information comprises fourth application identifications of a plurality of second preset applications and corresponding channel switching instructions related to the channel switching direction information;
and inquiring the second application information according to the third application identifier, and taking a channel switching instruction corresponding to a fourth application identifier matched with the third application identifier as the target instruction.
Optionally, before the step of obtaining the channel control instruction of the terminal, the method further includes:
acquiring first channel skipping information of each first preset application about a channel corresponding to the channel identifier;
converting each first channel skipping information into a set format to obtain preset channel skipping information corresponding to each first preset application;
and after correspondingly associating the preset channel skipping information of each first preset application with the first application identifier of each first preset application, establishing a corresponding relation with the channel identifier.
Optionally, the step of obtaining the channel control instruction of the terminal includes:
and when a voice signal is detected, analyzing the voice signal to obtain the channel control instruction.
In addition, to achieve the above object, the present invention further provides a channel play control apparatus, including: the system comprises a memory, a processor and a channel playing control program stored on the memory and capable of running on the processor, wherein the channel playing control program realizes the steps of the channel playing control method according to any one of the above items when being executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a television set, which includes the channel playing control device as described above.
In addition, to achieve the above object, the present invention further provides a readable storage medium, wherein a channel playing control program is stored on the readable storage medium, and when being executed by a processor, the channel playing control program implements the steps of the channel playing control method according to any one of the above items.
The invention provides a channel playing control method, which is characterized in that when an acquired channel control instruction of a television comprises a channel identifier, first application information corresponding to the channel identifier is determined, and a second application identifier corresponding to an installed playing application of the television is acquired, wherein the first application information comprises first application identifiers of a plurality of first preset applications supporting the playing of a channel corresponding to the channel identifier, a first target application capable of playing the channel corresponding to the channel identifier can be determined in the playing application installed in a terminal according to the first application identifier and the second application identifier, and the first target application is controlled to play the channel corresponding to the channel identifier. By the method, when the terminal is provided with the plurality of playing applications, as long as the instruction sent by the user comprises the channel identifier, the terminal can quickly determine the applications capable of playing the required channels based on the first application identifier and the second application identifier and control the determined applications to play the required channels, so that the terminal can quickly respond to the channel calling requirements of the user no matter what state the applications in the terminal are and no matter how the channel control instruction sent by the user is, and the convenience of the user in calling the channels is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure involved in the operation of a channel playing control apparatus according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a channel play control method according to an embodiment of the present invention;
FIG. 3 is a detailed flowchart of step S30 in FIG. 2;
FIG. 4 is a flowchart illustrating a channel play control method according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a channel play control method according to another embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring a channel control instruction of a terminal; when the channel control instruction comprises a channel identifier, determining first application information corresponding to the channel identifier, and acquiring a second application identifier corresponding to a playing application installed in the terminal; the first application information comprises first application identifiers supporting playing of a plurality of first preset applications of a channel corresponding to the channel identifier; determining a first target application in the playing applications installed in the terminal according to the first application identifier and the second application identifier; and controlling the first target application to play the channel corresponding to the channel identifier.
In the prior art, different channels supporting playing in different applications may be different, when a user sends an instruction to call a channel, only the currently opened application of a terminal such as a television will respond, if the terminal such as the television does not currently open any application, the sent instruction is not a control instruction corresponding to the currently opened application, or the current application does not have a channel required by the user instruction, the user cannot control the television to play the required channel, and the user needs to query and open the application capable of playing the required channel by himself to meet the playing requirement. Therefore, the channel playing control of the tv based on multiple applications cannot realize fast tuning of the playing channel required by the user, which is very inconvenient.
The invention provides a solution, aiming at realizing that a television based on a plurality of playing applications can quickly respond to the channel calling requirement of a user and improving the convenience of the user for calling the channel.
The invention provides a channel playing control device which is applied to channel playing control of terminals such as televisions and the like provided with a plurality of playing applications (especially a plurality of applications capable of playing live channels).
As shown in fig. 1, the channel playing control device may include: a processor 1001, such as a CPU, memory 1002, data interface 1003, and voice module 1004. The memory 1002 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1002 may alternatively be a storage device separate from the processor 1001.
The memory 1002, the data interface 1003, and the voice module 1004 are connected to the processor 1001. Specifically, the data interface 1003 may be specifically configured to obtain live broadcast resource data of a terminal such as a television, and the processor 1001 may invoke an application in the terminal such as the television to play the received live broadcast resource data. The voice module 1004 may be specifically configured to collect a voice signal of a user, and the processor 1001 may be specifically configured to parse the voice signal to obtain a control instruction, such as a channel control instruction, related to a terminal, such as a television.
Those skilled in the art will appreciate that the configuration of the device shown in fig. 1 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1002, which is a kind of computer storage medium, may include a channel play control program therein. In the apparatus shown in fig. 1, the processor 1001 may be configured to call a channel play control program stored in the memory 1002 and perform the following step operations of any one of the embodiments of the channel play control method.
The embodiment of the invention also provides a channel playing control method, which is applied to the channel playing control of display terminals such as televisions, mobile phones and the like which are provided with a plurality of playing applications. In this embodiment, the playback control of a live channel in a plurality of live applications in a terminal is mainly targeted. In other embodiments, the method can also be applied to channel playing control in non-live applications as required.
In an embodiment, referring to fig. 2, the channel playing control method includes:
step S10, acquiring a channel control instruction of the terminal;
in this embodiment, the terminal specifically includes a set-top box, a television, a projector, and other terminals capable of performing display control. The channel control instruction may be obtained according to a type of an instruction input channel of a terminal such as a television, for example, the channel control instruction may be obtained based on an input instruction of a remote controller received by the terminal such as the television. In addition, when a voice module is installed in a terminal such as a television, the voice module can analyze the voice signal to obtain a channel control instruction when the voice signal is detected. The voice signal can be analyzed, whether the voice signal has the related voice information such as the channel identification and/or the channel switching pointing information or not is judged, and if the voice signal has the related voice information, the corresponding information is extracted to be used as the channel control instruction.
The channel control instruction may be obtained when the terminal such as the television is in any state, for example, when the terminal such as the television is turned on and any application is in a turned-off state, when the terminal such as the television is in a live broadcast state, when the terminal such as the television is in a non-live broadcast state, when the terminal such as the television is in a standby state, and the like.
Step S20, when the channel control instruction includes a channel identifier, determining first application information corresponding to the channel identifier, and acquiring a second application identifier corresponding to a playing application installed in the terminal; the first application information comprises first application identifiers supporting playing of a plurality of first preset applications of a channel corresponding to the channel identifier;
the channel identifier is specifically an identifier for distinguishing different channels, and specific content can be set according to actual conditions. Specifically, the channel identifier may be a name of the channel, a logo corresponding to the channel, or the like. In this embodiment, the channel identifier is specifically a name of a channel, and may include a unique identifier (e.g., CCTV-1, etc.) that is defined by a common protocol for the channel to be distinguished from other channels in different data sources, and may also include other aliases (e.g., CCTV1 integrated/central tv station integrated channel/central tv station integrated, etc.) that are also used to distinguish the channel from other channels, besides the unique identifier.
Before step S10, all channel resource data (available from a live broadcast website and a live broadcast application manufacturer) that can be played on a terminal such as a television can be obtained, and channel identifiers of all channels that can be played on a terminal such as a television are extracted from the channel resource data as pre-stored channel identifiers. Based on each pre-stored channel identifier, all applications supporting playing of the channel corresponding to the pre-stored channel identifier are determined, application identifiers (which may be application names, application numbers, and the like) of all applications are acquired to generate preset application information, and the preset application information is associated with the corresponding pre-stored channel identifier. Different pre-stored channel identifiers are associated with different preset application information, and a plurality of pre-stored channel identifiers are associated with the corresponding preset application information to form a channel calling list.
When the channel control command includes a channel identifier, the preset application information corresponding to the pre-stored channel identifier that is consistent with the channel identifier may be determined as the first application information based on the channel tuning list. In addition, the application list information in the television system may also be acquired, and the application identifiers (which may be application names, application numbers, and the like) of all applications that can perform channel resource playing on the terminal such as the television and the like are determined based on the acquired application list information as the second application identifiers. For example, all live applications on a terminal such as a television can be determined, and an application identifier of each live application is obtained as the second application identifier.
Step S30, determining a first target application in the playing applications installed in the terminal according to the first application identifier and the second application identifier;
and comparing the first application identifier with the second application identifier, and determining a first target application of a channel corresponding to the playing channel identifier in the installed playing applications of the terminals such as the television and the like according to the comparison result. Specifically, all the first application identifiers and all the second application identifiers may be compared one by one, and when there is a first application identifier matching the second application identifier, it may be indicated that the application corresponding to the second application identifier supports playing of the channel corresponding to the channel identifier on the terminal such as the television, and based on this, all the applications supporting playing of the channel corresponding to the channel identifier may be determined in the playing application installed on the terminal such as the television, so as to obtain the first application set. And selecting one from the first application set arbitrarily or according to a specific rule (such as definition, use frequency and the like) as the first target application. For example, the application with the highest playing definition in the channel corresponding to the channel identifier in the first application set may be selected as the target application.
Step S40, controlling the first target application to play the channel corresponding to the channel identifier.
And calling an application interface of the first target application to play a channel corresponding to the channel identifier.
In this embodiment, a method for controlling channel playing is provided, where an obtained channel control instruction of a terminal such as a television includes a channel identifier, determining first application information corresponding to the channel identifier, and obtaining a second application identifier corresponding to a playing application installed in the terminal such as the television, where the first application information includes first application identifiers of a plurality of first preset applications that support playing of a channel corresponding to the channel identifier, and according to the first application identifier and the second application identifier, a first target application that can play the channel corresponding to the channel identifier is determined in the playing application installed in the terminal such as the television, and the first target application is controlled to play the channel corresponding to the channel identifier. By the method, when a plurality of playing applications are installed on terminals such as a television and the like, as long as the instruction sent by the user comprises the channel identifier, the terminals such as the television and the like can quickly determine the applications capable of playing the required channels based on the first application identifier and the second application identifier and control the determined applications to play the required channels, so that the terminals such as the television and the like can quickly respond to the channel calling requirements of the user no matter what state the applications in the terminals such as the television and the like are in and no matter what channel control instruction is sent by the user, and the convenience of the user in calling the channels is improved. By the method, the user can call the application B to play the channel required by the user in the use process of the application A, and the user can call any application to open and play the channel required by the user when all the applications are in the closed state.
Specifically, in this embodiment, referring to fig. 3, step S30 may specifically include:
step S31, acquiring the priority of the playing application installed in the terminal;
the priority can be set according to a setting instruction of a user, can also be determined according to the use frequency of each application (the higher the use frequency is, the higher the corresponding priority can be), can also be determined according to the definition of a channel corresponding to each application playing channel identifier (the higher the definition is, the higher the priority can be), and the like.
Step S32, selecting corresponding second application identification to compare with each first application identification according to the priority of the priority;
step S33, when there is a first application identifier matching with a second application identifier with a higher priority, in the playing application installed in the terminal, taking the application corresponding to the second application identifier with a higher priority as the first target application.
And selecting the corresponding second application identifier in sequence according to the priority to compare with each first application identifier in the first application information. Specifically, when a playing application in an open state currently exists in the terminal, the priority of the playing application may be set to be the highest, and the playing applications installed in the terminals other than the current application are reordered according to the obtained priority.
Specifically, the second application identifier corresponding to the application with the highest priority may be compared with each piece of first application identifier information, and if the first application identifier exists, the comparison may be stopped, and the application corresponding to the second application identifier is used as the first target application; and if the first application identification matched with the second application identification does not exist, continuously comparing the second application identification corresponding to the application with the next priority with each piece of first application identification information until the first application identification matched with the compared second application identification exists, and taking the application corresponding to the second application identification which is matched with the first application identification and has the highest priority as the first target application.
In this embodiment, in the above manner, the second application identifiers are compared with the first application identifiers in sequence according to the priority, so that the first target application can be obtained without comparing all the first application identifiers with all the second application identifiers, and the first target application can be quickly determined, thereby further improving the efficiency of channel tuning.
Further, based on the foregoing embodiment, another embodiment of the channel playing control method of the present application is provided. In another embodiment, the first application information further includes preset channel hopping information associated with each of the first application identifiers. When the preset application information is generated, in addition to the application identifier corresponding to each pre-stored channel identifier, channel hopping information about the corresponding pre-stored channel identifier in the application corresponding to each pre-stored channel identifier can be acquired as the preset channel hopping information. And associating the preset channel skipping information corresponding to each pre-stored channel identifier with the corresponding application identifier to generate preset application information. And storing a plurality of preset application information and corresponding pre-stored channel identifications in an associated manner to form the channel calling list. In the channel calling list, each pre-stored channel identifier has a plurality of preset application identifiers associated with the pre-stored channel identifier, and in the application identifiers corresponding to each pre-stored channel identifier, each application identifier has preset channel skipping information associated with the application identifier and related to the corresponding pre-stored channel identifier. The preset channel skipping information is specifically a parameter required for enabling an application corresponding to the application identifier to open a channel corresponding to the pre-stored channel identifier. The preset channel hopping information may specifically include a package name of the application, and attribute parameters (such as an action attribute and a params parameter) corresponding to the channel. In particular, the channel tuning list is formed as shown in the following table.
Based on this, referring to fig. 4, before step S40, the method further includes:
step S01, in the first application information, determining preset channel hopping information associated with the application identifier corresponding to the first target application as target channel hopping information;
specifically, in the first application information, the preset channel hopping information associated with the first application identifier matched with the application identifier corresponding to the first target application is determined as target channel hopping information.
Step S40 includes:
step S41, calling an interface corresponding to the first target application according to the target channel hopping information, and playing a channel corresponding to the channel identifier.
Specifically, different interfaces are correspondingly arranged on different channels in different applications in terminals such as a television, and different interfaces have different channel skip information correspondingly. The corresponding target interface in the first target application can be determined according to the target channel skipping information, and the target interface is called to play the channel resource corresponding to the channel identifier, so that the first target application can play the channel required by the user.
In this embodiment, the preset channel hopping information is associated with the channel identifier, so that the hopping information required for implementing channel hopping can be determined while the first target application is determined based on the first application information, and channel hopping information is obtained without additionally interacting with the first target application and other channels, thereby further improving the efficiency of the terminals such as a television and the like for implementing channel calling required by a user.
Further, in this embodiment, the channel playing control method further includes:
step S50, when there is a new application supporting the channel corresponding to the channel identifier, acquiring and associating the application identifier of the new application and the channel skip information related to the channel identifier to form new information;
the newly added application here refers to an application other than the application associated with the channel identification in the first application information.
And step S60, updating the first application information according to the newly added information.
Specifically, in the channel skip list, adding new information to the first application information corresponding to the current channel identifier, thereby implementing calling of a channel in the new application.
Here, through the above steps S50 and S60, it is not necessary to form a channel tuning list every time an application appears, and a terminal such as a television set may only have one channel tuning list and update information of a newly added application into first application information corresponding to a channel identifier in the channel tuning list, so that the corresponding information of the newly added application may be associated with the channel identifier, thereby enabling a user to tune a channel in the newly added application based on a channel control instruction, implementing fast update of related information of the newly added application, and improving compatibility when the terminal such as the television set implements channel tuning based on multiple applications.
Further, based on any of the above embodiments, another embodiment of the channel playing control method of the present application is provided. In this embodiment, referring to fig. 5, after step S10, the method further includes:
step S200, when the channel control instruction comprises channel switching pointing information, determining that the application of the terminal in the playing state at present is a second target application;
the channel switch direction information specifically refers to information that does not include a channel identifier and may point to an explicit channel, for example, the channel switch direction information may specifically include "previous channel" and "next channel".
The second target application refers to an application which is currently started or is playing videos by a terminal such as a television. Specifically, the second target application may refer to an application in which a terminal such as a television is currently in a live state.
Specifically, after step S10, it may be determined whether the channel control command includes a channel identifier, if so, step S20 is executed, if not, it is determined whether the channel control command includes channel switching direction information, if so, step S200 is executed, and if the channel control command does not include the channel identifier nor the channel switching direction information, a voice prompt "does not support the channel command" may be output.
Step S300, determining a channel switching instruction corresponding to the channel switching pointing information in the second target application as a target instruction;
different channel switching pointing information may correspond to different channel switching commands in different applications. The channel switching pointing information is different from the channel to which the same channel switching pointing information is switched when executed in different applications. For example, the channel switching instruction corresponding to the channel switching information of the previous channel in the application a is instruction 1; the channel switching instruction corresponding to the channel switching information of the previous channel in the application B is an instruction 2; and under the condition that the channels currently played by the application A and the application B are consistent, the channel is switched to the channel 1 when the application A executes the instruction 1, and the channel is switched to the channel 2 when the application B executes the instruction 2.
The channel switching instruction is specifically a control parameter corresponding to the channel switching instruction used in the application according to the channel switching direction information. The channel switching direction information can be sent to the second target application, and a channel switching instruction returned by the second target application based on the channel switching direction information is received as a target instruction.
In addition, in order to further increase the speed of channel switching, interaction with the application is avoided, wherein step S300 may specifically include:
step S310, second application information corresponding to the channel switching directing information is obtained, and a third application identifier of the second target application is obtained; the second application information comprises fourth application identifications of a plurality of second preset applications and corresponding channel switching instructions related to the channel switching direction information;
specifically, the playing application installed in the terminal such as the television can be used as the second preset application. The method comprises the steps of obtaining preset channel directing information preset by terminals such as a television and the like, obtaining an application identifier of each playing application installed on the terminals such as the television and the like as a fourth application identifier, determining a channel switching instruction corresponding to the preset channel directing information in each playing application installed on the terminals such as the television and the like, and performing correlation storage on the obtained preset channel directing information, the fourth application identifier corresponding to the preset channel directing information and the channel switching instruction corresponding to each fourth application identifier to form second application information. Different preset channel pointing information can be correspondingly associated with different application identifiers, and in addition, different channel switching instructions corresponding to different application identifiers corresponding to the same preset channel pointing information are different. Specifically, the preset channel switching direction information and the second application information formed by the preset channel switching direction information can be referred to the following table.
The third application identifier may specifically be an application name, an application number, and the like of the second target application.
Step S320, querying the second application information according to the third application identifier, and using a channel switching instruction corresponding to a fourth application identifier matched with the third application identifier as the target instruction.
And step S400, controlling the second target application to switch channels according to the target instruction.
In this embodiment, by the above manner, the channel control instruction sent by the user can be directly sent out without including a channel identifier, and the user can also call the required channel no matter which application is currently running on the terminal such as a television, so that convenience of calling the channel of the user is further improved, and compatibility of calling the channel when the terminal such as a television has a plurality of playing applications is also improved.
Further, based on any of the above embodiments, a further embodiment of the channel playing control method of the present application is provided. In this embodiment, the first application information includes first application identifiers supporting playing of a plurality of first preset applications of a channel corresponding to the channel identifier, and preset channel hopping information associated with each of the first application identifiers, and before the step S10, the method further includes:
step S01, acquiring first channel hopping information of each first preset application regarding a channel corresponding to the channel identifier;
the first channel hopping information is specifically parameter information for channel hopping corresponding to a channel identifier, which is pre-configured in a first preset application. There is a difference in the format of the first channel hopping information of the different first preset applications.
Step S02, converting each of the first channel hopping information into a set format to obtain preset channel hopping information corresponding to each of the first preset applications;
and respectively encapsulating the first channel jump information of each first preset application into a set format. The setting format may be formulated according to an actual protocol between the server and the terminal, and in this embodiment, the setting format is specifically a json format.
Step S01, after the preset channel hopping information of each of the first preset applications is associated with the first application identifier of each of the first preset applications, establishing a corresponding relationship with the channel identifier.
The correspondence may be specifically generated by a server connected to a terminal such as a television.
Specifically, for different first preset applications, when the channel identifier is "one center", the formed corresponding relationship may be as follows:
the corresponding relation of the first preset application A is as follows:
[{"id":1,
"packageName": direct broadcast application a ",
"channelName": central one ",
"intentType":"activity",
"intentAction":"com.**.player.PlayChannel",
"channelPriority":1,
"intentParameter":"{\"channel_id\":\"cctv1\"}"},
corresponding relation of first preset application B
{"id":2,
"packageName": live app B ",
"channelName": central one ",
"intentType":"activity",
"intentAction":"com.**.player.SelectChannel",
"channelPriority":2,
"intentParameter":"{\"channel_index\":\"cctv1\"}"}]
wherein, the packageName is the name of the application package; the intentType is a skip interface type and is usually provided by a live application manufacturer; the intentAction is an action name, usually provided by a live application vendor; the channel priority is the priority of the application, and can be used for carrying out priority sequencing on each application when multiple applications can jump to the same channel so as to determine the target channel jumping information; the intentParameter is a jump parameter table in the Json format (the name of the applied packet, and the attribute parameters corresponding to the channel (such as action attribute, params parameter, etc.).
Based on the corresponding relationship, after the channel identifier is obtained, preset channel hopping information in a json format corresponding to the application of the channel capable of being identified by the channel identifier can be obtained in the corresponding relationship and used as target channel hopping information to switch the channel. In the process of determining the target channel skipping information, if the current live application of the television supports the channel identifier in the corresponding relation, the preset skipping information corresponding to the current live application is preferentially acquired as the target channel skipping information; otherwise, according to the priority in the corresponding relation, determining the application with the highest priority as a first target application, and using the preset channel skipping information corresponding to the first target application as the target channel skipping information.
In this embodiment, when the channel is tuned based on multiple applications, since the channel hopping information of each application is stored according to the same format, when the terminals such as the television and the like are controlled to tune the channel based on the target channel hopping information, even if a new application exists, the terminals such as the television and the like do not need to be adapted again, and only the server side with the corresponding relationship established needs to be adapted, so that the terminals such as the television and the like can hop to the channel in the new application.
In addition, an embodiment of the present invention further provides a television, where the television includes the channel playing control device in the foregoing embodiment, and the channel playing control device executes the step operations in any embodiment of the channel playing control method, so as to implement that a television based on multiple playing applications can quickly perform channel calling, implement channel calling requirements of users, and improve convenience of television operations of users.
In addition, an embodiment of the present invention further provides a readable storage medium, where a channel playing control program is stored on the readable storage medium, and when the channel playing control program is executed by a processor, the steps of any embodiment of the above channel playing control method are implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (9)
1. A method for controlling channel play, the method comprising:
acquiring a channel control instruction of a terminal;
when the channel control instruction comprises a channel identifier, determining first application information corresponding to the channel identifier, and acquiring a second application identifier corresponding to a playing application installed in the terminal; the first application information comprises first application identifiers supporting playing of a plurality of first preset applications of a channel corresponding to the channel identifier;
determining a first target application in the playing applications installed in the terminal according to the first application identifier and the second application identifier;
controlling the first target application to play the channel corresponding to the channel identifier;
after the step of obtaining the channel control instruction of the terminal, the method further includes:
when the channel control instruction comprises channel switching pointing information, determining that the application in the playing state of the terminal is a second target application;
acquiring second application information corresponding to the channel switching pointing information, and acquiring a third application identifier of the second target application; the second application information comprises fourth application identifications of a plurality of second preset applications and corresponding channel switching instructions related to the channel switching direction information;
inquiring the second application information according to the third application identifier, and taking a channel switching instruction corresponding to a fourth application identifier matched with the third application identifier as a target instruction;
and controlling the second target application to switch channels according to the target instruction.
2. The method for controlling channel playing according to claim 1, wherein the first application information further includes preset channel hopping information associated with each first application identifier, and before the step of controlling the first target application to play the channel corresponding to the channel identifier, the method further includes:
in the first application information, determining preset channel skipping information associated with an application identifier corresponding to the first target application as target channel skipping information;
the step of controlling the first target application to play the channel corresponding to the channel identifier includes:
and calling a corresponding interface of the first target application according to the target channel skipping information, and playing the channel corresponding to the channel identifier.
3. The channel play control method of claim 2, wherein the channel play control method further comprises:
when a newly added application supporting a channel corresponding to the channel identifier exists, acquiring and associating the application identifier of the newly added application and channel skip information related to the channel identifier to form newly added information;
and updating the first application information according to the newly added information.
4. The channel play control method of claim 1, wherein the step of determining a first target application among the play applications installed in the terminal according to the first application identifier and the second application identifier comprises:
acquiring the priority of the installed playing application of the terminal;
according to the priority, selecting a corresponding second application identifier to be compared with each first application identifier;
and when the first application identifier matched with the second application identifier with the high priority exists, taking the application corresponding to the second application identifier with the high priority as the first target application in the playing applications installed in the terminal.
5. The channel playing control method according to any of claims 2 to 4, wherein the step of obtaining the channel control command of the terminal is preceded by the steps of:
acquiring first channel skipping information of each first preset application about a channel corresponding to the channel identifier;
converting each first channel skipping information into a set format to obtain preset channel skipping information corresponding to each first preset application;
and after correspondingly associating the preset channel skipping information of each first preset application with the first application identifier of each first preset application, establishing a corresponding relation with the channel identifier.
6. The channel play control method according to any one of claims 1 to 4, wherein the step of obtaining the channel control command of the terminal comprises:
and when a voice signal is detected, analyzing the voice signal to obtain the channel control instruction.
7. A channel play control apparatus, comprising: a memory, a processor and a channel play control program stored on the memory and executable on the processor, the channel play control program when executed by the processor implementing the steps of the channel play control method according to any one of claims 1 to 6.
8. A television set, characterized in that it comprises the channel play control apparatus according to claim 7.
9. A readable storage medium, having a channel play control program stored thereon, wherein the channel play control program, when executed by a processor, implements the steps of the channel play control method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010209831.5A CN111263222B (en) | 2020-03-23 | 2020-03-23 | Channel playing control method and device, television and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010209831.5A CN111263222B (en) | 2020-03-23 | 2020-03-23 | Channel playing control method and device, television and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111263222A CN111263222A (en) | 2020-06-09 |
CN111263222B true CN111263222B (en) | 2021-11-30 |
Family
ID=70955166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010209831.5A Active CN111263222B (en) | 2020-03-23 | 2020-03-23 | Channel playing control method and device, television and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111263222B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351301A (en) * | 2020-11-09 | 2021-02-09 | 深圳市欢太科技有限公司 | Live broadcast playing method and device |
CN113473230B (en) * | 2021-07-02 | 2022-08-26 | 海信视像科技股份有限公司 | Method for realizing channel switching by using third-party application and display equipment |
WO2022121380A1 (en) | 2020-12-07 | 2022-06-16 | 海信视像科技股份有限公司 | Channel switching method for display device, and display device |
CN114286123B (en) * | 2021-12-23 | 2024-07-16 | 海宁奕斯伟集成电路设计有限公司 | Live broadcasting method and device of television program |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018301A (en) * | 2007-02-07 | 2007-08-15 | 深圳创维-Rgb电子有限公司 | A switching method of the TV digital channel and analog TV channel |
CN102685601A (en) * | 2012-04-27 | 2012-09-19 | 华为技术有限公司 | Method and device for accessing multi-media resources of smart television and smart television |
CN102883221A (en) * | 2011-07-13 | 2013-01-16 | 瑞轩科技股份有限公司 | Method for channel switching of video content |
CN103297852A (en) * | 2013-06-07 | 2013-09-11 | 华为终端有限公司 | Channel change speed improving method, device and system |
CN103888833A (en) * | 2014-03-11 | 2014-06-25 | 惠州Tcl移动通信有限公司 | Method and system for having access to television programs and applications through intelligent television |
CN105791969A (en) * | 2014-12-23 | 2016-07-20 | 深圳Tcl数字技术有限公司 | Method, device and system for coordinating multiple television live broadcast resources |
CN107124670A (en) * | 2017-04-25 | 2017-09-01 | 深圳创维数字技术有限公司 | A kind of method and device for opening application |
CN107318042A (en) * | 2017-08-23 | 2017-11-03 | 深圳创维-Rgb电子有限公司 | A kind of channel choosing method and intelligent television based on speech recognition |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI520592B (en) * | 2012-06-05 | 2016-02-01 | 緯創資通股份有限公司 | Method for personalized virtual channel management and web-based multimedia reproduction system with virtual channel |
CN105100910A (en) * | 2014-05-05 | 2015-11-25 | 四达时代通讯网络技术有限公司 | Terminal equipment service content browsing method and terminal equipment |
CN106303684A (en) * | 2016-08-23 | 2017-01-04 | 三星电子(中国)研发中心 | For the method and apparatus starting TV applications |
CN108156526A (en) * | 2016-12-06 | 2018-06-12 | 中兴通讯股份有限公司 | A kind of method and device that channel is controlled to redirect |
CN108259981A (en) * | 2018-04-11 | 2018-07-06 | 深圳市茁壮网络股份有限公司 | A kind of television channel change control method, mobile terminal and set-top box |
CN109660849B (en) * | 2018-12-24 | 2021-03-19 | 深圳创维-Rgb电子有限公司 | Channel switching method and device for television programs and computer readable storage medium |
CN110830468B (en) * | 2019-11-05 | 2021-04-13 | 腾讯科技(深圳)有限公司 | Cross-application-based authority management method and device and computer readable storage medium |
-
2020
- 2020-03-23 CN CN202010209831.5A patent/CN111263222B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018301A (en) * | 2007-02-07 | 2007-08-15 | 深圳创维-Rgb电子有限公司 | A switching method of the TV digital channel and analog TV channel |
CN102883221A (en) * | 2011-07-13 | 2013-01-16 | 瑞轩科技股份有限公司 | Method for channel switching of video content |
CN102685601A (en) * | 2012-04-27 | 2012-09-19 | 华为技术有限公司 | Method and device for accessing multi-media resources of smart television and smart television |
CN103297852A (en) * | 2013-06-07 | 2013-09-11 | 华为终端有限公司 | Channel change speed improving method, device and system |
CN103888833A (en) * | 2014-03-11 | 2014-06-25 | 惠州Tcl移动通信有限公司 | Method and system for having access to television programs and applications through intelligent television |
CN105791969A (en) * | 2014-12-23 | 2016-07-20 | 深圳Tcl数字技术有限公司 | Method, device and system for coordinating multiple television live broadcast resources |
CN107124670A (en) * | 2017-04-25 | 2017-09-01 | 深圳创维数字技术有限公司 | A kind of method and device for opening application |
CN107318042A (en) * | 2017-08-23 | 2017-11-03 | 深圳创维-Rgb电子有限公司 | A kind of channel choosing method and intelligent television based on speech recognition |
Non-Patent Citations (2)
Title |
---|
Search Space Allocation Schemes Review for Control Channels in LTE and LTE-advanced;Fady Nabil;《2016 10th International Conference on Next Generation Mobile Applications, Security and Technologies (NGMAST)》;20161229;全文 * |
智能电视语音交互系统的研究与设计;汪文羿;《中国优秀硕士学位论文全文数据库》;20180715(第07期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111263222A (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111263222B (en) | Channel playing control method and device, television and readable storage medium | |
US8378875B2 (en) | Method of programming a universal remote control | |
JP4634412B2 (en) | Apparatus and method for performing codec upgrade | |
US20080178224A1 (en) | Upgradeable intelligent remote control device with integrated program guide | |
CN103634644A (en) | Method and system for switching channels of smart television through voices | |
KR101634745B1 (en) | Electronic device, user input apparatus controlling electronic device and contol method thereof | |
CN102624701A (en) | Information processing apparatus, information processing method, and program | |
CN113590067A (en) | Screen projection control method, system, device and computer readable storage medium | |
CN106789470B (en) | Terminal resource sharing method, device and system | |
EP1993288B1 (en) | A system and method for generating electronic program guides | |
CN113992958B (en) | Multi-window same-screen interaction method, terminal and storage medium | |
CN109618209B (en) | Video synchronous playing method and device and computer readable storage medium | |
CN112436986B (en) | Distribution network method, distribution network device, distribution network equipment and computer readable storage medium | |
WO2018113497A1 (en) | Method and device adaptive to multiple remote controls | |
CN108900916A (en) | Television set and its information source configuration method, device, readable storage medium storing program for executing | |
US7600045B2 (en) | Information processor | |
CN109842814B (en) | Program switching method and device, television and readable storage medium | |
CN108322834B (en) | Television setting method, television and computer readable storage medium | |
CN105025371A (en) | Program updating method and device | |
CN107493518B (en) | IPTV terminal network outlet switching method, device and readable storage medium | |
CN107704172B (en) | Multimedia application switching control method, system and storage device | |
CN108111906B (en) | Channel searching method and device and computer readable storage medium | |
CN112435665A (en) | Voice control method and device, terminal equipment and computer readable storage medium | |
CN115022718B (en) | Data importing method and data transmitting method | |
US20130232526A1 (en) | Application client for a gateway system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |