WO2022218118A1 - Wakeup method and apparatus for electronic accessories, wearable device, and electronic accessories - Google Patents

Wakeup method and apparatus for electronic accessories, wearable device, and electronic accessories Download PDF

Info

Publication number
WO2022218118A1
WO2022218118A1 PCT/CN2022/082569 CN2022082569W WO2022218118A1 WO 2022218118 A1 WO2022218118 A1 WO 2022218118A1 CN 2022082569 W CN2022082569 W CN 2022082569W WO 2022218118 A1 WO2022218118 A1 WO 2022218118A1
Authority
WO
WIPO (PCT)
Prior art keywords
vibration
electronic accessory
acceleration
electronic
wearable device
Prior art date
Application number
PCT/CN2022/082569
Other languages
French (fr)
Chinese (zh)
Inventor
颜瑞
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022218118A1 publication Critical patent/WO2022218118A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • A61B5/02055Simultaneously evaluating both cardiovascular condition and temperature
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • A61B5/6803Head-worn items, e.g. helmets, masks, headphones or goggles
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • A61B5/681Wristwatch-type devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2560/00Constructional details of operational features of apparatus; Accessories for medical measuring apparatus
    • A61B2560/02Operational features
    • A61B2560/0204Operational features of power management
    • A61B2560/0209Operational features of power management adapted for power saving
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2560/00Constructional details of operational features of apparatus; Accessories for medical measuring apparatus
    • A61B2560/02Operational features
    • A61B2560/0204Operational features of power management
    • A61B2560/0214Operational features of power management of power generation or supply
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2560/00Constructional details of operational features of apparatus; Accessories for medical measuring apparatus
    • A61B2560/02Operational features
    • A61B2560/029Operational features adapted for auto-initiation

Definitions

  • the present application relates to the technical field of smart terminals, and in particular, to a wake-up method, device, wearable device and electronic accessory for an electronic accessory.
  • Wearable devices are favored by more and more users because of their small size, light weight, and easy portability.
  • the wearable device can be equipped with electronic accessories that realize different functions, and the electronic accessories can be used in conjunction with the wearable device to meet the different needs of users for the wearable device.
  • the electronic accessories are in a sleep or shutdown state in most cases, and will only be awakened when the electronic accessories need to be used.
  • a commonly used way to wake up an electronic accessory is to design a button on the electronic accessory, and the user presses the button to wake up the electronic accessory, which is complicated to operate, and the cost of the electronic accessory is relatively high.
  • the embodiment of the present application discloses a wake-up method, device, wearable device, electronic accessory, and storage medium for an electronic accessory, which can wake up the electronic accessory through a vibration module on the wearable device, simplify user operations, and reduce the consumption of electronic accessories. cost.
  • the embodiment of the present application discloses a wake-up method for an electronic accessory, which is applied to a wearable device, where the electronic accessory is used to be installed on the wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration sensor, the method comprising:
  • the embodiment of the present application discloses a wake-up method for an electronic accessory, which is applied to the electronic accessory, and the electronic accessory is used to be installed on a wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration module sensor, the method includes:
  • Acceleration data is collected by the acceleration sensor
  • acceleration data matches the set vibration information, wake up the electronic accessory in a dormant state, wherein the acceleration data matching the vibration information is determined by the vibration module on the wearable device according to the Vibration information is generated by vibration.
  • the embodiment of the present application discloses a wake-up device for an electronic accessory, which is applied to a wearable device, where the electronic accessory is used to be installed on the wearable device, the wearable device includes a vibration module, and the electronic accessory includes An acceleration sensor, the device includes:
  • a control module is used to control the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the electronic accessory in a dormant state.
  • the embodiment of the present application discloses a wake-up device for an electronic accessory, which is applied to the electronic accessory, and the electronic accessory is used for being installed on a wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration A sensor, the device includes:
  • an acquisition module for acquiring acceleration data through the acceleration sensor
  • a wake-up module configured to wake up the electronic accessory in a dormant state if the acceleration data matches the set vibration information, wherein the acceleration data matching the vibration information is determined by the vibration on the wearable device
  • the module vibrates according to the vibration information.
  • An embodiment of the present application discloses a wearable device, including a vibration module, a memory, and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor can be implemented as above The described method is applied to a wearable device.
  • An embodiment of the present application discloses an electronic accessory, including an acceleration sensor, a memory, and a processor, where a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the above-mentioned The method applied to electronic accessories.
  • the embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned method applied to a wearable device.
  • the embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned method applied to an electronic accessory.
  • 1A is a schematic diagram of a wearable device and an electronic accessory in one embodiment
  • 1B is a schematic diagram of a wearable device and an electronic accessory in another embodiment
  • FIG. 2 is a flowchart of a wake-up method for an electronic accessory in one embodiment
  • FIG. 3 is a flowchart of a wake-up method for an electronic accessory in another embodiment
  • 4A is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in one embodiment
  • 4B is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in another embodiment
  • 5A is a schematic diagram of a wearable device and an electronic accessory in another embodiment
  • 5B is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in another embodiment
  • 5C is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in another embodiment
  • FIG. 6 is a flowchart of a wake-up method for an electronic accessory in another embodiment
  • FIG. 7 is a block diagram of a wake-up device of an electronic accessory in one embodiment
  • FIG. 8 is a block diagram of a wake-up device of an electronic accessory in another embodiment
  • FIG. 9 is a structural block diagram of a wearable device in one embodiment
  • FIG. 10 is a structural block diagram of an electronic accessory in one embodiment.
  • FIG. 1A is a schematic diagram of a wearable device and an electronic accessory in one embodiment.
  • FIG. 1B is a schematic diagram of a wearable device and an electronic accessory in another embodiment.
  • the electronic accessories may be used to implement different functions, and the electronic accessories may be installed on the wearable device and used in conjunction with the wearable device.
  • Electronic accessories may include, but are not limited to, vital data collection accessories, microphone accessories, speaker accessories, etc., among which, vital data collection accessories can be used to collect physical data of wearing users, such as heart rate data, body temperature data, blood pressure data, etc., and microphone accessories can be used to collect Wearing the user's voice data, the speaker accessory can be used to play audio data, etc.
  • the wearable device may include, but is not limited to, an electronic device that can be worn on a user, such as a smart watch, a smart bracelet, and smart glasses, which is not limited in this embodiment of the present application.
  • the volume of the electronic accessory is small, and the electronic accessory can be mounted on a wearable part of the wearable device, and the wearable part is used to be worn on the user's body using the wearable device.
  • the wearable device can be a smart watch 110 , and the smart watch 110 can include a host 112 and a watch strap 114 , the watch strap 114 is the wearable part of the smart watch 110 , and the electronic accessories 120 on the strap 114.
  • the smart watch 110 may include a vibration module 116 , the vibration module 116 may be disposed in the host 112 , and the electronic accessory 120 may include an acceleration sensor 122 .
  • the electronic accessory 120 can be in a dormant state.
  • the smart watch 110 can control the vibration module 116 to vibrate according to the set vibration information.
  • the vibration module 116 vibrates, it can make the electronic accessory on the strap 114 120 produces an acceleration change.
  • the electronic accessory 120 can collect acceleration data matching the vibration information through the acceleration sensor 122, and wake up the electronic accessory 120 in a dormant state.
  • the wearable device may be smart glasses 130
  • the smart glasses 130 may include a frame 132
  • the frame 132 is a wearable part of the smart glasses 130
  • the electronic accessories 140 may be installed on the frame 132
  • the electronic accessories 140 may be mounted on the temples of the frame 132 .
  • the smart glasses 130 may include a vibration module 134
  • the vibration module 134 may also be disposed in the frame 132
  • the electronic accessory 140 may include an acceleration sensor 142 .
  • the electronic accessory 140 can be in a dormant state. When the electronic accessory 140 needs to be woken up, the smart glasses 130 can control the vibration module 134 to vibrate according to the set vibration information.
  • the vibration module 134 When the vibration module 134 vibrates, it can make the electronic accessory 140 on the frame 132 vibrate. Acceleration changes occur.
  • the electronic accessory 140 can collect acceleration data matching the vibration information through the acceleration sensor 142, and wake up the electronic accessory 140 in a dormant state.
  • FIG. 1A and FIG. 1B are only used to illustrate the possible situation in which the electronic accessories in the embodiments of the present application are installed on the wearable device, and are not used to limit the specific installation method of the electronic accessories.
  • the electronic accessories are installed on the wearable device.
  • the installation manner and installation position are not limited in the embodiments of the present application.
  • a wake-up method for an electronic accessory is provided, which can be applied to the above-mentioned wearable device, and the method may include the following steps:
  • Step 210 controlling the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the sleeping electronic accessory.
  • the wearable device may include a vibration module, and the vibration module is used to output a vibration signal to generate a vibration effect.
  • the vibration module may include a vibration motor, a vibration motor, and the like.
  • Preset vibration information may be stored in the wearable device.
  • the vibration information may include but not limited to one or more of vibration frequency, vibration amplitude, and vibration duration.
  • the vibration frequency can refer to the number of vibrations of the vibration module per unit time, and the vibration frequency can be used to characterize the vibration speed of the vibration module. The higher the vibration frequency, the faster the vibration speed of the vibration module and the lower the vibration frequency. The vibration speed of the vibration module is slower.
  • the vibration amplitude can refer to the maximum distance that the vibration module leaves the equilibrium position when vibrating.
  • the vibration amplitude can be used to characterize the vibration intensity of the vibration module. The larger the vibration amplitude, the stronger the vibration intensity. the weaker.
  • the vibration duration may refer to the time the vibration module continues to vibrate, such as 2 seconds, 3 seconds, and so on.
  • the set vibration information may further include the number of vibrations that the vibration module continues to vibrate, and the vibration number may refer to the number of times the vibration module continues to vibrate during the entire vibration process. During the entire vibration process, four continuous vibrations were performed, or the vibration module performed three continuous vibrations during the entire vibration process, etc.
  • each continuous vibration may correspond to the same vibration information such as vibration frequency, vibration amplitude, and vibration duration.
  • the vibration module performs four continuous vibrations during the entire vibration process.
  • the vibration frequency of each continuous vibration is 30 Hz (Hertz)
  • the vibration amplitude is 0.2 cm
  • the vibration duration is 2 seconds.
  • vibration information such as vibration frequency, vibration amplitude, and vibration duration duration corresponding to each continuous vibration may also be different.
  • the vibration module performs three continuous vibrations during the entire vibration process.
  • the vibration frequency of the first continuous vibration is 30Hz
  • the vibration amplitude is 0.2 cm
  • the vibration duration is 2 seconds
  • the vibration frequency of the second continuous vibration is 50Hz.
  • the vibration amplitude is 0.5 cm
  • the vibration duration is 3 seconds
  • the vibration frequency of the third continuous vibration is 30 Hz
  • the vibration amplitude is 0.2 cm
  • the vibration duration is 2 seconds, etc., but not limited to this.
  • a non-vibration time period may be set between two adjacent continuous vibrations, and the non-vibration time period may be short, for example, 500 milliseconds, 650 milliseconds, etc., but not limited thereto.
  • vibration information can be set according to actual needs, and is not limited to the above-mentioned several data types and values, and the specific vibration information is not limited in the embodiments of the present application.
  • the vibration information can be set by the user, and can also be set uniformly before the wearable device and electronic accessories leave the factory.
  • the electronic accessories are installed on the wearable device. In order to save the power consumption of the electronic accessories, the electronic accessories can be in a dormant state in most cases.
  • the vibration module can be controlled to vibrate according to the set vibration information, and when the vibration module vibrates, the electronic accessories can generate acceleration changes.
  • the electronic accessory may include an acceleration sensor. When the electronic accessory is in a dormant state, the acceleration sensor may be in a working state, and other circuits and electronic devices other than the acceleration sensor may be in a power-off state. Electronic accessories can collect acceleration data through the acceleration sensor.
  • the acceleration data collected by the acceleration sensor matches the set vibration information, it can be determined that the acceleration data is generated by the vibration module of the wearable device.
  • Dormant electronic accessories After the electronic accessory wakes up, all circuits and electronic devices in the electronic accessory are powered on, and the electronic accessory can work normally and perform corresponding functions.
  • the electronic accessory collects acceleration data that does not match the set vibration information through the acceleration sensor, it can be determined that the acceleration data is not generated by the vibration of the vibration module of the wearable device, and the electronic accessory may not be woken up, thus avoiding electronic
  • the false wake-up of the accessory due to the user's motion and other acceleration changes caused by the scene ensures the accuracy of the electronic accessory wake-up, and can reduce the power loss caused by the false wake-up.
  • the wearable device controls the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, so as to wake up the sleep state.
  • Electronic accessories by controlling the vibration module on the wearable device to vibrate and wake up the electronic accessories, without the need for the user to manually operate the electronic accessories to wake up the electronic accessories, which can simplify the user's operation, and there is no need to design buttons in the electronic accessories, which reduces the cost of the electronic accessories.
  • the electronic accessory will wake up only when the acceleration sensor collects acceleration data matching the set vibration information, which can avoid false wake-up and improve the accuracy of waking up the electronic accessory.
  • another wake-up method for an electronic accessory is provided, which can be applied to the above-mentioned wearable device, and the method may include the following steps:
  • Step 302 acquiring a trigger request for the electronic accessory.
  • the trigger request can be used to trigger the wake-up of the electronic accessory installed on the wearable device, so that the wake-up electronic accessory can perform a corresponding function and cooperate with the wearable device.
  • the wearable device obtains a trigger request for an electronic accessory, which may include, but is not limited to, any of the following situations:
  • a trigger request for the electronic accessory is obtained.
  • One or more applications can be installed on the wearable device, and different applications can provide different functions to meet the needs of users.
  • the application can provide an interactive interface, and the user can interact with the application through the interactive interface displayed by the wearable device, and use the corresponding functions of the application.
  • the wearable device may display application icons of each installed application program, and the user may choose to click on the application icon to start the application program corresponding to the application icon.
  • the wearable device detects the user's operation of starting the application, the wearable device can start the application selected by the user.
  • the corresponding relationship between the application program and the electronic accessories can be established in advance.
  • the wearable device starts the application program, it can be judged according to the corresponding relationship whether the started application program is the application program corresponding to the electronic accessories.
  • the application corresponding to the accessory can obtain a trigger request for the electronic accessory to wake up the electronic accessory.
  • the application corresponding to the electronic accessory may refer to an application using a function of the electronic accessory.
  • the electronic accessory can be used to collect the user's heart rate data, body temperature data, blood pressure data, etc.
  • the applications corresponding to the electronic accessory may include but are not limited to heart rate measurement applications, body temperature measurement applications, blood pressure measurement applications, etc. applications, etc., or applications that can detect multiple signs of data at the same time.
  • the electronic accessory is a microphone accessory
  • the applications corresponding to the electronic accessory may include, but are not limited to, a recording application, a calling application, and the like.
  • the application program corresponding to the electronic accessory may also be an application program having the permission to use the electronic accessory.
  • the electronic accessory is a physical sign data collection accessory
  • the application is a motion monitoring application
  • the motion monitoring application has the permission to use the physical sign data collection accessory to collect the user's physical sign data during exercise.
  • the motion monitoring application can wake up Accessory for physical data collection.
  • the electronic accessory is a microphone accessory
  • the application is a chat application
  • the chat application has the permission to use the microphone accessory
  • the microphone accessory can be woken up.
  • the wearable device starts an application it can also be determined whether the started application has the permission to use the electronic accessory, and if the started application has the permission to use the electronic accessory, the started application can be determined Programs are applications corresponding to electronic accessories.
  • the electronic accessory When the application program corresponding to the electronic accessory is started, the electronic accessory is triggered to wake up, and when the wearable device needs to use the electronic accessory, there is no need to wait for the time to wake up the electronic accessory, and the use efficiency is improved.
  • the wearable device When the wearable device receives a function invocation instruction for the electronic accessory, it acquires a trigger request for the electronic accessory according to the function invocation instruction. When the wearable device receives the function invocation instruction for the electronic accessory, it may determine that the function of the electronic accessory needs to be invoked.
  • the function invocation instruction may be generated by an application running in the application layer of the wearable device, and when the running application needs to invoke the function of the electronic accessory, the function invocation instruction may be sent to the system of the wearable device.
  • the electronic accessory is a vital sign data collection accessory
  • the application is a motion monitoring application. When the motion monitoring application needs to call the heart rate detection function of the vital sign data collection accessory, a function calling instruction for the vital sign data collection accessory can be generated.
  • the function invocation instruction may also be sent by a terminal device that establishes a communication connection with the wearable device.
  • the wearable device can establish a communication connection with the terminal device.
  • the terminal device can include but is not limited to mobile phones, tablet computers, vehicle terminals, computers, other wearable devices, etc.
  • the communication connection can include but is not limited to wireless communication such as Bluetooth and Wi-Fi. connection, or a wired communication connection established through a data line, etc.
  • the terminal device needs to call the function of the electronic accessory on the wearable device, or needs to obtain the relevant data of the electronic accessory, it can send a function calling instruction for the electronic accessory to the wearable device.
  • the function of the electronic accessory When the function of the electronic accessory needs to be called, it can be triggered to wake up the electronic accessory, so that the wake-up electronic accessory can realize the corresponding function, meet the functional usage requirements of the electronic accessory in different scenarios, and wake up only when the function of the electronic accessory needs to be called.
  • Electronic accessories can reduce unnecessary power loss of electronic accessories.
  • a wearable device When the wearable device detects that the wearable device is switched from an unworn state to a worn state, obtain a trigger request for the electronic accessory.
  • a wearable device can detect being in an unworn state or being in a worn state.
  • an acceleration sensor can be set in the wearable device, the acceleration data of the wearable device can be collected through the acceleration sensor, and according to the acceleration data, it can be determined whether the wearable device is currently in an unworn state or a wearing state, and the unworn state and the wearing state can be determined.
  • the acceleration changes of the wearable device can be obtained by analyzing the acceleration data, so as to determine whether the wearable device is currently in an unworn state or a worn state.
  • a gravity sensor may be provided in the wearable device, gravity data may be collected by the gravity sensor, and whether the wearable device performs a lifting action can be determined according to the gravity data, and if the wearable device performs a lifting action, it can be determined that the wearable device The device switches from an unworn state to a worn state.
  • a wearable device can perform liveness detection, and when a living body is detected, it can be determined that the wearable device is switched from an unworn state to a wearing state. , Emit infrared light signal detection, etc.
  • the electronic accessory When the wearable device switches from the unworn state to the wearing state, the electronic accessory can be triggered to wake up, and the electronic accessory can perform initialization work, which may include, but is not limited to, reconfiguring the information of each electronic device in the electronic accessory. Acceleration sensors, etc., are reset, etc., to improve the working accuracy of each electronic device in the electronic accessories.
  • Step 304 control the vibration module to vibrate according to the set vibration information according to the trigger request, so that the acceleration sensor in the electronic accessories can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the electronic accessories in a dormant state .
  • the acceleration data collected by the acceleration sensor in the electronic accessory that matches the vibration information may include acceleration data in which the acceleration change characteristics collected by the acceleration sensor in the electronic accessory are within a change condition corresponding to the vibration information .
  • the electronic accessory can extract the acceleration change characteristic of the acceleration data, and judge whether the collected acceleration data matches the set vibration information according to the acceleration change characteristic.
  • the acceleration variation feature may include, but is not limited to, variation characteristic data such as acceleration variation frequency, acceleration variation amplitude, and acceleration variation duration.
  • variation characteristic data such as acceleration variation frequency, acceleration variation amplitude, and acceleration variation duration.
  • the frequency of acceleration change may refer to the number of times of acceleration changes of electronic accessories in a unit time
  • the magnitude of acceleration change may refer to the maximum acceleration value when the electronic accessories undergo acceleration changes
  • the duration of acceleration changes may refer to the acceleration sensor detection. to the duration of the acceleration change.
  • the electronic accessories can generate different acceleration changes. Therefore, the acceleration change characteristics of the acceleration data collected by the acceleration sensors of the electronic accessories will also be different.
  • the electronic accessory can determine whether the collected acceleration data is generated by the vibration module of the wearable device by judging whether the extracted acceleration variation characteristics are within the variation conditions corresponding to the set vibration information.
  • the change condition may include one or more set value ranges corresponding to each change characteristic data.
  • the vibration information may include at least one of vibration frequency, vibration amplitude, and vibration duration, etc.
  • the change conditions may correspond to a range of acceleration change frequency, acceleration change amplitude range, and acceleration change duration range, etc. at least one of a range of values.
  • the acceleration variation frequency range may be the sum of the vibration frequency and the frequency error. For example, if the vibration frequency is 30 Hz and the frequency error may be +10 Hz or -10 Hz, the acceleration variation frequency range may be 20-40 Hz.
  • the range of the acceleration variation amplitude can be the sum of the vibration amplitude and the amplitude error.
  • the acceleration variation range can be 0.1-0.3 cm.
  • the duration range of the acceleration change can be the sum of the vibration duration and the duration error. For example, if the vibration duration is 2 seconds, and the duration error is +200 milliseconds and -200 milliseconds, the duration range of the acceleration change can be 1.8 to 2.2 seconds. .
  • the set vibration information may further include the number of vibrations that the vibration module continuously vibrates, and the change condition may further include the number of changes in which the acceleration continuously changes is detected.
  • the vibration module performs a continuous vibration during the entire vibration process, and the electronic accessories can generate a continuous acceleration change. Therefore, a continuous change in the acceleration of the electronic accessories can correspond to a continuous vibration of the vibration module during the entire vibration process.
  • the number of vibrations may be the same as the number of vibrations that the vibration module continuously vibrates.
  • the electronic accessories can extract the acceleration change characteristics corresponding to each continuous acceleration change from the acceleration data, and judge whether the acceleration change characteristics corresponding to each continuous acceleration change are within the corresponding acceleration change frequency range, acceleration change amplitude range, and acceleration change.
  • Numerical ranges such as duration ranges.
  • each time the acceleration continuously changes can correspond to the same numerical range such as the frequency range of the acceleration change, the range of the amplitude of the acceleration change, and the range of the duration of the acceleration change.
  • Numerical ranges such as the range and the duration of the acceleration change can also differ.
  • the numerical ranges, such as the frequency range of acceleration change, the range of acceleration change amplitude, and the range of duration of acceleration change corresponding to each continuous change of acceleration can be determined according to the vibration information such as the vibration frequency, vibration amplitude, and vibration duration of the corresponding continuous vibration.
  • the vibration module of the wearable device vibrates continuously for 4 times during the whole vibration process, the vibration frequency of each continuous vibration is 30Hz, the vibration amplitude is 0.2 cm, and the vibration duration is 2 seconds, then the electronic accessory detects that the acceleration continues
  • the number of changes that occur is 4 times, and the frequency range of acceleration change corresponding to each continuous change of acceleration is 20 to 40 Hz, the range of acceleration change amplitude is 0.1 to 0.3 cm, and the duration of acceleration change is in the range of 1.7 to 2.3 seconds.
  • FIG. 4A is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in one embodiment.
  • the vibration module of the wearable device vibrates continuously for 4 times according to the same vibration information during the whole vibration process, and the acceleration change reflected by the acceleration data collected by the electronic accessory through the acceleration sensor can be a curve 410 .
  • 410 may include four identical waveforms 412 , each waveform 412 may correspond to a continuous change of acceleration, and each continuous change of acceleration may correspond to the same value range.
  • the vibration module performs two continuous vibrations during the entire vibration process.
  • the vibration frequency of the first continuous vibration is 50 Hz
  • the vibration amplitude is 0.5 cm
  • the vibration duration is 4 seconds
  • the vibration frequency of the second continuous vibration is 30Hz
  • the vibration amplitude is 0.2 cm
  • the vibration duration is 2 seconds
  • the electronic accessory detects that the acceleration changes continuously for 2 times, and the frequency range of the acceleration change corresponding to the first continuous acceleration change is 15 to 45 Hz.
  • the range of the acceleration change range is 0.15 ⁇ 0.25cm
  • the duration of the acceleration change is 3.8 ⁇ 4.2 seconds
  • the frequency range of the acceleration change corresponding to the continuous change of the second acceleration is 35 ⁇ 65Hz
  • the range of the acceleration change range is 0.45 ⁇ 0.55cm.
  • the duration of the acceleration change ranges from 1.8 to 2.2 seconds.
  • FIG. 4B is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in another embodiment.
  • the vibration module of the wearable device performs two continuous vibrations according to different vibration information during the entire vibration process, and the acceleration change reflected by the acceleration data collected by the electronic accessory through the acceleration sensor can be a curve 420 .
  • the curve 420 may include a waveform 422 and a waveform 424, wherein the waveform 422 may continuously change corresponding to the first acceleration, the waveform 424 may continuously change corresponding to the second acceleration, the first acceleration may continue to change, and the second acceleration may continue to change Changes can correspond to different numerical ranges.
  • the electronic accessory judges whether to wake up by judging whether the acceleration change characteristic of the acceleration data collected by the acceleration sensor is within the change condition corresponding to the set vibration information, and can accurately identify the vibration caused by the wearable device.
  • the acceleration change caused by the vibration of the module can avoid the false wake-up of the electronic accessories due to the user's movement and other acceleration changes, ensure the accuracy of the electronic accessories wake-up, and reduce the function caused by false wake-up. consumption loss.
  • the above-mentioned error values such as frequency error, amplitude error, duration error, etc., may be determined through actual multiple measurements.
  • the error value can be related to the installation position of the electronic accessories on the wearable device. Further, the error value can be positively related to the distance between the electronic accessories and the vibration module. The electronic accessories are installed at a position closer to the vibration module. The smaller the error value can be, the farther the electronic accessories are installed from the vibration module, the larger the error value can be.
  • the error value may also be related to how the wearable device is worn. The tighter the wearable device is worn on the user, the larger the error value may be, and the looser the wearable device is worn on the user, the smaller the error value may be. .
  • the error value may also be related to the material of the wearable component of the wearable device. If the material of the wearable component is a material that transmits vibrations more easily, the error value may be smaller. If the material of the wearable component is not easy to transmit vibration Vibrating material, the error value can be larger.
  • the wearable device may enter a test mode for testing the wake-up of the electronic accessory, and in the test mode, the wearable device may send a test instruction to the electronic accessory.
  • the wearable device can control the vibration module to vibrate according to the set vibration information.
  • the electronic accessory can continuously collect the acceleration data generated by the vibration module of the wearable device through the acceleration sensor, and analyze the acceleration data. , to obtain the acceleration variation characteristic of the acceleration data, so as to determine each numerical range included in the corresponding variation condition according to the acceleration variation characteristic.
  • the electronic accessory can store the determined change condition, and use the change condition to judge whether it needs to be woken up in the sleep state.
  • the corresponding change conditions can be determined, which can reduce the installation position of the electronic accessories on the wearable device and the material of the wearable parts.
  • the undesirable effect of range which improves the accuracy of waking up electronic accessories.
  • At least two electronic accessories for performing different functions may be installed on the wearable device, and different electronic accessories may be installed in different positions of the wearable device.
  • the wearable device may be installed with physical sign data collection at the same time. Accessories and microphone accessories, etc.
  • the wearable device can choose to wake up one or more electronic accessories, and can obtain a trigger request for the triggered target electronic accessories, and the triggered target electronic accessories are the electronic accessories that need to be woken up.
  • the trigger request may include the accessory identifier of the triggered target electronic accessory, different electronic accessories may correspond to different accessory identifiers, and the accessory identifier may be composed of one or more of numbers, letters, symbols, etc., for example, the sign data collection accessory corresponds to
  • the accessory identifier of the microphone is 00A
  • the accessory identifier corresponding to the microphone accessory is 12B, etc., but not limited to this.
  • an electronic accessory corresponding to the started application can be obtained, and the electronic accessory corresponding to the started application can be used as a target electronic accessory, and a trigger for the target electronic accessory can be obtained. Request to wake up the corresponding electronic accessory of the launched application.
  • the wearable device when it receives a function invocation instruction for the target electronic accessory, it can obtain a trigger request for the target electronic accessory according to the function invocation instruction to wake up the electronic accessory that needs to invoke the function. For example, when a function invocation instruction for the vital data collection accessory is received, a trigger request for the vital data collection accessory can be generated, and when a function invocation instruction for the speaker accessory is received, a trigger request for the speaker accessory can be generated.
  • all electronic accessories installed on the wearable device may be used as target electronic accessories, and information for each target electronic accessory may be obtained. trigger request to wake up all electronic accessories.
  • Different electronic accessories may correspond to different vibration information respectively, and the vibration information corresponding to each electronic accessory may be stored in the wearable device corresponding to the accessory identifier of each electronic accessory.
  • the wearable device After the wearable device obtains the trigger request for the target electronic accessory, it can obtain vibration information corresponding to the target electronic accessory according to the accessory identifier included in the trigger request, and control the vibration module to vibrate according to the corresponding vibration information, so as to make the wearable device vibrate according to the corresponding vibration information.
  • the acceleration sensor of the target electronic accessory can collect acceleration data matching the corresponding vibration information, so as to wake up the target electronic accessory.
  • Different electronic accessories may correspond to different vibration information respectively, and each electronic accessory may store a change condition matching the corresponding vibration information, and the change condition stored in each electronic accessory may be different.
  • each electronic accessory installed on the wearable device can produce acceleration changes, so each electronic accessory can collect acceleration data through the acceleration sensor .
  • Each electronic accessory can compare the acceleration variation characteristics of the acceleration data collected by the acceleration sensor with the stored variation conditions, and determine whether the acceleration variation characteristics are within the stored variation conditions. Since the variation conditions stored in each electronic accessory may be different, only the target electronic accessory may detect acceleration data whose acceleration variation characteristics are within the stored variation conditions, and thus wake up.
  • FIG. 5A is a schematic diagram of a wearable device and an electronic accessory in another embodiment.
  • the wearable device is a smart watch 110
  • an electronic accessory 120 and an electronic accessory 130 can be mounted on the strap 114 of the smart watch 110 .
  • the vibration module 116 of the smart watch 110 vibrates according to the vibration information corresponding to the electronic accessory 120
  • the acceleration change reflected by the acceleration data collected by the electronic accessory 120 and the electronic accessory 130 through the acceleration sensor may be the curve 510 shown in FIG. 5B . .
  • the acceleration change reflected by the acceleration data collected by the electronic accessory 120 and the electronic accessory 130 through the acceleration sensor may be the curve 520 shown in FIG. 5C .
  • the electronic accessory 120 and the electronic accessory 130 may store different changing conditions respectively. Therefore, when the acceleration sensor of the electronic accessory 120 collects the acceleration data as shown in FIG. 5B , the electronic accessory 120 can be woken up; When the acceleration sensor collects the acceleration data as shown in FIG. 5C , the electronic accessory 130 can be woken up.
  • the vibration module of the wearable device can vibrate according to different vibration information, so that the corresponding target electronic accessories can be awakened accurately, the accuracy of awakening the electronic accessories is improved, and the electronic accessories that do not need to be awakened can be avoided.
  • the accessory is woken up causing unnecessary power loss.
  • the wearable device can obtain trigger requests for electronic accessories in different scenarios, and control the vibration module to vibrate according to the set vibration information according to the trigger request, so as to wake up the electronic accessories and automatically wake up the electronic accessories , the user does not need to manually operate the wake-up electronic accessories, which can simplify the user operation and ensure the accuracy of the wake-up electronic accessories.
  • the above method for waking up the electronic accessory may further include: after waking up the electronic accessory, the wearable device controls the vibration module to vibrate again according to the set vibration information, so that the acceleration sensor of the electronic accessory can collect the data again. Acceleration data matching the vibration information is obtained, and the acceleration data collected again is used to make the electronic accessory enter the sleep state again.
  • the electronic accessories can work and perform corresponding functions. After the wearable device does not need to use the electronic accessory, the electronic accessory can resume the sleep state.
  • the wearable device determines to control the electronic accessory to enter the sleep state, and can control the vibration module again to vibrate according to the set vibration information, and the vibration of the vibration module can cause the electronic accessory to generate an acceleration change again.
  • the electronic accessory can collect acceleration data matching the vibration information again through the acceleration sensor, thereby controlling the electronic accessory to re-enter the sleep state.
  • determining that the wearable device controls the electronic accessory to enter the sleep state may include, but is not limited to, any of the following situations: the wearable device exits the application program corresponding to the use of the electronic accessory; the wearable device continues for a certain period of time The function of the electronic accessory is not called, for example, the function of the electronic accessory is not called for 5 minutes; the wearable device is switched from the wearing state to the non-wearing state, indicating that the user does not use the wearable device, and therefore does not need to use the electronic accessory, and can control the Electronic accessories go to sleep, etc.
  • the vibration information of the vibration module when the wearable device wakes up the electronic accessory may be the same as the vibration information of the vibration module when the wearable device controls the electronic accessory to sleep.
  • the time interval between the two acquisitions of the acceleration data matching the vibration information can be obtained. If the time interval is greater than the time threshold, then Controls the electronic accessories to go back to sleep.
  • the time interval can be set according to actual needs, such as 1 minute, 2 minutes, 4 minutes, etc., but not limited to this.
  • the electronic accessory When the time interval between the acceleration sensor of the electronic accessory collecting the acceleration data matching the vibration information twice is greater than the time threshold, the electronic accessory is controlled to enter the sleep state again, which can avoid the situation of mistakenly controlling the electronic accessory to enter the sleep state, and improve the electronic Control accuracy of accessories.
  • the vibration information of the vibration module when the wearable device wakes up the electronic accessory may also be different from the vibration information of the vibration module when the wearable device controls the electronic accessory to sleep.
  • the wearable device controls the vibration module to vibrate according to the set first vibration information, so as to wake up the electronic accessories in a dormant state.
  • the electronic accessory in the dormant state wakes up the electronic accessory when the acceleration data matching the first vibration information is collected by the acceleration sensor.
  • the vibration module can be controlled to vibrate according to the set second vibration information, so as to control the electronic accessory to re-enter the sleep state.
  • the first vibration information is distinguishable from the second vibration information.
  • the electronic accessory may also enter the sleep state in other ways.
  • the electronic accessory may re-enter the sleep state after performing one function (for example, after the vital sign data collection accessory collects the user's vital sign data once can re-enter the sleep state); or the electronic accessory is in the wake-up working state for a set period of time (such as 3 minutes, 5 minutes, etc.), that is, re-enters the sleep state, etc., which is not limited in this embodiment of the present application.
  • the wearable device can vibrate by controlling the vibration module, so as to control the electronic accessories to re-enter the sleep state, and simultaneously realize accurate control of the wake-up and sleep of the electronic accessories, without user intervention, simplifying user operations, and in When the electronic accessories are not required to be used, the electronic accessories are controlled to enter a sleep state, which can reduce the power consumption of the electronic accessories and improve the battery life of the electronic accessories.
  • another wake-up method for an electronic accessory is provided, which can be applied to the above-mentioned electronic accessory.
  • the method may include the following steps:
  • Step 610 Acquire acceleration data through an acceleration sensor.
  • Step 620 if the acceleration data matches the set vibration information, then wake up the electronic accessory in a dormant state, wherein the acceleration data matching the vibration information is generated by the vibration module on the wearable device vibrating according to the vibration information. of.
  • the step of waking up the electronic accessory in a dormant state may include: extracting acceleration variation characteristics of the acceleration data; if the acceleration variation characteristics are in a state corresponding to the set vibration information Within the changing conditions, it is determined that the acceleration data matches the vibration information, and the electronic accessories in the dormant state are woken up.
  • the method for waking up the electronic accessory further includes: when it is detected that the acceleration sensor collects acceleration data matching the vibration information again, controlling the electronic accessory to re-enter the sleep state.
  • the wearable device controls the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, so as to wake up the sleep state.
  • Electronic accessories by controlling the vibration module on the wearable device to vibrate and wake up the electronic accessories, without the need for the user to manually operate the electronic accessories to wake up the electronic accessories, which can simplify the user's operation, and there is no need to design buttons in the electronic accessories, which reduces the cost of the electronic accessories.
  • the electronic accessory will wake up only when the acceleration sensor collects acceleration data matching the set vibration information, which can avoid false wake-up and improve the accuracy of waking up the electronic accessory.
  • a wake-up device 700 for an electronic accessory is provided, and the wake-up device 700 for an electronic accessory can be applied to the above-mentioned wearable device.
  • the wake-up device 700 of the electronic accessory may include a control module 710 .
  • the control module 710 is used to control the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the sleeping electronic accessory.
  • the vibration information includes at least one of vibration frequency, vibration amplitude, and vibration duration.
  • the wearable device controls the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, so as to wake up the sleep state.
  • Electronic accessories by controlling the vibration module on the wearable device to vibrate and wake up the electronic accessories, without the need for the user to manually operate the electronic accessories to wake up the electronic accessories, which can simplify the user's operation, and there is no need to design buttons in the electronic accessories, which reduces the cost of the electronic accessories.
  • the electronic accessory will wake up only when the acceleration sensor collects acceleration data matching the set vibration information, which can avoid false wake-up and improve the accuracy of waking up the electronic accessory.
  • the wake-up device 700 of the electronic accessory further includes a request acquisition module in addition to the control module 710 .
  • the request acquisition module is used to acquire a trigger request for electronic accessories.
  • the request obtaining module is further configured to obtain a trigger request for the electronic accessory when an application corresponding to the electronic accessory is started;
  • the request acquisition module is further configured to acquire a trigger request for the electronic accessory according to the function invocation instruction when receiving the function invocation instruction for the electronic accessory;
  • the request obtaining module is further configured to obtain a trigger request for the electronic accessory when it is detected that the wearable device is switched from an unworn state to a worn state.
  • the control module 710 is further configured to control the vibration module to vibrate according to the set vibration information according to the trigger request.
  • At least two electronic accessories for performing different functions are installed on the wearable device, and the trigger request includes the accessory identifiers of the triggered target electronic accessories.
  • the control module 710 is also used to obtain vibration information corresponding to the target electronic accessory according to the accessory identifier, and control the vibration module to vibrate according to the corresponding vibration information, so that the acceleration sensor of the target electronic accessory can collect and match the corresponding vibration information acceleration data to wake up the target electronic accessory.
  • the acceleration data matched with the vibration information includes: acceleration data whose acceleration variation characteristics are within variation conditions corresponding to the vibration information.
  • the wearable device can obtain trigger requests for electronic accessories in different scenarios, and control the vibration module to vibrate according to the set vibration information according to the trigger request, so as to wake up the electronic accessories and automatically wake up the electronic accessories , the user does not need to manually operate the wake-up electronic accessories, which can simplify the user operation and ensure the accuracy of the wake-up electronic accessories.
  • control module 710 is further configured to control the vibration module to vibrate again according to the set vibration information after waking up the electronic accessory, so that the acceleration sensor of the electronic accessory can collect the acceleration matching the vibration information again. data, and the acceleration data collected again is used to make the electronic accessory re-enter the sleep state.
  • the wearable device can vibrate by controlling the vibration module, so as to control the electronic accessories to re-enter the sleep state, and simultaneously realize accurate control of the wake-up and sleep of the electronic accessories, without user intervention, simplifying user operations, and in When the electronic accessories are not required to be used, the electronic accessories are controlled to enter a sleep state, which can reduce the power consumption of the electronic accessories and improve the battery life of the electronic accessories.
  • another wake-up device 800 of an electronic accessory is provided, and the wake-up device 800 of the electronic accessory can be applied to the above-mentioned electronic accessory.
  • the wake-up device 800 of the electronic accessory may include a collection module 810 and a wake-up module 820 .
  • the acquisition module 810 is configured to acquire acceleration data through an acceleration sensor.
  • the wake-up module 820 is used to wake up the electronic accessory in a dormant state if the acceleration data matches the set vibration information, wherein the acceleration data matching the vibration information is determined by the vibration module on the wearable device according to the vibration information. produced by vibration.
  • the wake-up module 820 is further configured to extract the acceleration change feature of the acceleration data. If the acceleration change feature is within the change condition corresponding to the set vibration information, determine that the acceleration data matches the vibration information, and wake up Electronic accessories that are dormant.
  • the wake-up device 800 of the electronic accessory further includes a sleep module.
  • the sleep module is used to control the electronic accessory to re-enter the sleep state when it is detected that the acceleration sensor collects acceleration data matching the vibration information again.
  • the wearable device controls the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, so as to wake up the sleep state.
  • Electronic accessories by controlling the vibration module on the wearable device to vibrate and wake up the electronic accessories, without the need for the user to manually operate the electronic accessories to wake up the electronic accessories, which can simplify the user's operation, and there is no need to design buttons in the electronic accessories, which reduces the cost of the electronic accessories.
  • the electronic accessory will wake up only when the acceleration sensor collects acceleration data matching the set vibration information, which can avoid false wake-up and improve the accuracy of waking up the electronic accessory.
  • FIG. 9 is a structural block diagram of a wearable device in one embodiment.
  • the wearable device 900 may include one or more of the following components: a processor 910, a memory 920 coupled to the processor 910, and a vibration module 930, wherein the memory 920 may store one or more computer programs, One or more computer programs may be configured to, when executed by one or more processors 910, implement the wake-up method applied to an electronic accessory of a wearable device as described in the above embodiments.
  • Processor 910 may include one or more processing cores.
  • the processor 910 uses various interfaces and lines to connect various parts in the entire wearable device 900, and by running or executing the instructions, programs, code sets or instruction sets stored in the memory 920, and calling the data stored in the memory 920, Various functions of the wearable device 900 are executed and data is processed.
  • the processor 910 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 910 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing of the display content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 910, and is implemented by a communication chip alone.
  • the memory 920 may include a random access memory (Random Access Memory, RAM), or may include a read-only memory (Read-Only Memory, ROM). Memory 920 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 920 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the foregoing method embodiments, and the like.
  • the storage data area may also store data and the like created by the wearable device 900 in use.
  • the wearable device 900 may include more or less structural elements than those in the above structural block diagram, for example, including a power module, physical buttons, Wi-Fi module, Bluetooth module, sensors, etc., which are not limited herein.
  • FIG. 10 is a structural block diagram of an electronic accessory in one embodiment.
  • the electronic accessory 1000 may include one or more of the following components: a processor 1010, a memory 1020 coupled to the processor 1010, and an acceleration sensor 1030, wherein the memory 1020 may store one or more computer programs, a The computer programs or programs may be configured to, when executed by the processor(s) 1010, implement the wake-up method applied to the electronic accessory as described in the various embodiments above.
  • the processor 1010 may include an MCU (Microcontroller Unit, microcontroller unit) and the like.
  • the electronic accessory 1000 may include more or less structural elements than those in the above structural block diagram, for example, may also include a power module, a Bluetooth module, etc., which are not limited herein.
  • the embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the wake-up method applied to an electronic accessory of a wearable device as described in the foregoing embodiments is implemented.
  • the embodiment of the present application discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the application described in the above embodiments.
  • a wake-up method for an electronic accessory of a wearable device is disclosed.
  • the embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the wake-up method for an electronic accessory applied to an electronic accessory as described in the foregoing embodiments is implemented.
  • the embodiment of the present application discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the application described in the above embodiments.
  • the wake-up method of the electronic accessory of the electronic accessory includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the application described in the above embodiments.
  • the wake-up method of the electronic accessory of the electronic accessory includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the application described in the above embodiments.
  • the wake-up method of the electronic accessory of the electronic accessory includes a processor to implement the application described in the above embodiments.
  • the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium , when the program is executed, it may include the flow of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disk, a ROM, and the like.
  • Non-volatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (Erasable PROM, EPROM), Electrically Erasable PROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM), which acts as external cache memory.
  • RAM can be in various forms, such as static RAM (Static RAM, SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (synchronous DRAM, SDRAM), double data rate SDRAM (Double data rate SDRAM) Data Rate SDRAM, DDR SDRAM), Enhanced SDRAM (Enhanced Synchronous DRAM, ESDRAM), Synchronous Link DRAM (Synchlink DRAM, SLDRAM), Memory Bus Direct RAM (Rambus DRAM, RDRAM) and Direct Memory Bus Dynamic RAM (Direct Rambus DRAM) , DRDRAM).
  • static RAM Static RAM, SRAM
  • dynamic RAM Dynamic Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM synchronous DRAM
  • double data rate SDRAM Double data rate SDRAM
  • Data Rate SDRAM Data Rate SDRAM
  • DDR SDRAM Data Rate SDRAM
  • Enhanced SDRAM Enhanced Synchronous DRAM, ESDRAM
  • Synchronous Link DRAM Synchronous Link DRAM
  • DRDRAM Direct Memory Bus Dynamic RAM
  • the units described above as separate components may or may not be physically separated, and components displayed as units may or may not be object units, and may be located in one place or distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

Abstract

Disclosed in embodiments of the present application are a wakeup method and apparatus for electronic accessories, a wearable device, and the electronic accessories. The method is applied to the wearable device; the electronic accessories are mounted on the wearable device; the wearable device comprises a vibration module; and the electronic accessories comprise an acceleration transducer. The method comprises: controlling the vibration module to vibrate according to set vibration information, such that the acceleration transducer in the electronic accessories can collect acceleration data matching the vibration information, the acceleration data being used for waking up the electronic accessories in a dormant state.

Description

电子配件的唤醒方法、装置、可穿戴设备及电子配件Wake-up method, device, wearable device and electronic accessory for electronic accessories
本申请要求于2021年04月15日提交、申请号为202110407671.X、发明名称为“电This application is required to be submitted on April 15, 2021, the application number is 202110407671.X, and the name of the invention is "electrical 子配件的唤醒方法、装置、可穿戴设备及电子配件”的中国专利申请的优先权,其全部内The priority of the Chinese patent application for the wake-up method, device, wearable device and electronic accessories of sub-accessories, all of which 容通过引用结合在本申请中。Content is incorporated herein by reference.
技术领域technical field
本申请涉及智能终端技术领域,具体涉及一种电子配件的唤醒方法、装置、可穿戴设备及电子配件。The present application relates to the technical field of smart terminals, and in particular, to a wake-up method, device, wearable device and electronic accessory for an electronic accessory.
背景技术Background technique
可穿戴设备以小巧、轻便、易携带等优点受到越来越多用户的青睐。为了丰富可穿戴设备的功能,可穿戴设备上可搭配安装有实现不同功能的电子配件,电子配件可与可穿戴设备配合使用,以满足用户对于可穿戴设备的不同需求。为了提高电子配件的续航能力,电子配件大部分情况下处于休眠或关机状态,只有在需要使用电子配件的时候才会被唤醒。目前常用的唤醒电子配件的方式是在电子配件上设计按键,用户通过按压按键唤醒电子配件,操作繁锁,且电子配件的成本较高。Wearable devices are favored by more and more users because of their small size, light weight, and easy portability. In order to enrich the functions of the wearable device, the wearable device can be equipped with electronic accessories that realize different functions, and the electronic accessories can be used in conjunction with the wearable device to meet the different needs of users for the wearable device. In order to improve the battery life of the electronic accessories, the electronic accessories are in a sleep or shutdown state in most cases, and will only be awakened when the electronic accessories need to be used. At present, a commonly used way to wake up an electronic accessory is to design a button on the electronic accessory, and the user presses the button to wake up the electronic accessory, which is complicated to operate, and the cost of the electronic accessory is relatively high.
发明内容SUMMARY OF THE INVENTION
本申请实施例公开了一种电子配件的唤醒方法、装置、可穿戴设备及电子配件、存储介质,能够通过可穿戴设备上的振动模组唤醒电子配件,简化用户操作,且可降低电子配件的成本。The embodiment of the present application discloses a wake-up method, device, wearable device, electronic accessory, and storage medium for an electronic accessory, which can wake up the electronic accessory through a vibration module on the wearable device, simplify user operations, and reduce the consumption of electronic accessories. cost.
本申请实施例公开了一种电子配件的唤醒方法,应用于可穿戴设备,所述电子配件用于安装在所述可穿戴设备上,所述可穿戴设备包括振动模组,所述电子配件包括加速度传感器,所述方法包括:The embodiment of the present application discloses a wake-up method for an electronic accessory, which is applied to a wearable device, where the electronic accessory is used to be installed on the wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration sensor, the method comprising:
控制所述振动模组按照设定的振动信息进行振动,以使所述电子配件中的所述加速度传感器能够采集到与所述振动信息匹配的加速度数据,所述加速度数据用于唤醒处于休眠状态的所述电子配件。Controlling the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the dormant state of the electronic accessories.
本申请实施例公开了一种电子配件的唤醒方法,应用于所述电子配件,所述电子配件用于安装在可穿戴设备上,所述可穿戴设备包括振动模组,所述电子配件包括加速度传感器,所述方法包括:The embodiment of the present application discloses a wake-up method for an electronic accessory, which is applied to the electronic accessory, and the electronic accessory is used to be installed on a wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration module sensor, the method includes:
通过所述加速度传感器采集加速度数据;Acceleration data is collected by the acceleration sensor;
若所述加速度数据与设定的振动信息匹配,则唤醒处于休眠状态的所述电子配件,其中,与所述振动信息匹配的加速度数据是由所述可穿戴设备上的振动模组按照所述振动信息进行振动产生的。If the acceleration data matches the set vibration information, wake up the electronic accessory in a dormant state, wherein the acceleration data matching the vibration information is determined by the vibration module on the wearable device according to the Vibration information is generated by vibration.
本申请实施例公开了一种电子配件的唤醒装置,应用于可穿戴设备,所述电子配件用于安装在所述可穿戴设备上,所述可穿戴设备包括振动模组,所述电子配件包括加速度传感器,所述装置包括:The embodiment of the present application discloses a wake-up device for an electronic accessory, which is applied to a wearable device, where the electronic accessory is used to be installed on the wearable device, the wearable device includes a vibration module, and the electronic accessory includes An acceleration sensor, the device includes:
控制模块,用于控制所述振动模组按照设定的振动信息进行振动,以使所述电子配件中的所述加速度传感器能够采集到与所述振动信息匹配的加速度数据,所述加速度数据用于唤醒处于休眠状态的所述电子配件。A control module is used to control the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the electronic accessory in a dormant state.
本申请实施例公开了一种电子配件的唤醒装置,应用于所述电子配件,所述电子配件用于安装在可穿戴设备上,所述可穿戴设备包括振动模组,所述电子配件包括加速度传感器,所述装置包括:The embodiment of the present application discloses a wake-up device for an electronic accessory, which is applied to the electronic accessory, and the electronic accessory is used for being installed on a wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration A sensor, the device includes:
采集模块,用于通过所述加速度传感器采集加速度数据;an acquisition module for acquiring acceleration data through the acceleration sensor;
唤醒模块,用于若所述加速度数据与设定的振动信息匹配,则唤醒处于休眠状态的所述电子配件,其中,与所述振动信息匹配的加速度数据是由所述可穿戴设备上的振动模组按照所述振动信息进行振动产生的。A wake-up module, configured to wake up the electronic accessory in a dormant state if the acceleration data matches the set vibration information, wherein the acceleration data matching the vibration information is determined by the vibration on the wearable device The module vibrates according to the vibration information.
本申请实施例公开了一种可穿戴设备,包括振动模组、存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如上所述的应用于可穿戴设备的方法。An embodiment of the present application discloses a wearable device, including a vibration module, a memory, and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor can be implemented as above The described method is applied to a wearable device.
本申请实施例公开了一种电子配件,包括加速度传感器、存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如上所述的应用于电子配件的方法。An embodiment of the present application discloses an electronic accessory, including an acceleration sensor, a memory, and a processor, where a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the above-mentioned The method applied to electronic accessories.
本申请实施例公开了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的应用于可穿戴设备的方法。The embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned method applied to a wearable device.
本申请实施例公开了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的应用于电子配件的方法。The embodiment of the present application discloses a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned method applied to an electronic accessory.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和有益效果将从说明书、附图以及权利要求书中体现。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and benefits of the present application will emerge from the description, drawings, and claims.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1A为一个实施例中可穿戴设备及电子配件的示意图;1A is a schematic diagram of a wearable device and an electronic accessory in one embodiment;
图1B为另一个实施例中可穿戴设备及电子配件的示意图;1B is a schematic diagram of a wearable device and an electronic accessory in another embodiment;
图2为一个实施例中电子配件的唤醒方法的流程图;2 is a flowchart of a wake-up method for an electronic accessory in one embodiment;
图3为另一个实施例中电子配件的唤醒方法的流程图;3 is a flowchart of a wake-up method for an electronic accessory in another embodiment;
图4A为一个实施例中电子配件的加速度传感器采集到的加速度数据的示意图;4A is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in one embodiment;
图4B为另一个实施例中电子配件的加速度传感器采集到的加速度数据的示意图;4B is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in another embodiment;
图5A为另一个实施例中可穿戴设备及电子配件的示意图;5A is a schematic diagram of a wearable device and an electronic accessory in another embodiment;
图5B为另一个实施例中电子配件的加速度传感器采集到的加速度数据的示意图;5B is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in another embodiment;
图5C另一个实施例中电子配件的加速度传感器采集到的加速度数据的示意图;5C is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in another embodiment;
图6为另一个实施例中电子配件的唤醒方法的流程图;6 is a flowchart of a wake-up method for an electronic accessory in another embodiment;
图7为一个实施例中电子配件的唤醒装置的框图;7 is a block diagram of a wake-up device of an electronic accessory in one embodiment;
图8为另一个实施例中电子配件的唤醒装置的框图;8 is a block diagram of a wake-up device of an electronic accessory in another embodiment;
图9为一个实施例中可穿戴设备的结构框图;9 is a structural block diagram of a wearable device in one embodiment;
图10为一个实施例中电子配件的结构框图。FIG. 10 is a structural block diagram of an electronic accessory in one embodiment.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
需要说明的是,本申请实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选 地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "comprising" and "having" in the embodiments of the present application and the accompanying drawings and any modifications thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
图1A为一个实施例中可穿戴设备及电子配件的示意图。图1B为另一个实施例中可穿戴设备及电子配件的示意图。在本申请实施例中,电子配件可用于实现不同的功能,电子配件可用于安装在可穿戴设备上,并配合可穿戴设备进行使用。电子配件可包括但不限于体征数据采集配件、麦克风配件、扬声器配件等,其中,体征数据采集配件可用于采集佩戴用户的体征数据,例如心率数据、体温数据、血压数据等,麦克风配件可用于采集佩戴用户的声音数据,扬声器配件可用于播放音频数据等。可穿戴设备可包括但不限于智能手表、智能手环、智能眼镜等可穿戴在用户身上的电子设备,本申请实施例对此不作限定。FIG. 1A is a schematic diagram of a wearable device and an electronic accessory in one embodiment. FIG. 1B is a schematic diagram of a wearable device and an electronic accessory in another embodiment. In the embodiments of the present application, the electronic accessories may be used to implement different functions, and the electronic accessories may be installed on the wearable device and used in conjunction with the wearable device. Electronic accessories may include, but are not limited to, vital data collection accessories, microphone accessories, speaker accessories, etc., among which, vital data collection accessories can be used to collect physical data of wearing users, such as heart rate data, body temperature data, blood pressure data, etc., and microphone accessories can be used to collect Wearing the user's voice data, the speaker accessory can be used to play audio data, etc. The wearable device may include, but is not limited to, an electronic device that can be worn on a user, such as a smart watch, a smart bracelet, and smart glasses, which is not limited in this embodiment of the present application.
在一些实施例中,电子配件的体积较小,电子配件可安装在可穿戴设备的穿戴部件上,穿戴部件用于使用可穿戴设备穿戴在用户身体上。示例性地,如图1A所示,可穿戴设备可为智能手表110,智能手表110可包括主机112及表带114,该表带114即为智能手表110的穿戴部件,电子配件120可安装在表带114上。智能手表110可包括振动模组116,振动模组116可设置在主机112中,电子配件120可包括加速度传感器122。电子配件120可处于休眠状态,在需要唤醒电子配件120时,智能手表110可控制振动模组116按照设定的振动信息进行振动,振动模组116进行振动时可使得表带114上的电子配件120产生加速度变化。电子配件120可通过加速度传感器122采集到与该振动信息匹配的加速度数据,并唤醒处于休眠状态的电子配件120。In some embodiments, the volume of the electronic accessory is small, and the electronic accessory can be mounted on a wearable part of the wearable device, and the wearable part is used to be worn on the user's body using the wearable device. Exemplarily, as shown in FIG. 1A , the wearable device can be a smart watch 110 , and the smart watch 110 can include a host 112 and a watch strap 114 , the watch strap 114 is the wearable part of the smart watch 110 , and the electronic accessories 120 on the strap 114. The smart watch 110 may include a vibration module 116 , the vibration module 116 may be disposed in the host 112 , and the electronic accessory 120 may include an acceleration sensor 122 . The electronic accessory 120 can be in a dormant state. When the electronic accessory 120 needs to be woken up, the smart watch 110 can control the vibration module 116 to vibrate according to the set vibration information. When the vibration module 116 vibrates, it can make the electronic accessory on the strap 114 120 produces an acceleration change. The electronic accessory 120 can collect acceleration data matching the vibration information through the acceleration sensor 122, and wake up the electronic accessory 120 in a dormant state.
示例性地,如图1B所示,可穿戴设备可为智能眼镜130,智能眼镜130可包括镜框132,该镜框132即为智能眼镜130的穿戴部件,电子配件140可安装在镜框132上,进一步地,电子配件140可安装在镜框132的镜腿上。智能眼镜130可包括振动模组134,振动模组134也可设置在镜框132中,电子配件140可包括加速度传感器142。电子配件140可处于休眠状态,在需要唤醒电子配件140时,智能眼镜130可控制振动模组134按照设定的振动信息进行振动,振动模组134进行振动时可使得镜框132上的电子配件140产生加速度变化。电子配件140可通过加速度传感器142采集到与该振动信息匹配的加速度数据,并唤醒处于休眠状态的电子配件140。Exemplarily, as shown in FIG. 1B , the wearable device may be smart glasses 130 , the smart glasses 130 may include a frame 132 , the frame 132 is a wearable part of the smart glasses 130 , and the electronic accessories 140 may be installed on the frame 132 , and further Alternatively, the electronic accessories 140 may be mounted on the temples of the frame 132 . The smart glasses 130 may include a vibration module 134 , and the vibration module 134 may also be disposed in the frame 132 , and the electronic accessory 140 may include an acceleration sensor 142 . The electronic accessory 140 can be in a dormant state. When the electronic accessory 140 needs to be woken up, the smart glasses 130 can control the vibration module 134 to vibrate according to the set vibration information. When the vibration module 134 vibrates, it can make the electronic accessory 140 on the frame 132 vibrate. Acceleration changes occur. The electronic accessory 140 can collect acceleration data matching the vibration information through the acceleration sensor 142, and wake up the electronic accessory 140 in a dormant state.
需要说明的是,图1A及图1B仅用于说明本申请实施例中的电子配件安装在可穿戴设备的可能情况,并不用于限定电子配件的具体安装方式,电子配件安装在可穿戴设备的安装方式及安装位置在本申请实施例中不作限定。It should be noted that FIG. 1A and FIG. 1B are only used to illustrate the possible situation in which the electronic accessories in the embodiments of the present application are installed on the wearable device, and are not used to limit the specific installation method of the electronic accessories. The electronic accessories are installed on the wearable device. The installation manner and installation position are not limited in the embodiments of the present application.
如图2所示,在一个实施例中,提供一种电子配件的唤醒方法,可应用于上述的可穿戴设备,该方法可包括以下步骤:As shown in FIG. 2, in one embodiment, a wake-up method for an electronic accessory is provided, which can be applied to the above-mentioned wearable device, and the method may include the following steps:
步骤210,控制振动模组按照设定的振动信息进行振动,以使电子配件中的加速度传感器能够采集到与振动信息匹配的加速度数据,该加速度数据用于唤醒处于休眠状态的电子配件。 Step 210 , controlling the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the sleeping electronic accessory.
在本申请实施例中,可穿戴设备可包括振动模组,振动模组用于输出振动信号,以产生振动效果。振动模组可包括振动马达、振动电机等。可穿戴设备中可预先存储有设定的振动信息,可选地,该振动信息可包括但不限于振动频率、振动幅度及振动持续时长等中的一种或多种。其中,振动频率可指的是振动模组在单位时间内的振动次数,振动频率可用于表征振动模组的振动速度,振动频率越高,振动模组的振动速度越快,振动频率越低,振动模组的振动速度越慢。振动幅度可指的是振动模组在振动时离开平衡位置的最大距离,振动幅度可用于表征振动模组的振动强度,振动幅度越大,振动强度可越强,振动幅度越小,振动强度可越弱。振动持续时长可指的是振动模组持续振动的时间,例如2秒、3秒等。In the embodiment of the present application, the wearable device may include a vibration module, and the vibration module is used to output a vibration signal to generate a vibration effect. The vibration module may include a vibration motor, a vibration motor, and the like. Preset vibration information may be stored in the wearable device. Optionally, the vibration information may include but not limited to one or more of vibration frequency, vibration amplitude, and vibration duration. Among them, the vibration frequency can refer to the number of vibrations of the vibration module per unit time, and the vibration frequency can be used to characterize the vibration speed of the vibration module. The higher the vibration frequency, the faster the vibration speed of the vibration module and the lower the vibration frequency. The vibration speed of the vibration module is slower. The vibration amplitude can refer to the maximum distance that the vibration module leaves the equilibrium position when vibrating. The vibration amplitude can be used to characterize the vibration intensity of the vibration module. The larger the vibration amplitude, the stronger the vibration intensity. the weaker. The vibration duration may refer to the time the vibration module continues to vibrate, such as 2 seconds, 3 seconds, and so on.
在一些实施例中,设定的振动信息还可包括振动模组持续进行振动的振动数量,该振 动数量可指的是振动模组在整个振动过程中持续振动的次数,例如,振动模组在整个振动过程中进行了4次持续振动,或振动模组在整个振动过程中进行了3次持续振动等。In some embodiments, the set vibration information may further include the number of vibrations that the vibration module continues to vibrate, and the vibration number may refer to the number of times the vibration module continues to vibrate during the entire vibration process. During the entire vibration process, four continuous vibrations were performed, or the vibration module performed three continuous vibrations during the entire vibration process, etc.
可选地,每次持续振动可对应相同的振动频率、振动幅度、振动持续时长等振动信息。例如,振动模组在整个振动过程中进行4次持续振动,每次持续振动的振动频率为30Hz(赫兹),振动幅度为0.2厘米,振动持续时长为2秒。可选地,每次持续振动对应的振动频率、振动幅度、振动持续时长等振动信息也可存在不同。例如,振动模组在整个振动过程中进行3次持续振动,第1次持续振动的振动频率为30Hz,振动幅度为0.2厘米,振动持续时长为2秒,第2次持续振动的振动频率为50Hz,振动幅度为0.5厘米,振动持续时长为3秒,第3次持续振动的振动频率为30Hz,振动幅度为0.2厘米,振动持续时长为2秒等,但不限于此。进一步地,相邻两次持续振动之间可间隔有设置的非振动时间段,该非振动时间段可较短,例如500毫秒、650毫秒等,但不限于此。Optionally, each continuous vibration may correspond to the same vibration information such as vibration frequency, vibration amplitude, and vibration duration. For example, the vibration module performs four continuous vibrations during the entire vibration process. The vibration frequency of each continuous vibration is 30 Hz (Hertz), the vibration amplitude is 0.2 cm, and the vibration duration is 2 seconds. Optionally, vibration information such as vibration frequency, vibration amplitude, and vibration duration duration corresponding to each continuous vibration may also be different. For example, the vibration module performs three continuous vibrations during the entire vibration process. The vibration frequency of the first continuous vibration is 30Hz, the vibration amplitude is 0.2 cm, the vibration duration is 2 seconds, and the vibration frequency of the second continuous vibration is 50Hz. , the vibration amplitude is 0.5 cm, the vibration duration is 3 seconds, the vibration frequency of the third continuous vibration is 30 Hz, the vibration amplitude is 0.2 cm, and the vibration duration is 2 seconds, etc., but not limited to this. Further, a non-vibration time period may be set between two adjacent continuous vibrations, and the non-vibration time period may be short, for example, 500 milliseconds, 650 milliseconds, etc., but not limited thereto.
需要说明的是,上述的振动信息可根据实际需求进行设置,并不仅限于上述的几种数据类型及数值,具体的振动信息在本申请实施例中不作限定。振动信息可由用户进行设置,也可在可穿戴设备及电子配件出厂前统一进行设置。It should be noted that the above-mentioned vibration information can be set according to actual needs, and is not limited to the above-mentioned several data types and values, and the specific vibration information is not limited in the embodiments of the present application. The vibration information can be set by the user, and can also be set uniformly before the wearable device and electronic accessories leave the factory.
电子配件安装在可穿戴设备上,为了节省电子配件的功耗,电子配件可在大部分情况下处于休眠状态。在可穿戴设备需要唤醒安装在可穿戴设备上的电子配件时,可控制振动模组按照设定的振动信息进行振动,振动模组进行振动时可使得电子配件产生加速度变化。电子配件可包括加速度传感器,在电子配件处于休眠状态时,加速度传感器可处于工作状态,除加速度传感器以外的其它电路、电子器件可处于断电状态。电子配件可通过加速度传感器采集加速度数据,若加速度传感器采集到的加速度数据与设定的振动信息匹配,则可确定该加速度数据是由可穿戴设备的振动模组进行振动所产生的,可唤醒处于休眠状态的电子配件。在电子配件唤醒后,电子配件中的各个电路及电子器件均处于通电状态,电子配件可正常进行工作,执行相应的功能。The electronic accessories are installed on the wearable device. In order to save the power consumption of the electronic accessories, the electronic accessories can be in a dormant state in most cases. When the wearable device needs to wake up the electronic accessories installed on the wearable device, the vibration module can be controlled to vibrate according to the set vibration information, and when the vibration module vibrates, the electronic accessories can generate acceleration changes. The electronic accessory may include an acceleration sensor. When the electronic accessory is in a dormant state, the acceleration sensor may be in a working state, and other circuits and electronic devices other than the acceleration sensor may be in a power-off state. Electronic accessories can collect acceleration data through the acceleration sensor. If the acceleration data collected by the acceleration sensor matches the set vibration information, it can be determined that the acceleration data is generated by the vibration module of the wearable device. Dormant electronic accessories. After the electronic accessory wakes up, all circuits and electronic devices in the electronic accessory are powered on, and the electronic accessory can work normally and perform corresponding functions.
若电子配件通过加速度传感器采集到与设定的振动信息不匹配的加速度数据,可确定该加速度数据不是由可穿戴设备的振动模组进行振动所产生的,则可不唤醒电子配件,从而可避免电子配件因为用户的运动等其它产生的加速度变化的场景下进行唤醒的误唤醒情况,保证了电子配件唤醒的准确性,可降低误唤醒带来的功耗损失。If the electronic accessory collects acceleration data that does not match the set vibration information through the acceleration sensor, it can be determined that the acceleration data is not generated by the vibration of the vibration module of the wearable device, and the electronic accessory may not be woken up, thus avoiding electronic The false wake-up of the accessory due to the user's motion and other acceleration changes caused by the scene ensures the accuracy of the electronic accessory wake-up, and can reduce the power loss caused by the false wake-up.
在本申请实施例中,可穿戴设备控制振动模组按照设定的振动信息进行振动,以使电子配件中的加速度传感器能够采集到与该振动信息匹配的加速度数据,从而可唤醒处于休眠状态的电子配件,通过控制可穿戴设备上的振动模组进行振动唤醒电子配件,无需用户手动操作唤醒电子配件,能够简化用户操作,且无需在电子配件中设计按键,降低了电子配件的成本。而且,电子配件仅在加速度传感器采集到与设定的振动信息匹配的加速度数据时,才进行唤醒,可避免误唤醒的情况,提高唤醒电子配件的准确率。In the embodiment of the present application, the wearable device controls the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, so as to wake up the sleep state. Electronic accessories, by controlling the vibration module on the wearable device to vibrate and wake up the electronic accessories, without the need for the user to manually operate the electronic accessories to wake up the electronic accessories, which can simplify the user's operation, and there is no need to design buttons in the electronic accessories, which reduces the cost of the electronic accessories. Moreover, the electronic accessory will wake up only when the acceleration sensor collects acceleration data matching the set vibration information, which can avoid false wake-up and improve the accuracy of waking up the electronic accessory.
如图3所示,在一个实施例中,提供另一种电子配件的唤醒方法,可应用于上述的可穿戴设备,该方法可包括以下步骤:As shown in FIG. 3 , in one embodiment, another wake-up method for an electronic accessory is provided, which can be applied to the above-mentioned wearable device, and the method may include the following steps:
步骤302,获取针对电子配件的触发请求。 Step 302, acquiring a trigger request for the electronic accessory.
触发请求可用于触发唤醒安装在可穿戴设备上的电子配件,以使得唤醒后的电子配件能够执行相应的功能,与可穿戴设备进行配合。在一些实施例中,可穿戴设备获取针对电子配件的触发请求,可包括但不限于以下几种情况中的任一种:The trigger request can be used to trigger the wake-up of the electronic accessory installed on the wearable device, so that the wake-up electronic accessory can perform a corresponding function and cooperate with the wearable device. In some embodiments, the wearable device obtains a trigger request for an electronic accessory, which may include, but is not limited to, any of the following situations:
(1)在可穿戴设备启动与电子配件对应的应用程序时,获取针对电子配件的触发请求。可穿戴设备上可安装有一个或多个应用程序(application,APP),不同的应用程序可提供不同的功能,以满足用户的需求。应用程序可提供交互界面,用户可通过可穿戴设备显示的交互界面与应用程序进行交互,使用应用程序相应的功能。(1) When the wearable device starts an application program corresponding to the electronic accessory, a trigger request for the electronic accessory is obtained. One or more applications (application, APP) can be installed on the wearable device, and different applications can provide different functions to meet the needs of users. The application can provide an interactive interface, and the user can interact with the application through the interactive interface displayed by the wearable device, and use the corresponding functions of the application.
作为一种具体实施方式,可穿戴设备可显示有安装的各个应用程序的应用图标,用户可选择点击应用图标,以启动该应用图标对应的应用程序。可穿戴设备在检测到用户针对应用程序的启动操作时,可启动用户选择的应用程序。可预先建立应用程序与电子配件之间的对应关系,在可穿戴设备启动应用程序时,可根据该对应关系判断启动的应用程序是否为电子配件对应的应用程序,若启动的应用程序为与电子配件对应的应用程序,则可获取针对该电子配件的触发请求,以唤醒电子配件。As a specific implementation manner, the wearable device may display application icons of each installed application program, and the user may choose to click on the application icon to start the application program corresponding to the application icon. When the wearable device detects the user's operation of starting the application, the wearable device can start the application selected by the user. The corresponding relationship between the application program and the electronic accessories can be established in advance. When the wearable device starts the application program, it can be judged according to the corresponding relationship whether the started application program is the application program corresponding to the electronic accessories. The application corresponding to the accessory can obtain a trigger request for the electronic accessory to wake up the electronic accessory.
可选地,与电子配件对应的应用程序可指的是使用电子配件的功能的应用程序。例如,电子配件为体征数据采集配件,该电子配件可用于采集用户的心率数据、体温数据、血压数据等,则电子配件对应的应用程序可包括但不限于心率测量应用、体温测量应用、血压测量应用等,或是能够同时检测多种体征数据的应用程序。又例如,电子配件为麦克风配件,则电子配件对应的应用程序可包括但不限于录音应用、通话应用等。Alternatively, the application corresponding to the electronic accessory may refer to an application using a function of the electronic accessory. For example, if the electronic accessory is a physical sign data collection accessory, the electronic accessory can be used to collect the user's heart rate data, body temperature data, blood pressure data, etc., and the applications corresponding to the electronic accessory may include but are not limited to heart rate measurement applications, body temperature measurement applications, blood pressure measurement applications, etc. applications, etc., or applications that can detect multiple signs of data at the same time. For another example, if the electronic accessory is a microphone accessory, the applications corresponding to the electronic accessory may include, but are not limited to, a recording application, a calling application, and the like.
可选地,与电子配件对应的应用程序也可以是具备使用电子配件的使用权限的应用程序。例如,电子配件为体征数据采集配件,应用程序为运动监测应用,该运动监测应用具备使用体征数据采集配件采集用户在运动过程中的体征数据的使用权限,则在启动运动监测应用时,可唤醒体征数据采集配件。又例如,电子配件为麦克风配件,应用程序为聊天应用,该聊天应用具备使用麦克风配件的使用权限,则在启动运动监测应用时,可唤醒麦克风配件。在一些实施例中,在可穿戴设备启动应用程序时,也可判断启动的应用程序是否具备使用电子配件的使用权限,若启动的应用程序具备该电子配件的使用权限,则可确定启动的应用程序为与电子配件对应的应用程序。Optionally, the application program corresponding to the electronic accessory may also be an application program having the permission to use the electronic accessory. For example, if the electronic accessory is a physical sign data collection accessory, and the application is a motion monitoring application, the motion monitoring application has the permission to use the physical sign data collection accessory to collect the user's physical sign data during exercise. When the motion monitoring application is started, it can wake up Accessory for physical data collection. For another example, if the electronic accessory is a microphone accessory, and the application is a chat application, and the chat application has the permission to use the microphone accessory, when the motion monitoring application is started, the microphone accessory can be woken up. In some embodiments, when the wearable device starts an application, it can also be determined whether the started application has the permission to use the electronic accessory, and if the started application has the permission to use the electronic accessory, the started application can be determined Programs are applications corresponding to electronic accessories.
在启动电子配件对应的应用程序时,触发唤醒电子配件,在可穿戴设备需要使用该电子配件时,无需等待唤醒电子配件的时间,提高使用效率。When the application program corresponding to the electronic accessory is started, the electronic accessory is triggered to wake up, and when the wearable device needs to use the electronic accessory, there is no need to wait for the time to wake up the electronic accessory, and the use efficiency is improved.
(2)在可穿戴设备接收到针对电子配件的功能调用指令时,根据功能调用指令获取针对电子配件的触发请求。可穿戴设备在接收到针对电子配件的功能调用指令时,可确定需要调用电子配件的功能。可选地,该功能调用指令可以是可穿戴设备的应用层运行的应用程序生成的,在运行的应用程序需要调用电子配件的功能时,可向可穿戴设备的系统发送功能调用指令。例如,电子配件为体征数据采集配件,应用程序为运动监测应用,在该运动监测应用需要调用体征数据采集配件的心率检测功能时,则可生成针对该体征数据采集配件的功能调用指令。(2) When the wearable device receives a function invocation instruction for the electronic accessory, it acquires a trigger request for the electronic accessory according to the function invocation instruction. When the wearable device receives the function invocation instruction for the electronic accessory, it may determine that the function of the electronic accessory needs to be invoked. Optionally, the function invocation instruction may be generated by an application running in the application layer of the wearable device, and when the running application needs to invoke the function of the electronic accessory, the function invocation instruction may be sent to the system of the wearable device. For example, the electronic accessory is a vital sign data collection accessory, and the application is a motion monitoring application. When the motion monitoring application needs to call the heart rate detection function of the vital sign data collection accessory, a function calling instruction for the vital sign data collection accessory can be generated.
可选地,该功能调用指令也可以是由与可穿戴设备建立通信连接的终端设备发送的。可穿戴设备可与终端设备建立通信连接,该终端设备可包括但不限于手机、平板电脑、车载终端、计算机、其它可穿戴设备等,通信连接可包括但不限于蓝牙、Wi-Fi等无线通信连接,或是通过数据线建立的有线通信连接等。在终端设备需要调用可穿戴设备上的电子配件的功能,或是需要获取该电子配件的相关数据时,可向可穿戴设备发送针对电子配件的功能调用指令。Optionally, the function invocation instruction may also be sent by a terminal device that establishes a communication connection with the wearable device. The wearable device can establish a communication connection with the terminal device. The terminal device can include but is not limited to mobile phones, tablet computers, vehicle terminals, computers, other wearable devices, etc. The communication connection can include but is not limited to wireless communication such as Bluetooth and Wi-Fi. connection, or a wired communication connection established through a data line, etc. When the terminal device needs to call the function of the electronic accessory on the wearable device, or needs to obtain the relevant data of the electronic accessory, it can send a function calling instruction for the electronic accessory to the wearable device.
在需要调用电子配件的功能时,可触发唤醒电子配件,以使唤醒后的电子配件实现相应的功能,满足不同场景下针对电子配件的功能使用需求,且在需要调用电子配件的功能时才唤醒电子配件,可降低电子配件不必要的功耗损失。When the function of the electronic accessory needs to be called, it can be triggered to wake up the electronic accessory, so that the wake-up electronic accessory can realize the corresponding function, meet the functional usage requirements of the electronic accessory in different scenarios, and wake up only when the function of the electronic accessory needs to be called. Electronic accessories can reduce unnecessary power loss of electronic accessories.
(3)在可穿戴设备检测到可穿戴设备从未佩戴状态切换为佩戴状态时,获取针对电子配件的触发请求。可穿戴设备检测处于未佩戴状态或处于佩戴状态的方式可以有多种。例如,可穿戴设备中可设置有加速度传感器,通过该加速度传感器采集可穿戴设备的加速度数据,并根据该加速度数据判断可穿戴设备当前处于未佩戴状态还是处于佩戴状态,未佩戴状态及佩戴状态可分别对应不同加速度变化情况,通过分析加速度数据可得到可穿戴设备的加速度变化情况,以确定穿戴设备当前处于未佩戴状态还是处于佩戴状态。(3) When the wearable device detects that the wearable device is switched from an unworn state to a worn state, obtain a trigger request for the electronic accessory. There are various ways in which a wearable device can detect being in an unworn state or being in a worn state. For example, an acceleration sensor can be set in the wearable device, the acceleration data of the wearable device can be collected through the acceleration sensor, and according to the acceleration data, it can be determined whether the wearable device is currently in an unworn state or a wearing state, and the unworn state and the wearing state can be determined. Corresponding to different acceleration changes respectively, the acceleration changes of the wearable device can be obtained by analyzing the acceleration data, so as to determine whether the wearable device is currently in an unworn state or a worn state.
又例如,可穿戴设备中可设置有重力传感器,可通过重力传感器采集重力数据,并根据该重力数据判断可穿戴设备是否执行抬起动作,若可穿戴设备执行抬起动作,则可确定可穿戴设备从未佩戴状态切换为佩戴状态。For another example, a gravity sensor may be provided in the wearable device, gravity data may be collected by the gravity sensor, and whether the wearable device performs a lifting action can be determined according to the gravity data, and if the wearable device performs a lifting action, it can be determined that the wearable device The device switches from an unworn state to a worn state.
又例如,可穿戴设备可进行活体检测,在检测到活体时,可确定可穿戴设备从未佩戴状态切换为佩戴状态,活体检测的方式可包括但不限于温度检测、通过摄像头采集人脸图像检测、发射红外光信号检测等。For another example, a wearable device can perform liveness detection, and when a living body is detected, it can be determined that the wearable device is switched from an unworn state to a wearing state. , Emit infrared light signal detection, etc.
在可穿戴设备从未佩戴状态切换为佩戴状态时,可触发唤醒电子配件,电子配件可进行初始化工作,该初始化工作可包括但不限于重新配置电子配件中的各个电子器件的信息,如可将加速度传感器等进行重置等,以提高电子配件中各个电子器件的工作准确性。When the wearable device switches from the unworn state to the wearing state, the electronic accessory can be triggered to wake up, and the electronic accessory can perform initialization work, which may include, but is not limited to, reconfiguring the information of each electronic device in the electronic accessory. Acceleration sensors, etc., are reset, etc., to improve the working accuracy of each electronic device in the electronic accessories.
步骤304,根据触发请求控制振动模组按照设定的振动信息进行振动,以使电子配件中的加速度传感器能够采集到与振动信息匹配的加速度数据,该加速度数据用于唤醒处于休眠状态的电子配件。 Step 304, control the vibration module to vibrate according to the set vibration information according to the trigger request, so that the acceleration sensor in the electronic accessories can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the electronic accessories in a dormant state .
在一些实施例中,电子配件中的加速度传感器采集到的与振动信息匹配的加速度数据,可包括电子配件中的加速度传感器采集到的加速度变化特征处于与该振动信息对应的变化条件内的加速度数据。电子配件的加速度传感器在采集加速度数据后,电子配件可提取该加速度数据的加速度变化特征,并根据该加速度变化特征判断采集的加速度数据是否与设定的振动信息匹配。In some embodiments, the acceleration data collected by the acceleration sensor in the electronic accessory that matches the vibration information may include acceleration data in which the acceleration change characteristics collected by the acceleration sensor in the electronic accessory are within a change condition corresponding to the vibration information . After the acceleration sensor of the electronic accessory collects the acceleration data, the electronic accessory can extract the acceleration change characteristic of the acceleration data, and judge whether the collected acceleration data matches the set vibration information according to the acceleration change characteristic.
可选地,该加速度变化特征可包括但不限于加速度变化频率、加速度变化幅度、加速度变化的持续时长等变化特征数据。其中,加速度变化频率可指的是单位时间内电子配件发生加速度变化的次数,加速度变化幅度可指的是电子配件发生加速度变化时的最大加速度值,加速度变化的持续时长可指的是加速度传感器检测到加速度变化的持续时长。Optionally, the acceleration variation feature may include, but is not limited to, variation characteristic data such as acceleration variation frequency, acceleration variation amplitude, and acceleration variation duration. Among them, the frequency of acceleration change may refer to the number of times of acceleration changes of electronic accessories in a unit time, the magnitude of acceleration change may refer to the maximum acceleration value when the electronic accessories undergo acceleration changes, and the duration of acceleration changes may refer to the acceleration sensor detection. to the duration of the acceleration change.
可穿戴设备上的振动模组按照不同的振动信息进行振动时,电子配件可产生不同的加速度变化,因此,电子配件的加速度传感器采集的加速度数据的加速度变化特征也会不同。电子配件可通过判断提取的加速度变化特征是否处于设定的振动信息对应的变化条件内,来确定采集的加速度数据是否由可穿戴设备的振动模组产生。可选地,该变化条件可包括一种或多种设置的与各个变化特征数据对应的数值范围。When the vibration module on the wearable device vibrates according to different vibration information, the electronic accessories can generate different acceleration changes. Therefore, the acceleration change characteristics of the acceleration data collected by the acceleration sensors of the electronic accessories will also be different. The electronic accessory can determine whether the collected acceleration data is generated by the vibration module of the wearable device by judging whether the extracted acceleration variation characteristics are within the variation conditions corresponding to the set vibration information. Optionally, the change condition may include one or more set value ranges corresponding to each change characteristic data.
在一些实施例中,振动信息可包括振动频率、振动幅度及振动持续时长等中的至少一种,则变化条件可对应包括有加速度变化频率范围、加速度变化幅度范围及加速度变化的持续时长范围等数值范围中的至少一种。其中,加速度变化频率范围可以是振动频率与频率误差的和,例如,振动频率为30Hz,频率误差可为+10Hz、-10Hz,则加速度变化频率范围可为20~40Hz。加速度变化幅度范围可以是振动幅度与幅度误差的和,例如,振动幅度为0.2厘米,幅度误差为+0.1厘米、-0.1厘米,则加速度变化幅度可为0.1~0.3厘米。加速度变化的持续时长范围可以是振动持续时长与时长误差的和,例如,振动持续时长为2秒,时长误差为+200毫秒、-200毫秒,则加速度变化的持续时长范围可以是1.8~2.2秒。In some embodiments, the vibration information may include at least one of vibration frequency, vibration amplitude, and vibration duration, etc., and the change conditions may correspond to a range of acceleration change frequency, acceleration change amplitude range, and acceleration change duration range, etc. at least one of a range of values. The acceleration variation frequency range may be the sum of the vibration frequency and the frequency error. For example, if the vibration frequency is 30 Hz and the frequency error may be +10 Hz or -10 Hz, the acceleration variation frequency range may be 20-40 Hz. The range of the acceleration variation amplitude can be the sum of the vibration amplitude and the amplitude error. For example, if the vibration amplitude is 0.2 cm and the amplitude error is +0.1 cm and -0.1 cm, the acceleration variation range can be 0.1-0.3 cm. The duration range of the acceleration change can be the sum of the vibration duration and the duration error. For example, if the vibration duration is 2 seconds, and the duration error is +200 milliseconds and -200 milliseconds, the duration range of the acceleration change can be 1.8 to 2.2 seconds. .
在一些实施例中,设定的振动信息还可包括振动模组持续进行振动的振动数量,则变化条件还可包括检测到加速度持续发生变化的变化次数。振动模组在整个振动过程中进行一次持续振动,电子配件可产生一次持续的加速度变化,因此电子配件的一次加速度持续发生变化可对应振动模组在整个振动过程中进行一次持续振动。进一步地,该振动数量可与振动模组持续进行振动的振动数量相同。In some embodiments, the set vibration information may further include the number of vibrations that the vibration module continuously vibrates, and the change condition may further include the number of changes in which the acceleration continuously changes is detected. The vibration module performs a continuous vibration during the entire vibration process, and the electronic accessories can generate a continuous acceleration change. Therefore, a continuous change in the acceleration of the electronic accessories can correspond to a continuous vibration of the vibration module during the entire vibration process. Further, the number of vibrations may be the same as the number of vibrations that the vibration module continuously vibrates.
电子配件可从加速度数据中提取每次加速度持续发生变化对应的加速度变化特征,并判断每次加速度持续发生变化对应的加速度变化特征是否处于相应的加速度变化频率范围、加速度变化幅度范围及加速度变化的持续时长范围等数值范围。The electronic accessories can extract the acceleration change characteristics corresponding to each continuous acceleration change from the acceleration data, and judge whether the acceleration change characteristics corresponding to each continuous acceleration change are within the corresponding acceleration change frequency range, acceleration change amplitude range, and acceleration change. Numerical ranges such as duration ranges.
可选地,每次加速度持续发生变化可对应相同的加速度变化频率范围、加速度变化幅 度范围及加速度变化的持续时长范围等数值范围,每次加速度持续发生变化对应的加速度变化频率范围、加速度变化幅度范围及加速度变化的持续时长范围等数值范围也可存在区别。每次加速度持续发生变化对应的加速度变化频率范围、加速度变化幅度范围及加速度变化的持续时长范围等数值范围,可根据对应的持续振动的振动频率、振动幅度、振动持续时长等振动信息进行确定。Optionally, each time the acceleration continuously changes can correspond to the same numerical range such as the frequency range of the acceleration change, the range of the amplitude of the acceleration change, and the range of the duration of the acceleration change. Numerical ranges such as the range and the duration of the acceleration change can also differ. The numerical ranges, such as the frequency range of acceleration change, the range of acceleration change amplitude, and the range of duration of acceleration change corresponding to each continuous change of acceleration, can be determined according to the vibration information such as the vibration frequency, vibration amplitude, and vibration duration of the corresponding continuous vibration.
例如,可穿戴设备的振动模组在整个振动过程中进行4次持续振动,每次持续振动的振动频率为30Hz,振动幅度为0.2厘米,振动持续时长为2秒,则电子配件检测到加速度持续发生变化的变化次数为4次,且每次加速度持续发生变化对应的加速度变化频率范围为20~40Hz,加速度变化幅度范围为0.1~0.3厘米,及加速度变化的持续时长范围为1.7~2.3秒。For example, the vibration module of the wearable device vibrates continuously for 4 times during the whole vibration process, the vibration frequency of each continuous vibration is 30Hz, the vibration amplitude is 0.2 cm, and the vibration duration is 2 seconds, then the electronic accessory detects that the acceleration continues The number of changes that occur is 4 times, and the frequency range of acceleration change corresponding to each continuous change of acceleration is 20 to 40 Hz, the range of acceleration change amplitude is 0.1 to 0.3 cm, and the duration of acceleration change is in the range of 1.7 to 2.3 seconds.
示例性地,图4A为一个实施例中电子配件的加速度传感器采集到的加速度数据的示意图。如图4A所示,可穿戴设备的振动模组在整个振动过程中按照相同的振动信息进行4次持续振动,则电子配件通过加速度传感器采集到加速度数据反映的加速度变化可为曲线410,该曲线410可包括4个相同的波形412,每个波形412可对应一次加速度持续发生变化,每次加速度持续发生变化可对应相同的数值范围。Exemplarily, FIG. 4A is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in one embodiment. As shown in FIG. 4A , the vibration module of the wearable device vibrates continuously for 4 times according to the same vibration information during the whole vibration process, and the acceleration change reflected by the acceleration data collected by the electronic accessory through the acceleration sensor can be a curve 410 . 410 may include four identical waveforms 412 , each waveform 412 may correspond to a continuous change of acceleration, and each continuous change of acceleration may correspond to the same value range.
又例如,振动模组在整个振动过程中进行2次持续振动,第1次持续振动的振动频率为50Hz,振动幅度为0.5厘米,振动持续时长为4秒,第2次持续振动的振动频率为30Hz,振动幅度为0.2厘米,振动持续时长为2秒,则电子配件检测到加速度持续发生变化的变化次数为2次,且第1次加速度持续发生变化对应的加速度变化频率范围为15~45Hz,加速度变化幅度范围为0.15~0.25厘米,加速度变化的持续时长范围为3.8~4.2秒,第2次加速度持续发生变化对应的加速度变化频率范围为35~65Hz,加速度变化幅度范围为0.45~0.55厘米,加速度变化的持续时长范围为1.8~2.2秒。For another example, the vibration module performs two continuous vibrations during the entire vibration process. The vibration frequency of the first continuous vibration is 50 Hz, the vibration amplitude is 0.5 cm, and the vibration duration is 4 seconds. The vibration frequency of the second continuous vibration is 30Hz, the vibration amplitude is 0.2 cm, and the vibration duration is 2 seconds, then the electronic accessory detects that the acceleration changes continuously for 2 times, and the frequency range of the acceleration change corresponding to the first continuous acceleration change is 15 to 45 Hz. The range of the acceleration change range is 0.15~0.25cm, the duration of the acceleration change is 3.8~4.2 seconds, the frequency range of the acceleration change corresponding to the continuous change of the second acceleration is 35~65Hz, and the range of the acceleration change range is 0.45~0.55cm. The duration of the acceleration change ranges from 1.8 to 2.2 seconds.
示例性地,图4B为另一个实施例中电子配件的加速度传感器采集到的加速度数据的示意图。如图4B所示,可穿戴设备的振动模组在整个振动过程中分别按照不同的振动信息进行2次持续振动,则电子配件通过加速度传感器采集到加速度数据反映的加速度变化可为曲线420。该曲线420可包括波形422及波形424,其中,波形422可对应第1次加速度持续发生变化,波形424可对应第2次加速度持续发生变化,第1次加速度持续发生变化及第2次加速度持续发生变化可分别对应不同的数值范围。Exemplarily, FIG. 4B is a schematic diagram of acceleration data collected by an acceleration sensor of an electronic accessory in another embodiment. As shown in FIG. 4B , the vibration module of the wearable device performs two continuous vibrations according to different vibration information during the entire vibration process, and the acceleration change reflected by the acceleration data collected by the electronic accessory through the acceleration sensor can be a curve 420 . The curve 420 may include a waveform 422 and a waveform 424, wherein the waveform 422 may continuously change corresponding to the first acceleration, the waveform 424 may continuously change corresponding to the second acceleration, the first acceleration may continue to change, and the second acceleration may continue to change Changes can correspond to different numerical ranges.
在本申请实施例中,电子配件通过判断加速度传感器采集的加速度数据的加速度变化特征是否处于设定的振动信息对应的变化条件内,来判断是否进行唤醒,能够准确识别出由可穿戴设备的振动模组进行振动产生的加速度变化,可避免电子配件因为用户的运动等其它产生的加速度变化的场景下进行唤醒的误唤醒情况,保证了电子配件唤醒的准确性,可降低误唤醒带来的功耗损失。In the embodiment of the present application, the electronic accessory judges whether to wake up by judging whether the acceleration change characteristic of the acceleration data collected by the acceleration sensor is within the change condition corresponding to the set vibration information, and can accurately identify the vibration caused by the wearable device. The acceleration change caused by the vibration of the module can avoid the false wake-up of the electronic accessories due to the user's movement and other acceleration changes, ensure the accuracy of the electronic accessories wake-up, and reduce the function caused by false wake-up. consumption loss.
可选地,上述的频率误差、幅度误差、时长误差等误差值可通过实际多次测量进行确定。误差值可与电子配件在可穿戴设备上的安装位置相关,进一步地,误差值可与电子配件与振动模组之间的距离呈正相关关系,电子配件安装在距离振动模组越近的位置,误差值可越小,电子配件安装在距离振动模组越远的位置,误差值可越大。在一些实施例中,误差值也可与可穿戴设备的佩戴方式相关,可穿戴设备佩戴在用户身上越紧,误差值可越大,可穿戴设备佩戴在用户身上越松,误差值可越小。在一些实施例中,误差值还可与可穿戴设备的穿戴部件的材质相关,若穿戴部件的材质为较容易传递振动的材质,则误差值可越小,若穿戴部件的材质为不容易传递振动的材质,则误差值可越大。Optionally, the above-mentioned error values such as frequency error, amplitude error, duration error, etc., may be determined through actual multiple measurements. The error value can be related to the installation position of the electronic accessories on the wearable device. Further, the error value can be positively related to the distance between the electronic accessories and the vibration module. The electronic accessories are installed at a position closer to the vibration module. The smaller the error value can be, the farther the electronic accessories are installed from the vibration module, the larger the error value can be. In some embodiments, the error value may also be related to how the wearable device is worn. The tighter the wearable device is worn on the user, the larger the error value may be, and the looser the wearable device is worn on the user, the smaller the error value may be. . In some embodiments, the error value may also be related to the material of the wearable component of the wearable device. If the material of the wearable component is a material that transmits vibrations more easily, the error value may be smaller. If the material of the wearable component is not easy to transmit vibration Vibrating material, the error value can be larger.
作为一种具体实施方式,可穿戴设备可进入对电子配件的唤醒进行测试的测试模式,在该测试模式下,可穿戴设备可向电子配件发送测试指令。可穿戴设备可控制振动模组按 照设定的振动信息进行振动,电子配件在接收到测试指令后,可通过加速度传感器不断采集由可穿戴设备的振动模组产生的加速度数据,并分析该加速度数据,得到该加速度数据的加速度变化特征,从而根据该加速度变化特征确定相应的变化条件中包含的各个数值范围。电子配件可存储确定的变化条件,并在休眠状态下利用该变化条件判断是否需要进行唤醒。通过对可穿戴设备的振动模组进行振动所产生的加速度变化进行测试,从而确定相应的变化条件,能够减轻电子配件在可穿戴设备上的安装位置、穿戴部件的材质等对变化条件中的数值范围的不良影响,可提高唤醒电子配件的准确性。As a specific implementation manner, the wearable device may enter a test mode for testing the wake-up of the electronic accessory, and in the test mode, the wearable device may send a test instruction to the electronic accessory. The wearable device can control the vibration module to vibrate according to the set vibration information. After receiving the test command, the electronic accessory can continuously collect the acceleration data generated by the vibration module of the wearable device through the acceleration sensor, and analyze the acceleration data. , to obtain the acceleration variation characteristic of the acceleration data, so as to determine each numerical range included in the corresponding variation condition according to the acceleration variation characteristic. The electronic accessory can store the determined change condition, and use the change condition to judge whether it needs to be woken up in the sleep state. By testing the acceleration change generated by the vibration of the vibration module of the wearable device, the corresponding change conditions can be determined, which can reduce the installation position of the electronic accessories on the wearable device and the material of the wearable parts. The undesirable effect of range, which improves the accuracy of waking up electronic accessories.
在一些实施例中,可穿戴设备上可安装有至少两个用于执行不同功能的电子配件,不同电子配件可安装在可穿戴设备的不同位置,例如,可穿戴设备可同时安装有体征数据采集配件及麦克风配件等。可穿戴设备可选择唤醒一个或多个电子配件,可获取针对被触发的目标电子配件的触发请求,该被触发的目标电子配件即为需要唤醒的电子配件。该触发请求可包括被触发的目标电子配件的配件标识,不同电子配件可对应不同的配件标识,配件标识可由数字、字母、符号等中的一种或多种组成,例如,体征数据采集配件对应的配件标识为00A,麦克风配件对应的配件标识为12B等,但不限于此。In some embodiments, at least two electronic accessories for performing different functions may be installed on the wearable device, and different electronic accessories may be installed in different positions of the wearable device. For example, the wearable device may be installed with physical sign data collection at the same time. Accessories and microphone accessories, etc. The wearable device can choose to wake up one or more electronic accessories, and can obtain a trigger request for the triggered target electronic accessories, and the triggered target electronic accessories are the electronic accessories that need to be woken up. The trigger request may include the accessory identifier of the triggered target electronic accessory, different electronic accessories may correspond to different accessory identifiers, and the accessory identifier may be composed of one or more of numbers, letters, symbols, etc., for example, the sign data collection accessory corresponds to The accessory identifier of the microphone is 00A, and the accessory identifier corresponding to the microphone accessory is 12B, etc., but not limited to this.
在一个实施例中,在可穿戴设备启动应用程序时,可获取启动的应用程序对应的电子配件,并将该启动的应用程序对应的电子配件作为目标电子配件,获取针对该目标电子配件的触发请求,以唤醒启动的应用程序对应的电子配件。In one embodiment, when the wearable device starts an application, an electronic accessory corresponding to the started application can be obtained, and the electronic accessory corresponding to the started application can be used as a target electronic accessory, and a trigger for the target electronic accessory can be obtained. Request to wake up the corresponding electronic accessory of the launched application.
在另一个实施例中,在可穿戴设备接收到针对目标电子配件的功能调用指令时,则可根据该功能调用指令获取针对目标电子配件的触发请求,以唤醒需要调用功能的电子配件。例如,在接收到针对体征数据采集配件的功能调用指令时,则可生成针对体征数据采集配件的触发请求,在接收到针对扬声器配件的功能调用指令时,则可生成针对扬声器配件的触发请求。In another embodiment, when the wearable device receives a function invocation instruction for the target electronic accessory, it can obtain a trigger request for the target electronic accessory according to the function invocation instruction to wake up the electronic accessory that needs to invoke the function. For example, when a function invocation instruction for the vital data collection accessory is received, a trigger request for the vital data collection accessory can be generated, and when a function invocation instruction for the speaker accessory is received, a trigger request for the speaker accessory can be generated.
在另一个实施例中,在可穿戴设备检测到可穿戴设备从未佩戴状态切换为佩戴状态时,可将安装在可穿戴设备上的所有电子配件作为目标电子配件,并获取针对各个目标电子配件的触发请求,以唤醒所有的电子配件。In another embodiment, when the wearable device detects that the wearable device is switched from an unworn state to a worn state, all electronic accessories installed on the wearable device may be used as target electronic accessories, and information for each target electronic accessory may be obtained. trigger request to wake up all electronic accessories.
不同电子配件可分别对应不同的振动信息,各个电子配件对应的振动信息可与各个电子配件的配件标识对应存储在可穿戴设备中。可穿戴设备在获取针对目标电子配件的触发请求后,可根据该触发请求中包括的配件标识获取与目标电子配件对应的振动信息,并控制振动模组按照该对应的振动信息进行振动,以使目标电子配件的加速度传感器能够采集到与该对应的振动信息匹配的加速度数据,以唤醒目标电子配件。Different electronic accessories may correspond to different vibration information respectively, and the vibration information corresponding to each electronic accessory may be stored in the wearable device corresponding to the accessory identifier of each electronic accessory. After the wearable device obtains the trigger request for the target electronic accessory, it can obtain vibration information corresponding to the target electronic accessory according to the accessory identifier included in the trigger request, and control the vibration module to vibrate according to the corresponding vibration information, so as to make the wearable device vibrate according to the corresponding vibration information. The acceleration sensor of the target electronic accessory can collect acceleration data matching the corresponding vibration information, so as to wake up the target electronic accessory.
不同电子配件可分别对应不同的振动信息,各个电子配件中可存储有与对应的振动信息相匹配的变化条件,各个电子配件中存储的变化条件可不同。可穿戴设备的振动模组按照与目标电子配件对应的振动信息进行振动时,安装在可穿戴设备上的各个电子配件均可产生加速度变化,因此每个电子配件均可通过加速度传感器采集到加速度数据。各个电子配件可将加速度传感器采集到的加速度数据的加速度变化特征与存储的变化条件进行比对,判断该加速度变化特征是否处于存储的变化条件内。由于各个电子配件中存储的变化条件可不同,因此,仅目标电子配件可检测到加速度变化特征处于存储的变化条件内的加速度数据,从而进行唤醒。Different electronic accessories may correspond to different vibration information respectively, and each electronic accessory may store a change condition matching the corresponding vibration information, and the change condition stored in each electronic accessory may be different. When the vibration module of the wearable device vibrates according to the vibration information corresponding to the target electronic accessory, each electronic accessory installed on the wearable device can produce acceleration changes, so each electronic accessory can collect acceleration data through the acceleration sensor . Each electronic accessory can compare the acceleration variation characteristics of the acceleration data collected by the acceleration sensor with the stored variation conditions, and determine whether the acceleration variation characteristics are within the stored variation conditions. Since the variation conditions stored in each electronic accessory may be different, only the target electronic accessory may detect acceleration data whose acceleration variation characteristics are within the stored variation conditions, and thus wake up.
图5A为另一个实施例中可穿戴设备及电子配件的示意图。如图5A所示,可穿戴设备为智能手表110,智能手表110的表带114上可安装有电子配件120及电子配件130。其中,智能手表110的振动模组116在按照电子配件120对应的振动信息进行振动时,电子配件120及电子配件130通过加速度传感器采集到加速度数据反映的加速度变化可为图5B所示的曲线510。智能手表110的振动模组116在按照电子配件130对应的振动信息进行振动时, 电子配件120及电子配件130通过加速度传感器采集到加速度数据反映的加速度变化可为图5C所示的曲线520。电子配件120及电子配件130中可分别存储有不同的变化条件,因此,在电子配件120的加速度传感器采集到如图5B所示的加速度数据时,则可唤醒电子配件120;在电子配件130的加速度传感器采集到如图5C所示的加速度数据时,则可唤醒电子配件130。FIG. 5A is a schematic diagram of a wearable device and an electronic accessory in another embodiment. As shown in FIG. 5A , the wearable device is a smart watch 110 , and an electronic accessory 120 and an electronic accessory 130 can be mounted on the strap 114 of the smart watch 110 . Wherein, when the vibration module 116 of the smart watch 110 vibrates according to the vibration information corresponding to the electronic accessory 120, the acceleration change reflected by the acceleration data collected by the electronic accessory 120 and the electronic accessory 130 through the acceleration sensor may be the curve 510 shown in FIG. 5B . . When the vibration module 116 of the smart watch 110 vibrates according to the vibration information corresponding to the electronic accessory 130 , the acceleration change reflected by the acceleration data collected by the electronic accessory 120 and the electronic accessory 130 through the acceleration sensor may be the curve 520 shown in FIG. 5C . The electronic accessory 120 and the electronic accessory 130 may store different changing conditions respectively. Therefore, when the acceleration sensor of the electronic accessory 120 collects the acceleration data as shown in FIG. 5B , the electronic accessory 120 can be woken up; When the acceleration sensor collects the acceleration data as shown in FIG. 5C , the electronic accessory 130 can be woken up.
在本申请实施例中,可穿戴设备的振动模组可按照不同的振动信息进行振动,从而可准确唤醒相应的目标电子配件,提高了唤醒电子配件的准确率,且可避免不需要唤醒的电子配件被唤醒造成不必要的功耗损失。In the embodiment of the present application, the vibration module of the wearable device can vibrate according to different vibration information, so that the corresponding target electronic accessories can be awakened accurately, the accuracy of awakening the electronic accessories is improved, and the electronic accessories that do not need to be awakened can be avoided. The accessory is woken up causing unnecessary power loss.
在本申请实施例中,可穿戴设备可在不同场景下获取针对电子配件的触发请求,并根据该触发请求控制振动模组按照设定的振动信息进行振动,以唤醒电子配件,自动唤醒电子配件,无需用户手动操作唤醒电子配件,能够简化用户操作,并保证了唤醒电子配件的准确性。In the embodiment of the present application, the wearable device can obtain trigger requests for electronic accessories in different scenarios, and control the vibration module to vibrate according to the set vibration information according to the trigger request, so as to wake up the electronic accessories and automatically wake up the electronic accessories , the user does not need to manually operate the wake-up electronic accessories, which can simplify the user operation and ensure the accuracy of the wake-up electronic accessories.
在一些实施例中,上述电子配件的唤醒方法,还可包括:在唤醒电子配件后,可穿戴设备再次控制振动模组按照设定的振动信息进行振动,以使电子配件的加速度传感器能够再次采集到与该振动信息匹配的加速度数据,再次采集到的加速度数据用于使得电子配件重新进入休眠状态。In some embodiments, the above method for waking up the electronic accessory may further include: after waking up the electronic accessory, the wearable device controls the vibration module to vibrate again according to the set vibration information, so that the acceleration sensor of the electronic accessory can collect the data again. Acceleration data matching the vibration information is obtained, and the acceleration data collected again is used to make the electronic accessory enter the sleep state again.
可穿戴设备唤醒电子配件后,电子配件可进行工作,执行相应的功能。在可穿戴设备不需要使用电子配件后,电子配件可重新进行休眠状态。可穿戴设备确定控制电子配件进入休眠状态,可再次控制振动模组按照设定的振动信息进行振动,振动模块进行振动可使得电子配件再次产生加速度变化。电子配件可通过加速度传感器再次采集到与该振动信息匹配的加速度数据,从而控制电子配件重新进入休眠状态。After the wearable device wakes up the electronic accessories, the electronic accessories can work and perform corresponding functions. After the wearable device does not need to use the electronic accessory, the electronic accessory can resume the sleep state. The wearable device determines to control the electronic accessory to enter the sleep state, and can control the vibration module again to vibrate according to the set vibration information, and the vibration of the vibration module can cause the electronic accessory to generate an acceleration change again. The electronic accessory can collect acceleration data matching the vibration information again through the acceleration sensor, thereby controlling the electronic accessory to re-enter the sleep state.
在一些实施例中,可穿戴设备确定控制电子配件进入休眠状态可包括但不限于以下几种情况中的任一种:可穿戴设备退出使用电子配件对应的应用程序;可穿戴设备持续一定时间段不调用电子配件的功能,例如,持续5分钟不调用电子配件的功能;可穿戴设备从佩戴状态切换为非佩戴状态,说明用户不使用可穿戴设备,也就不需要使用电子配件,则可控制电子配件进入休眠状态等。In some embodiments, determining that the wearable device controls the electronic accessory to enter the sleep state may include, but is not limited to, any of the following situations: the wearable device exits the application program corresponding to the use of the electronic accessory; the wearable device continues for a certain period of time The function of the electronic accessory is not called, for example, the function of the electronic accessory is not called for 5 minutes; the wearable device is switched from the wearing state to the non-wearing state, indicating that the user does not use the wearable device, and therefore does not need to use the electronic accessory, and can control the Electronic accessories go to sleep, etc.
可选地,可穿戴设备唤醒电子配件时振动模组的振动信息,与可穿戴设备控制电子配件休眠时振动模组的振动信息可相同。电子配件唤醒后,当电子配件通过加速度传感器再次采集到与该振动信息匹配的加速度数据,可获取两次采集到与该振动信息匹配的加速度数据的时间间隔,若该时间间隔大于时间阈值,则可控制电子配件重新进入休眠状态。该时间间隔可根据实际需求进行设置,例如1分钟、2分钟、4分钟等,但不限于此。在电子配件的加速度传感器两次采集到与该振动信息匹配的加速度数据的时间间隔大于时间阈值时,才控制电子配件重新进入休眠状态,可以避免出现误控制电子配件进入休眠状态的情况,提高电子配件的控制准确性。Optionally, the vibration information of the vibration module when the wearable device wakes up the electronic accessory may be the same as the vibration information of the vibration module when the wearable device controls the electronic accessory to sleep. After the electronic accessory wakes up, when the electronic accessory collects the acceleration data matching the vibration information again through the acceleration sensor, the time interval between the two acquisitions of the acceleration data matching the vibration information can be obtained. If the time interval is greater than the time threshold, then Controls the electronic accessories to go back to sleep. The time interval can be set according to actual needs, such as 1 minute, 2 minutes, 4 minutes, etc., but not limited to this. When the time interval between the acceleration sensor of the electronic accessory collecting the acceleration data matching the vibration information twice is greater than the time threshold, the electronic accessory is controlled to enter the sleep state again, which can avoid the situation of mistakenly controlling the electronic accessory to enter the sleep state, and improve the electronic Control accuracy of accessories.
需要说明的是,可穿戴设备唤醒电子配件时振动模组的振动信息,与可穿戴设备控制电子配件休眠时振动模组的振动信息也可不同。可穿戴设备控制振动模组按照设定的第一振动信息进行振动,以唤醒处于休眠状态的电子配件。处于休眠状态的电子配件在通过加速度传感器采集到与第一振动信息匹配的加速度数据时,唤醒该电子配件。It should be noted that the vibration information of the vibration module when the wearable device wakes up the electronic accessory may also be different from the vibration information of the vibration module when the wearable device controls the electronic accessory to sleep. The wearable device controls the vibration module to vibrate according to the set first vibration information, so as to wake up the electronic accessories in a dormant state. The electronic accessory in the dormant state wakes up the electronic accessory when the acceleration data matching the first vibration information is collected by the acceleration sensor.
在电子配件唤醒后,可控制振动模组按照设定的第二振动信息进行振动,以控制电子配件重新进入休眠状态。第一振动信息可区别于第二振动信息。在电子配件通过加速度传感器采集到与第二振动信息匹配的加速度数据时,重新进入休眠状态。After the electronic accessory wakes up, the vibration module can be controlled to vibrate according to the set second vibration information, so as to control the electronic accessory to re-enter the sleep state. The first vibration information is distinguishable from the second vibration information. When the electronic accessory collects acceleration data matching the second vibration information through the acceleration sensor, it re-enters the sleep state.
在其它的实施方式中,电子配件也可采用其它方式进入休眠状态,例如,电子配件可在执行完一次功能后,即重新进入休眠状态(如体征数据采集配件采集完一次用户的体征 数据后即可重新进入休眠状态);或是电子配件处于唤醒的工作状态的时长达到设定时间段(如3分钟、5分钟等),即重新进入休眠状态等,本申请实施例对此不作限定。In other implementations, the electronic accessory may also enter the sleep state in other ways. For example, the electronic accessory may re-enter the sleep state after performing one function (for example, after the vital sign data collection accessory collects the user's vital sign data once can re-enter the sleep state); or the electronic accessory is in the wake-up working state for a set period of time (such as 3 minutes, 5 minutes, etc.), that is, re-enters the sleep state, etc., which is not limited in this embodiment of the present application.
在本申请实施例中,可穿戴设备可通过控制振动模块进行振动,从而控制电子配件重新进入休眠状态,可同时实现对电子配件唤醒及休眠的准确控制,无需用户干涉,简化用户操作,且在不需要使用电子配件时控制电子配件进入休眠状态,可减少电子配件的功耗,提高电子配件的续航能力。In the embodiment of the present application, the wearable device can vibrate by controlling the vibration module, so as to control the electronic accessories to re-enter the sleep state, and simultaneously realize accurate control of the wake-up and sleep of the electronic accessories, without user intervention, simplifying user operations, and in When the electronic accessories are not required to be used, the electronic accessories are controlled to enter a sleep state, which can reduce the power consumption of the electronic accessories and improve the battery life of the electronic accessories.
如图6所示,在一个实施例中,提供另一种电子配件的唤醒方法,可应用于上述的电子配件。该方法可包括以下步骤:As shown in FIG. 6 , in one embodiment, another wake-up method for an electronic accessory is provided, which can be applied to the above-mentioned electronic accessory. The method may include the following steps:
步骤610,通过加速度传感器采集加速度数据。Step 610: Acquire acceleration data through an acceleration sensor.
步骤620,若加速度数据与设定的振动信息匹配,则唤醒处于休眠状态的电子配件,其中,与该振动信息匹配的加速度数据是由可穿戴设备上的振动模组按照该振动信息进行振动产生的。 Step 620, if the acceleration data matches the set vibration information, then wake up the electronic accessory in a dormant state, wherein the acceleration data matching the vibration information is generated by the vibration module on the wearable device vibrating according to the vibration information. of.
在一个实施例中,步骤若加速度数据与设定的振动信息匹配,则唤醒处于休眠状态的电子配件,可包括:提取加速度数据的加速度变化特征;若加速度变化特征处于与设定的振动信息对应的变化条件内,则确定加速度数据与振动信息匹配,并唤醒处于休眠状态的电子配件。In one embodiment, if the acceleration data matches the set vibration information, the step of waking up the electronic accessory in a dormant state may include: extracting acceleration variation characteristics of the acceleration data; if the acceleration variation characteristics are in a state corresponding to the set vibration information Within the changing conditions, it is determined that the acceleration data matches the vibration information, and the electronic accessories in the dormant state are woken up.
在一个实施例中,该电子配件的唤醒方法,还包括:当检测到加速度传感器再次采集到与振动信息匹配的加速度数据时,控制电子配件重新进入休眠状态。In one embodiment, the method for waking up the electronic accessory further includes: when it is detected that the acceleration sensor collects acceleration data matching the vibration information again, controlling the electronic accessory to re-enter the sleep state.
需要说明的是,本申请实施例中提供的应用于电子配件的电子配件的唤醒方法的描述,可参考上述各实施例中提供的应用于可穿戴设备的电子配件的唤醒方法的相关描述,在此不再一一赘述。It should be noted that, for the description of the wake-up method of the electronic accessory applied to the electronic accessory provided in the embodiments of the present application, reference may be made to the relevant description of the wake-up method of the electronic accessory applied to the wearable device provided in the above-mentioned embodiments. This will not be repeated one by one.
在本申请实施例中,可穿戴设备控制振动模组按照设定的振动信息进行振动,以使电子配件中的加速度传感器能够采集到与该振动信息匹配的加速度数据,从而可唤醒处于休眠状态的电子配件,通过控制可穿戴设备上的振动模组进行振动唤醒电子配件,无需用户手动操作唤醒电子配件,能够简化用户操作,且无需在电子配件中设计按键,降低了电子配件的成本。而且,电子配件仅在加速度传感器采集到与设定的振动信息匹配的加速度数据时,才进行唤醒,可避免误唤醒的情况,提高唤醒电子配件的准确率。In the embodiment of the present application, the wearable device controls the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, so as to wake up the sleep state. Electronic accessories, by controlling the vibration module on the wearable device to vibrate and wake up the electronic accessories, without the need for the user to manually operate the electronic accessories to wake up the electronic accessories, which can simplify the user's operation, and there is no need to design buttons in the electronic accessories, which reduces the cost of the electronic accessories. Moreover, the electronic accessory will wake up only when the acceleration sensor collects acceleration data matching the set vibration information, which can avoid false wake-up and improve the accuracy of waking up the electronic accessory.
如图7所示,在一个实施例中,提供一种电子配件的唤醒装置700,该电子配件的唤醒装置700可应用于上述的可穿戴设备。该电子配件的唤醒装置700可包括控制模块710。As shown in FIG. 7 , in one embodiment, a wake-up device 700 for an electronic accessory is provided, and the wake-up device 700 for an electronic accessory can be applied to the above-mentioned wearable device. The wake-up device 700 of the electronic accessory may include a control module 710 .
控制模块710,用于控制振动模组按照设定的振动信息进行振动,以使电子配件中的加速度传感器能够采集到与振动信息匹配的加速度数据,加速度数据用于唤醒处于休眠状态的电子配件。The control module 710 is used to control the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the sleeping electronic accessory.
在一个实施例中,振动信息包括振动频率、振动幅度及振动持续时长中的至少一种。In one embodiment, the vibration information includes at least one of vibration frequency, vibration amplitude, and vibration duration.
在本申请实施例中,可穿戴设备控制振动模组按照设定的振动信息进行振动,以使电子配件中的加速度传感器能够采集到与该振动信息匹配的加速度数据,从而可唤醒处于休眠状态的电子配件,通过控制可穿戴设备上的振动模组进行振动唤醒电子配件,无需用户手动操作唤醒电子配件,能够简化用户操作,且无需在电子配件中设计按键,降低了电子配件的成本。而且,电子配件仅在加速度传感器采集到与设定的振动信息匹配的加速度数据时,才进行唤醒,可避免误唤醒的情况,提高唤醒电子配件的准确率。In the embodiment of the present application, the wearable device controls the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, so as to wake up the sleep state. Electronic accessories, by controlling the vibration module on the wearable device to vibrate and wake up the electronic accessories, without the need for the user to manually operate the electronic accessories to wake up the electronic accessories, which can simplify the user's operation, and there is no need to design buttons in the electronic accessories, which reduces the cost of the electronic accessories. Moreover, the electronic accessory will wake up only when the acceleration sensor collects acceleration data matching the set vibration information, which can avoid false wake-up and improve the accuracy of waking up the electronic accessory.
在一个实施例中,上述电子配件的唤醒装置700除了包括控制模块710,还包括请求获取模块。In one embodiment, the wake-up device 700 of the electronic accessory further includes a request acquisition module in addition to the control module 710 .
请求获取模块,用于获取针对电子配件的触发请求。The request acquisition module is used to acquire a trigger request for electronic accessories.
在一个实施例中,请求获取模块,还用于在启动与电子配件对应的应用程序时,获取 针对电子配件的触发请求;或In one embodiment, the request obtaining module is further configured to obtain a trigger request for the electronic accessory when an application corresponding to the electronic accessory is started; or
请求获取模块,还用于在接收到针对电子配件的功能调用指令时,根据功能调用指令获取针对电子配件的触发请求;或The request acquisition module is further configured to acquire a trigger request for the electronic accessory according to the function invocation instruction when receiving the function invocation instruction for the electronic accessory; or
请求获取模块,还用于在检测到可穿戴设备从未佩戴状态切换为佩戴状态时,获取针对电子配件的触发请求。The request obtaining module is further configured to obtain a trigger request for the electronic accessory when it is detected that the wearable device is switched from an unworn state to a worn state.
控制模块710,还用于根据触发请求控制振动模组按照设定的振动信息进行振动。The control module 710 is further configured to control the vibration module to vibrate according to the set vibration information according to the trigger request.
在一个实施例中,可穿戴设备上安装有至少两个用于执行不同功能的电子配件,触发请求包括被触发的目标电子配件的配件标识。In one embodiment, at least two electronic accessories for performing different functions are installed on the wearable device, and the trigger request includes the accessory identifiers of the triggered target electronic accessories.
控制模块710,还用于根据配件标识获取与目标电子配件对应的振动信息,并控制振动模组按照对应的振动信息进行振动,以使目标电子配件的加速度传感器能够采集到与对应的振动信息匹配的加速度数据,以唤醒目标电子配件。The control module 710 is also used to obtain vibration information corresponding to the target electronic accessory according to the accessory identifier, and control the vibration module to vibrate according to the corresponding vibration information, so that the acceleration sensor of the target electronic accessory can collect and match the corresponding vibration information acceleration data to wake up the target electronic accessory.
在一个实施例中,与振动信息匹配的加速度数据,包括:加速度变化特征处于与振动信息对应的变化条件内的加速度数据。In one embodiment, the acceleration data matched with the vibration information includes: acceleration data whose acceleration variation characteristics are within variation conditions corresponding to the vibration information.
在本申请实施例中,可穿戴设备可在不同场景下获取针对电子配件的触发请求,并根据该触发请求控制振动模组按照设定的振动信息进行振动,以唤醒电子配件,自动唤醒电子配件,无需用户手动操作唤醒电子配件,能够简化用户操作,并保证了唤醒电子配件的准确性。In the embodiment of the present application, the wearable device can obtain trigger requests for electronic accessories in different scenarios, and control the vibration module to vibrate according to the set vibration information according to the trigger request, so as to wake up the electronic accessories and automatically wake up the electronic accessories , the user does not need to manually operate the wake-up electronic accessories, which can simplify the user operation and ensure the accuracy of the wake-up electronic accessories.
在一个实施例中,控制模块710,还用于在唤醒电子配件后,再次控制振动模组按照设定的振动信息进行振动,以使电子配件的加速度传感器能够再次采集到与振动信息匹配的加速度数据,再次采集到的加速度数据用于使得电子配件重新进入休眠状态。In one embodiment, the control module 710 is further configured to control the vibration module to vibrate again according to the set vibration information after waking up the electronic accessory, so that the acceleration sensor of the electronic accessory can collect the acceleration matching the vibration information again. data, and the acceleration data collected again is used to make the electronic accessory re-enter the sleep state.
在本申请实施例中,可穿戴设备可通过控制振动模块进行振动,从而控制电子配件重新进入休眠状态,可同时实现对电子配件唤醒及休眠的准确控制,无需用户干涉,简化用户操作,且在不需要使用电子配件时控制电子配件进入休眠状态,可减少电子配件的功耗,提高电子配件的续航能力。In the embodiment of the present application, the wearable device can vibrate by controlling the vibration module, so as to control the electronic accessories to re-enter the sleep state, and simultaneously realize accurate control of the wake-up and sleep of the electronic accessories, without user intervention, simplifying user operations, and in When the electronic accessories are not required to be used, the electronic accessories are controlled to enter a sleep state, which can reduce the power consumption of the electronic accessories and improve the battery life of the electronic accessories.
如图8所示,在一个实施例中,提供另一种电子配件的唤醒装置800,该电子配件的唤醒装置800可应用于上述的电子配件。该电子配件的唤醒装置800可包括采集模块810及唤醒模块820。As shown in FIG. 8 , in one embodiment, another wake-up device 800 of an electronic accessory is provided, and the wake-up device 800 of the electronic accessory can be applied to the above-mentioned electronic accessory. The wake-up device 800 of the electronic accessory may include a collection module 810 and a wake-up module 820 .
采集模块810,用于通过加速度传感器采集加速度数据。The acquisition module 810 is configured to acquire acceleration data through an acceleration sensor.
唤醒模块820,用于若加速度数据与设定的振动信息匹配,则唤醒处于休眠状态的电子配件,其中,与该振动信息匹配的加速度数据是由可穿戴设备上的振动模组按照该振动信息进行振动产生的。The wake-up module 820 is used to wake up the electronic accessory in a dormant state if the acceleration data matches the set vibration information, wherein the acceleration data matching the vibration information is determined by the vibration module on the wearable device according to the vibration information. produced by vibration.
在一个实施例中,唤醒模块820,还用于提取加速度数据的加速度变化特征,若加速度变化特征处于与设定的振动信息对应的变化条件内,则确定加速度数据与该振动信息匹配,并唤醒处于休眠状态的电子配件。In one embodiment, the wake-up module 820 is further configured to extract the acceleration change feature of the acceleration data. If the acceleration change feature is within the change condition corresponding to the set vibration information, determine that the acceleration data matches the vibration information, and wake up Electronic accessories that are dormant.
在一个实施例中,上述电子配件的唤醒装置800还包括休眠模块。In one embodiment, the wake-up device 800 of the electronic accessory further includes a sleep module.
休眠模块,用于当检测到加速度传感器再次采集到与振动信息匹配的加速度数据时,控制电子配件重新进入休眠状态。The sleep module is used to control the electronic accessory to re-enter the sleep state when it is detected that the acceleration sensor collects acceleration data matching the vibration information again.
在本申请实施例中,可穿戴设备控制振动模组按照设定的振动信息进行振动,以使电子配件中的加速度传感器能够采集到与该振动信息匹配的加速度数据,从而可唤醒处于休眠状态的电子配件,通过控制可穿戴设备上的振动模组进行振动唤醒电子配件,无需用户手动操作唤醒电子配件,能够简化用户操作,且无需在电子配件中设计按键,降低了电子配件的成本。而且,电子配件仅在加速度传感器采集到与设定的振动信息匹配的加速度数据时,才进行唤醒,可避免误唤醒的情况,提高唤醒电子配件的准确率。In the embodiment of the present application, the wearable device controls the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, so as to wake up the sleep state. Electronic accessories, by controlling the vibration module on the wearable device to vibrate and wake up the electronic accessories, without the need for the user to manually operate the electronic accessories to wake up the electronic accessories, which can simplify the user's operation, and there is no need to design buttons in the electronic accessories, which reduces the cost of the electronic accessories. Moreover, the electronic accessory will wake up only when the acceleration sensor collects acceleration data matching the set vibration information, which can avoid false wake-up and improve the accuracy of waking up the electronic accessory.
图9为一个实施例中可穿戴设备的结构框图。如图9所示,可穿戴设备900可以包括一个或多个如下部件:处理器910、与处理器910耦合的存储器920,以及振动模块930,其中存储器920可存储有一个或多个计算机程序,一个或多个计算机程序可以被配置为由一个或多个处理器910执行时实现如上述各实施例描述的应用于可穿戴设备的电子配件的唤醒方法。FIG. 9 is a structural block diagram of a wearable device in one embodiment. As shown in FIG. 9, the wearable device 900 may include one or more of the following components: a processor 910, a memory 920 coupled to the processor 910, and a vibration module 930, wherein the memory 920 may store one or more computer programs, One or more computer programs may be configured to, when executed by one or more processors 910, implement the wake-up method applied to an electronic accessory of a wearable device as described in the above embodiments.
处理器910可以包括一个或者多个处理核。处理器910利用各种接口和线路连接整个可穿戴设备900内的各个部分,通过运行或执行存储在存储器920内的指令、程序、代码集或指令集,以及调用存储在存储器920内的数据,执行可穿戴设备900的各种功能和处理数据。可选地,处理器910可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器910可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器910中,单独通过一块通信芯片进行实现。 Processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect various parts in the entire wearable device 900, and by running or executing the instructions, programs, code sets or instruction sets stored in the memory 920, and calling the data stored in the memory 920, Various functions of the wearable device 900 are executed and data is processed. Optionally, the processor 910 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). A hardware form is implemented. The processor 910 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 910, and is implemented by a communication chip alone.
存储器920可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。存储器920可用于存储指令、程序、代码、代码集或指令集。存储器920可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等。存储数据区还可以存储可穿戴设备900在使用中所创建的数据等。The memory 920 may include a random access memory (Random Access Memory, RAM), or may include a read-only memory (Read-Only Memory, ROM). Memory 920 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 920 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the foregoing method embodiments, and the like. The storage data area may also store data and the like created by the wearable device 900 in use.
可以理解地,可穿戴设备900可包括比上述结构框图中更多或更少的结构元件,例如,包括电源模块、物理按键、Wi-Fi模块、蓝牙模块、传感器等,在此不进行限定。It can be understood that the wearable device 900 may include more or less structural elements than those in the above structural block diagram, for example, including a power module, physical buttons, Wi-Fi module, Bluetooth module, sensors, etc., which are not limited herein.
图10为一个实施例中电子配件的结构框图。如图10所示,电子配件1000可以包括一个或多个如下部件:处理器1010、与处理器1010耦合的存储器1020,以及加速度传感器1030,其中存储器1020可存储有一个或多个计算机程序,一个或多个计算机程序可以被配置为由一个或多个处理器1010执行时实现如上述各实施例描述的应用于电子配件的电子配件的唤醒方法。FIG. 10 is a structural block diagram of an electronic accessory in one embodiment. As shown in FIG. 10, the electronic accessory 1000 may include one or more of the following components: a processor 1010, a memory 1020 coupled to the processor 1010, and an acceleration sensor 1030, wherein the memory 1020 may store one or more computer programs, a The computer programs or programs may be configured to, when executed by the processor(s) 1010, implement the wake-up method applied to the electronic accessory as described in the various embodiments above.
可选地,处理器1010可包括MCU(Microcontroller Unit,微控制单元)等。该电子配件1000可包括比上述结构框图中更多或更少的结构元件,例如,还可包括电源模块、蓝牙模块等,在此不进行限定。Optionally, the processor 1010 may include an MCU (Microcontroller Unit, microcontroller unit) and the like. The electronic accessory 1000 may include more or less structural elements than those in the above structural block diagram, for example, may also include a power module, a Bluetooth module, etc., which are not limited herein.
本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现如上述各实施例描述的应用于可穿戴设备的电子配件的唤醒方法。The embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the wake-up method applied to an electronic accessory of a wearable device as described in the foregoing embodiments is implemented.
本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可被处理器执行时实现如上述各实施例描述的应用于可穿戴设备的电子配件的唤醒方法。The embodiment of the present application discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the application described in the above embodiments. A wake-up method for an electronic accessory of a wearable device.
本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现如上述各实施例描述的应用于电子配件的电子配件的唤醒方法。The embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the wake-up method for an electronic accessory applied to an electronic accessory as described in the foregoing embodiments is implemented.
本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可被处理器执行时实现如上述各实施例描述的应用于电子配件的电子配件的唤醒方法。The embodiment of the present application discloses a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the application described in the above embodiments. The wake-up method of the electronic accessory of the electronic accessory.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储 介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、ROM等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium , when the program is executed, it may include the flow of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disk, a ROM, and the like.
如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括ROM、可编程ROM(Programmable ROM,PROM)、可擦除PROM(Erasable PROM,EPROM)、电可擦除PROM(Electrically Erasable PROM,EEPROM)或闪存。易失性存储器可包括随机存取存储器(random access memory,RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM可为多种形式,诸如静态RAM(Static RAM,SRAM)、动态RAM(Dynamic Random Access Memory,DRAM)、同步DRAM(synchronous DRAM,SDRAM)、双倍数据率SDRAM(Double Data Rate SDRAM,DDR SDRAM)、增强型SDRAM(Enhanced Synchronous DRAM,ESDRAM)、同步链路DRAM(Synchlink DRAM,SLDRAM)、存储器总线直接RAM(Rambus DRAM,RDRAM)及直接存储器总线动态RAM(Direct Rambus DRAM,DRDRAM)。Any reference to a memory, storage, database or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (Erasable PROM, EPROM), Electrically Erasable PROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static RAM (Static RAM, SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (synchronous DRAM, SDRAM), double data rate SDRAM (Double data rate SDRAM) Data Rate SDRAM, DDR SDRAM), Enhanced SDRAM (Enhanced Synchronous DRAM, ESDRAM), Synchronous Link DRAM (Synchlink DRAM, SLDRAM), Memory Bus Direct RAM (Rambus DRAM, RDRAM) and Direct Memory Bus Dynamic RAM (Direct Rambus DRAM) , DRDRAM).
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It is to be understood that reference throughout the specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the specific features, structures or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
在本申请的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In the various embodiments of the present application, it should be understood that the size of the sequence numbers of the above-mentioned processes does not imply an inevitable sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be implemented in the present application. The implementation of the examples constitutes no limitation.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物单元,即可位于一个地方,或者也可以分布到多个网络单元上。可根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components displayed as units may or may not be object units, and may be located in one place or distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
以上对本申请实施例公开的一种电子配件的唤醒方法、装置、可穿戴设备及电子配件、存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The wake-up method, device, wearable device, electronic accessory, and storage medium of an electronic accessory disclosed in the embodiments of the present application have been described in detail above. The principles and implementations of the present application are described in this paper by using specific examples. The description of the embodiment is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific embodiments and application scope. To sum up, the content of this specification should not be construed as a limitation to the present application.

Claims (22)

  1. 一种电子配件的唤醒方法,应用于可穿戴设备,其特征在于,所述电子配件用于安装在所述可穿戴设备上,所述可穿戴设备包括振动模组,所述电子配件包括加速度传感器,所述方法包括:A wake-up method for an electronic accessory, which is applied to a wearable device, wherein the electronic accessory is used to be installed on the wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration sensor , the method includes:
    控制所述振动模组按照设定的振动信息进行振动,以使所述电子配件中的所述加速度传感器能够采集到与所述振动信息匹配的加速度数据,所述加速度数据用于唤醒处于休眠状态的所述电子配件。Controlling the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the dormant state of the electronic accessories.
  2. 根据权利要求1所述的方法,其特征在于,在所述控制所述振动模组按照设定的振动信息进行振动之前,所述方法还包括:The method according to claim 1, wherein before the control of the vibration module to vibrate according to the set vibration information, the method further comprises:
    获取针对所述电子配件的触发请求;obtain a trigger request for the electronic accessory;
    所述控制所述振动模组按照设定的振动信息进行振动,包括:The described vibration module is controlled to vibrate according to the set vibration information, including:
    根据所述触发请求控制所述振动模组按照设定的振动信息进行振动。According to the trigger request, the vibration module is controlled to vibrate according to the set vibration information.
  3. 根据权利要求2所述的方法,其特征在于,所述获取针对所述电子配件的触发请求,包括以下中的任一种:The method according to claim 2, wherein the acquiring a trigger request for the electronic accessory includes any one of the following:
    在启动与所述电子配件对应的应用程序时,获取针对所述电子配件的触发请求;When starting the application program corresponding to the electronic accessory, obtain a trigger request for the electronic accessory;
    在接收到针对所述电子配件的功能调用指令时,根据所述功能调用指令获取针对所述电子配件的触发请求;When receiving a function invocation instruction for the electronic accessory, obtain a trigger request for the electronic accessory according to the function invocation instruction;
    在检测到所述可穿戴设备从未佩戴状态切换为佩戴状态时,获取针对所述电子配件的触发请求。When it is detected that the wearable device is switched from an unworn state to a worn state, a trigger request for the electronic accessory is acquired.
  4. 根据权利要求3所述的方法,其特征在于,所述与所述电子配件对应的应用程序包括使用所述电子配件的功能的应用程序,和/或,具备使用所述电子配件的使用权限的应用程序。The method according to claim 3, wherein the application program corresponding to the electronic accessory includes an application program that uses the function of the electronic accessory, and/or an application program that has the usage authority to use the electronic accessory application.
  5. 根据权利要求2所述的方法,其特征在于,所述可穿戴设备上安装有至少两个用于执行不同功能的电子配件,所述触发请求包括被触发的目标电子配件的配件标识;The method according to claim 2, wherein at least two electronic accessories for performing different functions are installed on the wearable device, and the trigger request includes an accessory identifier of the triggered target electronic accessory;
    所述根据所述触发请求控制所述振动模组按照设定的振动信息进行振动,包括:The control of the vibration module to vibrate according to the set vibration information according to the trigger request includes:
    根据所述配件标识获取与所述目标电子配件对应的振动信息;Acquiring vibration information corresponding to the target electronic accessory according to the accessory identifier;
    控制所述振动模组按照所述对应的振动信息进行振动,以使所述目标电子配件的加速度传感器能够采集到与所述对应的振动信息匹配的加速度数据,以唤醒所述目标电子配件。The vibration module is controlled to vibrate according to the corresponding vibration information, so that the acceleration sensor of the target electronic accessory can collect acceleration data matching the corresponding vibration information, so as to wake up the target electronic accessory.
  6. 根据权利要求1所述的方法,其特征在于,所述与所述振动信息匹配的加速度数据,包括:The method according to claim 1, wherein the acceleration data matched with the vibration information comprises:
    加速度变化特征处于与所述振动信息对应的变化条件内的加速度数据。The acceleration variation characteristic is acceleration data within variation conditions corresponding to the vibration information.
  7. 根据权利要求6所述的方法,其特征在于,所述振动信息包括所述振动模组持续进行振动的振动数量;所述变化条件包括检测到加速度持续发生变化的变化次数。The method according to claim 6, wherein the vibration information includes the number of vibrations that the vibration module continuously vibrates; and the change condition includes the number of changes in which the acceleration continuously changes is detected.
  8. 根据权利要求1-7任一所述的方法,其特征在于,所述振动信息包括振动频率、振动幅度及振动持续时长中的至少一种。The method according to any one of claims 1-7, wherein the vibration information includes at least one of vibration frequency, vibration amplitude, and vibration duration.
  9. 根据权利要求1-7任一所述的方法,其特征在于,在所述电子配件处于休眠状态时,所述加速度传感器处于工作状态,除所述加速度传感器以外的其它电路及其它电子器件处于断电状态。The method according to any one of claims 1-7, characterized in that, when the electronic accessory is in a dormant state, the acceleration sensor is in a working state, and other circuits and other electronic devices other than the acceleration sensor are in an off state. power status.
  10. 根据权利要求1-7任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:
    在唤醒所述电子配件后,再次控制所述振动模组按照设定的振动信息进行振动,以使所述电子配件的所述加速度传感器能够再次采集到与所述振动信息匹配的加速度数据,再次采集到的加速度数据用于使得所述电子配件重新进入休眠状态。After waking up the electronic accessory, control the vibration module to vibrate again according to the set vibration information, so that the acceleration sensor of the electronic accessory can collect the acceleration data matching the vibration information again, and again The collected acceleration data is used to re-enter the sleep state of the electronic accessory.
  11. 一种电子配件的唤醒方法,应用于所述电子配件,其特征在于,所述电子配件用 于安装在可穿戴设备上,所述可穿戴设备包括振动模组,所述电子配件包括加速度传感器,所述方法包括:A wake-up method for an electronic accessory, which is applied to the electronic accessory, wherein the electronic accessory is used to be installed on a wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration sensor, The method includes:
    通过所述加速度传感器采集加速度数据;Acceleration data is collected by the acceleration sensor;
    若所述加速度数据与设定的振动信息匹配,则唤醒处于休眠状态的所述电子配件,其中,与所述振动信息匹配的加速度数据是由所述可穿戴设备上的振动模组按照所述振动信息进行振动产生的。If the acceleration data matches the set vibration information, wake up the electronic accessory in a dormant state, wherein the acceleration data matching the vibration information is determined by the vibration module on the wearable device according to the Vibration information is generated by vibration.
  12. 根据权利要求11所述的方法,其特征在于,所述若所述加速度数据与设定的振动信息匹配,则唤醒处于休眠状态的所述电子配件,包括:The method according to claim 11, wherein if the acceleration data matches the set vibration information, waking up the electronic accessory in a dormant state comprises:
    提取所述加速度数据的加速度变化特征;extracting acceleration variation characteristics of the acceleration data;
    若所述加速度变化特征处于与设定的振动信息对应的变化条件内,则确定所述加速度数据与所述振动信息匹配,并唤醒处于休眠状态的所述电子配件。If the acceleration variation feature is within a variation condition corresponding to the set vibration information, it is determined that the acceleration data matches the vibration information, and the electronic accessory in a dormant state is woken up.
  13. 根据权利要求12所述的方法,其特征在于,所述振动信息包括振动频率、振动幅度及振动持续时长中的至少一种,所述振动频率对应的变化条件包括加速度变化频率范围;所述振动幅度对应的变化条件包括加速度变化幅度范围,所述振动持续时长对应的变化条件包括加速度变化的持续时长范围。The method according to claim 12, wherein the vibration information includes at least one of a vibration frequency, a vibration amplitude, and a vibration duration, and a change condition corresponding to the vibration frequency includes an acceleration change frequency range; the vibration The variation condition corresponding to the amplitude includes an acceleration variation amplitude range, and the variation condition corresponding to the vibration duration includes a duration range of the acceleration variation.
  14. 根据权利要求13所述的方法,其特征在于,所述加速度变化频率范围为振动频率与频率误差的和;所述加速度变化幅度范围为振动幅度与幅度误差的和;所述加速度变化的持续时长范围为振动持续时长与时长误差的和。The method according to claim 13, wherein the acceleration change frequency range is the sum of the vibration frequency and the frequency error; the acceleration change amplitude range is the sum of the vibration amplitude and the amplitude error; the duration of the acceleration change The range is the sum of the vibration duration and the duration error.
  15. 根据权利要求12所述的方法,其特征在于,所述振动信息包括所述振动模组持续进行振动的振动数量,所述变化条件包括检测到加速度持续发生变化的变化次数。The method according to claim 12, wherein the vibration information includes the number of vibrations that the vibration module continuously vibrates, and the change condition includes the number of changes in which the acceleration continuously changes is detected.
  16. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, wherein the method further comprises:
    当检测到所述加速度传感器再次采集到与所述振动信息匹配的加速度数据时,控制所述电子配件重新进入休眠状态。When it is detected that the acceleration sensor collects acceleration data matching the vibration information again, the electronic accessory is controlled to enter the sleep state again.
  17. 根据权利要求11-16任一所述的方法,其特征在于,所述电子配件包括体征数据采集配件、麦克风配件、扬声器配件中的任一种。The method according to any one of claims 11-16, wherein the electronic accessory includes any one of a vital data collection accessory, a microphone accessory, and a speaker accessory.
  18. 一种电子配件的唤醒装置,应用于可穿戴设备,其特征在于,所述电子配件用于安装在所述可穿戴设备上,所述可穿戴设备包括振动模组,所述电子配件包括加速度传感器,所述装置包括:A wake-up device for an electronic accessory, applied to a wearable device, characterized in that the electronic accessory is used to be installed on the wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration sensor , the device includes:
    控制模块,用于控制所述振动模组按照设定的振动信息进行振动,以使所述电子配件中的所述加速度传感器能够采集到与所述振动信息匹配的加速度数据,所述加速度数据用于唤醒处于休眠状态的所述电子配件。A control module is used to control the vibration module to vibrate according to the set vibration information, so that the acceleration sensor in the electronic accessory can collect acceleration data matching the vibration information, and the acceleration data is used to wake up the electronic accessory in a dormant state.
  19. 一种电子配件的唤醒装置,应用于所述电子配件,其特征在于,所述电子配件用于安装在可穿戴设备上,所述可穿戴设备包括振动模组,所述电子配件包括加速度传感器,所述装置包括:A wake-up device for an electronic accessory, which is applied to the electronic accessory, wherein the electronic accessory is used to be installed on a wearable device, the wearable device includes a vibration module, and the electronic accessory includes an acceleration sensor, The device includes:
    采集模块,用于通过所述加速度传感器采集加速度数据;an acquisition module for acquiring acceleration data through the acceleration sensor;
    唤醒模块,用于若所述加速度数据与设定的振动信息匹配,则唤醒处于休眠状态的所述电子配件,其中,与所述振动信息匹配的加速度数据是由所述可穿戴设备上的振动模组按照所述振动信息进行振动产生的。A wake-up module, configured to wake up the electronic accessory in a dormant state if the acceleration data matches the set vibration information, wherein the acceleration data matching the vibration information is determined by the vibration on the wearable device The module vibrates according to the vibration information.
  20. 一种可穿戴设备,其特征在于,包括振动模组、存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如权利要求1至10任一所述的方法。A wearable device, characterized in that it includes a vibration module, a memory, and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor realizes the performance as claimed in the claims The method of any one of 1 to 10.
  21. 一种电子配件,其特征在于,包括加速度传感器、存储器及处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器实现如权利 要求11至17任一所述的方法。An electronic accessory, characterized in that it comprises an acceleration sensor, a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor can realize the steps according to claims 11 to 11. The method of any one of 17.
  22. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1~10或11~17任一所述的方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1-10 or 11-17 is implemented.
PCT/CN2022/082569 2021-04-15 2022-03-23 Wakeup method and apparatus for electronic accessories, wearable device, and electronic accessories WO2022218118A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110407671.XA CN115211820A (en) 2021-04-15 2021-04-15 Awakening method and device of electronic accessory, wearable device and electronic accessory
CN202110407671.X 2021-04-15

Publications (1)

Publication Number Publication Date
WO2022218118A1 true WO2022218118A1 (en) 2022-10-20

Family

ID=83604427

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/082569 WO2022218118A1 (en) 2021-04-15 2022-03-23 Wakeup method and apparatus for electronic accessories, wearable device, and electronic accessories

Country Status (2)

Country Link
CN (1) CN115211820A (en)
WO (1) WO2022218118A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116709477A (en) * 2022-11-22 2023-09-05 荣耀终端有限公司 Dormancy awakening method, electronic equipment, bluetooth peripheral and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110156861A1 (en) * 2009-12-31 2011-06-30 Motorola, Inc. Electronic Device Including a Wireless Actuator and a Method Thereof
CN102999326A (en) * 2011-09-07 2013-03-27 宏达国际电子股份有限公司 Systems and methods for utilizing acceleration event signatures
CN203801880U (en) * 2014-03-04 2014-09-03 深圳市臻络科技有限公司 Intelligent hand ring
CN105120064A (en) * 2015-07-14 2015-12-02 上海海漾软件技术有限公司 Method and device of using wearable device to carry out classification reminding on communication information
US20160011663A1 (en) * 2012-01-06 2016-01-14 Google Inc. Motion-Sensed Mechanical Interface Features
CN105871664A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Control method and device of wearable device
US20180132287A1 (en) * 2016-11-04 2018-05-10 Htc Corporation Method, electronic apparatus and recording medium for establishing wireless connection through vibration
US20180167098A1 (en) * 2016-12-14 2018-06-14 Otter Products, Llc Detecting presence of protective case
CN110083248A (en) * 2019-04-29 2019-08-02 努比亚技术有限公司 Method for message interaction, wearable device and computer readable storage medium
CN111551197A (en) * 2020-05-15 2020-08-18 歌尔智能科技有限公司 State detection method, state detection device and wearable equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110156861A1 (en) * 2009-12-31 2011-06-30 Motorola, Inc. Electronic Device Including a Wireless Actuator and a Method Thereof
CN102999326A (en) * 2011-09-07 2013-03-27 宏达国际电子股份有限公司 Systems and methods for utilizing acceleration event signatures
US20160011663A1 (en) * 2012-01-06 2016-01-14 Google Inc. Motion-Sensed Mechanical Interface Features
CN203801880U (en) * 2014-03-04 2014-09-03 深圳市臻络科技有限公司 Intelligent hand ring
CN105120064A (en) * 2015-07-14 2015-12-02 上海海漾软件技术有限公司 Method and device of using wearable device to carry out classification reminding on communication information
CN105871664A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Control method and device of wearable device
US20180132287A1 (en) * 2016-11-04 2018-05-10 Htc Corporation Method, electronic apparatus and recording medium for establishing wireless connection through vibration
US20180167098A1 (en) * 2016-12-14 2018-06-14 Otter Products, Llc Detecting presence of protective case
CN110083248A (en) * 2019-04-29 2019-08-02 努比亚技术有限公司 Method for message interaction, wearable device and computer readable storage medium
CN111551197A (en) * 2020-05-15 2020-08-18 歌尔智能科技有限公司 State detection method, state detection device and wearable equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116709477A (en) * 2022-11-22 2023-09-05 荣耀终端有限公司 Dormancy awakening method, electronic equipment, bluetooth peripheral and storage medium

Also Published As

Publication number Publication date
CN115211820A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
US11244672B2 (en) Speech recognition method and apparatus, and storage medium
JP7337968B2 (en) IMAGE PROCESSING METHOD AND ELECTRONIC DEVICE BASED ON VERTICAL SYNCHRONIZATION SIGNAL
WO2018149285A1 (en) Voice wake-up method and apparatus, electronic device, and storage medium
EP3067780A1 (en) Method for controlling terminal device, and wearable electronic device
CN111819533B (en) Method for triggering electronic equipment to execute function and electronic equipment
CN103312902A (en) Method and device for starting application automatically
CN103929835A (en) Control method, device and system for alarm clock rings
WO2018223395A1 (en) Management method and apparatus for wearable smart device
CN105786187B (en) Alarm clock time reminding method and device of wearable equipment
WO2018099114A1 (en) Sleep aiding method and terminal
WO2016165308A1 (en) System adjustment method and apparatus based on user state
CN110784915B (en) Power consumption control method of electronic equipment and electronic equipment
CN106878390A (en) Electronic pet interaction control method, device and wearable device
CN108108090B (en) Communication message reminding method and device
WO2022218118A1 (en) Wakeup method and apparatus for electronic accessories, wearable device, and electronic accessories
CN111524513A (en) Wearable device and voice transmission control method, device and medium thereof
CN108540665A (en) Based on flexible terminal and its massage method, computer readable storage medium
CN108681413B (en) Control method of display module and mobile terminal
CN110012148A (en) A kind of bracelet control method, bracelet and computer readable storage medium
CN106936992A (en) Quarter-bell control method, device, Intelligent worn device, intelligent audio playback equipment and system
CN113495609A (en) Sleep state judgment method and system, wearable device and storage medium
CN102868805A (en) Mobile terminal with automatic clock sound control system and clock sound control method
US10799169B2 (en) Apparatus, system and method for detecting onset Autism Spectrum Disorder via a portable device
WO2021218560A1 (en) Massage mode starting method for wearable massaging apparatus, wearable massaging apparatus, and terminal device
WO2019104779A1 (en) Pressure measurement method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22787347

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22787347

Country of ref document: EP

Kind code of ref document: A1