[go: up one dir, main page]

CN105068741B - A kind of control method, device and smartwatch - Google Patents

A kind of control method, device and smartwatch Download PDF

Info

Publication number
CN105068741B
CN105068741B CN201510531936.1A CN201510531936A CN105068741B CN 105068741 B CN105068741 B CN 105068741B CN 201510531936 A CN201510531936 A CN 201510531936A CN 105068741 B CN105068741 B CN 105068741B
Authority
CN
China
Prior art keywords
information
control
movement
change
coordinate information
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.)
Expired - Fee Related
Application number
CN201510531936.1A
Other languages
Chinese (zh)
Other versions
CN105068741A (en
Inventor
郭凌
李成钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510531936.1A priority Critical patent/CN105068741B/en
Publication of CN105068741A publication Critical patent/CN105068741A/en
Application granted granted Critical
Publication of CN105068741B publication Critical patent/CN105068741B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

本发明实施例公开了一种控制方法、装置以及智能手表,其中的控制方法包括获取所述智能手表相对于受控设备的坐标信息;根据所述坐标信息的变化生成移动信息;在预设的对应关系表中,查找与所述移动信息对应的控制指令;将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作。本发明采用智能手表控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。

The embodiment of the present invention discloses a control method, device and smart watch, wherein the control method includes acquiring the coordinate information of the smart watch relative to the controlled device; generating movement information according to the change of the coordinate information; Searching for a control instruction corresponding to the movement information in the correspondence table; sending the control instruction to the controlled device, so as to control the controlled device to perform a corresponding operation. The invention adopts the smart watch to control the controlled equipment, the operation method is simple, the control is convenient, and the control equipment such as a remote control is not required, which reduces the cost, and at the same time enables the user to get rid of the dependence on the control equipment, and expands the use range of the smart watch.

Description

一种控制方法、装置以及智能手表A control method, device and smart watch

技术领域technical field

本发明涉及电子技术领域,尤其涉及一种控制方法、装置以及智能手表。The present invention relates to the field of electronic technology, in particular to a control method, device and smart watch.

背景技术Background technique

现阶段,智能手表等便携式智能设备的使用已经日益广泛,智能手表由于方便携带,给人们的生活带来了极大的便利。现有的电子设备、家用电器等越来越多,在与电子设备、家用电器进行交互时,很多时候都需要用到遥控器等控制设备。一方面,额外的控制设备会增加成本;另一方面,这也使得人们在进行交互时对控制设备的依赖度很高,用户体验较差。因此,如何通过已有的智能手表来便捷的操作其他电子设备或者家用电器,是现阶段需要解决的问题。At this stage, the use of portable smart devices such as smart watches has become increasingly widespread. Smart watches have brought great convenience to people's lives due to their portability. There are more and more existing electronic devices and household appliances, and when interacting with electronic devices and household appliances, control devices such as remote controls are often required. On the one hand, additional control devices will increase the cost; on the other hand, this also makes people highly dependent on the control devices when interacting, and the user experience is poor. Therefore, how to conveniently operate other electronic devices or household appliances through the existing smart watch is a problem that needs to be solved at this stage.

发明内容Contents of the invention

本发明实施例提供一种控制方法、装置以及智能手表,能够便于通过智能手表控制其他设备。Embodiments of the present invention provide a control method, device, and smart watch, which can facilitate the control of other devices through the smart watch.

本发明第一方面提供了一种控制方法,该方法应用于智能手表上,所述智能手表与受控设备通信连接,该方法包括:The first aspect of the present invention provides a control method, the method is applied to a smart watch, and the smart watch is connected to a controlled device through communication, and the method includes:

获取所述智能手表相对于所述受控设备的坐标信息;Acquiring coordinate information of the smart watch relative to the controlled device;

根据所述坐标信息的变化生成移动信息;generating movement information according to changes in the coordinate information;

在预设的对应关系表中,查找与所述移动信息对应的控制指令;Searching for a control instruction corresponding to the movement information in a preset correspondence table;

将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作。Send the control instruction to the controlled device, so as to control the controlled device to perform corresponding operations.

优选地,所述获取所述智能手表相对于所述受控设备的坐标信息,包括:开启所述智能手表的传感器;测量所述智能手表相对于所述受控设备的距离信息以及角度信息;根据所述距离信息以及角度信息计算坐标信息,其中,所述坐标信息包括所述智能手表在以所述受控设备为中心的坐标系中的相对位置信息。Preferably, the acquiring the coordinate information of the smart watch relative to the controlled device includes: turning on the sensor of the smart watch; measuring the distance information and angle information of the smart watch relative to the controlled device; Coordinate information is calculated according to the distance information and angle information, wherein the coordinate information includes relative position information of the smart watch in a coordinate system centered on the controlled device.

优选地,所述根据所述坐标信息的变化生成移动信息,包括:采用预设的频率侦测所述坐标信息;判断所述坐标信息的变化信息是否超过预设阈值,其中所述变化信息包括变化幅度以及变化速度;若是,则根据所述变化信息生成移动信息,其中所述移动信息包括:单一方向移动、多方向移动以及旋转移动。Preferably, the generating movement information according to the change of the coordinate information includes: detecting the coordinate information with a preset frequency; judging whether the change information of the coordinate information exceeds a preset threshold, wherein the change information includes Change magnitude and change speed; if yes, generate movement information according to the change information, wherein the movement information includes: movement in a single direction, movement in multiple directions, and movement in rotation.

优选地,所述在预设的对应关系表中,查找与所述移动信息对应的控制指令之前,还包括:预先建立移动信息与控制指令的对应关系表,其中,所述移动信息包括:单一方向移动、多方向移动以及旋转移动,所述控制指令包括控制对象以及控制信息,所述控制对象包括:光标、设备参数以及应用程序,所述控制信息包括:移动、改变以及打开或关闭。Preferably, before searching the control instruction corresponding to the movement information in the preset correspondence table, it further includes: establishing a correspondence relation table between movement information and control instructions in advance, wherein the movement information includes: a single For directional movement, multi-directional movement and rotational movement, the control instruction includes a control object and control information, the control object includes: cursor, device parameters, and application programs, and the control information includes: move, change, and open or close.

优选地,所述将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作,包括:将所述控制对象以及控制信息发送至所述受控设备;以使得所述受控设备根据所述控制信息控制所述控制对象执行相应的操作。Preferably, the sending the control instruction to the controlled device to control the controlled device to perform corresponding operations includes: sending the controlled object and control information to the controlled device; so that the controlled device The controlled device controls the controlled object to perform a corresponding operation according to the control information.

本发明第二方面提供了一种控制装置,应用于智能手表上,所述智能手表与受控设备通信连接,该控制装置包括:The second aspect of the present invention provides a control device, which is applied to a smart watch, and the smart watch communicates with a controlled device, and the control device includes:

获取模块,用于获取所述智能手表相对于所述受控设备的坐标信息;An acquisition module, configured to acquire coordinate information of the smart watch relative to the controlled device;

生成模块,用于根据所述坐标信息的变化生成移动信息;A generating module, configured to generate movement information according to changes in the coordinate information;

查找模块,用于在预设的对应关系表中,查找与所述移动信息对应的控制指令;A search module, configured to search for a control instruction corresponding to the movement information in a preset correspondence table;

发送模块,用于将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作。A sending module, configured to send the control instruction to the controlled device, so as to control the controlled device to perform corresponding operations.

优选地,所述获取模块包括:开启单元,用于开启所述智能手表的传感器;测量单元,用于测量所述智能手表相对于所述受控设备的距离信息以及角度信息;计算单元,用于根据所述距离信息以及角度信息计算坐标信息,其中,所述坐标信息包括所述智能手表在以所述受控设备为中心的坐标系中的相对位置信息。Preferably, the acquiring module includes: an opening unit for opening the sensor of the smart watch; a measuring unit for measuring distance information and angle information of the smart watch relative to the controlled device; a calculation unit for and calculating coordinate information according to the distance information and angle information, wherein the coordinate information includes relative position information of the smart watch in a coordinate system centered on the controlled device.

优选地,所述生成模块包括:侦测单元,用于采用预设的频率侦测所述坐标信息;判断单元,用于判断所述坐标信息的变化信息是否超过预设阈值,其中所述变化信息包括变化幅度以及变化速度;生成单元,用于在所述坐标信息的变化信息超过预设阈值时,根据所述变化信息生成移动信息,其中所述移动信息包括:单一方向移动、多方向移动以及旋转移动。Preferably, the generation module includes: a detection unit, configured to detect the coordinate information at a preset frequency; a judging unit, configured to judge whether the change information of the coordinate information exceeds a preset threshold, wherein the change The information includes a range of change and a speed of change; a generating unit configured to generate movement information according to the change information when the change information of the coordinate information exceeds a preset threshold, wherein the movement information includes: single-directional movement, multi-directional movement and rotational movement.

优选地,该控制装置还包括:建立模块,用于预先建立移动信息与控制指令的对应关系表,其中,所述移动信息包括:单一方向移动、多方向移动以及旋转移动,所述控制指令包括控制对象以及控制信息,所述控制对象包括:光标、设备参数以及应用程序,所述控制信息包括:移动、改变以及打开或关闭。Preferably, the control device further includes: an establishment module, configured to pre-establish a correspondence table between movement information and control instructions, wherein the movement information includes: movement in a single direction, movement in multiple directions, and movement in rotation, and the control instructions include Control objects and control information, where the control objects include: cursors, device parameters, and application programs, and where the control information includes: moving, changing, and opening or closing.

优选地,所述发送模块包括:发送单元,用于将所述控制对象以及控制信息发送至所述受控设备;以使得所述受控设备根据所述控制信息控制所述控制对象执行相应的操作。Preferably, the sending module includes: a sending unit, configured to send the control object and control information to the controlled device; so that the controlled device controls the control object to execute a corresponding operate.

本发明第三方面提供了一种智能手表,包括如上述所述的控制装置。The third aspect of the present invention provides a smart watch, including the above-mentioned control device.

本发明第四方面提供了一种智能手表,包括本体以及位于本体侧面与本体连接的表冠;其中,所述本体还包括屏幕、处理器以及存储器,所述处理器与所述存储器相连;所述处理器用于侦测所述智能手表相对于所述受控设备的坐标信息;根据所述坐标信息的变化生成移动信息;在预设的对应关系表中,查找与所述移动信息对应的控制指令;将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作;所述存储器用于存储所述预设的对应关系表。The fourth aspect of the present invention provides a smart watch, including a body and a crown connected to the body on the side of the body; wherein, the body also includes a screen, a processor, and a memory, and the processor is connected to the memory; The processor is used to detect the coordinate information of the smart watch relative to the controlled device; generate movement information according to the change of the coordinate information; search for the control corresponding to the movement information in the preset correspondence table instructions; sending the control instructions to the controlled device to control the controlled device to perform corresponding operations; the memory is used to store the preset correspondence table.

优选地,所述表冠上设置有传感器,用于测量所述坐标信息。Preferably, the crown is provided with a sensor for measuring the coordinate information.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

本发明实施例中,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备。本发明采用智能手表控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。In the embodiment of the present invention, by acquiring the coordinate information of the smart watch relative to the controlled device, corresponding control instructions are generated according to changes in the coordinate information, and the controlled device is controlled through the control instructions. The invention adopts the smart watch to control the controlled equipment, the operation mode is simple, the control is convenient, and the control equipment such as remote control is not required, which reduces the cost, and at the same time enables the user to get rid of the dependence on the control equipment, and expands the use range of the smart watch.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施方式提供的一种控制方法的实施环境图。Fig. 1 is an implementation environment diagram of a control method provided in an embodiment of the present invention.

图2为本发明实施例方法提供的一种控制方法第一实施例的流程图。Fig. 2 is a flowchart of a first embodiment of a control method provided by the method of the embodiment of the present invention.

图3为本发明实施例方法提供的一种控制方法第二实施例的流程图。Fig. 3 is a flowchart of a second embodiment of a control method provided by the method of the embodiment of the present invention.

图4为本发明实施例方法提供的一种控制方法第三实施例的流程图。Fig. 4 is a flowchart of a third embodiment of a control method provided by the method of the embodiment of the present invention.

图5为本发明实施方式提供的一种控制装置第一实施例的结构示意图。Fig. 5 is a schematic structural diagram of a first embodiment of a control device provided by an embodiment of the present invention.

图6为本发明实施方式提供的一种控制装置第二实施例的结构示意图。Fig. 6 is a schematic structural diagram of a second embodiment of a control device provided in an embodiment of the present invention.

图7为本发明实施方式提供的一种控制装置第三实施例的结构示意图。Fig. 7 is a schematic structural diagram of a third embodiment of a control device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1为本发明实施方式提供的一种控制方法的实施环境图。如图所示,在本实施方式中,控制方法应用于智能手表10上,智能手表10与受控设备40通信连接,连接方式可以为无线方式或者是有线方式,其中无线方式包括蓝牙、wifi等。智能手表10包括智能手表本体20以及表冠30,其中,本体20上可包括有屏幕,特别的,该屏幕可以为触摸屏;表冠30可以是旋钮式、滚轮式或者轨迹球式,也可以是其他方式,本实施例并不以此为限。受控设备40可以为电脑、电视机等电子设备,也可以为空调、冰箱等家用电器。智能手表10通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备。智能手表10上设置有传感器,传感器用于侦测所述智能手表相对于受控设备的坐标信息,该传感器可以位于智能手表的本体20上,或者表带上。特别的,为了避免遮盖,该传感器还可以位于智能手表的表冠30上。本领域技术人员可以理解的是,受控设备40可以为多个,本实施例并不以此为限。Fig. 1 is an implementation environment diagram of a control method provided in an embodiment of the present invention. As shown in the figure, in this embodiment, the control method is applied to the smart watch 10, and the smart watch 10 communicates with the controlled device 40. The connection method can be wireless or wired, and the wireless method includes bluetooth, wifi, etc. . The smart watch 10 includes a smart watch body 20 and a crown 30, wherein the body 20 can include a screen, especially, the screen can be a touch screen; the crown 30 can be a knob type, a roller type or a trackball type, or can be In other manners, this embodiment is not limited thereto. The controlled device 40 may be an electronic device such as a computer or a television, or may be a household appliance such as an air conditioner or a refrigerator. The smart watch 10 acquires coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to changes in the coordinate information, and controls the controlled device through the control instructions. The smart watch 10 is provided with a sensor for detecting the coordinate information of the smart watch relative to the controlled device. The sensor can be located on the body 20 of the smart watch or on the strap. In particular, in order to avoid covering, the sensor can also be located on the crown 30 of the smart watch. Those skilled in the art can understand that there may be multiple controlled devices 40, which is not limited in this embodiment.

图2为本发明实施例方法提供的一种控制方法第一实施例的流程图。在本实施方式中,该控制方法应用于智能手表上,所述智能手表与受控设备通信连接。该控制方法包括步骤S201-S204。Fig. 2 is a flowchart of a first embodiment of a control method provided by the method of the embodiment of the present invention. In this embodiment, the control method is applied to a smart watch, and the smart watch communicates with the controlled device. The control method includes steps S201-S204.

在步骤S201中,获取所述智能手表相对于所述受控设备的坐标信息。In step S201, coordinate information of the smart watch relative to the controlled device is acquired.

具体的,侦测智能手表相对于受控设备的坐标信息,其中所述坐标信息包括智能手表在以所述受控设备为中心的坐标系中的相对位置信息,可以采用传感器侦测所述坐标信息。Specifically, detect the coordinate information of the smart watch relative to the controlled device, wherein the coordinate information includes the relative position information of the smart watch in the coordinate system centered on the controlled device, and a sensor can be used to detect the coordinates information.

在步骤S202中,根据所述坐标信息的变化生成移动信息。In step S202, movement information is generated according to the change of the coordinate information.

具体的,在获取坐标信息之后,进一步的判断坐标信息是否发生变化。当坐标信息发生变化时,判断变化是否超过阈值,当超过阈值时,根据所述变化生成移动信息。坐标信息的变化表明智能手表的移动,当移动达到一定的条件时,该移动产生的坐标信息的变化才会超过阈值,所述阈值包括幅度以及速度,即只有以一定的速度移动一定的位移,才能根据该移动产生的变化生成移动信息。其中,移动信息包括了此次移动的方向以及类型,特别的,移动信息可以为单一方向移动、多方向移动以及旋转移动。Specifically, after the coordinate information is acquired, it is further judged whether the coordinate information changes. When the coordinate information changes, it is judged whether the change exceeds a threshold, and when the change exceeds the threshold, movement information is generated according to the change. The change of the coordinate information indicates the movement of the smart watch. When the movement reaches a certain condition, the change of the coordinate information generated by the movement will exceed the threshold value. The threshold value includes the amplitude and speed, that is, only a certain displacement at a certain speed, The movement information can be generated according to the changes produced by the movement. Wherein, the movement information includes the direction and type of the movement. In particular, the movement information may be movement in a single direction, movement in multiple directions, and movement in rotation.

在步骤S203中,在预设的对应关系表中,查找与所述移动信息对应的控制指令。In step S203, a control instruction corresponding to the movement information is searched in a preset correspondence table.

具体的,在获取移动信息了之后,根据移动信息的具体类型从预设的对应关系表中查找对应的控制指令。对应关系表可以预先设置,根据不同的移动信息,设置不同的控制指令。其中,控制指令包括了控制对象以及具体的控制信息,控制指令根据受控设备的不同,可以有不同的方式。比如,若受控设备为空调,那么控制指令可以是开启、关闭空调或者增大、降低温度;若受控设备为电视,那么控制指令可以是增大、降低音量或者往上或往下选择节目。Specifically, after the movement information is acquired, the corresponding control instruction is searched from a preset correspondence table according to the specific type of the movement information. The correspondence table can be preset, and different control instructions can be set according to different movement information. Wherein, the control instruction includes a control object and specific control information, and the control instruction may have different forms according to different controlled devices. For example, if the controlled device is an air conditioner, the control command can be to turn on or off the air conditioner or increase or decrease the temperature; if the controlled device is a TV, then the control command can be to increase or decrease the volume or to select programs up or down .

在步骤S204中,将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作。In step S204, the control instruction is sent to the controlled device, so as to control the controlled device to perform a corresponding operation.

具体的,将控制指令发送给受控设备,以使所述受控设备根据所述控制指令执行相应的操作。Specifically, the control instruction is sent to the controlled device, so that the controlled device performs a corresponding operation according to the control instruction.

上述可知,本发明实施例中的控制方法,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。As can be seen from the above, the control method in the embodiment of the present invention obtains the coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to the change of the coordinate information, and controls the controlled device through the control instructions. The operation mode is simple and the control is convenient. , there is no need to use control devices such as remote controllers, which reduces the cost, and at the same time enables users to get rid of the dependence on control devices, and expands the scope of use of smart watches.

图3为本发明实施例方法提供的一种控制方法第二实施例的流程图。在本实施方式中,该控制方法应用于智能手表上,所述智能手表与受控设备通信连接。该控制方法包括步骤S301-S305。其中,S302-S305与第一实施例中S201-S204的步骤相同,在此不赘述。Fig. 3 is a flowchart of a second embodiment of a control method provided by the method of the embodiment of the present invention. In this embodiment, the control method is applied to a smart watch, and the smart watch communicates with the controlled device. The control method includes steps S301-S305. Wherein, steps S302-S305 are the same as steps S201-S204 in the first embodiment, and will not be repeated here.

在步骤S301中,预先建立移动信息与控制指令的对应关系表。In step S301, a correspondence table between movement information and control instructions is established in advance.

具体的,首先建立移动信息与控制指令的对应关系表。其中,所述移动信息包括:单一方向移动、多方向移动以及旋转移动。单一方向移动是指向某一单一方向的移动;多方向移动是指移动过程中包括至少2个方向;旋转移动是指顺时针移动或者逆时针移动。所述控制指令包括控制对象以及控制信息,所述控制对象包括:光标、设备参数以及应用程序,所述控制信息包括:移动、改变以及打开或关闭。其中,控制对象可以是受控设备屏幕上的选择框或者光标,也可以是温度、音量、频道等参数,还可以是各种应用程序。控制信息可以是控制光标或选择框移动;也可以是改变参数,如改变温度、调节音量或频道等;还可以是开启或关闭应用程序。根据受控设备的不同,控制指令的控制对象以及控制信息也会有所不同,用户可以实现自行定义,本发明实施例并不以此为限。Specifically, a correspondence table between movement information and control instructions is established first. Wherein, the movement information includes: movement in a single direction, movement in multiple directions, and movement in rotation. Movement in a single direction refers to movement in a single direction; movement in multiple directions refers to movement in at least two directions; movement in rotation refers to movement in a clockwise or counterclockwise direction. The control instruction includes a control object and control information, the control object includes: a cursor, device parameters, and an application program, and the control information includes: moving, changing, and opening or closing. Wherein, the control object may be a selection box or a cursor on the screen of the controlled device, or parameters such as temperature, volume, and channel, or various application programs. The control information can be to control the movement of the cursor or the selection box; it can also be to change parameters, such as changing the temperature, adjusting the volume or channel, etc.; it can also be to open or close the application program. Depending on the controlled device, the control object and control information of the control instruction will also be different, and the user can define it by himself, and the embodiments of the present invention are not limited thereto.

在步骤S302中,获取所述智能手表相对于所述受控设备的坐标信息。In step S302, coordinate information of the smart watch relative to the controlled device is acquired.

在步骤S303中,根据所述坐标信息的变化生成移动信息。In step S303, movement information is generated according to the change of the coordinate information.

在步骤S304中,在预设的对应关系表中,查找与所述移动信息对应的控制指令。In step S304, a control instruction corresponding to the movement information is searched in a preset correspondence table.

在步骤S305中,将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作。In step S305, the control instruction is sent to the controlled device, so as to control the controlled device to perform a corresponding operation.

上述可知,本发明实施例中的控制方法,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。As can be seen from the above, the control method in the embodiment of the present invention obtains the coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to the change of the coordinate information, and controls the controlled device through the control instructions. The operation mode is simple and the control is convenient. , there is no need to use control devices such as remote controllers, which reduces the cost, and at the same time enables users to get rid of the dependence on control devices, and expands the scope of use of smart watches.

图4为本发明实施例方法提供的一种控制方法第三实施例的流程图。在本实施方式中,该控制方法应用于智能手表上,所述智能手表与受控设备通信连接。该控制方法包括步骤S401-S409。Fig. 4 is a flowchart of a third embodiment of a control method provided by the method of the embodiment of the present invention. In this embodiment, the control method is applied to a smart watch, and the smart watch communicates with the controlled device. The control method includes steps S401-S409.

在步骤S401中,预先建立移动信息与控制指令的对应关系表。In step S401, a correspondence table between movement information and control instructions is established in advance.

在步骤S402中,开启所述智能手表的传感器。In step S402, the sensor of the smart watch is turned on.

具体的,所述传感器用于侦测所述智能手表相对于受控设备的坐标信息,该传感器可以位于智能手表的本体上,或者表带上。特别的,为了避免遮盖,该传感器还可以位于智能手表的表冠上。其中,所述传感器包括距离传感器以及角度传感器。Specifically, the sensor is used to detect the coordinate information of the smart watch relative to the controlled device, and the sensor can be located on the body of the smart watch or on the strap. In particular, in order to avoid covering, the sensor can also be located on the crown of the smart watch. Wherein, the sensor includes a distance sensor and an angle sensor.

在步骤S403中,测量所述智能手表相对于所述受控设备的距离信息以及角度信息。In step S403, measure distance information and angle information of the smart watch relative to the controlled device.

具体的,通过所述传感器测量所述智能手表相对于受控设备的距离信息以及角度信息,其中所述距离信息是指智能手表与受控设备的距离,所述角度信息是指在以受控设备为中心的坐标系中,智能手表相对于坐标系的偏离信息。Specifically, the distance information and angle information of the smart watch relative to the controlled device are measured by the sensor, wherein the distance information refers to the distance between the smart watch and the controlled device, and the angle information refers to the distance between the smart watch and the controlled device. In the device-centered coordinate system, the deviation information of the smart watch relative to the coordinate system.

在步骤S404中,根据所述距离信息以及角度信息计算坐标信息。In step S404, coordinate information is calculated according to the distance information and angle information.

具体的,根据距离信息以及角度信息计算坐标信息,其中,所述坐标信息包括所述智能手表在以所述受控设备为中心的坐标系中的相对位置信息。所述坐标系可以是三维坐标系,所述坐标信息可以是三维坐标信息。Specifically, coordinate information is calculated according to distance information and angle information, wherein the coordinate information includes relative position information of the smart watch in a coordinate system centered on the controlled device. The coordinate system may be a three-dimensional coordinate system, and the coordinate information may be three-dimensional coordinate information.

在步骤S405中,采用预设的频率侦测所述坐标信息。In step S405, the coordinate information is detected with a preset frequency.

具体的,智能手表采用预设的频率侦测坐标信息,比如,可以是每隔0.5s侦测一次。Specifically, the smart watch uses a preset frequency to detect coordinate information, for example, it may detect once every 0.5s.

在步骤S406中,判断所述坐标信息的变化信息是否超过预设阈值。In step S406, it is determined whether the change information of the coordinate information exceeds a preset threshold.

具体的,所述变化信息包括变化幅度以及变化速度,判断所述坐标信息的变化是否超过预设阈值,即判断所述变化幅度以及变化速度是否超过预设阈值。坐标信息的变化表明智能手表的移动,当移动达到一定的条件时,该移动产生的坐标信息的变化信息才会超过预设阈值,所述预设阈值包括幅度以及速度,即只有以一定的速度移动一定的位移,该变化信息才超过预设阈值。若超过,则进入步骤S407中;若未超过,则进入步骤S403中,继续测量所述坐标信息。Specifically, the change information includes a change range and a change speed, and it is judged whether the change of the coordinate information exceeds a preset threshold, that is, it is judged whether the change range and the change speed exceed a preset threshold. The change of the coordinate information indicates the movement of the smart watch. When the movement reaches a certain condition, the change information of the coordinate information generated by the movement will exceed the preset threshold. The preset threshold includes the amplitude and speed, that is, only at a certain speed Only when a certain displacement is moved, the change information exceeds the preset threshold. If it exceeds, go to step S407; if not, go to step S403 and continue measuring the coordinate information.

在步骤S407中,若是,则根据所述变化信息生成移动信息。In step S407, if yes, generate movement information according to the change information.

具体的,根据变化信息生成移动信息,其中变化信息中包含了坐标信息的改变信息,根据坐标的具体改变,可以生成移动信息。其中所述移动信息包括:单一方向移动、多方向移动以及旋转移动。单一方向移动是指向某一单一方向的移动;多方向移动是指移动过程中包括至少2个方向;旋转移动是指顺时针移动或者逆时针移动。Specifically, the movement information is generated according to the change information, wherein the change information includes the change information of the coordinate information, and the movement information can be generated according to the specific change of the coordinates. The movement information includes: movement in a single direction, movement in multiple directions, and movement in rotation. Movement in a single direction refers to movement in a single direction; movement in multiple directions refers to movement in at least two directions; movement in rotation refers to movement in a clockwise or counterclockwise direction.

在步骤S408中,在预设的对应关系表中,查找与所述移动信息对应的控制指令。In step S408, a control instruction corresponding to the movement information is searched in a preset correspondence table.

在步骤S409中,将所述控制对象以及控制信息发送至所述受控设备,以使得所述受控设备根据所述控制信息控制所述控制对象执行相应的操作。In step S409, the control object and control information are sent to the controlled device, so that the controlled device controls the control object to perform corresponding operations according to the control information.

具体的,将控制对象以及控制信息发送至受控设备,受控设备根据控制信息控制控制对象执行相应的操作。所述控制对象包括:光标、设备参数以及应用程序,所述控制信息包括:移动、改变以及打开或关闭。其中,控制对象可以是受控设备屏幕上的选择框或者光标,也可以是温度、音量、频道等参数,还可以是各种应用程序。控制信息可以是控制光标或选择框移动;也可以是改变参数,如改变温度、调节音量或频道等;还可以是开启或关闭应用程序。根据受控设备的不同,控制指令的控制对象以及控制信息也会有所不同。Specifically, the control object and control information are sent to the controlled device, and the controlled device controls the control object to perform corresponding operations according to the control information. The control object includes: a cursor, device parameters, and application programs, and the control information includes: moving, changing, and opening or closing. Wherein, the control object may be a selection box or a cursor on the screen of the controlled device, or parameters such as temperature, volume, and channel, or various application programs. The control information can be to control the movement of the cursor or the selection box; it can also be to change parameters, such as changing the temperature, adjusting the volume or channel, etc.; it can also be to open or close the application program. Depending on the controlled device, the control object and control information of the control instruction will also be different.

上述可知,本发明实施例中的控制方法,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。As can be seen from the above, the control method in the embodiment of the present invention obtains the coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to the change of the coordinate information, and controls the controlled device through the control instructions. The operation mode is simple and the control is convenient. , there is no need to use control devices such as remote controllers, which reduces the cost, and at the same time enables users to get rid of the dependence on control devices, and expands the scope of use of smart watches.

图5为本发明实施方式提供的一种控制装置第一实施例的结构示意图。在本实施方式中,该控制装置应用于智能手表上,所述智能手表与受控设备通信连接。该控制装置包括获取模块501、生成模块502、查找模块503以及发送模块504。Fig. 5 is a schematic structural diagram of a first embodiment of a control device provided by an embodiment of the present invention. In this embodiment, the control device is applied to a smart watch, and the smart watch communicates with the controlled device. The control device includes an acquisition module 501 , a generation module 502 , a search module 503 and a sending module 504 .

获取模块501用于获取所述智能手表相对于所述受控设备的坐标信息。The acquiring module 501 is configured to acquire coordinate information of the smart watch relative to the controlled device.

具体的,获取模块501侦测智能手表相对于受控设备的坐标信息,其中所述坐标信息包括智能手表在以所述受控设备为中心的坐标系中的相对位置信息,可以采用传感器侦测所述坐标信息。Specifically, the acquisition module 501 detects the coordinate information of the smart watch relative to the controlled device, wherein the coordinate information includes the relative position information of the smart watch in the coordinate system centered on the controlled device, and sensors can be used to detect The coordinate information.

生成模块502用于根据所述坐标信息的变化生成移动信息。The generation module 502 is used for generating movement information according to the change of the coordinate information.

具体的,在获取坐标信息之后,生成模块502进一步的判断坐标信息是否发生变化。当坐标信息发生变化时,判断变化是否超过阈值,当超过阈值时,根据所述变化生成移动信息。Specifically, after acquiring the coordinate information, the generating module 502 further determines whether the coordinate information changes. When the coordinate information changes, it is judged whether the change exceeds a threshold, and when the change exceeds the threshold, movement information is generated according to the change.

查找模块503用于在预设的对应关系表中,查找与所述移动信息对应的控制指令。The search module 503 is configured to search for a control instruction corresponding to the movement information in a preset correspondence table.

具体的,在获取移动信息了之后,查找模块503根据移动信息的具体类型从预设的对应关系表中查找对应的控制指令。对应关系表可以预先设置,根据不同的移动信息,设置不同的控制指令。其中,控制指令包括了控制对象以及具体的控制信息,控制指令根据受控设备的不同,可以有不同的方式。Specifically, after acquiring the movement information, the search module 503 searches the corresponding control instruction from the preset correspondence table according to the specific type of the movement information. The correspondence table can be preset, and different control instructions can be set according to different movement information. Wherein, the control instruction includes a control object and specific control information, and the control instruction may have different forms according to different controlled devices.

发送模块504用于将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作。The sending module 504 is configured to send the control instruction to the controlled device, so as to control the controlled device to perform corresponding operations.

具体的,发送模块504将控制指令发送给受控设备,以使所述受控设备根据所述控制指令执行相应的操作。Specifically, the sending module 504 sends the control instruction to the controlled device, so that the controlled device performs a corresponding operation according to the control instruction.

上述可知,本发明实施例中的控制装置,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。As can be seen from the above, the control device in the embodiment of the present invention obtains the coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to the change of the coordinate information, and controls the controlled device through the control instructions. The operation mode is simple and the control is convenient. , there is no need to use control devices such as remote controllers, which reduces the cost, and at the same time enables users to get rid of the dependence on control devices, and expands the scope of use of smart watches.

图6为本发明实施方式提供的一种控制装置第二实施例的结构示意图。在本实施方式中,控制装置包括建立模块601、获取模块602、生成模块603、查找模块604以及发送模块605。其中,本实施例中获取模块602、生成模块603、查找模块604以及发送模块605与图5所示第一实施例中的获取模块501、生成模块502、查找模块503以及发送模块504的功能相同,在此不赘述。Fig. 6 is a schematic structural diagram of a second embodiment of a control device provided in an embodiment of the present invention. In this embodiment, the control device includes an establishment module 601 , an acquisition module 602 , a generation module 603 , a search module 604 and a sending module 605 . Wherein, the acquisition module 602, the generation module 603, the search module 604 and the sending module 605 in this embodiment have the same functions as the acquisition module 501, the generation module 502, the search module 503 and the sending module 504 in the first embodiment shown in FIG. , which will not be described here.

建立模块601用于预先建立移动信息与控制指令的对应关系表。The establishment module 601 is used to pre-establish a correspondence table between movement information and control instructions.

具体的,建立模块601建立移动信息与控制指令的对应关系表。其中,所述移动信息包括:单一方向移动、多方向移动以及旋转移动。单一方向移动是指向某一单一方向的移动;多方向移动是指移动过程中包括至少2个方向;旋转移动是指顺时针移动或者逆时针移动。所述控制指令包括控制对象以及控制信息,所述控制对象包括:光标、设备参数以及应用程序,所述控制信息包括:移动、改变以及打开或关闭。其中,控制对象可以是受控设备屏幕上的选择框或者光标,也可以是温度、音量、频道等参数,还可以是各种应用程序。控制信息可以是控制光标或选择框移动;也可以是改变参数,如改变温度、调节音量或频道等;还可以是开启或关闭应用程序。根据受控设备的不同,控制指令的控制对象以及控制信息也会有所不同,用户可以实现自行定义,本发明实施例并不以此为限。Specifically, the establishment module 601 establishes a correspondence table between movement information and control instructions. Wherein, the movement information includes: movement in a single direction, movement in multiple directions, and movement in rotation. Movement in a single direction refers to movement in a single direction; movement in multiple directions refers to movement in at least two directions; movement in rotation refers to movement in a clockwise or counterclockwise direction. The control instruction includes a control object and control information, the control object includes: a cursor, device parameters, and an application program, and the control information includes: moving, changing, and opening or closing. Wherein, the control object may be a selection box or a cursor on the screen of the controlled device, or parameters such as temperature, volume, and channel, or various application programs. The control information can be to control the movement of the cursor or the selection box; it can also be to change parameters, such as changing the temperature, adjusting the volume or channel, etc.; it can also be to open or close the application program. Depending on the controlled device, the control object and control information of the control instruction will also be different, and the user can define it by himself, and the embodiments of the present invention are not limited thereto.

上述可知,本发明实施例中的控制装置,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。As can be seen from the above, the control device in the embodiment of the present invention obtains the coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to the change of the coordinate information, and controls the controlled device through the control instructions. The operation mode is simple and the control is convenient. , there is no need to use control devices such as remote controllers, which reduces the cost, and at the same time enables users to get rid of the dependence on control devices, and expands the scope of use of smart watches.

图7为本发明实施方式提供的一种控制装置第三实施例的结构示意图。对比图6所示的第二实施例,在本实施方式中,获取模块602进一步包括开启单元6021、测量单元6022以及计算单元6023,生成模块603进一步包括侦测单元6031、判断单元6032以及生成单元6033,发送模块605进一步包括发送单元6051。下面详细介绍各单元的具体功能。Fig. 7 is a schematic structural diagram of a third embodiment of a control device provided by an embodiment of the present invention. Compared with the second embodiment shown in FIG. 6, in this embodiment, the acquisition module 602 further includes an opening unit 6021, a measurement unit 6022, and a calculation unit 6023, and the generation module 603 further includes a detection unit 6031, a judgment unit 6032, and a generation unit 6033. The sending module 605 further includes a sending unit 6051. The specific functions of each unit are introduced in detail below.

开启单元6021用于开启所述智能手表的传感器。The opening unit 6021 is used to open the sensor of the smart watch.

具体的,所述传感器用于侦测所述智能手表相对于受控设备的坐标信息,该传感器可以位于智能手表的本体上,或者表带上。特别的,为了避免遮盖,该传感器还可以位于智能手表的表冠上。其中,所述传感器包括距离传感器以及角度传感器。所述开启单元6021开启所述传感器。Specifically, the sensor is used to detect the coordinate information of the smart watch relative to the controlled device, and the sensor can be located on the body of the smart watch or on the strap. In particular, in order to avoid covering, the sensor can also be located on the crown of the smart watch. Wherein, the sensor includes a distance sensor and an angle sensor. The opening unit 6021 opens the sensor.

测量单元6022用于测量所述智能手表相对于所述受控设备的距离信息以及角度信息。The measuring unit 6022 is used for measuring distance information and angle information of the smart watch relative to the controlled device.

具体的,测量单元6022通过所述传感器测量所述智能手表相对于受控设备的距离信息以及角度信息,其中所述距离信息是指智能手表与受控设备的距离,所述角度信息是指在以受控设备为中心的坐标系中,智能手表相对于坐标系的偏离信息。Specifically, the measurement unit 6022 measures the distance information and angle information of the smart watch relative to the controlled device through the sensor, wherein the distance information refers to the distance between the smart watch and the controlled device, and the angle information refers to the distance between the smart watch and the controlled device. In the coordinate system centered on the controlled device, the deviation information of the smart watch relative to the coordinate system.

计算单元6023用于根据所述距离信息以及角度信息计算坐标信息。The calculation unit 6023 is used for calculating coordinate information according to the distance information and angle information.

具体的,计算单元6023根据距离信息以及角度信息计算坐标信息,其中,所述坐标信息包括所述智能手表在以所述受控设备为中心的坐标系中的相对位置信息。所述坐标系可以是三维坐标系,所述坐标信息可以是三维坐标信息。Specifically, the calculation unit 6023 calculates coordinate information according to distance information and angle information, wherein the coordinate information includes relative position information of the smart watch in a coordinate system centered on the controlled device. The coordinate system may be a three-dimensional coordinate system, and the coordinate information may be three-dimensional coordinate information.

侦测单元6031用于采用预设的频率侦测所述坐标信息。The detecting unit 6031 is used for detecting the coordinate information with a preset frequency.

具体的,侦测单元6031控制所述获取模块602采用预设的频率侦测坐标信息,比如,可以是每隔0.5s侦测一次。Specifically, the detection unit 6031 controls the acquisition module 602 to detect coordinate information at a preset frequency, for example, it may detect once every 0.5s.

判断单元6032用于判断所述坐标信息的变化信息是否超过预设阈值。The judging unit 6032 is configured to judge whether the change information of the coordinate information exceeds a preset threshold.

具体的,所述变化信息包括变化幅度以及变化速度,判断单元6032判断所述坐标信息的变化是否超过预设阈值,即判断所述变化幅度以及变化速度是否超过预设阈值。坐标信息的变化表明智能手表的移动,当移动达到一定的条件时,该移动产生的坐标信息的变化信息才会超过预设阈值,所述预设阈值包括幅度以及速度,即只有以一定的速度移动一定的位移,该变化信息才超过预设阈值。Specifically, the change information includes a change range and a change speed, and the judging unit 6032 judges whether the change of the coordinate information exceeds a preset threshold, that is, judges whether the change range and change speed exceed a preset threshold. The change of the coordinate information indicates the movement of the smart watch. When the movement reaches a certain condition, the change information of the coordinate information generated by the movement will exceed the preset threshold. The preset threshold includes the amplitude and speed, that is, only at a certain speed Only when a certain displacement is moved, the change information exceeds the preset threshold.

生成单元6033用于在所述坐标信息的变化信息超过预设阈值时,根据所述变化信息生成移动信息。The generating unit 6033 is configured to generate movement information according to the change information when the change information of the coordinate information exceeds a preset threshold.

具体的,生成单元6033根据变化信息生成移动信息,其中变化信息中包含了坐标信息的改变信息,根据坐标的具体改变,可以生成移动信息。其中所述移动信息包括:单一方向移动、多方向移动以及旋转移动。单一方向移动是指向某一单一方向的移动;多方向移动是指移动过程中包括至少2个方向;旋转移动是指顺时针移动或者逆时针移动。Specifically, the generating unit 6033 generates movement information according to the change information, wherein the change information includes change information of the coordinate information, and the movement information can be generated according to the specific change of the coordinates. The movement information includes: movement in a single direction, movement in multiple directions, and movement in rotation. Movement in a single direction refers to movement in a single direction; movement in multiple directions refers to movement in at least two directions; movement in rotation refers to movement in a clockwise or counterclockwise direction.

发送单元6051用于将所述控制对象以及控制信息发送至所述受控设备;以使得所述受控设备根据所述控制信息控制所述控制对象执行相应的操作。The sending unit 6051 is configured to send the control object and control information to the controlled device; so that the controlled device controls the control object to perform corresponding operations according to the control information.

具体的,发送单元6051将控制对象以及控制信息发送至受控设备,受控设备根据控制信息控制控制对象执行相应的操作。所述控制对象包括:光标、设备参数以及应用程序,所述控制信息包括:移动、改变以及打开或关闭。其中,控制对象可以是受控设备屏幕上的选择框或者光标,也可以是温度、音量、频道等参数,还可以是各种应用程序。控制信息可以是控制光标或选择框移动;也可以是改变参数,如改变温度、调节音量或频道等;还可以是开启或关闭应用程序。根据受控设备的不同,控制指令的控制对象以及控制信息也会有所不同。Specifically, the sending unit 6051 sends the control object and control information to the controlled device, and the controlled device controls the control object to perform corresponding operations according to the control information. The control object includes: a cursor, device parameters, and application programs, and the control information includes: moving, changing, and opening or closing. Wherein, the control object may be a selection box or a cursor on the screen of the controlled device, or parameters such as temperature, volume, and channel, or various application programs. The control information can be to control the movement of the cursor or the selection box; it can also be to change parameters, such as changing the temperature, adjusting the volume or channel, etc.; it can also be to open or close the application program. Depending on the controlled device, the control object and control information of the control instruction will also be different.

上述可知,本发明实施例中的控制装置,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。As can be seen from the above, the control device in the embodiment of the present invention obtains the coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to the change of the coordinate information, and controls the controlled device through the control instructions. The operation mode is simple and the control is convenient. , there is no need to use control devices such as remote controllers, which reduces the cost, and at the same time enables users to get rid of the dependence on control devices, and expands the scope of use of smart watches.

本发明实施例还公开了一种智能手表,该智能手表包括控制装置,该控制装置的功能和结构可以参见图5-图7中实施例中的相关说明,在此不赘述。可以理解的是,图2-图4任一实施例所示的控制方法也可以应用于本智能手表中。The embodiment of the present invention also discloses a smart watch. The smart watch includes a control device. For the function and structure of the control device, refer to the relevant descriptions in the embodiments in FIGS. 5-7 , and details are not repeated here. It can be understood that the control method shown in any one of the embodiments shown in FIG. 2-FIG. 4 can also be applied to the smart watch.

上述可知,本发明实施例中的智能手表,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。As can be seen from the above, the smart watch in the embodiment of the present invention obtains the coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to the change of the coordinate information, and controls the controlled device through the control instructions. The operation mode is simple and the control is convenient. , there is no need to use control devices such as remote controllers, which reduces the cost, and at the same time enables users to get rid of the dependence on control devices, and expands the scope of use of smart watches.

本发明实施例还公开了一种智能手表,如图1所示,所述智能手表10包括本体20以及位于本体侧面的表冠30,该智能手表10上设置有传感器,传感器用于侦测所述智能手表相对于受控设备的坐标信息,该传感器可以位于智能手表的本体20上,或者表带上。特别的,为了避免遮盖,该传感器还可以位于智能手表的表冠30上。The embodiment of the present invention also discloses a smart watch. As shown in FIG. 1 , the smart watch 10 includes a body 20 and a crown 30 located on the side of the body. The smart watch 10 is provided with a sensor for detecting the The coordinate information of the smart watch relative to the controlled device, the sensor can be located on the body 20 of the smart watch, or on the strap. In particular, in order to avoid covering, the sensor can also be located on the crown 30 of the smart watch.

所述智能手表10还包括处理器以及存储器,所述处理器和所述存储器位于所述本体中,所述处理器与所述存储器相连。所述处理器用于获取所述智能手表相对于所述受控设备的坐标信息;根据所述坐标信息的变化生成移动信息;在预设的对应关系表中,查找与所述移动信息对应的控制指令;将所述控制指令发送至所述受控设备,以控制所述受控设备执行相应操作;所述存储器用于存储所述预设的对应关系表。The smart watch 10 also includes a processor and a memory, the processor and the memory are located in the body, and the processor is connected to the memory. The processor is used to obtain coordinate information of the smart watch relative to the controlled device; generate movement information according to changes in the coordinate information; and search for a control corresponding to the movement information in a preset correspondence table. instructions; sending the control instructions to the controlled device to control the controlled device to perform corresponding operations; the memory is used to store the preset correspondence table.

上述可知,本发明实施例中的智能手表,通过获取智能手表相对于受控设备的坐标信息,根据坐标信息的变化生成对应的控制指令,通过控制指令控制受控设备,操作方式简单,控制方便,无须采用遥控器等控制设备,降低了成本,同时使得用户摆脱了对控制设备的依赖,拓展了智能手表的使用范围。As can be seen from the above, the smart watch in the embodiment of the present invention obtains the coordinate information of the smart watch relative to the controlled device, generates corresponding control instructions according to the change of the coordinate information, and controls the controlled device through the control instructions. The operation mode is simple and the control is convenient. , there is no need to use control devices such as remote controllers, which reduces the cost, and at the same time enables users to get rid of the dependence on control devices, and expands the scope of use of smart watches.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (12)

1. A control method is applied to a smart watch, the smart watch is in communication connection with a controlled device, and the control method is characterized by comprising the following steps:
acquiring coordinate information of the intelligent watch relative to the controlled equipment by adopting a preset frequency through sensor measurement, wherein the coordinate information comprises relative position information of the intelligent watch in a coordinate system taking the controlled equipment as a center;
after acquiring the coordinate information, further judging whether the coordinate information changes, when the coordinate information changes, judging whether the change exceeds a threshold value, when the change exceeds the threshold value, generating movement information according to the change of the coordinate information, wherein the change of the coordinate information is used for indicating the movement of the intelligent watch, when the movement of the intelligent watch reaches a certain condition, the change of the coordinate information generated by the movement of the intelligent watch exceeds the threshold value, the threshold value comprises an amplitude and a speed, and when the intelligent watch moves for a certain displacement at a certain speed, the movement information can be generated according to the change generated by the movement of the intelligent watch;
searching a control instruction corresponding to the movement information in a preset corresponding relation table;
and sending the control instruction to the controlled equipment to control the controlled equipment to execute corresponding operation.
2. The control method of claim 1, wherein said obtaining coordinate information of the smart watch relative to the controlled device comprises:
turning on a sensor of the smart watch;
measuring distance information and angle information of the smart watch relative to the controlled device;
and calculating coordinate information according to the distance information and the angle information, wherein the coordinate information comprises relative position information of the intelligent watch in a coordinate system taking the controlled equipment as a center.
3. The control method according to claim 2, wherein the generating movement information according to the change in the coordinate information includes:
judging whether the change information of the coordinate information exceeds a preset threshold value or not, wherein the change information comprises a change amplitude and a change speed;
wherein the movement information includes: unidirectional movement, multi-directional movement, and rotational movement.
4. The control method according to any one of claims 1 to 3, wherein before searching for the control command corresponding to the movement information in the preset correspondence table, the method further comprises:
the method comprises the following steps of establishing a corresponding relation table of movement information and a control instruction in advance, wherein the movement information comprises: the control command includes a control object and control information, and the control object includes: cursor, device parameters and application programs, the control information includes: move, change, and open or close.
5. The control method according to claim 4, wherein the sending the control instruction to the controlled device to control the controlled device to perform a corresponding operation includes:
sending the control object and the control information to the controlled equipment;
so that the controlled device controls the control object to execute corresponding operation according to the control information.
6. A control device is applied to a smart watch which is in communication connection with a controlled device, and is characterized by comprising:
the acquisition module is used for acquiring coordinate information of the intelligent watch relative to the controlled equipment and detecting the coordinate information by a detection unit through a sensor by adopting a preset frequency, wherein the coordinate information comprises relative position information of the intelligent watch in a coordinate system taking the controlled equipment as a center;
the generation module is used for further judging whether the coordinate information changes after acquiring the coordinate information, judging whether the change exceeds a threshold value when the coordinate information changes, generating movement information according to the change of the coordinate information when the change exceeds the threshold value, wherein the change of the coordinate information is used for indicating the movement of the intelligent watch, when the movement of the intelligent watch reaches a certain condition, the change of the coordinate information generated by the movement of the intelligent watch exceeds the threshold value, the threshold value comprises amplitude and speed, and when the intelligent watch moves for a certain displacement at a certain speed, the movement information can be generated according to the change generated by the movement of the intelligent watch;
the searching module is used for searching a control instruction corresponding to the mobile information in a preset corresponding relation table;
and the sending module is used for sending the control instruction to the controlled equipment so as to control the controlled equipment to execute corresponding operation.
7. The control apparatus of claim 6, wherein the obtaining module comprises:
the starting unit is used for starting a sensor of the intelligent watch;
the measuring unit is used for measuring distance information and angle information of the intelligent watch relative to the controlled equipment;
and the calculating unit is used for calculating coordinate information according to the distance information and the angle information, wherein the coordinate information comprises relative position information of the intelligent watch in a coordinate system taking the controlled equipment as a center.
8. The control apparatus of claim 7, wherein the generating module comprises:
the judging unit is used for judging whether the change information of the coordinate information exceeds a preset threshold value or not, wherein the change information comprises a change amplitude and a change speed;
wherein the movement information includes: unidirectional movement, multi-directional movement, and rotational movement.
9. The control device according to any one of claims 6 to 8, further comprising:
the establishing module is used for establishing a corresponding relation table of the mobile information and the control instruction in advance, wherein the mobile information comprises: the control command includes a control object and control information, and the control object includes: cursor, device parameters and application programs, the control information includes: move, change, and open or close.
10. The control apparatus of claim 9, wherein the transmission module comprises:
a transmission unit configured to transmit the control object and the control information to the controlled device; so that the controlled device controls the control object to execute corresponding operation according to the control information.
11. A smart watch, characterized in that it comprises a control device according to any one of claims 6 to 10.
12. The intelligent watch is in communication connection with controlled equipment and is characterized by comprising a body and a crown, wherein the crown is positioned on the side surface of the body and connected with the body; wherein,
the body further comprises a screen, a processor and a memory, wherein the processor is connected with the memory;
the processor is used for acquiring coordinate information of the smart watch relative to the controlled equipment by adopting a preset frequency through sensor measurement, wherein the coordinate information comprises relative position information of the smart watch in a coordinate system taking the controlled equipment as a center; after acquiring the coordinate information, further judging whether the coordinate information changes, when the coordinate information changes, judging whether the change exceeds a threshold value, when the change exceeds the threshold value, generating movement information according to the change of the coordinate information, wherein the change of the coordinate information is used for indicating the movement of the intelligent watch, when the movement of the intelligent watch reaches a certain condition, the change of the coordinate information generated by the movement of the intelligent watch exceeds the threshold value, the threshold value comprises an amplitude and a speed, and when the intelligent watch moves for a certain displacement at a certain speed, the movement information can be generated according to the change generated by the movement of the intelligent watch; searching a control instruction corresponding to the movement information in a preset corresponding relation table; sending the control instruction to the controlled equipment to control the controlled equipment to execute corresponding operation;
the memory is used for storing the preset corresponding relation table.
CN201510531936.1A 2015-08-26 2015-08-26 A kind of control method, device and smartwatch Expired - Fee Related CN105068741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510531936.1A CN105068741B (en) 2015-08-26 2015-08-26 A kind of control method, device and smartwatch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510531936.1A CN105068741B (en) 2015-08-26 2015-08-26 A kind of control method, device and smartwatch

Publications (2)

Publication Number Publication Date
CN105068741A CN105068741A (en) 2015-11-18
CN105068741B true CN105068741B (en) 2018-05-29

Family

ID=54498124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510531936.1A Expired - Fee Related CN105068741B (en) 2015-08-26 2015-08-26 A kind of control method, device and smartwatch

Country Status (1)

Country Link
CN (1) CN105068741B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534490A (en) * 2016-10-17 2017-03-22 努比亚技术有限公司 Information processing method and wearable type device
CN106774994A (en) * 2016-11-28 2017-05-31 杭州联络互动信息科技股份有限公司 The method and apparatus that a kind of utilization wearable device realizes mouse function
CN107145275A (en) * 2017-05-27 2017-09-08 广东小天才科技有限公司 Method for quickly operating application program and smart watch

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787605A (en) * 2004-12-10 2006-06-14 精工爱普生株式会社 Control system, controlled device suitable for the system and remote controller
CN102224477A (en) * 2008-11-28 2011-10-19 富士通株式会社 Control device, control system, control method, and computer program
CN102346431A (en) * 2010-07-30 2012-02-08 鸿富锦精密工业(深圳)有限公司 Portable electronic device with remote control function
CN102473025A (en) * 2009-07-23 2012-05-23 高通股份有限公司 Method and apparatus for distributed user interface using wearable device to control mobile and consumer electronic devices
CN103995607A (en) * 2014-05-22 2014-08-20 百度在线网络技术(北京)有限公司 Control method, control device, controlled method and controlled device
CN104156065A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Home media playing device control method, device and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787605A (en) * 2004-12-10 2006-06-14 精工爱普生株式会社 Control system, controlled device suitable for the system and remote controller
CN102224477A (en) * 2008-11-28 2011-10-19 富士通株式会社 Control device, control system, control method, and computer program
CN102473025A (en) * 2009-07-23 2012-05-23 高通股份有限公司 Method and apparatus for distributed user interface using wearable device to control mobile and consumer electronic devices
US9000887B2 (en) * 2009-07-23 2015-04-07 Qualcomm Incorporated Method and apparatus for communicating control information by a wearable device to control mobile and consumer electronic devices
CN102346431A (en) * 2010-07-30 2012-02-08 鸿富锦精密工业(深圳)有限公司 Portable electronic device with remote control function
CN103995607A (en) * 2014-05-22 2014-08-20 百度在线网络技术(北京)有限公司 Control method, control device, controlled method and controlled device
CN104156065A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Home media playing device control method, device and equipment

Also Published As

Publication number Publication date
CN105068741A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
US9978261B2 (en) Remote controller and information processing method and system
US10684673B2 (en) Apparatus and control method based on motion
CN102937832B (en) A kind of gesture method for catching of mobile terminal and device
US10296141B2 (en) Device, and adjustable parameter adjustment method for device
JP6475380B2 (en) Terminal and terminal control method
WO2018063754A4 (en) Interaction mode selection based on detected distance between user and machine interface
EP2919481A1 (en) Remote control device, display device, and method for controlling same
KR102049475B1 (en) Input device, display device and methods of controlling thereof
TW201220175A (en) Apparatus and method for transferring information items between communications devices
KR101872272B1 (en) Method and apparatus for controlling of electronic device using a control device
CN105068741B (en) A kind of control method, device and smartwatch
KR20120048312A (en) Mobile device and control method thereof
CN104238757B (en) Electronic device control method, device and electronic device
TW201351350A (en) Device and method for controlling electronic appliances
JP2018508750A (en) Method for detecting a measurement area in a substrate
CN111028494B (en) Virtual remote control method of electrical equipment, computer readable storage medium and intelligent household appliance
CN105792004B (en) A kind of triggering passes the method and system of screen
CN108667764A (en) Electronic device and communication protocol switching method
CN103701995A (en) Control method of electronic equipment and electronic equipment
CN114571490B (en) Robot system, control method for robot system, and storage medium
CN105630204A (en) Mouse simulation system and method
CN106033257B (en) A kind of control method and device
CN112181259B (en) Control method, device, terminal and computer storage medium
CN107346176A (en) Screen lights method, apparatus, storage medium and electronic equipment
KR100702808B1 (en) Object recognition system and method using a portable terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180529