WO2017211020A1 - 一种电视操控方法及装置 - Google Patents

一种电视操控方法及装置 Download PDF

Info

Publication number
WO2017211020A1
WO2017211020A1 PCT/CN2016/100471 CN2016100471W WO2017211020A1 WO 2017211020 A1 WO2017211020 A1 WO 2017211020A1 CN 2016100471 W CN2016100471 W CN 2016100471W WO 2017211020 A1 WO2017211020 A1 WO 2017211020A1
Authority
WO
WIPO (PCT)
Prior art keywords
television
electronic device
dimensional code
manipulation instruction
television set
Prior art date
Application number
PCT/CN2016/100471
Other languages
English (en)
French (fr)
Inventor
李君年
Original Assignee
乐视控股(北京)有限公司
乐视网信息技术(北京)股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视网信息技术(北京)股份有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017211020A1 publication Critical patent/WO2017211020A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • 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/426Internal components of the client ; Characteristics thereof
    • H04N21/42684Client identification by a unique number or address, e.g. serial number, MAC address, socket ID

Definitions

  • the embodiments of the present invention relate to the field of terminal devices, and in particular, to a television control method and apparatus.
  • the television can be used to play the video provided by the television station, and some applications can be preset in the television for the user to use the application through the television. For example, some game programs can be preset on the TV for the user to use.
  • the user usually controls the TV through the remote control during the use of the TV.
  • the remote control is usually provided with a direction key, a numeric key, a volume key, and the like.
  • the user touches a button on the remote controller, and the remote controller generates a corresponding control signal, and transmits the control signal to the television, so that the television performs the operation indicated by the control signal to realize the television. Control.
  • an embodiment of the present invention provides a television controller. Law and equipment.
  • a television control method including:
  • the background server obtains the identity of the television
  • the background server generates corresponding two-dimensional code original data according to the identity identifier of the television set
  • the background server transmits the two-dimensional code raw data to the television set
  • the television After receiving the two-dimensional code raw data, the television generates a corresponding two-dimensional code according to the two-dimensional code original data, where the two-dimensional code includes an identity of the television, and the electronic device scans The two-dimensional code, and establishing a binding relationship with the television according to the scan result, after receiving the transmission operation for the currently accessed webpage, the electronic device generates a corresponding manipulation instruction, and the The manipulation command is transmitted to a television set having a binding relationship with itself, and the television receiving the manipulation instruction performs an operation indicated by the manipulation instruction.
  • the identity of the television is the MAC address of the television.
  • a television control method including:
  • the electronic device scans the two-dimensional code generated by the television set, and establishes a binding relationship with the television set according to the scan result;
  • the electronic device displays the currently accessed webpage, and after receiving the transmission operation for the currently accessed webpage, generates a corresponding manipulation instruction
  • the electronic device transmits the manipulation command to the television set having a binding relationship with the electronic device such that the television set performs an operation indicated by the manipulation instruction.
  • the electronic device transmits the manipulation instruction to the television set having a binding relationship with the electronic device, including:
  • the electronic device After acquiring the manipulation instruction, the electronic device transmits the manipulation instruction and the identity of the television set having a binding relationship with itself to a local server connected to the television set, so that the local server Transmitting the manipulation command to the television set having a binding relationship with the electronic device.
  • the electronic device transmits the manipulation instruction to the television set having a binding relationship with the electronic device, including:
  • the electronic device acquires an IP address of the television set having a binding relationship with the electronic device through a local server connected to the television set;
  • the electronic device establishes a WebSocket connection between the electronic device and the television set according to an IP address of the television set;
  • the electronic device After acquiring the manipulation instruction, the electronic device transmits the manipulation instruction to the television through the WebSocket connection.
  • the manipulation instruction is used to instruct the television to display information accessed by the electronic device, the manipulation instruction includes a network address of the information;
  • the manipulation instruction includes description information of the game operation.
  • it also includes:
  • the electronic device uploads information stored by itself to a remote server
  • the electronic device generates a push command and transmits the push command to the remote server, so that the remote server transmits the information at the address of the remote server to the television through a local server, and The television displays the information based on the address.
  • a television control method includes:
  • the television set transmits its own identity to the background server, so that the background server generates corresponding two-dimensional code original data according to the identity identifier, and transmits the two-dimensional code original data to the television set;
  • the television After receiving the two-dimensional code raw data, the television generates a corresponding two-dimensional code according to the two-dimensional code original data, where the two-dimensional code includes an identity of the television, so that the electronic device Scanning the two-dimensional code, and establishing a binding relationship with the television set according to the scan result;
  • the television receives the manipulation instruction transmitted by the electronic device, including:
  • the television device Receiving, by the television device, the manipulation instruction transmitted by the local server, wherein after acquiring the manipulation instruction, the electronic device transmits the manipulation instruction and the identity identifier of the television set having a binding relationship with itself to a local server connected to the television set, the local server transmitting the manipulation instruction to the television set having a binding relationship with the electronic device;
  • the television set transmits its own IP address to the local server, so that the local server transmits the IP address to the electronic device, and the electronic device Establishing a WebSocket connection between the electronic device and the television set according to an IP address of the television set;
  • the television set receives the manipulation instruction transmitted by the electronic device through the WebSocket connection.
  • it also includes:
  • the television receives the address of the information transmitted by the local server at the remote server, and displays the information according to the address, wherein the electronic device uploads the information stored by itself to the remote server, generates a push command, and generates a Transmitting the push command to a remote server, after receiving the push command, transmitting the information at the address of the remote server to a local server, so that the local server transmits the address to the TV set.
  • a television control apparatus includes:
  • An identity obtaining module configured to obtain an identity of the television
  • a two-dimensional code original data generating module configured to generate corresponding two-dimensional code raw data according to the identity identifier of the television
  • a two-dimensional code original data transmission module configured to transmit the two-dimensional code raw data to the television set
  • the television After receiving the two-dimensional code raw data, the television generates a corresponding two-dimensional code according to the two-dimensional code original data, where the two-dimensional code includes an identity of the television, and the electronic device scans The two-dimensional code, and establishing a binding relationship with the television according to the scan result, after receiving the transmission operation for the currently accessed webpage, the electronic device generates a corresponding manipulation instruction, and the The manipulation command is transmitted to a television set having a binding relationship with itself, and the television receiving the manipulation instruction performs an operation indicated by the manipulation instruction.
  • the identity of the television is the MAC address of the television.
  • a television control apparatus includes:
  • a two-dimensional code scanning module configured to scan a two-dimensional code generated by a television set, and establish a binding relationship with the television set according to the scan result;
  • a manipulation instruction generation module configured to display a currently accessed webpage, and generate a corresponding manipulation instruction after receiving a transmission operation for the currently accessed webpage
  • a manipulation instruction transmission module configured to transmit the manipulation instruction to the television set having a binding relationship with the electronic device, so that the television set performs an operation indicated by the manipulation instruction.
  • the manipulation instruction transmission module includes:
  • a first transmission unit configured to: after acquiring the manipulation instruction, transmit the manipulation instruction and an identity of the television set having a binding relationship with itself to a local server connected to the television set, so as to The local server transmits the manipulation command to the television set having a binding relationship with the electronic device.
  • the manipulation instruction transmission module includes:
  • An IP address obtaining unit configured to: if the electronic device and the television are in the same local area network, the IP address obtaining unit acquires the binding relationship with the electronic device by using a local server connected to the television The IP address of the TV;
  • connection establishing unit configured to establish a WebSocket connection between the electronic device and the television according to an IP address of the television
  • a second transmission unit configured to transmit the manipulation instruction to the television set through the WebSocket connection after acquiring the manipulation instruction.
  • the manipulation instruction is used to instruct the television to display information accessed by the electronic device, the manipulation instruction includes a network address of the information;
  • the manipulation instruction includes description information of the game operation.
  • it also includes:
  • An information uploading module configured to upload information stored by itself to a remote server
  • Pushing a command transmission module configured to generate a push command, and transmit the push command to the remote server, so that the remote server transmits the information at an address of the remote server to the television through a local server, And displaying, by the television set, the information according to the address.
  • a television control apparatus includes:
  • An identity transmission module configured to transmit its own identity to a background server, so that the background server generates corresponding two-dimensional code original data according to the identity identifier, and transmits the two-dimensional code original data to the TV set;
  • a two-dimensional code generating module configured to generate a corresponding two-dimensional code according to the two-dimensional code raw data after receiving the two-dimensional code raw data, where the two-dimensional code includes an identifier of the television So that the electronic device scans the two-dimensional code, and establishes a binding relationship with the television set according to the scan result;
  • An operation execution module configured to receive a manipulation instruction transmitted by the electronic device, and perform an operation indicated by the manipulation instruction, wherein the electronic device displays a currently accessed webpage, and receives a webpage for the currently accessed webpage After the transfer operation, the corresponding manipulation command is generated.
  • the operation execution module includes:
  • a first receiving unit configured to receive the manipulation instruction transmitted by a local server, where the electronic device acquires the manipulation instruction and the identity of the television set having a binding relationship with itself after acquiring the manipulation instruction
  • the identification is transmitted to a local server connected to the television, the local server transmitting the manipulation instruction to the television set having a binding relationship with the electronic device;
  • the operation execution module includes:
  • IP address transmission unit if the electronic device and the television are in the same local area network, the IP address transmission unit is configured to transmit its own IP address to the local server, so that the local server transmits the IP address to the local Determining an electronic device, and the electronic device establishes a WebSocket connection between the electronic device and the television set according to an IP address of the television set;
  • a second receiving unit configured to receive the manipulation instruction that is transmitted by the electronic device by using the WebSocket connection.
  • it also includes:
  • An information display module configured to receive an address of the information transmitted by the local server at the remote server, and display the information according to the address, wherein the electronic device uploads the information stored by the electronic device to the remote server, and generates a push instruction, and Transmitting the push command to a remote server, after receiving the push command, transmitting the information at the address of the remote server to a local server, so that the local server transmits the address to The television set.
  • a non-transitory computer-readable storage medium wherein the non-transitory computer-readable storage medium stores computer-executable instructions for Perform any of the above TV manipulation methods.
  • an electronic device comprising: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, The instructions are arranged to perform any of the television manipulation methods described above.
  • a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when When the program instructions are executed by the computer, the computer is caused to execute any of the above television manipulation methods.
  • the television control method and apparatus disclosed in the embodiments of the present invention can implement control of a television set by using an electronic device, wherein the electronic device can generate corresponding operations according to the accessed webpage.
  • the operation mode disclosed in the embodiment of the present invention is simpler than that of the method of controlling the television by the remote controller in the prior art. .
  • FIG. 1 is a schematic diagram showing the workflow of a television control method according to an exemplary embodiment of the present invention
  • FIG. 2 is a schematic diagram of a connection relationship in a television control method according to an exemplary embodiment of the present invention
  • FIG. 3 is a schematic diagram showing the workflow of still another television control method according to an exemplary embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a workflow of an electronic device transmitting a manipulation command to a television set in another television control method according to an exemplary embodiment of the present invention
  • FIG. 5 is a schematic diagram showing the workflow of still another television control method according to an exemplary embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a television control device according to an exemplary embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of still another television control device according to an exemplary embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of still another television control device according to an exemplary embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the present application discloses a television control method and apparatus to solve the problem of complicated operation when the television is controlled by the remote controller in the prior art.
  • Embodiment 1 of the present invention discloses a television control method.
  • the television control method includes the following steps:
  • Step S11 The background server acquires the identity of the television.
  • the background server may be directly connected to the television, and the television transmits its own identity to the background service, so that the background server acquires the identity of the television.
  • the solution disclosed in the embodiment of the present invention includes an electronic device 100, a background server 200, a local server 300, and a television set 400.
  • the background server 200 generally refers to a background server of various applications installed in the electronic device 100.
  • the background server 200 is connected to the television 400 through the local server 300, and the identity of the television 400 is usually transmitted to the local server 300 connected to the television 400, and the local server 300 will again The identity is transmitted to the background server 200, so that the background server 200 acquires the identity.
  • Step S12 The background server generates corresponding two-dimensional code original data according to the identity identifier of the television.
  • the identity of the television is generally the MAC (Media Access Control) address of the television. Alternatively, it may be another unique identifier that can characterize the identity of the television, this application There is no limit to this.
  • Step S13 The background server transmits the two-dimensional code raw data to the television set.
  • the television After receiving the two-dimensional code raw data, the television generates a corresponding two-dimensional code according to the two-dimensional code original data, where the two-dimensional code includes an identity of the television, and the electronic device scans The two-dimensional code, and establishing a binding relationship with the television according to the scan result, after receiving the transmission operation for the currently accessed webpage, the electronic device generates a corresponding manipulation instruction, and the The manipulation command is transmitted to a television set having a binding relationship with itself, and the television receiving the manipulation instruction performs an operation indicated by the manipulation instruction.
  • the background server If the background server is directly connected to the television set, the background server directly transmits the two-dimensional code raw data to the television set.
  • the background server transmits the original data of the two-dimensional code of the television to a local server connected to the television, and the local server
  • the two-dimensional code raw data is transmitted to the television set, so that the television set generates a corresponding two-dimensional code after receiving the two-dimensional code raw data.
  • the television opportunity After the background server transmits the two-dimensional code raw data to the television set, the television opportunity generates a corresponding two-dimensional code according to the two-dimensional code original data.
  • the electronic device establishes a binding relationship with the television set by scanning the two-dimensional code.
  • the electronic device displays the currently accessed webpage, and after receiving the transmission operation for the currently accessed webpage, generates a corresponding manipulation instruction, and transmits the manipulation instruction to the electronic device.
  • the television set The television set performs an operation indicated by the manipulation instruction after receiving the manipulation instruction.
  • the electronic device can access various types of webpages, such as video websites, photo galleries, and game websites, and generate manipulation commands according to the currently accessed webpages.
  • the game control webpage can be accessed through the electronic device.
  • the corresponding game manipulation interface is presented on the electronic device.
  • the user performs a corresponding transmission operation on the game control interface, and the electronic device can generate a corresponding manipulation instruction according to the transmission operation, thereby facilitating the television to perform a corresponding game operation after receiving the manipulation instruction.
  • the television control method disclosed in the embodiment of the invention can realize the control of the television by using the electronic device, and the electronic device can generate the corresponding manipulation instruction according to the accessed webpage.
  • the method is simpler in operation than the method of controlling the television by the remote controller in the prior art.
  • Embodiment 2 of the present invention discloses a television control method.
  • the television control method includes the following steps:
  • Step S21 The electronic device scans the two-dimensional code generated by the television, and establishes a binding relationship with the television according to the scan result.
  • the background server is capable of acquiring the identity of the television, and generating the corresponding two-dimensional code original data according to the acquired identity of the television, and then the second The dimension code raw data is transmitted to the television set, and after receiving the two-dimensional code raw data, the television set generates a corresponding two-dimensional code, so that the electronic device scans the two-dimensional code.
  • Step S22 The electronic device displays the currently accessed webpage, and after receiving the transmission operation for the currently accessed webpage, generates a corresponding manipulation instruction.
  • the user can perform corresponding transmission operations on the electronic device. For example, if the user wishes to operate the game program on the television, the game control webpage can be accessed through the electronic device. In this case, the corresponding game manipulation interface is presented on the electronic device. The user performs a corresponding transmission operation on the game control interface, and the electronic device can generate a corresponding manipulation instruction according to the transmission operation.
  • Step S23 The electronic device transmits the manipulation instruction to the television set having a binding relationship with the electronic device, so that the television set performs an operation indicated by the manipulation instruction.
  • the electronic device transmits the manipulation command to the television set after generating a manipulation command.
  • the television analyzes the manipulation command and performs an operation indicated by the manipulation instruction accordingly.
  • a second embodiment of the present invention discloses a television control method, in which an electronic device scans a two-dimensional code generated by a television set, and establishes a binding relationship with the television set according to the scan result; after receiving the transmission operation, the electronic device receives the transmission operation.
  • Corresponding manipulation instructions are generated according to the current access webpage, and the manipulation instruction is transmitted to the television set having binding with the electronic device, so that the television performs the operation indicated by the manipulation instruction.
  • the television control method disclosed in the embodiment of the invention can realize the control of the television set by using the electronic device, and the electronic device can generate a corresponding manipulation instruction according to the accessed webpage, so that the television performs the corresponding operation without performing the remote control.
  • the operation of the method is more concise than the method of controlling the TV by the remote controller in the prior art.
  • the electronic device may be a mobile phone, a tablet computer, a computer, or the like, which is not limited in this application.
  • the information contained in the manipulation instruction is related to user requirements. If the manipulation instruction is used to instruct the television to display information accessed by the electronic device, the manipulation instruction includes a network address of the information; if the manipulation instruction is used to instruct the television to operate the game program, The manipulation instruction includes description information of the game operation.
  • the information may be in various forms, such as a video, a picture, and a music.
  • the television is required to display the information currently being accessed.
  • a user visits a video website, they often want to play a video on a video website.
  • the user needs to touch the remote controller multiple times to enable the television to find the video of interest to the user and play it.
  • the electronic device when the electronic device displays the video of interest to the user, the user may perform a transmission operation on the electronic device, and after receiving the transmission operation, the electronic device generates a manipulation instruction, and the The manipulation command contains the network address of the video currently displayed by the electronic device. After receiving the manipulation command, the television can play the video corresponding to the network address to meet the TV control requirement of the user.
  • the game control webpage can be accessed through the electronic device, so that the corresponding game manipulation interface is presented on the electronic device.
  • the user performs a corresponding transmission operation on the game control interface, and the electronic device generates a corresponding manipulation instruction according to the transmission operation, where the manipulation instruction includes description information of the game operation, and the description information may be text information or other forms.
  • the television After receiving the manipulation instruction, the television analyzes the description, acquires description information of the game operation contained therein, and executes a corresponding game operation.
  • the electronic device transmits the manipulation instruction to the television set having a binding relationship with the electronic device, including:
  • the electronic device After acquiring the manipulation instruction, the electronic device transmits the manipulation instruction and the identity of the television set having a binding relationship with itself to a local server connected to the television set, so that the local server Transmitting the manipulation command to the television set having a binding relationship with the electronic device.
  • the electronic device may transmit the manipulation instruction and the identity identifier of the television set having a binding relationship with itself to a background server of the electronic device, where the background server
  • the manipulation instruction and the identification of the television set having a binding relationship with itself are transmitted to the local server.
  • the local server determines the target television set according to the identity identifier transmitted by the electronic device, and transmits the manipulation instruction to the target television set, so that the manipulation instruction can be transmitted to have a binding relationship with the electronic device.
  • the television set is determining the target television set according to the identity identifier transmitted by the electronic device, and transmits the manipulation instruction to the target television set, so that the manipulation instruction can be transmitted to have a binding relationship with the electronic device.
  • the electronic device and the television may be in the same local area network, or the electronic device and the television are not in the same local area network, so as to be able to adapt to various application scenarios.
  • the electronic device transmitting the manipulation instruction to the television set having a binding relationship with the electronic device includes the following steps:
  • Step S31 If the electronic device and the television are in the same local area network, the electronic device acquires an IP address of the television set having a binding relationship with the electronic device through a local server connected to the television.
  • the television set transmits its own IP address to the local server, and the local server transmits the IP address to the background server, and the background server transmits the IP address to the An electronic device such that the electronic device acquires an IP address of the television set that has a binding relationship with itself.
  • Step S32 The electronic device establishes a WebSocket connection between the electronic device and the television according to an IP address of the television.
  • WebSocket connection is a new protocol in HTML5, which is used to implement full-duplex communication between browser and server.
  • the communication connection between the electronic device and the television set can also be other forms of connection, which is not limited in this application.
  • Step S33 After acquiring the manipulation instruction, the electronic device transmits the manipulation instruction to the television through the WebSocket connection.
  • Steps S31 to S33 are applied to the case where the television and the electronic device are in the same local area network.
  • the electronic device can establish a WebSocket connection between the electronic device and the television through the IP address of the television, and then the electronic device can directly transmit the manipulation command to the television through a WebSocket connection.
  • the real-time interaction of the WebSocket connection is good, which helps the TV to quickly obtain the manipulation command.
  • the television control method disclosed in the embodiment of the present invention further includes the following steps:
  • the electronic device uploads information stored by itself to a remote server.
  • the electronic device may upload information such as pictures and videos stored by itself to the network disk, or the electronic device may upload information such as pictures and videos stored by itself to a server of an application such as WeChat.
  • the electronic device generates a push command and transmits the push command to the remote server, so that the remote server transmits the information at the address of the remote server to the television through a local server, and The information is displayed by the television set based on the address.
  • the electronic device In the user's electronic device, a variety of information such as pictures and videos are usually stored, and the user sometimes wants to push it to the television to be displayed by the television. In this case, after the electronic device uploads the information stored by itself to the remote server, if receiving the corresponding operation of the user, the electronic device generates a push command and transmits the push command to the remote server.
  • the remote server After receiving the push command, the remote server transmits the information that needs to be pushed to the local server at the address of the remote server.
  • the local server then transmits the address to the television, the television accessing the location after receiving the address Address, obtain the information and display it to meet the user's need to display the information stored by itself.
  • the remote server may be the same server as the background server, or both of them are different servers.
  • the electronic device realizes binding with the television set by scanning the two-dimensional code of the television set, and can generate a corresponding manipulation instruction according to the currently accessed webpage.
  • the television control method can be applied to an electronic device equipped with WeChat, wherein the WeChat generates the original data of the two-dimensional code according to the identity of the TV, and scans the two-dimensional code after the TV generates the two-dimensional code. Code, the binding of electronic devices to TV sets.
  • WeChat can focus on accounts developed by third parties (such as operators), which can provide a variety of information, such as videos and pictures, and can display the game's control interface. When browsing the information provided by the account, if the user wants the television to display, or when the game program is manipulated through the manipulation interface, the user can perform a transmission operation on the electronic device, thereby causing the electronic device to generate a corresponding manipulation instruction.
  • the electronic device can upload the information stored by itself to the WeChat server.
  • the television can obtain the address of the information in the WeChat server, access the address, obtain the corresponding information and display it.
  • the background server and the remote server are both the WeChat servers.
  • Embodiment 3 of the present invention discloses a television control method.
  • the television control method includes the following steps:
  • Step S41 The television transmits its own identity to the background server, so that the background server generates corresponding two-dimensional code original data according to the identity identifier, and transmits the two-dimensional code original data to the television. .
  • the television set can be directly connected to the background server, and the television directly transmits its own identity to the background service, so that the background server acquires the identity of the television.
  • the television transmits the identity to the local server, and the local server The identity is transmitted to the background server.
  • the identity of the television is usually a MAC (Media Access Control) address of the television.
  • it may be another unique identifier that can characterize the identity of the television, and the application does not limit this.
  • Step S42 After receiving the two-dimensional code raw data, the television generates a corresponding two-dimensional code according to the two-dimensional code original data, where the two-dimensional code includes an identity identifier of the television.
  • the electronic device scans the two-dimensional code and establishes a binding relationship with the television set according to the scan result.
  • the background server If the background server is directly connected to the television set, the background server directly transmits the two-dimensional code raw data to the television set.
  • the background server transmits the original data of the two-dimensional code of the television to a local server connected to the television, and the local server
  • the two-dimensional code raw data is transmitted to the television set, so that the television set generates a corresponding two-dimensional code after receiving the two-dimensional code raw data.
  • the background server After the background server transmits the two-dimensional code raw data to the television set, the television opportunity generates a corresponding two-dimensional code according to the two-dimensional code original data.
  • the electronic device establishes a binding relationship with the television set by scanning the two-dimensional code.
  • Step S43 the television receives the manipulation instruction transmitted by the electronic device, and performs an operation indicated by the manipulation instruction, wherein the electronic device displays the currently accessed webpage, and receives the webpage for the current visit. After the transfer operation, the corresponding manipulation command is generated.
  • the electronic device can access various types of web pages, such as a video website, a photo library, and a game website, and generate manipulation instructions according to the currently accessed web page. For example, if the user wishes to operate the game program on the television, the game control webpage can be accessed through the electronic device. In this case, the corresponding game manipulation interface is presented on the electronic device. The user performs a corresponding transmission operation on the game control interface, and the electronic device can generate a corresponding manipulation instruction according to the transmission operation, thereby facilitating the television to perform a corresponding game operation after receiving the manipulation instruction.
  • the game control webpage can be accessed through the electronic device.
  • the corresponding game manipulation interface is presented on the electronic device.
  • the user performs a corresponding transmission operation on the game control interface, and the electronic device can generate a corresponding manipulation instruction according to the transmission operation, thereby facilitating the television to perform a corresponding game operation after receiving the manipulation instruction.
  • the television control method disclosed in the embodiment of the invention can realize the control of the television by using the electronic device, and the electronic device can generate the corresponding manipulation instruction according to the accessed webpage.
  • the method is simpler in operation than the method of controlling the television by the remote controller in the prior art.
  • the operation of the television set to receive the manipulation command transmitted by the electronic device is disclosed, and the operation can be implemented in various manners.
  • the television receives the manipulation command transmitted by the electronic device, including:
  • the television device Receiving, by the television device, the manipulation instruction transmitted by the local server, wherein after acquiring the manipulation instruction, the electronic device transmits the manipulation instruction and the identity identifier of the television set having a binding relationship with itself to a local server connected to the television, the local server transmitting the manipulation command to the television set having a binding relationship with the electronic device.
  • the electronic device may transmit the manipulation instruction and the identity identifier of the television set having a binding relationship with itself to a background server of the electronic device, where the background server Transmitting the manipulation instruction and the identity of the television set having a binding relationship with itself to a local server.
  • the local server determines the target television set according to the identity identifier transmitted by the electronic device, and transmits the manipulation instruction to the target television set, so that the manipulation instruction can be transmitted to have a binding relationship with the electronic device.
  • the television set is the television set.
  • the electronic device and the television may be in the same local area network, or the electronic device and the television are not in the same local area network, so as to be able to adapt to various application scenarios.
  • the television receives the manipulation instruction transmitted by the electronic device, including the following steps:
  • the television set transmits its own IP address to the local server, so that the local server transmits the IP address to the electronic device, and the The electronic device establishes a WebSocket connection between the electronic device and the television set according to an IP address of the television set.
  • the television set transmits its own IP address to the local server, and the local server transmits the IP address to the background server again, by the background server. Transmitting the IP address to the electronic device such that the electronic device acquires an IP address of the television set that has a binding relationship with itself.
  • the television receives the manipulation instruction transmitted by the electronic device through the WebSocket connection.
  • WebSocket connection is a new protocol in HTML5, which is used to implement full-duplex communication between browser and server.
  • the real-time interaction of the WebSocket connection is good, which helps the TV to quickly obtain the manipulation command.
  • the television control method disclosed in the embodiment of the present invention further includes:
  • the television receives the address of the information transmitted by the local server at the remote server, and displays the information according to the address, wherein the electronic device uploads the information stored by itself to the remote server, generates a push command, and generates a Transmitting the push command to a remote server, after receiving the push command, transmitting the information at the address of the remote server to a local server, so that the local server transmits the address to the TV set.
  • the electronic device In the user's electronic device, a variety of information such as pictures and videos are usually stored, and the user sometimes wants to push it to the television to be displayed by the television. In this case, after the electronic device uploads the information stored by itself to the remote server, if receiving the corresponding operation of the user, the electronic device generates a push command and transmits the push command to the remote server.
  • the remote server After receiving the push command, the remote server transmits the information that needs to be pushed to the local server at the address of the remote server. Then, the local server transmits the address to the television, and after receiving the address, the television accesses the address, acquires the information, and displays, thereby satisfying the requirement of the user to display the information stored by the user.
  • the electronic device may upload information such as pictures and videos stored by itself to the network disk, or the electronic device may upload information such as pictures and videos stored by itself to a server of an application such as WeChat.
  • the remote server may be the same server as the background server, or Both are different servers.
  • Embodiment 4 of the present invention discloses a television control device, which is applied to a background server.
  • the identifier acquisition module 110, the two-dimensional code original data generation module 120, and the two-dimensional code original data transmission module 130 are included.
  • the identity identifier obtaining module 110 is configured to acquire an identity of the television.
  • the background server may be directly connected to the television, and the television transmits its own identity to the background service, so that the background server acquires the identity of the television.
  • the solution disclosed in the embodiment of the present invention includes an electronic device 100, a background server 200, a local server 300, and a television set 400.
  • the background server 200 generally refers to a background server of various applications installed in the electronic device 100.
  • the background server 200 is connected to the television 400 through the local server 300, and the identity of the television 400 is usually transmitted to the local server 300 connected to the television 400, and the local server 300 will again The identity is transmitted to the background server 200, so that the background server 200 acquires the identity.
  • the two-dimensional code original data generating module 120 is configured to generate corresponding two-dimensional code original data according to the identity identifier of the television set.
  • the identity of the television is generally the MAC (Media Access Control) address of the television. Alternatively, it may be another unique identifier that can characterize the identity of the television, and the application does not limit this.
  • the two-dimensional code original data transmission module 130 is configured to transmit the two-dimensional code original data to the television set;
  • the television After receiving the two-dimensional code raw data, the television generates a corresponding two-dimensional code according to the two-dimensional code original data, where the two-dimensional code includes an identity of the television, and the electronic device scans The two-dimensional code establishes a binding relationship with the television according to the scan result, and after receiving the transmission operation for the currently accessed webpage, the electronic device generates A corresponding manipulation command is generated, and the manipulation instruction is transmitted to a television set having a binding relationship with itself, and the television receiving the manipulation instruction performs an operation indicated by the manipulation instruction.
  • the background server If the background server is directly connected to the television set, the background server directly transmits the two-dimensional code raw data to the television set.
  • the background server transmits the original data of the two-dimensional code of the television to a local server connected to the television, and the local server
  • the two-dimensional code raw data is transmitted to the television set, so that the television set generates a corresponding two-dimensional code after receiving the two-dimensional code raw data.
  • the television control device disclosed in the embodiment of the invention can realize the control of the television by using the electronic device, and the electronic device can generate a corresponding manipulation instruction according to the accessed webpage, so that the television performs the corresponding operation without performing the remote control.
  • the operation of the scheme is more concise than the method of controlling the TV by the remote controller in the prior art.
  • Embodiment 5 of the present invention discloses a television control device, which is applied to an electronic device.
  • the two-dimensional code scanning module 210, the manipulation command generation module 220, and the manipulation command transmission module 230 are included.
  • the two-dimensional code scanning module 210 is configured to scan a two-dimensional code generated by a television set, and establish a binding relationship with the television set according to the scan result.
  • the background server is capable of acquiring the identity of the television, and generating the corresponding two-dimensional code original data according to the acquired identity of the television, and then the second The dimension code raw data is transmitted to the television set, and after receiving the two-dimensional code raw data, the television set generates a corresponding two-dimensional code, so that the electronic device scans the two-dimensional code.
  • the manipulation instruction generation module 220 is configured to display the currently accessed webpage, and generate a corresponding manipulation instruction after receiving the transmission operation for the currently accessed webpage.
  • the user can perform corresponding transmission operations on the electronic device. For example, if the user wishes to operate the game program on the television, the game control webpage can be accessed through the electronic device. In this case, the corresponding game manipulation interface is presented on the electronic device. The user performs corresponding transmission operation on the game control interface, and the electronic device root According to the transmission operation, corresponding manipulation commands can be generated.
  • the manipulation instruction transmission module 230 is configured to transmit the manipulation instruction to the television set having a binding relationship with the electronic device, so that the television set performs an operation indicated by the manipulation instruction.
  • the electronic device transmits the manipulation command to the television set after generating a manipulation command.
  • the television analyzes the manipulation command and performs an operation indicated by the manipulation instruction accordingly.
  • the television control device disclosed in the embodiment of the invention can realize the control of the television by using the electronic device, and the electronic device can generate a corresponding manipulation instruction according to the accessed webpage, so that the television performs the corresponding operation without performing the remote control.
  • the touch operation is many times, and the method is more concise than the method of controlling the TV by the remote controller in the prior art.
  • the electronic device may be a mobile phone, a tablet computer, a computer, or the like, which is not limited in this application.
  • the information contained in the manipulation instruction is related to user requirements. If the manipulation instruction is used to instruct the television to display information accessed by the electronic device, the manipulation instruction includes a network address of the information; if the manipulation instruction is used to instruct the television to operate the game program, The manipulation instruction includes description information of the game operation.
  • the information may be in various forms, such as a video, a picture, and a music.
  • the television is required to display the information currently being accessed.
  • a user visits a video website, they often want to play a video on a video website.
  • the user needs to touch the remote controller multiple times to enable the television to find the video of interest to the user and play it.
  • the electronic device when the electronic device displays the video of interest to the user, the user may perform a transmission operation on the electronic device, and after receiving the transmission operation, the electronic device generates a manipulation instruction, and the The manipulation command contains the network address of the video currently displayed by the electronic device. After receiving the manipulation command, the television can play the video corresponding to the network address to meet the TV control requirement of the user.
  • the game control webpage can be accessed through the electronic device, so that the corresponding game manipulation interface is presented on the electronic device.
  • the game control interface performs a corresponding transmission operation, and the electronic device generates a corresponding manipulation instruction according to the transmission operation, where the manipulation instruction includes description information of the game operation, and the description information may be text information or other forms of information. And transmitting the manipulation command to the television.
  • the television analyzes the description, acquires description information of the game operation contained therein, and executes a corresponding game operation.
  • manipulation instruction transmission module 230 can include various implementation forms.
  • the manipulation instruction transmission module 230 includes: a first transmission unit, configured to: after acquiring the manipulation instruction, the manipulation instruction and the television set having a binding relationship with itself The identity is transmitted to a local server connected to the television such that the local server transmits the manipulation command to the television set having a binding relationship with the electronic device.
  • the manipulation instruction transmission module 230 includes:
  • An IP address obtaining unit configured to: if the electronic device and the television are in the same local area network, the IP address obtaining unit acquires the binding relationship with the electronic device by using a local server connected to the television The IP address of the TV;
  • connection establishing unit configured to establish a WebSocket connection between the electronic device and the television according to an IP address of the television
  • a second transmission unit configured to transmit the manipulation instruction to the television set through the WebSocket connection after acquiring the manipulation instruction.
  • the television control device disclosed in the embodiment of the present invention further includes:
  • An information uploading module for uploading information stored by itself to a remote server.
  • the electronic device may upload information such as pictures and videos stored by itself to the network disk, or the electronic device may upload information such as pictures and videos stored by itself to a server of an application such as WeChat.
  • Pushing a command transmission module configured to generate a push command, and transmit the push command to the remote server, so that the remote server transmits the information at an address of the remote server to the television through a local server, And displaying, by the television set, the information according to the address.
  • the electronic device In the user's electronic device, a variety of information such as pictures and videos are usually stored, and the user sometimes wants to push it to the television to be displayed by the television. In this case, after the electronic device uploads the information stored by itself to the remote server, if receiving the corresponding operation of the user, the electronic device generates a push command and transmits the push command to the remote server.
  • the remote server After receiving the push command, the remote server transmits the information that needs to be pushed to the local server at the address of the remote server. Then, the local server transmits the address to the television, and after receiving the address, the television accesses the address, acquires the information, and displays, thereby satisfying the requirement of the user to display the information stored by the user.
  • the remote server may be the same server as the background server, or both of them are different servers.
  • Embodiment 6 of the present invention discloses a television control device, which is applied to a television.
  • the identity identification transmission module 310, the two-dimensional code generation module 320, and the operation execution module 330 are included.
  • the identity identification transmission module 310 is configured to transmit its own identity identifier to the background server, so that the background server generates corresponding two-dimensional code original data according to the identity identifier, and transmits the two-dimensional code original data. To the television set.
  • the television set can be directly connected to the background server, and the television directly transmits its own identity to the background service, so that the background server acquires the identity of the television.
  • the television transmits the identity to the local server, and the local server transmits the identity to the background. server.
  • the identity of the television is usually a MAC (Media Access Control) address of the television.
  • it may be another unique identifier that can characterize the identity of the television, and the application does not limit this.
  • the two-dimensional code generating module 320 is configured to receive the original data of the two-dimensional code according to the The two-dimensional code raw data generates a corresponding two-dimensional code, wherein the two-dimensional code includes an identity of the television, so that the electronic device scans the two-dimensional code, and establishes a television with the scan result according to the scan result. Machine binding relationship. If the background server is directly connected to the television set, the background server directly transmits the two-dimensional code raw data to the television set.
  • the background server transmits the original data of the two-dimensional code of the television to a local server connected to the television, and the local server
  • the two-dimensional code raw data is transmitted to the television set, so that the television set generates a corresponding two-dimensional code after receiving the two-dimensional code raw data.
  • the background server After the background server transmits the two-dimensional code raw data to the television set, the television opportunity generates a corresponding two-dimensional code according to the two-dimensional code original data.
  • the electronic device establishes a binding relationship with the television set by scanning the two-dimensional code.
  • the operation execution module 330 is configured to receive a manipulation instruction transmitted by the electronic device, and perform an operation indicated by the manipulation instruction, wherein the electronic device displays a currently accessed webpage, and receives the current access After the transmission operation of the webpage, corresponding manipulation instructions are generated.
  • the electronic device can access various types of web pages, such as a video website, a photo library, and a game website, and generate manipulation instructions according to the currently accessed web page. For example, if the user wishes to operate the game program on the television, the game control webpage can be accessed through the electronic device. In this case, the corresponding game manipulation interface is presented on the electronic device. The user performs a corresponding transmission operation on the game control interface, and the electronic device can generate a corresponding manipulation instruction according to the transmission operation, thereby facilitating the television to perform a corresponding game operation after receiving the manipulation instruction.
  • the game control webpage can be accessed through the electronic device.
  • the corresponding game manipulation interface is presented on the electronic device.
  • the user performs a corresponding transmission operation on the game control interface, and the electronic device can generate a corresponding manipulation instruction according to the transmission operation, thereby facilitating the television to perform a corresponding game operation after receiving the manipulation instruction.
  • the television control device disclosed in the embodiment of the invention can realize the control of the television by using the electronic device, and the electronic device can generate a corresponding manipulation instruction according to the accessed webpage, so that the television performs the corresponding operation without performing the remote control.
  • the operation of the scheme is more concise than the method of controlling the TV by the remote controller in the prior art.
  • operation execution module 330 includes various implementation forms.
  • the operation execution module 330 includes a first receiving unit, configured to receive the manipulation instruction transmitted by a local server, where the electronic device, after acquiring the manipulation instruction, And the television set having a binding relationship with itself Transmitting an identity to a local server connected to the television, the local server transmitting the manipulation instruction to the television set having a binding relationship with the electronic device;
  • the operation execution module 330 includes:
  • IP address transmission unit if the electronic device and the television are in the same local area network, the IP address transmission unit is configured to transmit its own IP address to the local server, so that the local server transmits the IP address to the local Determining an electronic device, and the electronic device establishes a WebSocket connection between the electronic device and the television set according to an IP address of the television set;
  • a second receiving unit configured to receive the manipulation instruction that is transmitted by the electronic device by using the WebSocket connection.
  • the television control device disclosed in the present application further includes:
  • An information display module configured to receive an address of the information transmitted by the local server at the remote server, and display the information according to the address, wherein the electronic device uploads the information stored by the electronic device to the remote server, and generates a push instruction, and Transmitting the push command to a remote server, after receiving the push command, transmitting the information at the address of the remote server to a local server, so that the local server transmits the address to The television set.
  • the electronic device In the user's electronic device, a variety of information such as pictures and videos are usually stored, and the user sometimes wants to push it to the television to be displayed by the television. In this case, after the electronic device uploads the information stored by itself to the remote server, if receiving the corresponding operation of the user, the electronic device generates a push command and transmits the push command to the remote server.
  • the remote server After receiving the push command, the remote server transmits the information that needs to be pushed to the local server at the address of the remote server. Then, the local server transmits the address to the television, and after receiving the address, the television accesses the address, acquires the information, and displays, thereby satisfying the requirement of the user to display the information stored by the user.
  • the electronic device may upload information such as pictures and videos stored by itself to the network disk, or the electronic device may upload information such as pictures and videos stored by itself to a server of an application such as WeChat.
  • the remote server may be the same server as the background server, or both of them are different servers.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium storing computer executable instructions, which can execute any of the foregoing method embodiments The method of TV control.
  • FIG. 9 is a schematic diagram of a hardware structure of an electronic device for performing a television control method according to an embodiment of the present disclosure. As shown in FIG. 9, the device includes:
  • processors 910 and memory 920 one processor 910 is taken as an example in FIG.
  • the apparatus for performing the television manipulation method may further include: an input device 930 and an output device 940.
  • the processor 910, the memory 920, the input device 930, and the output device 940 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 920 is used as a non-volatile computer readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the television control method in the embodiment of the present application.
  • / module for example, the identity acquisition module 110, the two-dimensional code original data generation module 120 and the two-dimensional code original data transmission module 130 shown in FIG. 6, or the two-dimensional code scanning module 210 shown in FIG. 7,
  • the processor 910 executes various functional applications and data processing of the electronic device by executing non-volatile software programs, instructions, and modules stored in the memory 920, that is, implementing the television control method in the above method embodiments.
  • the memory 920 can include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function; and the storage data area can be stored according to the television control device (such as FIG. 6 to FIG. 8) The data created by the use of a TV control device in one item.
  • the memory 920 may include a high speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, Or other non-volatile solid-state storage devices.
  • memory 920 can optionally include a memory remotely located relative to processor 910 that can be connected to the television control device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 930 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the television control device.
  • Output device 940 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 920, and when executed by the one or more processors 910, perform a television manipulation method in any of the above method embodiments.
  • the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are When executed, the computer is caused to perform the television manipulation method in any of the above method embodiments.
  • the program when executed, may include the flow of an embodiment of the methods as described above.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Power Engineering (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

一种电视操控方法及装置。该电视操控方法中,后台服务器根据电视机的身份标识,生成相应的二维码原始数据,并将二维码原始数据传输至电视机,以使电视机产生二维码;电子设备扫描电视机产生的二维码,并根据扫描结果建立与电视机的绑定关系;电子设备在接收到传输操作后,根据当前访问网页产生相应的操控指令,并将操控指令传输至与所述电子设备具有绑定关系的电视机,以便电视机执行所述操控指令指示的操作。能够利用电子设备实现对电视机的控制,而电子设备能够根据访问的网页产生相应的操控指令,以使电视执行相应的操作,无需对遥控器进行多次的触控操作,操作更为简洁。

Description

一种电视操控方法及装置
本申请要求于2016年6月6日提交中国专利局、申请号为201610394049.9、发明名称为“一种电视操控方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及终端设备技术领域,尤其涉及一种电视操控方法及装置。
背景技术
随着科技水平的发展,目前电视已经进入互联网时代,其功能日益丰富。其中,电视除了作为电视台的视频播放窗口,用于播放电视台提供的视频外,还可以在电视中预置一些应用程序,以供用户通过电视使用所述应用程序。例如,可以在电视中预置一些游戏程序,以供用户使用。
另外,用户在电视使用过程中,通常通过遥控器操控电视。遥控器中通常设置有方向键、数字键和音量键等。当需要操控电视时,用户会触控遥控器上的按键,遥控器产生相应的控制信号,并将所述控制信号传输至电视,从而使电视执行所述控制信号指示的操作,实现对电视的操控。
但是,发明人在本申请的研究过程中发现,现有技术中通过遥控器操控电视的方法,操作比较复杂。例如,用户在使用电视中的游戏程序,执行游戏中的每步操作时,往往需要用户多次触控遥控器上的方向键,直到遥控器的光标指向所需的位置,然后用户触控确认键,从而使该游戏程序执行相应的操作。这种情况下,即使简单的游戏,在使用遥控器操控的过程中也会比较复杂。
发明内容
为克服相关技术中存在的问题,本发明实施例提供一种电视操控方 法及装置。
为了解决上述技术问题,本发明实施例公开了如下技术方案:
根据本发明实施例的第一方面,提供一种电视操控方法,包括:
后台服务器获取电视机的身份标识;
所述后台服务器根据所述电视机的身份标识,生成相应的二维码原始数据;
所述后台服务器将所述二维码原始数据传输至所述电视机;
其中,所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,所述二维码中包含所述电视机的身份标识,电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系,在接收到针对所述当前访问的网页的传输操作后,所述电子设备产生相应的操控指令,并将所述操控指令传输至与自身具有绑定关系的电视机,接收到所述操控指令的电视机执行所述操控指令指示的操作。
可选的,所述电视机的身份标识为所述电视机的MAC地址。
根据本发明实施例的第二方面,提供一种电视操控方法,包括:
电子设备扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系;
所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令;
所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,以便所述电视机执行所述操控指令指示的操作。
可选的,所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,包括:
所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,以便所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
可选的,所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,包括:
若所述电子设备与所述电视机处于同一局域网,所述电子设备通过与电视机相连接的本地服务器,获取与所述电子设备具有绑定关系的所述电视机的IP地址;
所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
所述电子设备在获取所述操控指令后,通过所述WebSocket连接将所述操控指令传输至所述电视机。
可选的,若所述操控指令用于指示所述电视机展示所述电子设备访问的信息,所述操控指令中包含所述信息的网络地址;
若所述操控指令用于指示所述电视机操作游戏程序,所述操控指令中包含游戏操作的描述信息。
可选的,还包括:
所述电子设备将自身存储的信息上传至远程服务器;
所述电子设备产生推送指令,并将所述推送指令传输至所述远程服务器,以便所述远程服务器将所述信息在所述远程服务器的地址通过本地服务器传输至所述电视机,并由所述电视机根据所述地址显示所述信息。
根据本发明实施例的第三方面,提供一种电视操控方法,包括:
电视机将自身的身份标识传输至后台服务器,以便所述后台服务器根据所述身份标识,生成相应的二维码原始数据,并将所述二维码原始数据传输至所述电视机;
所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,其中,所述二维码中包含所述电视机的身份标识,以便电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系;
所述电视机接收所述电子设备传输的操控指令,并执行所述操控指 令指示的操作,其中,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
可选的,所述电视机接收所述电子设备传输的操控指令,包括:
所述电视机接收本地服务器传输的所述操控指令,其中,所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机;
或者,
若所述电子设备与所述电视机处于同一局域网,所述电视机将自身的IP地址传输至本地服务器,以便所述本地服务器将所述IP地址传输至所述电子设备,并且所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
所述电视机接收所述电子设备通过所述WebSocket连接传输的所述操控指令。
可选的,还包括:
所述电视机接收本地服务器传输的信息在远程服务器的地址,并根据所述地址显示所述信息,其中,所述电子设备将自身存储的信息上传至远程服务器后,产生推送指令,并将所述推送指令传输至远程服务器,所述远程服务器在接收到所述推送指令后,将所述信息在所述远程服务器的地址传输至本地服务器,以便所述本地服务器将所述地址传输至所述电视机。
根据本发明实施例的第四方面,提供一种电视操控装置,包括:
身份标识获取模块,用于获取电视机的身份标识;
二维码原始数据生成模块,用于根据所述电视机的身份标识,生成相应的二维码原始数据;
二维码原始数据传输模块,用于将所述二维码原始数据传输至所述电视机;
其中,所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,所述二维码中包含所述电视机的身份标识,电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系,在接收到针对所述当前访问的网页的传输操作后,所述电子设备产生相应的操控指令,并将所述操控指令传输至与自身具有绑定关系的电视机,接收到所述操控指令的电视机执行所述操控指令指示的操作。
可选的,所述电视机的身份标识为所述电视机的MAC地址。
根据本发明实施例的第五方面,提供一种电视操控装置,包括:
二维码扫描模块,用于扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系;
操控指令产生模块,用于显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令;
操控指令传输模块,用于将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,以便所述电视机执行所述操控指令指示的操作。
可选的,所述操控指令传输模块包括:
第一传输单元,用于在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,以便所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
可选的,所述操控指令传输模块包括:
IP地址获取单元,用于若所述电子设备与所述电视机处于同一局域网,所述IP地址获取单元通过与电视机相连接的本地服务器,获取与所述电子设备具有绑定关系的所述电视机的IP地址;
连接建立单元,用于根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
第二传输单元,用于在获取所述操控指令后,通过所述WebSocket连接将所述操控指令传输至所述电视机。
可选的,若所述操控指令用于指示所述电视机展示所述电子设备访问的信息,所述操控指令中包含所述信息的网络地址;
若所述操控指令用于指示所述电视机操作游戏程序,所述操控指令中包含游戏操作的描述信息。
可选的,还包括:
信息上传模块,用于将自身存储的信息上传至远程服务器;
推送指令传输模块,用于产生推送指令,并将所述推送指令传输至所述远程服务器,以便所述远程服务器将所述信息在所述远程服务器的地址通过本地服务器传输至所述电视机,并由所述电视机根据所述地址显示所述信息。
根据本发明实施例的第六方面,提供一种电视操控装置,包括:
身份标识传输模块,用于将自身的身份标识传输至后台服务器,以便所述后台服务器根据所述身份标识,生成相应的二维码原始数据,并将所述二维码原始数据传输至所述电视机;
二维码生成模块,用于接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,其中,所述二维码中包含所述电视机的身份标识,以便电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系;
操作执行模块,用于接收所述电子设备传输的操控指令,并执行所述操控指令指示的操作,其中,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
可选的,所述操作执行模块包括:
第一接收单元,用于接收本地服务器传输的所述操控指令,其中,所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机;
或者,所述操作执行模块包括:
IP地址传输单元,若所述电子设备与所述电视机处于同一局域网,所述IP地址传输单元用于将自身的IP地址传输至本地服务器,以便所述本地服务器将所述IP地址传输至所述电子设备,并且所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
第二接收单元,用于接收所述电子设备通过所述WebSocket连接传输的所述操控指令。
可选的,还包括:
信息显示模块,用于接收本地服务器传输的信息在远程服务器的地址,并根据所述地址显示所述信息,其中,所述电子设备将自身存储的信息上传至远程服务器后,产生推送指令,并将所述推送指令传输至远程服务器,所述远程服务器在接收到所述推送指令后,将所述信息在所述远程服务器的地址传输至本地服务器,以便所述本地服务器将所述地址传输至所述电视机。
根据本发明实施例的第七方面,提供一种非易失性计算机可读存储介质,其中,该非易失性计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项电视操控方法。
根据本发明实施例的第八方面,提供一种电子设备,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被设置为用于执行上述任一项电视操控方法。
根据本发明实施例的第九方面,提供一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一项电视操控方法。
本发明的实施例提供的技术方案可以包括以下有益效果:
通过本发明实施例公开的电视操控方法及装置,能够利用电子设备实现对电视机的控制,其中电子设备能够根据访问的网页产生相应的操 控指令,以使电视执行相应的操作,而无需对遥控器进行多次的触控操作,相较于现有技术中通过遥控器操控电视的方法,本发明实施例公开的操作方式更为简洁。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是根据本发明一示例性实施例示出的一种电视操控方法的工作流程示意图;
图2是根据本发明一示例性实施例示出的一种电视操控方法中的连接关系示意图;
图3是根据本发明一示例性实施例示出的又一种电视操控方法的工作流程示意图;
图4是根据本发明一示例性实施例示出的又一种电视操控方法中,电子设备将操控指令传输至电视机的工作流程示意图;
图5是根据本发明一示例性实施例示出的又一种电视操控方法的工作流程示意图;
图6是根据本发明一示例性实施例示出的一种电视操控装置的结构示意图;
图7是根据本发明一示例性实施例示出的又一种电视操控装置的结构示意图;
图8是根据本发明一示例性实施例示出的又一种电视操控装置的结构示意图;
图9为本发明实施例提供的一种电子设备的结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
本申请公开一种电视操控方法及装置,以解决现有技术中,通过遥控器操控电视时,所具有的操作复杂的问题。
本发明实施例一公开一种电视操控方法。参见图1所示的工作流程示意图,所述电视操控方法包括以下步骤:
步骤S11、后台服务器获取电视机的身份标识。
其中,所述后台服务器可直接与所述电视机相连接,所述电视机将自身的身份标识传输至所述后台服务,从而使所述后台服务器获取所述电视机的身份标识。
在另一种情况中,参见图2所示的结构示意图,本发明实施例公开的方案中包括电子设备100、后台服务器200、本地服务器300和电视机400。所述后台服务器200通常指的是所述电子设备100中安装的各种应用程序的后台服务器。
这种情况下,所述后台服务器200通过本地服务器300与所述电视机400相连接,电视机400的身份标识通常传输至与电视机400相连接的本地服务器300,所述本地服务器300再将所述身份标识传输至所述后台服务器200,从而使所述后台服务器200获取所述身份标识。
步骤S12、所述后台服务器根据所述电视机的身份标识,生成相应的二维码原始数据。
其中,在本发明实施例公开的电视操控方法中,所述电视机的身份标识通常为所述电视机的MAC(Media Access Control,介质访问控制)地址。或者,也可以为其他能够表征电视机身份的唯一性标识,本申请 对此不做限定。
步骤S13、所述后台服务器将所述二维码原始数据传输至所述电视机。其中,所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,所述二维码中包含所述电视机的身份标识,电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系,在接收到针对所述当前访问的网页的传输操作后,所述电子设备产生相应的操控指令,并将所述操控指令传输至与自身具有绑定关系的电视机,接收到所述操控指令的电视机执行所述操控指令指示的操作。
若所述后台服务器直接与所述电视机相连接,则所述后台服务器将所述二维码原始数据直接传输至所述电视机。
另外,若所述后台服务器通过本地服务器与所述电视机相连接,所述后台服务器会将电视机的二维码原始数据传输至与电视机相连接的本地服务器,所述本地服务器再将所述二维码原始数据传输至所述电视机,以便所述电视机在接收到所述二维码原始数据后,生成相应的二维码。
所述后台服务器将所述二维码原始数据传输至所述电视机后,所述电视机会根据所述二维码原始数据生成相应的二维码。电子设备通过扫描所述二维码,建立与所述电视机之间的绑定关系。另外,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,会产生相应的操控指令,并将所述操控指令传输至与所述电子设备具有绑定的所述电视机。所述电视机在接收到所述操控指令后,执行与所述操控指令指示的操作。
另外,电子设备能够访问多种类型的网页,如视频网站、图片库和游戏网站等,并根据当前访问的网页产生操控指令。例如,若用户希望操作电视机上的游戏程序,可通过电子设备访问游戏操控网页,这种情况下,电子设备上会呈现相应的游戏操控界面。用户对所述游戏操控界面进行相应的传输操作,电子设备根据该传输操作,即可产生相应的操控指令,从而便于电视机在接收到所述操控指令后,执行相应的游戏操作。
通过本发明实施例公开的电视操控方法,能够利用电子设备实现对电视机的控制,而电子设备能够根据访问的网页产生相应的操控指令, 以使电视执行相应的操作,而无需对遥控器进行多次的触控操作,相较于现有技术中通过遥控器操控电视的方法,该方法操作更为简洁。
本发明实施例二公开一种电视操控方法。参见图3所示的工作流程示意图,所述电视操控方法包括以下步骤:
步骤S21、电子设备扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系。
在本发明实施例公开的电视操控方法中,后台服务器能够获取电视机的身份标识,并根据获取到的所述电视机的身份标识,生成相应的二维码原始数据,然后再将所述二维码原始数据传输至所述电视机,电视机在接收到所述二维码原始数据后,会生成相应的二维码,以便电子设备扫描所述二维码。
步骤S22、所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
当用户需要操控电视机执行相应操作时,用户可对电子设备进行相应的传输操作。例如,若用户希望操作电视机上的游戏程序,可通过电子设备访问游戏操控网页,这种情况下,电子设备上会呈现相应的游戏操控界面。用户对所述游戏操控界面进行相应的传输操作,电子设备根据该传输操作,即可产生相应的操控指令。
步骤S23、所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,以便所述电视机执行所述操控指令指示的操作。
所述电子设备在产生操控指令后,会将所述操控指令传输至所述电视机。所述电视机对所述操控指令进行分析,并据此执行所述操控指令指示的操作。
本发明实施例二公开一种电视操控方法,该方法中,电子设备扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系;电子设备在接收到传输操作后,根据当前访问网页产生相应的操控指令,并将所述操控指令传输至与所述电子设备具有绑定的所述电视机,以便所述电视机执行所述操控指令指示的操作。
通过本发明实施例公开的电视操控方法,能够利用电子设备实现对电视机的控制,而电子设备能够根据访问的网页产生相应的操控指令,以使电视执行相应的操作,而无需对遥控器进行多次的触控操作,相较于现有技术中通过遥控器操控电视的方法,该方法的操作更为简洁。
另外,所述电子设备可以为手机、平板电脑和计算机等,本申请对此不作限定。
其中,所述操控指令中包含的信息与用户需求相关。若所述操控指令用于指示所述电视机展示所述电子设备访问的信息,所述操控指令中包含所述信息的网络地址;若所述操控指令用于指示所述电视机操作游戏程序,所述操控指令中包含游戏操作的描述信息。
本发明实施例中,所述信息可以为多种形式,如视频、图片和音乐等,本申请对此不做限定。用户在通过电子设备浏览网页时,有时需要电视机展示当前正在访问的信息。例如,用户在访问视频网站时,往往希望将电视机播放视频网站上的某一视频。现有技术中,用户需要通过多次触控遥控器,才能使电视机查找到用户感兴趣的视频并进行播放。而采用本发明实施例公开的电视操控方法,电子设备在展示用户感兴趣的视频时,用户可对电子设备进行传输操作,电子设备接收到所述传输操作后,产生操控指令,并且,所述操控指令中包含电子设备当前展示的视频的网络地址。电视机在接收到所述操控指令后,能够播放所述网络地址对应的视频,满足用户的电视操控需求。
另外,若用户希望操作电视机上的游戏程序,可通过电子设备访问游戏操控网页,从而使电子设备上会呈现相应的游戏操控界面。用户对所述游戏操控界面进行相应的传输操作,电子设备根据该传输操作,即可产生相应的操控指令,所述操控指令中包含游戏操作的描述信息,该描述信息可以为文本信息或其他形式的信息,并将所述操控指令传输至电视机。所述电视机在接收到所述操控指令后,对其进行分析,获取其中包含的游戏操作的描述信息,并执行相应的游戏操作。
另外,上述步骤中,公开了电子设备将所述操控指令传输至与所述电子设备具有绑定的所述电视机的操作。根据应用场景的不同,该操作可通过多种方式实现。
在其中一种方式中,所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,包括:
所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,以便所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
其中,所述电子设备在获取所述操控指令后,可将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至电子设备的后台服务器,所述后台服务器再将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至本地服务器。所述本地服务器会根据所述电子设备传输的身份标识,确定目标电视机,并将所述操控指令传输至目标电视机,从而能够将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
另外,该种实现方式中,所述电子设备与所述电视机可处于同一局域网,或者,所述电子设备与所述电视机不处于同一局域网,以便能够适应多种应用场景。
在另外一种实现方式中,参见图4所示的工作流程示意图,所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,包括以下步骤:
步骤S31、若所述电子设备与所述电视机处于同一局域网,所述电子设备通过与电视机相连接的本地服务器,获取与所述电子设备具有绑定关系的所述电视机的IP地址。
这种情况下,所述电视机会将自身的IP地址传输至所述本地服务器,所述本地服务器再将所述IP地址传输至后台服务器,由所述后台服务器将所述IP地址传输至所述电子设备,从而使所述电子设备获取与自身具有绑定关系的所述电视机的IP地址。
步骤S32、所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接。
其中,在建立所述电子设备与电视机之间的WebSocket连接后,电 子设备与电视机之间可直接通过WebSocket连接进行信息的传递。WebSocket连接为HTML5中的一种新的协议,用于实现浏览器与服务器全双工通信。
当然,所述电子设备与电视机之间的通信连接还可以为其他形式的连接,本申请对此不做限定。
步骤S33、所述电子设备在获取所述操控指令后,通过所述WebSocket连接将所述操控指令传输至所述电视机。
步骤S31至步骤S33应用于电视机和电子设备处于同一局域网的情况。该种情况下,电子设备可通过电视机的IP地址,建立电子设备与电视机之间的WebSocket连接,然后,所述电子设备可通过WebSocket连接,将所述操控指令直接传输至电视机。WebSocket连接的实时交互性较好,有助于电视机快速获取所述操控指令。
进一步的,本发明实施例公开的电视操控方法,还包括以下步骤:
首先,所述电子设备将自身存储的信息上传至远程服务器。
例如,所述电子设备可将自身存储的图片和视频等信息上传到网盘,或者,所述电子设备可将自身存储的图片和视频等信息上传到微信等应用程序的服务器。
然后,所述电子设备产生推送指令,并将所述推送指令传输至所述远程服务器,以便所述远程服务器将所述信息在所述远程服务器的地址通过本地服务器传输至所述电视机,并由所述电视机根据所述地址显示所述信息。
在用户的电子设备中,通常存储有多种信息,如图片和视频等,用户有时希望将其推送至电视机,由电视机显示。这种情况下,电子设备在将自身存储的信息上传至远程服务器后,若接收到用户相应的操作,所述电子设备会产生推送指令,并将所述推送指令传输至所述远程服务器。
所述远程服务器接收到所述推送指令后,会将需要推送的信息在所述远程服务器的地址传输至所述本地服务器。然后,所述本地服务器会将所述地址传输至电视机,所述电视机在接收到所述地址后,访问该地 址,获取所述信息并显示,从而满足用户展示自身存储的信息的需求。
其中,所述远程服务器可以与所述后台服务器为同一服务器,或者,二者为不同的服务器。
本发明实施例公开的电视操控方法中,电子设备通过扫描电视机的二维码实现与电视机的绑定,并且,能够根据当前访问网页产生相应的操控指令。这种情况下,所述电视操控方法可应用于安装有微信的电子设备,其中,微信根据电视机的身份标识产生二维码原始数据,并在电视机生成二维码后,扫描该二维码,实现电子设备与电视机的绑定。另外,微信可关注第三方(如运营商)开发的账号,该账号能够提供多种信息,如视频和图片等,并且,能够显示游戏的操控界面。在浏览该账号提供的信息时,若用户希望电视机能够显示,或者,在通过该操控界面操纵游戏程序时,用户可对电子设备进行传输操作,从而使电子设备产生相应的操控指令。
进一步的,电子设备可将自身存储的信息上传至微信服务器。电视机能够获取信息在所述微信服务器中的地址,并访问该地址,获取相应的信息并显示。
另外,这种情况下,所述后台服务器和远程服务器均为所述微信服务器。
本发明实施例三公开一种电视操控方法。参见图5所示的工作流程示意图,所述电视操控方法包括以下步骤:
步骤S41、电视机将自身的身份标识传输至后台服务器,以便所述后台服务器根据所述身份标识,生成相应的二维码原始数据,并将所述二维码原始数据传输至所述电视机。
其中,电视机可直接与所述后台服务器相连接,所述电视机直接将自身的身份标识传输至所述后台服务,从而使所述后台服务器获取所述电视机的身份标识。
另外,若电视机与后台服务器之间的连接关系如图2所示,则所述电视机将所述身份标识传输至本地服务器,再由所述本地服务器将所述 身份标识传输至所述后台服务器。
在本发明实施例公开的电视操控方法中,所述电视机的身份标识通常为所述电视机的MAC(Media Access Control,介质访问控制)地址。或者,也可以为其他能够表征电视机身份的唯一性标识,并申请对此不做限定。
步骤S42、所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,其中,所述二维码中包含所述电视机的身份标识,以便电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系。
若所述后台服务器直接与所述电视机相连接,则所述后台服务器将所述二维码原始数据直接传输至所述电视机。
另外,若所述后台服务器通过本地服务器与所述电视机相连接,所述后台服务器会将电视机的二维码原始数据传输至与电视机相连接的本地服务器,所述本地服务器再将所述二维码原始数据传输至所述电视机,以便所述电视机在接收到所述二维码原始数据后,生成相应的二维码。
所述后台服务器将所述二维码原始数据传输至所述电视机后,所述电视机会根据所述二维码原始数据生成相应的二维码。电子设备通过扫描所述二维码,建立与所述电视机之间的绑定关系。
步骤S43、所述电视机接收所述电子设备传输的操控指令,并执行所述操控指令指示的操作,其中,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
电子设备能够访问多种类型的网页,如视频网站、图片库和游戏网站等,并根据当前访问的网页产生操控指令。例如,若用户希望操作电视机上的游戏程序,可通过电子设备访问游戏操控网页,这种情况下,电子设备上会呈现相应的游戏操控界面。用户对所述游戏操控界面进行相应的传输操作,电子设备根据该传输操作,即可产生相应的操控指令,从而便于电视机在接收到所述操控指令后,执行相应的游戏操作。
通过本发明实施例公开的电视操控方法,能够利用电子设备实现对电视机的控制,而电子设备能够根据访问的网页产生相应的操控指令, 以使电视执行相应的操作,而无需对遥控器进行多次的触控操作,相较于现有技术中通过遥控器操控电视的方法,该方法的操作更为简洁。
进一步的,在上述步骤中,公开了电视机接收所述电子设备传输的操控指令的操作,该操作可通过多种方式实现。
在其中一种方式中,所述电视机接收所述电子设备传输的操控指令,包括:
所述电视机接收本地服务器传输的所述操控指令,其中,所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
该方式中,所述电子设备在获取所述操控指令后,可将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至电子设备的后台服务器,所述后台服务器再将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至本地服务器。所述本地服务器会根据所述电子设备传输的身份标识,确定目标电视机,并将所述操控指令传输至目标电视机,从而能够将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
另外,该种实现方式中,所述电子设备与所述电视机可处于同一局域网,或者,所述电子设备与所述电视机不处于同一局域网,以便能够适应多种应用场景。
在另外一种实现方式中,所述电视机接收所述电子设备传输的操控指令,包括以下步骤:
首先,若所述电子设备与所述电视机处于同一局域网,所述电视机将自身的IP地址传输至本地服务器,以便所述本地服务器将所述IP地址传输至所述电子设备,并且所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接。
这种情况下,所述电视机会将自身的IP地址传输至所述本地服务器,所述本地服务器再将所述IP地址传输至后台服务器,由所述后台服务器 将所述IP地址传输至所述电子设备,从而使所述电子设备获取与自身具有绑定关系的所述电视机的IP地址。
然后,所述电视机接收所述电子设备通过所述WebSocket连接传输的所述操控指令。
在建立所述电子设备与电视机之间的WebSocket连接后,电子设备与电视机之间可直接通过WebSocket连接进行信息的传递。WebSocket连接为HTML5中的一种新的协议,用于实现浏览器与服务器全双工通信。WebSocket连接的实时交互性较好,有助于电视机快速获取所述操控指令。
进一步的,本发明实施例公开的电视操控方法,还包括:
所述电视机接收本地服务器传输的信息在远程服务器的地址,并根据所述地址显示所述信息,其中,所述电子设备将自身存储的信息上传至远程服务器后,产生推送指令,并将所述推送指令传输至远程服务器,所述远程服务器在接收到所述推送指令后,将所述信息在所述远程服务器的地址传输至本地服务器,以便所述本地服务器将所述地址传输至所述电视机。
在用户的电子设备中,通常存储有多种信息,如图片和视频等,用户有时希望将其推送至电视机,由电视机显示。这种情况下,电子设备在将自身存储的信息上传至远程服务器后,若接收到用户相应的操作,所述电子设备会产生推送指令,并将所述推送指令传输至所述远程服务器。
所述远程服务器接收到所述推送指令后,会将需要推送的信息在所述远程服务器的地址传输至所述本地服务器。然后,所述本地服务器会将所述地址传输至电视机,所述电视机在接收到所述地址后,访问该地址,获取所述信息并显示,从而满足用户展示自身存储的信息的需求。
例如,所述电子设备可将自身存储的图片和视频等信息上传到网盘,或者,所述电子设备可将自身存储的图片和视频等信息上传到微信等应用程序的服务器。
其中,所述远程服务器可以与所述后台服务器为同一服务器,或者, 二者为不同的服务器。
相应的,本发明实施例四公开一种电视操控装置,该装置应用于后台服务器。参见图6所示的结构示意图,包括:身份标识获取模块110、二维码原始数据生成模块120和二维码原始数据传输模块130。
其中,所述身份标识获取模块110,用于获取电视机的身份标识。
其中,所述后台服务器可直接与所述电视机相连接,所述电视机将自身的身份标识传输至所述后台服务,从而使所述后台服务器获取所述电视机的身份标识。
在另一种情况中,参见图2所示的结构示意图,本发明实施例公开的方案中包括电子设备100、后台服务器200、本地服务器300和电视机400。所述后台服务器200通常指的是所述电子设备100中安装的各种应用程序的后台服务器。
这种情况下,所述后台服务器200通过本地服务器300与所述电视机400相连接,电视机400的身份标识通常传输至与电视机400相连接的本地服务器300,所述本地服务器300再将所述身份标识传输至所述后台服务器200,从而使所述后台服务器200获取所述身份标识。
所述二维码原始数据生成模块120,用于根据所述电视机的身份标识,生成相应的二维码原始数据。
其中,在本发明实施例公开的电视操控方法中,所述电视机的身份标识通常为所述电视机的MAC(Media Access Control,介质访问控制)地址。或者,也可以为其他能够表征电视机身份的唯一性标识,并申请对此不做限定。
所述二维码原始数据传输模块130,用于将所述二维码原始数据传输至所述电视机;
其中,所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,所述二维码中包含所述电视机的身份标识,电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系,在接收到针对所述当前访问的网页的传输操作后,所述电子设备产 生相应的操控指令,并将所述操控指令传输至与自身具有绑定关系的电视机,接收到所述操控指令的电视机执行所述操控指令指示的操作。
若所述后台服务器直接与所述电视机相连接,则所述后台服务器将所述二维码原始数据直接传输至所述电视机。
另外,若所述后台服务器通过本地服务器与所述电视机相连接,所述后台服务器会将电视机的二维码原始数据传输至与电视机相连接的本地服务器,所述本地服务器再将所述二维码原始数据传输至所述电视机,以便所述电视机在接收到所述二维码原始数据后,生成相应的二维码。
通过本发明实施例公开的电视操控装置,能够利用电子设备实现对电视机的控制,而电子设备能够根据访问的网页产生相应的操控指令,以使电视执行相应的操作,而无需对遥控器进行多次的触控操作,相较于现有技术中通过遥控器操控电视的方法,该方案的操作更为简洁。
相应的,本发明实施例五公开一种电视操控装置,该装置应用于电子设备。参见图7所示的结构示意图,包括:二维码扫描模块210、操控指令产生模块220和操控指令传输模块230。
其中,所述二维码扫描模块210,用于扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系。
在本发明实施例公开的电视操控方法中,后台服务器能够获取电视机的身份标识,并根据获取到的所述电视机的身份标识,生成相应的二维码原始数据,然后再将所述二维码原始数据传输至所述电视机,电视机在接收到所述二维码原始数据后,会生成相应的二维码,以便电子设备扫描所述二维码。
所述操控指令产生模块220,用于显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
当用户需要操控电视机执行相应操作时,用户可对电子设备进行相应的传输操作。例如,若用户希望操作电视机上的游戏程序,可通过电子设备访问游戏操控网页,这种情况下,电子设备上会呈现相应的游戏操控界面。用户对所述游戏操控界面进行相应的传输操作,电子设备根 据该传输操作,即可产生相应的操控指令。
所述操控指令传输模块230,用于将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,以便所述电视机执行所述操控指令指示的操作。
所述电子设备在产生操控指令后,会将所述操控指令传输至所述电视机。所述电视机对所述操控指令进行分析,并据此执行所述操控指令指示的操作。
通过本发明实施例公开的电视操控装置,能够利用电子设备实现对电视机的控制,而电子设备能够根据访问的网页产生相应的操控指令,以使电视执行相应的操作,而无需对遥控器进行多次的触控操作,相较于现有技术中通过遥控器操控电视的方法,该方法操作更为简洁。
另外,所述电子设备可以为手机、平板电脑和计算机等,本申请对此不作限定。
其中,所述操控指令中包含的信息与用户需求相关。若所述操控指令用于指示所述电视机展示所述电子设备访问的信息,所述操控指令中包含所述信息的网络地址;若所述操控指令用于指示所述电视机操作游戏程序,所述操控指令中包含游戏操作的描述信息。
本发明实施例中,所述信息可以为多种形式,如视频、图片和音乐等,本申请对此不做限定。用户在通过电子设备浏览网页时,有时需要电视机展示当前正在访问的信息。例如,用户在访问视频网站时,往往希望将电视机播放视频网站上的某一视频。现有技术中,用户需要通过多次触控遥控器,才能使电视机查找到用户感兴趣的视频并进行播放。而采用本发明实施例公开的电视操控方法,电子设备在展示用户感兴趣的视频时,用户可对电子设备进行传输操作,电子设备接收到所述传输操作后,产生操控指令,并且,所述操控指令中包含电子设备当前展示的视频的网络地址。电视机在接收到所述操控指令后,能够播放所述网络地址对应的视频,满足用户的电视操控需求。
另外,若用户希望操作电视机上的游戏程序,可通过电子设备访问游戏操控网页,从而使电子设备上会呈现相应的游戏操控界面。用户对 所述游戏操控界面进行相应的传输操作,电子设备根据该传输操作,即可产生相应的操控指令,所述操控指令中包含游戏操作的描述信息,该描述信息可以为文本信息或其他形式的信息,并将所述操控指令传输至电视机。所述电视机在接收到所述操控指令后,对其进行分析,获取其中包含的游戏操作的描述信息,并执行相应的游戏操作。
进一步的,所述操控指令传输模块230可包括多种实现形式。
在其中一种实现形式中,所述操控指令传输模块230包括:第一传输单元,用于在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,以便所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
在另一种实现形式中,所述操控指令传输模块230包括:
IP地址获取单元,用于若所述电子设备与所述电视机处于同一局域网,所述IP地址获取单元通过与电视机相连接的本地服务器,获取与所述电子设备具有绑定关系的所述电视机的IP地址;
连接建立单元,用于根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
第二传输单元,用于在获取所述操控指令后,通过所述WebSocket连接将所述操控指令传输至所述电视机。
进一步的,本发明实施例公开的电视操控装置还包括:
信息上传模块,用于将自身存储的信息上传至远程服务器。
例如,所述电子设备可将自身存储的图片和视频等信息上传到网盘,或者,所述电子设备可将自身存储的图片和视频等信息上传到微信等应用程序的服务器。
推送指令传输模块,用于产生推送指令,并将所述推送指令传输至所述远程服务器,以便所述远程服务器将所述信息在所述远程服务器的地址通过本地服务器传输至所述电视机,并由所述电视机根据所述地址显示所述信息。
在用户的电子设备中,通常存储有多种信息,如图片和视频等,用户有时希望将其推送至电视机,由电视机显示。这种情况下,电子设备在将自身存储的信息上传至远程服务器后,若接收到用户相应的操作,所述电子设备会产生推送指令,并将所述推送指令传输至所述远程服务器。
所述远程服务器接收到所述推送指令后,会将需要推送的信息在所述远程服务器的地址传输至所述本地服务器。然后,所述本地服务器会将所述地址传输至电视机,所述电视机在接收到所述地址后,访问该地址,获取所述信息并显示,从而满足用户展示自身存储的信息的需求。
其中,所述远程服务器可以与所述后台服务器为同一服务器,或者,二者为不同的服务器。
相应的,本发明实施例六公开一种电视操控装置,该装置应用于电视。参见图8所示的结构示意图,包括:身份标识传输模块310、二维码生成模块320和操作执行模块330。
所述身份标识传输模块310,用于将自身的身份标识传输至后台服务器,以便所述后台服务器根据所述身份标识,生成相应的二维码原始数据,并将所述二维码原始数据传输至所述电视机。
其中,电视机可直接与所述后台服务器相连接,所述电视机直接将自身的身份标识传输至所述后台服务,从而使所述后台服务器获取所述电视机的身份标识。
另外,若电视机与后台服务器之间的连接关系如图2所示,则所述电视机将所述身份标识传输至本地服务器,再由所述本地服务器将所述身份标识传输至所述后台服务器。
在本发明实施例公开的电视操控方法中,所述电视机的身份标识通常为所述电视机的MAC(Media Access Control,介质访问控制)地址。或者,也可以为其他能够表征电视机身份的唯一性标识,并申请对此不做限定。
所述二维码生成模块320,用于接收到所述二维码原始数据后,根据 所述二维码原始数据生成相应的二维码,其中,所述二维码中包含所述电视机的身份标识,以便电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系。若所述后台服务器直接与所述电视机相连接,则所述后台服务器将所述二维码原始数据直接传输至所述电视机。
另外,若所述后台服务器通过本地服务器与所述电视机相连接,所述后台服务器会将电视机的二维码原始数据传输至与电视机相连接的本地服务器,所述本地服务器再将所述二维码原始数据传输至所述电视机,以便所述电视机在接收到所述二维码原始数据后,生成相应的二维码。
所述后台服务器将所述二维码原始数据传输至所述电视机后,所述电视机会根据所述二维码原始数据生成相应的二维码。电子设备通过扫描所述二维码,建立与所述电视机之间的绑定关系。
所述操作执行模块330,用于接收所述电子设备传输的操控指令,并执行所述操控指令指示的操作,其中,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
电子设备能够访问多种类型的网页,如视频网站、图片库和游戏网站等,并根据当前访问的网页产生操控指令。例如,若用户希望操作电视机上的游戏程序,可通过电子设备访问游戏操控网页,这种情况下,电子设备上会呈现相应的游戏操控界面。用户对所述游戏操控界面进行相应的传输操作,电子设备根据该传输操作,即可产生相应的操控指令,从而便于电视机在接收到所述操控指令后,执行相应的游戏操作。
通过本发明实施例公开的电视操控装置,能够利用电子设备实现对电视机的控制,而电子设备能够根据访问的网页产生相应的操控指令,以使电视执行相应的操作,而无需对遥控器进行多次的触控操作,相较于现有技术中通过遥控器操控电视的方法,该方案的操作更为简洁。
进一步的,所述操作执行模块330包括多种实现形式。
在一种实现形式中,所述操作执行模块330包括第一接收单元,用于接收本地服务器传输的所述操控指令,其中,所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的 身份标识传输至与所述电视机相连接的本地服务器,所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机;
在另一种实现形式中,所述操作执行模块330包括:
IP地址传输单元,若所述电子设备与所述电视机处于同一局域网,所述IP地址传输单元用于将自身的IP地址传输至本地服务器,以便所述本地服务器将所述IP地址传输至所述电子设备,并且所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
第二接收单元,用于接收所述电子设备通过所述WebSocket连接传输的所述操控指令。
进一步的,本申请公开的电视操控装置,还包括:
信息显示模块,用于接收本地服务器传输的信息在远程服务器的地址,并根据所述地址显示所述信息,其中,所述电子设备将自身存储的信息上传至远程服务器后,产生推送指令,并将所述推送指令传输至远程服务器,所述远程服务器在接收到所述推送指令后,将所述信息在所述远程服务器的地址传输至本地服务器,以便所述本地服务器将所述地址传输至所述电视机。
在用户的电子设备中,通常存储有多种信息,如图片和视频等,用户有时希望将其推送至电视机,由电视机显示。这种情况下,电子设备在将自身存储的信息上传至远程服务器后,若接收到用户相应的操作,所述电子设备会产生推送指令,并将所述推送指令传输至所述远程服务器。
所述远程服务器接收到所述推送指令后,会将需要推送的信息在所述远程服务器的地址传输至所述本地服务器。然后,所述本地服务器会将所述地址传输至电视机,所述电视机在接收到所述地址后,访问该地址,获取所述信息并显示,从而满足用户展示自身存储的信息的需求。
例如,所述电子设备可将自身存储的图片和视频等信息上传到网盘,或者,所述电子设备可将自身存储的图片和视频等信息上传到微信等应用程序的服务器。
其中,所述远程服务器可以与所述后台服务器为同一服务器,或者,二者为不同的服务器。
本申请实施例还提供了一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任一方法实施例中的电视操控方法。
图9是本申请实施例提供的执行电视操控方法的电子设备的硬件结构示意图,如图9所示,该设备包括:
一个或多个处理器910以及存储器920,图9中以一个处理器910为例。
执行电视操控方法的设备还可以包括:输入装置930和输出装置940。
处理器910、存储器920、输入装置930和输出装置940可以通过总线或者其他方式连接,图9中以通过总线连接为例。
存储器920作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的电视操控方法对应的程序指令/模块(例如,附图6所示的身份标识获取模块110、二维码原始数据生成模块120和二维码原始数据传输模块130,或者,附图7所示的二维码扫描模块210、操控指令产生模块220和操控指令传输模块230,或者,附图8所示的身份标识传输模块310、二维码生成模块320和操作执行模块330)。处理器910通过运行存储在存储器920中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例中的电视操控方法。
存储器920可以包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需要的应用程序;存储数据区可存储根据电视操控装置(如附图6至附图8任一项中的电视操控装置)的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、 或其他非易失性固态存储器件。在一些实施例中,存储器920可选包括相对于处理器910远程设置的存储器,这些远程存储器可以通过网络连接至电视操控装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置930可接收输入的数字或字符信息,以及产生与电视操控装置的用户设置以及功能控制有关的键信号输入。输出装置940可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器920中,当被所述一个或者多个处理器910执行时,执行上述任意方法实施例中的电视操控方法。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。
本发明实施例的电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、***总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子装置。
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一方法实施例中的电视操控方法。
需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本领域技术人员在考虑说明书及实践公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。

Claims (27)

  1. 一种电视操控方法,其特征在于,应用于后台服务器,包括:
    后台服务器获取电视机的身份标识;
    所述后台服务器根据所述电视机的身份标识,生成相应的二维码原始数据;
    所述后台服务器将所述二维码原始数据传输至所述电视机;
    其中,所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,所述二维码中包含所述电视机的身份标识,电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系,在接收到针对所述当前访问的网页的传输操作后,所述电子设备产生相应的操控指令,并将所述操控指令传输至与自身具有绑定关系的电视机,接收到所述操控指令的电视机执行所述操控指令指示的操作。
  2. 根据权利要求1所述的电视操控方法,其特征在于,
    所述电视机的身份标识为所述电视机的MAC地址。
  3. 一种电视操控方法,其特征在于,应用于电子设备,包括:
    电子设备扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系;
    所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令;
    所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,以便所述电视机执行所述操控指令指示的操作。
  4. 根据权利要求3所述的电视操控方法,其特征在于,所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,包括:
    所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接 的本地服务器,以便所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
  5. 根据权利要求3所述的电视操控方法,其特征在于,所述电子设备将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,包括:
    若所述电子设备与所述电视机处于同一局域网,所述电子设备通过与电视机相连接的本地服务器,获取与所述电子设备具有绑定关系的所述电视机的IP地址;
    所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
    所述电子设备在获取所述操控指令后,通过所述WebSocket连接将所述操控指令传输至所述电视机。
  6. 根据权利要求3至5任一项所述的电视操控方法,其特征在于,
    若所述操控指令用于指示所述电视机展示所述电子设备访问的信息,所述操控指令中包含所述信息的网络地址;
    若所述操控指令用于指示所述电视机操作游戏程序,所述操控指令中包含游戏操作的描述信息。
  7. 根据权利要求3所述的电视操控方法,其特征在于,还包括:
    所述电子设备将自身存储的信息上传至远程服务器;
    所述电子设备产生推送指令,并将所述推送指令传输至所述远程服务器,以便所述远程服务器将所述信息在所述远程服务器的地址通过本地服务器传输至所述电视机,并由所述电视机根据所述地址显示所述信息。
  8. 一种电视操控方法,其特征在于,应用于电视机,包括:
    电视机将自身的身份标识传输至后台服务器,以便所述后台服务器根据所述身份标识,生成相应的二维码原始数据,并将所述二维码 原始数据传输至所述电视机;
    所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,其中,所述二维码中包含所述电视机的身份标识,以便电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系;
    所述电视机接收所述电子设备传输的操控指令,并执行所述操控指令指示的操作,其中,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
  9. 根据权利要求8所述的电视操控方法,其特征在于,所述电视机接收所述电子设备传输的操控指令,包括:
    所述电视机接收本地服务器传输的所述操控指令,其中,所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机;
    或者,
    若所述电子设备与所述电视机处于同一局域网,所述电视机将自身的IP地址传输至本地服务器,以便所述本地服务器将所述IP地址传输至所述电子设备,并且所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
    所述电视机接收所述电子设备通过所述WebSocket连接传输的所述操控指令。
  10. 根据权利要求8所述的电视操控方法,其特征在于,还包括:
    所述电视机接收本地服务器传输的信息在远程服务器的地址,并根据所述地址显示所述信息,其中,所述电子设备将自身存储的信息上传至远程服务器后,产生推送指令,并将所述推送指令传输至远程服务器,所述远程服务器在接收到所述推送指令后,将所述信息在所述远程服务器的地址传输至本地服务器,以便所述本地服务器将所述地址传输至所述电视机。
  11. 一种电视操控装置,其特征在于,包括:
    身份标识获取模块,用于获取电视机的身份标识;
    二维码原始数据生成模块,用于根据所述电视机的身份标识,生成相应的二维码原始数据;
    二维码原始数据传输模块,用于将所述二维码原始数据传输至所述电视机;
    其中,所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,所述二维码中包含所述电视机的身份标识,电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系,在接收到针对所述当前访问的网页的传输操作后,所述电子设备产生相应的操控指令,并将所述操控指令传输至与自身具有绑定关系的电视机,接收到所述操控指令的电视机执行所述操控指令指示的操作。
  12. 根据权利要求11所述的电视操控装置,其特征在于,
    所述电视机的身份标识为所述电视机的MAC地址。
  13. 一种电视操控装置,其特征在于,包括:
    二维码扫描模块,用于扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系;
    操控指令产生模块,用于显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令;
    操控指令传输模块,用于将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机,以便所述电视机执行所述操控指令指示的操作。
  14. 根据权利要求13所述的电视操控装置,其特征在于,所述操控指令传输模块包括:
    第一传输单元,用于在获取所述操控指令后,将所述操控指令和 与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,以便所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机。
  15. 根据权利要求13所述的电视操控装置,其特征在于,所述操控指令传输模块包括:
    IP地址获取单元,用于若所述电子设备与所述电视机处于同一局域网,所述IP地址获取单元通过与电视机相连接的本地服务器,获取与所述电子设备具有绑定关系的所述电视机的IP地址;
    连接建立单元,用于根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
    第二传输单元,用于在获取所述操控指令后,通过所述WebSocket连接将所述操控指令传输至所述电视机。
  16. 根据权利要求13至15任一项所述的电视操控装置,其特征在于,
    若所述操控指令用于指示所述电视机展示所述电子设备访问的信息,所述操控指令中包含所述信息的网络地址;
    若所述操控指令用于指示所述电视机操作游戏程序,所述操控指令中包含游戏操作的描述信息。
  17. 根据权利要求13所述的电视操控装置,其特征在于,还包括:
    信息上传模块,用于将自身存储的信息上传至远程服务器;
    推送指令传输模块,用于产生推送指令,并将所述推送指令传输至所述远程服务器,以便所述远程服务器将所述信息在所述远程服务器的地址通过本地服务器传输至所述电视机,并由所述电视机根据所述地址显示所述信息。
  18. 一种电视操控装置,其特征在于,包括:
    身份标识传输模块,用于将自身的身份标识传输至后台服务器, 以便所述后台服务器根据所述身份标识,生成相应的二维码原始数据,并将所述二维码原始数据传输至所述电视机;
    二维码生成模块,用于接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,其中,所述二维码中包含所述电视机的身份标识,以便电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系;
    操作执行模块,用于接收所述电子设备传输的操控指令,并执行所述操控指令指示的操作,其中,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
  19. 根据权利要求18所述的电视操控装置,其特征在于,所述操作执行模块包括:
    第一接收单元,用于接收本地服务器传输的所述操控指令,其中,所述电子设备在获取所述操控指令后,将所述操控指令和与自身具有绑定关系的所述电视机的身份标识传输至与所述电视机相连接的本地服务器,所述本地服务器将所述操控指令传输至与所述电子设备具有绑定关系的所述电视机;
    或者,所述操作执行模块包括:
    IP地址传输单元,若所述电子设备与所述电视机处于同一局域网,所述IP地址传输单元用于将自身的IP地址传输至本地服务器,以便所述本地服务器将所述IP地址传输至所述电子设备,并且所述电子设备根据所述电视机的IP地址,建立所述电子设备与所述电视机之间的WebSocket连接;
    第二接收单元,用于接收所述电子设备通过所述WebSocket连接传输的所述操控指令。
  20. 根据权利要求18所述的电视操控装置,其特征在于,还包括:
    信息显示模块,用于接收本地服务器传输的信息在远程服务器的地址,并根据所述地址显示所述信息,其中,所述电子设备将自身存 储的信息上传至远程服务器后,产生推送指令,并将所述推送指令传输至远程服务器,所述远程服务器在接收到所述推送指令后,将所述信息在所述远程服务器的地址传输至本地服务器,以便所述本地服务器将所述地址传输至所述电视机。
  21. 一种非易失性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:
    获取电视机的身份标识;
    根据所述电视机的身份标识,生成相应的二维码原始数据;
    将所述二维码原始数据传输至所述电视机;
    其中,所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,所述二维码中包含所述电视机的身份标识,电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系,在接收到针对所述当前访问的网页的传输操作后,所述电子设备产生相应的操控指令,并将所述操控指令传输至与自身具有绑定关系的电视机,接收到所述操控指令的电视机执行所述操控指令指示的操作。
  22. 一种非易失性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:
    扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系;
    显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令;
    将所述操控指令传输至具有绑定关系的所述电视机,以便所述电视机执行所述操控指令指示的操作。
  23. 一种非易失性计算机可读存储介质,存储有计算机可执行指 令,所述计算机可执行指令设置为:
    将自身的身份标识传输至后台服务器,以便所述后台服务器根据所述身份标识,生成相应的二维码原始数据,并传输所述二维码原始数据;
    接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,其中,所述二维码中包含所述自身的身份标识,以便电子设备扫描所述二维码,并根据扫描结果建立电子设备与自身的绑定关系;
    接收所述电子设备传输的操控指令,并执行所述操控指令指示的操作,其中,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
  24. 一种电子设备,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    获取电视机的身份标识;
    根据所述电视机的身份标识,生成相应的二维码原始数据;
    将所述二维码原始数据传输至所述电视机;
    其中,所述电视机接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,所述二维码中包含所述电视机的身份标识,电子设备扫描所述二维码,并根据扫描结果建立与所述电视机的绑定关系,在接收到针对所述当前访问的网页的传输操作后,所述电子设备产生相应的操控指令,并将所述操控指令传输至与自身具有绑定关系的电视机,接收到所述操控指令的电视机执行所述操控指令指示的操作。
  25. 一种电子设备,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    扫描电视机产生的二维码,并根据扫描结果建立与所述电视机的绑定关系;
    显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令;
    将所述操控指令传输至具有绑定关系的所述电视机,以便所述电视机执行所述操控指令指示的操作。
  26. 一种电子设备,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    将自身的身份标识传输至后台服务器,以便所述后台服务器根据所述身份标识,生成相应的二维码原始数据,并传输所述二维码原始数据;
    接收到所述二维码原始数据后,根据所述二维码原始数据生成相应的二维码,其中,所述二维码中包含所述自身的身份标识,以便电子设备扫描所述二维码,并根据扫描结果建立电子设备与自身的绑定关系;
    接收所述电子设备传输的操控指令,并执行所述操控指令指示的操作,其中,所述电子设备显示当前访问的网页,并在接收到针对所述当前访问的网页的传输操作后,产生相应的操控指令。
  27. 一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1至10任一项所述的方法。
PCT/CN2016/100471 2016-06-06 2016-09-28 一种电视操控方法及装置 WO2017211020A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610394049.9 2016-06-06
CN201610394049.9A CN106028106A (zh) 2016-06-06 2016-06-06 一种电视操控方法及装置

Publications (1)

Publication Number Publication Date
WO2017211020A1 true WO2017211020A1 (zh) 2017-12-14

Family

ID=57089671

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100471 WO2017211020A1 (zh) 2016-06-06 2016-09-28 一种电视操控方法及装置

Country Status (2)

Country Link
CN (1) CN106028106A (zh)
WO (1) WO2017211020A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109874035A (zh) * 2019-02-28 2019-06-11 四川长虹电器股份有限公司 一种通过智能终端控制电视播放的方法
CN110187685A (zh) * 2019-05-30 2019-08-30 深圳创龙智新科技有限公司 一种数据传输方法、装置、电子设备及存储介质
CN113572826A (zh) * 2021-07-12 2021-10-29 绿盟科技集团股份有限公司 一种设备信息绑定方法、***及电子设备
CN114885193A (zh) * 2022-03-30 2022-08-09 海信视像科技股份有限公司 显示设备、终端设备及投屏方法
CN115102942A (zh) * 2022-06-23 2022-09-23 北京元芯碳基集成电路研究院 显示***及其遥控方法、装置、设备、存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792058A (zh) * 2016-12-30 2017-05-31 新东网科技有限公司 一种电视屏幕远程遥控方法
CN107071526A (zh) * 2017-02-10 2017-08-18 南京创维信息技术研究院有限公司 基于资源共享的智能电视影视推送方法、***及智能电视
CN109961343A (zh) * 2017-12-26 2019-07-02 深圳Tcl新技术有限公司 一种共享显示设备的控制方法、***及存储介质
CN108282667A (zh) * 2018-01-24 2018-07-13 西安万像电子科技有限公司 显示控制方法、***及装置
CN109803161A (zh) * 2019-01-14 2019-05-24 深圳市金锐显数码科技有限公司 电视遥控方法、装置及终端设备
CN109803162A (zh) * 2019-01-22 2019-05-24 青岛海信电器股份有限公司 信息共享方法、装置及智能电视
CN110191169A (zh) * 2019-05-24 2019-08-30 腾讯音乐娱乐科技(深圳)有限公司 数据处理方法及装置
CN110290417A (zh) * 2019-07-30 2019-09-27 四川虹魔方网络科技有限公司 基于WebSocket的电视网络通信传输方法
CN111582415B (zh) * 2020-05-08 2023-04-18 北京思特奇信息技术股份有限公司 设备管理方法、装置、电子设备及存储介质
CN111683275B (zh) * 2020-06-04 2022-07-26 深圳康佳电子科技有限公司 一种投屏方法、投屏***和计算机设备
CN111866557B (zh) * 2020-06-12 2023-03-31 广州视源电子科技股份有限公司 大屏显示设备的配置方法、装置、存储介质以及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611753A (zh) * 2012-03-21 2012-07-25 张雷 一种移动终端基于云平台控制受控设备的***和方法
CN103369035A (zh) * 2013-06-24 2013-10-23 四川长虹电器股份有限公司 基于二维码的智能家电通讯方法
CN103596021A (zh) * 2013-11-22 2014-02-19 乐视致新电子科技(天津)有限公司 智能电视端的帐号登录方法、装置及***
US20140282924A1 (en) * 2013-03-14 2014-09-18 Samsung Electronics Co., Ltd Application connection for devices in a network
CN105163201A (zh) * 2015-09-06 2015-12-16 康佳集团股份有限公司 一种扫描二维码切换电视节目的方法及***

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873467B (zh) * 2009-04-24 2013-04-24 联芯科技有限公司 多媒体终端处理手机电视信息的方法及多媒体终端
CN103281460A (zh) * 2013-06-20 2013-09-04 天脉聚源(北京)传媒科技有限公司 一种移动终端遥控显示设备的方法和***
CN103763327A (zh) * 2014-01-28 2014-04-30 宇龙计算机通信科技(深圳)有限公司 一种账号登录方法及***
CN103841446B (zh) * 2014-03-27 2018-11-20 长沙市岳麓区立早网络科技有限公司 一种通过移动终端操作电视增值应用的方法及***
CN105472230A (zh) * 2014-08-22 2016-04-06 中兴通讯股份有限公司 一种无线摄像头的配置方法、装置及***
CN104768072A (zh) * 2015-04-29 2015-07-08 北京奇艺世纪科技有限公司 一种电视盒子及基于电视盒子的电视用户界面操控方法
CN105163174B (zh) * 2015-09-10 2018-12-21 康佳集团股份有限公司 一种基于移动终端扫描二维码与电视连接的方法及***
CN105578310A (zh) * 2016-02-03 2016-05-11 青岛海信传媒网络技术有限公司 基于websocket协议的智能电视遥控方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611753A (zh) * 2012-03-21 2012-07-25 张雷 一种移动终端基于云平台控制受控设备的***和方法
US20140282924A1 (en) * 2013-03-14 2014-09-18 Samsung Electronics Co., Ltd Application connection for devices in a network
CN103369035A (zh) * 2013-06-24 2013-10-23 四川长虹电器股份有限公司 基于二维码的智能家电通讯方法
CN103596021A (zh) * 2013-11-22 2014-02-19 乐视致新电子科技(天津)有限公司 智能电视端的帐号登录方法、装置及***
CN105163201A (zh) * 2015-09-06 2015-12-16 康佳集团股份有限公司 一种扫描二维码切换电视节目的方法及***

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109874035A (zh) * 2019-02-28 2019-06-11 四川长虹电器股份有限公司 一种通过智能终端控制电视播放的方法
CN110187685A (zh) * 2019-05-30 2019-08-30 深圳创龙智新科技有限公司 一种数据传输方法、装置、电子设备及存储介质
CN113572826A (zh) * 2021-07-12 2021-10-29 绿盟科技集团股份有限公司 一种设备信息绑定方法、***及电子设备
CN113572826B (zh) * 2021-07-12 2023-09-26 绿盟科技集团股份有限公司 一种设备信息绑定方法、***及电子设备
CN114885193A (zh) * 2022-03-30 2022-08-09 海信视像科技股份有限公司 显示设备、终端设备及投屏方法
CN115102942A (zh) * 2022-06-23 2022-09-23 北京元芯碳基集成电路研究院 显示***及其遥控方法、装置、设备、存储介质

Also Published As

Publication number Publication date
CN106028106A (zh) 2016-10-12

Similar Documents

Publication Publication Date Title
WO2017211020A1 (zh) 一种电视操控方法及装置
US11650781B2 (en) Methods and systems for displaying content on multiple networked devices with a simple command
US11616990B2 (en) Method for controlling delivery of a video stream of a live-stream room, and corresponding server and mobile terminal
CN107659416B (zh) 一种会议记录分享的方法、装置、会议终端和存储介质
US20150067536A1 (en) Gesture-based Content Sharing Between Devices
US20130262687A1 (en) Connecting a mobile device as a remote control
TWI630487B (zh) 使用共享及個人裝置合作提供個人化使用者功能
US20160162151A1 (en) Input method and device thereof, and auxiliary input method and system thereof
WO2017113840A1 (zh) 一种信息推荐方法及装置
WO2014090016A1 (zh) 设备控制方法与移动通信终端
US20170171270A1 (en) Method and electronic device for controlling video playing
WO2022156606A1 (zh) 信息处理方法、装置及电子设备
US9948729B1 (en) Browsing session transfer using QR codes
US20140298414A1 (en) Browsing remote content using a native user interface
WO2017096813A1 (zh) 网页展示方法、移动终端、智能终端、程序和存储介质
US20170195384A1 (en) Video Playing Method and Electronic Device
WO2017193678A1 (zh) 设备控制方法及装置以及设备控制***
WO2018000623A1 (zh) 一种网页的操控方法及装置
JP2018525744A (ja) アプリケーション及びデータをタッチスクリーンコンピュータ間で相互共有する方法並びにこの方法を実施するコンピュータプログラム
WO2017096812A1 (zh) 网页展示方法、移动终端、智能终端、计算机程序和存储介质
CN104268611A (zh) 网页同步方法及装置
US10481792B2 (en) Secure authenticated connected keyboard
CN106326476B (zh) 一种信息处理方法及装置
KR101810108B1 (ko) 웹 상의 모바일 인터페이스 기반 전자기기 원격제어 시스템
WO2016095449A1 (zh) 一种虚拟桌面的显示方法、终端和存储介质

Legal Events

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

Ref document number: 16904469

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16904469

Country of ref document: EP

Kind code of ref document: A1