Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1A is a flowchart of an embodiment of a starting method of a television application according to an exemplary embodiment of the present application, where the embodiment may be applied to a smart terminal (e.g., a smart phone, a tablet device, and the like), and the embodiment is applied in a scenario where multiple televisions are present, that is, the smart terminal may control the multiple televisions, the television mentioned in the embodiment of the present application is a smart television, that is, like a smart phone, has a fully open platform, is equipped with an operating system, and can be used by a user to install and uninstall a program provided by a third-party service provider, such as software, a game, and the like, and can implement a network function through a network cable or a wireless network. As shown in fig. 1A, the method for starting the tv application includes the following steps:
step 101: and acquiring the address information of each television, and respectively sending different control instructions to each television by using the address information of each television so as to control each television to play different contents.
The description of how to obtain the address information of each tv can be referred to the following description of the embodiment shown in fig. 2, and will not be described in detail here.
In one embodiment, the obtained address information (Location-URL) may include an IP (Internet Protocol) address and a port number of the television. The control instruction is used for controlling the content carried in the television playing instruction, the playing content can be pictures, television channels, music, movies and the like, and each television can play different content only by ensuring that each television plays different content.
In an exemplary scenario, as shown in fig. 1B, the intelligent terminal may send a control instruction for playing different pictures to each TV, where the control instruction sent by the intelligent TV to the TV1 carries Pic1, the control instruction sent to the TV2 carries Pic2, and the control instruction sent to the TV3 carries Pic 3. Thus, TV1 displays Pic1, TV2 displays Pic2, and TV3 displays Pic 3.
Step 102: outputting the corresponding relation between the address information of each television and the playing content, receiving a target television specified by a user according to the corresponding relation, and controlling the target television to start the application to be started.
In an embodiment, the intelligent terminal may output the correspondence between the address information of each tv and the playing content through a user interface of the tv control application program, so that the user may select the target tv according to the correspondence and the content played by each tv.
Based on the above scenario, as shown in fig. 1C, three corresponding relationships are displayed on the user interface of the tv control application of the intelligent terminal: the user clicks a "select" button corresponding to a certain corresponding relationship on the user interface according to the displayed corresponding relationship and the pictures played by each television to specify the target television corresponding to the corresponding relationship, wherein the address information 1 and Pic1, the address information 2 and Pic2, and the address information 3 and Pic3 are included in the television. For example, if a user wants to control the TV1 in the living room as a target TV, the address information 1 corresponding to the content is found in the correspondence output by the smart terminal according to the correspondence output by the smart terminal and the content currently played by the TV in the living room, and the "select" button corresponding to the address information 1 is clicked, so that the smart terminal receives the target TV1 specified by the user.
In an embodiment, in a process of controlling a target television to start an application to be started, an intelligent terminal may obtain a start parameter of the application to be started from the target television, and send a start instruction to the target television according to the obtained start parameter, so that the target television starts the application to be started.
The application to be started is an application designated by a user, if the application to be started is installed in the target television, the intelligent terminal can acquire the starting parameters of the application, and if the application to be started is not installed in the target television, the intelligent terminal can acquire reminding information for reminding that the application is not installed on the target television.
In an embodiment, in a process of acquiring the start parameter of the application to be started from the target television, the intelligent terminal may access the address information of the application of the acquired target television by using the address information of the target television, and further acquire the start parameter of the application to be started by using the application access address information of the target television.
The format of the obtained Application access address information (Application-URL) of the target television may be URL/apps. For example, http://192.168.1.1: 12345/apps.
In this embodiment, the intelligent terminal pushes different playing contents to each television and outputs the corresponding relationship between the address information of each television and the playing contents, so that a user can conveniently locate a target television according to the output corresponding relationship and the content played by each television, and further control the target television to start the application to be started. Therefore, under the scene that the terminal controls a plurality of televisions, the user can position the target television according to the output corresponding relation without memorizing the IP address of each television.
Fig. 2 is a flowchart of another embodiment of a method for starting a television application according to an exemplary embodiment of the present application, where this embodiment uses the method provided in this embodiment of the present application to exemplarily describe how to obtain address information of each television, as shown in fig. 2, the method includes the following steps:
step 201: and sending a search instruction for acquiring the address information in a broadcasting mode.
In an embodiment, in a case that the intelligent terminal and each television are in the same local area network, a Search instruction (M-Search) for a user to obtain address information may be sent in a broadcast manner, and a destination address of the Search instruction is a broadcast address, for example 239.255.255.250.
The Search instruction sent by the intelligent terminal may be sent through a DIAL protocol, and a destination port carried by the Search instruction is a broadcast port, for example, a 1900 port, and a Search Target (Search Target) carried by the Search instruction is a television supporting the DIAL protocol, for example, specific information of the Search Target is
urn:dail-multiscreen-org:service:dial 1。
Step 202: and receiving a response carrying the address information returned by each television.
In an embodiment, when monitoring the search instruction, each tv detects that the locally supported DIAL protocol is supported, and replies a response carrying address information to the intelligent terminal.
For the process from step 201 to step 202, a server may be set to manage the address information of each tv, so that, when the intelligent terminal and each tv are in different local area networks, the server may obtain the address information of each tv, that is, the intelligent terminal sends a request for obtaining the address information to the server, and receives a response carrying the address information of each tv returned by the server.
Step 203: and respectively sending different control instructions to each television by using the address information of each television so as to control each television to play different contents.
For the description of step 203, refer to the related description of step 101, which is not repeated.
Step 204: and outputting the corresponding relation between the address information of each television and the playing content, receiving a target television specified by the user according to the corresponding relation, and controlling the target television to start the application to be started.
For the description of step 204, refer to the related description of step 102, and will not be described again.
In this embodiment, when the intelligent terminal and each television are in the same local area network, a search instruction for acquiring address information may be sent in a broadcast manner, and a response carrying the address information returned by each television is received, without sending the search instruction to each television separately, so that time for acquiring the address information may be saved.
Corresponding to the embodiment of the television application starting method, the application also provides an embodiment of a television application starting device.
The embodiment of the television application starting device can be applied to the intelligent terminal. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the device where the software implementation is located as a logical means. In terms of hardware, as shown in fig. 3, a hardware structure diagram of an intelligent terminal according to an exemplary embodiment of the present application is shown in fig. 3, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 3, a device in which the apparatus is located in the embodiment may also include other hardware according to an actual function of the device, which is not described again.
Fig. 4 is a block diagram of an embodiment of an initiating apparatus of a television application according to an exemplary embodiment of the present application, where the embodiment may be applied to a smart terminal, and as shown in fig. 4, the initiating apparatus of the television application includes: an acquisition module 41, a sending module 42, a designation module 43, and a control start module 44.
The acquiring module 41 is configured to acquire address information of each television;
a sending module 42, configured to send different control instructions to each television respectively by using the address information of each television, so as to control each television to play different contents;
a specifying module 43, configured to output a corresponding relationship between address information of each television and playing content, and receive a target television specified by a user according to the corresponding relationship;
and the control starting module 44 is used for controlling the target television to start the application to be started.
In an optional implementation manner, the control starting module 44 is specifically configured to obtain a starting parameter of an application to be started from the target television; and sending a starting instruction to the target television according to the obtained starting parameters, so that the target television starts the application to be started.
Fig. 5 is a block diagram of an embodiment of another starting apparatus for a television application according to an exemplary embodiment of the present application, and based on the embodiment shown in fig. 4, as shown in fig. 5, the obtaining module 41 includes:
the broadcast submodule 411 is configured to send a search instruction for acquiring address information in a broadcast manner;
and the receiving submodule 412 is configured to receive a response carrying address information returned by each television.
In an optional implementation manner, the obtaining module 41 may be further specifically configured to send a request for obtaining address information to a server, where the server is configured to manage the address information of each television; and receiving a response which is returned by the server and carries the address information of each television.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.