WO2013037175A1 - Remote control - Google Patents

Remote control Download PDF

Info

Publication number
WO2013037175A1
WO2013037175A1 PCT/CN2011/084248 CN2011084248W WO2013037175A1 WO 2013037175 A1 WO2013037175 A1 WO 2013037175A1 CN 2011084248 W CN2011084248 W CN 2011084248W WO 2013037175 A1 WO2013037175 A1 WO 2013037175A1
Authority
WO
WIPO (PCT)
Prior art keywords
remote controller
bluetooth
data packet
ascii code
serial data
Prior art date
Application number
PCT/CN2011/084248
Other languages
French (fr)
Chinese (zh)
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 WO2013037175A1 publication Critical patent/WO2013037175A1/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • 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

Abstract

A remote control (10), a TV box (20), and a method for sending and performing a control instruction. The remote control (10) is used for controlling the TV box (20) installed with an Android system, and comprises: an input device (101), a processor (102), a Bluetooth module (103), a sending unit (104) and a power supply module (105). The input device (101) is used for generating a serial data packet according to a user operation, the serial data packet comprising a control instruction input by the user. The processor (102) is used for processing the serial data packet and generating ASCII codes that represent keyboard information. The Bluetooth module (103) is used for encapsulating, based on an HID specification, the ASCII codes that represent the keyboard information, to obtain encapsulated data to be sent. The sending unit (104) is used for sending, through Bluetooth, the encapsulated data to be sent to the TV box (20) installed with the Android system. The power supply module (105) is used for supplying power to the input device (101), the processor (102), the Bluetooth module (103) and the sending unit (104). The remote controller (10) precisely controls the TV box (20) and is not affected by the distance and angle.

Description

一种遥控器 技术领域  Remote control technology field
本发明涉及通讯领域, 尤其涉及一种遥控器, 用以控制安装有 Android 系统的电视盒。 背景技术  The present invention relates to the field of communications, and in particular, to a remote controller for controlling a television box installed with an Android system. Background technique
随着通讯技术的不断发展, 越来越多的电子电器产品如手机、 电脑、 电视机等已经成为日常生活不可或缺的部分, 观看电视也已经成为一种生 活习惯, 而在现有技术中, 电视机是与电视盒通过线缆连接为一体的, 大 部分的电视盒配都备有专用的遥控器, 用以控制电视机的频道转换和画面 设置, 该遥控器内部装载有红外线装置, 遥控器通过红外线装置发送控制 指令, 进而控制与电视机相连接的电视盒, 从而达到控制电视机的频道转 换和画面设置的目的。  With the continuous development of communication technology, more and more electronic and electrical products such as mobile phones, computers, televisions, etc. have become an indispensable part of daily life. Watching TV has become a living habit, and in the prior art. The TV is connected to the TV box through a cable. Most of the TV boxes are equipped with a dedicated remote control for controlling the channel switching and picture setting of the TV. The remote control is internally equipped with an infrared device. The remote controller transmits a control command through the infrared device, thereby controlling the TV box connected to the television, thereby achieving the purpose of controlling channel switching and screen setting of the television.
而本发明人在实现本发明的过程中, 发现上述现有技术中至少存在如 下技术问题:  In the process of implementing the present invention, the inventors have found that at least the following technical problems exist in the above prior art:
1 , 由于遥控器中的红外线装置具有通信距离短、 安全性和抗干扰性较 差的特点, 在遥控器距离电视盒较远时, 会导致电视盒不受操控, 进而在 进行电视机频道切换和画面设置时, 会出现操控不了的技术问题;  1 . Because the infrared device in the remote control has the characteristics of short communication distance, poor security and anti-interference, when the remote controller is far away from the TV box, the TV box will be uncontrolled, and then the TV channel switching is performed. When the screen is set, there will be technical problems that cannot be controlled;
2, 由于遥控器中的红外线装置还受到视角和方向限制, 在对电视盒进 行操控时, 必须对准电视盒的红外线装置, 才可以达到控制电视机的目的, 这就导致了角度上的局限性, 进而具有不能达到对电视机进行全方位操控 以及操控不方便的技术问题。 发明内容 2, because the infrared device in the remote control is also limited by the angle of view and direction, when the TV box is manipulated, it must be aligned with the infrared device of the TV box to achieve the purpose of controlling the TV, which leads to the limitation of the angle. Sexuality, in turn, has technical problems that cannot achieve full-scale manipulation of the television and inconvenient manipulation. Summary of the invention
本发明提供一种遥控器, 用以解决现有技术中存在的对电视机进行频 道转换和画面设置时, 操控不了和操控不方便的技术问题。  The present invention provides a remote controller for solving the technical problem of inconvenience and inconvenience in controlling the channel conversion and picture setting of the television set existing in the prior art.
一方面, 本发明通过本发明中的一个实施例, 提供如下技术方案: 一种遥控器, 包括: 输入装置, 用于根据用户操作生成串行数据包, 所述串行数据包中包括有所述用户输入的控制指令; 处理器, 用于对所述 串行数据包进行处理,生成代表键盘信息的美国信息互换标准代码( ASCII, American Standard Code for Information Interchange ); 蓝牙模组, 用于基于 人机接口设备 ( HID, Human Interface Device )规范对所述代表键盘信息的 ASCII码进行封装, 获得待发送封装数据; 发送单元, 用于将所述待发送封 装数据以蓝牙方式发送到所述安装有 Android系统的电视盒;供电模块,用 于给所述输入装置, 所述处理器, 所述蓝牙模组及所述发送单元供电。  In one aspect, the present invention provides the following technical solution through an embodiment of the present invention: A remote controller includes: an input device, configured to generate a serial data packet according to a user operation, where the serial data packet includes a control instruction input by the user; a processor, configured to process the serial data packet, generate an American Standard Code for Information Interchange (ASCII, American Standard Code for Information Interchange); Encapsulating the ASCII code representing the keyboard information to obtain the encapsulated data to be sent based on a Human Interface Device (HID) specification, and sending, by the sending unit, the Bluetooth data to be sent to the A TV box is installed with an Android system; and a power supply module is configured to supply power to the input device, the processor, the Bluetooth module, and the sending unit.
可选的, 所述输入装置包括: 多个按键; 键盘扫描电路, 与所述多个 按键连接, 用于在检测到用户操作所述多个按键中的一个或多个按键后, 经过识别和编码处理, 获得所述串行数据包。  Optionally, the input device includes: a plurality of buttons; a keyboard scanning circuit, connected to the plurality of buttons, configured to identify and after detecting that the user operates one or more of the plurality of buttons Encoding process to obtain the serial data packet.
可选的, 所述多个按键中包括有: home, menu, back, 和 /或 search键。 可选的, 所述处理器包括: 接口电路, 用于接收所述串行数据包, 并 生成中断请求; 处理单元, 用于基于所述中断请求, 对所述串行数据包进 行处理, 生成代表键盘信息的 ASCII码。  Optionally, the plurality of buttons include: a home, a menu, a back, and/or a search button. Optionally, the processor includes: an interface circuit, configured to receive the serial data packet, and generate an interrupt request; and a processing unit, configured to process, according to the interrupt request, the serial data packet to generate The ASCII code representing the keyboard information.
可选的, 所述发送单元包括: 蓝牙射频单元, 与所述蓝牙模组连接, 用于接收所述待发送封装数据; 天线, 与所述蓝牙射频单元连接, 通过所 述天线将所述待发送封装数据发送至所述安装有 Android系统的电视盒。  Optionally, the sending unit includes: a Bluetooth radio unit, configured to receive the encapsulated package data, and an antenna, connected to the Bluetooth radio unit, to be configured by the antenna The sending package data is sent to the TV box in which the Android system is installed.
可选的, 所述供电模块包括: 电源; 电源管理电路, 用于与所述电源 连接, 用于产生电压稳定的电源, 并提供给所述输入装置, 所述处理器, 所述蓝牙模组及所述发送单元, 其中, 所述待发送封装数据中包括有所述 用户输入的控制指令。 Optionally, the power supply module includes: a power supply; a power management circuit, configured to be connected to the power source, configured to generate a voltage stable power supply, and provide the input device, the processor, the bluetooth module And the sending unit, where the to-be-sent package data includes the The control command entered by the user.
另一方面, 本发明通过本发明中的另一个实施例, 提供如下技术方案: 一种电视盒, 通过线缆与电视连接, 所述电视盒通过蓝牙方式与遥控 器连接, 包括: 连接单元, 用于接收来自所述遥控器的蓝牙连接请求, 并 与所述遥控器建立连接; 处理单元, 用于接收所述遥控器基于 HID规范进 行封装而获得的待发送封装数据, 并对所述待发送封装数据进行解析处理, 获得代表键盘信息的 ASCII码, 然后执行所述代表键盘信息的 ASCII码。  On the other hand, the present invention provides the following technical solution by using another embodiment of the present invention: a TV box connected to a television through a cable, the TV box being connected to the remote controller by using a Bluetooth method, including: a connection unit, Receiving a Bluetooth connection request from the remote controller and establishing a connection with the remote controller; the processing unit is configured to receive the to-be-sent package data obtained by the remote controller based on the HID specification, and to The package data is sent for parsing processing, an ASCII code representing the keyboard information is obtained, and then the ASCII code representing the keyboard information is executed.
可选的, 所述连接单元包括: 初始化单元, 用于对所述电视盒进行初 始化处理; 查询单元, 用于查询所述遥控器是否有蓝牙连接请求; 响应单 元, 用于在所述遥控器有蓝牙连接请求时, 通过调用 HCI层协议处理所述 蓝牙连接请求, 获得响应消息, 基于所述连接请求及所述响应消息, 实现 所述电视盒及所述遥控器间的连接。  Optionally, the connecting unit includes: an initializing unit, configured to perform initialization processing on the television box; a query unit, configured to query whether the remote controller has a Bluetooth connection request; and a response unit, configured to be in the remote controller When there is a Bluetooth connection request, the Bluetooth connection request is processed by calling the HCI layer protocol, and a response message is obtained, and the connection between the TV box and the remote controller is implemented based on the connection request and the response message.
可选的, 所述处理单元包括:接收单元, 用于接收所述遥控器基于 HID 规范进行封装而获得的待发送封装数据; 解析单元, 用于对所述待发送封 装数据进行解析处理, 获得代表键盘信息的 ASCII码; 执行单元, 用于执 行所述代表键盘信息的 ASCII码。  Optionally, the processing unit includes: a receiving unit, configured to receive, to be sent, the encapsulated data to be sent by the remote controller according to the HID specification; and a parsing unit, configured to parse the to-be-sent encapsulated data, and obtain An ASCII code representing keyboard information; an execution unit for executing the ASCII code representing the keyboard information.
另一方面, 本发明通过本发明中的另一个实施例, 提供如下技术方案: 一种发送控制指令的方法,所述控制指令用以控制安装有 Android系统 的电视盒, 所述方法包括: 根据用户操作生成串行数据包, 所述串行数据 包中包括有所述用户输入的控制指令; 通过对所述串行数据包进行处理, 生成代表键盘信息的 ASCII码;基于 HID规范对所述代表键盘信息的 ASCII 码进行封装, 获得待发送封装数据; 以蓝牙方式发送所述待发送封装数据 至电视盒, 供所述电视盒基于所述待发送封装数据执行所述控制指令。  On the other hand, the present invention provides the following technical solution through another embodiment of the present invention: a method for transmitting a control command, the control command for controlling a television box installed with an Android system, the method comprising: The user operation generates a serial data packet, where the serial data packet includes a control instruction input by the user; and processing the serial data packet to generate an ASCII code representing keyboard information; The ASCII code representing the keyboard information is encapsulated to obtain the encapsulated data to be sent; the encapsulated package data is sent to the television box in a Bluetooth manner, and the television box executes the control instruction based on the to-be-sent package data.
可选的, 所述根据用户操作生成串行数据包, 包括: 通过对所述用户 操作的一个或多个按键进行识别和编码处理, 获得所述串行数据包, 所述 串行数据包中包括有所述用户输入的控制指令。 Optionally, the generating the serial data packet according to the user operation, including: obtaining, by the identifying and encoding processing on one or more keys operated by the user, the serial data packet, The serial data packet includes a control command input by the user.
可选的, 所述通过对所述串行数据包进行处理, 生成代表键盘信息的 Optionally, the processing, by processing the serial data packet, generating representative keyboard information
ASCII码, 包括: 接收所述串行数据包, 并生成中断请求; 基于所述中断请 求, 对所述串行数据包进行处理, 生成所述代表键盘信息的 ASCII码。 The ASCII code includes: receiving the serial data packet, and generating an interrupt request; and processing the serial data packet based on the interrupt request to generate the ASCII code representing the keyboard information.
可选的,所述基于 HID规范对所述代表键盘信息的 ASCII码进行封装, 获得待发送封装数据, 包括: 通过蓝牙 HCI传输层将所述代表键盘信息的 ASCII码提交给蓝牙控制器; 蓝牙控制器基于 HID规范对所述代表键盘信 息的 ASCII码进行封装, 获得待发送封装数据。  Optionally, the ASCII code representing the keyboard information is encapsulated according to the HID specification, and the encapsulated data to be sent is obtained, including: submitting, by using a Bluetooth HCI transport layer, the ASCII code representing the keyboard information to the Bluetooth controller; The controller encapsulates the ASCII code representing the keyboard information based on the HID specification, and obtains the encapsulated data to be sent.
另一方面, 本发明通过本发明中的另一个实施例, 提供如下技术方案: 一种执行控制指令的方法, 包括: 接收来自所述遥控器的蓝牙连接请 求, 并与所述遥控器建立连接; 接收基于 HID规范进行封装而获得的待发 送封装数据, 并对所述待发送封装数据进行解析处理, 获得代表键盘信息 的 ASCII码, 然后执行所述代表键盘信息的 ASCII码, 其中, 所述待发送 封装数据中包括有所述用户输入的控制指令。  In another aspect, the present invention provides the following technical solution through another embodiment of the present invention: A method for executing a control instruction, comprising: receiving a Bluetooth connection request from the remote controller, and establishing a connection with the remote controller Receiving the encapsulated package data obtained by encapsulation based on the HID specification, and parsing the to-be-sent package data to obtain an ASCII code representing the keyboard information, and then executing the ASCII code representing the keyboard information, where The control data input by the user is included in the to-be-sent package data.
可选的, 所述接收来自所述遥控器的蓝牙连接请求, 并与所述遥控器 建立连接, 包括: 对所述电视盒进行初始化处理; 查询所述遥控器是否有 蓝牙连接请求; 当所述遥控器有蓝牙连接请求时, 接收来自所述遥控器的 蓝牙连接请求, 通过调用 HCI层协议与所述遥控器建立连接。  Optionally, the receiving a Bluetooth connection request from the remote controller, and establishing a connection with the remote controller, includes: performing initialization processing on the television box; querying whether the remote controller has a Bluetooth connection request; When the remote controller has a Bluetooth connection request, it receives a Bluetooth connection request from the remote controller, and establishes a connection with the remote controller by calling an HCI layer protocol.
上述技术方案中的一个或多个技术方案, 具有如下技术效果或优点: One or more technical solutions in the above technical solutions have the following technical effects or advantages:
1 , 本发明中的技术方案通过采用在遥控器中装载蓝牙模组来代替红外 线装置, 由于蓝牙本身具有通信距离远, 抗干扰性强的特点, 解决了遥控 器在距离电视盒较远时, 电视盒不受操控, 进而在进行电视机频道切换和 画面设置时出现的操控不了的技术问题, 达到了操控准确的技术效果;1 . The technical solution in the invention replaces the infrared device by using a bluetooth module in the remote controller. Since the Bluetooth itself has the characteristics of long communication distance and strong anti-interference, the remote controller is solved when the remote controller is far away from the television box. The technical problem that the TV box is not manipulated, and which can not be manipulated when the TV channel is switched and the screen is set up, achieves the technical effect of accurate control;
2, 由于蓝牙本身还具有不受方向和视角的限定以及本身成本低的特 点, 使遥控器不对准电视盒就能够达到控制电视机的目的, 进而解决了角 度上的局限性的问题, 达到了能够对电视盒以及电视机全方位操控而且能 够开发使用的技术效果。 附图说明 2, because Bluetooth itself is not limited by direction and viewing angle and its own low cost, so that the remote control can be controlled by the TV box without aiming at the TV box, thus solving the angle The limitation of the degree has reached the technical effect of being able to fully control the TV box and the TV set and to develop and use it. DRAWINGS
图 1为本发明实施例一中遥控器的操作环境图;  1 is a diagram showing an operating environment of a remote controller according to Embodiment 1 of the present invention;
图 2为本发明实施例一中遥控器的内部结构图;  2 is an internal structural diagram of a remote controller according to Embodiment 1 of the present invention;
图 2A为本发明实施例一图 2中输入装置的详细结构图;  2A is a detailed structural diagram of an input device of FIG. 2 according to Embodiment 1 of the present invention;
图 2B为本发明实施例一图 2中处理器的详细结构图;  2B is a detailed structural diagram of a processor in FIG. 2 according to Embodiment 1 of the present invention;
图 2C为本发明实施例一图 2中发送单元的详细结构图;  2C is a detailed structural diagram of a transmitting unit in FIG. 2 according to Embodiment 1 of the present invention;
图 2D为本发明实施例一图 2中供电模块的详细结构图;  2D is a detailed structural diagram of a power supply module in FIG. 2 according to Embodiment 1 of the present invention;
图 3为本发明实施例一中遥控器面板示意图;  3 is a schematic diagram of a panel of a remote controller according to Embodiment 1 of the present invention;
图 4为本发明实施例二中发送控制指令的方法流程图;  4 is a flowchart of a method for transmitting a control command according to Embodiment 2 of the present invention;
图 4A为本发明实施例二中步驟 402中的详细流程图;  4A is a detailed flowchart of step 402 in Embodiment 2 of the present invention;
图 4B为本发明实施例二中步驟 403中的详细流程图;  4B is a detailed flowchart of step 403 in the second embodiment of the present invention;
图 5为本发明实施例三中电视盒的总体结构图;  FIG. 5 is a schematic structural diagram of a television box according to Embodiment 3 of the present invention; FIG.
图 5A为本发明实施例三图 5中连接单元的详细结构图;  5A is a detailed structural diagram of a connecting unit in FIG. 5 according to Embodiment 3 of the present invention;
图 5B为本发明实施例三图 5中处理单元的详细结构图;  5B is a detailed structural diagram of a processing unit in FIG. 5 according to Embodiment 3 of the present invention;
图 6为本发明实施例四中执行控制指令的方法流程图;  6 is a flowchart of a method for executing a control instruction according to Embodiment 4 of the present invention;
图 6A为本发明实施例四中步驟 601中的详细流程图。 具体实施方式  FIG. 6A is a detailed flowchart of step 601 in Embodiment 4 of the present invention. detailed description
为了解决现有技术中对电视机进行频道转换和画面设置时, 操控不了 和操控不方便的技术问题, 本发明实施例一提供了一种遥控器, 以下结合 说明书附图对本发明的实施例一进行说明, 应当理解, 此处所描述的实施 例一仅用于说明和解释本发明, 并不用于限定本发明, 并且在不沖突的情 参考图 1 , 为本发明实施例一中遥控器的操作环境图, 包括遥控器 10, 电视盒 20, 电视机 30, 遥控器 10通过内部装载的蓝牙模组对电视盒 20进 行控制, 电视盒 20和电视机 30通过线缆连接, 具体的, 遥控器 10通过检 测到用户操作所述遥控器 10上的多个按键中的一个或多个按键后, 生成控 制指令, 然后将所述控制指令传送给电视盒 20,控制电视盒 20通过所述控 制指令对电视机 30进行控制。 In order to solve the technical problem that the channel switching and the screen setting of the television set in the prior art are not easy to control and inconvenient to operate, the first embodiment of the present invention provides a remote controller, and the following is a first embodiment of the present invention with reference to the accompanying drawings. It should be understood that the embodiment 1 described herein is only for explaining and explaining the present invention, and is not intended to limit the present invention, and is not in conflict. 1 is an operating environment diagram of a remote controller according to a first embodiment of the present invention, including a remote controller 10, a television box 20, and a television set 30. The remote controller 10 controls the television box 20 through an internally loaded Bluetooth module. 20 and the television set 30 are connected by a cable. Specifically, the remote controller 10 generates a control command after detecting that the user operates one or more of the plurality of buttons on the remote controller 10, and then the control command It is transmitted to the television box 20, and the control television box 20 controls the television set 30 by the control command.
参考图 2, 为本发明实施例一提供的一种遥控器, 包括:  Referring to FIG. 2, a remote controller according to Embodiment 1 of the present invention includes:
输入装置 101 , 用于根据用户操作生成串行数据包, 所述串行数据包中 包括有所述用户输入的控制指令, 而输入装置 101又包括多个按键 1011以 及键盘扫描电路 1012两部分(参考图 2A ),其中,多个按键 1011包括 home, menu, back, 和 /或 search键等, 所述多个按键 1011还可以包括数字 1-9的 数字键; 键盘扫描电路 1012与所述多个按键 1011连接, 当键盘扫描电路 1012在检测到用户操作所述多个按键 1011中的一个或多个按键后,经过识 别和编码处理, 获得所述串行数据包。 其中, home键为主页键, 用于为用 户提供操作主页面; menu键为菜单键, 可以为用户提供可执行的各种菜单 选项; back键为返回键, 用于返回上一级菜单; search键为搜索键, 用于 为用户提供频道搜索功能。 上述四按键均为 Android 系统所要求的常规按 键, 本发明不作详细描述, 本领域技术人员应当理解, 按键及其所实现的 功能可根据系统或用户要求设置, 由于按键及其所实现的功能并非是实现 本发明技术方案的重点, 因此不作进一步描述。 下文中不再对上述功能键 作重复描述。  The input device 101 is configured to generate a serial data packet according to a user operation, where the serial data packet includes a control instruction input by the user, and the input device 101 further includes a plurality of buttons 1011 and a keyboard scanning circuit 1012 ( Referring to FIG. 2A), wherein the plurality of buttons 1011 include home, menu, back, and/or search keys, etc., the plurality of buttons 1011 may further include numeric keys of numbers 1-9; keyboard scanning circuit 1012 and said The buttons 1011 are connected. When the keyboard scanning circuit 1012 detects that the user operates one or more of the plurality of buttons 1011, the serial data packet is obtained through identification and encoding processing. The home key is a home button, which is used to provide an operation main page for the user; the menu key is a menu key, which can provide various menu options executable by the user; the back key is a return key, which is used to return to the previous menu; The key is a search key and is used to provide a channel search function for the user. The above four buttons are all conventional buttons required by the Android system, and the present invention will not be described in detail. Those skilled in the art should understand that the buttons and the functions implemented by them can be set according to the system or user requirements, because the buttons and the functions implemented by them are not It is the focus of the technical solution of the present invention, and therefore will not be further described. The above function keys will not be repeatedly described below.
处理器 102, 用于对所述串行数据包进行处理, 生成代表键盘信息的 ASCII码, 具体来讲, 处理器 102包括: 接口电路 1021和处理单元 1022 两个部分(参考图 2B ), 其中接口电路 1021接收所述串行数据包, 并生成 中断请求, 处理单元 1022则基于所述中断请求, 对所述串行数据包进行处 理, 生成代表键盘信息的 ASCII码。 The processor 102 is configured to process the serial data packet to generate an ASCII code representing the keyboard information. Specifically, the processor 102 includes: an interface circuit 1021 and a processing unit 1022 (refer to FIG. 2B ), where The interface circuit 1021 receives the serial data packet and generates an interrupt request, and the processing unit 1022 performs the serial data packet based on the interrupt request. To generate an ASCII code that represents the keyboard information.
蓝牙模组 103 , 用于基于 HID规范对所述代表键盘信息的 ASCII码进 行封装, 获得待发送封装数据。  The Bluetooth module 103 is configured to encapsulate the ASCII code representing the keyboard information based on the HID specification, and obtain the encapsulated data to be sent.
发送单元 104,用于将所述待发送封装数据以蓝牙方式发送到所述安装 有 Android系统的电视盒, 其中, 发送单元 104又包括蓝牙射频单元 1041 以及天线 1042两部分(参考图 2C ), 其中, 蓝牙射频单元 1041与蓝牙模 组 103连接, 接收所述待发送封装数据, 天线 1042与蓝牙射频单元 1041 连接, 通过天线 1042将所述待发送封装数据发送至所述安装有 Android系 统的电视盒。  The sending unit 104 is configured to send the to-be-sent package data to the TV box with the Android system installed in a Bluetooth manner, where the sending unit 104 further includes a Bluetooth radio unit 1041 and an antenna 1042 (refer to FIG. 2C). The Bluetooth radio unit 1041 is connected to the Bluetooth module 103, and receives the package data to be sent. The antenna 1042 is connected to the Bluetooth radio unit 1041, and the to-be-sent package data is sent to the TV with the Android system through the antenna 1042. box.
供电模块 105 , 用于给输入装置 101 , 处理器 102, 蓝牙模组 103及发 送单元 104供电, 其中, 供电模块 105又包括电源 1051以及电源管理电路 1052两部分(参考图 2D ), 其中, 电源管理电路 1052与电源 1051连接, 接收电源 1051提供的电源后,经过内部电路的变换后产生电压稳定的电源, 并提供给输入装置 101 , 处理器 102, 蓝牙模组 103及发送单元 104。  The power supply module 105 is configured to supply power to the input device 101, the processor 102, the Bluetooth module 103, and the sending unit 104. The power supply module 105 further includes a power supply 1051 and a power management circuit 1052 (refer to FIG. 2D). The management circuit 1052 is connected to the power supply 1051. After receiving the power supply provided by the power supply 1051, the power supply is stabilized by the internal circuit, and is supplied to the input device 101, the processor 102, the Bluetooth module 103, and the transmitting unit 104.
参考图 3 , 为本发明实施例一中遥控器面板示意图, 所述遥控器的按键 从上往下依次为: 左上端设置有打开 \关闭按键, 打开 \关闭按键下方依次平 行排列了 home, menu, back, 和 /或 search键, 然后设置了数字 /字母复用 键, 上、 下、 左、 右方向键以及确认(OK )键。 应当理解, 此处所描述的 按键仅用于说明和解释所述遥控器, 并不用于限定所述遥控器。  Referring to FIG. 3 , which is a schematic diagram of a remote controller panel according to the first embodiment of the present invention, the keys of the remote controller are sequentially from top to bottom: an upper opening/closing button is provided on the upper left end, and a home, menu is sequentially arranged in parallel under the opening/closing button. , back, and / or search keys, then set the number / letter overlay, up, down, left and right arrow keys and confirm (OK) button. It should be understood that the buttons described herein are only used to illustrate and explain the remote control and are not intended to define the remote control.
本发明的遥控器与传统的红外线遥控器相比, 在按键设置上, 在传统 的红外线遥控器的基础上多了 home, menu, back, 和 /或 search键, 基于 所述按键和所述遥控器原有按键的结合, 实现了对电视盒进行更加准确、 更全方位的控制, 进而达到控制电视机的目的, 应当理解, 此处所描述的 实施例一仅用于说明和解释本发明, 并不用于限定本发明。  Compared with the conventional infrared remote controller, the remote controller of the present invention has more home, menu, back, and/or search keys on the basis of the conventional infrared remote controller, based on the button and the remote control. The combination of the original buttons realizes more accurate and more comprehensive control of the TV box, thereby achieving the purpose of controlling the television. It should be understood that the first embodiment described herein is only for explaining and explaining the present invention, and It is not intended to limit the invention.
通过上述的详细介绍, 对本发明实施例一的所述遥控器的结构, 以及 各个结构相互的联系及功能进行了详细的说明。 下面结合图 4,对所述遥控 器发送控制指令的步驟用实施例二进行详细的说明。 Through the above detailed description, the structure of the remote controller according to the first embodiment of the present invention, and The interconnection and function of each structure are described in detail. The steps of transmitting a control command to the remote controller will be described in detail below with reference to FIG.
本发明实施例二详细介绍了所述遥控器发送控制指令的步驟, 参考图 The second embodiment of the present invention details the steps of the remote controller to send a control command, and the reference figure
4。 4.
步驟 401 ,根据用户操作生成串行数据包, 所述串行数据包中包括有所 述用户输入的控制指令。  Step 401: Generate a serial data packet according to a user operation, where the serial data packet includes a control instruction input by the user.
步驟 401 具体为, 通过对所述用户操作的一个或多个按键进行识别和 编码处理, 获得所述串行数据包, 所述串行数据包中包括有所述用户输入 的控制指令。  Step 401 is specifically to obtain the serial data packet by performing identification and encoding processing on one or more keys operated by the user, and the serial data packet includes a control instruction input by the user.
所述串行数据包为一种编码, 是键盘扫描电路通过对所述用户操作的 一个或多个按键进行识别和编码处理获得的一种编码, 根据用户操作的按 键以及按键的组合方式不同, 键盘扫描电路的编码是可以对应按键以及按 键的组合方式进行变化的。  The serial data packet is an encoding, which is a code obtained by the keyboard scanning circuit by performing recognition and encoding processing on one or more keys operated by the user, and according to different combinations of buttons and keys operated by the user, The coding of the keyboard scanning circuit can be changed in accordance with the combination of the keys and the keys.
步驟 402,通过对所述串行数据包进行处理,生成代表键盘信息的 ASCII 码。  Step 402: Generate an ASCII code representing keyboard information by processing the serial data packet.
其中, 步驟 402 中具体还包括了以下两个步驟(参考图 4A ), 对如何 生成代表键盘信息的 ASCII码进行了详细的说明。  The step 402 further includes the following two steps (refer to FIG. 4A), and the ASCII code representing the keyboard information is described in detail.
步驟 4021 , 接收所述串行数据包, 并生成中断请求。  Step 4021: Receive the serial data packet, and generate an interrupt request.
步驟 4022, 基于所述中断请求, 对所述串行数据包进行处理, 生成所 述代表键盘信息的 ASCII码。  Step 4022: Process the serial data packet based on the interrupt request to generate an ASCII code representing the keyboard information.
对所述串行数据包进行处理, 即处理器基于所述中断请求, 将所述串 行数据包进行转换, 转换为所述代表键盘信息的 ASCII码。  The serial data packet is processed, that is, the processor converts the serial data packet into an ASCII code representing the keyboard information based on the interrupt request.
步驟 403, 基于 HID规范对所述代表键盘信息的 ASCII码进行封装, 获得待发送封装数据。  Step 403: Encapsulate the ASCII code representing the keyboard information based on the HID specification, and obtain the encapsulated data to be sent.
下面, 将结合图 4B, 对步驟 403具体的实施过程进行详细的描述。 步驟 4031 , 通过蓝牙主机控制器接口 (HCI, Host Controller Interface ) 传输层将所述代表键盘信息的 ASCII码提交给蓝牙控制器。 Hereinafter, a specific implementation process of step 403 will be described in detail with reference to FIG. 4B. Step 4031: Submit the ASCII code representing the keyboard information to the Bluetooth controller through a Bluetooth Host Controller Interface (HCI) transport layer.
蓝牙模组有两种应用模式, 即单处理器模式和多处理器模式, 本发明 实施例二优选蓝牙模组的多处理模式, 而主机控制器接口 (HCI , Host Controller Interface )传输层在多处理器应用模式中被作用于通用的接口, 用以完成数据通信的功能, 即将所述代表键盘信息的 ASCII码提交给蓝牙 控制器, 供蓝牙控制器处理。  The Bluetooth module has two application modes, namely, a single processor mode and a multi-processor mode. In the second embodiment of the present invention, the multi-processing mode of the Bluetooth module is preferred, and the host controller interface (HCI, Host Controller Interface) has multiple transmission layers. The processor application mode is applied to a universal interface for performing data communication functions, that is, the ASCII code representing the keyboard information is submitted to the Bluetooth controller for processing by the Bluetooth controller.
步驟 4032,蓝牙控制器基于 HID规范对所述代表键盘信息的 ASCII码 进行封装, 获得待发送封装数据。  Step 4032: The Bluetooth controller encapsulates the ASCII code representing the keyboard information based on the HID specification, and obtains the encapsulated data to be sent.
所述 HID规范仅为数据封装的一种规范方式, 即将所述 ASCII码按照 HID规范进行数据封装, 获得待发送封装数据。  The HID specification is only a standard way of data encapsulation, that is, the ASCII code is encapsulated according to the HID specification, and the encapsulated data to be sent is obtained.
步驟 404, 以蓝牙方式发送所述待发送封装数据至电视盒,供所述电视 盒基于所述待发送封装数据执行所述控制指令。  Step 404: Send the to-be-sent package data to a TV box in a Bluetooth manner, where the TV box executes the control instruction based on the to-be-sent package data.
通过本发明实施例一和本发明实施例二的详细描述, 可以使本申请所 属技术领域的技术人员对所述遥控器的内部结构以及具体的发送控制指令 的流程进行充分和完整的理解。  Through the detailed description of the first embodiment of the present invention and the second embodiment of the present invention, those skilled in the art can fully and completely understand the internal structure of the remote controller and the flow of the specific transmission control instruction.
通过本发明实施例一和本发明实施例二, 至少可以达到如下技术效果: Through the first embodiment of the present invention and the second embodiment of the present invention, at least the following technical effects can be achieved:
1 , 本发明实施例一和本发明实施例二通过采用在遥控器中装载蓝牙模 组来代替红外线装置, 由于蓝牙本身具有通信距离远, 抗干扰性强的特点, 解决了遥控器在距离电视盒较远时, 电视盒不受操控, 进而在进行电视机 频道切换和画面设置时出现的操控不了的技术问题, 达到了操控准确的技 术效果; 1 . The first embodiment of the present invention and the second embodiment of the present invention replace the infrared device by using a bluetooth module in the remote controller. Since the Bluetooth itself has the characteristics of long communication distance and strong anti-interference, the remote controller is solved in the distance television. When the box is far away, the TV box is not manipulated, and the technical problem that can not be manipulated when the TV channel is switched and the screen setting is performed, the technical effect of the control is achieved accurately;
2, 还由于本发明实施例一和本发明实施例二中蓝牙本身还具有不受方 向和视角的限定以及本身成本低的特点, 使遥控器没有对准电视盒就能够 达到控制电视机的目的, 进而解决了角度上的局限性的问题, 达到了能够 对电视盒以及电视机全方位操控而且能够开发使用的技术效果。 应当理解, 本发明实施例一和本发明实施例二, 是用于解释和说明本 发明的优选实施例, 并不用于限定本发明, 本发明中的所述遥控器完全可 以根据实际情况的需要进行一系列改进和变型, 如所述遥控器并不仅仅局 限于用于控制电视, 也可以用于控制其他产品如电脑显示屏、 电冰箱、 收 音机等, 这些改进和变型也应当包含在本发明中。 2. Also, in the first embodiment of the present invention and the second embodiment of the present invention, the Bluetooth itself has the characteristics of being free from the limitation of direction and viewing angle and low cost, so that the remote controller can achieve the purpose of controlling the television without being aligned with the television box. , which solves the problem of limitations in terms of angles, and achieves the ability to The technical effects of the TV box and the TV are fully manipulated and can be developed and used. It should be understood that the first embodiment of the present invention and the second embodiment of the present invention are for explaining and explaining the preferred embodiments of the present invention, and are not intended to limit the present invention. The remote controller in the present invention can be completely adapted to the actual situation. A series of improvements and modifications are made, such as the remote control is not limited to control of television, but can also be used to control other products such as computer screens, refrigerators, radios, etc., and such improvements and modifications should also be included in the present invention. in.
本发明除了提供一种遥控器,用以控制安装有 Android系统的电视盒以 外, 还提供了一种电视盒, 通过线缆与电视连接, 所述电视盒通过蓝牙方 式与遥控器连接, 本发明实施例三用于对此电视盒进行详细说明。  In addition to providing a remote controller for controlling a television box equipped with an Android system, the present invention also provides a television box connected to a television through a cable, and the television box is connected to the remote controller through a Bluetooth method, and the present invention Embodiment 3 is used to describe this TV box in detail.
参考图 5, 本发明实施例三提供的一种电视盒, 包括:  Referring to FIG. 5, a television box according to Embodiment 3 of the present invention includes:
连接单元 501 , 用于接收来自所述遥控器的蓝牙连接请求, 并与所述遥 控器建立连接, 连接单元 501包括初始化单元 5011、 查询单元 5012、 响应 单元 5013三个部分(参考图 5A ); 其中, 初始化单元 5011对所述电视盒 进行初始化处理之后,查询单元 5012查询所述遥控器是否有蓝牙连接请求, 响应单元 5013则在查询单元 5012查询到所述遥控器有蓝牙连接请求时, 通过调用 HCI层协议处理所述蓝牙连接请求, 获得响应消息, 基于所述连 接请求及所述响应消息, 实现所述电视盒及所述遥控器间的连接。  a connection unit 501, configured to receive a Bluetooth connection request from the remote controller, and establish a connection with the remote controller, the connection unit 501 includes three parts of an initialization unit 5011, a query unit 5012, and a response unit 5013 (refer to FIG. 5A); After the initialization unit 5011 performs initialization processing on the TV box, the query unit 5012 queries whether the remote controller has a Bluetooth connection request, and the response unit 5013 passes the inquiry unit 5012 when the remote controller has a Bluetooth connection request. Calling the HCI layer protocol to process the Bluetooth connection request, obtaining a response message, and implementing a connection between the TV box and the remote controller based on the connection request and the response message.
处理单元 502, 用于接收所述遥控器基于 HID规范进行封装而获得的 待发送封装数据, 并对所述待发送封装数据进行解析处理, 获得代表键盘 信息的 ASCII码, 然后执行所述代表键盘信息的 ASCII码, 其中, 所述待 发送封装数据中包括有所述用户输入的控制指令, 处理单元 502 包括接收 单元 5021、 解析单元 5022、 执行单元 5023三个部分(参考图 5B ), 其中, 接收单元 5021接收所述遥控器基于 HID规范进行封装而获得的待发送封装 数据之后, 解析单元 5022则对所述待发送封装数据进行解析处理, 获得代 表键盘信息的 ASCII码,然后执行单元 5023执行所述代表键盘信息的 ASCII 码。 The processing unit 502 is configured to receive the encapsulated package data obtained by the remote controller according to the HID specification, and parse the to-be-sent package data, obtain an ASCII code representing the keyboard information, and then execute the representative keyboard. The ASCII code of the information, wherein the to-be-sent package data includes a control instruction input by the user, and the processing unit 502 includes three parts of the receiving unit 5021, the parsing unit 5022, and the executing unit 5023 (refer to FIG. 5B), where After receiving the packaged data to be sent by the remote controller based on the HID specification, the parsing unit 5022 parses the to-be-sent package data to obtain an ASCII code representing the keyboard information, and then the execution unit 5023 performs The ASCII representing the keyboard information code.
通过本发明实施例三, 本申请所属技术领域的技术人员可以详细地理 解所述电视盒的内部结构, 以及各个内部结构相互的联系及功能。  Through the third embodiment of the present invention, those skilled in the art to which the present invention pertains can explain in detail the internal structure of the television box and the interconnection and functions of the internal structures.
所述电视盒在使用过程中 , 主要功能就是通过接收所述遥控器的指令 来实现对电视机的操控, 下面就结合图 6,对本申请实施例四中具体的执行 控制指令的方法步驟进行介绍。  During the use of the television box, the main function is to realize the manipulation of the television by receiving the instruction of the remote controller. The following describes the method steps of executing the control command in the fourth embodiment of the present application with reference to FIG. .
步驟 601 ,接收来自所述遥控器的蓝牙连接请求, 并与所述遥控器建立 连接。  Step 601: Receive a Bluetooth connection request from the remote controller, and establish a connection with the remote controller.
其中, 步驟 601 具体可以为以下三个步驟, 对如何与所述遥控器建立 连接进行详细的说明 (参考图 6A )。  The step 601 may specifically be the following three steps, and a detailed description is given on how to establish a connection with the remote controller (refer to FIG. 6A).
步驟 6011 , 对所述电视盒进行初始化处理。  Step 6011: Perform initialization processing on the television box.
由于蓝牙模组本身的工作方式, 在所述电视盒上设置了蓝牙模组, 即 用所述蓝牙模组代替传统电视盒上的红外线装置, 对所述电视盒进行初始 化处理即为启动所述电视盒上的蓝牙模组。  Due to the working mode of the Bluetooth module itself, a Bluetooth module is disposed on the TV box, that is, the Bluetooth module is used to replace the infrared device on the conventional TV box, and the initialization process of the TV box is started. Bluetooth module on the TV box.
步驟 6012, 查询所述遥控器是否有蓝牙连接请求。  Step 6012: Query whether the remote controller has a Bluetooth connection request.
步驟 6013, 当所述遥控器有蓝牙连接请求时, 接收来自所述遥控器的 蓝牙连接请求, 通过调用 HCI层协议与所述遥控器建立连接。  Step 6013: When the remote controller has a Bluetooth connection request, receive a Bluetooth connection request from the remote controller, and establish a connection with the remote controller by calling an HCI layer protocol.
所述电视盒中的查询单元在查询到所述遥控器有蓝牙连接请求时, 响 应单元会通过调用 HCI层协议与所述遥控器建立连接。  When the query unit in the TV box queries the remote controller for a Bluetooth connection request, the response unit establishes a connection with the remote controller by calling the HCI layer protocol.
主机控制器接口( HCI, Host Controller Interface )在作为通用的接口时, 不仅仅可以将所述代表键盘信息的 ASCII码提交给蓝牙控制器, 供蓝牙控 制器处理, 由于所述电视盒与所述遥控器已经具有 HCI层协议, 所以所述 电视盒可以通过所述 HCI所述遥控器进行连接。  When the host controller interface (HCI) is used as a universal interface, the ASCII code representing the keyboard information can be submitted to the Bluetooth controller for processing by the Bluetooth controller, The remote controller already has an HCI layer protocol, so the television box can be connected via the remote controller of the HCI.
步驟 602, 接收基于 HID规范进行封装而获得的待发送封装数据, 并 对所述待发送封装数据进行解析处理, 获得代表键盘信息的 ASCII码, 然 后执行所述代表键盘信息的 ASCII码, 其中, 所述待发送封装数据中包括 有所述用户输入的控制指令。 Step 602: Receive encapsulated data to be sent according to the HID specification, and parse the to-be-sent encapsulated data to obtain an ASCII code representing the keyboard information. The ASCII code representing the keyboard information is executed, and the control data input by the user is included in the package data to be sent.
当所述电视盒与所述遥控器进行连接之后, 所述电视盒中就开始接收 所述遥控器基于 HID规范进行封装而获得的包括有所述用户输入的控制指 令待发送封装数据,并将所述待发送封装数据解析为代表键盘信息的 ASCII 码, 然后执行所述代表键盘信息的 ASCII码, 完成执行所述遥控器发送的 控制指令的过程。  After the television box is connected to the remote controller, the television box starts to receive the control command to be sent by the remote controller based on the HID specification and includes the user input to send the package data, and The encapsulated package data is parsed into an ASCII code representing keyboard information, and then the ASCII code representing the keyboard information is executed to complete a process of executing a control command sent by the remote controller.
通过本发明实施例三和本发明实施例四的详细描述, 可以使本申请所 属技术领域的技术人员本对所述电视盒的内部结构以及具体的执行控制指 令的流程进行充分和完整的理解。  Through the detailed description of the third embodiment of the present invention and the fourth embodiment of the present invention, the technical staff of the technical field of the present application can fully and completely understand the internal structure of the television box and the flow of executing the control instruction.
通过本发明实施例三和本发明实施例四, 至少可以达到如下技术效果: Through the third embodiment of the present invention and the fourth embodiment of the present invention, at least the following technical effects can be achieved:
1 , 本发明实施例三和本发明实施例四通过在电视盒上装载代替红外线 装置的蓝牙模组, 由于蓝牙本身具有通信距离远, 抗干扰性强的特点, 使 得在电视盒接收遥控器的操控指令时, 即使两者相距几米远时, 也能够接 收到操控指令, 完成操控, 进而解决了在进行电视机频道切换和画面设置 时出现的操控不了的技术问题, 达到了操控准确的技术效果; 1 . The third embodiment of the present invention and the fourth embodiment of the present invention load a bluetooth module instead of an infrared device on a television box. Because the Bluetooth itself has a long communication distance and strong anti-interference characteristics, the remote control device is received in the television box. When the command is commanded, even if the two are a few meters apart, the control command can be received and the control can be completed, thereby solving the technical problem that the control can not be performed when the TV channel is switched and the screen setting is performed, and the technical effect of the control is achieved. ;
2, 还由于本发明实施例三和本发明实施例四中蓝牙本身还具有不受方 向和视角的限定以及本身成本低的特点, 使遥控器不对准所述电视盒, 电 视盒也能够接收到操控指令来控制电视机, 进而解决了角度上的局限性的 问题, 达到了能够对电视盒以及电视机全方位操控而且能够开发使用的技 术效果。  2, also because the third embodiment of the present invention and the fourth embodiment of the present invention have the characteristics of being free from the limitation of direction and viewing angle and low cost, so that the remote controller is not aligned with the television box, and the television box can also receive Controlling the command to control the TV, and solving the problem of the limitation of the angle, the technical effect that can be fully manipulated and developed for the TV box and the TV set.
应当理解, 本发明实施例一、 二、 三、 四中的一个实施例和多个实施 例是用于解释和说明本发明的优选实施例, 并不用于限定本发明, 本发明 中的所述遥控器和所述电视盒完全可以根据实际情况的需要进行一系列改 进和变型, 如所述遥控器并不仅仅局限于用于控制电视盒, 也可以用于控 制其他具有装载有蓝牙模组的电子产品如将电脑显示屏、 电冰箱、 收音机 等装载有蓝牙模组, 或者使用所述遥控器控制电视盒达到上网的目的, 这 些改进和变型也应当包含在本发明中。 It is to be understood that the embodiments of the present invention, the embodiment of the present invention, and the embodiments of the present invention are intended to explain and explain the preferred embodiments of the present invention. The remote controller and the TV box can be completely modified and modified according to the actual situation. For example, the remote controller is not limited to controlling the TV box, and can also be used for controlling Other electronic products with Bluetooth modules, such as computer monitors, refrigerators, radios, etc., loaded with Bluetooth modules, or used to control the TV boxes to access the Internet, these improvements and variations should also be included in In the present invention.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权利要求书 Claim
1、 一种遥控器, 用以控制安装有 Android系统的电视盒, 其特征在于, 所述遥控器包括:  A remote control device for controlling a television box equipped with an Android system, wherein the remote controller comprises:
输入装置, 用于根据用户操作生成串行数据包, 所述串行数据包中包 括有所述用户输入的控制指令;  And an input device, configured to generate a serial data packet according to a user operation, where the serial data packet includes a control instruction input by the user;
处理器,用于对所述串行数据包进行处理,生成代表键盘信息的 ASCII 码;  a processor, configured to process the serial data packet to generate an ASCII code representing keyboard information;
蓝牙模组, 用于基于 HID规范对所述代表键盘信息的 ASCII码进行封 装, 获得待发送封装数据;  a Bluetooth module, configured to encapsulate the ASCII code representing the keyboard information based on the HID specification, and obtain the encapsulated data to be sent;
发送单元, 用于将所述待发送封装数据以蓝牙方式发送到所述安装有 Android系统的电视盒;  a sending unit, configured to send the to-be-sent package data to the TV box with the Android system installed in a Bluetooth manner;
供电模块, 用于给所述输入装置, 所述处理器, 所述蓝牙模组及所述 发送单元供电。  And a power supply module, configured to supply power to the input device, the processor, the Bluetooth module, and the sending unit.
2、 根据权利要求 1所述的遥控器, 其特征在于, 所述输入装置包括: 多个按键;  2. The remote controller according to claim 1, wherein the input device comprises: a plurality of buttons;
键盘扫描电路, 与所述多个按键连接, 用于在检测到用户操作所述多 个按键中的一个或多个按键后, 经过识别和编码处理, 获得所述串行数据 包。  The keyboard scanning circuit is connected to the plurality of buttons for obtaining the serial data packet after detecting that the user operates one or more of the plurality of keys, after being identified and encoded.
3、 根据权利要求 2所述的遥控器, 其特征在于, 所述多个按键中包括 有: home, menu, back, 和 /或 search键。  3. The remote controller according to claim 2, wherein the plurality of buttons comprises: a home, a menu, a back, and/or a search button.
4、 根据权利要求 1或 2或 3所述的遥控器, 其特征在于, 所述处理器 包括:  4. The remote controller according to claim 1 or 2 or 3, wherein the processor comprises:
接口电路, 用于接收所述串行数据包, 并生成中断请求;  An interface circuit, configured to receive the serial data packet, and generate an interrupt request;
处理单元, 用于基于所述中断请求, 对所述串行数据包进行处理, 生 成代表键盘信息的 ASCII码。 And a processing unit, configured to process the serial data packet based on the interrupt request, and generate an ASCII code representing keyboard information.
5、 根据权利要求 1或 2或 3所述的遥控器, 其特征在于, 所述发送单 元包括: The remote controller according to claim 1 or 2 or 3, wherein the transmitting unit comprises:
蓝牙射频单元, 与所述蓝牙模组连接, 用于接收所述待发送封装数据; 天线, 与所述蓝牙射频单元连接, 通过所述天线将所述待发送封装数 据发送至所述安装有 Android系统的电视盒。  a Bluetooth radio unit, configured to receive the encapsulated package data, and an antenna connected to the Bluetooth radio unit, and send the to-be-sent package data to the installed Android by using the antenna System TV box.
6、 根据权利要求 1或 2或 3所述的遥控器, 其特征在于, 所述供电模 块包括:  The remote controller according to claim 1 or 2 or 3, wherein the power supply module comprises:
电源;  power supply;
电源管理电路, 用于与所述电源连接, 用于产生电压稳定的电源, 并 提供给所述输入装置, 所述处理器, 所述蓝牙模组及所述发送单元。  And a power management circuit, configured to be connected to the power source, for generating a voltage stable power source, and providing the input device, the processor, the Bluetooth module, and the sending unit.
7、 一种电视盒, 通过线缆与电视连接, 所述电视盒通过蓝牙方式与遥 控器连接, 其特征在于, 所述电视盒包括:  A television box, which is connected to a television through a cable, and the television box is connected to the remote controller via a Bluetooth system, wherein the television box comprises:
连接单元, 用于接收来自所述遥控器的蓝牙连接请求, 并与所述遥控 器建立连接;  a connecting unit, configured to receive a Bluetooth connection request from the remote controller, and establish a connection with the remote controller;
处理单元, 用于接收所述遥控器基于 HID规范进行封装而获得的待发 送封装数据, 并对所述待发送封装数据进行解析处理, 获得代表键盘信息 的 ASCII码, 然后执行所述代表键盘信息的 ASCII码, 其中, 所述待发送 封装数据中包括有所述用户输入的控制指令。  a processing unit, configured to receive the encapsulated package data obtained by the remote controller based on the HID specification, and parse the to-be-sent package data, obtain an ASCII code representing the keyboard information, and then execute the representative keyboard information. The ASCII code, wherein the to-be-sent package data includes a control instruction input by the user.
8、 根据权利要求 7所述的电视盒, 其特征在于, 所述连接单元包括: 初始化单元, 用于对所述电视盒进行初始化处理;  The television box according to claim 7, wherein the connection unit comprises: an initialization unit, configured to perform initialization processing on the television box;
查询单元, 用于查询所述遥控器是否有蓝牙连接请求;  a query unit, configured to query whether the remote controller has a Bluetooth connection request;
响应单元, 用于在所述遥控器有蓝牙连接请求时, 通过调用 HCI层协 议处理所述蓝牙连接请求, 获得响应消息, 基于所述连接请求及所述响应 消息, 实现所述电视盒及所述遥控器间的连接。  a response unit, configured to: when the remote controller has a Bluetooth connection request, process the Bluetooth connection request by calling an HCI layer protocol, obtain a response message, and implement the TV box and the location based on the connection request and the response message The connection between the remote controls.
9、 根据权利要求 7或 8所述的电视盒, 其特征在于, 所述处理单元包 括: The television box according to claim 7 or 8, wherein the processing unit package Includes:
接收单元, 用于接收所述遥控器基于 HID规范进行封装而获得的待发 送封装数据;  a receiving unit, configured to receive the to-be-sent package data obtained by the remote controller based on the HID specification for encapsulation;
解析单元, 用于对所述待发送封装数据进行解析处理, 获得代表键盘 信息的 ASCII码;  a parsing unit, configured to parse the to-be-sent encapsulated data to obtain an ASCII code representing keyboard information;
执行单元, 用于执行所述代表键盘信息的 ASCII码。  An execution unit, configured to execute the ASCII code representing the keyboard information.
10、 一种发送控制指令的方法, 所述控制指令用以控制安装有 Android 系统的电视盒, 其特征在于, 所述方法包括:  A method for transmitting a control command, the control command for controlling a television box on which an Android system is installed, wherein the method includes:
根据用户操作生成串行数据包, 所述串行数据包中包括有所述用户输 入的控制指令;  Generating a serial data packet according to a user operation, where the serial data packet includes a control instruction input by the user;
通过对所述串行数据包进行处理, 生成代表键盘信息的 ASCII码; 基于 HID规范对所述代表键盘信息的 ASCII码进行封装, 获得待发送 封装数据;  And processing the serial data packet to generate an ASCII code representing the keyboard information; and encapsulating the ASCII code representing the keyboard information according to the HID specification to obtain the encapsulated data to be sent;
以蓝牙方式发送所述待发送封装数据至电视盒, 供所述电视盒基于所 述待发送封装数据执行所述控制指令。  Transmitting the to-be-sent package data to a television box in a Bluetooth manner, and the television box executes the control instruction based on the to-be-sent package data.
11、 根据权利要求 10所述的方法, 其特征在于, 所述根据用户操作生 成串行数据包, 包括:  The method according to claim 10, wherein the generating a serial data packet according to a user operation comprises:
通过对所述用户操作的一个或多个按键进行识别和编码处理, 获得所 述串行数据包, 所述串行数据包中包括有所述用户输入的控制指令。  The serial data packet is obtained by identifying and encoding the one or more keys operated by the user, and the serial data packet includes a control command input by the user.
12、 根据权利要求 10所述的方法, 其特征在于, 所述通过对所述串行 数据包进行处理, 生成代表键盘信息的 ASCII码, 包括:  12. The method according to claim 10, wherein the processing, by processing the serial data packet, to generate an ASCII code representing keyboard information, comprising:
接收所述串行数据包, 并生成中断请求;  Receiving the serial data packet and generating an interrupt request;
基于所述中断请求, 对所述串行数据包进行处理, 生成所述代表键盘 信息的 ASCII码。  The serial data packet is processed based on the interrupt request to generate the ASCII code representing the keyboard information.
13、 根据权利要求 10所述的方法, 其特征在于, 所述基于 HID规范对 所述代表键盘信息的 ASCII码进行封装, 获得待发送封装数据, 包括: 通过蓝牙 HCI传输层将所述代表键盘信息的 ASCII码提交给蓝牙控制 器; 13. The method according to claim 10, wherein the HID-based specification pair The ASCII code representing the keyboard information is encapsulated, and the encapsulated data to be sent is obtained, including: submitting, by using a Bluetooth HCI transport layer, the ASCII code representing the keyboard information to the Bluetooth controller;
蓝牙控制器基于 HID规范对所述代表键盘信息的 ASCII码进行封装, 获得待发送封装数据。  The Bluetooth controller encapsulates the ASCII code representing the keyboard information based on the HID specification to obtain the encapsulated data to be transmitted.
14、 一种执行控制指令的方法, 其特征在于, 所述方法包括: 接收来自所述遥控器的蓝牙连接请求, 并与所述遥控器建立连接; 接收基于 HID规范进行封装而获得的待发送封装数据, 并对所述待发 送封装数据进行解析处理, 获得代表键盘信息的 ASCII码, 然后执行所述 代表键盘信息的 ASCII码, 其中, 所述待发送封装数据中包括有所述用户 输入的控制指令。  14. A method of executing a control command, the method comprising: receiving a Bluetooth connection request from the remote controller and establishing a connection with the remote controller; receiving a to-be-sent obtained by encapsulating based on a HID specification Encapsulating the data, parsing the to-be-sent package data, obtaining an ASCII code representing the keyboard information, and then executing the ASCII code representing the keyboard information, where the to-be-sent package data includes the user input Control instruction.
15、 根据权利要求 14所述的方法, 其特征在于, 所述接收来自所述遥 控器的蓝牙连接请求, 并与所述遥控器建立连接, 包括:  The method according to claim 14, wherein the receiving a Bluetooth connection request from the remote controller and establishing a connection with the remote controller comprises:
对所述电视盒进行初始化处理;  Initializing the television box;
查询所述遥控器是否有蓝牙连接请求;  Query whether the remote controller has a Bluetooth connection request;
当所述遥控器有蓝牙连接请求时, 接收来自所述遥控器的蓝牙连接请 求, 通过调用 HCI层协议与所述遥控器建立连接。  When the remote controller has a Bluetooth connection request, it receives a Bluetooth connection request from the remote controller, and establishes a connection with the remote controller by calling an HCI layer protocol.
PCT/CN2011/084248 2011-09-14 2011-12-19 Remote control WO2013037175A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110270792.0 2011-09-14
CN2011102707920A CN102298833A (en) 2011-09-14 2011-09-14 Remote controller

Publications (1)

Publication Number Publication Date
WO2013037175A1 true WO2013037175A1 (en) 2013-03-21

Family

ID=45359223

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/084248 WO2013037175A1 (en) 2011-09-14 2011-12-19 Remote control

Country Status (2)

Country Link
CN (1) CN102298833A (en)
WO (1) WO2013037175A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946557B (en) * 2012-11-21 2015-05-27 烽火通信科技股份有限公司 Implementation method for controlling android system set-top box by using controller
CN103208863A (en) * 2013-03-12 2013-07-17 深圳创维数字技术股份有限公司 Automatic power supply method and device
CN104318741B (en) * 2014-10-20 2018-02-02 小米科技有限责任公司 Bluetooth equipment control method and device
CN105472462A (en) * 2015-11-12 2016-04-06 Tcl王牌电器(惠州)有限公司 Television function processing method and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067897A (en) * 2007-05-30 2007-11-07 上海晖悦数字视频科技有限公司 Digital TV set remote-controller based on bluetooth and controlling method thereof
CN101132456A (en) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 Blue tooth multifunctional remote controller device and method for implementing voice communication
CN201035752Y (en) * 2007-04-24 2008-03-12 中兴通讯股份有限公司 Television set up box-remote controller device with input function
CN201274533Y (en) * 2008-09-28 2009-07-15 深圳创维-Rgb电子有限公司 Digital television receiving box and digital television control apparatus
CN201508620U (en) * 2009-07-17 2010-06-16 深圳市赛亿科技开发有限公司 Remote controller of all-in-one PC-TV
EP2204983A2 (en) * 2008-12-30 2010-07-07 Eldon Technology Limited trading as Echostar Europe A remote control device for controlling the presentation of broadcast programming
CN101795393A (en) * 2009-12-30 2010-08-04 四川长虹电器股份有限公司 Method for controlling Internet television by intelligent mobile telephone
US20100205628A1 (en) * 2009-02-12 2010-08-12 Davis Bruce L Media processing methods and arrangements
CN101815198A (en) * 2010-01-14 2010-08-25 中山大学 Communication system based on set-top box and communication method
CN201887835U (en) * 2010-10-22 2011-06-29 中国华录集团有限公司 System capable of controlling household appliances by utilizing intelligent mobile phone
CN102111660A (en) * 2011-03-28 2011-06-29 博视联(苏州)信息科技有限公司 Interactive type intelligent network television
CN201910892U (en) * 2010-12-01 2011-07-27 Tcl集团股份有限公司 Rapidly started television with Android operating system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201336695Y (en) * 2008-12-10 2009-10-28 上海集通数码科技有限责任公司 Remote controller used for TV or set-top box
CN101540854A (en) * 2009-05-05 2009-09-23 北京数码视讯软件技术发展有限公司 Digital television terminal, remote control method and remote controller thereof
CN201444656U (en) * 2009-07-09 2010-04-28 青岛海尔软件有限公司 Electricity-saving set-top box
CN101656847A (en) * 2009-08-21 2010-02-24 中兴通讯股份有限公司 Remote control device, set top box and remote control system
CN201594860U (en) * 2010-02-26 2010-09-29 广东九联科技股份有限公司 Remote control, set top box system
CN201629807U (en) * 2010-04-06 2010-11-10 深圳市爱美得科技有限公司 Digital television receiving box and digital television control device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132456A (en) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 Blue tooth multifunctional remote controller device and method for implementing voice communication
CN201035752Y (en) * 2007-04-24 2008-03-12 中兴通讯股份有限公司 Television set up box-remote controller device with input function
CN101067897A (en) * 2007-05-30 2007-11-07 上海晖悦数字视频科技有限公司 Digital TV set remote-controller based on bluetooth and controlling method thereof
CN201274533Y (en) * 2008-09-28 2009-07-15 深圳创维-Rgb电子有限公司 Digital television receiving box and digital television control apparatus
EP2204983A2 (en) * 2008-12-30 2010-07-07 Eldon Technology Limited trading as Echostar Europe A remote control device for controlling the presentation of broadcast programming
US20100205628A1 (en) * 2009-02-12 2010-08-12 Davis Bruce L Media processing methods and arrangements
CN201508620U (en) * 2009-07-17 2010-06-16 深圳市赛亿科技开发有限公司 Remote controller of all-in-one PC-TV
CN101795393A (en) * 2009-12-30 2010-08-04 四川长虹电器股份有限公司 Method for controlling Internet television by intelligent mobile telephone
CN101815198A (en) * 2010-01-14 2010-08-25 中山大学 Communication system based on set-top box and communication method
CN201887835U (en) * 2010-10-22 2011-06-29 中国华录集团有限公司 System capable of controlling household appliances by utilizing intelligent mobile phone
CN201910892U (en) * 2010-12-01 2011-07-27 Tcl集团股份有限公司 Rapidly started television with Android operating system
CN102111660A (en) * 2011-03-28 2011-06-29 博视联(苏州)信息科技有限公司 Interactive type intelligent network television

Also Published As

Publication number Publication date
CN102298833A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
WO2021018153A1 (en) Device distribution network registration method, device, and system
EP2840455B1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
CN102404637B (en) System and method for controlling television remotely through intelligent mobile phone
CN103297586B (en) Mobile terminal and remote control thereof
CN103079021A (en) Method, system and device for controlling intelligent household electrical appliance through mobile terminal
CN104410967A (en) Apparatus, method and system for enabling connections
WO2012079319A1 (en) Method, device and system for mobile terminal to control digital television receiving terminal
WO2013037175A1 (en) Remote control
US20140195011A1 (en) Information-processing device, method for controlling information-processing device, control target device, method for controlling control target device, server, method for controlling server, pairing system, control program, and storage medium
CN103957319A (en) Method for remotely controlling target equipment through user equipment and user equipment
WO2023001082A1 (en) Network configuration method and apparatus
TW201316216A (en) System and method for touch device with external input function
Koo et al. R-URC: RF4CE-based universal remote control framework using smartphone
WO2013127127A1 (en) Method, system and external equipment for controlling household appliances by means of mobile terminal
CN103064355A (en) Interaction control system for hotel guest room
TW201020784A (en) Electronic device and related method for controlling a peripheral device
CN201985899U (en) Control switching device and control switching system
WO2011130962A1 (en) Remote processing method, device and system
TW201319821A (en) Method, system and conversion device applicable to wireless communications for hosts of human interface devices
JP6216510B2 (en) Mobile terminal, mobile terminal control method, and device control system
CN106254118B (en) WiFi equipment rapid control method
US8233802B2 (en) Portable infrared control liaison
CN108133587A (en) A kind of terminal control method and system
WO2014075493A1 (en) Set top box and using method based on set top box
CN107707956A (en) A kind of free collocation method of set-top box remote controller button and device

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: 11872460

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: 11872460

Country of ref document: EP

Kind code of ref document: A1