CN112333506B - Remote control-based interaction method, device, device and storage medium - Google Patents
Remote control-based interaction method, device, device and storage medium Download PDFInfo
- Publication number
- CN112333506B CN112333506B CN202011178186.1A CN202011178186A CN112333506B CN 112333506 B CN112333506 B CN 112333506B CN 202011178186 A CN202011178186 A CN 202011178186A CN 112333506 B CN112333506 B CN 112333506B
- Authority
- CN
- China
- Prior art keywords
- feedback
- control
- vibration
- instruction
- smart terminal
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42221—Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42222—Additional components integrated in the remote control device, e.g. timer, speaker, sensors for detecting position, direction or movement of the remote control, microphone or battery charging device
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Selective Calling Equipment (AREA)
Abstract
本发明公开了一种基于遥控器的交互方法、装置、设备及存储介质,若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;检测是否存在所述智能终端基于所述控制指令发送的反馈指令;若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。本发明在检测到智能终端基于控制指令发送的反馈指令时进行震动反馈,用户可以根据震动反馈了解对于智能终端的控制情况,并及时对控制按键进行调整,使得用户通过遥控器与智能终端进行的交互具有多样性,有利于提高遥控器的可用性。
The invention discloses an interaction method, device, device and storage medium based on a remote control. If it is detected that a user triggers a control button, a control instruction is sent to an intelligent terminal according to the control button; The feedback instruction sent by the control instruction; if the feedback instruction exists, vibration feedback is performed based on the feedback instruction, so that the user can adjust the control button according to the vibration feedback. The present invention performs vibration feedback when the feedback command sent by the smart terminal based on the control command is detected, and the user can know the control situation of the smart terminal according to the vibration feedback, and adjust the control keys in time, so that the user can communicate with the smart terminal through the remote control. The interaction is diverse, which is beneficial to improve the usability of the remote control.
Description
技术领域technical field
本发明涉及AIoT(Artificial Intelligence&Internet of Things,人工智能物联网)技术领域,尤其涉及一种基于遥控器的交互方法、装置、设备及存储介质。The present invention relates to the technical field of AIoT (Artificial Intelligence&Internet of Things, artificial intelligence Internet of Things), in particular to an interaction method, device, device and storage medium based on a remote control.
背景技术Background technique
当前的智能终端例如电视集成了丰富的功能场景及新科技,TV端的应用也越加丰富,而电视等智能终端的控制主要由与其配对的遥控器进行指令输出来完成,目前除了由红外遥控器外还有蓝牙遥控器,蓝牙遥控器不仅可以输出指令,还能进行数据接收,但目前的遥控器都停留在指令输出的功能上,无法和智能终端产生额外的交互,用户通过遥控器与智能终端进行交互的场景和模式较单一,只能由用户通过视觉或者听觉感知是否实现对智能终端的控制,使得当前遥控器的可用性较低。The current smart terminals such as TVs integrate a wealth of functional scenarios and new technologies, and the applications of TVs are becoming more and more abundant. The control of smart terminals such as TVs is mainly completed by the remote control that is paired with it. In addition, there is a Bluetooth remote control. The Bluetooth remote control can not only output commands, but also receive data. The scene and mode of terminal interaction are relatively simple, and the user can only perceive whether to realize the control of the smart terminal through vision or hearing, which makes the usability of the current remote control low.
发明内容Contents of the invention
本发明的主要目的在于提供一种基于遥控器的交互方法、装置、设备及存储介质,旨在解决当前遥控器的可用性较低的技术问题。The main purpose of the present invention is to provide a remote control-based interaction method, device, equipment and storage medium, aiming at solving the technical problem of low usability of the current remote control.
为实现上述目的,本发明实施例提供一种基于遥控器的交互方法,所述基于遥控器的交互方法包括:In order to achieve the above purpose, an embodiment of the present invention provides a remote control-based interaction method, the remote control-based interaction method includes:
若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;If it is detected that the user triggers the control button, a control instruction is sent to the smart terminal according to the control button;
检测是否存在所述智能终端基于所述控制指令发送的反馈指令;Detecting whether there is a feedback instruction sent by the smart terminal based on the control instruction;
若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。If there is the feedback instruction, performing vibration feedback based on the feedback instruction, so that the user can adjust the control button according to the vibration feedback.
优选地,所述基于所述反馈指令进行震动反馈的步骤包括:Preferably, the step of performing vibration feedback based on the feedback instruction includes:
获取所述反馈指令对应的反馈等级信息;Obtain feedback level information corresponding to the feedback instruction;
根据所述反馈等级信息,确定震动策略;Determine a vibration strategy according to the feedback level information;
调用震动器,控制所述震动器根据所述震动策略进行震动反馈。Call the vibrator, and control the vibrator to perform vibration feedback according to the vibration strategy.
优选地,所述根据所述反馈等级信息,确定震动策略的步骤包括:Preferably, the step of determining a vibration strategy according to the feedback level information includes:
获取预设震动等级表,从所述预设震动等级表中查找与所述反馈等级信息对应的震动等级;Obtain a preset vibration level table, and search for a vibration level corresponding to the feedback level information from the preset vibration level table;
获取预设震动时长表,从所述预设震动时长表中查找与所述反馈等级信息对应的震动时长;Obtain a preset vibration duration table, and search the vibration duration corresponding to the feedback level information from the preset vibration duration table;
根据所述震动等级与所述震动时长,生成震动策略。A vibration strategy is generated according to the vibration level and the vibration duration.
优选地,所述获取所述反馈指令对应的反馈等级信息的步骤包括:Preferably, the step of acquiring feedback level information corresponding to the feedback instruction includes:
对所述反馈指令进行解析,获取所述反馈指令中的反馈类型信息;Analyzing the feedback instruction to obtain feedback type information in the feedback instruction;
根据所述反馈类型度信息,从预设反馈等级表中确定反馈等级信息。According to the feedback type degree information, feedback level information is determined from a preset feedback level table.
优选地,所述若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令的步骤包括:Preferably, if it is detected that the user triggers the control button, the step of sending the control instruction to the smart terminal according to the control button includes:
若检测到用户通过点击和/或触摸的方式触发控制按键,则获取所述控制按键的控制信息;If it is detected that the user triggers the control button by clicking and/or touching, then acquire the control information of the control button;
获取所述控制信息对应的控制编码,并根据所述控制编码生成控制指令;Acquiring a control code corresponding to the control information, and generating a control instruction according to the control code;
将所述控制指令通过预设无线网络发送至智能终端。Send the control instruction to the smart terminal through the preset wireless network.
优选地,所述若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令的步骤之前,还包括:Preferably, if it is detected that the user triggers the control button, before the step of sending the control instruction to the smart terminal according to the control button, it also includes:
检测智能终端的开关状态;Detect the switch status of the smart terminal;
若所述智能终端处于开启状态,则与所述智能终端进行通信连接。If the smart terminal is in an open state, a communication connection is made with the smart terminal.
优选地,所述与所述智能终端进行通信连接的步骤包括:Preferably, the step of communicating with the smart terminal includes:
获取所述智能终端的连接协议,根据所述连接协议向所述智能终端发送连接请求;Obtain the connection protocol of the smart terminal, and send a connection request to the smart terminal according to the connection protocol;
若接收到基于所述智能终端基于所述连接请求的确认信号,则与所述智能终端建立通信连接。If an acknowledgment signal based on the connection request based on the smart terminal is received, a communication connection is established with the smart terminal.
为实现上述目的,本发明还提供一种基于遥控器的交互装置,所述基于遥控器的交互装置包括:In order to achieve the above object, the present invention also provides a remote control-based interaction device, the remote control-based interaction device includes:
发送模块,用于若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;A sending module, configured to send a control instruction to the smart terminal according to the control button if it is detected that the user triggers the control button;
检测模块,用于检测是否存在所述智能终端基于所述控制指令发送的反馈指令;A detection module, configured to detect whether there is a feedback instruction sent by the smart terminal based on the control instruction;
反馈模块,用于若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。The feedback module is configured to, if there is the feedback instruction, perform vibration feedback based on the feedback instruction, so that the user can adjust the control button according to the vibration feedback.
进一步地,为实现上述目的,本发明还提供一种基于遥控器的交互设备,所述基于遥控器的交互设备包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的基于遥控器的交互程序,所述基于遥控器的交互程序被所述处理器执行时实现上述的基于遥控器的交互方法的步骤。Further, in order to achieve the above object, the present invention also provides a remote control-based interactive device, which includes a memory, a processor, and a device stored in the memory and operable on the processor. An interactive program based on a remote control, when the interactive program based on a remote control is executed by the processor, the steps of the above-mentioned interaction method based on a remote control are implemented.
进一步地,为实现上述目的,本发明还提供一种存储介质,所述存储介质上存储有基于遥控器的交互程序,所述基于遥控器的交互程序被处理器执行时实现上述的基于遥控器的交互方法的步骤。Further, in order to achieve the above object, the present invention also provides a storage medium, on which an interactive program based on a remote control is stored, and when the interactive program based on a remote control is executed by a processor, the above-mentioned remote control-based The steps of the interactive method.
本发明实施例提供一种基于遥控器的交互方法、装置、设备及存储介质,若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;检测是否存在所述智能终端基于所述控制指令发送的反馈指令;若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。本发明在检测到智能终端基于控制指令发送的反馈指令时进行震动反馈,用户可以根据震动反馈了解对于智能终端的控制情况,并及时对控制按键进行调整,使得用户通过遥控器与智能终端进行的交互具有多样性,有利于提高遥控器的可用性。Embodiments of the present invention provide an interaction method, device, device, and storage medium based on a remote control. If it is detected that a user triggers a control button, a control command is sent to a smart terminal according to the control button; feedback instruction sent by the control instruction; if there is the feedback instruction, vibration feedback is performed based on the feedback instruction, so that the user can adjust the control button according to the vibration feedback. The present invention performs vibration feedback when the feedback command sent by the smart terminal based on the control command is detected, and the user can understand the control situation of the smart terminal according to the vibration feedback, and adjust the control buttons in time, so that the user can use the remote control and the smart terminal. The interaction is diverse, which is beneficial to improve the usability of the remote control.
附图说明Description of drawings
图1为本发明基于遥控器的交互方法实施例方案涉及的硬件运行环境的结构示意图;FIG. 1 is a schematic structural diagram of the hardware operating environment involved in the embodiment of the remote control-based interaction method of the present invention;
图2为本发明基于遥控器的交互方法第一实施例的流程示意图;FIG. 2 is a schematic flow chart of the first embodiment of the remote control-based interaction method of the present invention;
图3为本发明基于遥控器的交互方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of the remote control-based interaction method of the present invention;
图4为本发明基于遥控器的交互方法第三实施例的流程示意图;FIG. 4 is a schematic flowchart of a third embodiment of the remote control-based interaction method of the present invention;
图5为本发明基于遥控器的交互装置较佳实施例的功能模块示意图。FIG. 5 is a schematic diagram of functional modules of a preferred embodiment of an interactive device based on a remote control according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例提供一种基于遥控器的交互方法、装置、设备及存储介质,若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;检测是否存在所述智能终端基于所述控制指令发送的反馈指令;若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。本发明在检测到智能终端基于控制指令发送的反馈指令时进行震动反馈,用户可以根据震动反馈了解对于智能终端的控制情况,并及时对控制按键进行调整,使得用户通过遥控器与智能终端进行的交互具有多样性,有利于提高遥控器的可用性。Embodiments of the present invention provide an interaction method, device, device, and storage medium based on a remote control. If it is detected that a user triggers a control button, a control command is sent to a smart terminal according to the control button; feedback instruction sent by the control instruction; if there is the feedback instruction, vibration feedback is performed based on the feedback instruction, so that the user can adjust the control button according to the vibration feedback. The present invention performs vibration feedback when the feedback command sent by the smart terminal based on the control command is detected, and the user can understand the control situation of the smart terminal according to the vibration feedback, and adjust the control buttons in time, so that the user can use the remote control and the smart terminal. The interaction is diverse, which is beneficial to improve the usability of the remote control.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的基于遥控器的交互设备结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of a remote control-based interactive device in a hardware operating environment involved in the solution of an embodiment of the present invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.
本发明实施例基于遥控器的交互设备可以是PC,也可以是平板电脑、便携计算机等可移动式终端设备。The remote control-based interactive device in this embodiment of the present invention may be a PC, or a mobile terminal device such as a tablet computer or a portable computer.
如图1所示,该基于遥控器的交互设备可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the remote control-based interactive device may include: a
本领域技术人员可以理解,图1中示出的基于遥控器的交互设备结构并不构成对基于遥控器的交互设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the interactive device based on the remote control shown in FIG. components, or different component arrangements.
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及基于遥控器的交互程序。As shown in FIG. 1 ,
在图1所示的设备中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的基于遥控器的交互程序,并执行以下操作:In the equipment shown in Fig. 1, the
若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;If it is detected that the user triggers the control button, a control instruction is sent to the smart terminal according to the control button;
检测是否存在所述智能终端基于所述控制指令发送的反馈指令;Detecting whether there is a feedback instruction sent by the smart terminal based on the control instruction;
若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。If there is the feedback instruction, performing vibration feedback based on the feedback instruction, so that the user can adjust the control button according to the vibration feedback.
进一步地,所述基于所述反馈指令进行震动反馈的步骤包括:Further, the step of performing vibration feedback based on the feedback instruction includes:
获取所述反馈指令对应的反馈等级信息;Obtain feedback level information corresponding to the feedback instruction;
根据所述反馈等级信息,确定震动策略;Determine a vibration strategy according to the feedback level information;
调用震动器,控制所述震动器根据所述震动策略进行震动反馈。Call the vibrator, and control the vibrator to perform vibration feedback according to the vibration strategy.
进一步地,所述根据所述反馈等级信息,确定震动策略的步骤包括:Further, the step of determining the vibration strategy according to the feedback level information includes:
获取预设震动等级表,从所述预设震动等级表中查找与所述反馈等级信息对应的震动等级;Obtain a preset vibration level table, and search for a vibration level corresponding to the feedback level information from the preset vibration level table;
获取预设震动时长表,从所述预设震动时长表中查找与所述反馈等级信息对应的震动时长;Obtain a preset vibration duration table, and search the vibration duration corresponding to the feedback level information from the preset vibration duration table;
根据所述震动等级与所述震动时长,生成震动策略。A vibration strategy is generated according to the vibration level and the vibration duration.
进一步地,所述获取所述反馈指令对应的反馈等级信息的步骤包括:Further, the step of obtaining the feedback level information corresponding to the feedback instruction includes:
对所述反馈指令进行解析,获取所述反馈指令中的反馈类型信息;Analyzing the feedback instruction to obtain feedback type information in the feedback instruction;
根据所述反馈类型度信息,从预设反馈等级表中确定反馈等级信息。According to the feedback type degree information, feedback level information is determined from a preset feedback level table.
进一步地,所述若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令的步骤包括:Further, if it is detected that the user triggers the control button, the step of sending a control instruction to the smart terminal according to the control button includes:
若检测到用户通过点击和/或触摸的方式触发控制按键,则获取所述控制按键的控制信息;If it is detected that the user triggers the control button by clicking and/or touching, then acquire the control information of the control button;
获取所述控制信息对应的控制编码,并根据所述控制编码生成控制指令;Acquiring a control code corresponding to the control information, and generating a control instruction according to the control code;
将所述控制指令通过预设无线网络发送至智能终端。Send the control instruction to the smart terminal through the preset wireless network.
进一步地,所述若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令的步骤之前,处理器1001可以用于调用存储器1005中存储的基于遥控器的交互程序,并执行以下操作:Further, before the step of sending a control instruction to the smart terminal according to the control button if it is detected that the user triggers the control button, the
检测智能终端的开关状态;Detect the switch status of the smart terminal;
若所述智能终端处于开启状态,则与所述智能终端进行通信连接。If the smart terminal is in an open state, a communication connection is made with the smart terminal.
进一步地,所述与所述智能终端进行通信连接的步骤包括:Further, the step of communicating with the smart terminal includes:
获取所述智能终端的连接协议,根据所述连接协议向所述智能终端发送连接请求;Obtain the connection protocol of the smart terminal, and send a connection request to the smart terminal according to the connection protocol;
若接收到基于所述智能终端基于所述连接请求的确认信号,则与所述智能终端建立通信连接。If an acknowledgment signal based on the connection request based on the smart terminal is received, a communication connection is established with the smart terminal.
为了更好的理解上述技术方案,下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。In order to better understand the above-mentioned technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。In order to better understand the above-mentioned technical solution, the above-mentioned technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
参照图2,本发明第一实施例提供一种基于遥控器的交互方法的流程示意图。该实施例中,所述基于遥控器的交互方法包括以下步骤:Referring to FIG. 2 , the first embodiment of the present invention provides a schematic flowchart of a remote control-based interaction method. In this embodiment, the interaction method based on the remote control includes the following steps:
步骤S10,若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;Step S10, if it is detected that the user triggers the control button, send a control command to the smart terminal according to the control button;
本实施例中基于遥控器的交互方法应用于遥控器,遥控器与智能终端之间可以通过蓝牙、WIFI等无线网络进行通信连接,并基于通信连接关系进行交互,其中智能终端可以为智能电视、PC(个人电脑)等,智能终端中设置有蓝牙模块或者WIFI(无线上网)模块等用于进行无线通信的模块;遥控器中包含有多个不同控制功能的控制按键,例如音量的加减、频道的加减、开关机、静音等,也设置有蓝牙模块或者WIFI模块等用于进行无线通信的模块,以及设置有震动器,震动器又被称为偏心轮、振动端子,可以通过自身的震动带动遥控器发生震动。In this embodiment, the interaction method based on the remote control is applied to the remote control. The remote control and the smart terminal can be connected through wireless networks such as Bluetooth and WIFI, and interact based on the communication connection relationship. The smart terminal can be a smart TV, PC (personal computer), etc., the smart terminal is provided with a module for wireless communication such as a Bluetooth module or a WIFI (wireless Internet access) module; Channel addition and subtraction, power on and off, mute, etc. are also equipped with modules for wireless communication such as Bluetooth modules or WIFI modules, as well as vibrators, which are also called eccentric wheels and vibration terminals. The vibration drives the remote control to vibrate.
可以理解地,目前的遥控器都停留在指令输出的功能上,无法和电视产生额外的交互,使得用户通过遥控器与电视进行交互的场景和模式较单一,导致当前遥控器的可用性较低,在此基础上,本发明提出一种基于遥控器的交互方法、装置、设备及存储介质,通过在检测到智能终端基于控制指令发送的反馈指令时进行震动反馈,使得用户可以根据震动反馈了解对于智能终端的控制情况,并及时对控制按键进行调整,使得用户通过遥控器与智能终端进行的交互具有多样性,有利于提高遥控器的可用性。It is understandable that the current remote controllers all stay on the function of command output and cannot generate additional interaction with the TV, so that the scenes and modes for users to interact with the TV through the remote controller are relatively single, resulting in low usability of the current remote controller. On this basis, the present invention proposes an interaction method, device, device, and storage medium based on a remote control. Vibration feedback is performed when a feedback instruction sent by a smart terminal based on a control instruction is detected, so that the user can understand the The control status of the smart terminal and the timely adjustment of the control buttons make the interaction between the user and the smart terminal through the remote control more diverse, which is conducive to improving the usability of the remote control.
进一步地,在用户需要对智能终端中显示屏幕显示的内容或扬声器输出的内容不满意,则可以通过触摸或者点击遥控器中的控制按键来对显示屏幕显示的内容或扬声器输出的内容进行调整,例如显示屏幕显示的画面亮度较低,则可以触摸或点击增加亮度的控制按键,触发该控制按键将显示屏幕显示的画面亮度调高。为了及时响应用户的需求,遥控器可以实时检测内部多个控制按键中是否存在控制按键被触发,若检测用户触发了多个控制按键中的任一控制按键,则先获取被触发控制按键的控制信息,再获取控制信息对应的控制编码并根据控制编码生成控制指令发送至智能终端中,以便以智能终端响应控制指令,满足用户的需求。Furthermore, if the user needs to be dissatisfied with the content displayed on the display screen or the content output by the speaker in the smart terminal, he can adjust the content displayed on the display screen or the content output by the speaker by touching or clicking the control button in the remote control, For example, if the brightness of the picture displayed on the display screen is low, you can touch or click the control button for increasing the brightness, and trigger the control button to increase the brightness of the picture displayed on the display screen. In order to respond to the user's needs in a timely manner, the remote control can detect in real time whether any of the control buttons in the internal control buttons are triggered. information, and then obtain the control code corresponding to the control information, generate a control command according to the control code and send it to the smart terminal, so that the smart terminal can respond to the control command and meet the needs of users.
进一步地,所述若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令的步骤包括:Further, if it is detected that the user triggers the control button, the step of sending a control instruction to the smart terminal according to the control button includes:
步骤S11,若检测到用户通过点击和/或触摸的方式触发控制按键,则获取所述控制按键的控制信息;Step S11, if it is detected that the user triggers the control button by clicking and/or touching, then acquire the control information of the control button;
步骤S12,获取所述控制信息对应的控制编码,并根据所述控制编码生成控制指令;Step S12, acquiring a control code corresponding to the control information, and generating a control instruction according to the control code;
步骤S13,将所述控制指令通过预设无线网络发送至智能终端。Step S13, sending the control instruction to the smart terminal through the preset wireless network.
进一步地,遥控器实时检测内部多个控制按键的控制状态,确定多个控制按键是否存在任一控制按键被用户通过点击和/或触摸的方式触发,若发现多个控制按键中存在任一控制按键被用户触发,则获取控制按键中用于说明控制按键用途的控制信息,例如音量增加的控制按键对应的控制信息为增加扬声器的输出音量。进一步地,在获取控制按键的控制信息后,遥控器根据编码规则从控制信息中确定出控制编码,其中控制编码可以包含控制按键的序号以及控制信息对应的二进制字符。进一步地,遥控器对控制编码进行处理,具体地,可以将控制编码输入至指令生成器中,通过指令生成器将控制编码生成为控制指令,指令生成器可以将输入的控制编码编译成为控制指令。进一步地,遥控器可以通过与智能终端的无线通信连接关系,将控制指令通过预设无线网络发送至智能终端,由于通过指令生成器生成的控制指令可以避免控制编码因被外界干扰而发生乱码或被篡改,因此提高控制编码传输的安全性,避免出现例如用户需要调整音量大小,但是通过点击音量增加的控制按键,最后智能终端却调整屏幕亮度的情况,提高用户的使用体验。Further, the remote controller detects the control states of multiple internal control buttons in real time, and determines whether there is any control button in the multiple control buttons that is triggered by the user by clicking and/or touching. When the key is triggered by the user, the control information used to describe the purpose of the control key is obtained from the control key. For example, the control information corresponding to the volume increase control key is to increase the output volume of the speaker. Further, after acquiring the control information of the control key, the remote controller determines the control code from the control information according to the coding rule, wherein the control code may include the serial number of the control key and the binary character corresponding to the control information. Further, the remote controller processes the control code, specifically, the control code can be input into the command generator, and the control code is generated into a control command through the command generator, and the command generator can compile the input control code into a control command . Further, the remote controller can send the control instructions to the smart terminal through the preset wireless network through the wireless communication connection relationship with the smart terminal. Since the control instructions generated by the command generator can prevent the control code from being garbled or garbled due to external interference. Therefore, the security of the control code transmission is improved, and the situation that the user needs to adjust the volume, but clicks the volume increase control button, and finally the smart terminal adjusts the screen brightness, improves the user experience.
步骤S20,检测是否存在所述智能终端基于所述控制指令发送的反馈指令;Step S20, detecting whether there is a feedback instruction sent by the smart terminal based on the control instruction;
进一步地,为了能够及时智能终端是否成功响应控制指令,并完成用户所需的调整,遥控器实时对智能终端进行检测,确定智能终端是否已经接收控制指令并按照控制指令进行调整。可以理解地,若智能终端已经按照控制指令完成了相应的调整,则可以通过智能终端与遥控器的连接关系,向遥控器发送调整成功的反馈信号,以告知遥控器智能终端已经完成了控制指令的响应,而为了避免打扰用户,完成了控制指令的响应则不需要向用户反馈。相反地,若智能终端按照控制指令进行调整时,发现对于该控制指令的调整无效,调整后的状态与调整前的状态相同,则说明根据控制指令进行调整的操作失误或者操作无效,则需要告知用户,可以向遥控器发送表示控制指令未生效的反馈指令,通知遥控器关于控制指令的调整未生效,以便于遥控器通过震动器反馈给用户,避免用户在控制指令未生效时频繁触发控制按键。例如用户对智能终端中扬声器输出的音量不满意,认为音量过低,则通过触发音量增加的控制按键使遥控器向智能终端发送控制指令,智能终端接收控制指令,并按照控制指令对输出音量进行音量增加操作,若进行音量增加操作后发现输出音量已经对应增加,则向遥控器发送音量调整成功的反馈信号;相反地,若进行音量增加操作后,由于当前音量已处于最大音量,无法再继续增大,使得输出音量仍与调整前的输出音量一致,则说明音量增加操作未生效,智能终端向遥控器发送音量调整失败的反馈指令,通知遥控器向用户做出反馈,使用户知悉音量增加操作未生效。Further, in order to know whether the smart terminal successfully responds to the control command and complete the adjustment required by the user, the remote controller detects the smart terminal in real time to determine whether the smart terminal has received the control command and adjusts according to the control command. It can be understood that if the smart terminal has completed the corresponding adjustment according to the control command, it can send a feedback signal of successful adjustment to the remote control through the connection relationship between the smart terminal and the remote control, so as to inform the remote control that the smart terminal has completed the control command. In order to avoid disturbing the user, the response to the control command does not need to be fed back to the user. On the contrary, if the smart terminal adjusts according to the control instruction, it finds that the adjustment to the control instruction is invalid, and the state after adjustment is the same as the state before adjustment, it means that the adjustment operation according to the control instruction is wrong or the operation is invalid, and you need to notify The user can send a feedback command to the remote controller indicating that the control command has not taken effect, and notify the remote controller that the adjustment of the control command has not taken effect, so that the remote controller can give feedback to the user through the vibrator, and prevent the user from frequently triggering the control button when the control command is not valid . For example, if the user is dissatisfied with the volume output by the speaker in the smart terminal and thinks the volume is too low, the remote control will send a control command to the smart terminal by triggering the volume increase control button, and the smart terminal will receive the control command and adjust the output volume according to the control command. Volume increase operation, if it is found that the output volume has increased correspondingly after the volume increase operation, a feedback signal of successful volume adjustment will be sent to the remote control; on the contrary, if the volume increase operation is performed, because the current volume is already at the maximum volume, it cannot continue Increase the output volume so that the output volume is still consistent with the output volume before the adjustment, which means that the volume increase operation has not taken effect, and the smart terminal sends a feedback command of volume adjustment failure to the remote control to notify the remote control to give feedback to the user, so that the user knows the volume increase Operation did not take effect.
步骤S30,若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。Step S30, if there is the feedback instruction, performing vibration feedback based on the feedback instruction, so that the user can adjust the control button according to the vibration feedback.
进一步地,若遥控器在进行检测时确定存在智能终端在控制指令的基础上发送的反馈指令,表征智能终端未成功按照控制指令对相关内容进行调整,遥控器调用内部设置的震动器,控制震动器按照由反馈指令确定的震动策略进行震动反馈,以便于用户知悉基于当前控制按键触发的控制指令对应的调整操作未能生效,可以通过点击或者触摸其他控制按键来进行调整,避免用户认为是遥控器损坏或者未触发按键而频繁重复的点击该控制按键,对遥控器产生不良影响,甚至导致遥控器发生故障。此外,基于反馈指令进行震动反馈时,由震动器带来的震动可以对遥控器表面的灰尘及其他轻微物质进行清洁,可以保持遥控器表面的清洁。Further, if the remote control determines that there is a feedback command sent by the smart terminal based on the control command during the detection, it means that the smart terminal has not successfully adjusted the relevant content according to the control command, and the remote control calls the internal vibrator to control the vibration. The device performs vibration feedback according to the vibration strategy determined by the feedback command, so that the user can know that the adjustment operation corresponding to the control command triggered by the current control button has not taken effect, and can be adjusted by clicking or touching other control buttons to prevent the user from thinking that it is a remote control. If the controller is damaged or the button is not triggered and the control button is clicked frequently and repeatedly, it will have a bad effect on the remote control, and even cause the remote control to malfunction. In addition, when the vibration feedback is performed based on the feedback command, the vibration brought by the vibrator can clean the dust and other slight substances on the surface of the remote control, and can keep the surface of the remote control clean.
本实施例提供一种基于遥控器的交互方法、装置、设备及存储介质,若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;检测是否存在所述智能终端基于所述控制指令发送的反馈指令;若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。本发明在检测到智能终端基于控制指令发送的反馈指令时进行震动反馈,使得用户可以根据震动反馈了解对于智能终端的控制情况,并及时对控制按键进行调整,使得用户通过遥控器与智能终端进行的交互具有多样性,有利于提高遥控器的可用性。This embodiment provides an interaction method, device, device, and storage medium based on a remote control. If it is detected that a user triggers a control button, a control command is sent to a smart terminal according to the control button; A feedback instruction sent by the control instruction; if there is the feedback instruction, vibration feedback is performed based on the feedback instruction, so that the user can adjust the control button according to the vibration feedback. The present invention performs vibration feedback when the feedback command sent by the smart terminal based on the control command is detected, so that the user can understand the control situation of the smart terminal according to the vibration feedback, and adjust the control buttons in time, so that the user can communicate with the smart terminal through the remote control The interaction of the remote control is diverse, which is beneficial to improve the usability of the remote control.
进一步地,参照图3,基于本发明基于遥控器的交互方法的第一实施例,提出本发明基于遥控器的交互方法的第二实施例,在第二实施例中,所述基于所述反馈指令进行震动反馈的步骤包括:Further, referring to FIG. 3 , based on the first embodiment of the interaction method based on the remote control of the present invention, a second embodiment of the interaction method based on the remote control of the present invention is proposed. In the second embodiment, the feedback based on the The steps for instructing vibration feedback include:
步骤S31,获取所述反馈指令对应的反馈等级信息;Step S31, acquiring feedback level information corresponding to the feedback instruction;
步骤S32,根据所述反馈等级信息,确定震动策略;Step S32, determining a vibration strategy according to the feedback level information;
步骤S33,调用震动器,控制所述震动器根据所述震动策略进行震动反馈。Step S33, calling the vibrator, and controlling the vibrator to perform vibration feedback according to the vibration strategy.
进一步地,在接收到智能终端基于控制指令发送的反馈指令后,遥控器首先通过对反馈指令的解析,得到反馈指令对应的反馈等级信息,其中反馈等级信息用于说明控制指令对应的调整信息对于智能终端的重要程度,可以理解地,控制指令对应的调整信息对于智能终端的重要程度越高,则反馈指令对应反馈等级信息中的等级也越高,控制指令对应的调整信息对于智能终端的重要程度越低,则反馈指令对应反馈等级信息中的等级也越低。在得到反馈等级信息后,遥控器分别确定出反馈等级信息在遥控器中对应的震动等级与震动时间,再根据震动等级与震动时间来确定出用于向用户进行震动反馈的震动策略,其中震动等级用于表示震动器进行震动的震动幅度,不同的震动等级对应不同的震动幅度,震动等级越高,震动幅度越大;震动时长用于表示震动器进行震动的时间长短。进一步地,遥控器通过调用震动器的接口来对震动器进行调用,并控制震动器根据震动策略进行震动反馈,具体地,遥控器与震动器进行接口调用,并基于对震动器的调用关系将震动策略传输至震动器中,再控制震动器开始运转,使得震动器按照震动策略进行震动,通过震动反馈向用户进行信息反馈。例如:控制指令对应的调整信息是调整音量,但是当前音量已经处于最大音量状态,因此智能终端对于控制指令的执行的音量增加操作未生效,震动策略中根据音量增加操作未生效的反馈指令所确定的震动等级为1级,震动时间为1秒,则遥控器调用震动器并控制震动器进行持续1秒的1级震动,以通知用户其触发的音量增加操作的控制按键未生效。Further, after receiving the feedback instruction sent by the smart terminal based on the control instruction, the remote controller first analyzes the feedback instruction to obtain the feedback level information corresponding to the feedback instruction, wherein the feedback level information is used to illustrate that the adjustment information corresponding to the control instruction is for The importance of the smart terminal, understandably, the higher the importance of the adjustment information corresponding to the control command to the smart terminal, the higher the level in the feedback level information corresponding to the feedback command, and the higher the importance of the adjustment information corresponding to the control command to the smart terminal The lower the level is, the lower the level in the feedback level information corresponding to the feedback command is. After obtaining the feedback level information, the remote controller respectively determines the vibration level and vibration time corresponding to the feedback level information in the remote controller, and then determines the vibration strategy for providing vibration feedback to the user according to the vibration level and vibration time, wherein the vibration The grade is used to indicate the vibration amplitude of the vibrator. Different vibration levels correspond to different vibration amplitudes. The higher the vibration level, the greater the vibration amplitude; the vibration duration is used to indicate the length of time for the vibrator to vibrate. Further, the remote controller calls the vibrator by calling the interface of the vibrator, and controls the vibrator to perform vibration feedback according to the vibration strategy. The vibration strategy is transmitted to the vibrator, and then the vibrator is controlled to start running, so that the vibrator vibrates according to the vibration strategy, and information is fed back to the user through vibration feedback. For example: the adjustment information corresponding to the control command is to adjust the volume, but the current volume is already at the maximum volume state, so the volume increase operation performed by the smart terminal for the control command does not take effect, and the vibration strategy is determined according to the feedback command that the volume increase operation does not take effect If the vibration level is level 1 and the vibration time is 1 second, then the remote controller invokes the vibrator and controls the vibrator to perform level 1 vibration for 1 second to notify the user that the volume increase operation triggered by the control button is not effective.
进一步地,所述获取所述反馈指令对应的反馈等级信息的步骤包括:Further, the step of obtaining the feedback level information corresponding to the feedback instruction includes:
步骤S311,对所述反馈指令进行解析,获取所述反馈指令中的反馈类型信息;Step S311, analyzing the feedback instruction to obtain feedback type information in the feedback instruction;
步骤S312,根据所述反馈类型信息,从预设反馈等级表中确定反馈等级信息。Step S312: Determine feedback level information from a preset feedback level table according to the feedback type information.
进一步地,在接收到智能终端发送的反馈指令时,遥控器先对反馈指令进行解析,从反馈指令中提取出反馈类型信息,其中反馈类型信息中包含控制指令对应的调整信息、调整信息所属的操作类型、调整信息响应未生效的原因等,操作类型可以包括基础操作、系统设置操作、安全设置操作等。进一步地,在解析出反馈类型信息后,遥控器首先获取内部存储器中存储的预设反馈等级表,并以反馈类型信息为检索关键字,在预设反馈等级表中进行查找,查找出与反馈类型信息对应的反馈等级信息,其中预设反馈等级表中包含多个反馈类型信息,以及与每一反馈类型信息分别对应的反馈等级信息。Further, when receiving the feedback instruction sent by the smart terminal, the remote controller first analyzes the feedback instruction, and extracts the feedback type information from the feedback instruction, wherein the feedback type information includes the adjustment information corresponding to the control instruction, the adjustment information to which the adjustment information belongs. The type of operation, the reason why the response to the adjustment information does not take effect, etc. The type of operation may include basic operations, system setting operations, security setting operations, etc. Further, after analyzing the feedback type information, the remote controller first obtains the preset feedback level table stored in the internal memory, and uses the feedback type information as a search key to search in the preset feedback level table to find out the feedback level table. Feedback level information corresponding to the type information, wherein the preset feedback level table includes a plurality of feedback type information, and feedback level information corresponding to each feedback type information.
进一步地,所述根据所述反馈等级信息,确定震动策略的步骤包括:Further, the step of determining the vibration strategy according to the feedback level information includes:
步骤S321,获取预设震动等级表,从所述预设震动等级表中查找与所述反馈等级信息对应的震动等级;Step S321, obtaining a preset vibration level table, and searching the vibration level corresponding to the feedback level information from the preset vibration level table;
步骤S322,获取预设震动时长表,从所述预设震动时长表中查找与所述反馈等级信息对应的震动时长;Step S322, obtaining a preset vibration duration table, and searching the vibration duration corresponding to the feedback level information from the preset vibration duration table;
步骤S323,根据所述震动等级与所述震动时长,生成震动策略。Step S323, generating a vibration strategy according to the vibration level and the vibration duration.
进一步地,在获取反馈等级信息后,遥控器从内部存储器中获取预设震动等级表,并以反馈等级信息作为检索关键字,从预设震动等级表中进行查找,得到与反馈等级信息对应的震动等级,其中预设震动等级表中设置有多个反馈等级信息,并且包含有与每一反馈等级信息分别对应的震动等级;同时,遥控器从内部存储器中获取预设震动时长表,并以反馈等级信息作为检索关键字,从预设震动时长表中进行查找,得到与反馈等级信息对应的震动时长,其中预设震动时长表中设置有多个反馈等级信息,并且包含有与每一反馈等级信息分别对应的震动时长。进一步地,遥控器根据查找得到的震动等级与震动时长制定出震动策略,具体地,遥控器可以将震动等级与震动时长分别输入至用于预设程序模板中,得到震动策略程序,再对震动策略程序进行编译,生成震动策略。Further, after obtaining the feedback level information, the remote controller obtains the preset vibration level table from the internal memory, and uses the feedback level information as a search key to search the preset vibration level table to obtain the corresponding feedback level information. Vibration level, wherein the preset vibration level table is set with a plurality of feedback level information, and contains the vibration level corresponding to each feedback level information; at the same time, the remote controller obtains the preset vibration duration table from the internal memory, and uses Feedback level information is used as a retrieval keyword to search from the preset vibration duration table to obtain the vibration duration corresponding to the feedback level information. The preset vibration duration table is set with multiple feedback level information and contains information related to each feedback. Level information corresponding to the vibration duration. Furthermore, the remote controller formulates a vibration strategy based on the vibration level and vibration duration obtained from the search. Specifically, the remote controller can input the vibration level and vibration duration into the preset program template to obtain the vibration strategy program, and then adjust the vibration The strategy program is compiled to generate a vibration strategy.
本实施例中遥控器根据智能终端发送的反馈指令生成震动策略,并控制震动器按照震动策略进行震动反馈,通过不同震动策略进行不同的震动反馈,有利于用户快速、清楚地了解基于遥控器控制按键触发的控制指令的执行情况,提高用于的使用体验,并且使得用户通过遥控器与智能终端进行的交互具有多样性,有利于提高遥控器的可用性。In this embodiment, the remote controller generates a vibration strategy according to the feedback command sent by the smart terminal, and controls the vibrator to perform vibration feedback according to the vibration strategy. Different vibration feedbacks are performed through different vibration strategies, which is helpful for users to quickly and clearly understand the vibration strategy based on the remote control. The execution of the control command triggered by the button improves the user experience, and makes the interaction between the user and the smart terminal through the remote control more diverse, which is conducive to improving the usability of the remote control.
进一步地,参见图4,基于本发明基于遥控器的交互方法的第一实施例,提出本发明基于遥控器的交互方法的第三实施例,在第三实施例中,所述若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令的步骤之前,还包括:Further, referring to FIG. 4 , based on the first embodiment of the interaction method based on the remote control of the present invention, a third embodiment of the interaction method based on the remote control of the present invention is proposed. In the third embodiment, if the user is detected Before the step of triggering the control button and sending the control instruction to the smart terminal according to the control button, it also includes:
步骤a1,检测智能终端的开关状态;Step a1, detecting the switch state of the smart terminal;
步骤a2,若所述智能终端处于开启状态,则与所述智能终端进行通信连接。In step a2, if the smart terminal is in an on state, communicate with the smart terminal.
进一步地,在根据控制按键向智能终端发送控制指令的步骤之前,为了确保智能终端能够顺利及时地接收到控制指令,遥控器需要确定智能终端处于开启状态,具体地,由于智能终端与遥控器可以通过无线网络进行通信连接,因此遥控器可以检测是否存在智能终端对应的无线网络信号,若检测到存在智能终端对应的无线网络信号,则说明智能终端的开关状态为开启状态,例如本实施例中智能终端可以通过蓝牙与遥控器进行通信连接,则遥控器可以检测是否存在与智能终端对应的蓝牙信号,其中与智能终端对应的蓝牙信号可以是包含有智能终端名称的蓝牙信号,即当遥控器检测到存在包含智能终端名称的蓝牙信号时,判定智能终端处于开启状态。进一步地,若检测到智能终端处于开启状态,遥控器可以通过无线网络与智能终端进行通信连接,其中基于无线网络的通信连接可以为蓝牙连接、WIFI连接等,由于蓝牙连接的功耗低且成本低,因此本实施例中无线网络的通信连接可以优选为蓝牙连接。Further, before the step of sending control commands to the smart terminal according to the control buttons, in order to ensure that the smart terminal can receive the control commands smoothly and in a timely manner, the remote controller needs to determine that the smart terminal is in the on state. Specifically, since the smart terminal and the remote control can The communication connection is carried out through the wireless network, so the remote controller can detect whether there is a wireless network signal corresponding to the smart terminal. If the wireless network signal corresponding to the smart terminal is detected, it means that the switch state of the smart terminal is on. For example, in this embodiment The smart terminal can communicate with the remote control via Bluetooth, and the remote control can detect whether there is a Bluetooth signal corresponding to the smart terminal. The Bluetooth signal corresponding to the smart terminal can be a Bluetooth signal containing the name of the smart terminal, that is, when the remote control When a Bluetooth signal containing the name of the smart terminal is detected, it is determined that the smart terminal is in an on state. Further, if it is detected that the smart terminal is turned on, the remote controller can communicate with the smart terminal through a wireless network, wherein the communication connection based on the wireless network can be a Bluetooth connection, a WIFI connection, etc., because the Bluetooth connection has low power consumption and low cost. Therefore, the communication connection of the wireless network in this embodiment may preferably be a Bluetooth connection.
进一步地,所述与所述智能终端进行通信连接的步骤包括:Further, the step of communicating with the smart terminal includes:
步骤a21,获取所述智能终端的连接协议,根据所述连接协议向所述智能终端发送连接请求;Step a21, obtaining the connection protocol of the smart terminal, and sending a connection request to the smart terminal according to the connection protocol;
步骤a22,若接收到基于所述智能终端基于所述连接请求的确认信号,则与所述智能终端建立通信连接。Step a22, establishing a communication connection with the smart terminal if a confirmation signal based on the connection request based on the smart terminal is received.
进一步地,在确定智能终端处于开启状态后,遥控器首先获取智能终端用于进行对外连接的连接协议,具体地,可以通过检测的无线网络信号中的智能终端名称查找与智能终端对应的连接协议,并通过与智能终端对应的连接协议向智能终端发送连接请求,具体地,可以向连接协议中的地址发送连接请求,请求与智能终端连接。进一步地,在向智能终端发送连接请求后,遥控器实时检测是否接收到智能终端通过连接请求时发出的确认信号,若接收到确认信号,遥控器完成与智能终端建立通信连接的流程,以便于向智能终端发送基于控制按键触发的控制指令,并由智能终端执行控制指令对应的调整信息,以满足用户的调整需求。Further, after determining that the smart terminal is turned on, the remote controller first obtains the connection protocol used by the smart terminal for external connection, specifically, the connection protocol corresponding to the smart terminal can be found through the name of the smart terminal in the detected wireless network signal , and send a connection request to the smart terminal through a connection protocol corresponding to the smart terminal. Specifically, a connection request may be sent to an address in the connection protocol to request a connection with the smart terminal. Further, after sending the connection request to the smart terminal, the remote controller detects in real time whether the confirmation signal sent by the smart terminal through the connection request is received, and if the confirmation signal is received, the remote controller completes the process of establishing a communication connection with the smart terminal, so that Send the control command based on the trigger of the control button to the smart terminal, and the smart terminal executes the adjustment information corresponding to the control command to meet the adjustment needs of the user.
本实施例在根据所述控制按键向智能终端发送控制指令的步骤之前,先检测智能终端的开关状态,并在智能终端处于开启状态时基于智能终端的连接协议,与智能终端建立通信连接,以在用户通过控制按键触发控制指令时能够及时向智能终端发送控制指令,便于满足用户对智能终端的内容的调整需求,提高用户的使用体验。In this embodiment, before the step of sending a control command to the smart terminal according to the control button, first detect the switch state of the smart terminal, and establish a communication connection with the smart terminal based on the connection protocol of the smart terminal when the smart terminal is in the on state, so as to When the user triggers the control command through the control button, the control command can be sent to the smart terminal in time, so as to meet the user's requirement for adjusting the content of the smart terminal and improve the user experience.
进一步地,本发明还提供一种基于遥控器的交互装置。Further, the present invention also provides a remote control-based interaction device.
参照图5,图5为本发明基于遥控器的交互装置第一实施例的功能模块示意图。Referring to FIG. 5 , FIG. 5 is a schematic diagram of functional modules of a first embodiment of an interaction device based on a remote control according to the present invention.
所述基于遥控器的交互装置包括:The interactive device based on the remote control includes:
发送模块10,用于若检测到用户触发控制按键,根据所述控制按键向智能终端发送控制指令;The sending
检测模块20,用于检测是否存在所述智能终端基于所述控制指令发送的反馈指令;A
反馈模块30,用于若存在所述反馈指令,则基于所述反馈指令进行震动反馈,以供所述用户根据所述震动反馈调整所述控制按键。The
进一步地,所述发送模块10包括:Further, the sending
第一获取单元,用于若检测到用户通过点击和/或触摸的方式触发控制按键,则获取所述控制按键的控制信息;The first acquiring unit is configured to acquire the control information of the control button if it is detected that the user triggers the control button by clicking and/or touching;
第一生成单元,用于获取所述控制信息对应的控制编码,并根据所述控制编码生成控制指令;a first generating unit, configured to acquire a control code corresponding to the control information, and generate a control instruction according to the control code;
第一发送单元,用于将所述控制指令通过预设无线网络发送至智能终端。The first sending unit is configured to send the control instruction to the smart terminal through a preset wireless network.
进一步地,所述发送模块10还包括:Further, the sending
检测单元,用于检测智能终端的开关状态;The detection unit is used to detect the switch state of the smart terminal;
第一连接单元,用于若所述智能终端处于开启状态,则与所述智能终端进行通信连接。The first connection unit is configured to communicate with the smart terminal if the smart terminal is turned on.
进一步地,所述发送模块10还包括:Further, the sending
第二发送单元,用于获取所述智能终端的连接协议,根据所述连接协议向所述智能终端发送连接请求;a second sending unit, configured to acquire a connection protocol of the smart terminal, and send a connection request to the smart terminal according to the connection protocol;
第二连接单元,用于若接收到基于所述智能终端基于所述连接请求的确认信号,则与所述智能终端建立通信连接。The second connection unit is configured to establish a communication connection with the smart terminal if a confirmation signal based on the connection request based on the smart terminal is received.
进一步地,所述反馈模块30包括:Further, the
第二获取单元,用于获取所述反馈指令对应的反馈等级信息;a second acquiring unit, configured to acquire feedback level information corresponding to the feedback instruction;
第一确定单元,用于根据所述反馈等级信息,确定震动策略;a first determining unit, configured to determine a vibration strategy according to the feedback level information;
控制单元,用于调用震动器,控制所述震动器根据所述震动策略进行震动反馈。The control unit is used to invoke the vibrator, and control the vibrator to perform vibration feedback according to the vibration strategy.
进一步地,所述反馈模块30还包括:Further, the
第一查找单元,用于获取预设震动等级表,从所述预设震动等级表中查找与所述反馈等级信息对应的震动等级;A first search unit, configured to obtain a preset vibration level table, and search for a vibration level corresponding to the feedback level information from the preset vibration level table;
第二查找单元,用于获取预设震动时长表,从所述预设震动时长表中查找与所述反馈等级信息对应的震动时长;A second search unit, configured to obtain a preset vibration duration table, and search for a vibration duration corresponding to the feedback level information from the preset vibration duration table;
第二生成单元,用于根据所述震动等级与所述震动时长,生成震动策略。The second generation unit is configured to generate a vibration strategy according to the vibration level and the vibration duration.
进一步地,所述反馈模块30还包括:Further, the
解析单元,用于对所述反馈指令进行解析,获取所述反馈指令中的反馈类型信息;An analysis unit, configured to analyze the feedback instruction, and obtain feedback type information in the feedback instruction;
第二确定单元,用于根据所述反馈类型度信息,从预设反馈等级表中确定反馈等级信息。The second determining unit is configured to determine feedback level information from a preset feedback level table according to the feedback type degree information.
此外,本发明还提供一种存储介质,所述存储介质优选为计算机可读存储介质,其上存储有基于遥控器的交互程序,所述基于遥控器的交互程序被处理器执行时实现上述基于遥控器的交互方法各实施例的步骤。In addition, the present invention also provides a storage medium, the storage medium is preferably a computer-readable storage medium, and an interactive program based on a remote control is stored thereon. When the interactive program based on a remote control is executed by a processor, the above-mentioned The steps of the embodiments of the interaction method of the remote controller.
在本发明基于遥控器的交互装置和计算机可读介质的实施例中,包含了上述基于遥控器的交互方法各实施例的全部技术特征,说明和解释内容与上述基于遥控器的交互方法各实施例基本相同,在此不做赘述。In the embodiments of the remote control-based interaction device and computer-readable medium of the present invention, all the technical features of the above-mentioned remote control-based interaction method embodiments are included, and the description and explanation content is the same as that of the above-mentioned remote control-based interaction methods. The examples are basically the same and will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是固定终端,如物联网智能设备,包括智能空调、智能电灯、智能电源、智能路由器等智能家居;也可以是移动终端,包括智能手机、可穿戴的联网AR/VR装置、智能音箱、自动驾驶汽车等诸多联网设备)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD-ROM), including a number of instructions to make a terminal device (which can be a fixed terminal, such as an IoT smart device, including smart air conditioners, smart lights, smart power supplies, smart routers, etc. Many networked devices such as mobile phones, wearable networked AR/VR devices, smart speakers, and self-driving cars) execute the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011178186.1A CN112333506B (en) | 2020-10-28 | 2020-10-28 | Remote control-based interaction method, device, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011178186.1A CN112333506B (en) | 2020-10-28 | 2020-10-28 | Remote control-based interaction method, device, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112333506A CN112333506A (en) | 2021-02-05 |
CN112333506B true CN112333506B (en) | 2022-11-01 |
Family
ID=74297829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011178186.1A Active CN112333506B (en) | 2020-10-28 | 2020-10-28 | Remote control-based interaction method, device, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112333506B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114327052A (en) * | 2021-12-20 | 2022-04-12 | 珠海格力电器股份有限公司 | Interaction method and system for controlling environmental electric appliance by sensing body temperature |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102208130A (en) * | 2011-06-03 | 2011-10-05 | 北京易路联动技术有限公司 | Method for remotely controlling household appliances through remote controller and remote controller |
CN104713188B (en) * | 2013-12-12 | 2017-07-07 | 广东美的制冷设备有限公司 | The control method and system of air-conditioner |
CN110555981B (en) * | 2019-09-27 | 2022-04-12 | 广东美的制冷设备有限公司 | Response method and device, search method and device, remote controller, terminal and medium |
-
2020
- 2020-10-28 CN CN202011178186.1A patent/CN112333506B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112333506A (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101691446B1 (en) | Method, apparatus, and system for intelligently controlling device, and plug-and-play device | |
WO2019091171A1 (en) | Voice control method, device, system, and electronic apparatus for smart home appliance | |
CN109618202B (en) | Method for controlling peripheral device, television and readable storage medium | |
KR101706479B1 (en) | Method and terminal for controlling internet of things and controlled electronic device | |
CN108958074B (en) | A kind of smart machine control method and mobile terminal | |
CN105549408A (en) | Wearable device and control method thereof, intelligent household server and control method thereof, and system | |
US10606367B2 (en) | Command relay device, system and method for providing remote assistance/remote control | |
CN107332976B (en) | Karaoke method, device, equipment and system | |
CN104469482A (en) | Control method and device for connecting an intelligent terminal to a bluetooth device | |
CN108027725B (en) | Method, apparatus and apparatus for instructing operation of terminal equipment | |
CN112767936B (en) | Voice dialogue method and device, storage medium and electronic equipment | |
US9836958B2 (en) | Device control method, server, system and computer storage medium | |
CN108694827B (en) | Household appliance voice control method and device and central control equipment | |
CN105700869B (en) | Control method, information processing method, related device and electronic equipment | |
EP4206832A1 (en) | Control method and apparatus for internet of things device, and device and storage medium | |
WO2019184533A1 (en) | Method and apparatus for remotely configuring control panel of intelligent device | |
CN108762512A (en) | Human-computer interaction device, method and system | |
CN112313606A (en) | Extending a physical motion gesture dictionary for an automated assistant | |
CN106101836A (en) | The player method of intelligent television and device | |
CN112596403A (en) | Intelligent device control method, device, equipment and storage medium | |
CN108600057A (en) | A kind of method and system perceiving control household electrical appliance based on WiFi | |
CN112333506B (en) | Remote control-based interaction method, device, device and storage medium | |
CN109688393B (en) | Screen projection control method and first electronic device | |
WO2020135080A1 (en) | Television device display control method and system, terminal, and storage medium | |
CN104320689A (en) | Remote control unit and terminal control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |