Operating Mode Control Method and Device, Wearable Device, Computer-Readable Storage Medium
By obtaining the motion data of the wearable device and automatically switching to the target operation mode, the problem of low control convenience of traditional wearable devices is solved, and fast mode switching and energy consumption optimization are achieved.
Patent Information
- Application Number
- CN201911188803.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-28
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2040-08-10
AI Technical Summary
Functional control of traditional wearable devices requires multiple touching of the touch screen or pressing buttons, resulting in less convenience.
By obtaining the motion data detected by the motion sensor, the target action of the wearable device is determined, and the target action is switched to the corresponding target operation mode, such as watch mode or bracelet mode, improve operation convenience.
It realizes fast mode switching of wearable devices, improves control convenience, reduces power consumption, and optimizes the energy consumption management of the device within a specific period of time.
Smart Images

Figure CN112860052B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of wearable devices, and particularly to a method and device for controlling an operating mode, a wearable device, and a computer-readable storage medium. Background Art
[0002] With the development of technology, people have higher and higher requirements for the functions of wearable devices such as smart watches and smart bracelets. Currently, the functions of wearable devices can be controlled by operating a touch screen of the wearable device or pressing a button of the wearable device. However, in traditional technologies, the functions of wearable devices often require multiple touches on the touch screen or multiple presses of the button to enter different interfaces for control, resulting in a problem of low convenience. Summary of the Invention
[0003] Embodiments of this application provide a method and device for controlling an operating mode, a wearable device, and a computer-readable storage medium, which can improve the convenience of controlling a wearable device.
[0004] An operating mode control method is applied to a wearable device. The method includes:
[0005] Obtaining motion data detected by a motion sensor, and determining a target action corresponding to the wearable device according to the motion data;
[0006] Obtaining a target operating mode corresponding to the target action;
[0007] When the target operating mode is inconsistent with the current operating mode of the wearable device, switching the wearable device to the target operating mode, where the target operating mode is one of a watch mode and a bracelet mode.
[0008] An operating mode control device includes:
[0009] An action determination module, configured to obtain motion data detected by a motion sensor, and determine a target action corresponding to the wearable device according to the motion data;
[0010] A mode acquisition module, configured to obtain a target operating mode corresponding to the target action;
[0011] A mode switching module, configured to switch the wearable device to the target operating mode when the target operating mode is inconsistent with the current operating mode of the wearable device, where the target operating mode is one of a watch mode and a bracelet mode.
[0012] A wearable device includes a memory and a processor. When a computer program stored in the memory is executed by the processor, the processor performs the following steps:
[0013] Obtain the motion data detected by the motion sensor, and determine the target action corresponding to the wearable device according to the motion data;
[0014] Obtain the target operation mode corresponding to the target action;
[0015] When the target operation mode is inconsistent with the current operation mode of the wearable device, switch the wearable device to the target operation mode, where the target operation mode is one of the watch mode and the bracelet mode.
[0016] A computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0017] Obtain the motion data detected by the motion sensor, and determine the target action corresponding to the wearable device according to the motion data;
[0018] Obtain the target operation mode corresponding to the target action;
[0019] When the target operation mode is inconsistent with the current operation mode of the wearable device, switch the wearable device to the target operation mode, where the target operation mode is one of the watch mode and the bracelet mode.
[0020] The above operation mode control method, device, wearable device, and computer-readable storage medium obtain the motion data detected by the motion sensor, determine the target action corresponding to the wearable device according to the motion data, obtain the target operation mode corresponding to the target action, and when the target operation mode is inconsistent with the current operation mode of the wearable device, switch the wearable device to the target operation mode. Since the wearable device includes a watch mode and a bracelet mode, the target action of the wearable device can be determined according to the motion data, and the wearable device can be switched to the target operation mode corresponding to the target action, which is convenient and fast to operate and can improve the convenience of controlling the wearable device. Description of the Drawings
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings.
[0022] Figure 1 It is a schematic internal structure diagram of a wearable device in an embodiment;
[0023] Figure 2Flowchart of the operation mode control method in an embodiment;
[0024] Figure 3 Flowchart of obtaining the target action of the wearable device in an embodiment;
[0025] Figure 4 Flowchart of the operation mode control method in another embodiment;
[0026] Figure 5 Flowchart of obtaining the target operation mode in an embodiment;
[0027] Figure 6 Schematic diagram of the functional control system of the wearable device in an embodiment;
[0028] Figure 7 Structural block diagram of the operation mode control device in an embodiment. Detailed implementation manners
[0029] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0030] It can be understood that the terms "first", "second", etc. used in the present application may be used herein to describe various elements, but these elements and parameters are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the present application, the first processor may be referred to as the second processor, and similarly, the second processor may be referred to as the first processor. Both the first processor and the second processor are processors, but they are not the same processor.
[0031] Figure 1 Internal structural diagram of the wearable device in an embodiment. As Figure 1As shown, in one embodiment, the provided wearable device includes a first processor 110 and a second processor 120. Both the first processor 110 and the second processor 120 are microprocessors, where the first processor 110 is the core processor. The first processor 110 and the second processor 120 can be configured with corresponding microprocessors according to actual applications, and the first processor 110 and the second processor 120 are not limited herein. The first processor 110 and the second processor 120 respectively integrate different operating systems, and the power consumption of the first system integrated by the first processor 110 is higher than that of the second system integrated by the second processor 120. For example, the first processor 110 can be a CPU (Central Process Unit) processor, and the corresponding first system can be the Android system; the second processor 120 can be an MCU (Microcontroller Unit) processor; the corresponding second system can be an RTOS (Real Time Operating System) system.
[0032] Specifically, the wearable device may include one or more of sensors such as a heart rate sensor 121, an acceleration + gyroscope 122, an atmospheric pressure sensor 123, a touch sensor 124, a magnetic sensor 125, a differential pressure sensor 126, etc.; the second processor 120 can be connected to the sensors included in the wearable device for acquiring the data collected by the sensors; the second processor 120 can also be connected to a GPS (Global Positioning System) module 127 for acquiring the positioning data received by the GPS antenna; and connected to a DEBUG (DEBUG) module 128 for outputting the debug data of the wearable device.
[0033] The first processor 110 and the second processor 120 are connected through SPI (Serial Peripheral Interface), so that the first system and the second system can transmit communication data through the SPI bus. The display screen 130 is connected to the first processor 110 and the second processor 120 through MIPI (Mobile Industry Processor Interface), and can display the data output by the first processor 110 or the second processor 120. The first processor 110 further includes a sensor hub driver, which can be used to drive the data acquisition and processing of each sensor.
[0034] Figure 2 It is a flowchart of the operation mode control method in one embodiment. The operation mode control method in this embodiment is described by taking the operation on the above wearable device as an example. AsFigure 2 As shown, the operation mode control method includes steps 202 to 206.
[0035] Step 202: Obtain the motion data detected by the motion sensor, and determine the target action corresponding to the wearable device according to the motion data.
[0036] The motion sensor is a sensor used to monitor the movement of the device and can convert the signal of the device movement into an electrical signal. The wearable device is built-in with a motion sensor, which can be used to detect the motion data of the wearable device, so that the motion action of the wearable device can be determined according to the motion data. Among them, the motion sensor can include one or more of a rotation vector sensor, a gravity sensor, an acceleration sensor, a gyroscope, etc. Optionally, the wearable device can obtain motion data during a specific period, and the specific period can be a period when the wearer of the wearable device detected by the wearable device is not in a sleep state, or a period preset by the wearer, etc.
[0037] The target action is the action determined according to the detected motion data. Generally, the wearable device can be worn on the wrist, ankle, or head of the wearer, etc. When the limb part of the wearer moves, it will drive the wearable device to move synchronously. By obtaining the motion data detected by the motion sensor, the target action corresponding to the wearable device can be determined, that is, the action of the wearer's movement.
[0038] Step 204: Obtain the target operation mode corresponding to the target action.
[0039] The wearable device obtains the target operation mode corresponding to the target action. Specifically, the wearable device can preset the operation modes corresponding to different actions, so that the wearable device can detect whether the target action matches each preset action, and use the operation mode corresponding to the matching action as the target operation mode.
[0040] The target operation mode is one of the watch mode and the bracelet mode. For example, the wearable device can preset that the operation modes corresponding to the actions of drawing a triangle and continuously drawing two circles are the watch mode, and the operation modes corresponding to the actions of drawing a cross shape and continuously drawing two squares are the bracelet mode; if the target action is continuously drawing two circles, the corresponding target operation mode is the watch mode.
[0041] Step 206: When the target operation mode is inconsistent with the current operation mode of the wearable device, switch the wearable device to the target operation mode, and the target operation mode is one of the watch mode and the bracelet mode.
[0042] The current operating mode is the operating mode currently adopted by the wearable device. The wearable device includes at least a watch mode and a bracelet mode. Specifically, the wearable device is provided with a first processor and a second processor, which are respectively used to carry a first system and a second system. Corresponding to the operation and shutdown of the two systems, the wearable device can have multiple different operating modes. For example, the watch mode can correspond to the simultaneous operation of the first system and the second system; the bracelet mode can correspond to the shutdown of the first system and the operation of the second system; in addition, it can also include an operating mode corresponding to the operation of the first system and the shutdown of the second system, etc. The target operating mode is one of the watch mode and the bracelet mode.
[0043] When the target operating mode is inconsistent with the current operating mode, the wearable device can be switched to the target operating mode. Specifically, if the current operating mode is the bracelet mode, the operating mode of the wearable device after switching is the watch mode; if the current operating mode is the watch mode, the operating mode of the wearable device after switching is the bracelet mode. When the target operating mode is consistent with the current operating mode, the wearable device does not need to switch the operating mode.
[0044] In the embodiments provided in this application, by obtaining the motion data detected by the motion sensor, determining the target action corresponding to the wearable device according to the motion data, obtaining the target operating mode corresponding to the target action, when the target operating mode is inconsistent with the current operating mode of the wearable device, the wearable device is switched to the target operating mode. Since the wearable device includes a watch mode and a bracelet mode, the target action of the wearable device can be determined according to the motion data, and the wearable device is switched to the target operating mode corresponding to the target action, which is convenient and fast to operate and can improve the convenience of mode control.
[0045] Figure 3 It is a flowchart for obtaining the target action of the wearable device in an embodiment. As Figure 3 shown, before executing step 202 in the provided operating mode control method, it may further include:
[0046] Step 302, when the current operating mode of the wearable device is the watch mode, obtain the identity information of the wearer of the wearable device.
[0047] The identity information is used to characterize the identity type of the wearer of the wearable device. For example, the identity information may include students, teachers, office workers, drivers, medical staff, etc. The identity information of the wearer can be the identity information input by the wearer obtained by the wearable device, or can be determined by the wearable device according to the detected biometric information, work and rest time, operation information of the connected mobile terminal, etc.
[0048] When the current operating mode of the wearable device is the watch mode, the wearable device can obtain the identity information of the wearer of the wearable device. Optionally, the wearer of the wearable device can be one or more. By detecting biometric information of the wearer, etc., the current wearer can be determined, and the identity information corresponding to the current wearer can be obtained.
[0049] Step 304, obtain a preset time period, where the preset time period is the do-not-disturb time period corresponding to the identity information.
[0050] The preset time period is the do-not-disturb time period corresponding to the identity information. The do-not-disturb time period refers to the time period when the wearer needs to be in a quiet environment and avoid interference from irrelevant information. Different identity information corresponds to different preset time periods. Specifically, the preset time period can be the time period corresponding to different identity information statistically analyzed by big data, or the time period input by the wearer obtained, etc. For example, the preset time periods corresponding to students and teachers can be the class time periods; the preset time periods corresponding to office workers can be the working time periods or meeting time periods; the preset time periods corresponding to medical staff can be the corresponding duty time periods, etc. In one embodiment, the preset time period can also be sent by a mobile terminal connected to the wearable device and determined according to the schedule information of the user obtained by the mobile terminal.
[0051] Step 306, if the current time of the wearable device is within the preset time period, then perform the operation of obtaining the motion data detected by the motion sensor.
[0052] Specifically, the functions of the watch mode are more than those of the bracelet mode. Relatively speaking, the power consumption of the watch mode is also greater than that of the bracelet mode. The wearer can switch the wearable device to the bracelet mode within the preset time period, which can reduce the power consumption of the wearable device.
[0053] Generally, when the wearer is inconvenient to operate the wearable device within the preset time period, when the current operating mode of the wearable device is the watch mode and the current time is within the preset time period, the wearable device can obtain the motion data detected by the motion sensor, determine the corresponding target action according to the motion data, and when the target operating mode corresponding to the target action is not the watch mode, then switch the wearable device to the target operating mode; that is, switch the wearable device to the bracelet mode, which can achieve a quick switch of the operating mode of the wearable device, is convenient and fast to operate, and reduces the power consumption of the wearable device within the preset time period.
[0054] Figure 4 It is a flowchart of the operating mode control method in another embodiment. As Figure 4 shown, in one embodiment, the provided operating mode control method includes:
[0055] Step 402: When the current operating mode of the wearable device is the bracelet mode, a call reminder message sent by a mobile terminal connected to the wearable device is received.
[0056] The functions that can be provided by the bracelet mode are less than those that can be provided by the watch mode. Specifically, in the watch mode, the wearable device can receive and answer call requests from other terminals; while in the bracelet mode, the wearable device can receive call reminder information, which is used to indicate that other terminals have initiated call requests to the mobile terminal connected to the wearable device. The call reminder information only has a reminder function, that is, it can indicate the wearer through vibration, ringing or screen display; but it is impossible to directly answer the call request on the wearable device through the call reminder information.
[0057] Step 404: acquiring motion data detected by the motion sensor according to the call reminder information, and determining a target action corresponding to the wearable device according to the motion data.
[0058] When the current operating mode is the bracelet mode, the wearable device can receive a call reminder message sent by a mobile terminal connected to the wearable device, and obtain motion data detected by the motion sensor according to the call reminder message, so as to determine the target action corresponding to the wearable device according to the motion data.
[0059] Step 406, obtaining a target operation mode corresponding to the target action.
[0060] Step 408: When the target operating mode is inconsistent with the current operating mode of the wearable device, the wearable device is switched to the target operating mode.
[0061] Step 410: Receive and respond to a call request corresponding to the call reminder information.
[0062] In this embodiment, if the target operation mode is inconsistent with the current operation mode of the wearable device, it means that the target operation mode is the watch mode, indicating that the wearer needs to respond to the call request through the wearable device. When the target operation mode is inconsistent with the current operation mode of the wearable device, the wearable device can switch the wearable device to the target operation mode, and then receive and respond to the call request corresponding to the call reminder information, that is, answer the call request, so as to communicate with the terminal that initiated the call request.
[0063] When the wearable device is in the bracelet mode and receives a call reminder message, obtain the motion data detected by the motion sensor and determine the corresponding target action. When the target operation mode corresponding to the target action is not the bracelet mode, switch the wearable device to the target operation mode to receive and respond to the call request corresponding to the call reminder message. That is, the wearable device does not need to continuously obtain motion data, which can reduce the power consumption of the wearable device. Moreover, when receiving a call reminder message, the operation mode of the wearable device can be switched according to the target action to respond to the call request, which can avoid the situation where the wearer is inconvenient to operate the wearable device and cannot respond to the call request.
[0064] Figure 5 It is a flowchart for obtaining the target operation mode in an embodiment. As Figure 5 shown, in an embodiment, a process for obtaining the target operation mode corresponding to the target action in the operation mode control method includes:
[0065] Step 502, obtain the wearing direction of the wearable device through the acceleration sensor, and the wearing direction includes the left hand direction and the right hand direction.
[0066] The wearable device can be worn on the left hand or the right hand of the wearer. That is, there are two wearing directions corresponding to the left hand direction and the right hand direction. Since the preset actions are not symmetric or there are large differences in the actions of the left and right hands during movement, the wearable device can obtain the wearing direction of the wearable device through the acceleration sensor before detecting whether the target action matches the preset action. Specifically, the acceleration data with the wearing direction of the left hand is opposite to the acceleration data with the wearing direction of the right hand; the wearable device can determine the wearing direction of the wearable device according to the acceleration data obtained by the acceleration sensor.
[0067] Step 504, according to the wearing direction, detect whether the target action matches each preset action.
[0068] The wearable device detects whether the target action matches each preset action according to the wearing direction. Specifically, the wearable device can preset the preset actions corresponding to any wearing direction. Taking the preset actions in the right hand direction as an example, when the wearing direction is the right hand direction, the target action can be directly matched with each preset action; when the wearing direction is the left hand direction, each preset action can be mirror-symmetrical, and the target action can be matched with each mirror-symmetrical preset action. Optionally, the wearable device can also preset the preset actions corresponding to the left hand direction and the preset actions corresponding to the right hand direction, so as to obtain the corresponding preset actions for matching according to the determined wearing direction.
[0069] Step 506, obtain the target operation mode corresponding to the preset action that matches the target action.
[0070] The wearable device may be provided with a matching degree threshold. When the matching degree between the target action and the preset action exceeds the matching degree threshold, it is determined that the target action matches the preset action, and then the operation mode corresponding to the matched preset action is determined as the target operation mode. Among them, the matching degree threshold can be set according to actual application requirements. For example, it can be 70%, 80%, 85%, 90%, etc., which is not limited here.
[0071] By obtaining the wearing direction of the wearable device, detecting whether the target action matches each preset action according to the wearing direction, and obtaining the target operation mode corresponding to the preset action that matches the target action, the accuracy of action matching and the accuracy of the target operation mode can be improved.
[0072] In one embodiment, the motion sensor includes an acceleration sensor and an angular velocity sensor; the process of determining the target action corresponding to the wearable device according to the motion data in the operation mode control method includes: determining the linear action of the wearable device according to the motion data corresponding to the acceleration sensor, and determining the rotational action of the wearable device according to the motion data corresponding to the angular velocity sensor; combining the linear action and the rotational action to determine the target action of the wearable device.
[0073] The acceleration sensor is used to detect the force acting on an object during the acceleration process. The motion data detected by the acceleration sensor includes gravitational acceleration data, and the linear action of the wearable device can be determined according to the motion data detected by the acceleration sensor minus the gravitational acceleration data. Optionally, the acceleration sensor can also be directly implemented by a linear accelerometer, and the motion data obtained by the linear accelerometer can be directly used to determine the linear action of the wearable device.
[0074] The angular velocity sensor is used to detect the rotational angular velocity when an object deflects or tilts. The angular velocity sensor can be implemented by a gyroscope. Specifically, the gyroscope can obtain angular velocity data by measuring the Coriolis acceleration generated by the rotating part due to rotation, and the rotational action of the object can be determined according to the angular velocity data.
[0075] The action change of an object changes with time sequence. The wearable device determines the target action of the wearable device according to the linear action and the rotational action. Specifically, according to the time sequence of the actions, the linear action and the rotational action can be superimposed to obtain the target action of the wearable device.
[0076] By determining the linear action and the rotational action of the wearable device according to the motion data respectively obtained by the acceleration sensor and the angular velocity sensor, and determining the target action of the wearable device according to the linear action and the rotational action, the accuracy of the target action can be improved.
[0077] In one embodiment, the wearable device includes a first system and a second system. When the wearable device is in watch mode, the first system and the second system run simultaneously; when the wearable device is in bracelet mode, the first system is turned off and the second system runs.
[0078] Specifically, the first system is equivalent to the main operating system of the wearable device, which can provide relatively complete functions for the wearable device. For example, high-speed data transmission with the connected mobile terminal, biometric data detection and analysis, precise positioning, communication calls, etc. can be achieved through the first system; the second system is equivalent to the auxiliary operating system of the wearable device, which can provide basic functions of the wearable device, such as time display, information reminder, sensor data collection, and low-rate data transmission with the connected mobile terminal. Among them, the watch mode can correspond to the simultaneous operation of the first system and the second system; the bracelet mode can correspond to the first system being turned off and the second system running.
[0079] Specifically, when the wearable device is switched from watch mode to bracelet mode, the first system can be turned off and the second system can be kept running; when the wearable device is switched from bracelet mode to watch mode, the first system and the second system are started simultaneously.
[0080] In one embodiment, the process of switching the wearable device to the target operating mode in the provided operating mode control method includes: when the current operating mode is watch mode, controlling the peripheral components of the wearable device to be switched from being controlled by the first system to being controlled by the second system; when the current operating mode is bracelet mode, controlling the peripheral components of the wearable device to be switched from being controlled by the second system to being controlled by the first system.
[0081] The peripheral components of the wearable device may include a display screen, a touch screen, buttons, etc. Figure 6 It is a schematic diagram of the functional control system of the wearable device in one embodiment. As Figure 6 shown, taking the first system as the Android system and the second system as the RTOS system as an example, the watch mode means that the wearable device runs the Android system and the RTOS system simultaneously, and the bracelet mode means that the wearable device turns off the Android system and only runs the RTOS system. Sensors such as a heart rate sensor, an electrocardiogram sensor, and a motion sensor are controlled by the RTOS system in both watch mode and bracelet mode. The display screen, the touch screen, and the buttons can be controlled by different systems in different modes, that is, in watch mode, the display screen, the touch screen, and the buttons can be controlled through the Android system; in bracelet mode, the display screen, the touch screen, and the buttons can be controlled through the RTOS system.
[0082] When the current operating mode is the watch mode, the peripheral components of the wearable device are controlled by the second system instead of the first system; when the current operating mode is the bracelet mode, the peripheral components of the wearable device are controlled by the first system instead of the second system, which can improve the power consumption of the peripheral components.
[0083] It should be understood that although Figure 2-5 the steps in the flowchart of Figure 2-5 are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover,
[0084] Figure 7 is a structural block diagram of an operating mode control device for an embodiment. As Figure 7 shown, the operating mode control includes:
[0085] An action determination module 702, which obtains the motion data detected by the motion sensor and determines the target action corresponding to the wearable device according to the motion data.
[0086] A mode acquisition module 704, which acquires the target operating mode corresponding to the target action.
[0087] A mode switching module 706, when the target operating mode is inconsistent with the current operating mode of the wearable device, switches the wearable device to the target operating mode, and the target operating mode is one of the watch mode and the bracelet mode.
[0088] In one embodiment, the action determination module 702 can also be used to obtain the identity information of the wearer of the wearable device when the current operating mode of the wearable device is the watch mode; obtain a preset time period, and the preset time period is the do-not-disturb time period corresponding to the identity information; if the current time of the wearable device is within the preset time period, obtain the motion data detected by the motion sensor and determine the target action corresponding to the wearable device according to the motion data.
[0089] In one embodiment, the action determination module 702 may further be configured to, when the current operating mode of the wearable device is the bracelet mode, receive call reminder information sent by a mobile terminal connected to the wearable device; obtain motion data detected by a motion sensor according to the call reminder information, and determine a target action corresponding to the wearable device according to the motion data; the operating mode control device may further include a call reception module 708, configured to receive and respond to a call request corresponding to the call reminder information.
[0090] In one embodiment, the mode acquisition module 704 may further be configured to obtain the wearing direction of the wearable device through an acceleration sensor, where the wearing direction includes the left hand direction and the right hand direction; detect whether the target action matches each preset action according to the wearing direction; and obtain a target operating mode corresponding to the preset action that matches the target action.
[0091] In one embodiment, the action determination module 702 may further be configured to determine a target action corresponding to the wearable device according to the motion data, including: determining a linear action of the wearable device according to the motion data corresponding to the acceleration sensor, and determining a rotational action of the wearable device according to the motion data corresponding to the angular velocity sensor; and combining the linear action and the rotational action to determine the target action of the wearable device.
[0092] In one embodiment, the mode switching module 706 may further be configured to, when the current operating mode is the watch mode, control the peripheral components of the wearable device to be switched from being controlled by a first system to being controlled by a second system; when the current operating mode is the bracelet mode, control the peripheral components of the wearable device to be switched from being controlled by the second system to being controlled by the first system.
[0093] The division of each module in the above operating mode control device is only for illustrative purposes. In other embodiments, the operating mode control device may be divided into different modules as needed to complete all or part of the functions of the above operating mode control device.
[0094] For the specific limitations on the operating mode control device, reference may be made to the limitations on the operating mode control method in the foregoing text, which will not be elaborated herein. Each module in the above operating mode control device may be implemented in whole or in part by software, hardware, and their combination. The above modules may be embedded in or independent of a processor in a computer device in the form of hardware, or stored in a memory in the computer device in the form of software, so as to facilitate the processor to call and execute the operations corresponding to the above modules.
[0095] In the embodiments of the present application, the implementation of each module in the operation mode control device may be in the form of a computer program. This computer program can run on a terminal or a server. The program module constituted by this computer program can be stored in the memory of the terminal or the server. When the computer program is executed by a processor, the steps of the method described in the embodiments of the present application are implemented.
[0096] In one embodiment, a wearable device is provided. The wearable device includes an internal structure diagram as shown in Figure 1 the figure, and also includes a memory. A computer program is stored in the memory. When the computer program is executed by a first processor and a second processor, the steps of the above operation mode control method can be implemented.
[0097] The embodiments of the present application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, cause the processors to execute the steps of the operation mode control method.
[0098] A computer program product containing instructions, when it runs on a computer, causes the computer to execute the operation mode control method.
[0099] Any reference to a memory, storage, database, or other medium used in the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM).
[0100] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. A method for controlling an operating mode, characterized in that, Applied to a wearable device, the wearable device includes a first system and a second system; the method includes: When the current operating mode of the wearable device is the watch mode and the current time is within a preset period, obtain the motion data detected by the motion sensor, and determine the target action corresponding to the wearable device according to the motion data; Obtain the target operating mode corresponding to the target action; When the target operating mode is not the watch mode, switch the wearable device to the bracelet mode; when the wearable device is in the watch mode, the first system and the second system run simultaneously; when the wearable device is in the bracelet mode, the first system is turned off and the second system runs.
2. The method according to claim 1, wherein Before obtaining the motion data detected by the motion sensor, it further includes: Obtain the identity information of the wearer of the wearable device; Obtain a preset period, and the preset period is the do-not-disturb period corresponding to the identity information.
3. The method according to claim 1, characterized in that Before obtaining the motion data detected by the motion sensor, it further includes: When the current operating mode of the wearable device is the bracelet mode, receive the call reminder information sent by the mobile terminal connected to the wearable device; Perform the operation of obtaining the motion data detected by the motion sensor according to the call reminder information; After switching the wearable device to the watch mode, receive and respond to the call request corresponding to the call reminder information.
4. The method according to claim 1, wherein The motion sensor includes an acceleration sensor and an angular velocity sensor; The determining the target action corresponding to the wearable device according to the motion data includes: Determine the linear action of the wearable device according to the motion data corresponding to the acceleration sensor, and determine the rotational action of the wearable device according to the motion data corresponding to the angular velocity sensor; Combine the linear action and the rotational action to determine the target action of the wearable device.
5. The method according to claim 4, wherein The obtaining the target operating mode corresponding to the target action includes: Obtain the wearing direction of the wearable device through the acceleration sensor, and the wearing direction includes the left hand direction and the right hand direction; According to the wearing direction, detect whether the target action matches each preset action; Obtain the target operating mode corresponding to the preset action that matches the target action.
6. The method according to claim 1, characterized in that, The switching the wearable device to the bracelet mode includes: Convert the peripheral components of the wearable device from being controlled by the first system to being controlled by the second system.
7. An operating mode control device, characterized in that, Applied to a wearable device, the wearable device includes a first system and a second system; includes: An action determination module, configured to obtain the motion data detected by the motion sensor when the current operating mode of the wearable device is the watch mode and the current time is within a preset period, and determine the target action corresponding to the wearable device according to the motion data; A mode acquisition module, configured to obtain the target operating mode corresponding to the target action; A mode switching module, configured to switch the wearable device to a bracelet mode when the target operating mode is not the watch mode; when the wearable device is in the watch mode, the first system and the second system run simultaneously; when the wearable device is in the bracelet mode, the first system is turned off and the second system runs.
8. A wearable device, comprising a memory and a processor, characterized in that, The memory stores a computer program, which when executed by the processor causes the processor to execute the steps of the operating mode control method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program, when executed by the processor, implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product comprising instructions, characterized in that, When the computer program product runs on a computer, it causes the computer to execute the steps of the operating mode control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method and equipment for realizing dual-screen switching
CN107239136A