CN-121985162-A - Set top box remote control method and device, electronic equipment and storage medium
Abstract
The application provides a set top box remote control method, a device, electronic equipment and a storage medium, which relate to the technical field of intelligent home control, and are applied to a set top box remote control system, wherein the set top box remote control system comprises a set top box, a background server and a user terminal; the set top box generates a target two-dimensional code of the set top box based on the equipment unique token, the equipment serial number of the set top box and the H5 page address, the target two-dimensional code is used for being displayed on a television interface connected with the set top box, and the user terminal scans the target two-dimensional code to remotely control the set top box. The method provides a remote control mode of the set top box which is free of installation, cross-network and convenient for code scanning.
Inventors
- ZHENG PENGCHAO
Assignees
- 广东朝歌智慧互联科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260205
Claims (10)
- 1. The set top box remote control method is characterized by being applied to a set top box remote control system, wherein the set top box remote control system comprises a set top box, a background server and a user terminal, and the method comprises the following steps: when the set top box is started, acquiring an equipment unique token of the set top box from the background server through the set top box; Generating a target two-dimensional code of the set top box based on the equipment unique token, the equipment serial number of the set top box and the H5 page address by the set top box, wherein the target two-dimensional code is used for being displayed on a television interface connected with the set top box; and the set top box is remotely controlled by the user terminal scanning the target two-dimensional code.
- 2. The method of claim 1, wherein the remote control of the set top box by the user terminal scanning the target two-dimensional code comprises: scanning the target two-dimensional code through the user terminal, and loading a target H5 page corresponding to the H5 page address in the user terminal; Binding the target H5 page with the set top box through the user terminal; triggering a target virtual key in the target H5 page through the user terminal, and generating a remote control instruction; and remotely controlling the set top box based on the remote control instruction through the user terminal.
- 3. The method according to claim 2, wherein said binding with the set-top box by the user terminal based on the target H5 page comprises: under the condition that the user terminal loads the target H5 page, a binding request is sent to the background server through the user terminal; Under the condition that the background server receives the binding request, carrying out validity check on the binding request through the background server; And under the condition that the validity check is passed, creating a target binding relation between the user terminal and the set top box through the background server.
- 4. The method of claim 3, wherein said remotely controlling, by the user terminal, the set top box based on the remote control instruction, comprises: the remote control instruction is sent to the background server through the user terminal; forwarding the remote control instruction to the set top box bound with the user terminal through the background server based on the target binding relationship; and receiving and executing the remote control instruction through the set top box so as to realize remote control of the set top box.
- 5. A method according to claim 3, wherein said verifying the validity of the binding request by the background server comprises: acquiring the unique token of the equipment from the binding request through the background server; Verifying the unique token of the equipment through the background server; And under the condition that verification is passed, determining that the binding request passes validity verification through the background server.
- 6. A method according to claim 3, wherein said creating, by the backend server, a target binding relationship between the user terminal and the set top box comprises: acquiring a webpage identifier of the target H5 webpage from the binding request through the background server; and binding the webpage identifier with the equipment serial number of the set top box through the background server so as to establish the target binding relation between the user terminal and the set top box.
- 7. The method according to claim 2, wherein the method further comprises: And receiving a saving operation of the target H5 page through the user terminal to save the target H5 page, so that the user terminal can remotely control the set top box based on the saved target H5 page.
- 8. The remote control system for the set top box is characterized by comprising the set top box, a background server and a user terminal: the set top box is used for acquiring an equipment unique token of the set top box from the background server when the set top box is started; The set top box is further used for generating a target two-dimensional code of the set top box based on the equipment unique token, the equipment serial number of the set top box and the H5 page address, wherein the target two-dimensional code is used for being displayed on a television interface connected with the set top box; The user terminal is used for scanning the target two-dimensional code to remotely control the set top box.
- 9. An electronic device, comprising: processor, and A memory in which a program is stored, Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the set-top box remote control method according to any of claims 1-7.
- 10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the set top box remote control method according to any one of claims 1-7.
Description
Set top box remote control method and device, electronic equipment and storage medium Technical Field The application relates to the technical field of intelligent home control, in particular to a set top box remote control method, a set top box remote control device, electronic equipment and a storage medium. Background Conventional television/set-top box remote control technologies rely primarily on the infrared transmission protocol (INFRARED DATA Association, irDA). The technology encodes a control instruction into an infrared signal through a pulse width modulation mode, and executes corresponding operation after decoding by an infrared receiver of the set top box. However, this solution has inherent drawbacks such as limited directivity (alignment equipment is required), short transmission distance (typically not more than 10 meters), poor interference resistance (easy interference from light sources), etc. Disclosure of Invention The application provides a set top box remote control method, a device, electronic equipment and a storage medium, which can provide a set top box remote control mode which is free of installation, cross-network and is used after code scanning. The technical scheme is as follows: according to an aspect of the present application, there is provided a set-top box remote control method applied to a set-top box remote control system including a set-top box, a background server, and a user terminal, the method comprising: when the set top box is started, acquiring an equipment unique token of the set top box from the background server through the set top box; Generating a target two-dimensional code of the set top box based on the equipment unique token, the equipment serial number of the set top box and the H5 page address by the set top box, wherein the target two-dimensional code is used for being displayed on a television interface connected with the set top box; and the set top box is remotely controlled by the user terminal scanning the target two-dimensional code. According to another aspect of the present application, there is provided a set-top box remote control system, including a set-top box, a background server, and a user terminal: the set top box is used for acquiring an equipment unique token of the set top box from the background server when the set top box is started; The set top box is further used for generating a target two-dimensional code of the set top box based on the equipment unique token, the equipment serial number of the set top box and the H5 page address, wherein the target two-dimensional code is used for being displayed on a television interface connected with the set top box; The user terminal is used for scanning the target two-dimensional code to remotely control the set top box. According to one aspect of the present application there is provided an electronic device comprising a processor and a memory storing a program comprising instructions which, when executed by the processor, cause the processor to perform a set top box remote control method as described above. According to another aspect of the present application, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the set-top box remote control method as described above. According to another aspect of the present application, a computer program product is provided, the computer program product comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the set-top box remote control method. The technical scheme provided by the embodiment of the application has the beneficial effects that at least: The embodiment of the application provides a remote control method for a set top box, which comprises the steps of generating a target two-dimensional code through the set top box based on a device unique token, a device serial number and an H5 page address distributed by a background server, enabling a user terminal to realize remote control of the set top box by scanning the target two-dimensional code, enabling the whole remote control process to be used without installing a specific application program and scanning the code, avoiding limitation of a local area network and directions, and greatly improving transmission distance and anti-interference capability. Drawings Further details, features and advantages of the application are disclosed in the following description of exemplary embodiments with reference to the following drawings, in which: fig. 1 illustrates a flowchart of a set-top box remote control method according to an exemplary embodiment of the present application; fig. 2 illustrates a flowchart of another set-top box remote control method according to an exemplary embodiment