[go: up one dir, main page]

CN110187765A - Wearable device control method, wearable device and computer-readable storage medium - Google Patents

Wearable device control method, wearable device and computer-readable storage medium Download PDF

Info

Publication number
CN110187765A
CN110187765A CN201910467294.1A CN201910467294A CN110187765A CN 110187765 A CN110187765 A CN 110187765A CN 201910467294 A CN201910467294 A CN 201910467294A CN 110187765 A CN110187765 A CN 110187765A
Authority
CN
China
Prior art keywords
wearable device
preset
control action
control
control mode
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.)
Pending
Application number
CN201910467294.1A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910467294.1A priority Critical patent/CN110187765A/en
Publication of CN110187765A publication Critical patent/CN110187765A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of wearable device control method, wearable device and computer readable storage mediums.This method comprises: passing through GPS positioning, the data of gyro sensor and heart rate sensor real-time detection, determine whether the user of wearing wearable device is in driving condition, if being in driving condition, then the control model of wearable device is controlled as Driving control mode, when detecting the corresponding preset control action of Driving control mode, determine the corresponding operational order of preset control action, corresponding control operation is realized based on operational order, to realize under driving condition, control operation is carried out with Driving control mode to wearable device, improve the control stability of wearable device under driving condition, to improve the usage comfort of user.

Description

可穿戴设备控制方法、可穿戴设备及计算机可读存储介质Wearable device control method, wearable device and computer-readable storage medium

技术领域technical field

本申请涉及可穿戴设备处理的技术领域,尤其涉及一种可穿戴设备控制 方法、可穿戴设备及计算机可读存储介质。The present application relates to the technical field of wearable device processing, and in particular to a wearable device control method, a wearable device, and a computer-readable storage medium.

背景技术Background technique

随着终端技术的不断发展,智能终端在社会生活中的普及率越来越高, 随着用户对智能终端操作体验和便携性的需求的增加,穿戴式智能终端越来 越受到广大用户群体的欢迎。With the continuous development of terminal technology, the penetration rate of smart terminals in social life is getting higher and higher. With the increase of users' demand for smart terminal operation experience and portability, wearable smart terminals are becoming more and more popular among users. welcome.

目前,穿戴式智能终端,一般通过抬腕亮屏侦测技术控制穿戴式智能终 端自动点亮触摸屏的方案,或者通过触发穿戴式智能终端的固定键或者屏幕 的方式,实现穿戴式智能终端的功能控制,但是,在当用户处于驾驶状态时, 可能会无故点亮穿戴式智能终端的屏幕,或者由于驾驶姿势,穿戴式智能终 端的固定键或者屏幕的触发反应不灵敏,因此,存在可穿戴设备控制操作不 稳定的技术问题,从而影响驾驶中用户的专注度,进而减低了用户的体验感。At present, wearable smart terminals generally control the solution of automatically lighting up the touch screen of the wearable smart terminal by raising the wrist to turn on the screen detection technology, or realize the function of the wearable smart terminal by triggering the fixed key or screen of the wearable smart terminal However, when the user is in the driving state, the screen of the wearable smart terminal may light up for no reason, or due to the driving posture, the fixed key of the wearable smart terminal or the triggering of the screen are not sensitive, so there is a wearable device The technical problem of unstable control operation affects the user's concentration during driving, thereby reducing the user's sense of experience.

发明内容Contents of the invention

本发明的主要目的在于提供一种可穿戴设备控制方法、可穿戴设备及可 读存储介质,旨在解决现有技术中处于驾驶状态的可穿戴设备控制稳定性不 够的技术问题。The main purpose of the present invention is to provide a wearable device control method, wearable device and readable storage medium, aiming to solve the technical problem of insufficient control stability of the wearable device in the driving state in the prior art.

为实现上述目的,本发明提供一种可穿戴设备控制方法,所述可穿戴设 备控制方法包括以下步骤:In order to achieve the above object, the present invention provides a wearable device control method, the wearable device control method includes the following steps:

获取所述GPS定位、所述陀螺仪传感器及所述心率传感器实时检测的数 据;Obtaining the real-time detection data of the GPS positioning, the gyroscope sensor and the heart rate sensor;

基于所述数据,判断穿戴所述可穿戴设备的用户是否处于驾驶状态;Based on the data, determine whether the user wearing the wearable device is in a driving state;

若处于驾驶状态,则控制所述可穿戴设备切换至驾驶控制模式;If it is in a driving state, control the wearable device to switch to a driving control mode;

在检测到所述驾驶控制模式对应的预设的控制动作时,确定所述预设的 控制动作对应的操作指令;When detecting a preset control action corresponding to the driving control mode, determine an operation instruction corresponding to the preset control action;

基于所述操作指令执行对应的控制操作。A corresponding control operation is performed based on the operation instruction.

可选地,所述基于所述数据,判断穿戴所述可穿戴设备的用户是否处于 驾驶状态的步骤包括:Optionally, the step of judging whether the user wearing the wearable device is in a driving state based on the data includes:

基于所述GPS定位、所述陀螺仪传感器及所述心率传感器实时检测的数 据,判断所述GPS定位的数据是否超过预设移动速度阈值,所述陀螺仪传感 器的数据是否超过预设陀螺仪传感器数据阈值,且所述心率传感器的数据是 否超过预设心率变化幅度阈值;Based on the real-time detection data of the GPS positioning, the gyroscope sensor, and the heart rate sensor, determine whether the data of the GPS positioning exceeds a preset movement speed threshold, and whether the data of the gyroscope sensor exceeds a preset gyroscope sensor A data threshold, and whether the data of the heart rate sensor exceeds a preset heart rate variation threshold;

若所述GPS定位的数据超过预设移动速度阈值、所述陀螺仪传感器的数 据超过预设陀螺仪传感器数据阈值且所述心率传感器的数据超过预设心率变 化幅度阈值,则确定穿戴所述可穿戴设备的用户处于驾驶状态。If the data of the GPS positioning exceeds the preset movement speed threshold, the data of the gyro sensor exceeds the preset gyro sensor data threshold, and the data of the heart rate sensor exceeds the preset heart rate variation threshold, then it is determined to wear the wearable The user wearing the device is driving.

可选地,所述若处于驾驶状态,则切换至驾驶控制模式的步骤包括:Optionally, if in the driving state, the step of switching to the driving control mode includes:

若穿戴所述可穿戴设备的用户处于驾驶状态,则检测所述可穿戴设备当 前控制模式是否为普通控制模式;If the user wearing the wearable device is in a driving state, then detect whether the current control mode of the wearable device is a normal control mode;

若当前控制模式是所述普通控制模式,则将所述可穿戴设备当前控制模 式切换至驾驶控制模式。If the current control mode is the normal control mode, the current control mode of the wearable device is switched to the driving control mode.

可选地,所述若当前控制模式是所述普通控制模式,则将所述可穿戴设 备当前控制模式切换至驾驶控制模式的步骤包括:Optionally, if the current control mode is the normal control mode, the step of switching the current control mode of the wearable device to the driving control mode includes:

若当前控制模式是所述普通控制模式,则显示包含是否切换至驾驶控制 模式的选择指令的选择界面;If the current control mode is the normal control mode, a selection interface containing a selection instruction whether to switch to the driving control mode is displayed;

在接收到切换至驾驶控制模式的选择指令时,则将所述可穿戴设备当前 控制模式切换至驾驶控制模式。When receiving a selection instruction to switch to the driving control mode, the current control mode of the wearable device is switched to the driving control mode.

可选地,所述检测到所述驾驶控制模式对应的预设的控制动作的步骤之 前,还包括:Optionally, before the step of detecting the preset control action corresponding to the driving control mode, it also includes:

在检测到控制动作时,查询预设的控制动作库中是否存在所述控制动作 对应的预设的控制动作;When a control action is detected, query whether there is a preset control action corresponding to the control action in the preset control action library;

若存在对应的预设的控制动作,则确定所述控制动作为预设的控制动作。If there is a corresponding preset control action, it is determined that the control action is a preset control action.

可选地,所述控制动作包括抬腕控制动作,所述在检测到控制动作时, 查询预设的控制动作库中是否存在所述控制动作对应的预设的控制动作的步 骤包括:Optionally, the control action includes a wrist raising control action, and when the control action is detected, the step of inquiring whether there is a preset control action corresponding to the control action in the preset control action library includes:

在检测到抬腕控制动作时,获取所述抬腕控制动作的运动参数;When a wrist-raising control action is detected, motion parameters of the wrist-raising control action are acquired;

根据所述运动参数查询预设的控制动作库中是否存在对应的预设运动参 数;Query whether there are corresponding preset motion parameters in the preset control action library according to the motion parameters;

若存在对应的预设运动参数,则确定预设的控制动作库中存在所述控制 动作对应的预设的控制动作;If there is a corresponding preset motion parameter, it is determined that there is a preset control action corresponding to the control action in the preset control action library;

若不存在对应的预设运动参数,则确定预设的控制动作库中不存在所述 控制动作对应的预设的控制动作。If there is no corresponding preset motion parameter, it is determined that there is no preset control action corresponding to the control action in the preset control action library.

可选地,所述在检测到预设控制指令时,执行所述预设控制指令对应的 控制操作之后,还包括:Optionally, after the preset control instruction is detected, after performing the control operation corresponding to the preset control instruction, it further includes:

若确定穿戴所述可穿戴设备的用户结束驾驶状态,则将所述可穿戴设备 切换至普通控制模式。If it is determined that the user wearing the wearable device ends the driving state, then the wearable device is switched to a normal control mode.

可选地,所述获取所述GPS定位、所述陀螺仪传感器及所述心率传感器 实时检测的数据的步骤之前,还包括:Optionally, before the step of obtaining the GPS positioning, the gyroscope sensor and the heart rate sensor real-time detected data, it also includes:

在接收到预设的控制动作库的设置指令时,获取所述设置指令对应的预 设的控制动作信息;When receiving the setting instruction of the preset control action library, obtain the preset control action information corresponding to the setting instruction;

关联保存所述设置指令与预设的控制动作信息至预设的控制动作库。The setting instruction and preset control action information are stored in association with a preset control action library.

此外,为实现上述目的,本发明还提供一种可穿戴设备,所述可穿戴设 备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的 计算机程序,所述计算机程序被所述处理器执行时实现前述可穿戴设备控制 方法的步骤。In addition, in order to achieve the above object, the present invention also provides a wearable device, the wearable device includes: a memory, a processor, and a computer program stored in the memory and operable on the processor, the When the computer program is executed by the processor, the steps of the aforementioned wearable device control method are realized.

此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述 计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时 实现前述可穿戴设备控制方法的步骤。In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned wearable device control method are implemented. .

本发明通过GPS定位、陀螺仪传感器及心率传感器实时检测的数据,确 定穿戴可穿戴设备的用户是否处于驾驶状态,若处于驾驶状态,则将可穿戴 设备的控制模式控制为驾驶控制模式,在检测到驾驶控制模式对应的预设的 控制动作时,确定预设的控制动作对应的操作指令,基于操作指令实现对应 的控制操作,从而实现在驾驶状态下,对可穿戴设备以驾驶控制模式进行控 制操作,提高了驾驶状态下可穿戴设备的控制稳定性,从而提高用户的使用 舒适度。The present invention determines whether the user wearing the wearable device is in the driving state through GPS positioning, data detected by the gyroscope sensor and the heart rate sensor in real time. When the preset control action corresponding to the driving control mode is reached, the operation instruction corresponding to the preset control action is determined, and the corresponding control operation is realized based on the operation instruction, so as to realize the control of the wearable device in the driving control mode in the driving state The operation improves the control stability of the wearable device in the driving state, thereby improving the comfort of the user.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发 明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于 本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这 些附图获得其他的附图。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, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.

图1为本发明实施例提供的可穿戴设备一种实施方式的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of an implementation manner of a wearable device provided by an embodiment of the present invention;

图2为本申请实施例提供的可穿戴设备一种实施方式的硬件示意图;FIG. 2 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;

图3为本申请实施例提供的可穿戴设备一种实施方式的硬件示意图;FIG. 3 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;

图4为本申请实施例提供的可穿戴设备一种实施方式的硬件示意图;FIG. 4 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;

图5为本申请实施例提供的可穿戴设备一种实施方式的硬件示意图;FIG. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;

图6为本申请可穿戴设备控制方法第一实施例的流程示意图。FIG. 6 is a schematic flowchart of a first embodiment of a method for controlling a wearable device of the present application.

具体实施方式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.

在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后 缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部 件”或“单元”可以混合地使用。In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only to facilitate description of the present invention and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be mixedly used.

本发明实施例中提供的可穿戴设备包括智能手环、智能手表、以及智能 手机等移动终端。随着屏幕技术的不断发展,柔性屏、折叠屏等屏幕形态的 出现,智能手机等移动终端也可以作为可穿戴设备。本发明实施例中提供的 可穿戴设备可以包括:RF(RadioFrequency,射频)单元、WiFi模块、音频 输出单元、A/V(音频/视频)输入单元、传感器、显示单元、用户输入单元、 接口单元、存储器、处理器、以及电源等部件。The wearable devices provided in the embodiments of the present invention include mobile terminals such as smart bracelets, smart watches, and smart phones. With the continuous development of screen technology and the emergence of screen forms such as flexible screens and folding screens, mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: RF (Radio Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display unit, user input unit, interface unit , memory, processor, and power supplies.

后续描述中将以可穿戴设备为例进行说明,请参阅图1,其为实现本发明 各个实施例的一种可穿戴设备的硬件结构示意图,该可穿戴设备100可以包 括:RF(RadioFrequency,射频)单元101、WiFi模块102、音频输出单元 103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入 单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本 领域技术人员可以理解,图1中示出的可穿戴设备结构并不构成对可穿戴设 备的限定,可穿戴设备可以包括比图示更多或更少的部件,或者组合某些部 件,或者不同的部件布置。In the subsequent description, a wearable device will be taken as an example. Please refer to FIG. 1, which is a schematic diagram of a hardware structure of a wearable device implementing various embodiments of the present invention. The wearable device 100 may include: RF (Radio Frequency, radio frequency ) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that the wearable device structure shown in FIG. Different component arrangements.

下面结合图1对可穿戴设备的各个部件进行具体的介绍:The following is a specific introduction to the various components of the wearable device in conjunction with Figure 1:

射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体 的,射频单元101可以将上行信息发送给基站,另外也可以将基站发送的下 行信息接收后,发送给可穿戴设备的处理器110处理,基站向射频单元101 发送的下行信息可以是根据射频单元101发送的上行信息生成的,也可以是 在检测到可穿戴设备的信息更新后主动向射频单元101推送的,例如,在检 测到可穿戴设备所处的地理位置发生变化后,基站可以向可穿戴设备的射频 单元101发送地理位置变化的消息通知,射频单元101在接收到该消息通知 后,可以将该消息通知发送给可穿戴设备的处理器110处理,可穿戴设备的 处理器110可以控制该消息通知显示在可穿戴设备的显示面板1061上;通常, 射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低 噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和 其他设备通信,具体的可以包括:通过无线通信与网络系统中的服务器通信, 例如,可穿戴设备可以通过无线通信从服务器中下载文件资源,比如可以从 服务器中下载应用程序,在可穿戴设备将某一应用程序下载完成之后,若服 务器中该应用程序对应的文件资源更新,则该服务器可以通过无线通信向可 穿戴设备推送资源更新的消息通知,以提醒用户对该应用程序进行更新。上 述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(Code DivisionMultiple Access 2000,码分多址2000)、WCDMA(Wideband Code Division MultipleAccess,列 带码分多址)、TD-SCDMA(Time Division-Synchronous Code DivisionMultiple Access,时分同步码分多址)、FDD-LTE(Frequency Division Duplexing-LongTerm Evolution,频分双工长期演进)和TDD-LTE(Time Division Duplexing- Long TermEvolution,分时双工长期演进)等。The radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Specifically, the radio frequency unit 101 can send uplink information to the base station, and can also receive the downlink information sent by the base station and send it to the wearable device. Processed by the processor 110, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after the information update of the wearable device is detected, for example, After detecting that the geographic location of the wearable device has changed, the base station can send a message notification of the geographic location change to the radio frequency unit 101 of the wearable device, and the radio frequency unit 101 can send the message notification to the radio frequency unit 101 after receiving the message notification. Processed by the processor 110 of the wearable device, the processor 110 of the wearable device can control the message notification to be displayed on the display panel 1061 of the wearable device; generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver machine, coupler, low noise amplifier, duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. Specifically, it can include: communicating with a server in the network system through wireless communication. For example, the wearable device can download file resources from the server through wireless communication, such as The application program can be downloaded from the server. After the wearable device downloads an application program, if the file resource corresponding to the application program in the server is updated, the server can push a resource update message notification to the wearable device through wireless communication. , to remind the user to update the application. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communication), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000, Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Column Band Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing- Long Term Evolution, Frequency Division Duplex Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, Time Division Duplex Long Term Evolution), etc.

在一种实施方式中,可穿戴设备100可以通过插入SIM卡来接入现有的 通信网络。In one embodiment, the wearable device 100 can access an existing communication network by inserting a SIM card.

在另一种实施方式中,可穿戴设备100可以通过设置esim卡 (Embedded-SIM),来实现接入现有的通信网络,采用esim卡的方式,可以 节省可穿戴设备的内部空间,降低厚度。In another embodiment, the wearable device 100 can access the existing communication network by setting an esim card (Embedded-SIM). Using the esim card can save the internal space of the wearable device and reduce the thickness .

可以理解的是,虽然图1示出了射频单元101,但是可以理解的是,射频 单元101其并不属于可穿戴设备的必须构成,完全可以根据需要在不改变发 明的本质的范围内而省略。可穿戴设备100可以单独通过wifi模块102来实 现与其他设备或通信网络的通信连接,本发明实施例并不以此为限。It can be understood that although FIG. 1 shows the radio frequency unit 101, it can be understood that the radio frequency unit 101 is not an essential component of the wearable device, and can be completely omitted as required without changing the essence of the invention. . The wearable device 100 can realize the communication connection with other devices or communication networks through the wifi module 102 alone, and the embodiment of the present invention is not limited thereto.

WiFi属于短距离无线传输技术,可穿戴设备通过WiFi模块102可以帮助 用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的列 带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不 属于可穿戴设备的必须构成,完全可以根据需要在不改变发明的本质的范围 内而省略。WiFi belongs to the short-distance wireless transmission technology, and the wearable device can help users send and receive emails, browse web pages and access streaming media through the WiFi module 102, and it provides users with wireless access to the Internet. Although Fig. 1 shows the WiFi module 102, it can be understood that it does not belong to the necessary composition of the wearable device, and can be completely omitted as required without changing the essence of the invention.

音频输出单元103可以在可穿戴设备100处于呼叫信号接收模式、通话 模式、记录模式、语音识别模式、广播接收模式等模式下时,将射频单元101 或WiFi模块102接收的或者在存储器109中存储的音频数据转换成音频信号 并且输出为声音。而且,音频输出单元103还可以提供与可穿戴设备100执 行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等)。 音频输出单元103可以包括扬声器、蜂鸣器等。The audio output unit 103 can store the information received by the radio frequency unit 101 or the WiFi module 102 or in the memory 109 when the wearable device 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like. The audio data is converted into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.

A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包 括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处 理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头) 获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显 示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或 其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风 1042可以在电话通话模式、记录模式、语音识别模式等运行模式中经由麦克 风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处 理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单 元101发送到移动通信基站的格式输出。麦克风1042可以实施各种类型的噪 声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪 声或者干扰。The A/V input unit 104 is used to receive audio or video signals. The A/V input unit 104 may include a Graphics Processing Unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042. The Graphics Processor 1041 is used for still pictures or The image data of the video is processed. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in operation modes such as a phone call mode, a recording mode, and a voice recognition mode, and can process such sound as audio data. The processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 for output in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.

在一种实施方式中,可穿戴设备100包括有一个或多个摄像头,通过开 启摄像头,能够实现对图像的捕获,实现拍照、录像等功能,摄像头的位置 可以根据需要进行设置。In one embodiment, the wearable device 100 includes one or more cameras. By turning on the cameras, images can be captured, and functions such as taking pictures and recording videos can be realized. The positions of the cameras can be set as required.

可穿戴设备100还包括至少一种传感器105,比如光传感器、运动传感器 以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中, 环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感 器可在可穿戴设备100移动到耳边时,关闭显示面板1061和/或背光。作为运 动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的 大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比 如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计 步器、敲击)等。The wearable device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 when the wearable device 100 moves to the ear. and/or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.

在一种实施方式中,可穿戴设备100还包括接近传感器,通过采用接近 传感器,可穿戴设备能够实现非接触操控,提供更多的操作方式。In one embodiment, the wearable device 100 further includes a proximity sensor. By using the proximity sensor, the wearable device can realize non-contact control and provide more operation modes.

在一种实施方式中,可穿戴设备100还包括心率传感器,在穿戴时,通 过贴近使用者,能够实现心率的侦测。In one embodiment, the wearable device 100 also includes a heart rate sensor, which can detect the heart rate by being close to the user when worn.

在一种实施方式中,可穿戴设备100还可以包括指纹传感器,通过读取 指纹,能够实现安全验证等功能。In one embodiment, the wearable device 100 may also include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be realized.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单 元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display, LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配 置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

在一种实施方式中,显示面板1061采用柔性显示屏,采用柔性显示屏的 可穿戴设备在穿戴时,屏幕能够进行弯曲,从而更加贴合。可选的,所述柔 性显示屏可以采用OLED屏体以及石墨烯屏体,在其他实施方式中,所述柔 性显示屏也可以是其他显示材料,本实施例并不以此为限。In one implementation manner, the display panel 1061 adopts a flexible display screen, and when a wearable device adopting a flexible display screen is worn, the screen can be bent so as to fit better. Optionally, the flexible display screen may use an OLED screen body and a graphene screen body. In other implementation manners, the flexible display screen may also be other display materials, which are not limited in this embodiment.

在一种实施方式中,可穿戴设备的显示面板1061可以采取长方形图,便 于穿戴时环绕。在其他实施方式中,也可以采取其他方式。In one embodiment, the display panel 1061 of the wearable device can take a rectangular shape, which is convenient for surrounding when wearing. In other implementation manners, other manners may also be adopted.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与可穿 戴设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元 107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触 摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任 何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作), 并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测 装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并 检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检 测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接 收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红 外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户 输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可 以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc., which are not limited here. .

在一种实施方式中,可穿戴设备100的侧边可以设置有一个或多个按钮。 按钮可以实现短按、长按、旋转等多种方式,从而实现多种操作效果。按钮 的数量可以为多个,不同的按钮之间可以组合使用,实现多种操作功能。In one implementation manner, one or more buttons may be provided on the side of the wearable device 100 . The button can realize various methods such as short press, long press, and rotation, so as to realize various operation effects. The number of buttons can be multiple, and different buttons can be used in combination to realize multiple operation functions.

进一步的,触控面板1071可覆盖显示面板1061,当触控面板1071检测 到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型, 随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输 出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件 来实现可穿戴设备的输入和输出功能,但是在某些实施例中,可以将触控面 板1071与显示面板1061集成而实现可穿戴设备的输入和输出功能,具体此 处不做限定。比如,当通过射频单元101接收到某一应用程序的消息通知时, 处理器110可以控制将该消息通知显示在显示面板1061的某一预设区域内, 该预设区域与触控面板1071的某一区域对应,通过对触控面板1071某一区 域进行触控操作,可以对显示面板1061上对应区域内显示的消息通知进行控 制。Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the The type provides a corresponding visual output on the display panel 1061 . Although in FIG. 1, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 can be combined The integration realizes the input and output functions of the wearable device, which is not specifically limited here. For example, when a message notification of an application program is received through the radio frequency unit 101, the processor 110 may control the message notification to be displayed in a certain preset area of the display panel 1061, and the preset area is the same as that of the touch panel 1071. Corresponding to a certain area, by performing a touch operation on a certain area of the touch panel 1071 , the message notification displayed in the corresponding area on the display panel 1061 can be controlled.

接口单元108用作至少一个外部装置与可穿戴设备100连接可以通过的 接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电 池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块 的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等。接口 单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等)并且将 接收到的输入传输到可穿戴设备100内的一个或多个元件或者可以用于在可 穿戴设备100和外部装置之间传输数据。The interface unit 108 serves as an interface through which at least one external device can be connected with the wearable device 100. For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) Transfer data between external devices.

在一种实施方式中,可穿戴设备100的接口单元108采用触点的结构, 通过触点与对应的其他设备连接,实现充电、连接等功能。采用触点还可以 防水。In one embodiment, the interface unit 108 of the wearable device 100 adopts a structure of contacts, and is connected with other corresponding devices through the contacts to realize functions such as charging and connection. The contacts are also waterproof.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括 存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功 能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区 可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外, 存储器109可以包括行速随机存取存储器,还可以包括非易失性存储器,例 如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 109 may include row-rate random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器110是可穿戴设备的控制中心,利用各种接口和线路连接整个可 穿戴设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或 模块,以及调用存储在存储器109内的数据,执行可穿戴设备的各种功能和 处理数据,从而对可穿戴设备进行整体监控。处理器110可包括一个或多个 处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中, 应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主 要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理 器110中。The processor 110 is the control center of the wearable device, and uses various interfaces and lines to connect various parts of the entire wearable device, by running or executing software programs and/or modules stored in the memory 109, and calling the software stored in the memory 109 data, perform various functions of the wearable device and process data, so as to monitor the wearable device as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110.

本发明中,处理器110执行存储在存储器109内的计算机程序,以执行 下述操作:In the present invention, the processor 110 executes the computer program stored in the memory 109 to perform the following operations:

获取所述GPS定位、所述陀螺仪传感器及所述心率传感器实时检测的数 据;Obtaining the real-time detection data of the GPS positioning, the gyroscope sensor and the heart rate sensor;

基于所述数据,判断穿戴所述可穿戴设备的用户是否处于驾驶状态;Based on the data, determine whether the user wearing the wearable device is in a driving state;

若处于驾驶状态,则控制所述可穿戴设备切换至驾驶控制模式;If it is in a driving state, control the wearable device to switch to a driving control mode;

在检测到所述驾驶控制模式对应的预设的控制动作时,确定所述预设的 控制动作对应的操作指令;When detecting a preset control action corresponding to the driving control mode, determine an operation instruction corresponding to the preset control action;

基于所述操作指令执行对应的控制操作。A corresponding control operation is performed based on the operation instruction.

进一步地,处理器110执行存储在存储器109内的计算机程序,还执行 以下操作:Further, the processor 110 executes the computer program stored in the memory 109, and also performs the following operations:

基于所述GPS定位、所述陀螺仪传感器及所述心率传感器实时检测的数 据,判断所述GPS定位的数据是否超过预设移动速度阈值,所述陀螺仪传感 器的数据是否超过预设陀螺仪传感器数据阈值,且所述心率传感器的数据是 否超过预设心率变化幅度阈值;Based on the real-time detection data of the GPS positioning, the gyroscope sensor, and the heart rate sensor, determine whether the data of the GPS positioning exceeds a preset movement speed threshold, and whether the data of the gyroscope sensor exceeds a preset gyroscope sensor A data threshold, and whether the data of the heart rate sensor exceeds a preset heart rate variation threshold;

若所述GPS定位的数据超过预设移动速度阈值、所述陀螺仪传感器的数 据超过预设陀螺仪传感器数据阈值且所述心率传感器的数据超过预设心率变 化幅度阈值,则确定穿戴所述可穿戴设备的用户处于驾驶状态。If the data of the GPS positioning exceeds the preset movement speed threshold, the data of the gyro sensor exceeds the preset gyro sensor data threshold, and the data of the heart rate sensor exceeds the preset heart rate variation threshold, then it is determined to wear the wearable The user wearing the device is driving.

进一步地,处理器110执行存储在存储器109内的计算机程序,还执行 以下操作:Further, the processor 110 executes the computer program stored in the memory 109, and also performs the following operations:

若穿戴所述可穿戴设备的用户处于驾驶状态,则检测所述可穿戴设备当 前控制模式是否为普通控制模式;If the user wearing the wearable device is in a driving state, then detect whether the current control mode of the wearable device is a normal control mode;

若当前控制模式是所述普通控制模式,则将所述可穿戴设备当前控制模 式切换至驾驶控制模式。If the current control mode is the normal control mode, the current control mode of the wearable device is switched to the driving control mode.

进一步地,处理器110执行存储在存储器109内的计算机程序,还执行 以下操作:Further, the processor 110 executes the computer program stored in the memory 109, and also performs the following operations:

若当前控制模式是所述普通控制模式,则显示包含是否切换至驾驶控制模式 的选择指令的选择界面;If the current control mode is the normal control mode, a selection interface containing a selection command of whether to switch to the driving control mode is displayed;

在接收到切换至驾驶控制模式的选择指令时,则将所述可穿戴设备当前 控制模式切换至驾驶控制模式。When receiving a selection instruction to switch to the driving control mode, the current control mode of the wearable device is switched to the driving control mode.

进一步地,处理器110执行存储在存储器109内的计算机程序,还执行 以下操作:Further, the processor 110 executes the computer program stored in the memory 109, and also performs the following operations:

在检测到控制动作时,查询预设的控制动作库中是否存在所述控制动作 对应的预设的控制动作;When a control action is detected, query whether there is a preset control action corresponding to the control action in the preset control action library;

若存在对应的预设的控制动作,则确定所述控制动作为预设的控制动作。If there is a corresponding preset control action, it is determined that the control action is a preset control action.

进一步地,处理器110执行存储在存储器109内的计算机程序,还执行 以下操作:Further, the processor 110 executes the computer program stored in the memory 109, and also performs the following operations:

在检测到抬腕控制动作时,获取所述抬腕控制动作的运动参数;When a wrist-raising control action is detected, motion parameters of the wrist-raising control action are obtained;

根据所述运动参数查询预设的控制动作库中是否存在对应的预设运动参 数;Query whether there are corresponding preset motion parameters in the preset control action library according to the motion parameters;

若存在对应的预设运动参数,则确定预设的控制动作库中存在所述控制 动作对应的预设的控制动作;If there is a corresponding preset motion parameter, it is determined that there is a preset control action corresponding to the control action in the preset control action library;

若不存在对应的预设运动参数,则确定预设的控制动作库中不存在所述 控制动作对应的预设的控制动作。If there is no corresponding preset motion parameter, it is determined that there is no preset control action corresponding to the control action in the preset control action library.

进一步地,处理器110执行存储在存储器109内的计算机程序,还执行 以下操作:Further, the processor 110 executes the computer program stored in the memory 109, and also performs the following operations:

若确定穿戴所述可穿戴设备的用户结束驾驶状态,则将所述可穿戴设备 切换至普通控制模式。If it is determined that the user wearing the wearable device ends the driving state, then the wearable device is switched to a normal control mode.

进一步地,处理器110执行存储在存储器109内的计算机程序,还执行 以下操作:Further, the processor 110 executes the computer program stored in the memory 109, and also performs the following operations:

在接收到预设的控制动作库的设置指令时,获取所述设置指令对应的预 设的控制动作信息;When receiving the setting instruction of the preset control action library, obtain the preset control action information corresponding to the setting instruction;

关联保存所述设置指令与预设的控制动作信息至预设的控制动作。The setting instruction and the preset control action information are stored in association with the preset control action.

可穿戴设备100还可以包括给各个部件供电的电源111(比如电池),优 选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源 管理系统实现管理充电、放电、以及功耗管理等功能。The wearable device 100 can also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.

尽管图1未示出,可穿戴设备100还可以包括蓝牙模块等,在此不再赘 述。可穿戴设备100通过蓝牙,可以与其他终端设备连接,实现通信以及信 息的交互。Although not shown in FIG. 1 , the wearable device 100 may also include a Bluetooth module, etc., which will not be repeated here. The wearable device 100 can be connected with other terminal devices through Bluetooth to realize communication and information interaction.

请参考图2-图4,为本发明实施例提供的一种可穿戴设备一种实施方式下 的结构示意图。本发明实施例中的可穿戴设备,包括柔性屏幕。在可穿戴设 备展开时,柔性屏幕呈长条形;在可穿戴设备处于穿戴状态时,柔性屏幕弯 曲呈环状。图2及图3示出了可穿戴设备屏幕展开时的结构示意图,图4示 出了可穿戴设备屏幕弯曲时的结构示意图。Please refer to Fig. 2-Fig. 4, which are structural schematic diagrams of an implementation mode of a wearable device provided by an embodiment of the present invention. The wearable device in the embodiment of the present invention includes a flexible screen. When the wearable device is unfolded, the flexible screen is in the shape of a strip; when the wearable device is in the wearing state, the flexible screen is bent into a ring shape. Fig. 2 and Fig. 3 show the schematic diagram of the structure when the screen of the wearable device is unfolded, and Fig. 4 shows the schematic diagram of the structure of the screen of the wearable device when it is bent.

基于上述各个实施方式,可以看到,若所述设备为手表、手环或者可穿 戴式设备时,所述设备的屏幕可以不覆盖设备的表带区域,也可以覆盖设备 的表带区域。在此,本发明提出一种可选的实施方式,在本实施方式中,所 述设备可以为手表、手环或者可穿戴式设备,所述设备包括屏幕以及连接部。 所述屏幕可以为柔性屏幕,所述连接部可以为表带。可选的,所述设备的屏 幕或者屏幕的显示区可以部分或者全部的覆盖在设备的表带上。如图5所示, 图5为本申请实施例提供的一种可穿戴设备一种实施方式的硬件示意图,所 述设备的屏幕向两侧延伸,部分的覆盖在设备的表带上。在其他实施方式中, 所述设备的屏幕也可以全部覆盖在所述设备的表带上。Based on the above embodiments, it can be seen that if the device is a watch, bracelet or wearable device, the screen of the device may not cover the strap area of the device, or may cover the strap area of the device. Here, the present invention proposes an optional implementation manner. In this implementation manner, the device may be a watch, a bracelet or a wearable device, and the device includes a screen and a connecting part. The screen may be a flexible screen, and the connecting part may be a strap. Optionally, the screen of the device or the display area of the screen can be partially or completely covered on the strap of the device. As shown in Figure 5, Figure 5 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application. The screen of the device extends to both sides and partially covers the strap of the device. In other implementation manners, the screen of the device may also completely cover the strap of the device.

本发明进一步提供一种可穿戴设备控制方法。The present invention further provides a wearable device control method.

参照图6,图6为本发明可穿戴设备控制方法第一实施例的方法示意图。Referring to FIG. 6 , FIG. 6 is a method schematic diagram of a first embodiment of a method for controlling a wearable device according to the present invention.

在本实施例中,所述可穿戴设备控制方法包括:In this embodiment, the wearable device control method includes:

步骤S10,获取所述GPS定位、所述陀螺仪传感器及所述心率传感器实 时检测的数据;Step S10, obtaining the data detected by the GPS positioning, the gyroscope sensor and the heart rate sensor in real time;

本实施例中,该可穿戴设备控制方法运用于可穿戴设备,可穿戴设备, 一般通过抬腕亮屏侦测技术控制穿戴式智能终端自动点亮触摸屏的方案,或 者通过触发穿戴式智能终端的固定键或者屏幕的方式,实现穿戴式智能终端 的功能控制,但是,在当用户处于驾驶状态时,可能会无故点亮穿戴式智能 终端的屏幕,或者由于驾驶姿势,穿戴式智能终端的固定键或者屏幕的触发 反应不灵敏,因此,存在可穿戴设备控制操作不稳定的技术问题,从而影响 驾驶中用户的专注度,进而减低了用户的体验感。In this embodiment, the wearable device control method is applied to wearable devices, and wearable devices generally control the scheme of automatically lighting up the touch screen of the wearable smart terminal by raising the wrist to turn on the screen detection technology, or by triggering the wearable smart terminal. However, when the user is in the driving state, the screen of the wearable smart terminal may light up for no reason, or due to the driving posture, the fixed key of the wearable smart terminal Or the trigger response of the screen is not sensitive. Therefore, there is a technical problem that the control operation of the wearable device is unstable, which affects the user's concentration during driving, thereby reducing the user's sense of experience.

本实施例中,该可穿戴设备包括心率传感器、陀螺仪传感器及GPS定位 (GlobalPositioning System,全球定位系统),其中,GPS定位用于判断穿戴 可穿戴设备的用户的移动位置变化速度,从而判断穿戴可穿戴设备的用户是 否在移动的车上,陀螺仪传感器检测穿戴可穿戴设备的用户的运动状态,比 如是处于静止状态,还是运动状态,心率传感器设置于手腕处,当陀螺仪传 感器检测到穿戴可穿戴设备的用户处于运动状态时,结合心率传感器判断穿 戴可穿戴设备的用户是否处于驾驶状态,判断穿戴可穿戴设备的用户是否处 于驾驶状态,可以通过软件结合心率传感器、陀螺仪传感器及GPS定位实现。In this embodiment, the wearable device includes a heart rate sensor, a gyroscope sensor, and a GPS positioning (Global Positioning System, Global Positioning System), wherein the GPS positioning is used to determine the speed of change of the user's mobile position wearing the wearable device, thereby determining whether the wearable device is worn. Whether the user of the wearable device is in a moving car, the gyroscope sensor detects the motion state of the user wearing the wearable device, such as whether it is in a static state or in a motion state, and the heart rate sensor is set at the wrist. When the gyroscope sensor detects that the user is wearing When the user of the wearable device is in a state of exercise, combined with the heart rate sensor to determine whether the user wearing the wearable device is in the driving state, and to determine whether the user wearing the wearable device is in the driving state, the software can combine the heart rate sensor, gyroscope sensor and GPS positioning accomplish.

步骤S20,基于所述数据,判断穿戴所述可穿戴设备的用户是否处于驾驶 状态,若是,则执行步骤S30;Step S20, based on the data, determine whether the user wearing the wearable device is in a driving state, if so, execute step S30;

步骤S30,控制所述可穿戴设备切换至驾驶控制模式;Step S30, controlling the wearable device to switch to a driving control mode;

在本实施例中,基于所述GPS定位、所述陀螺仪传感器及所述心率传感 器实时检测的数据,综合判定穿戴可穿戴设备的用户是否处于驾驶状态,若 确定穿戴可穿戴设备的用户处于驾驶状态,则控制可穿戴设备切换至驾驶控 制模式。In this embodiment, based on the GPS positioning, the data detected by the gyroscope sensor and the heart rate sensor in real time, it is comprehensively determined whether the user wearing the wearable device is in the driving state, if it is determined that the user wearing the wearable device is in the driving state state, control the wearable device to switch to the driving control mode.

具体地,通过GPS定位确定可穿戴设备的位置及移动位置信息,通过陀 陀螺仪传感器,检测X、Y、Z轴的角速度值数据,用于判断陀螺仪传感器测 量到的X、Y、Z轴的角速度值数据中是否有某一轴的角速度值数据超过预设 的门限值,从而识别穿戴可穿戴设备的用户的手腕是否握持方向盘状态。通 过心率传感器从穿戴用户的手腕部进行心率检测,如心率脉搏、运动心率、 血氧静态检测、运动过程中的心率检测等数据,结合可穿戴设备的位置及移 动位置信息、角速度值数据及心率检测等数据判断穿戴可穿戴设备的用户是 否处于驾驶状态。Specifically, determine the position and mobile position information of the wearable device through GPS positioning, and detect the angular velocity value data of the X, Y, and Z axes through the gyroscope sensor, which is used to judge the X, Y, and Z axes measured by the gyroscope sensor. Whether the angular velocity value data of a certain axis in the angular velocity value data exceeds the preset threshold value, so as to identify whether the wrist of the user wearing the wearable device is holding the steering wheel. Heart rate detection from the wearer's wrist through the heart rate sensor, such as heart rate pulse, exercise heart rate, blood oxygen static detection, heart rate detection during exercise and other data, combined with the wearable device's position and mobile position information, angular velocity value data and heart rate Detection and other data to determine whether the user wearing the wearable device is in a driving state.

其中,位置信息包括位置移动点的经纬度坐标数据,通过可穿戴设备的 位置及移动位置信息,确定可穿戴设备的移动速度,Among them, the location information includes the longitude and latitude coordinate data of the location moving point, and the moving speed of the wearable device is determined through the location of the wearable device and the moving location information.

可选地,步骤S20包括:Optionally, step S20 includes:

步骤a,基于所述GPS定位、所述陀螺仪传感器及所述心率传感器实时 检测的数据,判断所述GPS定位的数据是否超过预设移动速度阈值,所述陀 螺仪传感器的数据是否超过预设陀螺仪传感器数据阈值,且所述心率传感器 的数据是否超过预设心率变化幅度阈值;Step a, based on the real-time detection data of the GPS positioning, the gyroscope sensor and the heart rate sensor, it is judged whether the data of the GPS positioning exceeds a preset movement speed threshold, and whether the data of the gyroscope sensor exceeds a preset The data threshold of the gyroscope sensor, and whether the data of the heart rate sensor exceeds the preset heart rate variation threshold;

步骤b,若所述GPS定位的数据超过预设移动速度阈值、所述陀螺仪传 感器的数据超过预设陀螺仪传感器数据阈值且所述心率传感器的数据超过预 设心率变化幅度阈值,则确定穿戴所述可穿戴设备的用户处于驾驶状态。Step b, if the data of the GPS positioning exceeds the preset movement speed threshold, the data of the gyroscope sensor exceeds the preset gyroscope sensor data threshold, and the data of the heart rate sensor exceeds the preset heart rate variation threshold, determine that the wearing The user of the wearable device is in a driving state.

本实施例中,通过基于GPS定位、陀螺仪传感器及所述心率传感器实时 检测的数据,判断GPS定位的数据是否超过预设移动速度阈值,陀螺仪传感 器的数据是否超过预设陀螺仪传感器数据阈值,且心率传感器的数据是否超 过预设心率变化幅度阈值,若所述GPS定位的数据超过预设移动速度阈值、 所述陀螺仪传感器的数据超过预设陀螺仪传感器数据阈值且所述心率传感器 的数据超过预设心率变化幅度阈值,则确定穿戴所述可穿戴设备的用户处于 驾驶状态。In this embodiment, based on GPS positioning, data detected by the gyroscope sensor and the heart rate sensor in real time, it is judged whether the data of the GPS positioning exceeds the preset movement speed threshold, and whether the data of the gyroscope sensor exceeds the preset gyroscope sensor data threshold , and whether the data of the heart rate sensor exceeds the preset heart rate variation threshold, if the data of the GPS positioning exceeds the preset movement speed threshold, the data of the gyroscope sensor exceeds the preset gyroscope sensor data threshold and the heart rate sensor If the data exceeds the preset heart rate variation threshold, it is determined that the user wearing the wearable device is in a driving state.

进一步地,在一种实施方式中,通过GPS定位,实时检测穿戴可穿戴设 备的用户的移动轨迹信息,根据该移动轨迹信息,判断穿戴可穿戴设备的用 户的移动速度是否超过预设移动速度阈值,若超过预设移动速度阈值,则确 定可穿戴设备处于快速移动状态,若可穿戴设备的移动速度未超过预设移动 速度阈值,则确定可穿戴设备未处于快速移动状态。例如,预先设置预设移 动速度阈值为10m/h,则在检测到当前用户穿戴的可穿戴设备的移动速度为 15m/h,则确定当前用户穿戴的可穿戴设备的移动速度超过预设移动速度阈值时,确定可穿戴设备处于快速移动状态。Further, in one embodiment, the movement trajectory information of the user wearing the wearable device is detected in real time through GPS positioning, and according to the movement trajectory information, it is judged whether the movement speed of the user wearing the wearable device exceeds the preset movement speed threshold , if it exceeds the preset moving speed threshold, it is determined that the wearable device is in the fast moving state, and if the moving speed of the wearable device does not exceed the preset moving speed threshold, it is determined that the wearable device is not in the fast moving state. For example, if the preset moving speed threshold is set to 10m/h in advance, then when it is detected that the moving speed of the wearable device worn by the current user is 15m/h, it is determined that the moving speed of the wearable device worn by the current user exceeds the preset moving speed When the threshold is reached, it is determined that the wearable device is in a fast-moving state.

进一步地,在一种实施方式中,在确定可穿戴设备处于快速移动状态时, 基于当前对应的陀螺仪传感器数据,其中,陀螺仪传感器数据包括X、Y、Z 轴的角速度值数据,判断当前对应的陀螺仪传感器数据是否超过预设陀螺仪 传感器数据阈值,传感器数据阈值包括某一轴的角速度值数据对应的预设的 门限值,若当前对应的陀螺仪传感器数据超过陀螺仪传感器数据阈值,则确 定超过陀螺仪传感器的数据阈值对应的可穿戴设备处于运动状态,若当前对 应的陀螺仪传感器数据未超过陀螺仪传感器数据阈值,则确定对应的可穿戴 设备未处于运动状态。Further, in one embodiment, when it is determined that the wearable device is in a fast-moving state, based on the current corresponding gyroscope sensor data, wherein the gyroscope sensor data includes angular velocity value data of the X, Y, and Z axes, it is judged that the current Whether the corresponding gyroscope sensor data exceeds the preset gyroscope sensor data threshold. The sensor data threshold includes the preset threshold value corresponding to the angular velocity value data of a certain axis. If the current corresponding gyroscope sensor data exceeds the gyroscope sensor data threshold , it is determined that the wearable device corresponding to exceeding the data threshold of the gyroscope sensor is in a motion state, and if the current corresponding gyroscope sensor data does not exceed the data threshold of the gyroscope sensor, it is determined that the corresponding wearable device is not in a motion state.

进一步地,在一种实施方式中,在确定可穿戴设备处于快速移动且运动 状态时,获取当前对应的预设时间段内的心率传感器数据,根据预设时间段 内的心率传感器检测的心率数据,得到穿戴该可穿戴设备的用户在预设时间 段内的心率变化幅度,将该心率变化幅度与预设心率变化幅度阈值比较,若 该心率变化幅度超过预设心率变化幅度阈值,则确定可穿戴设备的用户处于 驾驶状态,若该心率变化幅度小于或等于预设心率变化幅度阈值,则确定可 穿戴设备的用户未处于驾驶状态。Further, in one embodiment, when it is determined that the wearable device is in a fast-moving and exercising state, the heart rate sensor data within the current corresponding preset time period is acquired, and the heart rate data detected by the heart rate sensor within the preset time period , to obtain the heart rate change range of the user wearing the wearable device within a preset time period, compare the heart rate change range with the preset heart rate change range threshold, and if the heart rate change range exceeds the preset heart rate change range threshold, it is determined that the The user of the wearable device is in a driving state, and if the heart rate variation range is less than or equal to a preset heart rate variation range threshold, it is determined that the wearable device user is not in a driving state.

进一步地,在一种实施方式中,在确定穿戴可穿戴设备的用户处于驾驶 状态,将可穿戴设备的控制模式切换至驾驶控制模式,其中,需要说明的是, 控制模式包括驾驶控制模式与普通控制模式,其中,普通控制模式为戴可穿 戴设备的用户在非驾驶状态下,在接收到普通控制模式对应的控制指令时, 执行普通控制模式下的普通控制动作对应的普通控制指令的操作。需要说明 的是,非驾驶状态包括穿戴可穿戴设备的用户处于散步、写作、或睡觉等状 态,为了避免驾驶状态中,误触发可穿戴设备的控制指令,例如,普通控制模式对应的普通控制动作包括抬腕一次的控制动作,从而触发点亮屏幕的普 通控制指令。从而,启动驾驶控制模式,通过驾驶控制模式下区别于普通控 制动的预设的控制动作,实现避免可穿戴设备误操作,从而导致可穿戴设备 不稳定的技术问题。Further, in one embodiment, after it is determined that the user wearing the wearable device is in the driving state, the control mode of the wearable device is switched to the driving control mode, wherein, it should be noted that the control mode includes driving control mode and normal The control mode, wherein, the normal control mode is that the user wearing the wearable device performs the operation corresponding to the normal control command corresponding to the normal control action in the normal control mode when receiving the control command corresponding to the normal control mode in the non-driving state. It should be noted that the non-driving state includes that the user wearing the wearable device is walking, writing, or sleeping. In order to avoid falsely triggering the control command of the wearable device in the driving state, for example, the ordinary control action corresponding to the ordinary control mode Including the control action of raising the wrist once to trigger the normal control command to light up the screen. Therefore, the driving control mode is activated, and the preset control action in the driving control mode is different from that of the ordinary control brake, so as to avoid the misoperation of the wearable device, resulting in the technical problem of instability of the wearable device.

步骤S40,在检测到所述驾驶控制模式对应的预设的控制动作时,确定所 述预设的控制动作对应的操作指令;Step S40, when a preset control action corresponding to the driving control mode is detected, determine an operation instruction corresponding to the preset control action;

本实施例中,为降低可穿戴设备在驾驶过程中的误操作率,在可穿戴设 备中预设一套区别于普通控制操作的预设的控制动作,从而触发对应的操作 指令,为后续实现对应的操作功能,提供了技术支持。In this embodiment, in order to reduce the misoperation rate of the wearable device during driving, a set of preset control actions that are different from ordinary control operations are preset in the wearable device, thereby triggering the corresponding operation command, which is for subsequent realization The corresponding operation function provides technical support.

具体地,在一种实施方式中,在检测到驾驶控制模式对应的预设的控制 动作时,依据该预设的控制动作的信息,查询匹配对应的预设控制指令,例 如,在驾驶控制模式对应的预设的控制动作包括连续抬腕三次的预设的控制 动作,从而触发播放音乐的预设控制指令。具体地,陀螺仪传感器在检测到 连续抬腕三次的控制动作时,获取连续抬腕三次的控制动作对应的参数值, 并检测每一次参数数值是否都在预设抬腕参数数值范围,若用户的连续抬腕 三次的参数值都位于预设的抬腕参数值范围内,则确定该连续抬腕三次的控 制动作属于预设的控制动作,则触发该预设的控制动作对应的操作指令。需 要说明的是,预设的控制动作与对应的操作指令需要提前在可穿戴设备中进 行设置。Specifically, in one embodiment, when a preset control action corresponding to the driving control mode is detected, the corresponding preset control instruction is queried and matched according to the information of the preset control action, for example, in the driving control mode The corresponding preset control action includes a preset control action of raising the wrist three times in a row, thereby triggering a preset control instruction to play music. Specifically, when the gyro sensor detects the control action of raising the wrist three times in a row, it obtains the parameter value corresponding to the control action of raising the wrist three times in a row, and detects whether each parameter value is within the preset wrist raising parameter value range. If the user If the parameter values of raising the wrist three times in a row are all within the preset wrist raising parameter value range, then it is determined that the control action of raising the wrist three times in a row belongs to the preset control action, and an operation command corresponding to the preset control action is triggered. It should be noted that the preset control actions and corresponding operation instructions need to be set in the wearable device in advance.

步骤S50,基于所述操作指令执行对应的控制操作。Step S50, executing a corresponding control operation based on the operation instruction.

本实施例中,在接收到预设的控制动作对应的操作指令时,执行该操作 指令对应的控制操作,其中,操作指令与该操作指令对应的控制操作,需要 提前在可穿戴设备中进行关联设置。In this embodiment, when the operation instruction corresponding to the preset control action is received, the control operation corresponding to the operation instruction is executed, wherein the operation instruction and the control operation corresponding to the operation instruction need to be associated in advance in the wearable device set up.

可选地,步骤S50之后,还包括若确定穿戴所述可穿戴设备的用户结束 驾驶状态,则将所述可穿戴设备切换至普通控制模式。Optionally, after step S50, if it is determined that the user wearing the wearable device has finished driving, then switching the wearable device to a normal control mode.

本实施例中,若基于GPS定位、陀螺仪传感器及心率传感器实时检测的 数据,确定穿戴可穿戴设备的用户结束驾驶状态,则控制可穿戴设备切换至 普通控制模式。In this embodiment, if it is determined based on the real-time detection data of GPS positioning, gyroscope sensor and heart rate sensor that the user wearing the wearable device has finished driving, the wearable device is controlled to switch to the normal control mode.

进一步地,在一种实施方式中,若基于GPS定位、陀螺仪传感器及心率 传感器实时检测的数据,确定穿戴可穿戴设备的用户结束驾驶状态,则显示 包含是否切换至普通控制模式及提示信息的选择界面,在接收到用户基于该 选择界面触发的切换至普通控制模式的选择指令时,执行该选择指令对应的 切换操作,从而起到增加切换操作的灵活度及提醒用户的作用。Furthermore, in one embodiment, if it is determined based on GPS positioning, data detected by the gyroscope sensor and heart rate sensor in real time that the user wearing the wearable device has finished driving, a message including whether to switch to the normal control mode and prompt information will be displayed. The selection interface executes the switching operation corresponding to the selection instruction when receiving the selection instruction triggered by the user to switch to the normal control mode based on the selection interface, thereby increasing the flexibility of the switching operation and reminding the user.

本实施例中,通过GPS定位、陀螺仪传感器及心率传感器实时检测的数 据,确定穿戴可穿戴设备的用户是否处于驾驶状态,若处于驾驶状态,则将 可穿戴设备的控制模式控制为驾驶控制模式,在检测到驾驶控制模式对应的 预设的控制动作时,确定预设的控制动作对应的操作指令,基于操作指令实 现对应的控制操作,从而实现在驾驶状态下,对可穿戴设备以驾驶控制模式 进行控制操作,提高了驾驶状态下可穿戴设备的控制稳定性,从而提高用户 的使用舒适度。In this embodiment, it is determined whether the user wearing the wearable device is in the driving state through GPS positioning, data detected by the gyroscope sensor and the heart rate sensor in real time, and if the user is in the driving state, the control mode of the wearable device is controlled to the driving control mode , when the preset control action corresponding to the driving control mode is detected, the operation instruction corresponding to the preset control action is determined, and the corresponding control operation is realized based on the operation instruction, so as to realize the driving control of the wearable device in the driving state The control operation is carried out according to the mode, which improves the control stability of the wearable device in the driving state, thereby improving the comfort of the user.

进一步地,基于第一实施例,提出本发明可穿戴设备控制方法的第二实 施例,所述步骤S30包括:Further, based on the first embodiment, a second embodiment of the wearable device control method of the present invention is proposed, and the step S30 includes:

步骤S301,若穿戴所述可穿戴设备的用户处于驾驶状态,则检测所述可 穿戴设备当前控制模式是否为普通控制模式;Step S301, if the user wearing the wearable device is in a driving state, then detect whether the current control mode of the wearable device is a normal control mode;

步骤S302,若当前控制模式是所述普通控制模式,则将所述可穿戴设备 当前控制模式切换至驾驶控制模式。Step S302, if the current control mode is the normal control mode, switch the current control mode of the wearable device to the driving control mode.

本实施例中,若确定穿戴可穿戴设备的用户处于驾驶状态,则根据当前 可穿戴设备的控制模式,确定可穿戴设备当前控制模式是否为普通控制模式, 若当前控制模式是普通控制模式,则将可穿戴设备当前控制模式切换至驾驶 控制模式。In this embodiment, if it is determined that the user wearing the wearable device is in the driving state, then according to the current control mode of the wearable device, it is determined whether the current control mode of the wearable device is the normal control mode, and if the current control mode is the normal control mode, then Switch the current control mode of the wearable device to the driving control mode.

进一步地,在一种实施方式中,若确定穿戴可穿戴设备的用户处于驾驶 状态,则根据当前可穿戴设备的控制模式,确定当前控制模式是否为普通控 制模式,若当前控制模式是驾驶控制模式,则维持原有驾驶控制模式。Further, in one embodiment, if it is determined that the user wearing the wearable device is in the driving state, then according to the current control mode of the wearable device, it is determined whether the current control mode is the normal control mode, if the current control mode is the driving control mode , then maintain the original driving control mode.

本实施例中,通过在确定穿戴可穿戴设备的用户处于驾驶状态后,对当 前可穿戴设备的控制模式的检测,从而保证了后续穿戴可穿戴设备的用户处 于驾驶状态下,驾驶控制模式的设置,从而为后续执行驾驶控制模式下操作 指令执行对应的控制操作,提供了技术支持。In this embodiment, after it is determined that the user wearing the wearable device is in the driving state, the current control mode of the wearable device is detected, thereby ensuring the setting of the driving control mode when the user wearing the wearable device is in the driving state. , so as to provide technical support for the subsequent execution of the corresponding control operation of the operation instruction in the driving control mode.

进一步地,基于第二实施例,提出本发明可穿戴设备控制方法的第三实 施例,所述步骤S302包括:Further, based on the second embodiment, a third embodiment of the wearable device control method of the present invention is proposed, the step S302 includes:

步骤S3021,若当前控制模式是所述普通控制模式,则显示包含是否切换 至驾驶控制模式的选择指令的选择界面;Step S3021, if the current control mode is the normal control mode, display a selection interface including a selection instruction whether to switch to the driving control mode;

步骤S3022,在接收到切换至驾驶控制模式的选择指令时,则将所述可穿 戴设备当前控制模式切换至驾驶控制模式。Step S3022, when receiving a selection instruction to switch to the driving control mode, switch the current control mode of the wearable device to the driving control mode.

本实施例中,在检测到当前控制模式是普通控制模式时,则显示包含是 否切换至驾驶控制模式的选择指令的选择界面,在接收到用户基于该选择界 面触发的切换至驾驶控制模式的选择指令时,则将可穿戴设备当前控制模式 切换至驾驶控制模式。In this embodiment, when it is detected that the current control mode is the normal control mode, a selection interface containing a selection instruction whether to switch to the driving control mode is displayed, and when the selection of switching to the driving control mode triggered by the user based on the selection interface is received When commanded, switch the current control mode of the wearable device to the driving control mode.

进一步地,在一种实施方式中,在检测到当前控制模式是普通控制模式 时,则显示包含是否切换至驾驶控制模式的选择指令的选择界面,在接收到 用户基于该选择界面触发的不切换至驾驶控制模式的选择指令时,则将当前 控制模式维持在普通控制模式。Further, in one embodiment, when it is detected that the current control mode is the normal control mode, a selection interface containing a selection instruction whether to switch to the driving control mode is displayed, and when the user triggers the selection interface based on the selection interface not to switch When the selection command of the driving control mode is reached, the current control mode is maintained at the normal control mode.

进一步地,在一种实施方式中,该选择界面的选择指令的触发方式包括 预设抬腕动作触发方式或预设甩腕动作触发方式,便于用户在驾驶过程中进 行单手操作,从而提高用户的体验感,其中,预设抬腕动作触发方式或预设 甩腕动作触发方式的具体动作轨迹方向及次数的组合形式,不受本实施例的 限制,可以依据用户的个人喜好和习惯进行设置。Further, in one embodiment, the triggering mode of the selection instruction of the selection interface includes a preset triggering mode of raising the wrist or a preset triggering mode of swinging the wrist, which is convenient for the user to perform one-handed operation during driving, thereby improving user experience, wherein, the combination of the specific movement track direction and times of the preset wrist-raising action triggering method or the preset wrist-swinging action triggering method is not limited by this embodiment, and can be set according to the user's personal preferences and habits .

本实施例中,在确定当前控制模式为普通控制模式,且可穿戴设备为驾 驶状态时,通过显示可以选择是否切换至驾驶控制模式的选择界面,从而提 高是否切换至驾驶控制模式的灵活性,进而提高了用户控制可穿戴设备的体 验感。In this embodiment, when it is determined that the current control mode is the normal control mode and the wearable device is in the driving state, by displaying a selection interface where you can choose whether to switch to the driving control mode, the flexibility of whether to switch to the driving control mode is improved. In turn, the user's experience in controlling the wearable device is improved.

进一步地,基于第一实施例,提出本发明可穿戴设备控制方法的第四实 施例,所述步骤S40之前,还包括:Further, based on the first embodiment, a fourth embodiment of the wearable device control method of the present invention is proposed. Before the step S40, it also includes:

步骤S60,在检测到控制动作时,查询预设的控制动作库中是否存在所述 控制动作对应的预设的控制动作;Step S60, when a control action is detected, query whether there is a preset control action corresponding to the control action in the preset control action library;

步骤S70,若存在对应的预设的控制动作,则确定所述控制动作为预设的 控制动作。Step S70, if there is a corresponding preset control action, then determine that the control action is a preset control action.

本实施例中,在检测到控制动作时,查询预设的控制动作库中是否存在 所述控制动作对应的预设的控制动作,若存在对应的预设的控制动作,则确 定控制动作为预设的控制动作。In this embodiment, when a control action is detected, it is checked whether there is a preset control action corresponding to the control action in the preset control action library, and if there is a corresponding preset control action, it is determined that the control action is a preset control action. set control actions.

具体地,在一种实施方式中,可穿戴设备包括陀螺仪感应器和触摸屏, 控制动作包括抬腕、甩腕、翻转手腕、滑动或点击触摸屏等,预设的控制动 作可以包括连续抬腕三次、手腕顺时针转动两次、甩腕三次等动作轨迹,预 设的控制动作需要预先存储在预设的控制动作库中。在检测到控制动作,将 控制动作与预设的控制动作进行比对,判断控制动作与预设的控制动作是否 匹配,若匹配,则确定该控制动作为预设的控制动作,需要指出的是,控制 动作的轨迹与预设的控制动作的轨迹并非完全相同,在误差允许范围内,即 可认为控制动作与预设的控制动作匹配。Specifically, in one embodiment, the wearable device includes a gyroscope sensor and a touch screen, and the control actions include raising the wrist, swinging the wrist, flipping the wrist, sliding or clicking the touch screen, etc., and the preset control action may include raising the wrist three times in a row , turning the wrist clockwise twice, swinging the wrist three times, etc., the preset control actions need to be pre-stored in the preset control action library. When the control action is detected, compare the control action with the preset control action, and judge whether the control action matches the preset control action. If it matches, then determine that the control action is the preset control action. It should be pointed out that , the trajectory of the control action is not exactly the same as the trajectory of the preset control action, within the allowable range of error, it can be considered that the control action matches the preset control action.

可选地,步骤S60包括:Optionally, step S60 includes:

步骤d,在检测到抬腕控制动作时,获取所述抬腕控制动作的运动参数;Step d, when the wrist raising control action is detected, the motion parameters of the wrist raising control action are acquired;

步骤e,根据所述运动参数查询预设的控制动作库中是否存在对应的预设 运动参数;Step e, query whether there are corresponding preset motion parameters in the preset control action library according to the motion parameters;

步骤f,若存在对应的预设运动参数,则确定预设的控制动作库中存在所 述控制动作对应的预设的控制动作;Step f, if there is a corresponding preset motion parameter, then determine that there is a preset control action corresponding to the control action in the preset control action library;

步骤i,若不存在对应的预设运动参数,则确定预设的控制动作库中不存 在所述控制动作对应的预设的控制动作。In step i, if there is no corresponding preset motion parameter, it is determined that there is no preset control action corresponding to the control action in the preset control action library.

本实施例中,通过陀螺仪传感器,在检测到抬腕控制动作时,获取抬腕 控制动作的运动参数,其中,运动参数包括预设时长内控制动作的动作加速 度和动作运动方向,根据当前抬腕的运动参数确定可穿戴设备的当前抬腕控 制动作的运动轨迹,需要说明的是,可穿戴设备从陀螺仪传感器中获取陀螺 仪传感器测得的当前抬腕控制动作的运动参数,该运动参数包括预设时长内 的加速度和运动方向,在预设的控制动作库中,预先设置预设的控制动作对 应的预设运动参数,需要说明的是,该预设时长是为提高抬腕控制动作的运动轨迹识别准确度而设置的时长标准,可根据实际灵活设置,此处不作限定。 且例如,设置3秒内连续抬腕三次的运动参数为控制音乐播放的预设的控制 动作,则控制音乐播放的预设的控制动作的运动参数为3秒内连续抬腕三次 的运动参数,在预设控制动作库中检测到3秒内连续抬腕三次的运动轨迹与 运动方向匹配的运动参数,是判断查询预设的控制动作库中存在控制动作对 应的预设的控制动作的依据,若存在对应的预设运动参数,则确定预设的控 制动作库中存在控制动作对应的控制音乐播放的预设的控制动作,若不存在 对应的预设运动参数,则确定预设的控制动作库中不存在对应的控制音乐播 放的预设的控制动作,需要说明的是,该控制动作包括抬腕控制动作。In this embodiment, when the wrist-raising control action is detected through the gyro sensor, the motion parameters of the wrist-raising control action are obtained, wherein the motion parameters include the motion acceleration and motion direction of the control action within a preset time period. The motion parameters of the wrist determine the motion trajectory of the current wrist raising control action of the wearable device. It should be noted that the wearable device obtains the motion parameters of the current wrist raising control action measured by the gyroscope sensor from the gyroscope sensor. Including the acceleration and motion direction within the preset duration. In the preset control action library, preset motion parameters corresponding to the preset control actions are preset. It should be noted that the preset duration is to improve the wrist raising control action. The time length standard set for the accuracy of motion trajectory recognition can be flexibly set according to the actual situation, and is not limited here. And for example, if the motion parameter of continuously raising the wrist three times within 3 seconds is set as the preset control action for controlling music playback, then the motion parameter of the preset control action for controlling music playback is the motion parameter of continuously raising the wrist three times within 3 seconds, In the preset control action library, it is detected that the movement trajectory of the wrist raised three times within 3 seconds matches the movement direction, which is the basis for judging and querying the preset control action corresponding to the control action in the preset control action library. If there is a corresponding preset motion parameter, it is determined that there is a preset control action for controlling music playback corresponding to the control action in the preset control action library, and if there is no corresponding preset motion parameter, then determine the preset control action There is no corresponding preset control action for controlling music playback in the library. It should be noted that the control action includes the wrist raising control action.

本实施例中,通过在检测到抬腕控制动作时,获取抬腕控制动作的运动 参数,并对该抬腕控制动作的运动参数与预设的控制动作库中对应的抬腕控 制动作的运动参数进行匹配,通过匹配结果,确定该抬腕控制动作是否符合 预设条件,从而确定是否存在预设的抬腕控制动作,为后续执行预设的抬腕 控制动作对应的操作提供了技术支持。In this embodiment, when the wrist raising control action is detected, the motion parameters of the wrist raising control action are acquired, and the motion parameters of the wrist raising control action are compared with the corresponding wrist raising control action in the preset control action library. The parameters are matched, and through the matching result, it is determined whether the wrist raising control action meets the preset conditions, thereby determining whether there is a preset wrist raising control action, and providing technical support for subsequent operations corresponding to the preset wrist raising control action.

此外,本发明实施例还提出一种计算机可读存储介质。In addition, an embodiment of the present invention also provides a computer-readable storage medium.

所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理 器执行时实现如上述任一项实施例中的可穿戴设备控制方法的步骤。A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the wearable device control method in any one of the above-mentioned embodiments are implemented.

本发明计算机可读存储介质具体实施方式与上述可穿戴设备控制方法各 实施例基本相同,在此不再赘述。The specific implementation of the computer-readable storage medium of the present invention is basically the same as the embodiments of the wearable device control method described above, 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 system 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 system. Without further limitations, an element qualified by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or system comprising the 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、磁碟、光 盘)中,执行本发明各个实施例所述的方法。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 such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD), execute the methods described in the 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 transformation 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 (10)

1.一种可穿戴设备控制方法,其特征在于,所述可穿戴设备包括心率传感器、陀螺仪传感器及GPS定位,所述可穿戴设备控制方法包括以下步骤:1. A wearable device control method, characterized in that, the wearable device comprises a heart rate sensor, a gyroscope sensor and GPS positioning, and the wearable device control method comprises the following steps: 获取所述GPS定位、所述陀螺仪传感器及所述心率传感器实时检测的数据;Obtaining the real-time detection data of the GPS positioning, the gyroscope sensor and the heart rate sensor; 基于所述数据,判断穿戴所述可穿戴设备的用户是否处于驾驶状态;Based on the data, determine whether the user wearing the wearable device is in a driving state; 若处于驾驶状态,则控制所述可穿戴设备切换至驾驶控制模式;If it is in a driving state, control the wearable device to switch to a driving control mode; 在检测到所述驾驶控制模式对应的预设的控制动作时,确定所述预设的控制动作对应的操作指令;When a preset control action corresponding to the driving control mode is detected, an operation instruction corresponding to the preset control action is determined; 基于所述操作指令执行对应的控制操作。A corresponding control operation is performed based on the operation instruction. 2.如权利要求1所述的可穿戴设备控制方法,其特征在于,所述基于所述数据,判断穿戴所述可穿戴设备的用户是否处于驾驶状态的步骤包括:2. The wearable device control method according to claim 1, wherein the step of determining whether the user wearing the wearable device is in a driving state based on the data comprises: 基于所述GPS定位、所述陀螺仪传感器及所述心率传感器实时检测的数据,判断所述GPS定位的数据是否超过预设移动速度阈值,所述陀螺仪传感器的数据是否超过预设陀螺仪传感器数据阈值,且所述心率传感器的数据是否超过预设心率变化幅度阈值;Based on the real-time detection data of the GPS positioning, the gyroscope sensor, and the heart rate sensor, determine whether the data of the GPS positioning exceeds a preset movement speed threshold, and whether the data of the gyroscope sensor exceeds a preset gyroscope sensor A data threshold, and whether the data of the heart rate sensor exceeds a preset heart rate variation threshold; 若所述GPS定位的数据超过预设移动速度阈值、所述陀螺仪传感器的数据超过预设陀螺仪传感器数据阈值且所述心率传感器的数据超过预设心率变化幅度阈值,则确定穿戴所述可穿戴设备的用户处于驾驶状态。If the data of the GPS positioning exceeds the preset movement speed threshold, the data of the gyro sensor exceeds the preset gyro sensor data threshold, and the data of the heart rate sensor exceeds the preset heart rate variation threshold, then it is determined to wear the wearable The user wearing the device is driving. 3.如权利要求1所述的可穿戴设备控制方法,其特征在于,所述若处于驾驶状态,则切换至驾驶控制模式的步骤包括:3. The wearable device control method according to claim 1, wherein the step of switching to the driving control mode if in the driving state comprises: 若穿戴所述可穿戴设备的用户处于驾驶状态,则检测所述可穿戴设备当前控制模式是否为普通控制模式;If the user wearing the wearable device is in a driving state, then detecting whether the current control mode of the wearable device is a normal control mode; 若当前控制模式是所述普通控制模式,则将所述可穿戴设备当前控制模式切换至驾驶控制模式。If the current control mode is the normal control mode, switch the current control mode of the wearable device to the driving control mode. 4.如权利要求3所述的可穿戴设备控制方法,其特征在于,所述若当前控制模式是所述普通控制模式,则将所述可穿戴设备当前控制模式切换至驾驶控制模式的步骤包括:4. The wearable device control method according to claim 3, wherein if the current control mode is the normal control mode, the step of switching the current control mode of the wearable device to the driving control mode comprises : 若当前控制模式是所述普通控制模式,则显示包含是否切换至驾驶控制模式的选择指令的选择界面;If the current control mode is the normal control mode, then display a selection interface including a selection instruction whether to switch to the driving control mode; 在接收到切换至驾驶控制模式的选择指令时,则将所述可穿戴设备当前控制模式切换至驾驶控制模式。When a selection instruction to switch to the driving control mode is received, the current control mode of the wearable device is switched to the driving control mode. 5.如权利要求1所述的可穿戴设备控制方法,其特征在于,所述检测到所述驾驶控制模式对应的预设的控制动作的步骤之前,还包括:5. The wearable device control method according to claim 1, wherein before the step of detecting the preset control action corresponding to the driving control mode, further comprising: 在检测到控制动作时,查询预设的控制动作库中是否存在所述控制动作对应的预设的控制动作;When a control action is detected, query whether there is a preset control action corresponding to the control action in the preset control action library; 若存在对应的预设的控制动作,则确定所述控制动作为预设的控制动作。If there is a corresponding preset control action, it is determined that the control action is a preset control action. 6.如权利要求5所述的可穿戴设备控制方法,其特征在于,所述控制动作包括抬腕控制动作,所述在检测到控制动作时,查询预设的控制动作库中是否存在所述控制动作对应的预设的控制动作的步骤包括:6. The wearable device control method according to claim 5, wherein the control action includes a wrist raising control action, and when the control action is detected, query whether the preset control action library exists. The steps of the preset control action corresponding to the control action include: 在检测到抬腕控制动作时,获取所述抬腕控制动作的运动参数;When a wrist-raising control action is detected, motion parameters of the wrist-raising control action are acquired; 根据所述运动参数查询预设的控制动作库中是否存在对应的预设运动参数;Querying whether there is a corresponding preset motion parameter in the preset control action library according to the motion parameter; 若存在对应的预设运动参数,则确定预设的控制动作库中存在所述控制动作对应的预设的控制动作;If there is a corresponding preset motion parameter, it is determined that a preset control action corresponding to the control action exists in the preset control action library; 若不存在对应的预设运动参数,则确定预设的控制动作库中不存在所述控制动作对应的预设的控制动作。If there is no corresponding preset motion parameter, it is determined that there is no preset control action corresponding to the control action in the preset control action library. 7.如权利要求1所述的可穿戴设备控制方法,其特征在于,所述在检测到预设控制指令时,执行所述预设控制指令对应的控制操作之后,还包括:7. The wearable device control method according to claim 1, characterized in that, after the preset control command is detected, after executing the control operation corresponding to the preset control command, further comprising: 若确定穿戴所述可穿戴设备的用户结束驾驶状态,则控制所述可穿戴设备切换至普通控制模式。If it is determined that the user wearing the wearable device ends the driving state, the wearable device is controlled to switch to a normal control mode. 8.如权利要求1-7中任一所述的可穿戴设备控制方法,其特征在于,所述获取所述GPS定位、所述陀螺仪传感器及所述心率传感器实时检测的数据的步骤之前,还包括:8. The wearable device control method according to any one of claims 1-7, wherein, before the step of acquiring the GPS positioning, the gyroscope sensor and the heart rate sensor real-time detection data, Also includes: 在接收到预设的控制动作库的设置指令时,获取所述设置指令对应的预设的控制动作信息;When receiving the setting instruction of the preset control action library, acquire the preset control action information corresponding to the setting instruction; 关联保存所述设置指令与预设的控制动作信息至预设的控制动作库。The setting instruction and preset control action information are stored in association with a preset control action library. 9.一种可穿戴设备,其特征在于,所述可穿戴设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;9. A wearable device, characterized in that the wearable device comprises: a memory, a processor, and a computer program stored on the memory and operable on the processor; 所述计算机程序被所述处理器执行时实现如权利要求1至8中任一项所述的可穿戴设备控制方法的步骤。When the computer program is executed by the processor, the steps of the wearable device control method according to any one of claims 1 to 8 are implemented. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述的可穿戴设备控制方法的步骤。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is realized. Steps of a wearable device control method.
CN201910467294.1A 2019-05-30 2019-05-30 Wearable device control method, wearable device and computer-readable storage medium Pending CN110187765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910467294.1A CN110187765A (en) 2019-05-30 2019-05-30 Wearable device control method, wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910467294.1A CN110187765A (en) 2019-05-30 2019-05-30 Wearable device control method, wearable device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN110187765A true CN110187765A (en) 2019-08-30

Family

ID=67719373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910467294.1A Pending CN110187765A (en) 2019-05-30 2019-05-30 Wearable device control method, wearable device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110187765A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110989832A (en) * 2019-11-21 2020-04-10 维沃移动通信有限公司 Control method and electronic equipment
CN112446049A (en) * 2020-11-27 2021-03-05 珠海读书郎网络教育有限公司 Method and system for protecting privacy short message of wearable device
CN113721768A (en) * 2021-08-30 2021-11-30 歌尔科技有限公司 Control method, device and system of wearable device and readable storage medium
CN114397956A (en) * 2021-12-07 2022-04-26 甄十信息科技(上海)有限公司 Wearable device use mode switching method and device
CN114639113A (en) * 2020-11-30 2022-06-17 风林科技(深圳)有限公司 A data processing method, device, electronic device and storage medium
CN115373509A (en) * 2021-05-17 2022-11-22 Oppo广东移动通信有限公司 Cycling safety control method, mobile terminal, wearable device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9037125B1 (en) * 2014-04-07 2015-05-19 Google Inc. Detecting driving with a wearable computing device
CN105049628A (en) * 2015-07-31 2015-11-11 小米科技有限责任公司 Method and device for controlling terminal driving mode
CN105320277A (en) * 2014-07-31 2016-02-10 三星电子株式会社 Wearable device and method of controlling the same
KR101840830B1 (en) * 2017-08-29 2018-03-21 엘아이지넥스원 주식회사 Method for controlling external electronic device based on real time position information
CN108874121A (en) * 2018-04-28 2018-11-23 努比亚技术有限公司 Control method, wearable device and the computer readable storage medium of wearable device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9037125B1 (en) * 2014-04-07 2015-05-19 Google Inc. Detecting driving with a wearable computing device
CN105320277A (en) * 2014-07-31 2016-02-10 三星电子株式会社 Wearable device and method of controlling the same
CN105049628A (en) * 2015-07-31 2015-11-11 小米科技有限责任公司 Method and device for controlling terminal driving mode
KR101840830B1 (en) * 2017-08-29 2018-03-21 엘아이지넥스원 주식회사 Method for controlling external electronic device based on real time position information
CN108874121A (en) * 2018-04-28 2018-11-23 努比亚技术有限公司 Control method, wearable device and the computer readable storage medium of wearable device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110989832A (en) * 2019-11-21 2020-04-10 维沃移动通信有限公司 Control method and electronic equipment
CN112446049A (en) * 2020-11-27 2021-03-05 珠海读书郎网络教育有限公司 Method and system for protecting privacy short message of wearable device
CN114639113A (en) * 2020-11-30 2022-06-17 风林科技(深圳)有限公司 A data processing method, device, electronic device and storage medium
CN114639113B (en) * 2020-11-30 2024-11-05 风林科技(深圳)有限公司 Data processing method, device, electronic device and storage medium
CN115373509A (en) * 2021-05-17 2022-11-22 Oppo广东移动通信有限公司 Cycling safety control method, mobile terminal, wearable device and storage medium
CN113721768A (en) * 2021-08-30 2021-11-30 歌尔科技有限公司 Control method, device and system of wearable device and readable storage medium
CN113721768B (en) * 2021-08-30 2024-07-23 歌尔科技有限公司 Control method, device and system of wearable equipment and readable storage medium
CN114397956A (en) * 2021-12-07 2022-04-26 甄十信息科技(上海)有限公司 Wearable device use mode switching method and device
CN114397956B (en) * 2021-12-07 2024-03-26 甄十信息科技(上海)有限公司 Wearing equipment use mode switching method and device

Similar Documents

Publication Publication Date Title
CN110187765A (en) Wearable device control method, wearable device and computer-readable storage medium
CN109938720B (en) Heart rate-based reminding method, wearable device and computer-readable storage medium
CN107734614B (en) Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN110109539A (en) A kind of gestural control method, wearable device and computer readable storage medium
CN105955700A (en) Sound effect adjusting method and user terminal
CN110096195B (en) Sports icon display method, wearable device and computer readable storage medium
CN110299100B (en) Display direction adjustment method, wearable device and computer readable storage medium
CN109953435B (en) Method for automatically adjusting tightness of watchband, wearable device and storage medium
CN108874121A (en) Control method, wearable device and the computer readable storage medium of wearable device
CN112566089A (en) Power consumption saving method, intelligent wearable device and computer readable storage medium
CN108055392B (en) Display area adjusting method, mobile terminal and computer readable storage medium
CN110138968A (en) A kind of incoming call reminding method, wearable device and storage medium
CN110175066A (en) Wearable device, interaction control method and computer readable storage medium
CN107317918A (en) Parameter setting method and related product
CN110139270B (en) Wearable device pairing method, wearable device and computer readable storage medium
CN109918014B (en) Page display method, wearable device and computer-readable storage medium
CN110072295B (en) Dual-channel communication method, device, first terminal and medium
CN110620411A (en) Wearable device and charging connection detection method thereof
CN110138965B (en) Wearable device, number formatting method and device thereof, and storage medium
CN109901812B (en) Volume adjustment method for wearable device, wearable device and readable storage medium
CN110069193B (en) Interface switching method of wearable device, wearable device and storage medium
CN110532050B (en) Motion data refreshing method, wearable device and computer readable storage medium
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium
CN109933187B (en) Wearing equipment operation control method, wearing equipment and computer readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190830