Device control method, wearable device and storage medium
Patent Information
- Application Number
- PCT/CN2026/089978
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-04-14
- Filing Date
- 2026-04-10
- Publication Date
- 2026-10-22
Smart Images

Figure CN2026089978_22102026_PF_FP_ABST
Abstract
Description
A device control method, a wearable device, and a storage medium
[0001] This application claims priority to Chinese Patent Application No. 202510482248.4, filed on April 14, 2025, with the Chinese National Intellectual Property Administration, entitled "A Device Control Method, Wearable Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to a device control method, a wearable device, and a storage medium. Background Technology
[0003] With the development of terminal technology, wearable devices are becoming increasingly popular among users. Users can use wearable devices to make phone calls, record exercise data, monitor their physical health parameters, and so on, bringing great convenience to their lives.
[0004] To facilitate user control of wearable devices, buttons are provided on the side of the display surface. Users can press these buttons to trigger corresponding actions on the wearable device. Further research is needed to improve the accuracy of the wearable device in recognizing user button presses and reduce accidental touches. Summary of the Invention
[0005] This application provides a device control method, a wearable device, and a storage medium. The wearable device includes a first button. The wearable device can detect whether the first button is normal or abnormal. After detecting an abnormality in the first button, if the wearable device determines that the first electrode on the wearing surface of the wearable device and the second electrode on the surface of the first button are connected, the wearable device can determine that the user has pressed the first button. The wearable device then responds to the user's operation on the first button, improving the accuracy of the user controlling the wearable device through the first button.
[0006] In a first aspect, this application provides a device control method applied to a wearable device. The wearable device includes a watch body, which includes a wearing surface and a display surface. A first button is provided on the side of the watch body. The wearable device also includes a first electrode and a second electrode. The first electrode is provided on the wearing surface, and the second electrode is provided on the surface of the first button. The method further includes: the wearable device detecting whether the first button is abnormal; if the first button is abnormal, the wearable device performing a first action based on satisfying a first condition; if the first button is normal, the wearable device performing the first action based on satisfying a second condition; wherein the first condition and the second condition are different. The first condition includes: the first electrode and the second electrode are connected, and the second condition includes: the pressure value of the first button meets a preset value.
[0007] Optionally, the first condition may also include the pressure value meeting a preset value. For example, the wearable device performing the first action when the first condition is met may be that the first action is performed when the first electrode and the second electrode are detected to be conducting and the pressure value of the first button meets the preset value.
[0008] The pressure value of the first button meets the preset value, which can mean that the pressure value of the first button is greater than the first value, or it can mean that the pressure value of the first button is within a second range, where the second range can mean greater than the seventh value and less than the eighth value.
[0009] If the wearable device applies pressure to the first button when detecting whether it is malfunctioning, then the second condition, "pressure value for the first button meets the preset value," means that a pressure value was applied when detecting whether the first button is malfunctioning. After detecting that the first button is normal, the pressure value-related judgment condition can be omitted, and the first step can be executed directly. Alternatively, if the wearable device does not apply pressure to the first button when detecting whether it is malfunctioning, then the second condition, "pressure value for the first button meets the preset value," means that after detecting that the first button is normal, the first step can be executed directly based on the pressure value-related judgment condition. Or, if the wearable device applies pressure to the first button when detecting whether it is malfunctioning, then the second condition, "pressure value for the first button meets the preset value," means that after detecting that the first button is normal, the first step can be executed based on the same or different conditions related to the pressure value in the first button malfunction detection.
[0010] This method allows the wearable device to detect whether the first button is functioning correctly or malfunctioning. If, upon detecting a malfunction, the wearable device determines that the first electrode on the wearing surface and the second electrode on the first button surface are conductive, it indicates that the user has pressed the first button. The pressure value detected by the wearable device is due to the user's pressing action, and the wearable device can execute the first action. Conversely, if the wearable device determines that the first electrode on the wearing surface and the second electrode on the first button surface are not conductive, it indicates that the user has not pressed the first button. The pressure value detected by the wearable device is due to a failure of the pressure-sensitive device in the first button, and the wearable device can choose not to execute the first action. This avoids accidental touches and improves the accuracy of user control of the wearable device via the first button.
[0011] In conjunction with the first aspect, the first condition is not limited to the first electrode and the second electrode being conductive; it can also be other conditions. The first condition may include one condition or multiple conditions. In some embodiments, the first condition may also include any one or more of the following: the first button is blocked, the wearable device meets a first wearing posture (e.g., the wrist wearing the wearable device is in a horizontal position). In this way, by using multiple conditions, accidental touch scenarios can be eliminated, and the accuracy of the user controlling the wearable device through the first button can be improved.
[0012] In conjunction with the first aspect, in one possible implementation, when the first conditions include the first button being blocked, the wearable device meeting a first wearing posture, and the first electrode and the second electrode being conductive, the wearable device performs a first action based on meeting the first conditions. Specifically, this includes: the wearable device determining whether the first button is blocked and / or whether the wearable device meets the first wearing posture; if the wearable device determines that the first button is not blocked and / or the wearable device does not meet the first wearing posture, then the wearable device may no longer determine whether the first electrode and the second electrode are conductive, and the wearable device does not perform the first action; if the wearable device determines that the first button is blocked and / or the wearable device meets the first wearing posture, then the wearable device further determines whether the first electrode and the second electrode are conductive; if the wearable device determines that the first electrode and the second electrode are conductive, then the wearable device performs the first action; if the wearable device determines that the first electrode and the second electrode are not conductive, then the wearable device does not perform the first action. This is because before the wearable device determines whether the first electrode and the second electrode are conductive, the wearable device needs to perform steps such as configuring the configuration parameters required for powering on the ECG sensor and powering on the ECG sensor. If a wearable device frequently executes steps such as configuring the ECG sensor and powering it on, it will reduce the accuracy of the data collected by the ECG sensor and shorten its lifespan. Furthermore, since the wearable device also includes other sensors, frequent execution of these steps will also affect the accuracy of data collected by other sensors on the back of the device. Therefore, if the wearable device determines that the first button is not obstructed and / or the wearable device does not meet the first wearing posture, it will no longer determine whether the first and second electrodes are conductive. This not only improves the accuracy of the ECG sensor's data collection and extends its lifespan but also avoids affecting the accuracy of data collected by other sensors. In conjunction with the first aspect, in one possible implementation, the wearable device can determine whether the first button is abnormal through, but not limited to, any one or more of the following methods.
[0013] Method 1: The wearable device determines whether the first button is abnormal based on the status flag of the first button.
[0014] The wearable device acquires the status flag of the first button. If the status flag of the first button is an abnormal flag, the wearable device determines that the first button is abnormal. If the status flag of the first button is a normal flag, the wearable device determines that the first button is normal. In this way, the wearable device can quickly determine whether the first button is abnormal based on its status flag.
[0015] Optionally, before the wearable device obtains the status flag of the first button, it can determine and store the status flag of the first button. In other words, the wearable device can detect the status of the first button and set the status flag of the first button based on the status of the first button.
[0016] For example, if the wearable device determines that the fourth condition is met, the wearable device can set the status flag of the first button to an abnormal flag. If the wearable device determines that the fourth condition is not met, the status flag of the first button on the wearable device can be set to a normal flag. For example, the fourth condition may include any one or more of the following: the fluctuation range of the pressure value of the button within a first duration is within a first range; the duration for which the pressure value of the first button is greater than the first value is greater than a second duration.
[0017] The first range can refer to a value greater than the second value and less than or equal to the third value. Within the first duration, the fluctuation range of the pressure value applied to the first button can be within this range. Specifically, it can mean that the pressure value applied to the first button at different times within the first duration is greater than the second value and less than or equal to the third value. For example, the second value could be 100g and the third value could be 125g. The pressure value at each time point within the first duration is greater than 100g and less than 125g. Alternatively, the fluctuation range of the pressure value applied to the first button within the first duration can also refer to the difference between the pressure values at any two different times within the first duration being greater than the second value and less than or equal to the third value. For example, the second value could be -25g and the third value could be 25g. The difference between the pressure values at different times within the first duration is greater than -25g and less than +25g.
[0018] Optionally, the first duration and the second duration can be the same or different. For example, the first duration and the second duration can be 4 minutes.
[0019] It should be noted that the above explanation, using the determination of whether an abnormal condition (e.g., the fourth condition) is met as an example, can be understood as being replaced by determining whether a normal condition (e.g., the sixth condition) is met. If the wearable device determines that the sixth condition is met, the wearable device sets the status flag of the first button to a normal flag. If the wearable device determines that the sixth condition is not met, the wearable device sets the status flag of the first button to an abnormal flag. For example, the sixth condition may include one or more of the following: the fluctuation range of the pressure value against the button exceeds a first range within a first duration; the duration for which the pressure value against the first button is greater than the first value is less than or equal to a second duration.
[0020] Optionally, before the wearable device leaves the factory, the status flag of the first button stored in the wearable device is set to normal by default. The wearable device can update the status flag of the first button during use, for example, by changing the status flag of the first button from normal to abnormal, or from abnormal to normal.
[0021] Method 2: The wearable device determines whether the first button is abnormal based on the status flag of the first button and the third condition.
[0022] The wearable device acquires the status flag of the first button. If the status flag of the first button is normal, the wearable device can perform the first action. If the status flag of the first button is abnormal, the wearable device can further determine whether the third condition is met.
[0023] If the wearable device determines that the third condition is met, it determines that the first button is functioning correctly and sets the status flag of the first button to the normal flag. In other words, the wearable device can update the status flag of the first button. In response to the wearable device determining that the first button is functioning correctly, in some embodiments, the wearable device can further determine whether the second condition is met, and perform the first action based on the satisfaction of the second condition. In other embodiments, the wearable device can omit the determination of whether the second condition is met and directly perform the first action. The first and third conditions can be the same or different.
[0024] If the wearable device determines that the third condition is not met, it determines that the first button is malfunctioning. In response to this determination, the wearable device can then determine whether the first condition is met. If the wearable device determines that the first condition is met, it means the user has pressed the first button, the pressure value detected by the wearable device is due to the user's pressing action, and the wearable device can perform the first action. If the wearable device determines that the first condition is not met, it means the user has not pressed the first button, the pressure value detected by the wearable device is due to a failure of the pressure-sensitive device in the first button, and the wearable device does not perform the first action. The third condition differs from the first condition. For example, the third condition includes any one or more of the following: the first button is obscured, the wearable device meets a first wearing posture (e.g., the wrist wearing the wearable device is in a horizontal position), and the first and second electrodes are connected.
[0025] Optionally, the third condition differs from the first condition. The third condition may not include the continuity of the first and second electrodes. Instead, it may include the first button being obscured and / or the wearable device meeting the first wearing posture. For example, the first condition could be the continuity of the first and second electrodes, and the third condition could be the obscuration of the first button and / or the fulfillment of the first wearing posture. For instance, the wearable device can obtain the status flag of the first button. If the status flag of the first button is an abnormal flag, the wearable device can further determine whether the first button is obscured and / or whether the wearable device meets the first wearing posture. If the wearable device determines that the first button is obscured and / or the wearable device meets the first wearing posture, it can further determine whether the first and second electrodes are connected. If the wearable device determines that the first and second electrodes are connected, it can perform the first action. Conversely, if the wearable device determines that the first and second electrodes are not connected, it does not perform the first action.
[0026] In some embodiments, after the wearable device determines that the third condition is not met and determines that the first button is abnormal, the wearable device may also set the status flag of the first button to an abnormal flag. Optionally, if the status flag of the first button stored in the wearable device is already an abnormal flag, after the wearable device determines that the third condition is not met and determines that the first button is abnormal, the wearable device may not set the status flag of the first button to an abnormal flag again.
[0027] Method 2 allows wearable devices to determine whether the first button is abnormal based on the status flag of the first button and the third condition, thereby improving the accuracy of the wearable device in determining whether the first button is abnormal.
[0028] Method 3: The wearable device determines whether the fluctuation range of the pressure value of the first button within the first time period is within the first range, and / or whether the duration for which the pressure value of the first button is greater than the first value is greater than the second time period.
[0029] If the wearable device determines that the fluctuation range of the pressure value of the first button within the first time period is within the first range, and / or the duration of the pressure value of the first button being greater than the first value is greater than the second time period, then the wearable device detects an abnormality in the first button.
[0030] If the wearable device determines that the fluctuation range of the pressure value applied to the button within the first duration is not within the first range, and / or the duration during which the pressure value applied to the first button is greater than the first value is less than or equal to the second duration, then the wearable device detects that the first button is normal.
[0031] In both methods one and two, the wearable device needs to store the status flag of the first button, and determine whether the first button is normal or abnormal based on the status flag. In method three, the wearable device does not need to store the status flag of the first button, and can determine whether the first button is normal or abnormal without relying on the status flag. Instead, it can determine whether the first button is normal or abnormal based on the pressure value applied to the button.
[0032] Method 4: The wearable device determines whether the fluctuation range of the pressure value of the first button within the first time period is within the first range, and / or whether the duration for which the pressure value of the first button is greater than the first value is greater than the second time period.
[0033] If the wearable device determines that the fluctuation range of the pressure value of the first button within the first time period is within the first range, and / or the duration of the pressure value of the first button being greater than the first value is greater than the second time period, then the wearable device detects an abnormality in the first button.
[0034] If the wearable device determines that the fluctuation range of the pressure value applied to the first button within the first duration is not within the first range, and / or the duration for which the pressure value applied to the first button is greater than the first value is less than or equal to the second duration, then the wearable device determines whether the third condition is met. If the wearable device determines that the third condition is met, then the wearable device determines that the first button is normal. If the wearable device determines that the third condition is not met, then the wearable device determines that the first button is abnormal.
[0035] Method four is similar to method three. The difference is that in method four, if the wearable device determines that the fluctuation range of the pressure value of the first button within the first time period is not within the first range, and / or the duration of the pressure value of the first button being greater than the first value is less than the second time period, the wearable device also needs to determine whether the third condition is met to determine whether the first button is normal or abnormal, which can improve the accuracy of the wearable device in determining whether the first button is normal or abnormal.
[0036] The methods for determining whether the first button is normal or abnormal are not limited to the above-mentioned methods. Other methods can also be used to determine whether the first button is normal or abnormal, and this application does not limit this.
[0037] In conjunction with the first aspect, in one possible implementation, the wearable device detects whether the first button is abnormal by: if the wearable device detects a pressure value on the first button greater than a first value, then the wearable device detects whether the first button is abnormal. If the wearable device detects a pressure value on the first button less than or equal to the first value, then the wearable device may not detect whether the first button is abnormal. It is understood that when the pressure value on the first button is greater than the first value, it may be due to the user pressing the first button. In this case, the wearable device can then detect whether the first button is abnormal, which can reduce the occurrence of accidental button presses leading to the wearable device detecting whether the first button is abnormal, and can save 100% of the wearable device's power consumption.
[0038] In conjunction with the first aspect, in one possible implementation, before the wearable device detects that the pressure value applied to the first button is greater than a first value, the method further includes: the wearable device determining whether a fifth condition is met, the fifth condition including any one or more of the following: the wearable device's display screen is on, the wearable device is being worn, or the wearable device's display screen shows a watch face. If the wearable device determines that the fifth condition is met, then the wearable device can then detect whether the pressure value applied to the first button is greater than the first value. If the wearable device 100 determines that the fifth condition is not met, then the wearable device 100 may not detect whether the pressure value applied to the first button is greater than the first value. It is understood that when the fifth condition is met, the user may be using the wearable device. In this case, obtaining the pressure value applied to the first button by the wearable device can reduce the occurrence of accidental touches of the first button, thus reducing the likelihood of the wearable device detecting whether the first button is abnormal and saving power consumption.
[0039] In conjunction with the first aspect, in one possible implementation, the wearable device further includes an infrared light sensor disposed within the first button; the method further includes: the wearable device emitting infrared light through the infrared light sensor; if no reflected infrared light is received within a second time period after the infrared light is emitted, the wearable device determines that the first button is blocked.
[0040] In conjunction with the first aspect, in one possible implementation, the wearable device further includes a motion sensor; the method further includes: the wearable device determining whether the wearable device meets a first wearing posture based on motion data collected by the motion sensor, such as whether the wrist wearing the wearable device is in a horizontal position.
[0041] In conjunction with the first aspect, in one possible implementation, the first item includes: measuring physical health parameters.
[0042] In conjunction with the first aspect, in one possible implementation, wearable devices include watches or wristbands.
[0043] Secondly, this application provides a wearable device, which includes a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes the call to the computer program, the wearable device executes a device control method provided in any possible implementation of the first aspect above.
[0044] Thirdly, this application provides a computer-readable storage medium including instructions that, when executed on a wearable device, cause the wearable device to perform a device control method provided in any possible implementation of the first aspect above.
[0045] Fourthly, this application provides a computer program product containing instructions, including a computer program that, when executed by a processor, implements a device control method provided in any possible implementation of the first aspect above.
[0046] Fifthly, this application provides a chip system including a processing circuit and an interface circuit. The chip system is characterized in that it includes a processing circuit and an interface circuit, the interface circuit being used to receive code instructions and transmit them to the processing circuit, and the processing circuit being used to execute the code instructions to perform a device control method provided in any possible implementation of the first aspect above.
[0047] For a description of the beneficial effects of the second to fifth aspects, please refer to the description of the beneficial effects in the first aspect; this application will not repeat it here. Attached Figure Description
[0048] Figure 1A shows a schematic diagram of the structure of a wearable device 100;
[0049] Figure 1B shows a schematic diagram of the wearing surface of the wearable device 100;
[0050] Figure 2 shows a schematic diagram of the hardware structure of the wearable device 100;
[0051] Figures 3A-3G illustrate a schematic diagram of a wearable device 100 receiving a user's operation on button 101 and starting to measure the user's physical health parameters;
[0052] Figure 4 shows a flowchart of a method for a wearable device 100 to perform a first task after confirming that the first button is working properly.
[0053] Figure 5 shows a schematic diagram of another method for a wearable device 100 to determine whether the first button is normal or abnormal;
[0054] Figure 6A shows a schematic flowchart of a method for a wearable device 100 to obtain the status flag of a first button;
[0055] Figure 6B shows a waveform diagram of the pressure value detected by the wearable device 100 against the first button in the event of a first button malfunction.
[0056] Figure 6C shows a waveform diagram of the pressure value detected by the wearable device 100 for the first button when the first button is working properly.
[0057] Figure 7 shows a schematic diagram of a wearable device 100 determining whether a first condition is met through multiple software modules;
[0058] Figure 8 shows a flowchart of a method for further determining whether the first button is abnormal after the wearable device 100 detects an abnormality in the first button.
[0059] Figures 9A-9D illustrate a set of scenarios where wearable device 100 does not perform the first task. Detailed Implementation
[0060] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0061] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0062] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and the form that the user can accept. The commonly used form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of a wearable device.
[0063] Generally, wearable devices are equipped with a display screen, which allows users to control the device by swiping on the screen. However, swiping on the screen can easily lead to accidental touches, and if the user's fingers are wet, the wearable device will not respond to the swipes.
[0064] To facilitate user control of wearable devices, buttons are located on the side of the display surface. Users can use these buttons to perform corresponding operations. For example, users can scroll through the displayed pages or adjust the volume. Alternatively, pressing the button can switch between pages.
[0065] The button can be composed of pressure-sensitive devices, and wearable devices can determine whether the user has pressed it by recognizing the pressure value detected by the pressure-sensitive devices.
[0066] However, pressure-sensitive devices are easily affected by factors such as temperature and air pressure, which can cause them to malfunction even when the user does not press them. Even if the pressure-sensitive device recognizes the pressure value, the wearable device can determine that the button has been pressed based on the pressure value and perform the corresponding action, which can lead to accidental touches.
[0067] To improve recognition accuracy and enhance user experience, this application proposes a control method.
[0068] Wearable devices can use pressure values detected by pressure sensors and other parameters to detect whether a user is pressing.
[0069] Wearable devices can detect whether the pressure-sensitive device of the first button is malfunctioning. If the pressure-sensitive device is malfunctioning, the wearable device can use other parameters collected by the device to detect whether the user has pressed the button.
[0070] For example, the wearable device can determine whether the pressure-sensitive device of the first button is malfunctioning based on the pressure value. If the pressure value indicates that the first button may be malfunctioning, it can further determine whether the first button is normal based on other parameters. If the first button is identified as normal based on other parameters, it is assumed that the user has pressed the first button, and thus the wearable device recognizes that the first button has a pressure value. If the first button is identified as malfunctioning based on other parameters, it is assumed that the user has not pressed the button, and the pressure value is due to the failure of the pressure-sensitive device, so the wearable device can choose not to perform the corresponding operation. Through this method, the wearable device can accurately identify the user's pressing behavior, improving the accuracy of the user controlling the wearable device through the button and avoiding accidental touches.
[0071] For details on how wearable devices can identify abnormal first button presses and determine whether a user has pressed the button, please refer to the detailed explanation below. This application will not repeat the details here.
[0072] Figure 1A shows a schematic diagram of the structure of a wearable device 100.
[0073] As shown in FIG1A, the wearable device 100 includes a watch body and a wearable component 102. The watch body may include a wearing surface (not shown in FIG1A) and a display surface 103.
[0074] Display surface 103 includes a display screen. The display screen can be used to display information such as time, battery level, Bluetooth identifier, received messages, and user activity data. The display screen can also be used to receive user clicks to turn on the screen. The display screen can also display the user's step count, calories burned, and has basic functions such as call reminders and message notifications.
[0075] Wearing component 102 is used to mount the watch body; for example, wearing component 102 can be a strap device (e.g., watch strap, wristband, etc.). Wearing component 102 is a device that allows the watch body to be attached to the user's wrist.
[0076] The side of the watch body may include a button 101. In some embodiments, the button 101 may be mechanical, meaning it can be pulled out of or inserted into the watch body. This allows the button 101 to be connected to a sensor to convert physical movement of the button 101 into an electrical signal, detecting the user's pressure and converting it into a corresponding pressure value. In other embodiments, the button 101 may be touch-sensitive, for example, using capacitive touch technology, which can detect the user's pressure and convert it into a corresponding pressure value. In other embodiments, the button 101 may also be rocked or translated along a trajectory in one or more directions, the trajectory being along the edge of the watch body or at least partially around the perimeter of the watch body. In some embodiments, the number of buttons 101 may be one or more, and the visual appearance of the buttons 101 may, but does not necessarily have to, resemble the crown of a conventional watch. The following embodiments of this application illustrate a button 101 equipped with a pressure-sensitive device.
[0077] In some embodiments, button 101 may be equipped with an infrared light sensor. When a user presses button 101 with their finger, the infrared light sensor may emit infrared light and determine whether button 101 is blocked based on the emitted infrared light and the infrared light reflected by the object.
[0078] In some embodiments, button 101 may be provided with electrodes, such as a second electrode. For example, the second electrode may be disposed on the surface of button 101. When a user presses button 101 with their finger, the second electrode on the surface of button 101 contacts the skin of the finger, and the electrode on the wearing surface (e.g., the first electrode) contacts the skin of the wrist, causing the first electrode and the second electrode to form a circuit. Thus, the wearable device 100 can determine that the user's finger is in contact with button 101 based on the continuity (or connection).
[0079] Figure 1B shows a schematic diagram of the wearing surface of the wearable device 100.
[0080] For example, as shown in FIG1B, the wearing surface 104 of the watch body may include a first electrode. The first electrode of the wearing surface 104 can form a circuit (or a connection) with the second electrode of the surface of the button 101. Thus, the wearable device 100 can determine that the user's finger is in contact with the button 101 based on the connection.
[0081] Optionally, Figures 1A and 1B only show one form of wearable device 100. Wearable device 100 can also be other forms of devices, such as rings, bracelets, etc., without a display screen. Other forms of devices can also have sensors set on the main body of the device. Other forms of devices can also include one or more of the above-mentioned sensors, and measure physical health parameters (also referred to as physical health data, or physiological parameters, or physiological data) through the sensor data collected by the one or more sensors.
[0082] Figure 2 shows a schematic diagram of the hardware structure of the wearable device 100.
[0083] Wearable device 100 can be a bracelet, watch, or other similar device. This application embodiment does not impose any special limitations on the specific type of wearable device. This application embodiment only uses a watch as an example for illustration.
[0084] As shown in Figure 2, the wearable device 100 may include: a processor 200A, a wireless communication module 201, a mobile communication module 202, a sensor module 203, a button 101, a display screen 205, a motor 206, a speaker 207, a microphone 208, an internal memory 209A, a SIM card interface 209B, a USB interface 209C, a power management module 210, a battery 211, and a charging management module 212. The sensor module 203 may include a touch sensor 203A, a motion sensor 203B, a heart rate sensor 203C, a pressure sensor 203D, an electrocardiogram sensor 203E, and an infrared light sensor 203F.
[0085] Processor 200A may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), microcontroller units (MCUs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0086] The wireless communication module 201 can provide solutions for wireless communication applications in wearable devices, including wireless local area networks (WLANs) (such as Wireless Fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), frequency modulation (FM), near-field communication (NFC), and infrared (IR) technologies. The wireless communication module 201 can be one or more devices integrating at least one communication processing module. The wireless communication module 201 receives electromagnetic waves via an antenna, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to the processor 200A. The wireless communication module 201 can also receive signals to be transmitted from the processor 200A, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via the antenna.
[0087] The mobile communication module 202 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G in wearable devices. The mobile communication module 202 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 202 can receive electromagnetic waves via an antenna, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. In some embodiments, at least some functional modules of the mobile communication module 202 may be housed in the processor 200A. In some embodiments, at least some functional modules of the mobile communication module 202 and at least some modules of the processor 200A may be housed in the same device.
[0088] The wireless communication function of wearable devices can be implemented through mobile communication module 202, wireless communication module 201, modem processor and baseband processor, etc.
[0089] Touch sensor 203A, also known as a "touch panel," can be placed on the display screen of wearable device 100. The touch sensor 203A and the display screen together form a touchscreen, also called a "touch screen." Touch sensor 203A is used to detect touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen.
[0090] Motion sensor 203B can acquire motion data and determine the motion state of the user wearing the wearable device based on the motion data. The motion state can include a stationary state and a non-stationary state. The motion sensor can include, but is not limited to, a gyroscope sensor and an accelerometer sensor. The gyroscope sensor can determine the angular velocity of the wearable device 100 around three axes (i.e., the x, y, and z axes). The accelerometer sensor can detect the magnitude of the acceleration of the wearable device 100 in various directions (generally three axes). When the wearable device 100 is stationary, the magnitude and direction of gravity can be detected. In some embodiments, the wearable device 100 can determine the posture of the wrist wearing the wearable device 100 based on the motion data acquired by motion sensor 203B. For example, a horizontal or vertical placement posture.
[0091] The heart rate sensor 203C is used to collect heart rate data. The heart rate sensor 203C can be any of a PPG sensor, laser sensor, ultrasonic sensor, or magnetic sensor. The wearable device 100 can have one or more heart rate sensors 203C. Heart rate data can also be used to estimate other physiological parameters of the user, such as blood pressure.
[0092] The pressure sensor 203D is used to sense pressure signals and convert them into electrical signals. There are many types of pressure sensors 203D, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to the pressure sensor 203D, the capacitance between the electrodes changes, and the wearable device 100 determines the pressure intensity based on the change in capacitance. The wearable device 100 may have one or more pressure sensors 203D. In some embodiments, the pressure sensor 203D may be located on the button 101; in this case, it is understood that the pressure sensor can function as a pressure-sensitive device to detect the pressure value applied by the user to the first button.
[0093] The electrocardiogram (ECG) sensor 203E is used to collect electrocardiogram (ECG) information. This ECG information can be used, along with heart rate data, to estimate the user's blood pressure. The ECG sensor 203E can be an ECG sensor. The wearable device 100 can have one or more ECG sensors 203E. In some embodiments, the ECG sensor 203E can be located on a button 101.
[0094] In some embodiments, the ECG sensor 203E may include multiple electrodes, such as a first electrode and a second electrode. The first electrode may be disposed on the surface of the wearing surface 104, and the second electrode may be disposed on the surface of the button 101. When a pressing operation is applied to the button 101, the first electrode and the second electrode can form a circuit. It is understood that those skilled in the art can, as needed, place the first electrode in other locations. When a pressing operation is applied to the button 101, the first electrode and the second electrode disposed in other locations can also form a circuit, thereby detecting the user's pressing of the button 101.
[0095] An infrared light sensor 203F can be installed inside the button 101. The infrared light sensor 203F can emit infrared light and receive infrared light reflected from objects. The wearable device 100 can determine whether the button 101 is blocked based on the infrared light emitted by the infrared light sensor 203F and the infrared light received from the object.
[0096] Button 101 can be a mechanical button or a non-mechanical button. The wearable device can receive button input and generate key signal inputs related to the user settings and function control of the wearable device.
[0097] In some embodiments, the wearable device 100 can receive user input to button 101, quickly triggering the wearable device 100 to perform a first task. Compared to the user's swiping and clicking operations on the display screen to find the entry point for performing the first task, triggering the wearable device 100 to perform the first task via button 101 saves the user's effort. The first task may include, but is not limited to, measuring physical health parameters. In this way, the wearable device 100 can quickly respond to the user's input to button 101 and begin measuring the user's physical health parameters. Physical health parameters include, but are not limited to, any one or more of the following: heart rate, blood pressure, blood oxygen, respiratory rate, blood lipids, etc. In some embodiments, measuring physical health parameters may also be referred to as a "micro-health checkup".
[0098] It should be noted that the first item is explained using the measurement of physical health parameters as an example in the following text. It is understood that this application is not limited to measuring physical health parameters. The first item may also include other items, such as turning on the display screen, adjusting the volume, etc. This application does not limit these.
[0099] The display screen 205 is used to display images, videos, etc. The display screen 205 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a quantum dot light-emitting diode (QLED), etc. In some embodiments, the wearable device may include one or N displays 205, where N is a positive integer greater than 1.
[0100] Motor 206 can generate vibration alerts. Motor 206 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 206 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 205. For example, motor 206 can also be used to provide different vibration feedback effects in response to detecting a user pressing a first button.
[0101] Speaker 207, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. Wearable devices can listen to music or make hands-free calls through speaker 207.
[0102] Microphone 208, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 208, inputting the sound signal into microphone 208. Wearable devices can be equipped with at least one microphone 208.
[0103] Internal memory 209A can be used to store computer executable program code, which includes instructions. Processor 200A executes various functional applications and data processing of the wearable device by running the instructions stored in internal memory 209A. Internal memory 209A may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of internal memory 209A (such as audio data), etc. Furthermore, internal memory 209A may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0104] The SIM card interface 209B is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 209B to achieve contact and separation with the wearable device. The wearable device can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 209B can support NanoSIM cards, MicroSIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 209B simultaneously. The multiple cards can be of the same or different types. The SIM card interface 209B is also compatible with different types of SIM cards. The SIM card interface 209B is also compatible with external memory cards. The wearable device interacts with the network through the SIM card to achieve functions such as calls and data communication. In some embodiments, the wearable device uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the wearable device and cannot be separated from it. In some embodiments, the wearable device may not include the SIM card interface 209B.
[0105] The USB 209C interface is a USB standard compliant interface, which can be a Mini USB interface, Micro USB interface, USB Type-C interface, etc. The USB 209C interface can be used to connect chargers to charge wearable devices, and can also be used for data transfer between USB 209C and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.
[0106] The power management module 210 connects the battery 211, the charging management module 212, and the processor 200A. The power management module 210 receives input from the battery 211 and / or the charging management module 212, supplying power to the processor 200A, internal memory 209A, display screen 205, and wireless communication module 201, etc. The power management module 210 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 210 may also be located within the processor 200A. In other embodiments, the power management module 210 and the charging management module 212 may be located in the same device.
[0107] The charging management module 212 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 212 receives charging input from the wired charger via a USB interface 209C. In some wireless charging embodiments, the charging management module 212 receives wireless charging input via the wireless charging coil of the wearable device. While charging the battery 211, the charging management module 212 can also supply power to the wearable device via the power management module 210.
[0108] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the wearable device. In other embodiments of this application, the wearable device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0109] Figures 3A-3G illustrate a schematic diagram of a wearable device 100 receiving a user's operation on button 101 and starting to measure the user's physical health parameters.
[0110] As shown in Figure 3A, the wearable device 100 is in a screen-on state, displaying a desktop. The wearable device 100 can receive user input operations on button 101, such as a long press. After the wearable device 100 confirms that button 101 is functioning correctly, in response to the user's input operation, the wearable device 100 can begin measuring the user's physical health parameters.
[0111] Optionally, the wearable device 100 can display other interfaces, such as a watch face, instead of just a desktop. Also, it can be in a screen-off state, not just a screen-on state. In other words, the wearable device can begin measuring the user's health parameters in response to user input, whether displaying other interfaces or with the screen off.
[0112] In some embodiments, the wearable device 100 determines that button 101 is functioning normally by indicating that the status flag of button 101 is a normal flag. For example, a normal flag (e.g., 0) indicates that the button is functioning normally; a faulty flag (e.g., 1) indicates that button 101 is faulty. It should be noted that the determination of button 101's normal functioning is not limited to the normal flag; the wearable device 100 can also determine that button 101 is functioning normally based on other methods, which are not limited in this application.
[0113] In response to determining that the status flag of button 101 is a normal flag, wearable device 100 can determine whether the pressure value applied to button 101 is greater than a first value. If the pressure value applied to button 101 is greater than the first value, wearable device 100 can start measuring the user's health parameters and display the user interface shown in Figures 3B-3G. Conversely, if the pressure value applied to button 101 is less than or equal to the first value, wearable device 100 may not start the measurement. Alternatively, it can first determine whether the pressure value applied to button 101 is greater than the first value, and then determine the status flag of button 101. If the status flag is a normal flag, wearable device 100 can start measuring the user's health parameters.
[0114] As shown in Figures 3B, 3C, 3D, and 3E, the wearable device 100 can reduce the brightness of the display screen and display countdown options (e.g., countdown 3, 2, 1, etc.) to prompt the user that the measurement of the user's physical health parameters will begin after the countdown ends. After the countdown ends, the wearable device 100 can stop displaying the countdown options and display the interface shown in Figure 3F.
[0115] As shown in Figure 3F, the wearable device 100 can further reduce the brightness of the display screen to confirm whether the pressure value applied to the button 101 is still greater than the first value. If the wearable device 100 confirms that the pressure value applied to the button 101 is still greater than the first value, the wearable device 100 can start measuring the user's health parameters and display the user interface shown in Figure 3G. Conversely, if the wearable device 100 confirms that the pressure value applied to the button 101 is less than or equal to the first value, the wearable device 100 can not start the measurement and display the desktop shown in Figure 3A.
[0116] For example, a user's health parameters may include heart rate. As shown in Figure 3G, the user interface displayed by the wearable device 100 can show a heart rate curve and heart rate values. It should be noted that the user's health parameters may also include other parameters, and each parameter is measured sequentially. When measuring other parameters, the wearable device 100 can display the corresponding measurement interface.
[0117] Optionally, after starting to measure the user's health parameters and before ending the measurement, the wearable device 100 may continuously / intermittently detect whether the pressure value applied to the button 101 is greater than a first value. If the wearable device 100 detects that the pressure value applied to the button 101 is less than or equal to the first value, or if the duration of the pressure value applied to the button 101 being less than or equal to the first value is greater than a preset duration (e.g., 10 seconds), the wearable device 100 may stop measuring the user's health parameters and display the desktop shown in Figure 3A.
[0118] Optionally, after the wearable device 100 stops measuring the user's health parameters and displays the desktop shown in Figure 3A, if the wearable device 100 detects again that the pressure value against the button 101 is greater than the first value, the wearable device 100 can display the user interface shown in Figures 3B-3G again to restart measuring the user's health parameters.
[0119] The above embodiments illustrate the case where the wearable device 100 confirms that the button 101 is normal when the status flag is normal, and the wearable device 100 confirms that the button 101 is abnormal when the status flag is abnormal. It should be understood that the embodiments of this application are not limited thereto.
[0120] For example, in some embodiments, the wearable device 100 determines that the button 101 is normal, which may include: the status flag of the button 101 is an abnormal flag, but the wearable device 100 determines that a first condition is met (for example, the status flag update may be periodic. When the pressure-sensitive device malfunctions and the wearable device sets the status flag of the first button to an abnormal flag, if the user immediately presses the first button, there may be a situation where the status flag is an abnormal flag, but the user presses the first button). In this case, the wearable device 100 can start measuring the user's physical health parameters and display the user interface shown in Figures 3B-3G. The first condition may include, but is not limited to, any one or more of the following: the button 101 is obstructed, the wearable device 100 meets a first wearing posture (for example, the wrist wearing the wearable device 100 is in a horizontal position), and the first electrode and the second electrode are connected.
[0121] For example, when the first condition includes the first electrode and the second electrode being conductive, in response to determining that the status flag of button 101 is an abnormal flag, the wearable device 100 can determine whether the first electrode and the second electrode are conductive (i.e., the first condition is that the first electrode and the second electrode are conductive). If the wearable device 100 determines that the first electrode and the second electrode are conductive, the wearable device 100 can start measuring the user's physical health parameters and display the user interface shown in Figures 3B-3G. Conversely, if it is determined that the first electrode and the second electrode are not conductive, the wearable device 100 may not display the user interface shown in Figures 3B-3G and may not start the measurement.
[0122] Alternatively, for example, when the first condition includes button 101 being obscured, wearable device 100 meeting a first wearing posture, and the first and second electrodes being conductive, in response to determining that the status flag of button 101 is an abnormal flag, wearable device 100 may first determine whether button 101 is obscured and / or whether wearable device 100 meets the first wearing posture (e.g., the wrist wearing wearable device 100 is in a horizontal position). If wearable device 100 determines that button 101 is not obscured and / or wearable device 100 does not meet the first wearing posture, then wearable device 100 may no longer determine whether the first and second electrodes are conductive, wearable device 100 may not display the user interface shown in Figures 3B-3G, and may not initiate measurement. If wearable device 100 determines that button 101 is obscured and / or wearable device 100 meets the first wearing posture, then wearable device 100 may then determine whether the first and second electrodes are conductive. If the wearable device 100 determines that the first electrode and the second electrode are conductive, the wearable device 100 can begin measuring the user's health parameters and display the user interface shown in Figures 3B-3G. If the first electrode and the second electrode are not conductive, the user interface shown in Figures 3B-3G will not be displayed, and the measurement will not be initiated. Before initiating the measurement, the wearable device can confirm whether the user is still pressing the first button. For example, when the wearable device displays the interface shown in Figures 3B-3F, or after the wearable device 100 displays the interface shown in Figure 3F but before initiating the measurement, the wearable device 100 can determine whether the wearable device still meets the first condition or whether the first electrode and the second electrode are conductive. If the first condition is still met or the first electrode and the second electrode are still conductive, it can be assumed that the user is continuously pressing the first button, and the wearable device 100 can begin measuring the user's health parameters and display the user interface shown in Figure 3G. Otherwise, Figure 3A can be displayed, and the measurement will not be initiated.
[0123] It is understood that the conditions used to confirm whether the user is still pressing the first button in the above embodiments may be the same as or different from the conditions used to trigger the display of the interface such as Figure 3B. For example, the conditions for confirming that the user is still pressing the first button may be simpler than the conditions for triggering the display of the interface such as Figure 3B. For example, the first condition for triggering the display of the interface in Figure 3B may be: button 101 is blocked, wearable device 100 meets the first wearing posture and the first electrode and the second electrode are connected, and the condition for confirming that the user is still pressing the first button may be that the first electrode and the second electrode are connected.
[0124] Optionally, after starting to measure the user's health parameters and before ending the measurement, it can be determined whether the first condition is still met or whether the first and second electrodes are still conductive. If the wearable device 100 determines that the first condition is not met, or the wearable device 100 detects that the first and second electrodes are not conductive, the wearable device 100 can stop measuring the user's health parameters and display the desktop shown in Figure 3A.
[0125] Optionally, after the wearable device 100 stops measuring the user's health parameters and displays the desktop shown in FIG3A, if the wearable device 100 determines again that the first condition is met, the wearable device 100 can display the user interface shown in FIG3B-FIG again to restart measuring the user's health parameters.
[0126] This method allows the wearable device 100 to detect user health parameters when it determines the first button is functioning correctly (i.e., confirming user press). If the wearable device 100 determines the first button is malfunctioning, it can further verify if the user has pressed the button. If the user has pressed the button, the pressure value is due to the user's action, and the wearable device 100 can then detect the user's health parameters. If the user has not pressed the button, the pressure value is not due to the user's action but rather a failure of the pressure-sensitive component in the first button. In this case, the wearable device 100 can discontinue detecting the user's health parameters. This improves the accuracy of the wearable device 100's detection of user health parameters via the first button, reduces accidental presses, and enhances the user experience.
[0127] The following details how the wearable device 100 determines whether the first button is working properly.
[0128] Figure 4 shows a flowchart illustrating a method for a wearable device 100 to perform a first task after confirming that the first button is working properly.
[0129] S401, Wearable device 100 detects whether the first button is abnormal.
[0130] In some embodiments, before the wearable device 100 detects whether the first button is abnormal, the wearable device 100 may perform step a, which may include: the wearable device 100 confirming whether the detected pressure value against the first button is greater than a first value. If the wearable device 100 detects that the pressure value against the first button is greater than or equal to the first value, the wearable device 100 may detect whether the first button is abnormal. If the wearable device 100 detects that the pressure value against the first button is less than or equal to the first value, the wearable device 100 may not detect whether the first button is abnormal. It is understood that when the pressure value against the first button is greater than the first value, it may be due to the user pressing the first button. In this case, the wearable device 100 may still detect whether the first button is abnormal, which can reduce the occurrence of accidental touches of the first button causing the wearable device 100 to detect whether the first button is abnormal, and can save the power consumption of the wearable device 100.
[0131] In some embodiments, before the wearable device 100 performs step a, the wearable device 100 may perform step b. Step b may include: the wearable device 100 determining whether a fifth condition is met, the fifth condition including any one or more of the following: the display screen of the wearable device 100 is on, the wearable device 100 is in a wearing state, or the display screen of the wearable device 100 displays a watch face interface. If the wearable device 100 determines that the fifth condition is met, then the wearable device 100 may proceed with step a. If the wearable device 100 determines that the fifth condition is not met, then the wearable device 100 may not perform step a. It is understood that when the fifth condition is met, the user may be using the wearable device 100. In this case, the wearable device 100 may then acquire the pressure value of the first button, which can reduce the occurrence of accidental touches of the first button causing the wearable device 100 to detect whether the first button is abnormal, thus saving the power consumption of the wearable device 100.
[0132] If the wearable device 100 detects an anomaly in the first button (e.g., an anomaly is detected based on pressure value), the wearable device 100 can determine whether a first condition is met. If the first condition is met, it means that the user has pressed the first button, and the pressure value detected by the wearable device 100 is caused by the user's pressing operation on the first button. The wearable device 100 then executes the first action, i.e., executes S402. Conversely, if the first condition is not met, the wearable device may not execute the first action.
[0133] If the wearable device 100 detects that the first button is normal, it means that the user has pressed the first button. The pressure value of the first button detected by the wearable device 100 is also caused by the user's pressing operation on the first button. The wearable device 100 can execute the first item, that is, execute S403.
[0134] S402. If the first button is abnormal, the wearable device 100 performs the first action based on the fulfillment of the first condition.
[0135] If the first button malfunctions, the wearable device 100 can determine whether the user has pressed the first button based on a first condition. If the wearable device 100 determines that the first condition is met, it means that the user has pressed the first button, and the pressure value detected by the wearable device 100 is caused by the user's pressing action. In this case, the wearable device 100 can execute the first action. Conversely, if the first button malfunctions, it means that the user has not pressed the first button, and the pressure value detected by the wearable device 100 is not caused by the user's pressing action. In this case, the wearable device 100 may not execute the first action.
[0136] For example, the first condition may include: the first electrode and the second electrode are connected.
[0137] The wearable device 100 includes a watch body, which includes a wearing surface and a display surface. A first button is provided on the side of the watch body. The wearable device 100 also includes a first electrode and a second electrode. The first electrode is provided on the wearing surface, and the second electrode is provided on the surface of the first button.
[0138] Optionally, the first condition is not limited to the first electrode and the second electrode being connected; it can also be other conditions. The first condition may include one condition or multiple conditions. In some embodiments, the first condition may also include any one or more of the following: the first button is blocked, and the wearable device 100 meets a first wearing posture (e.g., the wrist wearing the wearable device 100 is in a horizontal position). In this way, by using multiple conditions, accidental touch scenarios can be eliminated, and the accuracy of the user controlling the wearable device 100 through the first button can be improved. In one possible implementation, when the first condition includes the first button being blocked, the wearable device 100 meeting a first wearing posture, and the first electrode and the second electrode being conductive, the wearable device 100 performs a first action based on meeting the first condition. Specifically, this includes: the wearable device 100 determining whether the first button is blocked and / or whether the wearable device 100 meets the first wearing posture; if the wearable device 100 determines that the first button is not blocked and / or the wearable device 100 does not meet the first wearing posture, then the wearable device 100 may no longer determine whether the first electrode and the second electrode are conductive, and the wearable device 100 does not perform the first action; if the wearable device 100 determines that the first button is blocked and / or the wearable device 100 meets the first wearing posture, then the wearable device 100 further determines whether the first electrode and the second electrode are conductive; if the wearable device 100 determines that the first electrode and the second electrode are conductive, then the wearable device 100 performs the first action; if the wearable device 100 determines that the first electrode and the second electrode are not conductive, then the wearable device 100 does not perform the first action. The reason is that before the wearable device 100 determines whether the first electrode and the second electrode are conductive, the wearable device 100 needs to perform steps such as configuring the configuration parameters required to power on the ECG sensor and powering on the ECG sensor. If the wearable device 100 frequently performs these steps, on the one hand, it will reduce the accuracy of the data collected by the ECG sensor and shorten its lifespan. On the other hand, since the wearing surface of the wearable device also includes other sensors, frequent execution of these steps will also affect the accuracy of data collected by other sensors on the bottom of the device. Therefore, if the wearable device 100 determines that the first button is not blocked and / or the wearable device 100 does not meet the first wearing posture, the wearable device 100 will no longer determine whether the first electrode and the second electrode are conductive. This not only improves the accuracy of the data collected by the ECG sensor and extends its lifespan, but also avoids affecting the accuracy of data collected by other sensors.
[0139] Optionally, the first condition may further include the pressure value meeting a preset value. For example, the wearable device performing the first action when the first condition is met may be that the first action is performed when the first electrode and the second electrode are detected to be conducting and the pressure value of the first button meets the preset value.
[0140] S403. If the first button is normal, the wearable device 100 performs the first action based on the second condition, the second condition including: the pressure value of the first button meets the preset value.
[0141] The pressure value of the first button meets the preset value, which can mean that the pressure value of the first button is greater than the first value, or it can mean that the pressure value of the first button is within a second range, where the second range can mean greater than the seventh value and less than the eighth value.
[0142] Optionally, the wearable device 100 may determine whether the first button is abnormal based on one or more of the following methods.
[0143] Method 1: The wearable device 100 determines whether the first button is abnormal based on the status flag of the first button.
[0144] The wearable device 100 acquires the status flag of the first button. If the status flag of the first button is an abnormal flag, the wearable device 100 determines that the first button is abnormal. If the status flag of the first button is a normal flag, the wearable device 100 determines that the first button is normal. In this way, the wearable device 100 can quickly determine whether the first button is abnormal based on its status flag.
[0145] Optionally, before the wearable device 100 obtains the status flag of the first button, the wearable device 100 can determine and store the status flag of the first button. That is, the wearable device can detect the status of the first button and set the status flag of the first button according to the status of the first button.
[0146] For example, if the wearable device 100 determines that the fourth condition is met, the wearable device 100 may set the status flag of the first button to an abnormal flag. If the wearable device 100 determines that the fourth condition is not met, the wearable device 100 may set the status flag of the first button to a normal flag. For example, the fourth condition may include any one or more of the following: the fluctuation range of the pressure value against the button within a first duration is within a first range; the duration for which the pressure value against the first button is greater than the first value is greater than a second duration.
[0147] The first range can refer to a value greater than the second value and less than or equal to the third value. Within the first duration, the fluctuation range of the pressure value applied to the first button can be within this range. Specifically, it can mean that the pressure value applied to the first button at different times within the first duration is greater than the second value and less than or equal to the third value. For example, the second value could be 100g and the third value could be 125g. The pressure value at each time point within the first duration is greater than 100g and less than 125g. Alternatively, the fluctuation range of the pressure value applied to the first button within the first duration can also refer to the difference between the pressure values at any two different times within the first duration being greater than the second value and less than or equal to the third value. For example, the second value could be -25g and the third value could be 25g. The difference between the pressure values at different times within the first duration is greater than -25g and less than +25g.
[0148] Optionally, the first duration and the second duration can be the same or different. For example, the first duration and the second duration can be 4 minutes. It should be noted that the above description, using the determination of whether an abnormal condition (e.g., the fourth condition) is met as an example, can be understood as being replaced by determining whether a normal condition (e.g., the sixth condition) is met. If the wearable device determines that the sixth condition is met, the wearable device sets the status flag of the first button to a normal flag. If the wearable device determines that the sixth condition is not met, the wearable device sets the status flag of the first button to an abnormal flag. For example, the sixth condition may include one or more of the following: the fluctuation range of the pressure value against the button exceeds a first range within the first duration; the duration for which the pressure value against the first button is greater than the first value is less than or equal to the second duration.
[0149] Optionally, before the wearable device 100 leaves the factory, the status flag of the first button stored in the wearable device 100 is set to a normal flag by default. The wearable device 100 can update the status flag of the first button during use, for example, by updating the status flag of the first button from a normal flag to an abnormal flag, or by updating the status flag of the first button from an abnormal flag to a normal flag.
[0150] Method 2: The wearable device 100 determines whether the first button is abnormal based on the status flag of the first button and the third condition.
[0151] The wearable device 100 acquires the status flag of the first button. If the status flag of the first button is a normal flag, the wearable device 100 can perform the first action. If the status flag of the first button is an abnormal flag, the wearable device 100 can further determine whether the third condition is met.
[0152] If the wearable device 100 determines that the third condition is met, then the wearable device 100 determines that the first button is functioning correctly and sets the status flag of the first button to the normal flag. That is, the wearable device 100 can update the status flag of the first button. In response to the wearable device 100 determining that the first button is functioning correctly, in some embodiments, the wearable device 100 can further determine whether the second condition is met, and perform the first action based on the satisfaction of the second condition. In other embodiments, the wearable device 100 can also omit the determination of whether the second condition is met and directly perform the first action. The first condition and the third condition can be the same or different.
[0153] If the wearable device 100 determines that the third condition is not met, then the wearable device 100 determines that the first button is malfunctioning. In response to the wearable device 100 determining that the third condition is not met, the wearable device 100 can then determine whether the first condition is met. If the wearable device 100 determines that the first condition is met, it means that the user has pressed the first button, and the pressure value of the first button detected by the wearable device 100 is caused by the user's pressing operation on the first button; the wearable device 100 can then perform the first action. If the wearable device 100 determines that the first condition is not met, it means that the user has not pressed the first button, and the pressure value of the first button detected by the wearable device 100 is caused by the failure of the pressure-sensitive device in the first button; the wearable device 100 does not perform the first action. The third condition is different from the first condition. For example, the third condition includes any one or more of the following: the first button is obstructed, the wearable device 100 meets a first wearing posture (e.g., the wrist wearing the wearable device 100 is in a horizontal position), and the first electrode and the second electrode are connected.
[0154] Optionally, the third condition differs from the first condition. The third condition may not include the first electrode and the second electrode being conductive; instead, it may include the first button being blocked and / or the wearable device 100 meeting the first wearing posture. For example, the first condition may be the first electrode and the second electrode being conductive, and the third condition may be the first button being blocked and / or meeting the first wearing posture. For instance, the wearable device 100 may obtain the status flag of the first button. If the status flag of the first button is an abnormal flag, the wearable device 100 may further determine whether the first button is blocked and / or whether the wearable device 100 meets the first wearing posture. If the wearable device 100 determines that the first button is blocked and / or the wearable device 100 meets the first wearing posture, the wearable device 100 may further determine whether the first electrode and the second electrode are conductive. If the wearable device 100 determines that the first electrode and the second electrode are conductive, the wearable device 100 may perform the first action. Conversely, if the wearable device 100 determines that the first electrode and the second electrode are not conductive, the wearable device 100 may not perform the first action.
[0155] In some embodiments, after the wearable device 100 determines that the third condition is not met and determines that the first button is abnormal, the wearable device 100 may also set the status flag of the first button to an abnormal flag. Optionally, if the status flag of the first button stored in the wearable device 100 is already an abnormal flag, after the wearable device 100 determines that the third condition is not met and determines that the first button is abnormal, the wearable device 100 may not set the status flag of the first button to an abnormal flag again.
[0156] By using method two, the wearable device 100 can determine whether the first button is abnormal based on the status flag of the first button and the third condition, which can improve the accuracy of the wearable device 100 in determining whether the first button is abnormal.
[0157] Method 3:
[0158] Wearable device 100 determines whether the fluctuation range of the pressure value of the first button within a first duration is within a first range, and / or whether the duration for which the pressure value of the first button is greater than the first value is greater than a second duration.
[0159] If the wearable device 100 determines that the fluctuation range of the pressure value of the first button within a first duration is within a first range, and / or the duration for which the pressure value of the first button is greater than the first value is greater than the second duration, then the wearable device 100 determines that the first button is abnormal.
[0160] If the wearable device 100 determines that the fluctuation range of the pressure value of the button within the first time period is not within the first range, and / or the duration for which the pressure value of the first button is greater than the first value is less than the second time period, then the wearable device 100 determines that the first button is normal.
[0161] In methods one and two described above, the wearable device 100 needs to determine whether the first button is normal or abnormal based on its status flag. In method three, the wearable device 100 does not need to determine whether the first button is normal or abnormal based on its status flag. The wearable device 100 can determine whether the first button is normal or abnormal based on the pressure value applied to it.
[0162] Method 4:
[0163] Wearable device 100 determines whether the fluctuation range of the pressure value of the first button within a first duration is within a first range, and / or whether the duration for which the pressure value of the first button is greater than the first value is greater than a second duration.
[0164] If the wearable device 100 determines that the fluctuation range of the pressure value of the first button within the first time period is within the first range, and / or the duration of the pressure value of the first button being greater than the first value is greater than the second time period, then the wearable device 100 detects an abnormality in the first button.
[0165] If the wearable device 100 determines that the fluctuation range of the pressure value applied to the first button within the first time period is not within the first range, and / or that the duration for which the pressure value applied to the first button is greater than the first value is less than the second time period, then the wearable device can continue to determine whether the third condition is met. If the wearable device 100 determines that the third condition is met, then the wearable device determines that the first button is normal. If the wearable device 100 determines that the third condition is not met, then the wearable device 100 determines that the first button is abnormal.
[0166] Method four is similar to method three. The difference is that in method four, if the wearable device 100 determines that the fluctuation range of the pressure value of the first button within the first duration is not within the first range, and / or the duration for which the pressure value of the first button is greater than the first value is less than the second duration, the wearable device 100 also needs to determine whether the third condition is met in order to determine whether the first button is normal or abnormal. This can improve the accuracy of the wearable device in determining whether the first button is normal or abnormal.
[0167] The methods for determining whether the first button is normal or abnormal are not limited to the above-mentioned methods. Other methods can also be used to determine whether the first button is normal or abnormal, and this application does not limit this.
[0168] The following example illustrates how wearable device 100 determines whether the first button is normal or abnormal based on the status flag of the first button.
[0169] Figure 5 shows a schematic diagram of another method for a wearable device 100 to determine whether the first button is normal or abnormal.
[0170] S501, Wearable device 100 detects the pressure value applied to the first button.
[0171] The wearable device 100 can acquire the pressure value applied to the first button and detect whether a pressure value is applied to the first button. The detection of a pressure value applied to the first button by the wearable device 100 can serve as a trigger condition for detecting whether the first button is functioning normally or abnormally. If no pressure value is detected applied to the first button, the wearable device 100 does not need to detect whether the first button is functioning normally or abnormally, thus saving power consumption.
[0172] Optionally, before executing S501, the wearable device may detect whether the fifth condition is met. In response to the fifth condition being met, S501 is then executed. For a related description, please refer to the description of step b in the embodiment of Figure 4. S502: The wearable device 100 determines whether the pressure value applied to the first button is greater than a first value.
[0173] Optionally, it should be noted that before executing S502, the wearable device 100 may detect whether the fifth condition is met. S502 is then executed only if the fifth condition is met.
[0174] Alternatively, after the wearable device 100 determines that the pressure value applied to the first button is greater than the first value, before the wearable device 100 executes S503, the wearable device 100 may detect whether the fifth condition is met, and execute S503 in response to the fifth condition being met.
[0175] For a description of the fifth condition, please refer to the description of step b in the embodiment of Figure 4.
[0176] S503, Wearable device 100 determines whether the status flag of the first button is an abnormal flag.
[0177] In some embodiments, before the wearable device 100 leaves the factory, the status flag of the first button stored in the wearable device 100 is set to the normal flag by default. When the pressure value applied to the first button is detected to be greater than a first value for the first time, the wearable device 100 can determine that the status flag of the first button is the normal flag based on the default status flag (i.e., the normal flag).
[0178] In other embodiments, when the pressure value applied to the first button is detected to be greater than a first value before the first button is detected, the status flag of the first button can be either a normal flag or an abnormal flag. Therefore, when the wearable device 100 determines that the pressure value applied to the first button is greater than the first value, the wearable device 100 can obtain the status flag of the first button and determine whether the status flag of the first button is an abnormal flag.
[0179] If the status flag of the first button is determined to be an abnormal flag, the wearable device 100 can determine that the first button is abnormal. The wearable device 100 also needs to further determine whether the user has pressed the first button, that is, to execute S504.
[0180] If the status flag of the first button is determined to be normal, the wearable device 100 assumes that the first button is normal, that is, it assumes that the user has pressed the first button. The pressure value of the first button detected by the wearable device 100 is caused by the user's pressing operation on the first button. The wearable device 100 can then perform the first action, that is, execute S505.
[0181] In some embodiments, the wearable device 100 can also confirm whether the first button is abnormal by combining the status flag of the first button and a third condition. For example, please refer to the description in embodiment two of FIG4, which will not be repeated here.
[0182] It should be noted that S503 and S505 can also be omitted. If the wearable device 100 determines that the pressure applied to the first button is greater than a first value, the wearable device 100 can directly determine whether the user has pressed the first button based on the first condition. If it is determined based on the first condition that the user has not pressed the first button, the wearable device 100 may not execute the first action. If it is determined based on the first condition that the user has pressed the first button, the wearable device 100 may execute the first action.
[0183] S504. Wearable device 100 determines whether to perform the first action based on the first condition.
[0184] If the status flag of the first button is determined to be an abnormal flag, the wearable device 100 can determine that the first button is abnormal, and the wearable device 100 can determine whether to perform the first action based on the first condition. Specifically, please refer to the description of S402 in the embodiment of FIG4, which will not be repeated here.
[0185] S505, the wearable device 100 performs the first action based on the pressure value applied to the first button. If the status flag of the first button is determined to be a normal flag, the first button can be considered normal, and the wearable device 100 can directly perform the first action without setting a judgment condition. Alternatively, the wearable device 100 can also set a judgment condition to perform the first action based on whether the pressure value meets the judgment condition. For example, the judgment condition could be that the pressure value of the first button meets a preset value. For instance, it could mean that the pressure value of the first button is greater than a first value, or it could mean that the pressure value of the first button is within a second range, where the second range could mean greater than a seventh value and less than an eighth value.
[0186] Figure 6A shows a flowchart illustrating a method for a wearable device 100 to obtain the status flag of a first button.
[0187] S601, Wearable device 100 detects the pressure value applied to the first button.
[0188] S602, The wearable device 100 determines whether the pressure value applied to the first button is greater than the first value.
[0189] When the wearable device determines that the pressure value applied to the first button is greater than a first value, S603 is executed. When the wearable device determines that the pressure value applied to the first button is less than or equal to the first value, S601 is executed. For a description of S601 and S602, please refer to the description in S501 and S502, which will not be repeated here. In some embodiments, S601 and S602 may not be executed, and the wearable device 100 may periodically / irregularly determine whether the fourth condition is met to obtain the status flag of the first button.
[0190] S603, Wearable device 100 determines whether the fourth condition is met.
[0191] The fourth condition may include one or more of the following: the fluctuation range of the pressure value applied to the button within the first duration is within a first range; and the duration for which the pressure value applied to the first button is greater than the first value is greater than the second duration. It should be noted that the above fourth condition is exemplary, and other conditions may also be set.
[0192] When the first button is functioning normally, if a user presses the first button to trigger the wearable device 100 to perform the first action, the wearable device 100 can detect a pressure value on the first button. Generally, the user will not press the first button for a very long time. After the user stops pressing the first button, the wearable device 100 can detect a sharp decrease in the pressure value applied to the first button, meaning that the pressure value fluctuates significantly. When the first button is malfunctioning, that is, when the electronic components in the first button are deformed, even if the user does not press the first button, the wearable device 100 can still detect a pressure value applied to the first button, and the pressure value applied to the first button will remain above a certain threshold for a relatively long time, with less fluctuation in the pressure value. Based on this, the wearable device 100 can accurately determine whether the first button is functioning normally or malfunctioning based on the characteristics of the pressure value applied to the first button.
[0193] If the wearable device 100 determines that the fourth condition is met, the wearable device 100 can determine that the first button is abnormal, and the wearable device 100 can set the status flag of the first button to the abnormal flag, that is, execute S604.
[0194] If the wearable device 100 determines that the fourth condition is not met, the wearable device 100 can determine that the first button is normal, and the wearable device 100 can set the status flag of the first button to the normal flag, that is, execute S605.
[0195] S604, the wearable device 100 sets the status flag of the first button to an abnormal flag.
[0196] If the wearable device 100 determines that the fourth condition is met, the wearable device 100 can determine that the first button is abnormal, and the wearable device 100 can set the status flag of the first button to an abnormal flag.
[0197] Optionally, if the status flag of the first button stored in the wearable device 100 is an abnormal flag, then the wearable device 100 may not reset the status flag of the first button to an abnormal flag if it determines that the fourth condition is met. If the status flag of the first button stored in the wearable device 100 is a normal flag, then the wearable device 100 may reset the status flag of the first button to an abnormal flag if it determines that the fourth condition is met.
[0198] Optionally, the wearable device 100 may not determine whether the status flag of the first button stored in the wearable device 100 is an abnormal flag or a normal flag. If the wearable device 100 determines that the fourth condition is met, the wearable device 100 will set the status flag of the first button to an abnormal flag.
[0199] Figure 6B shows a waveform diagram of the pressure value detected by the wearable device 100 for the first button in the event of a first button malfunction.
[0200] As shown in Figure 6B, at time 0, if the user does not press the first button, the wearable device 100 detects a pressure value of the sixth value for the first button, which is greater than the first value. Between time 0 and time t3, if the user presses the first button and then stops pressing it, the wearable device 100 detects a pressure value for the first button that is consistently greater than the first value, with minimal fluctuation. Around time t3, the pressure value for the first button remains stable near the sixth value, and the duration of the pressure value being greater than the first value is longer than the second duration. Around time t1, whether the user presses or does not press the first button, the pressure value for the first button remains stable near the sixth value, with reduced fluctuation. As can be seen from Figure 6B, between time 0 and time t1, the wearable device 100 detects a pressure value for the first button that is consistently greater than the first value, and the fluctuation of the pressure value for the first button is also relatively small. Within the first duration, the fluctuation range of the pressure value for the button is within the first range.
[0201] S605, the wearable device 100 sets the status flag of the first button to the normal flag.
[0202] If the wearable device 100 determines that the fourth condition is not met, the wearable device 100 can determine that the first button is normal, and the wearable device 100 can set the status flag of the first button to the normal flag.
[0203] The implementation of the wearable device 100 setting the status flag of the first button to the normal flag is similar to the implementation of the wearable device 100 setting the status flag of the first button to the abnormal flag in S604. Please refer to the description in S604. This application will not repeat it here.
[0204] Figure 6C shows a waveform diagram of the pressure value detected by the wearable device 100 for the first button when the first button is functioning normally.
[0205] As shown in Figure 6C, at time 0, the wearable device 100 receives a user pressing the first button. The wearable device 100 detects that the pressure value applied to the first button is near the fourth value, which is greater than the first value. If the user presses the first button for a duration of three times, which is shorter than the first duration, at time t2, the user stops pressing the first button. The wearable device 100 then detects that the pressure value applied to the first button is near the fifth value, which is less than or equal to the first value and much smaller than the fourth value. If the duration between time 0 and time t1 is the first duration, and the duration between time 0 and time t3 is the second duration, it can be seen from Figure 6C that within the first duration, the pressure value applied to the first button fluctuates significantly, meaning that the fluctuation range of the pressure value applied to the button within the first duration is not within the first range. It can also be seen from Figure 6C that the duration for which the pressure value applied to the first button is greater than the first value is shorter than the second duration.
[0206] As shown in the embodiment of Figure 4, the wearable device can set different conditions for triggering the first action based on whether the first button is abnormal. Specifically, for example, as shown in S504 of the embodiment of Figure 5, when the status flag of the first button is determined to be abnormal, the wearable device 100 can determine whether the user has pressed the first button based on the first condition. The first condition may include any one or more of the following: the first button is blocked, the wearable device 100 meets a first wearing posture (e.g., the wrist wearing the wearable device 100 is in a horizontal position), the first electrode and the second electrode are conductive, etc. As another example, as shown in S505 of the embodiment of Figure 5, when the status flag of the first button is determined to be normal, the wearable device 100 can determine whether the user has pressed the first button based on the pressure value and execute the first action. The wearable device 100 may include multiple software modules, and the wearable device 100 can determine whether the first condition is met through these multiple software modules.
[0207] Figure 7 shows a schematic diagram of a wearable device 100 determining whether a first condition is met through multiple software modules.
[0208] As shown in Figure 7, the wearable device 100 may include, but is not limited to, a button status detection module, a pressure detection module, a light sensing judgment module, a posture judgment module, an electrode conduction judgment module, and an execution module.
[0209] The button status detection module can be used to execute S503 in the embodiment of Figure 5 to determine whether the status flag of the first button is an abnormal flag or a normal flag.
[0210] Before the button state detection module executes S503 in the embodiment of Figure 5, the wearable device 100 can also execute S501 and S502. It should be noted that the wearable device 100 can execute S501 and S502 through the button state detection module, or it can execute S501 and S502 through another software module.
[0211] If the status flag of the first button is determined to be an abnormal flag, the wearable device 100 can further determine whether the user has pressed the first button through any one or more of the light sensing module, posture judgment module, and electrode continuity judgment module. This application does not limit the execution order of the light sensing module, posture judgment module, and electrode continuity judgment module.
[0212] For example, if the status flag of the first button is determined to be an abnormal flag, the wearable device 100 can first determine whether the first button is obstructed through the light sensing module and / or determine whether a first wearing posture is met through the posture judgment module. The first wearing posture can be that the wrist of the wearable device 100 is in a horizontal position. If the wearable device 100 determines through the light sensing module that the first button is not obstructed and / or through the posture judgment module that the first wearing posture is not met, then the wearable device 100 will not determine whether the first electrode and the second electrode are connected through the electrode continuity judgment module. If the wearable device 100 determines through the light sensing module that the first button is obstructed and / or through the posture judgment module that the first wearing posture is met, then the wearable device 100 will determine through the electrode continuity judgment module whether the first electrode and the second electrode are connected. If the wearable device 100 determines through the electrode continuity judgment module that the first electrode and the second electrode are connected, then the wearable device 100 can perform the first action through the execution module. If the wearable device 100 determines through the electrode continuity judgment module that the first electrode and the second electrode are not connected, the wearable device 100 will not perform the first action.
[0213] For example, if the status flag of the first button is determined to be an abnormal flag, the wearable device 100 can also directly determine whether the first electrode and the second electrode are connected through the electrode continuity determination module. If the wearable device 100 determines that the first electrode and the second electrode are connected through the electrode continuity determination module, the wearable device 100 can perform the first action through the execution module. If the wearable device 100 determines that the first electrode and the second electrode are not connected through the electrode continuity determination module, the wearable device 100 will not perform the first action.
[0214] If the status flag of the first button is determined to be normal, the wearable device 100 can determine whether the user has pressed the first button through the pressure detection module. For details, please refer to S403 and S505, which will not be repeated here.
[0215] The following details how the wearable device 100 determines whether a user has pressed the first button through one or more of the light sensing module, posture detection module, and electrode conduction detection module.
[0216] Figure 8 shows a flowchart illustrating a method for further determining whether the first button is abnormal after the wearable device 100 detects an abnormality in the first button.
[0217] As shown in Figure 8, the wearable device 100 includes multiple software modules, such as a large desktop application, a sports and health application, a sensor management module, a device management task module, an occlusion detection algorithm module, a posture detection algorithm module, and a pressure detection algorithm module. The wearable device 100 also includes a first button and a motion sensor. The first button includes a pressure-sensitive device, an infrared light sensor, and a second electrode of an electrocardiogram (ECG) sensor. The second electrode can be disposed on the surface of the first button. The ECG sensor may also include a first electrode, which can be disposed on the wearing surface of the wearable device 100.
[0218] As shown in Figure 8, the method includes multiple steps from S801 to S837.
[0219] S801-S805 are multiple method steps for the wearable device 100 to detect an abnormality in the first button. S806-S814 are multiple method steps for the wearable device 100 to detect that the first button is obstructed. S815-S819 are multiple method steps for the wearable device 100 to detect that a first wearing posture is met. S820-S837 are multiple method steps for the wearable device 100 to detect electrode conduction.
[0220] For example, the method steps shown in S806-S814 can exclude the scenario where the user's finger does not press the first button. As shown in Figure 9A, if the wrist of the wearable device 100 is in a horizontal position, but the wearable device 100 detects that the first button is not obstructed, it means that the user's finger did not press the first button. Therefore, the wearable device 100 can determine that the pressure value of the first button detected by the wearable device 100 is not caused by the user pressing the first button, and the wearable device 100 may not perform the first action.
[0221] For example, the method steps shown in S815-S819 can eliminate the scenario of the first button being accidentally pressed. As shown in Figure 9B, the palm of the hand corresponding to the wrist of the wearable device 100 is supported on the table, and the angle between the wrist of the wearable device 100 and the table is close to 90 degrees. The skin on the back of the palm of the wearable device 100 can contact the first button, and the first button can also be covered by the skin on the back of the palm of the wearable device 100. As shown in Figure 9C, the wrist of the wearable device 100 can be raised upward, similar to a shooting posture. The angle between the wrist of the wearable device 100 and the horizontal plane is close to 90 degrees. The skin on the back of the palm of the wearable device 100 can contact the first button, and the first button can also be covered by the skin on the back of the palm of the wearable device 100. If the user's finger presses the first button to trigger the wearable device 100 to perform the first action, the wrist of the wearable device 100 will generally be in a horizontal position. If the wearable device 100 detects that the first button is blocked and the first electrode and the second electrode are connected, but the wearable device 100 detects that the wrist wearing the wearable device 100 is not in a horizontal position, then the wearable device 100 can also determine that the pressure value of the first button detected by the wearable device 100 is not caused by the user's finger pressing the first button, and the wearable device 100 may not perform the first action.
[0222] Optionally, the wearable device 100 can also determine whether the pressure value applied to the first button is caused by the user pressing the first button, based on one or more conditions such as the strength, stability, and duration of the conduction signals of the first and second electrodes. For example, if the user presses the first button, the strength of the conduction signals of the first and second electrodes is greater than a preset value, the fluctuation range of the strength of the conduction signals of the first and second electrodes is less than a preset range, and the duration of the strength of the conduction signals of the first and second electrodes being greater than the preset value is greater than a preset duration. In the scenario shown in Figure 9B or Figure 9C, if the skin on the back of the palm corresponding to the wrist wearing the wearable device 100 contacts the first button, the strength of the conduction signals of the first and second electrodes detected by the wearable device 100 is less than a preset value, the fluctuation range of the strength of the conduction signals of the first and second electrodes is greater than a preset range, and the duration of the strength of the conduction signals of the first and second electrodes being greater than the preset value is less than a preset duration. Based on this, the scenario shown in Figure 9B or Figure 9C can also be excluded.
[0223] For example, the method steps shown in S820-S837 can exclude the scenario where the first button is covered by a sleeve. As shown in Figure 9D, if the wrist of the wearable device 100 is in a horizontal position and the first button is covered by a sleeve, but the wearable device 100 detects that the first electrode and the second electrode are not conductive, it means that the user's finger did not press the first button. In this case, the wearable device 100 can determine that the pressure value of the first button detected by the wearable device 100 is not caused by the user pressing the first button, and the wearable device 100 can choose not to perform the first action.
[0224] The wearable device 100 can execute any one or more of S806-S814, S815-S819, and S820-S837. This application does not limit the execution order of S806-S814, S815-S819, and S820-S837.
[0225] Preferably, the wearable device 100 may first execute S806-S814 and / or S815-S819, and then execute S820-S837. That is, if the wearable device 100 determines that the first button is blocked and / or the first wearing posture is met, the wearable device 100 then determines whether the first electrode and the second electrode are conductive. If the wearable device 100 determines that the first button is not blocked and / or the first wearing posture is not met, the wearable device 100 may not determine whether the first electrode and the second electrode are conductive, and may not execute the first step.
[0226] Wearable device 100 detected an abnormality in the first button (S801-S805).
[0227] S801: The pressure-sensitive device collects pressure data and sends it to the pressure detection algorithm module.
[0228] S802, the pressure detection algorithm module sends a message to the device management task module that a pressure value has been detected.
[0229] S803, the device management task module sends a message to the desktop application that a stress value has been detected.
[0230] In some embodiments, the pressure-sensitive device may be in a normally open state, and the pressure-sensitive device may periodically or intermittently collect pressure data and send it to the pressure-sensitive algorithm detection module.
[0231] In other embodiments, the pressure-sensitive device may also be activated and start collecting pressure data after receiving an activation message from the sensor management module, device management task module, or other modules.
[0232] After acquiring pressure data, the pressure-sensitive device can send the pressure data to the pressure detection algorithm module.
[0233] The pressure detection algorithm module can determine whether a pressure value has been detected based on pressure data. If the pressure detection algorithm module detects a pressure value based on the pressure data, it can send a message indicating that a pressure value has been detected to the device management task module. If the pressure detection algorithm module does not detect a pressure value based on the pressure data, it can continue to determine whether a pressure value has been detected based on the pressure data sent by the pressure sensing device.
[0234] After receiving a message from the pressure detection algorithm module indicating that a pressure value has been detected, the device management task module can send the message to the desktop application.
[0235] It is understood that in the above embodiments, S801-S802 are described as one possible embodiment of S501 / S502, and it is understood that this application is not limited thereto. S804, The large desktop application determines that the fifth condition is met.
[0236] For a description of the fifth condition, please refer to the introduction of step b in S401, which will not be repeated here.
[0237] Optionally, the large desktop application can determine whether the fifth condition is met after receiving a message from the device management task module indicating that a stress value has been detected.
[0238] Optionally, the large desktop application can also perform step a in S401, that is, the large desktop application can determine whether the pressure value is greater than the first value. For a detailed description, please refer to the introduction of step a in S401, which will not be repeated here.
[0239] Optionally, S804 can also be executed before S801, that is, if the desktop application determines that the fifth condition is met, the wearable device 100 then determines whether a pressure value for the first button has been detected.
[0240] Optionally, wearable devices may also omit step S804 by not executing it.
[0241] S805, the first button of the large desktop application is abnormal.
[0242] For details on how to detect an abnormality in the first button on the large desktop, please refer to the relevant description in the embodiment shown in Figure 4. This application will not repeat it here.
[0243] Wearable device 100 detects that the first button is blocked (S806-S814).
[0244] S806, the large desktop application sends a message to the sports and health application to detect whether the first button is obstructed.
[0245] S807, the sports and health application sends a message to the sensor management module to enable the infrared light sensor.
[0246] S808, the sensor management module sends a message to the infrared light sensor to enable the infrared light sensor.
[0247] If the main application detects an anomaly with the first button, it can send a message to the health and fitness application to check if the first button is obstructed. The health and fitness application then sends a message to the sensor management module to activate the infrared light sensor. The sensor management module then sends a message to the infrared light sensor to activate it. This message instructs the infrared light sensor to be activated to detect if the first button is obstructed.
[0248] S809, an infrared light sensor acquires infrared light data.
[0249] The S810 infrared light sensor sends infrared light data to sports and health applications.
[0250] S811, the sports and health application sends infrared light data to the occlusion algorithm detection module.
[0251] S812, the occlusion algorithm detection module confirms that the first button is occluded based on infrared light data.
[0252] Upon receiving a message to activate the infrared light sensor, the sensor can turn on and begin acquiring infrared light data. This infrared light data can include the time when the sensor emits infrared light and the time when it receives reflected infrared light. It should be noted that if the sensor does not receive reflected infrared light, the time when it receives reflected infrared light can be null.
[0253] An infrared light sensor can send infrared light data to a fitness and health app. The fitness and health app then sends infrared light data to an occlusion detection module. Based on the infrared light data, the occlusion detection module can determine that the first button is occluded.
[0254] The occlusion algorithm detection module can determine that the first button is occluded based on infrared light data. This can include determining that the first button is occluded if the difference between the time when the infrared light is emitted by the infrared light sensor and the time when the reflected infrared light is received is greater than a second time interval, or in other words, if no reflected infrared light is received within the second time interval after the infrared light is emitted.
[0255] The wearable device 100 can determine whether the first button is blocked not only based on the timing of the emitted infrared light and the timing of the received reflected infrared light, but also based on other methods. For example, the wearable device 100 can determine whether the first button is blocked based on the difference between the intensity of the emitted infrared light and the intensity of the received reflected infrared light. If the wearable device 100 determines that the difference between the intensity of the emitted infrared light and the intensity of the received reflected infrared light is less than a preset value, then the wearable device 100 determines that the first button is blocked.
[0256] S813, the occlusion algorithm detection module sends a message to the sports and health application that the first button is occluded.
[0257] S814, the sports and health application sends a message to the large desktop application that the first button is obscured.
[0258] After determining that the first button is obstructed, the obstruction algorithm detection module can send a message to the fitness and health application indicating that the first button is obstructed. The fitness and health application then sends the message to the main desktop application. The message indicating that the first button is obstructed serves to inform the main desktop application that the first button is obstructed.
[0259] In some embodiments, if the wearable device 100 detects that the first button is not blocked, the wearable device 100 may turn off the infrared light sensor to save power consumption.
[0260] Wearable device 100 detects that the first wearing posture is met (S815-S819).
[0261] S815, the motion sensor periodically / irregularly collects motion data.
[0262] S816, the motion sensor sends motion data to the attitude detection algorithm module.
[0263] In some embodiments, the motion sensor may be in a normally open state, and the motion sensor may periodically / irregularly acquire motion data and send the motion data to the attitude detection algorithm module.
[0264] In some embodiments, the motion sensor may be activated and collect motion data only after receiving an activation message from the sensor management module, the device management task module, or other modules.
[0265] S817, the large desktop application sends a message to the posture detection algorithm module to detect whether the first wearing posture is met.
[0266] If the desktop application detects an anomaly in the first button press, the large desktop application can send a message to the posture detection algorithm module to check whether the first wearing posture is met.
[0267] Optionally, the large desktop application can also send a message to the posture detection algorithm module through any one or more modules of the sports and health application, sensor management module, and device management task module to detect whether the first wearing posture is met.
[0268] S818, the posture detection algorithm module confirms that the first wearing posture is met based on motion data.
[0269] S819, The posture detection algorithm module sends a message to the large desktop application that meets the first wearing posture.
[0270] Upon receiving a message indicating whether a first wearing posture is met, the posture detection algorithm module can determine whether the first wearing posture is met based on motion data. The first wearing posture refers to the wrist of the wearable device being in a horizontal position.
[0271] Once the first wearing posture is determined to be met, the posture detection algorithm module can send a message indicating that the first wearing posture is met to the large desktop application. The message indicating that the first wearing posture is met informs the large desktop application that the wrist wearing the wearable device is in a horizontal position.
[0272] Optionally, the posture detection algorithm module can also send a message that satisfies the first wearing posture to the large desktop application through any one or more modules of the sports and health application, sensor management module, and device management task module.
[0273] Wearable device 100 detects electrode conduction (S820-S837).
[0274] In some embodiments, if the wearable device 100 determines that the first electrode and the second electrode are connected, the wearable device 100 may perform the first event (S820-S831).
[0275] The S820 and the desktop application send a message to the sports and health application to check whether the detection electrodes are conductive.
[0276] S821, The sports and health application sends a message to the sensor management module to distribute the configuration table.
[0277] S822, The sensor management module sends a configuration table to the second electrode of the ECG sensor.
[0278] If the desktop application detects an abnormality in the first button, the main desktop application can send a message to the health and fitness application to check whether the electrodes are conducting.
[0279] In response to a message indicating whether the detection electrodes are conductive, the sports and health application can send a message to the sensor management module to send a configuration table. This message instructs the sensor management module to send a configuration table to the ECG sensor. The configuration table includes multiple configuration parameters, such as those required for the ECG sensor to power on, including hardware and software configuration parameters.
[0280] In response to the message to send a configuration table, the sensor management module can send a configuration table to the second electrode of the ECG sensor. The sensor management module can also send a configuration table to the first electrode of the ECG sensor (not shown in the figure).
[0281] S823, the sports and health application sends a message to the sensor management module to power on the ECG sensor.
[0282] S824, The sensor management module powers on the second electrode of the ECG sensor.
[0283] After the sensor management module sends the configuration table to the ECG sensor, the sports and health application can send a message to the sensor management module to power on the ECG sensor.
[0284] In response to a message indicating that the ECG sensor is powered on, the sensor management module can power on the second electrode of the ECG sensor. The sensor management module can also power on the first electrode of the ECG sensor (not shown in the figure).
[0285] S825, the sensor management module detected that the first electrode and the second electrode are connected.
[0286] S826, the sensor management module sends a message to the sports and health application that the first electrode and the second electrode are turned on.
[0287] S827, the sports and health application sends a message to the large desktop application indicating that the first and second electrodes are connected.
[0288] After the sensor management module powers on the ECG sensor, the wearable device 100 can determine whether the first and second electrodes are conductive. If the wearable device 100 determines that the first and second electrodes are conductive, the sensor management module can send a message indicating that the first and second electrodes are conductive to the sports and health application. The sports and health application then sends the message indicating that the first and second electrodes are conductive to the desktop application.
[0289] Optionally, the first electrode and the second electrode are turned on, which may include the continuous conduction duration of the first electrode and the second electrode being longer than a preset duration (e.g., 100ms).
[0290] It is understood that in the above embodiments, S801-S836 are described as one possible embodiment of S402 / S504, and it is understood that this application is not limited thereto.
[0291] S828, large desktop application displays micro-health check interface.
[0292] After confirming that the first and second electrodes are conducting, the large desktop application can acquire one or more health parameters and display a micro-health check interface, which includes one or more health parameters.
[0293] For example, the micro-health check interface can be the interface shown in Figure 3G. If one or more health parameters include heart rate, the micro-health check interface can display a heart rate curve and heart rate value. It should be noted that one or more health parameters can also include other parameters, and each parameter is measured sequentially. When measuring other parameters, the wearable device 100 can display information about the other parameters in the micro-health check interface.
[0294] Alternatively, after confirming the conduction of the first and second electrodes, the interfaces shown in Figures 3B-3F can be displayed until measurement begins, at which point the interface shown in Figure 3G will be displayed. Related descriptions can be found in Figures 3A-3G, and will not be repeated here. S829: The micro-physical examination ends, and the desktop application sends a message to the sports and health application to disable the ECG sensor.
[0295] S829, the micro-physical examination ends, and the large desktop application sends a message to the sports and health application to turn off the ECG sensor.
[0296] S830, the sports and health application sends a message to the sensor management module to power off the ECG sensor.
[0297] S831, The sensor management module powers off the second electrode of the ECG sensor.
[0298] After the micro-health check is completed, the desktop application can send a message to the health and fitness application to turn off the ECG sensor. The health and fitness application then sends a message to the sensor management module to turn off the ECG sensor.
[0299] In response to a message indicating that the ECG sensor is off, the sensor management module can power off the second electrode of the ECG sensor. The sensor management module can also power off the first electrode of the ECG sensor (not shown in the figure). Thus, when the ECG sensor is not in use, the wearable device 100 can power off the ECG sensor to save power consumption.
[0300] It is understood that the embodiments of this application are described using micro-physical examination as an example, and it is understood that this application is not limited thereto.
[0301] In some embodiments, if the wearable device 100 determines that the first electrode and the second electrode are not conducting, the wearable device 100 may not perform the first event (S832-S837).
[0302] S832, The sensor management module detected that the first electrode and the second electrode were not conducting.
[0303] S833, the sensor management module sends a message to the sports and health application that the first electrode and the second electrode are not conducting.
[0304] S834, the sports and health application sends a message to the desktop application that the first electrode and the second electrode are not conducting.
[0305] The statement "the first electrode and the second electrode are not conducting" can mean that the duration of conduction between the first electrode and the second electrode is less than a preset duration. For example, if the user interrupts pressing the first button, the duration of pressing the first button is less than the preset duration. Alternatively, "the first electrode and the second electrode are not conducting" can also mean that the first electrode and the second electrode are not conducting at all if the first button is not pressed.
[0306] After the sensor management module powers on the ECG sensor, the wearable device 100 can determine whether the first and second electrodes are conductive. If the wearable device 100 determines that the first and second electrodes are not conductive, the sensor management module can send a message indicating that the first and second electrodes are not conductive to the sports and health application. The sports and health application then sends the message indicating that the first and second electrodes are not conductive to the desktop application.
[0307] S835, the large desktop application sends a message to the sports and health application to turn off the ECG sensor.
[0308] S836, The sports and health application sends a message to the sensor management module to power off the ECG sensor.
[0309] S837, The sensor management module powers off the second electrode of the ECG sensor.
[0310] In response to a message indicating that the first and second electrodes are not conducting, the desktop application can send a message to the health and fitness application to disable the ECG sensor. The health and fitness application then sends a message to the sensor management module to disable the ECG sensor.
[0311] In response to a message indicating that the ECG sensor is off, the sensor management module can power off the second electrode of the ECG sensor. The sensor management module can also power off the first electrode of the ECG sensor (not shown in the figure). Thus, when the first and second electrodes are not conducting, the wearable device 100 can power off the ECG sensor, saving power consumption.
[0312] It should be noted that the above embodiments use the example of the first electrode and the second electrode not being connected in the first condition to illustrate the non-execution of the first matter. It is understood that this application is not limited to this, and other first conditions may also be not met, such as not meeting the first wearing posture, or the first button not being blocked. For relevant descriptions, please refer to the descriptions in S402 and S504, which will not be repeated here.
[0313] This application provides a wearable device, which includes a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes the computer program, the wearable device performs any one or more of the above embodiments.
[0314] This application provides a computer-readable storage medium including instructions that, when executed on a wearable device, cause the wearable device to perform any one or more of the above embodiments.
[0315] This application provides a computer program product containing instructions, including a computer program that, when executed by a processor, implements any one or more of the above embodiments.
[0316] This application provides a chip system, which includes a processing circuit and an interface circuit. The chip system is characterized by including a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to run the code instructions to execute any one or more of the above embodiments.
[0317] The above are merely some embodiments and implementation methods of this application. The scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0318] It is understood that the user interfaces described in the embodiments of this application are merely example interfaces and do not constitute a limitation on the solution of this application. In other embodiments, the user interface may adopt different interface layouts, may include more or fewer controls, and may add or remove other functional options, as long as they are based on the same inventive concept provided in this application, they are all within the protection scope of this application.
[0319] It should be noted that, without causing contradictions or conflicts, any feature in any embodiment of this application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of this application.
[0320] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A device control method characterized by, The method is applied to wearable devices, the wearable device including a watch body, the watch body including a wearing surface and a display surface, a first button being provided on the side of the watch body, the wearable device further including a first electrode and a second electrode, the wearing surface being provided with the first electrode, and the surface of the first button being provided with the second electrode; the method further includes: The wearable device detects whether the first button is abnormal; If the first button malfunctions, the wearable device performs the first action based on the fulfillment of the first condition; If the first button is functioning correctly, the wearable device performs the first action based on the fulfillment of the second condition; The first condition and the second condition are different. The first condition includes: the first electrode and the second electrode are connected. The second condition includes: the pressure value of the first button meets a preset value.
2. The method of claim 1, wherein, The first condition also includes any one or more of the following: the first button is blocked, and the wearable device meets the first wearing posture.
3. The method of claim 2, wherein, The wearable device performs a first action based on satisfying a first condition, specifically including: The wearable device determines whether the first button is obscured and / or whether the wearable device meets the first wearing posture; If the wearable device determines that the first button is blocked and / or the wearable device meets the first wearing posture, then the wearable device further determines whether the first electrode and the second electrode are conductive; If the wearable device determines that the first electrode and the second electrode are connected, the wearable device performs the first action.
4. The method according to any one of claims 1 to 3, characterized in that, The wearable device detects whether the first button is abnormal, specifically including: The wearable device acquires the status flag of the first button; If the status flag of the first button is an abnormal flag, the wearable device determines that the first button is abnormal; If the status flag of the first button is a normal flag, the wearable device determines that the first button is normal.
5. The method according to any one of claims 1 to 3, characterized in that, The wearable device detects whether the first button is abnormal, specifically including: The wearable device acquires the status flag of the first button; If the status flag of the first button is an abnormal flag, the wearable device determines whether the third condition is met. If the wearable device determines that the third condition is met, then the wearable device determines that the first button is normal; If the wearable device determines that the third condition is not met, then the wearable device determines that the first button is abnormal; The third condition is different from the first condition.
6. The method of claim 5, wherein, The third condition includes any one or more of the following: the first button is blocked, the wearable device meets the first wearing posture, and the first electrode and the second electrode are connected.
7. The method according to claim 5 or 6, characterized in that, The method further includes: In response to the wearable device determining that the first button is normal, the status flag of the first button is set to normal, and the wearable device performs the first action.
8. The method according to any one of claims 4-7, characterized in that, Before the wearable device acquires the status flag of the first button, the method further includes: If the wearable device determines that the fourth condition is met, the wearable device sets the status flag of the first button to an abnormal flag. The fourth condition includes one or more of the following: the fluctuation range of the pressure value of the first button within the first duration is within a first range; the duration during which the pressure value of the first button is greater than the first value is greater than the second duration.
9. The method according to any one of claims 1 to 3, characterized in that, The wearable device detects whether the first button is abnormal, specifically including: The wearable device determines whether the fluctuation range of the pressure value of the first button within a first time period is within a first range, and / or whether the duration for which the pressure value of the first button is greater than the first value is greater than the second time period. If the wearable device determines that the fluctuation range of the pressure value of the first button within a first time period is within a first range, and / or the duration of the pressure value of the first button being greater than the first value is greater than the second time period, then the wearable device detects an abnormality in the first button. If the wearable device determines that the fluctuation range of the pressure value of the first button within the first time period is not within the first range, and / or the duration for which the pressure value of the first button is greater than the first value is less than the second time period, then the wearable device detects that the first button is normal.
10. The method of claim 9, wherein, The wearable device detects whether the first button is abnormal, specifically including: The wearable device determines whether the fluctuation range of the pressure value of the first button within a first time period is within a first range, and / or whether the duration for which the pressure value of the first button is greater than the first value is greater than the second time period. If the wearable device determines that the fluctuation range of the pressure value of the first button within a first time period is within a first range, and / or the duration of the pressure value of the first button being greater than the first value is greater than the second time period, then the wearable device detects an abnormality in the first button. If the wearable device determines that the fluctuation range of the pressure value of the first button within the first time period is not within the first range, and / or the duration for which the pressure value of the first button is greater than the first value is less than the second time period, then the wearable device determines whether the third condition is met. If the wearable device determines that the third condition is met, then the wearable device determines that the first button is normal; If the wearable device determines that the third condition is not met, then the wearable device determines that the first button is abnormal.
11. The method according to any one of claims 1 to 10, characterized in that, The wearable device detects whether the first button is abnormal, specifically including: If the wearable device detects that the pressure value applied to the first button is greater than a first value, then the wearable device detects whether the first button is abnormal.
12. The method of claim 11, wherein, Before the wearable device detects that the pressure value applied to the first button is greater than a first value, the method further includes: The wearable device determines whether it meets the fifth condition, which includes any one or more of the following: the display screen of the wearable device is on, the wearable device is being worn, and the display screen of the wearable device displays a watch face interface. In response to the wearable device determining that the fifth condition is met, the wearable device detects whether the pressure value applied to the first button is greater than the first value.
13. The method of claim 2 or 3, wherein, The wearable device further includes an infrared light sensor, which is disposed within the first button; the method further includes: The wearable device emits first infrared light through the infrared light sensor; If no reflected infrared light is received within a second time period after the first infrared light is emitted, the wearable device determines that the first button is blocked.
14. The method of claim 2 or 3, wherein, The wearable device further includes a motion sensor; the method further includes: The wearable device determines whether it meets the first wearing posture based on the motion data collected by the motion sensor.
15. The method according to any one of claims 1 to 14, characterized in that, The first item includes: measuring physical health parameters.
16. The method according to any one of claims 1-15, characterized in that, The wearable device includes a watch or a bracelet.
17. A wearable device, characterized in that, The wearable device includes a memory and a processor; wherein the memory and the processor are coupled, the memory is used to store a computer program, and when the processor executes the computer program, the wearable device performs the method of any one of claims 1-16.
18. A computer-readable storage medium, characterized in that, Includes instructions that, when executed on a wearable device, cause the wearable device to perform the method of any one of claims 1-16.
19. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the communication method as described in any one of claims 1-16.
20. A chip system, characterized in that, The chip system includes a processing circuit and an interface circuit. A chip system is characterized by including a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform the method as described in any one of claims 1-16.