Remote control system for Android set top box
By designing a remote control system that includes set-top box hardware, control receiving module, cloud server and mobile phone control module, it solves the problem that existing technology cannot remotely control Android set-top boxes, achieves safe and reliable remote control functions, and provides user choice The control mode improves the user experience.
Patent Information
- Application Number
- CN202411000274.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-09-27
AI Technical Summary
The existing technology cannot realize remote control of the Android set-top box through remote control means. As a result, the elderly or children at home who are not familiar with the functions cannot solve the problem when faced with complex functions, leading to the situation of giving up watching.
A remote control system is designed that includes a set-top box hardware module, a set-top box control receiving module, a cloud server module and a mobile phone control module. The set-top box is controlled through the GPIO interface and LED lights, and the encryption module and decryption module are used to improve the transmission of control instructions. Security, using cloud server and mobile phone for wireless communication, providing local control and remote control mode selection.
It realizes the remote control of the Android set-top box, provides two control modes, ensures the safe transmission of control instructions and the reliability of the system, and has broad application prospects.
Smart Images

Figure CN118714384A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of remote control and relates to a remote control system, in particular to a remote control system for an Android set-top box. Background Art
[0002] With the current booming development of network technology and the video industry, set-top boxes have become a basic device that every household must have. Previous digital TVs have gradually been replaced by Android set-top boxes or TV devices, which have more functions than digital TVs.
[0003] However, the set-top box also has new problems. For the elderly or children who do not know much about these functions, they will give up watching the TV when faced with complicated functions and some problems. However, the existing technology cannot realize remote control of the set-top box through remote control means. This is the shortcoming of the existing technology.
[0004] In view of this, it is very necessary for the present invention to provide a remote control system for an Android set-top box to solve the above-mentioned defects in the prior art. Summary of the invention
[0005] The purpose of the present invention is to provide a remote control system for an Android set-top box to solve the technical problem that the above-mentioned existing technology cannot realize remote control of a set-top box through remote control means. To achieve the above object, the present invention provides the following technical solutions: A remote control system for an Android set-top box, comprising: a set-top box hardware module, a set-top box control receiving module, a cloud server module, and a mobile phone control module; The set-top box hardware module includes a GPIO interface and an LED light, wherein the input end of the GPIO interface is connected to the set-top box control mode switch button; the output end of the GPIO interface is connected to the LED light; The set-top box control receiving module is connected to the output end of the GPIO interface, and the output signal of the GPIO interface controls the opening and closing of the set-top box control receiving module; when the set-top box control receiving module is in the open state, it can receive the control instruction forwarded by the cloud server module, and after receiving the control instruction, the set-top box control receiving module controls the set-top box according to the control instruction; and sends the executed set-top box status data to the cloud server module; The cloud server module communicates wirelessly with the set-top box control receiving module and the mobile phone control module, and stores and transmits the interactive information between the set-top box control receiving module and the mobile phone control module; The mobile phone control module generates a control instruction for the set-top box and sends it to the set-top box control receiving module through the cloud server module.
[0006] Preferably, the control system further comprises an encryption module and a decryption module, wherein the encryption module encrypts the control instructions generated by the mobile phone control module, and the decryption module decrypts the control instructions received by the set-top box control receiving module. The encryption module and the decryption module improve the transmission security of the control instructions.
[0007] Preferably, the encryption module encrypts the control instructions in the following manner: Initial encryption settings, selecting an encryption key to control the encryption process, and determining a fixed character set or encoding method to ensure that the plaintext is correctly parsed and encrypted; Encryption bit operation, performing an XOR operation on each character of the plaintext information, using the first part of the key as the input of the XOR operation. This step mixes each character of the plaintext information with the key, increasing the complexity of the data; Encrypted character rotation: according to the second part of the key, a rotation angle or rotation rule is determined, and the characters after the encryption bit operation are rotated according to the rotation angle or rotation rule to generate a new character sequence, which is the ciphertext; this step further increases the confusion of the data by changing the order of the characters; the second part of the secret key is the remaining part of the secret key without the first part; Preferably, the encryption module further comprises the following encryption method to encrypt the control instruction: Encryption polyphony, based on the character sequence obtained after the encrypted characters are rotated, it is polyphonically processed, multiple segments of characters are added for rotation processing, and the rotation angles are different from each other, which further ensures the security of the data.
[0008] Preferably, the encryption module further comprises the following encryption method to encrypt the control instruction: Encryption iteration, repeating the process of encryption bit operation, encryption character rotation and encryption polyphony at least twice to improve the encryption strength.
[0009] Preferably, the encryption module further comprises the following encryption method to encrypt the control instruction: In encryption iterations, each iteration uses a different key portion or rotation rule to increase the complexity and security of the encryption.
[0010] Preferably, the encryption module further comprises the following encryption method to encrypt the control instruction: In the encryption iteration, each repetition splices part of the key into the key information of the previous repetition, increasing the complexity and security of the key.
[0011] Preferably, the decryption module uses the same key and encryption algorithm to perform inverse operations of bit operations and character rotation on the ciphertext to restore the original plaintext information.
[0012] Preferably, the cloud server module communicates wirelessly with the set-top box control receiving module and the mobile phone control module via the GPES data transmission network to ensure the security and stability of data transmission.
[0013] Preferably, the cloud server module interacts with the set-top box control receiving module and the mobile phone control module through hexadecimal data to reduce the coupling between the two interacting parties.
[0014] The beneficial effect of the present invention is that, through the technical solution of the present application, it is possible to remotely control a set-top box using a mobile phone, and two modes are provided for the user to choose, one is a local control mode of the set-top box, in which the remote control command is not accepted, and the control of the set-top box is realized locally, and the other is a remote control command is accepted, and the set-top box is controlled by a remote mobile phone. In addition, the design principle of the present invention is reliable, the structure is simple, and it has a very wide application prospect.
[0015] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0017] Figure 1 The present invention provides a principle block diagram of a remote control system for an Android set-top box.
[0018] Among them, 1-set-top box hardware module, 2-set-top box control receiving module, 3-cloud server module, 4-mobile phone control module, 5-encryption module, 6-decryption module. DETAILED DESCRIPTION
[0019] The present invention will be described in detail below with reference to the accompanying drawings and through specific embodiments. The following embodiments are explanations of the present invention, but the present invention is not limited to the following implementation modes.
[0020] Embodiment 1: like Figure 1As shown, the present embodiment provides a remote control system for an Android set-top box, comprising: a set-top box hardware module 1, a set-top box control receiving module 2, a cloud server module 3, and a mobile phone control module 4; The set-top box hardware module 1 includes a GPIO interface and an LED light, wherein the input end of the GPIO interface is connected to a set-top box control mode switch button; the output end of the GPIO interface is connected to an LED light; the set-top box control receiving module 2 is connected to the output end of the GPIO interface, and the output signal of the GPIO interface controls the on and off of the set-top box control receiving module; when the set-top box control receiving module 2 is in an on state, it can receive a control instruction forwarded by a cloud server module 3, and after receiving the control instruction (such as standby wake-up, screen mapping, remote remote control, remote switching, remote memory clearing and other related function instructions), the set-top box control receiving module 2 controls the set-top box according to the control instruction; and sends the executed set-top box status data to the cloud server module 3; the on and off of the set-top box control receiving module is controlled by the set-top box control mode switch button, and the display state of the LED light is used to distinguish whether the current set-top box control receiving module is in an on state or a off state; The cloud server module 3 communicates wirelessly with the set-top box control receiving module 2 and the mobile phone control module 4, and stores and transmits the interactive information between the set-top box control receiving module and the mobile phone control module; the cloud server module 3 is equivalent to a relay station, the mobile phone transmits control information, the set-top box receives the information and performs corresponding operations, and then feeds back the response results. The cloud server module can also store the daily use of the set-top box. The cloud server can use the current domestic Alibaba Cloud, Tencent Cloud, Baidu Cloud and other servers. For the sake of security, the intermediate data adopts a special rotation polyphonic encryption process to enhance the security of the interaction; The mobile phone control module 4 generates a control command for the set-top box and sends it to the set-top box control receiving module through the cloud server module 3. The cloud server module 3 interacts with the set-top box control receiving module 2 and the mobile phone control module 4 through hexadecimal data to reduce the coupling between the two parties. The cloud server module 3 communicates wirelessly with the set-top box control receiving module 2 and the mobile phone control module 4 through the GPES data transmission network to ensure the security and stability of data transmission.
[0021] The control system also includes an encryption module 5 and a decryption module 6. The encryption module 5 encrypts the control instructions generated by the mobile phone control module 4, and the decryption module 6 decrypts the control instructions received by the set-top box control receiving module 2. The encryption module and the decryption module improve the transmission security of the control instructions.
[0022] The encryption module 5 encrypts the control instructions in the following manner: Initial encryption settings, selecting an encryption key to control the encryption process, and determining a fixed character set or encoding method to ensure that the plaintext is correctly parsed and encrypted; Encryption bit operation, performing an XOR operation on each character of the plaintext information, using the first part of the key as the input of the XOR operation. This step mixes each character of the plaintext information with the key, increasing the complexity of the data; Encrypted character rotation: according to the second part of the key, a rotation angle or rotation rule is determined, and the characters after the encryption bit operation are rotated according to the rotation angle or rotation rule to generate a new character sequence, which is the ciphertext; this step further increases the confusion of the data by changing the order of the characters; the second part of the secret key is the remaining part of the secret key without the first part; Encryption polyphony, based on the character sequence obtained after the encrypted characters are rotated, it is polyphonically processed, multiple segments of characters are added for rotation processing, and the rotation angles are different from each other, which further ensures the security of the data.
[0023] Encryption iteration, repeating the process of encryption bit operation, encryption character rotation and encryption polyphony at least twice to improve the encryption strength.
[0024] In encryption iterations, each iteration uses a different key portion or rotation rule to increase the complexity and security of the encryption.
[0025] In the encryption iteration, each repetition splices part of the key into the key information of the previous repetition, increasing the complexity and security of the key.
[0026] The decryption module 6 uses the same key and encryption algorithm to perform inverse operations of bit operation and character rotation on the ciphertext to restore the original plaintext information.
[0027] The set-top box control receiving module is developed based on APK, so the APK needs to be pre-installed into the set-top box system and given corresponding system permissions to ensure full control permissions for some functions of the current set-top box system to avoid the inability to implement remote command function control due to lack of permissions; The function of the set-top box control receiving module is to receive the instructions sent by the cloud server module, and then parse the instructions to enable the specified function; The set-top box control receiving module can only be started when the control mode is turned on. When the normal control mode is turned off, it will not be started to avoid occupying system resources; The set-top box control receiving module has a built-in decryption key for rotary polyphonic encryption, and the decryption key is used to parse the encrypted data sent by the cloud server module.
[0028] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by a person skilled in the art, as well as several improvements and modifications made without departing from the principle of the present invention, should fall within the protection scope of the present invention.
Claims
1. A remote control system for an Android set-top box, characterized in that: include: Set-top box hardware module, set-top box control receiving module, cloud server module, mobile phone control module; The set-top box hardware module includes a GPIO interface and an LED light, wherein the input end of the GPIO interface is connected to the set-top box control mode switch button; the output end of the GPIO interface is connected to the LED light; The set-top box control receiving module is connected to the output end of the GPIO interface, and the output signal of the GPIO interface controls the opening and closing of the set-top box control receiving module; when the set-top box control receiving module is in the open state, it can receive the control instruction forwarded by the cloud server module, and after receiving the control instruction, the set-top box control receiving module controls the set-top box according to the control instruction; and sends the executed set-top box status data to the cloud server module; The cloud server module communicates wirelessly with the set-top box control receiving module and the mobile phone control module, and stores and transmits the interactive information between the set-top box control receiving module and the mobile phone control module; The mobile phone control module generates a control instruction for the set-top box and sends it to the set-top box control receiving module through the cloud server module.
2. A remote control system for an Android set-top box according to claim 1, characterized in that: It also includes an encryption module and a decryption module. The encryption module encrypts the control instructions generated by the mobile phone control module, and the decryption module decrypts the control instructions received by the set-top box control receiving module.
3. A remote control system for an Android set-top box according to claim 2, characterized in that: The encryption module encrypts the control instructions in the following manner: Initial encryption settings, selecting an encryption key to control the encryption process, and determining a fixed character set or encoding method to ensure that the plaintext is correctly parsed and encrypted; Encryption bit operation, performing an XOR operation on each character of the plaintext information, using the first part of the key as the input of the XOR operation; Encrypted character rotation, according to the second part of the key, determines a rotation angle or rotation rule, rotates the characters after the encryption bit operation according to the rotation angle or rotation rule, and generates a new character sequence, which is the ciphertext.
4. A remote control system for an Android set-top box according to claim 3, characterized in that: The encryption module also includes the following encryption methods to encrypt the control instructions: Encryption polyphony, based on the character sequence obtained after the encrypted characters are rotated, polyphony processing is performed on it, and multiple segments of characters are added for rotation processing, and the rotation angles are different from each other.
5. A remote control system for an Android set-top box according to claim 4, characterized in that: The encryption module also includes the following encryption methods to encrypt the control instructions: Encryption iteration, repeating the process of encryption bit operation, encryption character rotation and encryption polyphony at least twice.
6. A remote control system for an Android set-top box according to claim 5, characterized in that: The encryption module also includes the following encryption methods to encrypt the control instructions: In encryption iterations, each iteration uses a different key portion or rotation rule.
7. A remote control system for an Android set-top box according to claim 6, characterized in that: The encryption module also includes the following encryption methods to encrypt the control instructions: In the encryption iteration, each polyphony concatenates part of the key to the key information of the previous polyphony.
8. A remote control system for an Android set-top box according to claim 7, characterized in that: The decryption module uses the same key and encryption algorithm to perform inverse operations of bit operation and character rotation on the ciphertext to restore the original plaintext information.
9. A remote control system for an Android set-top box according to claim 8, characterized in that: The cloud server module communicates wirelessly with the set-top box control receiving module and the mobile phone control module through the GPES data transmission network, thereby ensuring the security and stability of data transmission.
10. A remote control system for an Android set-top box according to claim 9, characterized in that: The cloud server module interacts with the set-top box control receiving module and the mobile phone control module through hexadecimal data.
