CN109672916B - Information source switching method, television and storage medium - Google Patents

Information source switching method, television and storage medium Download PDF

Info

Publication number
CN109672916B
CN109672916B CN201811652801.0A CN201811652801A CN109672916B CN 109672916 B CN109672916 B CN 109672916B CN 201811652801 A CN201811652801 A CN 201811652801A CN 109672916 B CN109672916 B CN 109672916B
Authority
CN
China
Prior art keywords
information source
source
switching
information
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811652801.0A
Other languages
Chinese (zh)
Other versions
CN109672916A (en
Inventor
包林玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201811652801.0A priority Critical patent/CN109672916B/en
Publication of CN109672916A publication Critical patent/CN109672916A/en
Application granted granted Critical
Publication of CN109672916B publication Critical patent/CN109672916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4221Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext
    • 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/43Processing 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/43Processing 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel
    • 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/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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/47End-user applications
    • H04N21/482End-user interface for program selection

Abstract

The invention discloses a method for switching information sources, which comprises the following steps: when entering a panel key information source switching mode, acquiring an information source identifier of the current application; acquiring the position of the information source in a preset information source list according to the information source identification; acquiring a target information source according to an information source switching signal triggered by a panel key and the position of the information source in the preset information source list; and switching the currently applied information source to the target information source. The invention also discloses a television and a computer readable storage medium. The invention solves the problem that when a user switches the television information source through the panel keys of the television, the television information source switching is wrong.

Description

Information source switching method, television and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for switching an information source, a television, and a computer-readable storage medium.
Background
At present, a source list in an intelligent television generally has source entries such as ATV, DTV, HDMI, AV, Storage, etc., and an operator television will add an entry of an operator in the source list. In order to avoid the situation that the remote controller is lost and cannot switch the information source, so that certain information source programs cannot be watched, the common television can support the information source switching through panel keys.
When the information source is switched by the panel key, because the panel key resources are limited, an information source list interface can not appear for a user to select and switch the information source, and the circular switching can be directly carried out in all the information source lists, namely, the information source is switched once when the upper key and the lower key of the panel are pressed once. At present, whether a current information source is an operator information source is generally judged through a topActivity name of an operator, if the current information source is the operator information source, information source alternate cutting operation is carried out according to the sequence of an information source list, and the information source acquired through the topActivity may not be the operator information source because the operator information source can jump to other applications except for operator applications. Therefore, when the user performs the information source alternate switching operation through the panel keys, the user cannot switch to some information sources, and the user cannot watch some information source programs.
Disclosure of Invention
The invention mainly aims to provide a signal source switching method, a television and a computer readable storage medium, which solve the problem that when a user switches a television signal source through a panel key of the television, the television signal source switching is wrong.
In order to achieve the above object, the present invention provides a method for switching a signal source, wherein the method for switching the signal source comprises the following steps:
when entering a panel key information source switching mode, acquiring an information source identifier of the current application;
acquiring the position of the information source in a preset information source list according to the information source identification;
acquiring a target information source according to an information source switching signal triggered by a panel key and the position of the information source in the preset information source list;
and switching the currently applied information source to the target information source.
Preferably, after the step of obtaining the currently applied source identifier when entering the panel key to switch the source mode, the method further includes:
detecting whether the currently applied information source is a network information source;
if not, executing the step of obtaining the position of the currently applied information source in a preset information source list according to the information source identification;
and if so, switching the currently applied information source into a universal information source.
Preferably, the step of switching the currently applied source to a universal source includes:
switching the currently applied information source into a universal information source obtained by last switching;
or switching the currently applied information source to any universal information source in the preset information source list.
Preferably, the step of obtaining the position of the currently applied source in a preset source list according to the source identifier includes:
judging whether the currently applied information source is an operator information source or not according to the information source identification;
if yes, acquiring a position parameter of the operator information source, and determining the position of the information source according to the position parameter, wherein the position parameter is used for representing the first position or the last position of the operator information source in the preset information source list;
if not, determining the position of the information source according to the arrangement value of the information source in the preset information source list.
Preferably, the step of acquiring a target information source according to an information source switching signal triggered by a panel key and the position of the information source in the preset information source list includes:
when the detected information source switching signal is an up-cut signal, acquiring an information source at a position on the information source in the preset information source list as the target information source;
and when the detected information source switching signal is an undercut signal, acquiring an information source at the next position of the information source in the preset information source list as the target information source.
Preferably, before the step of obtaining the currently applied source identifier when entering the panel key to switch the source mode, the method further includes:
when the current application is started, judging whether an information source for starting the current application is an operator information source or not;
if yes, configuring an information source identification corresponding to the operator information source for the current application;
and if not, configuring an information source identifier corresponding to the information source of the non-operator for the current application.
Preferably, the source switching method further includes:
and after the current application is started, when the information source is switched through the information source list, updating the information source identification according to the information source obtained by switching.
Preferably, after the step of switching the currently applied source to the target source, the method further includes:
and updating the information source identification of the current application according to the target information source.
In order to achieve the above object, the present invention further provides a television, including:
the television comprises a memory, a processor and a switching program of the information source, wherein the switching program of the information source is stored on the memory and can run on the processor, and when being executed by the processor, the switching program of the information source realizes the steps of the switching method of the information source.
To achieve the above object, the present invention further provides a computer-readable storage medium, on which a switching program of a source is stored, and the switching program of the source, when executed by a processor, implements the steps of the switching method of the source as described above.
According to the information source switching method, the television and the computer readable storage medium, when a panel key information source switching mode is entered, the information source identification of the current application is obtained; acquiring the position of the information source in a preset information source list according to the information source identification; acquiring a target information source according to an information source switching signal triggered by a panel key and the position of the information source in the preset information source list; and switching the currently applied information source to the target information source. Therefore, when the user switches the information sources through the panel keys, the user can normally switch the information sources under the condition of no remote controller, the information source switching error is avoided, and the user can watch programs of all the information sources.
Drawings
Fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a source switching method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a source switching method according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a source switching method according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating a source switching method according to still 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 invention provides a method for switching information sources, which solves the problem that when a user switches television information sources through panel keys of a television, the television information sources are switched wrongly.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
the terminal of the embodiment of the invention can be a television, and also can be a switching device of a signal source or a server.
As shown in fig. 1, the terminal may include: a processor 1001, such as a Central Processing Unit (CPU), a memory 1002, and a communication bus 1003. The communication bus 1003 is used for implementing connection communication between the components in the terminal. The memory 1002 may be a random-access memory (RAM-random-access memory) or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 1002 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 1 is not intended to be limiting of the terminal of embodiments of the present invention and may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a switching program of a source may be included in a memory 1002 as a kind of computer storage medium.
In the terminal shown in fig. 1, the processor 1001 may be configured to invoke a switching procedure of a source stored in the memory 1002, and perform the following operations:
when entering a panel key information source switching mode, acquiring an information source identifier of the current application;
acquiring the position of the information source in a preset information source list according to the information source identification;
acquiring a target information source according to an information source switching signal triggered by a panel key and the position of the information source in the preset information source list;
and switching the currently applied information source to the target information source.
Further, the processor 1001 may call a switching program of the source stored in the memory 1002, and further perform the following operations:
detecting whether the currently applied information source is a network information source;
if not, executing the step of obtaining the position of the currently applied information source in a preset information source list according to the information source identification;
and if so, switching the currently applied information source into a universal information source.
Further, the processor 1001 may call a switching program of the source stored in the memory 1002, and further perform the following operations:
switching the currently applied information source into a universal information source obtained by last switching;
or switching the currently applied information source to any universal information source in the preset information source list.
Further, the processor 1001 may call a switching program of the source stored in the memory 1002, and further perform the following operations:
judging whether the currently applied information source is an operator information source or not according to the information source identification;
if yes, acquiring a position parameter of the operator information source, and determining the position of the information source according to the position parameter, wherein the position parameter is used for representing the first position or the last position of the operator information source in the preset information source list;
if not, determining the position of the information source according to the arrangement value of the information source in the preset information source list.
Further, the processor 1001 may call a switching program of the source stored in the memory 1002, and further perform the following operations:
when the detected information source switching signal is an up-cut signal, acquiring an information source at a position on the information source in the preset information source list as the target information source;
and when the detected information source switching signal is an undercut signal, acquiring an information source at the next position of the information source in the preset information source list as the target information source.
Further, the processor 1001 may call a switching program of the source stored in the memory 1002, and further perform the following operations:
when the current application is started, judging whether an information source for starting the current application is an operator information source or not;
if yes, configuring an information source identification corresponding to the operator information source for the current application;
and if not, configuring an information source identifier corresponding to the information source of the non-operator for the current application.
Further, the processor 1001 may call a switching program of the source stored in the memory 1002, and further perform the following operations:
and after the current application is started, when the information source is switched through the information source list, updating the information source identification according to the information source obtained by switching.
Further, the processor 1001 may call a switching program of the source stored in the memory 1002, and further perform the following operations:
and updating the information source identification of the current application according to the target information source.
Referring to fig. 2, in an embodiment, the source switching method includes:
and step S10, when entering the panel key signal source switching mode, acquiring the signal source identification of the current application.
In this embodiment, the terminal may be a television, or may also be a source switching device or a server. When the terminal is a switching device or a server of the source, the terminal may control the television to perform source switching through a communication connection established with the television. The following description will be given taking an example in which the terminal is a television.
The sources of the television set may include operator sources and general sources.
The telecom operator corresponding to the operator information source provides a business service mechanism for a demand unit in a certain region, the demand units in different regions use different telecom operators, and after a television is sold to a user home, the user or an after-sales person installs a local operator APK to use the information source of the operator. For example, users in Zhejiang and Henan install Hua number APK and wired APK in Henan, so as to realize the full services of telecom operators, including live broadcast, on demand, time shift and EPG.
The universal source is a common source for TV (television source)/ATV (analog signal television source)/DTV (digital signal television source)/HDMI 1 (high definition media source)/HDMI 2 (high definition media source)/HDMI 3 (high definition media source)/AV (video playing source) and the like.
The network information source is a source (called storage information source) customized by a network application program of the television.
Before entering a panel key signal source switching mode, configuring a signal source identifier for the current application according to a signal source used by the current application running on the television. When the information source of the current application is an operator information source, configuring an information source identifier corresponding to the operator information source, such as itv, for the current application, that is, configuring the value of app.matrix.lasttvapp of the current application to be itv; when the information source of the current application is a non-operator information source such as a general information source and a network information source, configuring information source identification corresponding to the non-operator information source, such as livetv, for the current application, that is, configuring the value of app.
In the process that a user performs the information source switching mode by pressing the panel key, when the user presses the panel key, a panel key signal is generated, and the terminal judges that the current information source switching mode triggered by the panel key signal is entered by detecting the panel key signal so as to enter the panel key information source switching mode. When entering a panel key signal source switching mode, acquiring a currently applied signal source identifier currently running in the television to judge whether a currently applied signal source to be switched (namely the currently used current signal source of the television) is an operator signal source.
And step S20, obtaining the position of the currently applied information source in a preset information source list according to the information source identification.
The preset source list may include an operator source and a plurality of common sources. For example, the preset source list has the source of operator source/TV/ATV/DTV/HDMI 1/HDMI2/HDMI 3/AV.
When the preset information source list is generated, the preset configuration file of the television operator corresponding to the information source of the operator is obtained, the preset configuration file is analyzed to obtain information source configuration parameters, the information source of the television operator is added to the preset information source list of the pre-installed application of the television according to the information source configuration parameters, the preset information source list can provide general information sources such as digital television information sources, and the information source of the operator is added to the preset information source list of the pre-installed application to obtain the preset information source list.
It should be noted that the source configuration parameters of the operator source may specifically include a location parameter of the source in a preset source list, for example, the content corresponding to the loc item is a location parameter displayed by the source. When the position parameter of the operator information source is first, determining that the position of the operator information source is the first position of a preset information source list, and arranging the operator information source at the first position on the preset information source list; and when the position parameter of the operator information source is last, determining that the position of the operator information source is the last position, and adding the operator information source to the last position on the preset information source list.
And judging whether the currently applied information source is an operator information source or not according to the currently applied information source identifier. Specifically, when the value of the information source identifier app.matrix.lastvapp of the current application is itv, determining that the information source of the current application is an operator information source, namely that the information source to be switched is the operator information source; when the value of the information source identifier app.matrix.lastvapp of the current application is livetv, it is determined that the information source of the current application is a non-operator information source, that is, the information source to be switched is a non-operator information source, such as a universal information source.
The arrangement position of the operator information source in the preset information source list is determined according to the position parameters, and the operator information source is only arranged at the first position or the last position of the preset information source list, so that when the currently applied information source is judged to be the operator information source, the position parameters previously configured by the operator information source are obtained, and when the position parameters are first, the currently applied information source is at the first position of the preset information source list; and when the position parameter is last, the currently applied information source is at the last position of the preset information source list. It should be noted that, if the operator information source is at the first position in the information source list, the permutation value curSourceIndex of the currently applied information source is set to 0; if the operator source is at the last position of the source list, the current source list value curSourceIndex is set to the number of the source list minus one.
Those skilled in the art can know that the permutation value of each common signal source in the preset signal source list can be determined through the middleware signal source enumeration of the middleware interface, and is not influenced by the position change of the operator signal source, wherein the middleware interface is used for acquiring the signal source and switching the television or the currently applied signal source to the acquired signal source, and the middleware signal source enumeration can enumerate all common signal sources (TV/ATV/DTV/HDMI1/HDMI2/HDMI 3/AV). Therefore, when the currently applied information source is determined to be a non-operator information source (i.e., a universal information source), the permutation value of the universal information source is obtained, so that the position of the currently applied information source in the preset information source list can be determined. If the currently applied source is a TV source and the permutation value of the TV source is 1, the position of the currently applied source in the preset source list may be the permutation value plus one, that is, the currently applied source is at the second position of the preset source list.
And step S30, acquiring a target information source according to an information source switching signal triggered by a panel key and the position of the information source in the preset information source list.
And step S40, switching the currently applied information source to the target information source.
The signal source switching signal triggered by the panel comprises an up-cut signal and a down-cut signal, wherein when a user presses an on-panel key, the signal source switching signal triggered by the on-panel key, namely the up-cut signal, can be generated; when a user presses a panel down key, an information source switching signal triggered by the panel down key, namely, a down-cut signal, is generated.
When an up-cut signal triggered by the key on the panel is detected, acquiring a signal source at a position on the currently applied signal source in the preset signal source list as the target signal source, specifically, acquiring a signal source with a sequence value of cussourceindex less than one for the currently applied signal source in the preset signal source list as the target signal source, namely acquiring a signal source with a sequence value of cussourceindex less than one for the currently applied signal source in the preset signal source list as the target signal source.
For example, when the preset source list is TV/ATV/DTV/HDMI1/HDMI 2/operator source, and when the currently applied source is the operator source, when the user presses the key on the panel, the HDMI2 source can be determined as the target source.
When an undercut signal triggered by the down key of the panel is detected, acquiring a signal source at a position next to the current signal source in the preset signal source list as the target signal source, specifically, acquiring a signal source with a sequence value cussourceindex of the target signal source being a sequence value curSourceIndex +1 of the currently applied signal source, that is, acquiring a signal source with a sequence value curSourceIndex +1 of the currently applied signal source in the preset signal source list as the target signal source.
It should be understood that, as known to those skilled in the art, if the calculated permutation value desSourceIndex of the target source is less than 0, the permutation value desSourceIndex of the target source is set to the number of the source list minus one, that is, when the position of the currently applied source is at the first position of the preset source list and the user presses a key on the panel to switch the source, the source at the last position of the preset source list is determined as the target source; if the calculated array value desSourceIndex of the target information source is larger than the number minus one of the information source list, setting the array value desSourceIndex of the target information source to be 0, namely, when the position of the currently applied information source is at the last position of the preset information source list and the user presses a down key of the panel to switch the information source, determining the information source at the first position of the preset information source list as the target information source.
After a target information source is determined, whether the target information source is a universal information source is enumerated and identified through a middleware information source, namely, the universal information sources in a preset information source list are compared with the target information source one by one, when the universal information source corresponding to the target information source is identified, the target information source is obtained through a middleware interface (namely, the universal information source corresponding to the target information source is obtained), and the currently applied information source is switched to the obtained target information source, namely, the current information source of the television is switched to the target information source; when the fact that the universal information source corresponding to the target information source does not exist is identified, the target information source is indicated to be the operator information source, at this time, the operator information source is started through startActivity of an operator corresponding to the operator information source added to the preset information source list, so that the currently applied information source is switched to the acquired target information source (namely, the operator information source), and the current information source of the television is switched to the target information source.
And after the information source of the current application is switched to the target information source, updating the information source identification of the current application according to the target information source. Specifically, when the target information source switched by the current application is an operator information source, updating the value of the information source identifier app.matrix.lastvapp of the current application to itv; when the target information source switched by the current application is a non-operator information source (namely, a universal information source), updating the value of the information source identification app.
Therefore, the current information source can be accurately acquired by distinguishing the operator information source and the non-operator information source, so that a user can switch the information sources in turn through the panel keys, the user can normally watch all information source programs without a remote controller, the experience of the user in switching the television information sources through the panel keys is improved, and the problem that the television information sources are switched wrongly when the user switches the television information sources through the panel keys of the television is solved.
In one embodiment, when entering a panel key signal source switching mode, obtaining a currently applied signal source identifier, wherein the signal source identifier is pre-configured according to whether the currently applied signal source is an operator signal source or not; acquiring the position of the information source in a preset information source list according to the information source identification; acquiring a target information source according to an information source switching signal triggered by a key on a panel or a key down on the panel and the position of the information source in the preset information source list; and switching the currently applied information source to the target information source. Therefore, the problem that when a user switches the television information source through the panel keys of the television, the television information source switching is wrong is solved.
In another embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, after the step of obtaining the currently applied source identifier when entering the panel key to switch the source mode, the method further includes:
and step S50, detecting whether the currently applied information source is a network information source.
And step S51, if not, executing the step of obtaining the position of the currently applied information source in a preset information source list according to the information source identification.
And step S52, if yes, switching the currently applied information source into a universal information source.
In this embodiment, the information source of the television set may include at least one of an operator information source, a general information source, and a network information source (or a network live information source).
The telecom operator corresponding to the operator information source provides a business service mechanism for a demand unit in a certain region, the demand units in different regions use different telecom operators, and after a television is sold to a user home, the user or an after-sales person installs a local operator APK to use the information source of the operator. For example, users in Zhejiang and Henan install Hua number APK and wired APK in Henan, so as to realize the full services of telecom operators, including live broadcast, on demand, time shift and EPG.
The universal source is a TV (television source)/ATV (analog signal television source)/DTV (digital signal television source)/HDMI 1 (high definition media source)/HDMI 2 (high definition media source)/HDMI 3 (high definition media source)/AV (video playing source) and other sources.
The network information source is a source (called storage information source) customized by a network application program of the television.
It should be noted that the set network information sources may be different according to different network applications, and an operator of each network application may set a corresponding network information source for the network application according to a network connection condition of network communication, and the network information source is updated and maintained by the operator of the network application at any time. In view of the uncertainty of the network information source, it is difficult to add the network information source to the preset information source list, and because the network information source does not belong to the operator information source, when configuring the information source identifier for the current application, the identifier configured by the network information source is also an identifier corresponding to a non-operator information source, that is, the value of app. When the current application is the network application, the corresponding network information source can be automatically acquired as soon as the network application is started.
After the information source identifier of the current application is obtained, it is first detected whether the information source of the current application belongs to the network information source, and if it is detected that the information source of the current application is not the network information source, step 20 is executed.
When the information source currently applied is detected to be a network information source, since the network information source is not in the preset information source list, the information source cannot be switched at the position of the preset information source list according to the information source currently applied, therefore, any universal information source in the preset information source list can be directly acquired as a target information source, and the information source currently applied is switched to be the target information source.
When detecting that the currently applied information source is a network information source, the method may also be to acquire a universal information source obtained by last switching, and switch the currently applied information source to the acquired universal information source, specifically, when the terminal switches the information source each time, the universal information source obtained by latest switching is stored and used as the universal information source obtained by last switching, that is, the universal information source obtained by latest switching is acquired and used as the universal information source obtained by last switching. For example, when the information source is switched for the second time, the current information source is switched to a certain common information source, the newly switched and stored common information source is updated to be a certain common information source, and when the information source is switched for the second time, the current information source is switched to the operator information source, the newly switched and stored common information source is not updated, and the common information source is kept unchanged.
When a user enters information source switching based on a storage network information source, the storage is switched to a determined universal information source for switching the information source, and if the switching is just the information source which the user wants, the user does not need to perform information source switching; if the source which is switched is not the source which the user wants, but the source which is currently applied is switched to the common source which is in the preset source list by storage, the steps of switching the source at S20, S30 and S40 can be normally executed, and when the user wants to continue to switch the source which is currently applied, the step of switching the source is executed again.
In one embodiment, detecting whether the currently applied information source is a network information source; if not, executing the step of obtaining the position of the information source in a preset information source list according to the information source identification; and if so, switching the currently applied information source into a universal information source. Therefore, the problem that the network information source is difficult to switch when the user switches the information source through the panel key due to limited panel key resources is solved.
In another embodiment, as shown in fig. 4, on the basis of the above embodiments of fig. 2 to fig. 3, before the step of obtaining the currently applied source identifier when entering the panel key to switch the source mode, the method further includes:
step S60, when the current application is started, whether the information source for starting the current application is an operator information source is judged.
And step S61, if yes, configuring a source identification corresponding to the operator source for the current application.
And step S62, if not, configuring a source identification corresponding to the non-operator source for the current application.
In this embodiment, when a user opens a current application, an information source may be selected for the current application, the terminal starts the current application according to the information source selected by the user, and when the information source selected by the user is an operator information source, a value of an information source identifier app.matrix.lastvapp of the current application is configured to be itv; when the information source selected by the user is a non-operator information source (such as a universal information source), configuring the value of the currently applied information source identification app.
It should be noted that, the terminal obtains the current information source through the middleware interface, and determines whether the current information source is consistent with the information source selected by the user, if so, no processing is performed, if not, the information source is switched to the selected information source through the middleware interface, and the current application is started through the switched information source.
When a user opens the current application, if the information source is not selected for the current application, the terminal acquires the universal information source obtained by last switching as the information source for starting the current application.
Of course, if the current application opened by the user is the network application, the user does not need to select the information source, and the terminal does not need to obtain the universal information source obtained by the last switching for the current application, but directly starts the current application through the network information source. At this time, the value of the application identifier app.matrix.lastvapp configured for the current application is livetv, that is, the identifier corresponding to the non-operator source.
In one embodiment, when a current application is started, whether an information source for starting the current application is an operator information source is judged; if yes, configuring an information source identification corresponding to the operator information source for the current application; and if not, configuring an information source identifier corresponding to the information source of the non-operator for the current application. Therefore, operator information sources or non-operator information sources can be distinguished, and users can conveniently and accurately acquire information sources desired by the users when switching the information sources through panel keys.
In yet another embodiment, as shown in fig. 5, based on the embodiments of fig. 2 to fig. 4, the method for switching the source further includes:
and step S70, after the current application is started, when the information source is switched through the information source list, updating the information source identification according to the information source obtained by switching.
In this embodiment, after the current application is started, when a user switches the information source through the information source list displayed on the display interface of the television, and when the information source of the current application is switched to the information source of the operator, the value of the information source identifier app.matrix.lastvapp of the current application is updated to itv; when the information source of the current application is switched to a non-operator information source (such as a universal information source and a network information source), updating the value of the information source identification app.
It should be noted that, the case of switching the source through the source list displayed on the display interface of the television is other television source switching modes except for the source switching mode through the panel keys, for example, the source switching mode may be switched by a remote controller.
Therefore, when the user switches the information source according to the information source switching mode except the panel key information source switching mode, the information source identification is updated according to the switched information source, and the situation that the information source identification is configured wrongly is avoided.
In addition, the present invention further provides a television set, which includes a memory, a processor, and a switching program of a signal source stored on the memory and operable on the processor, and when the processor executes the switching program of the signal source, the steps of the switching method of the signal source according to the above embodiment are implemented.
Furthermore, the present invention also proposes a computer-readable storage medium, which includes a switching program of a source, which when executed by a processor implements the steps of the switching method of the source as described in the above embodiments.
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 television, 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 (10)

1. A method for switching a source, the method comprising:
when entering a panel key information source switching mode, acquiring an information source identifier of the current application;
acquiring the position of the currently applied information source in a preset information source list according to the information source identification, wherein the preset information source list comprises an operator information source and a plurality of general information sources, and the operator information source is positioned at the first position or the last position in the preset information source list;
acquiring a target information source according to an information source switching signal triggered by a panel key and the position of the information source in the preset information source list;
and switching the currently applied information source to the target information source.
2. The method for switching signal sources according to claim 1, wherein said step of obtaining the currently applied signal source identifier when entering the panel key to switch signal source mode further comprises:
detecting whether the currently applied information source is a network information source;
if not, executing the step of obtaining the position of the currently applied information source in a preset information source list according to the information source identification;
and if so, switching the currently applied information source into a universal information source.
3. The method for switching sources according to claim 2, wherein said step of switching said currently applied source to a common source comprises:
switching the currently applied information source into a universal information source obtained by last switching;
or switching the currently applied information source to any universal information source in the preset information source list.
4. The method as claimed in claim 1, wherein the step of obtaining the location of the currently applied source in a predetermined source list according to the source identifier, where the predetermined source list includes an operator source and a plurality of common sources, and the operator source is located at a first location or a last location in the predetermined source list comprises:
judging whether the currently applied information source is an operator information source or not according to the information source identification;
if yes, acquiring a position parameter of the operator information source, and determining the position of the information source according to the position parameter, wherein the position parameter is used for representing the first position or the last position of the operator information source in the preset information source list;
if not, determining the position of the information source according to the arrangement value of the information source in the preset information source list.
5. The method for switching signal sources of claim 1, wherein the step of obtaining the target signal source according to the signal source switching signal triggered by the panel key and the position of the signal source in the preset signal source list comprises:
when the detected information source switching signal is an up-cut signal, acquiring an information source at a position on the information source in the preset information source list as the target information source;
and when the detected information source switching signal is an undercut signal, acquiring an information source at the next position of the information source in the preset information source list as the target information source.
6. The source switching method according to claim 1, wherein before the step of obtaining the currently applied source identifier when entering the panel key to switch the source mode, the method further comprises:
when the current application is started, judging whether an information source for starting the current application is an operator information source or not;
if yes, configuring an information source identification corresponding to the operator information source for the current application;
and if not, configuring an information source identifier corresponding to the information source of the non-operator for the current application.
7. The source switching method according to claim 6, wherein the source switching method further comprises:
and after the current application is started, when the information source is switched through the information source list, updating the information source identification according to the information source obtained by switching.
8. The method for switching sources according to claim 1, wherein said step of switching said currently applied source to said target source further comprises:
and updating the information source identification of the current application according to the target information source.
9. A television set, characterized in that the television set comprises a memory, a processor and a switching program of a source stored on the memory and operable on the processor, the switching program of the source implementing the steps of the switching method of the source as claimed in any one of claims 1 to 8 when executed by the processor.
10. A computer-readable storage medium, having a handover program of a source stored thereon, which when executed by a processor implements the steps of the handover method of the source as claimed in any one of claims 1 to 8.
CN201811652801.0A 2018-12-29 2018-12-29 Information source switching method, television and storage medium Active CN109672916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811652801.0A CN109672916B (en) 2018-12-29 2018-12-29 Information source switching method, television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811652801.0A CN109672916B (en) 2018-12-29 2018-12-29 Information source switching method, television and storage medium

Publications (2)

Publication Number Publication Date
CN109672916A CN109672916A (en) 2019-04-23
CN109672916B true CN109672916B (en) 2022-03-11

Family

ID=66146685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811652801.0A Active CN109672916B (en) 2018-12-29 2018-12-29 Information source switching method, television and storage medium

Country Status (1)

Country Link
CN (1) CN109672916B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863288A (en) * 2005-05-11 2006-11-15 中强光电股份有限公司 Method for selecting signal source of display device
CN101076095A (en) * 2007-05-30 2007-11-21 康佳集团股份有限公司 Method for switching on TV-set inputting information source
CN101193233A (en) * 2007-06-20 2008-06-04 深圳创维-Rgb电子有限公司 TV set key control device and TV set
EP2061279A2 (en) * 2007-11-14 2009-05-20 Yamaha Corporation Virtual sound source localization apparatus
JP2011159112A (en) * 2010-02-01 2011-08-18 Nec Access Technica Ltd Device, system, method, and program for presenting corrected part in manual
CN102523396A (en) * 2011-12-09 2012-06-27 深圳Tcl新技术有限公司 Method and device for controlling television functions by panel keys
CN103248844A (en) * 2013-04-25 2013-08-14 深圳Tcl新技术有限公司 Method for controlling television through panel buttons and television
CN103269455A (en) * 2013-04-27 2013-08-28 北京小米科技有限责任公司 Method and device for information source access
CN107026987A (en) * 2017-03-31 2017-08-08 广州视源电子科技股份有限公司 Information source channel display methods and system
CN108900916A (en) * 2018-08-15 2018-11-27 深圳Tcl新技术有限公司 Television set and its information source configuration method, device, readable storage medium storing program for executing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872768A (en) * 2016-04-20 2016-08-17 深圳Tcl数字技术有限公司 Display terminal information source switching method and device
CN108600838B (en) * 2018-04-26 2021-08-03 深圳Tcl新技术有限公司 Information source switching method and device for Android television, Android television and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863288A (en) * 2005-05-11 2006-11-15 中强光电股份有限公司 Method for selecting signal source of display device
CN101076095A (en) * 2007-05-30 2007-11-21 康佳集团股份有限公司 Method for switching on TV-set inputting information source
CN101193233A (en) * 2007-06-20 2008-06-04 深圳创维-Rgb电子有限公司 TV set key control device and TV set
EP2061279A2 (en) * 2007-11-14 2009-05-20 Yamaha Corporation Virtual sound source localization apparatus
JP2011159112A (en) * 2010-02-01 2011-08-18 Nec Access Technica Ltd Device, system, method, and program for presenting corrected part in manual
CN102523396A (en) * 2011-12-09 2012-06-27 深圳Tcl新技术有限公司 Method and device for controlling television functions by panel keys
CN103248844A (en) * 2013-04-25 2013-08-14 深圳Tcl新技术有限公司 Method for controlling television through panel buttons and television
CN103269455A (en) * 2013-04-27 2013-08-28 北京小米科技有限责任公司 Method and device for information source access
CN107026987A (en) * 2017-03-31 2017-08-08 广州视源电子科技股份有限公司 Information source channel display methods and system
CN108900916A (en) * 2018-08-15 2018-11-27 深圳Tcl新技术有限公司 Television set and its information source configuration method, device, readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN109672916A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
EP2403246A2 (en) Architecture of a network device for processing applications, and control method for the network device
TW201328334A (en) Television apparatus and operating method for application program thereof
CN108174256B (en) Video playing method and device and computer readable storage medium
CN111263222B (en) Channel playing control method and device, television and readable storage medium
CN108419098B (en) Television control method and television
CN108900916B (en) Television and information source configuration method and device thereof, and readable storage medium
CN108777808B (en) Text-to-speech method based on display terminal, display terminal and storage medium
JP5042050B2 (en) Television receiver, server, television receiver operating system, and television receiver operating program
EP3062520A1 (en) Method and device for automatically recognizing network operator to realize data configuration
CN112306437A (en) Terminal screen projection method, device, equipment, system and computer readable storage medium
CN112256225A (en) Screen projection method, server, terminal device and computer readable storage medium
CN102833499A (en) Electronic device and method for quickly starting widgets by using electronic device
EP2926567B1 (en) Method and apparatus for processing digital service signal
US10728486B2 (en) Smart television playing method and device
WO2017012414A1 (en) Program updating method and apparatus
JP2014128033A (en) Television control system and control method therefor
TWI526933B (en) An information processing device, and an execution control method
CN108322834B (en) Television setting method, television and computer readable storage medium
CN109672916B (en) Information source switching method, television and storage medium
EP3119103B1 (en) Method and system for integrating television program channels and applications for intelligent television
CN111131897B (en) Television BGM updating method and device and computer readable storage medium
CN108111906B (en) Channel searching method and device and computer readable storage medium
CN106603946B (en) Television remote control method, device and system
CN109040831B (en) Playing method and device for multi-scene channel searching and computer readable storage medium
US20190215569A1 (en) Channel processing method for smart tv, and smart tv

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