Method for realizing channel switching by using third-party application and display equipment

文档序号:73235 发布日期:2021-10-01 浏览:17次 中文

阅读说明:本技术 一种利用第三方应用实现频道切换的方法及显示设备 (Method for realizing channel switching by using third-party application and display equipment ) 是由 李旭东 刘文晓 于 2021-07-02 设计创作,主要内容包括:本申请公开了一种利用第三方应用实现频道切换的方法及显示设备,在利用第三方应用实现频道切换时,用户通过第三方应用产生用户请求,解析后获得用于实现频道切换的频道信息;第三方应用基于频道信息和预设指令格式生成频道切换广播,并发送至直播电视APP;直播电视APP响应频道切换广播以基于频道信息进行频道切换。该方法及显示设备可提供一种新的频道切换方式,即通过第三方应用实现直播电视APP的频道切换,该切换方法不依赖网络、无需调出直播频道列表,只需第三方应用构建符合预设指令格式的频道切换广播,即可与直播电视APP进行交互实现频道切换,增加操作直播电视APP的便利性,提升用户体验。(The application discloses a method for realizing channel switching by using a third-party application and a display device, wherein when the channel switching is realized by using the third-party application, a user generates a user request through the third-party application, and channel information for realizing the channel switching is obtained after analysis; the third-party application generates a channel switching broadcast based on the channel information and a preset instruction format and sends the channel switching broadcast to a live television APP; the live tv APP responds to the channel change broadcast to perform channel change based on the channel information. The method and the display device can provide a new channel switching mode, namely, the channel switching of the live television APP is realized through the third-party application, the switching method does not depend on a network, a live channel list does not need to be called, only the third-party application needs to construct the channel switching broadcast which accords with the preset instruction format, the channel switching can be realized through interaction with the live television APP, the convenience of operating the live television APP is improved, and the user experience is improved.)

1. A display device, comprising:

a display configured to present a user interface;

a controller connected with the display, the controller configured to:

receiving a user request input by a user through a third-party application, analyzing the user request, and acquiring channel information for realizing channel switching;

generating a channel switching broadcast based on the channel information and a preset instruction format;

and sending the channel switching broadcast to a live television APP, wherein the channel switching broadcast is used for indicating the live television APP to carry out channel switching based on the channel information.

2. The display device according to claim 1, wherein the controller, in performing the parsing of the user request, obtaining channel information for enabling channel switching, is further configured to:

analyzing the user request to obtain a request identifier and request information;

and when the request identifier represents that the user request is a channel switching request, acquiring channel information in the request information, wherein the channel information comprises a channel name, a channel number, a channel plus or a channel minus.

3. The display device according to claim 2, wherein the controller, in executing the generating of the channel switching broadcast based on the channel information and a preset instruction format, is further configured to:

determining a corresponding channel switching type based on the channel information, wherein the channel switching type is used for representing a channel switching mode;

acquiring a request identifier and a request source in the user request, wherein the request source is used for representing a target third-party application generating the channel switching request;

and generating channel switching broadcast based on the request identification, the channel switching type, the channel information and the request source.

4. The display device of claim 3, wherein the controller, in performing the generating a channel switch broadcast based on the request identification, channel switch type, channel information, and request source, is further configured to:

when the channel information is a channel name, generating a channel switching broadcast based on the request identifier, the channel name switching type, the channel name and a request source;

when the channel information is a channel number, generating a channel switching broadcast based on the request identifier, the channel number switching type, the channel number and the request source;

when the channel information is a channel, generating channel switching broadcast based on the request identification, the channel adding switching type, the channel adding and the request source;

and when the channel information is channel reduction, generating channel switching broadcast based on the request identification, the channel reduction switching type, the channel reduction and the request source.

5. The display device of claim 1, wherein the controller is further configured to:

acquiring the usual watching channel information of a user;

and storing the usual viewing channel information into a third-party application, wherein the usual viewing channel information stored in the third-party application is used for a user to select a target channel required to be viewed.

6. The display device of claim 1, wherein after performing the sending of the channel change broadcast to live television (APP), the controller is further configured to:

acquiring the state attribute of the live television APP;

if the state attribute represents that the live television APP is in the running state, responding to the channel switching broadcast to indicate that the live television APP carries out channel switching based on the channel information;

and if the state attribute represents that the live television APP is not in the running state, generating APP switching broadcast, calling the live television APP, and responding to the channel switching broadcast indication that the live television APP carries out channel switching based on the channel information.

7. The display device according to claim 6, wherein the controller, in performing the channel switching in response to the channel switching broadcast instructing the live television APP to perform channel switching based on the channel information, is further configured to:

acquiring a current channel presented by the live television APP and channel information carried in the channel switching broadcast;

and switching the current channel to the target channel based on the target channel corresponding to the channel information, so as to realize the channel switching of the live television APP.

8. The display device according to claim 7, wherein the controller, in executing the switching of the current channel to the target channel based on the target channel corresponding to the channel information, is further configured to:

when the channel information comprises a channel name or a channel number, determining a target channel corresponding to the channel name or the channel number;

and switching the current channel to the target channel to realize the channel switching of the live television APP.

9. The display device according to claim 7, wherein the controller, in executing the switching of the current channel to the target channel based on the target channel corresponding to the channel information, is further configured to:

when the channel information comprises channel increasing or channel decreasing, determining a target channel based on the current channel and the switching frequency of the channel increasing or channel decreasing;

and switching the current channel to the target channel to realize the channel switching of the live television APP.

10. A method for implementing channel switching using a third-party application, the method comprising:

receiving a user request input by a user through a third-party application, analyzing the user request, and acquiring channel information for realizing channel switching;

generating a channel switching broadcast based on the channel information and a preset instruction format;

and sending the channel switching broadcast to a live television APP, wherein the channel switching broadcast is used for indicating the live television APP to carry out channel switching based on the channel information.

Technical Field

The application relates to the technical field of live television channel switching, in particular to a method for realizing channel switching by using a third-party application and a display device.

Background

Along with the rapid development of display equipment, the functions of the display equipment are more and more abundant, and the performance of the display equipment is more and more powerful, and at present, the display equipment comprises an intelligent television, a mobile phone, a refrigerator, other products with an intelligent display screen and the like. When the display equipment is used as the intelligent television, the display equipment can be directly connected with the set-top box to realize the presentation of the program corresponding to the television channel. If the display device is not connected with the set-top box, but the user still wants to watch the program corresponding to the television channel, the live television service can be configured in the display device.

The realization form of the live television service configured in the display equipment can be live television APP installation, and after the live television APP is started, the program corresponding to the television channel can be watched on the display equipment. Currently, when a television channel is switched, that is, when a channel is switched, the channel can be switched (channel switching) by operating a live television APP or by Google voice.

However, both of the above two channel switching methods need to be used in a network, and when switching channels, a live channel list needs to be obtained first, and then a target channel is selected from the live channel list for switching, so that interaction during channel switching is inconvenient.

Disclosure of Invention

The application provides a method for realizing channel switching by using a third-party application and a display device, so as to solve the problem that the existing channel switching method is inconvenient.

In a first aspect, the present application provides a display device comprising:

a display configured to present a user interface;

a controller connected with the display, the controller configured to:

receiving a user request input by a user through a third-party application, analyzing the user request, and acquiring channel information for realizing channel switching;

generating a channel switching broadcast based on the channel information and a preset instruction format;

and sending the channel switching broadcast to a live television APP, wherein the channel switching broadcast is used for indicating the live television APP to carry out channel switching based on the channel information.

In some embodiments of the present application, the controller, in performing the parsing of the user request, obtaining channel information for implementing channel switching, is further configured to:

analyzing the user request to obtain a request identifier and request information;

and when the request identifier represents that the user request is a channel switching request, acquiring channel information in the request information, wherein the channel information comprises a channel name, a channel number, a channel plus or a channel minus.

In some embodiments of the present application, the controller, in executing the generating of the channel switching broadcast based on the channel information and a preset instruction format, is further configured to:

determining a corresponding channel switching type based on the channel information, wherein the channel switching type is used for representing a channel switching mode;

acquiring a request identifier and a request source in the user request, wherein the request source is used for representing a target third-party application generating the channel switching request;

and generating channel switching broadcast based on the request identification, the channel switching type, the channel information and the request source.

In some embodiments of the present application, the controller, in executing the generating a zapping broadcast based on the request identification, the zapping type, the channel information and the source of the request, is further configured to:

when the channel information is a channel name, generating a channel switching broadcast based on the request identifier, the channel name switching type, the channel name and a request source;

when the channel information is a channel number, generating a channel switching broadcast based on the request identifier, the channel number switching type, the channel number and the request source;

when the channel information is a channel, generating channel switching broadcast based on the request identification, the channel adding switching type, the channel adding and the request source;

and when the channel information is channel reduction, generating channel switching broadcast based on the request identification, the channel reduction switching type, the channel reduction and the request source.

In some embodiments of the present application, the controller is further configured to:

acquiring the usual watching channel information of a user;

and storing the usual viewing channel information into a third-party application, wherein the usual viewing channel information stored in the third-party application is used for a user to select a target channel required to be viewed.

In some embodiments of the present application, after performing the sending of the zapping broadcast to a live tv APP, the controller is further configured to:

acquiring the state attribute of the live television APP;

if the state attribute represents that the live television APP is in the running state, responding to the channel switching broadcast to indicate that the live television APP carries out channel switching based on the channel information;

and if the state attribute represents that the live television APP is not in the running state, generating APP switching broadcast, calling the live television APP, and responding to the channel switching broadcast indication that the live television APP carries out channel switching based on the channel information.

In some embodiments of the present application, the controller, in executing the response to the channel switching broadcast instruction, performs channel switching based on the channel information on the live tv APP, and is further configured to:

acquiring a current channel presented by the live television APP and channel information carried in the channel switching broadcast;

and switching the current channel to the target channel based on the target channel corresponding to the channel information, so as to realize the channel switching of the live television APP.

In some embodiments of the present application, when executing the target channel corresponding to the channel information, the controller is further configured to:

when the channel information comprises a channel name or a channel number, determining a target channel corresponding to the channel name or the channel number;

and switching the current channel to the target channel to realize the channel switching of the live television APP.

In some embodiments of the present application, when executing the target channel corresponding to the channel information, the controller is further configured to:

when the channel information comprises channel increasing or channel decreasing, determining a target channel based on the current channel and the switching frequency of the channel increasing or channel decreasing;

and switching the current channel to the target channel to realize the channel switching of the live television APP.

In a second aspect, the present application further provides a method for implementing channel switching by using a third-party application, where the method includes:

receiving a user request input by a user through a third-party application, analyzing the user request, and acquiring channel information for realizing channel switching;

generating a channel switching broadcast based on the channel information and a preset instruction format;

and sending the channel switching broadcast to a live television APP, wherein the channel switching broadcast is used for indicating the live television APP to carry out channel switching based on the channel information.

In a third aspect, the present application further provides a storage medium, where the computer storage medium may store a program, and the program may implement, when executed, some or all of the steps in the embodiments of the method for implementing channel switching by using a third-party application provided in the present application.

As can be seen from the foregoing technical solutions, embodiments of the present invention provide a method and a display device for implementing channel switching by using a third-party application, where when channel switching is implemented by using the third-party application, a user generates a user request through the third-party application, and obtains channel information for implementing channel switching after parsing; the third-party application generates a channel switching broadcast based on the channel information and a preset instruction format and sends the channel switching broadcast to a live television APP; the live tv APP responds to the channel change broadcast to perform channel change based on the channel information. The method and the display device can provide a new channel switching mode, namely, the channel switching of the live television APP is realized through the third-party application, the switching method does not depend on a network, a live channel list does not need to be called, only the third-party application needs to construct the channel switching broadcast which accords with the preset instruction format, the channel switching can be realized through interaction with the live television APP, the convenience of operating the live television APP is improved, and the user experience is improved.

Drawings

In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.

FIG. 1 illustrates a schematic diagram of an operational scenario between a display device and a control apparatus according to some embodiments;

fig. 2 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments;

fig. 3 shows a block diagram of a hardware configuration of the control apparatus 100 according to some embodiments;

FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;

FIG. 5 illustrates an icon control interface display of an application in display device 200, in accordance with some embodiments;

FIG. 6 illustrates a flow diagram of a method of implementing channel switching with a third party application, in accordance with some embodiments;

FIG. 7 illustrates a data flow diagram of a method of implementing channel switching with a third party application, in accordance with some embodiments;

FIG. 8 illustrates a broadcast transmission flow diagram for a method of implementing channel switching with a third party application, in accordance with some embodiments;

FIG. 9 illustrates an example diagram of implementing channel switching with an AIOT application in accordance with some embodiments.

Detailed Description

To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.

It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.

The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.

The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.

The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.

FIG. 1 illustrates a usage scenario of a display device according to some embodiments. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 100.

In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.

In some embodiments, the smart device 300 may include any of a mobile terminal, a tablet, a computer, a laptop, an AR/VR device, and the like.

In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.

In some embodiments, the smart device 300 and the display device may also be used for communication of data.

In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice instruction control of the user may be directly received by a module configured inside the display device 200 to obtain a voice instruction, or may be received by a voice control apparatus provided outside the display device 200.

In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.

In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.

Fig. 2 illustrates a block diagram of a hardware configuration of the control apparatus 100 according to some embodiments. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.

In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.

In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.

Fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments. Referring to fig. 3, in some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.

In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.

In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.

In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.

In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.

In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.

In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.

In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.

In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).

Fig. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments. Referring to fig. 4, in some embodiments, the system is divided into four layers, which are an Application (Applications) layer (abbreviated as "Application layer"), an Application Framework (Application Framework) layer (abbreviated as "Framework layer"), an Android runtime (Android runtime) and system library layer (abbreviated as "system runtime library layer"), and a kernel layer from top to bottom.

In some embodiments, at least one application program runs in the application program layer, and the application programs may be windows (windows) programs carried by an operating system, system setting programs, clock programs or the like; or an application developed by a third party developer. In particular implementations, the application packages in the application layer are not limited to the above examples.

The framework layer provides an Application Programming Interface (API) and a programming framework for the application. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that decides to let the applications in the application layer act. The application program can access the resources in the system and obtain the services of the system in execution through the API interface.

As shown in fig. 4, in the embodiment of the present application, the application framework layer includes Managers (Managers), providers (Content providers), a network management system, and the like, where the Managers include at least one of the following modules: an Activity Manager (Activity Manager) is used for interacting with all activities running in the system; the Location Manager (Location Manager) is used for providing the system service or application with the access of the system Location service; a Package Manager (Package Manager) for retrieving various information related to an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.

FIG. 5 illustrates an icon control interface display of an application in display device 200, according to some embodiments. In some embodiments, the display device may directly enter the interface of the preset vod program after being activated, and the interface of the vod program may include at least a navigation bar 510 and a content display area located below the navigation bar 510, as shown in fig. 5, where the content displayed in the content display area may change according to the change of the selected control in the navigation bar. The programs in the application program layer can be integrated in the video-on-demand program and displayed through one control of the navigation bar, and can also be further displayed after the application control in the navigation bar is selected.

In some embodiments, the display device may directly enter a display interface of a signal source selected last time after being started, or a signal source selection interface, where the signal source may be a preset video-on-demand program, or may be at least one of an HDMI interface, a live tv interface, and the like, and after a user selects different signal sources, the display may display contents obtained from different signal sources.

In some embodiments, when the display device is used as an intelligent television, the display device may be directly connected to a set-top box to realize presentation of a program corresponding to a television channel, or the television channel may be watched through a live television service configured by the display device. The realization form of the live television service configured in the display equipment can be live television APP installation, and after the live television APP is started, the program corresponding to the television channel can be watched on the display equipment.

When watching television channels by using the display device, the user can switch channels according to personal preference, namely watching programs which are more interesting to the user by switching channels. Or switching to the live television APP from other applications for playing programs. Currently, when a television channel is switched, channel switching (channel switching) can be performed by operating a live television APP or by Google voice. For example, in channel selection: channel selection can only be performed under live television APP or Google voice. When switching APPs to live tv APPs: controlled by a Ggoogle voice or a user remote controller.

In some embodiments, the channel switching mode for operating the live television APP is a mode of controlling channel selection through a remote controller, that is, channel selection is performed by triggering a channel plus or channel minus key, or a live channel list is called first and displayed in a display of a display device, and a user selects a target channel in which the user is interested in the live channel list to switch. The channel switching mode through the Google voice is that a command is spoken through the user voice, the local provider service (a service of a live television APP) of a display device end is inquired, so that the provider ID for channel switching is determined, the corresponding channel name or channel number is searched based on the provider ID, and the program playing of the corresponding television channel is realized.

However, both of the above two channel switching methods need to be used in a network, and when the channel selection is controlled by the remote controller, a live channel list needs to be obtained first, and then a target channel is selected from the live channel list for switching, but the Google voice channel switching method cannot perform channel switching by a channel adding or channel subtracting method. It is obvious that the existing channel switching method is inconvenient to interact.

In some embodiments, when the display device is configured with an Android system, since many third-party applications on the Android can interact with the live television service, such as voice control channel switching, application control channel switching, and the like, good interaction of switching to the live television APP through the third-party applications is achieved. Therefore, when the user switches the channels, the channel switching modes which can be selected by the user are richer, the embodiment of the application provides a new channel switching mode, namely, the channel switching of the live television APP is realized through the third-party application, or the process of switching back the live television APP from other applications is realized, the convenience of operating the live television APP is improved, and the user experience is improved.

However, since the third-party application usually cannot acquire an accurate channel name or channel number, a new set of rules is configured for the third-party application when channel switching is implemented, and as long as the third-party application complies with the rules, the third-party application can interact with the live broadcast television APP to implement switching of the APP/channel switching.

In some embodiments, the new rule is that the third party application needs to send a corresponding broadcast according to a specified format, where the broadcast carries channel information. The specified format is a preset instruction format, and the format comprises information such as a request identifier, a channel switching type, channel information and a request source. The request identifier is used for representing whether the user request is a channel switching request needing channel switching or not; the channel switching type is used for representing which channel information is based on which channel switching is carried out; the channel information comprises a channel name, a channel number, a channel plus or a channel minus; the request source is used to characterize the target third party application that generated the channel switch request.

The method for realizing channel switching by using the third-party application does not depend on Google voice, does not depend on a network, does not need to call a live channel list, and can execute corresponding channel switching or application switching operation as long as the third-party application sends the broadcast meeting the format requirement.

FIG. 6 illustrates a flow diagram of a method of implementing channel switching with a third party application, in accordance with some embodiments; fig. 7 illustrates a data flow diagram of a method of implementing channel switching with a third party application, in accordance with some embodiments. An embodiment of the present invention provides a display device, including: a display configured to present a user interface; a controller connected to the display, and configured to perform the following steps when executing the method for switching channels by the third-party application shown in fig. 6 and 7:

and S1, receiving a user request input by the user through the third-party application, analyzing the user request, and acquiring channel information for realizing channel switching.

The third party application may be an AIOT application or amazon application. When the channel switching of the live television APP is realized by using the third-party application, the user operates the third-party application to generate a user request. The user request may be generated in a voice mode (e.g., amazon voice) or in a special button (e.g., AIOT).

The user request is parsed because the instructions that the user may generate to operate the third-party application include various instructions, and when the channel switching is performed, the request type is only the channel switching request. Therefore, by analyzing the user request, the channel information for realizing channel switching can be obtained.

The controller is configured to analyze the user request to obtain channel information for implementing channel switching, and further configured to perform the following steps:

and 11, analyzing the user request to obtain a request identifier and request information.

And step 12, when the request identifier represents that the user request is a channel switching request, acquiring channel information in the request information, wherein the channel information comprises a channel name, a channel number, a channel plus or a channel minus.

The user request generated by the user can generate different types of requests based on different operation behaviors, and for this reason, corresponding request identifications are configured for different requests. After analyzing the user request and obtaining the request identifier, it can be determined whether the currently generated user request is a channel switching request or other types of requests.

When the request identifier represents that the user request is a channel switching request, indicating that channel switching is required, acquiring channel information for realizing channel switching from the request information. The request information is the execution content corresponding to the request.

In some embodiments, the channel information is one of a channel name, a channel number, a channel plus, or a channel minus. The channel name is the name of a certain channel, such as CCTV1, CCTV2, etc.; the channel number refers to a sequence number of a certain channel, for example, the sequence number corresponding to CCTV1 is 1, and the sequence number corresponding to CCTV2 is 2; channel add refers to switching forward to the next channel based on the current channel; channel reduction refers to switching back to the last channel based on the current channel.

After the channel information is acquired, generation of different channel switching broadcasts can be achieved according to different types of channel information.

And S2, generating channel switching broadcast based on the channel information and the preset instruction format.

The third-party application sends corresponding broadcast according to a preset specified format, the broadcast carries channel information, namely, based on the channel information and a preset instruction format, channel switching broadcast meeting format requirements is generated, and the channel switching broadcast can realize interaction between the third-party application and a live television APP.

In some embodiments, to realize the interaction between the third-party application and the live tv APP, an Intent mechanism is provided in the Android to assist the interaction and communication between the applications. The Android is responsible for describing actions, action related data and additional data of one operation in the application, and the Android is responsible for finding a corresponding component according to the description of the Intent, transmitting the Intent to the called component and completing calling of the component. Intent can be used not only between applications, but also for interactions between activities/services within applications. Therefore, Intent acts as a media intermediary, and specifically provides the related information of mutual calling of the components, thereby realizing the decoupling between the caller and the callee.

The categories of Intent include show Intent and implicit Intent, which in some embodiments is used to construct a channel switch broadcast. Implicit Intent: implicitly, it is not explicitly specified which Activity to launch, but rather actions, Data, Category are set to let the system screen out the appropriate Activity. The screening was according to all < intent-filter >. Intent consists of the following parts: action (action), data (data), Category (Category), Type (Type), Component (Component), source (from), and extension (Extra).

In some embodiments, the zapping broadcast is constructed by action (action), data (data), Type (Type), source (from) in implicit Intent.

Since the preset instruction format includes information such as a request identifier (corresponding to an action (action) in the implicit Intent), a channel switching Type (corresponding to a Type (Type) in the implicit Intent), channel information (corresponding to data (data) in the implicit Intent), and a request source (from) in the implicit Intent), the controller is further configured to perform the following steps when generating a channel switching broadcast based on the channel information and the preset instruction format:

and step 21, determining a corresponding channel switching type based on the channel information, wherein the channel switching type is used for representing a channel switching mode.

Step 22, obtaining a request identifier and a request source in the user request, where the request source is used to characterize a target third-party application that generates the channel switching request.

Step 23, generating channel switch broadcast based on the request identification, channel switch type, channel information and request source.

Different channel switching modes are executed according to different types of channel information, so that the channel switching type can be determined based on the channel information in the user request. The channel switching type may be used to distinguish whether the channel switching mode is switching based on the channel name, switching based on the channel number, switching based on channel addition, or switching based on channel subtraction when the channel switching mode is subsequently performed.

For example, if the channel information in the user request generated by the user operating the third-party application is a channel name (channelName), such as CCTV1, the determined corresponding channel switching type is a channel name switching type (changeChannelByName); if the channel information is a channel number (channelNumber), if so, 1, determining that the corresponding channel switching type is a channel number switching type (changeChannelByNumber); if the channel information is channel plus (channelUp), the determined corresponding channel switching type is the channel plus switching type, the switching frequency (channelCount) of the channel is determined, and the default is 1; if the channel information is a channel decrease (channelDown), the determined corresponding channel switching type is a channel decrease switching type, and the switching frequency (channelCount) of the channel is determined to be 1 by default.

The switching frequency refers to the number of channels that need to be switched, i.e., the number of channels that are skipped at one time during channel switching. The value corresponding to the switching frequency corresponds to the number of times of performing channel up/channel down, for example, the switching frequency (channelCount) is default to 1, which means that channel up/channel down is performed once by default.

The request identifier and the request source in the user request are obtained, and when the user request is a CHANNEL switching request, the request identifier (actionName) is "com. When the target third-party application generating the channel switching request is AIOT, then the request source (command _ from) is "AIOT"; when the target third party application that generated the channel switch request is Amazon, then the request source (command _ from) is "Amazon".

The channel switching broadcast is generated based on the order of the request identification (actionName), the first command (channel _ command _1), the second command (channel _ command _2), and the request source (command _ from). Wherein, the first command (channel _ command _1) is a channel switching type, and the second command (channel _ command _2) is channel information. Accordingly, the corresponding zapping broadcast may be generated based on different request identifications, zapping types, channel information and request sources.

In some embodiments, when the channel information is a channel name (channelamname), a channel switch broadcast is generated based on the request identification (channelamname), the channel name switch type (channelalbyname), the channel name (channelamname), and the request source (command _ from).

When the channel information is a channel number (channelNumber), generating a channel switching broadcast based on a request identifier (channelName), a channel number switching type (channelbynumber), a channel number (channelNumber) and a request source (command _ from);

when the channel information is channel plus (channelCount), generating channel switching broadcast based on the request identifier (channelName), the channel plus switching type, the channel plus (channelUp) and the request source (command _ from);

when the channel information is channel minus (channelCount), a channel switching broadcast is generated based on the request identifier (channelName), the channel minus switching type, the channel minus (channelDown), and the request source (command _ from).

The channel switching broadcast generated based on the information is a broadcast which is constructed by the third-party application and has a unified format requirement, and interaction between the third-party application and the live television APP can be realized.

S3, the channel switching broadcast is sent to the live television APP, and the channel switching broadcast is used for indicating the live television APP to perform channel switching based on the channel information.

After the channel switching broadcast is constructed by the third-party application based on the content, the channel switching broadcast can be sent to the live television APP for channel switching.

Fig. 8 illustrates a broadcast transmission flow diagram for a method of implementing channel switching with a third party application, according to some embodiments. Referring to fig. 8, the user enters a user request at the third party application, which may be in the form of a voice or a string of characters. And analyzing the user request, and filtering channel switching contents related to the channel. According to the channel switching requirement of the user, the switching mode is determined according to the channel name, the channel number, the channel plus or the channel minus. Based on the information, constructing and sending the channel switching broadcast which accords with the preset instruction format, responding the channel switching broadcast by the live television APP, and executing the action of switching the channel or switching the APP to the live television APP.

In some embodiments, when the user controls the live tv APP to perform channel switching by using the third-party application, since the live tv APP is in the starting state but may exit from running in the background, the live tv APP may not respond to the channel switching broadcast in real time to perform channel switching. Therefore, for the normal clear of guaranteeing the channel switch, when third party's application sends the channel switch broadcast, display device's proscenium does not run live TV APP, then needs carry out APP and switches over to the proscenium operation with being located the live TV APP of backstage operation.

To this end, the controller, after performing the sending of the zapping broadcast to the live tv APP, is further configured to perform the steps of:

and step 31, acquiring the state attribute of the live television APP.

And step 32, responding to the channel switching broadcast indication that the live television APP is in the running state and switching the channel based on the channel information if the state attribute represents that the live television APP is in the running state.

And step 33, if the state attribute represents that the live television APP is not in the running state, generating APP switching broadcast, starting the live television APP, responding to the channel switching broadcast, and indicating that the live television APP carries out channel switching based on the channel information.

After a third-party application constructs a channel switching broadcast and sends the channel switching broadcast to a live television APP, a display device needs to judge the state attribute of the live television APP, and the state attribute is used for representing whether the live television APP is in a foreground running state or not.

If the state attribute represents that the live television APP is in the running state, the live television APP is operated by the foreground of the current display equipment, and the live television APP can directly respond to channel switching broadcast so as to switch channels based on channel information generated by a user.

If the state attribute represents that the live television APP is not in an operating state, the APP of the foreground operation of the current display equipment is not the live television APP, the live television APP operates at the background, and the APP needs to be switched at the moment, namely, the source is switched. At the moment, an APP switching broadcast is generated, and the APP of the live television is switched to the foreground to run from the background. After the front desk runs the live television APP, the live television APP can respond to channel switching broadcast so as to perform channel switching based on channel information generated by a user.

In some embodiments, after receiving a channel switching broadcast sent by a third-party application, the live tv APP may perform channel switching based on the channel information.

Therefore, the controller, in performing channel switching in response to a channel switching broadcast indication live tv APP based on the channel information, is further configured to perform the steps of:

and step 41, acquiring a current channel presented by the live television APP and channel information carried in channel switching broadcast.

And 42, switching the current channel to the target channel based on the target channel corresponding to the channel information, so as to realize the channel switching of the live broadcast television APP.

The channel switching broadcast is sent to the live television APP by the third-party application, and after the live television APP runs in a foreground, the current channel presented by the live television APP is obtained.

The live broadcast television APP analyzes the channel switching broadcast to obtain channel information carried in the broadcast, the channel information is information of a target channel which a user wants to switch, and a channel switching mode can be determined based on the channel information. Therefore, based on the target channel and the current channel corresponding to the channel information, the live broadcast television APP can switch the presented current channel to the target channel according to the switching mode indicated by the channel information, and the channel switching of the live broadcast television APP is completed.

In some embodiments, when the types of channel information are different, the indicated switching manner is different, and thus the manner of determining the target channel is different. Therefore, after analyzing the channel switching broadcast to obtain the channel information, it can be firstly determined whether the channel information indicates a first switching mode of switching the channel according to the channel name/channel number or a second switching mode of switching the channel according to the channel adding/channel subtracting.

In some embodiments, when it is determined that the channel information indicates the first switching manner of channel switching according to the channel name/channel number, the controller, in executing switching of the current channel to the target channel based on the target channel corresponding to the channel information, is further configured to execute the following steps:

step 421, when the channel information includes a channel name or a channel number, determining a target channel corresponding to the channel name or the channel number;

and 422, switching the current channel to a target channel to realize channel switching of the live broadcast television APP.

When the live television APP analyzes the channel switching broadcast and judges that the channel information is one of the channel name or the channel number, at this time, because the channel name and the channel number can uniquely determine one channel, the corresponding target channel can be determined according to the channel name or the channel number.

For example, if the channel information is a channel name CCTV1, the target channel is CCTV 1; if the channel information is channel number 2, the target channel is CCTV 2.

At this time, the current channel presented by the live tv APP may be directly switched to the target channel, for example, if the current channel presented by the live tv APP when the foreground runs is CCTV5, and the target channel sent based on the third-party application and desired to be switched by the user is CCTV1, the current channel may be CCTV5 to the target channel is CCTV 1. At this time, the content of the channel CCTV1 is presented in the user interface of the display, and the channel switching of the live television APP is realized.

In some embodiments, when it is determined that the channel information indicates the second switching manner of channel switching according to channel add/channel subtract, the controller, in executing switching of the current channel to the target channel based on the target channel corresponding to the channel information, is further configured to execute the following steps:

step 423, when the channel information includes channel up or channel down, determining a target channel based on the current channel and the frequency of switching channel up or channel down;

step 424, switching the current channel to a target channel, and realizing channel switching of the live broadcast television APP.

When the live television APP analyzes the channel switching broadcast and determines that the channel information is one of channel up or channel down, at this time, since the channel up or channel down needs to be adjusted up or down based on the currently presented channel to realize channel switching, a unique target channel cannot be specified, and therefore, a target channel which a user needs to switch needs to be determined in real time based on the switching frequency (channelCount) of the current channel and the channel up or channel down. The frequency of zapping refers to the number of channels that need to be skipped at once.

For example, if the channel information carried in the channel switching broadcast is channel add, and the current channel presented by the live tv APP is obtained to be CCTV1, and the channel number corresponding to the current channel is 1, after the live tv APP responds to the channel switching broadcast, based on the instruction of channel add, if the obtained switching frequency is 1, the current channel is switched forward to obtain the next channel (1 channel is skipped over at a time), that is, the channel number is channel CCTV2 corresponding to 2, and the CCTV2 is determined to be the target channel. At this time, the live television APP can switch the presented current channel CCTV1 to the target channel CCTV2, and the content of the channel CCTV2 is presented in the user interface of the display, so as to implement channel switching of the live television APP.

If the channel information carried in the channel switching broadcast is channel subtraction, the current channel presented by the live television APP is acquired to be CCTV5, and the channel number corresponding to the current channel is 5, after the live television APP responds to the channel switching broadcast, based on the instruction of channel subtraction, if the switching frequency is 3, the current channel is switched backwards to acquire a third channel (skipping 3 channels at a time), namely the channel number is the channel CCTV2 corresponding to 2, and the CCTV2 is determined to be the target channel. At this time, the live television APP can switch the presented current channel CCTV5 to the target channel CCTV2, and the content of the channel CCTV2 is presented in the user interface of the display, so as to implement channel switching of the live television APP.

When the channel switching is implemented based on the second switching method, it is necessary to use the channel number information in the channel live list when determining the target channel based on the channel up/channel down information. The channel live list is displayed in a display without calling, and only the corresponding channel number information is acquired by the background. Therefore, the process can also ensure convenience of interaction.

In some embodiments, when the user controls the live tv APP to switch channels by using the third-party application, the third-party application may be directly operated to determine the channel information that the user wants to switch, in addition to generating the channel information through real-time interaction to switch channels by using the foregoing method. In this scenario, it is necessary to store the channel information of interest to the user in the third-party application in advance.

At this time, the controller is further configured to perform the steps of:

and step 51, acquiring the usual watching channel information of the user.

And step 52, storing the usual viewing channel information into the third-party application, wherein the usual viewing channel information stored in the third-party application is used for the user to select the target channel to be viewed.

In order to facilitate the user to select the most desirable channel program, the user may store the channel information of interest to the user, that is, the channel information of frequently watched channels is stored in the third-party application. When the user switches channels, the user can directly select a target channel to be watched from the usual watching channel information stored in the third-party application.

If the favorite channel can be stored according to the channel name or the channel number, the usual watching channel information is generated. For example, the user stores his favorite channels CCTV5, CCTV6, etc., or channel numbers 5, 6, etc. in a third party application.

In some embodiments, based on the method executed by the display device provided in the foregoing, the channel switching is implemented by controlling the live tv APP with the AIOT application.

FIG. 9 illustrates an example diagram of implementing channel switching with an AIOT application in accordance with some embodiments. Referring to fig. 9, the user enters channel number 10 via the AIOT application and selects zapping: the process generates a user request with the request identification being a channel switch request and the channel information being a channel number. The AIOT application constructs a channel switch broadcast of a specified format: request identification "com. android. tv. change _ CHANNEL", CHANNEL number switching type "changechannelbeynumber", CHANNEL number "10", request source "command _ from AIOT".

The AIOT application sends channel switching broadcast to the live television APP, and the live television APP judges whether the foreground runs or not after receiving the channel switching broadcast. If the live television APP runs in the background, the APP is switched first, and the live television APP is switched to the foreground to run; if the channel switching broadcast is operated in the foreground, the channel switching broadcast is analyzed, and the channel number carried by the channel switching broadcast is obtained. And searching a target channel (the channel with the channel number of 10 or the channel with the channel number of 10), and playing the target channel with the channel number of 10 or the channel with the channel number of 10 to finish the channel switching process.

Therefore, according to the display device provided by the embodiment of the invention, when the channel switching is realized by using the third-party application, the user generates the user request through the third-party application, and the channel information for realizing the channel switching is obtained after the user request is analyzed; the third-party application generates a channel switching broadcast based on the channel information and a preset instruction format and sends the channel switching broadcast to a live television APP; the live tv APP responds to the channel change broadcast to perform channel change based on the channel information. The display equipment can provide a new channel switching mode, namely, the channel switching of the live television APP is realized through the third-party application, the switching method does not depend on a network, a live channel list does not need to be called, only the third-party application is needed to construct the channel switching broadcast conforming to the preset instruction format, the channel switching can be realized through interaction with the live television APP, the convenience of operating the live television APP is improved, and the user experience is improved.

Fig. 6 illustrates a flow diagram of a method for implementing channel switching with a third-party application, in accordance with some embodiments. Referring to fig. 6, an embodiment of the present invention provides a method for implementing channel switching by using a third-party application, where the method is executed by a controller in a display device provided in the foregoing embodiment, and the method includes:

s1, receiving a user request input by a user through a third-party application, analyzing the user request, and acquiring channel information for realizing channel switching;

s2, generating channel switching broadcast based on the channel information and a preset instruction format;

s3, the channel switching broadcast is sent to a live television APP, and the channel switching broadcast is used for indicating the live television APP to perform channel switching based on the channel information.

As can be seen from the foregoing technical solutions, embodiments of the present invention provide a method and a display device for implementing channel switching by using a third-party application, where when channel switching is implemented by using the third-party application, a user generates a user request through the third-party application, and obtains channel information for implementing channel switching after parsing; the third-party application generates a channel switching broadcast based on the channel information and a preset instruction format and sends the channel switching broadcast to a live television APP; the live tv APP responds to the channel change broadcast to perform channel change based on the channel information. The method and the display device can provide a new channel switching mode, namely, the channel switching of the live television APP is realized through the third-party application, the switching method does not depend on a network, a live channel list does not need to be called, only the third-party application needs to construct the channel switching broadcast which accords with the preset instruction format, the channel switching can be realized through interaction with the live television APP, the convenience of operating the live television APP is improved, and the user experience is improved.

In a specific implementation manner, the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the method for implementing channel switching by using a third-party application provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).

Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.

The same and similar parts in the various embodiments in this specification may be referred to each other. Particularly, for the embodiment of the method for implementing channel switching by using a third-party application, since it is substantially similar to the embodiment of the display device, the description is relatively simple, and for the relevant points, reference may be made to the description in the embodiment of the display device.

Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电视开机方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类