CN111309161A - Wearable device wearing state detection method and device and wearable device - Google Patents

Wearable device wearing state detection method and device and wearable device Download PDF

Info

Publication number
CN111309161A
CN111309161A CN202010067029.7A CN202010067029A CN111309161A CN 111309161 A CN111309161 A CN 111309161A CN 202010067029 A CN202010067029 A CN 202010067029A CN 111309161 A CN111309161 A CN 111309161A
Authority
CN
China
Prior art keywords
state
wearing
wearable device
glasses
wearing state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010067029.7A
Other languages
Chinese (zh)
Inventor
王宇峰
余珞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010067029.7A priority Critical patent/CN111309161A/en
Publication of CN111309161A publication Critical patent/CN111309161A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Landscapes

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

Abstract

The application is applicable to the technical field of equipment control, and provides a wearable equipment wearing state detection method and device, wearable equipment and a storage medium. The method comprises the following steps: detecting a state of a wearing component of a wearable device, the wearing component to wear the wearable device on a user; determining whether the wearable device is in a wearing state according to the state of the wearing component. The wearable device is characterized in that the wearable device has a wearing action when a user wears the wearable device, and the wearing action has an obvious performance that the wearing component of the wearable device is changed in state, for example, the temple of the glasses is changed from a folded state to an unfolded state. Based on the characteristic, the wearing state of the wearable device is detected, and whether the wearable device is in the wearing state is judged according to the wearing state of the wearable device, so that the real wearing intention of the user can be accurately reflected, and the wearing state detection accuracy is improved.

Description

Wearable device wearing state detection method and device and wearable device
Technical Field
The application belongs to the technical field of equipment control, and particularly relates to a wearable equipment wearing state detection method and device, a wearable equipment and a storage medium.
Background
Wearable equipment refers to the electronic product of wearing on user's body, for example intelligent wrist-watch, intelligent glasses, intelligent bracelet etc..
At present, when detecting the wearing state of wearable equipment, mainly adopt following two kinds of modes: (1) a physical switch is adopted, and the wearing state is manually determined by a user; (2) whether the wearable equipment is close to or in contact with a human body is detected through devices such as a proximity sensor, an infrared probe and a pressure-sensitive capacitor, so that the wearing state is determined.
The first mode requires a user to manually toggle the physical switch, and the operation is complex. The second method mainly triggers the feedback state by the contact or approach of the wearing part of the device with the human body, however, the contact or approach of the device with the human body does not necessarily indicate that the user actually wears the device, so the detection accuracy is low.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for detecting a wearing state of a wearable device, and a storage medium, which can improve accuracy of detecting a wearing state of a wearable device and are simple and convenient to operate.
In a first aspect, an embodiment of the present application provides a method for detecting a wearing state of a wearable device, including:
detecting a state of a wearing component of a wearable device, the wearing component to wear the wearable device on a user;
determining whether the wearable device is in a wearing state according to the state of the wearing component.
The wearable device is characterized in that the wearable device has a wearing action when a user wears the wearable device, and the wearing action has an obvious performance that the wearing component of the wearable device is changed in state, for example, the temple of the glasses is changed from a folded state to an unfolded state. Based on the characteristic, the wearing state of the wearable device is detected, and whether the wearable device is in the wearing state is judged according to the wearing state of the wearable device, so that the real wearing intention of the user can be accurately reflected, and the wearing state detection accuracy is improved. In addition, the mode does not need a user to execute any additional operation, and has good operation simplicity.
Further, the determining whether the wearable device is in the wearing state according to the state of the wearing component may include:
if the state of the wearing part is a first state, the wearable equipment is judged to be in a wearing state, otherwise, the wearable equipment is judged to be in a non-wearing state;
wherein the first state is a state in which the wearing part is in when the wearable device is worn.
Detection of wearing state and event triggering are completed by means of the intention based on the use of the product and the inevitable result caused by the action generated by the intention, for example, the glasses legs of the glasses product are opened to indicate that the glasses are about to be used and are necessary conditions, and the glasses are closed/folded to indicate that the glasses are used; the opening of the watchband buckle of the watch product indicates that the watch is used, and the closing indicates that the watch is about to be used.
Further, if the state of the wearing component is the first state, before determining that the wearable device is in the wearing state, the method may further include:
detecting an acceleration of the wearable device;
if the variation amplitude of the acceleration within the preset time is larger than or equal to a first threshold, executing a step of judging that the wearable equipment is in a wearing state;
and if the change amplitude of the acceleration in the preset time is smaller than the first threshold, determining that the wearable equipment is in a non-wearing state.
The state of the wearing part is the first state, which is a necessary condition for the user to wear the wearable device, but in some cases, the user cannot be guaranteed to wear the wearable device. For example, when the user puts the temple of the glasses on the table while spreading it, the temple is detected to be in the spread state (i.e., the state where the user wears the component is the first state). If this occurs, the wearing state is erroneously determined. In order to solve the problem of misjudgment of the wearing state under the condition and further improve the accuracy of state detection, an acceleration sensor can be used for detecting the acceleration of the wearable device, and whether the wearable device is in the wearing state is further determined through the detected acceleration.
Further, if the variation amplitude of the acceleration within the preset time is greater than or equal to the first threshold, before the step of determining that the wearable device is in the wearing state is performed, the method may further include:
shooting a first image through a camera of the wearable device;
shooting a second image through the camera after a preset time length;
if the similarity of the first image and the second image is smaller than or equal to a second threshold value, executing a step of judging that the wearable equipment is in a wearing state;
and if the similarity of the first image and the second image is greater than the second threshold value, determining that the wearable device is in a non-wearing state.
Since the user generally does not stay in a completely still state when wearing the wearable device, the similarity between two or more images captured at different times should be small; if the wearable device is placed in a certain place and is in a static state, the similarity of two or more images obtained by shooting at different times should be greater (note that the shooting angle of the camera is not adjusted at all during shooting, and the shooting interval time is shorter).
Further, if the state of the wearing component is the first state, before determining that the wearable device is in the wearing state, the method may further include:
acquiring a historical wearing record of the wearable device;
determining a wearing time period of the wearable device according to the historical wearing record;
and if the current time is within the wearing time period, executing the step of judging that the wearable equipment is in a wearing state.
After the state of the wearing part of the wearable device is detected to be in the state when the wearing action is realized, the wearable device is not immediately judged to be in the wearing state, but the historical wearing record of the wearable device is obtained, the conventional wearing time period of the wearable device is counted, and then the wearing state of the wearable device is further confirmed according to whether the current time is in the wearing time period, so that the accuracy of the wearing state detection is improved.
Still further, after determining the wearing time period of the wearable device according to the historical wearing record, the method may further include:
if the current time period is out of the wearing time period, further detecting the surface temperature of a target part of the wearable equipment, wherein the target part is a part which is in contact with a human body when the wearable equipment is in a wearing state;
if the surface temperature of the target part is within a preset temperature range, executing a step of judging that the wearable equipment is in a wearing state;
and if the surface temperature of the target part is out of the temperature range, determining that the wearable equipment is in a non-wearing state.
Even if the current time is outside the wearing period, the user has a certain possibility to wear the wearable device. At this time, the glasses can be further confirmed by means of temperature detection, for example, for the glasses device, a temperature sensor may be used to detect the temperature of the contact portion of the nose bridge or the contact portion of the temple and the ear, and if the detected temperature is within a preset temperature range, it indicates that the user is currently wearing the glasses, that is, it may be determined that the glasses are in a wearing state.
In a possible implementation manner of the first aspect, the wearable device is glasses, and the detecting a state of a wearing component of the wearable device may include:
detecting states of the glasses legs of the glasses, wherein the glasses comprise a glasses frame main body and the glasses legs, and the glasses frame main body is connected with the glasses legs;
accordingly, the determining whether the wearable device is in the wearing state according to the state of the wearing component may include:
if the glasses legs of the glasses are detected to be in the unfolding state, determining that the glasses are in the wearing state;
and if the fact that the side arms of the glasses are in the folded state is detected, determining that the glasses are in the non-wearing state.
By detecting the state of the glasses legs of the glasses to be the unfolding state or the folding state, the real wearing intention of the user can be reflected relatively accurately, and whether the glasses are in the wearing state or not can be determined.
Further, the determining whether the wearable device is in a wearing state according to the state of the wearing component may further include:
and if the fact that the temple of the glasses is converted from the folded state to the unfolded state is detected, determining that the glasses are converted from the non-wearing state to the wearing state.
When the fact that the temple of the glasses is converted from the folded state to the unfolded state is detected, it is indicated that a user is ready to wear the glasses, it can be determined that the glasses are converted from the non-worn state to the worn state, at this time, some events or functions can be triggered in advance, for example, the system is powered on, communication with other systems is started, whether the glasses are worn or not is further determined (for example, through a temperature detection mode and an acceleration detection mode), communication of the contact pin is started, various functional modules are started, and the like.
In a possible implementation manner of the first aspect, the wearable device is a watch, and the detecting a state of a wearing component of the wearable device may include:
detecting the state of a watchband of the watch, wherein the watch comprises a watch body and the watchband, and the watch body is connected with the watchband;
accordingly, the determining whether the wearable device is in the wearing state according to the state of the wearing component may include:
if the watchband of the watch is detected to be in the closed state, determining that the watch is in the wearing state;
and if the watchband of the watch is detected to be in a disconnected state, determining that the watch is in a non-wearing state.
The real wearing intention of the user can be accurately reflected by detecting whether the state of the watchband of the watch is a closed state or an open state, so that whether the watch is in a wearing state or not is determined.
Further, the determining whether the wearable device is in a wearing state according to the state of the wearing component may further include:
and if the fact that the watchband of the watch is converted from the open state to the closed state is detected, determining that the watch is converted from the non-wearing state to the wearing state.
The watch is detected to be switched from the open state to the closed state, the fact that the watch is worn by a user is indicated, the fact that the watch is switched from the non-worn state to the worn state can be determined, at the moment, some events or functions can be triggered in advance, for example, the system is powered on, communication with other systems is started, whether the watch is worn or not is further determined (for example, through a temperature detection mode and an acceleration detection mode), communication of a contact pin is started, various functional modules are started, and the like.
Further, after determining whether the wearable device is in a wearing state according to the state of the wearing component, the method may further include:
and if the wearable equipment is determined to be in a non-wearing state, controlling the wearable equipment to start a low power consumption mode.
If the wearable device is in the wearing state, the wearable device indicates that the user needs to use the device currently, a system power supply and communication function module of the device can be started, and other various commonly used function modules can be started, such as step counting, display screen lighting and the like. If the wearable device is judged to be in the non-wearing state, the fact that the user does not use the device currently is indicated, at the moment, a system power supply and a communication function module of the device and other various commonly used function modules can be turned off, or the wearable device is controlled to start a low power consumption mode, so that the electric energy of the device can be saved.
In a second aspect, an embodiment of the present application provides a wearable state detection apparatus for a wearable device, including:
a component status detection module for detecting a status of a wearing component of a wearable device, the wearing component being for wearing the wearable device on a user;
and the wearing state determining module is used for determining whether the wearable equipment is in a wearing state according to the state of the wearing component.
In a third aspect, an embodiment of the present application provides a wearable device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the method for detecting a wearing state of the wearable device as set forth in the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for detecting a wearing state of a wearable device as set forth in the first aspect of the present application is implemented.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the method for detecting a wearing state of a wearable device according to any one of the above first aspects.
Compared with the prior art, the embodiment of the application has the advantages that: the wearable equipment detection method has the advantages that the accuracy of the wearable equipment wearing state detection can be improved, the operation is simple and convenient, and the wearable equipment wearing state detection method is high in usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of a wearable device to which a wearing state detection method of the wearable device provided in the embodiment of the present application is applied;
fig. 2 is a flowchart of a wearing state detection method of a wearable device provided in an embodiment of the present application;
fig. 3 is a flowchart of another wearable device wearing state detection method provided in an embodiment of the present application;
fig. 4 is a flowchart of another wearable device wearing state detection method provided in the embodiment of the present application;
fig. 5 is a flowchart of another wearable device wearing state detection method provided in the embodiment of the present application;
fig. 6 is a flowchart of a method for detecting wearing states of eyeglasses according to an embodiment of the present disclosure;
fig. 7 is a flowchart of a method for detecting a wearing state of a watch according to an embodiment of the present application;
fig. 8 is a schematic diagram of a practical application scenario for detecting the wearing state of glasses according to an embodiment of the present application;
fig. 9 is a schematic diagram of a practical application scenario for detecting a wearing state of a watch according to an embodiment of the present application;
fig. 10 is a structural diagram of a wearing state detection apparatus of a wearable device according to an embodiment of the present application;
fig. 11 is a schematic diagram of a wearable device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular device structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of this application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the embodiments of the present application, "one or more" means one, two, or more than two; "and/or" describes the association relationship of the associated objects, indicating that three relationships may exist; for example, a and/or B, may represent: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The wearing state detection method of the wearable device provided by the embodiment of the application can be applied to a mobile phone, a tablet personal computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, a super-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA) and other terminal devices or servers, and the embodiment of the application does not limit the specific types of the terminal devices and the servers.
For example, the terminal device may be a Station (ST) in a WLAN, which may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication capability, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle-mounted networking terminal, a computer, a laptop, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a television set-top box (STB), a Customer Premises Equipment (CPE), and/or other devices for communicating on a wireless device and a next generation communication device, such as a Mobile terminal in a 5G Network or a Public Land Mobile Network (future evolved, PLMN) mobile terminals in the network, etc.
By way of example and not limitation, when the terminal device is a wearable device, the wearable device may also be a generic term for intelligently designing daily wearing by applying wearable technology, developing wearable devices, such as glasses, gloves, watches, clothing, shoes, and the like. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable intelligent device has the advantages that the generalized wearable intelligent device is complete in function and large in size, can realize complete or partial functions without depending on a smart phone, such as a smart watch or smart glasses, and only is concentrated on a certain application function, and needs to be matched with other devices such as the smart phone for use, such as various smart bracelets for monitoring physical signs, smart jewelry and the like.
Taking a wearable device as an example, fig. 1 is a block diagram illustrating a partial structure of the wearable device provided in the embodiments of the present application. Referring to fig. 1, the wearable device includes: a Radio Frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180, and a power supply 190. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
The following describes each component of the wearable device in detail with reference to fig. 1:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 180; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the wearable device by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating device, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phone book, etc.) created according to the use of the wearable device, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device 100. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131. In particular, other input devices 132 may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), a trackball, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various menus of the wearable device. The display unit 140 may include a display panel 141, and optionally, the display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in fig. 1, the touch panel 131 and the display panel 141 are two separate components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the wearable device.
The wearable device 100 may also include at least one sensor 150, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the wearable device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing wearable device attitude, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be further configured on the wearable device, detailed description is omitted here.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the wearable device. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signals into electrical signals, which are received by the audio circuit 160 and converted into audio data, which are then processed by the audio data output processor 180 and then transmitted to, for example, another wearable device via the RF circuit 110, or output to the memory 120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the wearable device 100, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the wearable device, connects various parts of the entire wearable device by using various interfaces and lines, and performs various functions of the wearable device and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling up data stored in the memory 120, thereby performing overall monitoring of the wearable device. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating devices, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The wearable device 100 further comprises a power source 190 (such as a battery) for supplying power to various components, and preferably, the power source can be logically connected to the processor 180 through a power management device, so as to realize functions of managing charging, discharging, and power consumption through the power management device.
Although not shown, the wearable device 100 may also include a camera. Optionally, the position of the camera on the wearable device 100 may be front-facing or rear-facing, which is not limited in this embodiment of the application.
In addition, although not shown, the wearable device 100 may further include a bluetooth module or the like, which is not described herein.
It should be understood that an execution subject of the wearable device wearing state detection method provided in the embodiment of the present application may be the wearable device itself, or may also be a terminal device or a server that interacts with the wearable device, such as a mobile phone and a tablet computer.
Fig. 2 shows a flowchart of a wearing state detection method of a wearable device provided by the present application, including:
201. detecting a state of a wearing component of a wearable device, the wearing component to wear the wearable device on a user;
first, a state of a wearing part of a wearable device for wearing the wearable device on a user is detected. For example, in the case of glasses, if the wearing member is a temple, the state (unfolding or folding) of the temple is detected; for a wristwatch, if the wearing member is a wristband, the state (closed or open) of the wristband is detected; for the head display, the wearing part is a buckle, and the state (closed or open) of the buckle is detected. Specifically, when the state of the wearing part is detected, a physical contact or various sensors can be arranged at the connection position of the wearing part for sensing.
202. Determining whether the wearable device is in a wearing state according to the state of the wearing component.
After detecting a state of a wearing component of a wearable device, it may be determined whether the wearable device is in a wearing state according to the state. For example, for the glasses, if the state of the temple is unfolded, the glasses are considered to be in the wearing state, and if the state of the temple is folded, the glasses are considered to be in the non-wearing state; for a wristwatch, if the state of the band is closed, the wristwatch is considered to be in a worn state, and if the state of the band is open, the wristwatch is considered to be in a non-worn state. According to the embodiment of the application, the event is not triggered by sensing a physical key/touch switch or a contact part of a user, but the product is opened and closed by necessary actions generated when the wearable device is worn (the actions change the state of a wearing part), and the wearing detection and the triggering of the event are completed by matching with a device.
Further, after determining whether the wearable device is in a wearing state according to the state of the wearing component, the method may further include:
(1) if the wearable equipment is in a wearing state, starting a system power supply and a communication function module of the wearable equipment;
(2) if the wearable device is in a non-wearing state, a system power supply and a communication function module of the wearable device are turned off, or the wearable device is controlled to start a low power consumption mode.
If the wearable device is in the wearing state, the wearable device indicates that the user needs to use the device currently, so that a system power supply and a communication function module of the device and other various commonly used function modules can be started, such as step counting, display screen lighting and the like. If the wearable device is judged to be in the non-wearing state, the fact that the user does not use the device currently is indicated, at the moment, a system power supply and a communication function module of the device and other various commonly used function modules can be turned off, or the wearable device is controlled to start a low power consumption mode, so that the electric energy of the device can be saved.
The wearable device is characterized in that the wearable device has a wearing action when a user wears the wearable device, and the wearing action has an obvious performance that the wearing component of the wearable device is changed in state, for example, the temple of the glasses is changed from a folded state to an unfolded state. Based on the characteristic, the wearing state of the wearable device is detected, and whether the wearable device is in the wearing state is judged according to the wearing state of the wearable device, so that the real wearing intention of the user can be accurately reflected, and the wearing state detection accuracy is improved. In addition, the mode does not need a user to execute any additional operation, and has good operation simplicity.
Fig. 3 shows a flowchart of another wearable device wearing state detection method provided by the present application, including:
301. detecting a state of a wearing component of a wearable device, the wearing component to wear the wearable device on a user;
step 301 is the same as step 201, and specific reference may be made to the description related to step 201.
302. Judging whether the state of the wearing part is a first state or not;
after detecting the state of a wearing part of the wearable device, judging whether the state of the wearing part is a first state. Wherein the first state is a state in which the wearing part is in when the wearable device is worn. For example, for eyeglasses, if the wearing part is a temple, the first state is the extended state; in the case of a wristwatch, the wearing member is a band, and the first state is a closed state. If the state of the wearing part is the first state, step 303 is executed, otherwise step 304 is executed.
303. Determining that the wearable device is in a worn state;
the state of the wearing part is a first state, which is a necessary condition for a user to wear the wearable device, and although the user cannot be guaranteed to wear the wearable device, the user can still be considered to wear the wearable device more accurately, and the wearable device is judged to be in a wearing state.
304. Determining that the wearable device is in a non-worn state.
The state of the wearing component is not the first state, which indicates that the user is sure not to wear the wearable device (because if the user wears the wearable device, the state of the wearing component is necessarily the first state), and it can be explicitly determined that the wearable device is in the non-wearing state.
The wearable device is characterized in that a user has wearing actions when wearing the wearable device, and the wearing actions have explicit expressions that the states of wearing parts of the wearable device are changed. The embodiment of the application mainly depends on the detection of the wearing state and event triggering based on the intention of using the product and the inevitable result caused by the action generated by the intention, for example, the open of the glasses legs of the glasses product indicates that the glasses are about to be used, and the close/fold indicates that the glasses are used completely; the opening of the watchband buckle of the watch product indicates that the watch is used, and the closing indicates that the watch is about to be used. By adopting the method, the real wearing intention of the user can be accurately reflected, and the wearing state detection accuracy is improved. In addition, the mode does not need a user to execute any additional operation, and has good operation simplicity.
Fig. 4 shows a flowchart of another wearable device wearing state detection method provided by the present application, including:
401. detecting a state of a wearing component of a wearable device, the wearing component to wear the wearable device on a user;
402. judging whether the state of the wearing part is a first state or not;
if the wearing part is in the first state, step 403 and step 404 are executed, otherwise, step 406 is executed directly. The detailed description of steps 401-402 can refer to steps 301-302.
403. Detecting an acceleration of the wearable device;
the state of the wearing part is the first state, which is a necessary condition for the user to wear the wearable device, but in some cases, the user cannot be guaranteed to wear the wearable device. For example, when the user puts the temple of the glasses on the table while spreading it, the temple is detected to be in the spread state (i.e., the state where the user wears the component is the first state). For another example, when the user buckles the watch band and places the watch band in the case, the closed state of the watch band (i.e., the state in which the member is worn is the first state) is detected. If this occurs, the wearing state is erroneously determined. In order to solve the problem of misjudgment of the wearing state under the condition and further improve the accuracy of state detection, an acceleration sensor can be used for detecting the acceleration of the wearable device, and whether the wearable device is in the wearing state is further determined through the detected acceleration.
404. Judging whether the variation amplitude of the acceleration in preset time is greater than or equal to a first threshold value or not;
after the acceleration of the wearable device is detected, whether the change amplitude of the acceleration within a preset time is larger than or equal to a set first threshold value or not is judged. If the variation amplitude of the acceleration within the preset time is greater than or equal to a first threshold, executing step 405; if the variation range of the acceleration within the preset time is smaller than the first threshold, step 406 is executed.
405. Determining that the wearable device is in a worn state;
the change amplitude of the acceleration within the preset time is larger than or equal to the first threshold value, which indicates that the wearable device is in a motion state, but the device does not move, so that the wearable device can be basically determined to be worn by the user, and the device is in the motion state.
Further, if the variation amplitude of the acceleration within the preset time is greater than or equal to the first threshold, before executing step 405, the method may further include:
(1) shooting a first image through a camera of the wearable device;
(2) shooting a second image through the camera after a preset time length;
(3) if the similarity of the first image and the second image is smaller than or equal to a second threshold value, executing a step of judging that the wearable equipment is in a wearing state;
(4) and if the similarity of the first image and the second image is greater than the second threshold value, determining that the wearable device is in a non-wearing state.
In order to further improve the accuracy of detecting the wearing state of the wearable device, after it is detected that the variation amplitude of the acceleration within the preset time is greater than or equal to the first threshold, two or more images at different times can be shot by using the camera, and if the similarity of the images is smaller than the set threshold, it can be determined that the wearable device is in the wearing state, otherwise, it can be determined that the wearable device is in the non-wearing state. Since the user generally does not stay in a completely still state when wearing the wearable device, the similarity between two or more images captured at different times should be small; if the wearable device is placed in a certain place and is in a static state, the similarity of two or more images obtained by shooting at different times should be greater (note that the shooting angle of the camera is not adjusted at all during shooting, and the shooting interval time is shorter). It should be noted that, the above-mentioned methods of detecting the acceleration and capturing the image are both used to detect that the wearable device is in a moving state or a static state, so as to determine the wearing state of the wearable device more accurately, and either method may be used alone or both methods may be used simultaneously in actual operation.
406. Determining that the wearable device is in a non-worn state.
The change amplitude of the acceleration within the preset time is smaller than the first threshold value, which indicates that the wearable device is in a static state, and since the human body is rarely in a state of being approximately static, the wearable device can be basically judged to be not worn by the user, namely in a non-wearing state. For example, when the user puts the temple of the glasses on the table while spreading them, the acceleration detected at this time is close to 0, and it is determined that the glasses are not worn, so that there is no problem of erroneous determination.
In the embodiment of the application, after the state of the wearing part of the wearable device is detected to be in the state when the wearing action is realized, the wearable device is not immediately judged to be in the wearing state, and the acceleration of the wearable device is further detected to confirm the wearing state, so that the accuracy of the wearing state detection is improved.
Fig. 5 shows a flowchart of another wearable device wearing state detection method provided by the present application, including:
501. detecting a state of a wearing component of a wearable device, the wearing component to wear the wearable device on a user;
502. judging whether the state of the wearing part is a first state or not;
if the wearing component is in the first state, step 503 and step 505 are executed, otherwise, step 507 is directly executed. The detailed description of steps 501-502 can refer to steps 301-302.
503. Acquiring a historical wearing record of the wearable device;
the state of the wearing part is the first state, which is a necessary condition for the user to wear the wearable device, but as explained in the previous embodiment, it cannot be guaranteed that the user will wear the wearable device. In this embodiment, in order to further improve the accuracy of state detection, a historical wearing record of the wearable device may be obtained, where the historical wearing record may include a time point when the user wears the wearable device each time and other related information.
504. Determining a wearing time period of the wearable device according to the historical wearing record;
after the historical wearing record of the wearable device is obtained, the regular wearing time period of the wearable device can be obtained through statistics. For example, if it is statistically found that the time point when the user wears the wearable device is concentrated on 8:00-22:00 per day, the wearing time period of the wearable device may be determined to be 8:00-22: 00.
505. Judging whether the current time is within the wearing time period;
then, the current time is obtained, and whether the current time is within the wearing time period or not is judged. If the current time is within the wearing time period, go to step 506. If the current time period is outside the wearing time period, step 507 is executed.
506. Determining that the wearable device is in a worn state;
when the current time is within the wearing time period and the wearing component of the wearable device is in the first state, it can be basically determined that the wearable device is being worn by the user, and therefore the wearable device is determined to be in the wearing state.
507. Determining that the wearable device is in a non-worn state.
When the current time period is outside the wearing time period, the wearable device is probably not worn by the user, and only the wearing part of the device is just in the first state when the device is placed, and the wearable device can be determined to be in the non-wearing state.
Further, in order to improve the accuracy of the wearing state detection, after the pre-detection period is outside the wearing period, the method may further include:
(1) detecting the surface temperature of a target part of the wearable equipment, wherein the target part is a part which is in contact with a human body when the wearable equipment is in a wearing state;
(2) if the surface temperature of the target part is within a preset temperature range, judging that the wearable equipment is in a wearing state;
(3) and if the surface temperature of the target part is out of the temperature range, determining that the wearable equipment is in a non-wearing state.
Even if the current time is outside the wearing period, the user has a certain possibility to wear the wearable device. At this time, it can be further confirmed by a temperature detection method, for example, for the glasses device, a temperature sensor may be used to detect the temperature of the contact portion of the nose bridge or the contact portion of the temple and the ear, and if the detected temperature is within a preset temperature range (for example, referring to the body temperature, a temperature range may be set to 34 degrees to 38 degrees), it indicates that the user is currently wearing the glasses, that is, it may be determined that the glasses are in a wearing state; and if the detected temperature is out of the temperature range, the user is indicated that the glasses are not worn currently, and the glasses can be judged to be in a non-wearing state. It should be noted that, in actual operation, the wearing state of the wearable device may also be further confirmed by directly adopting a temperature detection manner, that is, a conventional wearing time factor does not need to be considered.
In the embodiment of the application, after the state of the wearing part of the wearable device is detected to be in the state when the wearing action is realized, the wearable device is not immediately judged to be in the wearing state, but a historical wearing record of the wearable device is obtained, a conventional wearing time period of the wearable device is counted, and then the wearing state of the wearable device is further confirmed according to whether the current time is within the wearing time period, so that the accuracy of wearing state detection is improved.
Fig. 6 shows a flowchart of a method for detecting wearing states of eyeglasses provided by the present application, which includes:
601. detecting states of temples of glasses, wherein the glasses comprise a frame main body and the temples, and the frame main body is connected with the temples;
in the embodiment of the application, the wearable device is glasses, the glasses can be various types of intelligent glasses, the structure of the glasses comprises a glasses frame main body, glasses legs and other components, and the glasses frame main body is connected with the glasses legs. For the glasses, the wearing part is a temple, the state of the temple of the glasses needs to be detected firstly, and the glasses specifically comprise an unfolding state and a folding state. When the state of the temple is detected, the state can be determined by whether the end of the temple and the frame main body are in contact with each other, for example, when the temple is unfolded, the end of the temple may contact the frame main body, and when the temple is folded, the end of the temple may not contact the frame main body. Further, when detecting whether the end of the temple is in contact with the frame body, electrical connection terminals may be respectively disposed at junctions of the end of the temple and the frame body, so that when it is detected that the electrical connection terminals of the two parts are connected, it is indicated that the end of the temple is in contact with the frame body, and when it is detected that the electrical connection terminals of the two parts are disconnected, it is indicated that the end of the temple is not in contact with the frame body. In addition, it is also possible to provide some kind of sensor (such as electromagnetic, optical, ultrasonic, etc.) at the connection between the end of the temple and the frame body, and determine whether or not the end of the temple and the frame body are in contact by detecting the state information of the sensor. For the glasses of a single temple, it is only necessary to detect the state of a single temple, whereas for the glasses of more than two temples, it is necessary to detect the state of each temple separately.
602. Judging whether the glasses legs of the glasses are in an unfolded state or a folded state;
if the temple of the glasses is detected to be in the unfolding state, executing step 603; if the temple of the glasses is detected to be in the folded state, step 604 is executed. It should be noted that the temple bars in the step 602 are in the unfolded state, which means that all temple bars of the glasses are in the unfolded state, and if one or more temple bars are in the folded state, the temple bars are determined to be in the folded state.
Further, if it is detected that the temple of the glasses is converted from the folded state to the unfolded state, it may be determined that the glasses are converted from the unworn state to the worn state.
When the fact that the temple of the glasses is converted from the folded state to the unfolded state is detected, it is indicated that a user is ready to wear the glasses, it can be determined that the glasses are converted from the non-worn state to the worn state, at this time, some events or functions can be triggered in advance, for example, the system is powered on, communication with other systems is started, whether the glasses are worn or not is further determined (for example, through a temperature detection mode and an acceleration detection mode), communication of the contact pin is started, various functional modules are started, and the like. Similarly, if the temple of the glasses is detected to be changed from the unfolded state to the folded state, it can be determined that the glasses are changed from the worn state to the unworn state, and some events or functions, such as turning off the system power supply, turning off the communication function module and other function modules, can also be triggered.
603. Determining that the glasses are in a wearing state;
the detection that the temple of the eyeglasses is in the extended state indicates that the user is likely to have an intent and motion to wear the eyeglasses, so that the eyeglasses can be determined to be in the worn state with relative accuracy.
604. Determining that the glasses are in a non-worn state.
The temple of the glasses is detected to be in a folded state, and since the temple must be unfolded when the glasses are worn, it can be confirmed that the user does not wear the glasses, and thus it is determined that the glasses are in a non-worn state.
The embodiment provides a method for detecting the wearing state of glasses, which can relatively accurately reflect the real wearing intention of a user by detecting that the state of the glasses legs of the glasses is an unfolding state or a folding state, so as to determine whether the glasses are in the wearing state.
Fig. 7 shows a flowchart of a method for detecting a wearing state of a watch provided by the present application, including:
701. detecting the state of a watchband of the watch, wherein the watch comprises a watch main body and the watchband, and the watch main body is connected with the watchband;
in this application embodiment, wearable equipment is the wrist-watch, and this wrist-watch can be various types of intelligent wrist-watch, and its structure includes parts such as watch main part (core, dial plate and watchcase) and watchband, and watch main part is connected with the watchband. For a wristwatch, the wearing part is a watchband, and the state of the watchband of the wristwatch needs to be detected firstly, and the wearing part specifically comprises a closed state and an open state. When the state of the watchband is detected, the state can be judged by whether the joints of the left watchband and the right watchband are contacted with each other, for example, when the watchband is closed, the joints of the left watchband and the right watchband can be buckled and fixed in a certain connection mode, namely, the joints of the left watchband and the right watchband can be contacted; and when the watchband is disconnected, the joints of the left watchband and the right watchband are separated from each other. Furthermore, when detecting whether the joints of the left watchband and the right watchband contact with each other, the joints of the left watchband and the right watchband can be respectively provided with an electric connection terminal, so that when the connection of the electric connection terminals of the two parts is detected, the contact of the joints of the left watchband and the right watchband is indicated, and when the disconnection of the electric connection terminals of the two parts is detected, the contact of the joints of the left watchband and the right watchband is indicated. In addition, some kind of sensor (such as electromagnetic, optical, ultrasonic, etc.) may be provided between the joint of the left band and the joint of the right band, and whether the joints of the left band and the right band are in contact with each other may be determined by detecting state information of the sensor.
702. Judging whether a watchband of the watch is in a closed state or an open state;
if the watchband of the watch is detected to be in a closed state, executing step 703; if the watchband of the watch is detected to be in the disconnected state, step 704 is executed.
Further, if it is detected that the watchband of the watch is switched from the open state to the closed state, it can be determined that the watch is switched from the non-wearing state to the wearing state.
The watch is detected to be switched from the open state to the closed state, the fact that the watch is worn by a user is indicated, the fact that the watch is switched from the non-worn state to the worn state can be determined, at the moment, some events or functions can be triggered in advance, for example, the system is powered on, communication with other systems is started, whether the watch is worn or not is further determined (for example, through a temperature detection mode and an acceleration detection mode), communication of a contact pin is started, various functional modules are started, and the like. Similarly, if it is detected that the wristband of the wristwatch is switched from the closed state to the open state, it may be determined that the wristwatch is to be switched from the worn state to the unworn state, and some events or functions may be triggered, such as turning off the system power supply, turning off the communication function module and other function modules.
703. Determining that the watch is in a worn state;
the detection of the watch strap being in the closed state indicates that the user is likely to have an intention and an action to wear the watch, so that it can be determined relatively accurately that the watch is in the worn state.
704. Determining that the watch is in a non-worn state.
The watch is detected to be in an off state, and the watch band is required to be closed when the watch is worn, so that the fact that the watch is not worn by a user can be confirmed, and the watch is determined to be in a non-wearing state.
The embodiment provides a method for detecting a wearing state of a watch, which can accurately reflect the real wearing intention of a user by detecting whether the state of a watchband of the watch is a closed state or an open state, so as to determine whether the watch is in the wearing state.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
For ease of understanding, the wearing state detection method of the wearable device proposed in the present application is described below in two practical application scenarios.
The application scene one:
fig. 8 is a schematic diagram of a practical application scenario for detecting the wearing state of glasses, the glasses have a frame and a temple, and a sensor is arranged at the joint of the temple end and the frame body corresponding to the temple for detecting the state of the temple.
When the glasses are not worn, the temples are folded, the glasses frame and the temples are connected through a hinge and the like, and the temples are not in direct contact with the glasses frame main body. When the sensor detects that the temple and the frame body are not in contact with each other, the temple is determined to be in the folded state, and the eyeglass is determined to be in the non-wearing state.
When the glasses are in a wearing state, the glasses legs are unfolded, and the glasses legs are in direct contact with the glasses frame main body at the moment and can trigger the change of the state of the sensor, so that the glasses legs are judged to be in the unfolding state, the glasses are further determined to be in the wearing state, then the system can be triggered to be powered on, and system communication and other events can be started. In addition, in order to improve the accuracy of the wearing state detection, a temperature sensor can be arranged at the contact part of the tail part of the glasses leg and/or the nose bridge of the glasses frame, and the temperature of the contact part is detected to further determine whether the glasses are in the wearing state.
Application scenario two:
fig. 9 is a schematic diagram of a practical application scenario for detecting the wearing state of a wristwatch, which has a dial and a band, and a sensor is provided at the joint of the left band and the right band for detecting the state of the band.
When the watch is not worn, the band is disconnected, i.e., the joints of the left and right bands are separated from each other. When the sensor detects that the joint of the left watchband and the right watchband is separated from each other, the watchband is judged to be in a disconnected state, and then the watch is determined to be in a non-wearing state.
When the wrist-watch is in wearing the state, the watchband is closed, and the junction of left watchband and right watchband is mutual contact promptly, can trigger the change of sensor state this moment to judge that the watchband is in closed state, and then confirm that this wrist-watch is in wearing the state, can also trigger system electricity afterwards, start events such as system communication. In addition, in order to improve the accuracy of the wearing state detection, a temperature sensor may be provided on the back of the dial or on the surface of the band, and the temperature of these parts may be detected to further determine whether the wristwatch is in the wearing state.
Fig. 10 shows a block diagram of a wearing state detection apparatus of a wearable device according to an embodiment of the present application, and only shows a part related to the embodiment of the present application for convenience of description.
Referring to fig. 10, the apparatus includes:
a component status detection module 801 configured to detect a status of a wearing component of a wearable device, where the wearing component is configured to wear the wearable device on a user;
a wearing state determining module 802, configured to determine whether the wearable device is in a wearing state according to the state of the wearing component.
Further, the wearing state determination module may include:
a first state determination unit, configured to determine that the wearable device is in a wearing state if the state of the wearing component is a first state;
a second state determination unit configured to determine that the wearable device is in a non-wearing state if the state of the wearing component is not the first state;
wherein the first state is a state in which the wearing part is in when the wearable device is worn.
Further, the wearing state determination module may further include:
an acceleration detection unit for detecting an acceleration of the wearable device;
a third state determination unit, configured to execute a step of determining that the wearable device is in a wearing state if a variation amplitude of the acceleration within a preset time is greater than or equal to a first threshold;
a fourth state determination unit, configured to determine that the wearable device is in a non-wearing state if a variation amplitude of the acceleration within a preset time is smaller than the first threshold.
Still further, the wearing state determination module may further include:
the first image shooting unit is used for shooting a first image through a camera of the wearable device;
the second image shooting unit is used for shooting a second image through the camera after the preset time length;
a fifth state determination unit, configured to perform a step of determining that the wearable device is in a wearing state if a similarity between the first image and the second image is less than or equal to a second threshold;
a sixth state determination unit, configured to determine that the wearable device is in a non-wearing state if the similarity between the first image and the second image is greater than the second threshold.
Further, the wearing state determination module may further include:
a wearing record acquisition unit for acquiring a history wearing record of the wearable device;
a wearing time period determining unit, configured to determine a wearing time period of the wearable device according to the historical wearing record;
a seventh state determining unit, configured to execute the step of determining that the wearable device is in the wearing state if the current time is within the wearing time period.
Still further, the wearing state determination module may further include:
the temperature detection unit is used for further detecting the surface temperature of a target part of the wearable equipment if the current time period is out of the wearing time period, wherein the target part is a part which is in contact with a human body when the wearable equipment is in a wearing state;
an eighth state determination unit, configured to perform a step of determining that the wearable device is in a wearing state if the surface temperature of the target portion is within a preset temperature range;
a ninth state determination unit configured to determine that the wearable device is in a non-wearing state if the surface temperature of the target site is outside the temperature range.
Optionally, the wearable device is glasses, and the component status detection module may include:
a temple state detection unit for detecting a state of a temple of the glasses, wherein the glasses include a frame main body and a temple, and the frame main body is connected to the temple;
accordingly, the wearing state determination module may include:
the first glasses state determining unit is used for determining that the glasses are in a wearing state if the fact that the glasses legs of the glasses are in the unfolding state is detected;
and the second glasses state determining unit is used for determining that the glasses are in a non-wearing state if the temples of the glasses are detected to be in a folding state.
Further, the wearing state determination module may further include:
and the third glasses state determining unit is used for determining that the glasses are changed from the non-wearing state to the wearing state if the fact that the temple of the glasses is changed from the folded state to the unfolded state is detected.
Optionally, the wearable device is a watch, and the component state detection module may include:
the watch comprises a watchband state detection unit, a watch body and a watchband, wherein the watchband state detection unit is used for detecting the state of the watchband of the watch;
accordingly, the wearing state determination module may include:
a first watch state determination unit configured to determine that the watch is in a worn state if it is detected that a band of the watch is in a closed state;
and the second watch state determining unit is used for determining that the watch is in a non-wearing state if the fact that the watchband of the watch is in a disconnected state is detected.
Further, the wearing state determination module may further include:
and the third watch state determining unit is used for determining that the watch is to be changed from a non-wearing state to a wearing state if the fact that the watchband of the watch is changed from the off state to the on state is detected.
Further, the wearing state detection apparatus of the wearable device may further include:
and the energy-saving module is used for controlling the wearable equipment to start a low-power consumption mode if the wearable equipment is determined to be in a non-wearing state.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the method for detecting the wearing state of each wearable device as set forth in the present application are implemented.
The embodiment of the present application further provides a computer program product, which when running on a terminal device, enables the terminal device to execute the steps of the method for detecting the wearing state of each wearable device provided by the present application.
Fig. 11 is a schematic structural diagram of a wearable device according to an embodiment of the present application. As shown in fig. 11, the wearable device 9 of this embodiment includes: at least one processor 90 (only one shown in fig. 11), a memory 91, and a computer program 92 stored in the memory 91 and executable on the at least one processor 90, the processor 90 implementing the steps in any of the wearable device wearing state detection method embodiments described above when executing the computer program 92.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or apparatus capable of carrying computer program code to a terminal device, recording medium, computer Memory, Read-Only Memory (ROM), Random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (14)

1. A wearing state detection method of a wearable device is characterized by comprising the following steps:
detecting a state of a wearing component of a wearable device, the wearing component to wear the wearable device on a user;
determining whether the wearable device is in a wearing state according to the state of the wearing component.
2. The wearing state detection method according to claim 1, wherein the determining whether the wearable device is in a wearing state according to the state of the wearing component includes:
if the state of the wearing part is a first state, the wearable equipment is judged to be in a wearing state, otherwise, the wearable equipment is judged to be in a non-wearing state;
wherein the first state is a state in which the wearing part is in when the wearable device is worn.
3. The wearing state detection method according to claim 2, wherein if the state of the wearing component is the first state, before determining that the wearable device is in the wearing state, the method further includes:
detecting an acceleration of the wearable device;
if the variation amplitude of the acceleration within the preset time is larger than or equal to a first threshold, executing a step of judging that the wearable equipment is in a wearing state;
and if the change amplitude of the acceleration in the preset time is smaller than the first threshold, determining that the wearable equipment is in a non-wearing state.
4. The wearing state detection method according to claim 3, wherein if the magnitude of change of the acceleration within a preset time is greater than or equal to a first threshold, before the step of determining that the wearable device is in the wearing state is performed, the method further comprises:
shooting a first image through a camera of the wearable device;
shooting a second image through the camera after a preset time length;
if the similarity of the first image and the second image is smaller than or equal to a second threshold value, executing a step of judging that the wearable equipment is in a wearing state;
and if the similarity of the first image and the second image is greater than the second threshold value, determining that the wearable device is in a non-wearing state.
5. The wearing state detection method according to claim 2, wherein if the state of the wearing component is the first state, before determining that the wearable device is in the wearing state, the method further includes:
acquiring a historical wearing record of the wearable device;
determining a wearing time period of the wearable device according to the historical wearing record;
and if the current time is within the wearing time period, executing the step of judging that the wearable equipment is in a wearing state.
6. The wearing state detection method according to claim 5, further comprising, after determining the wearing period of the wearable device from the history wearing record:
if the current time period is out of the wearing time period, further detecting the surface temperature of a target part of the wearable equipment, wherein the target part is a part which is in contact with a human body when the wearable equipment is in a wearing state;
if the surface temperature of the target part is within a preset temperature range, executing a step of judging that the wearable equipment is in a wearing state;
and if the surface temperature of the target part is out of the temperature range, determining that the wearable equipment is in a non-wearing state.
7. The wearing state detection method according to claim 1, wherein the wearable device is glasses;
the detecting a state of a wearing component of a wearable device includes:
detecting states of the glasses legs of the glasses, wherein the glasses comprise a glasses frame main body and the glasses legs, and the glasses frame main body is connected with the glasses legs;
correspondingly, the determining whether the wearable device is in the wearing state according to the state of the wearing component comprises:
if the glasses legs of the glasses are detected to be in the unfolding state, determining that the glasses are in the wearing state;
and if the fact that the side arms of the glasses are in the folded state is detected, determining that the glasses are in the non-wearing state.
8. The wearing state detection method according to claim 7, wherein the determining whether the wearable device is in a wearing state according to the state of the wearing component further includes:
and if the fact that the temple of the glasses is converted from the folded state to the unfolded state is detected, determining that the glasses are converted from the non-wearing state to the wearing state.
9. The wearing state detection method according to claim 1, wherein the wearable device is a watch;
the detecting a state of a wearing component of a wearable device includes:
detecting the state of a watchband of the watch, wherein the watch comprises a watch body and the watchband, and the watch body is connected with the watchband;
correspondingly, the determining whether the wearable device is in the wearing state according to the state of the wearing component comprises:
if the watchband of the watch is detected to be in the closed state, determining that the watch is in the wearing state;
and if the watchband of the watch is detected to be in a disconnected state, determining that the watch is in a non-wearing state.
10. The wearing state detection method according to claim 9, wherein the determining whether the wearable device is in a wearing state according to the state of the wearing component further includes:
and if the fact that the watchband of the watch is converted from the open state to the closed state is detected, determining that the watch is converted from the non-wearing state to the wearing state.
11. The wearing state detection method according to any one of claims 1 to 10, further comprising, after determining whether the wearable device is in a wearing state according to the state of the wearing component:
and if the wearable equipment is determined to be in a non-wearing state, controlling the wearable equipment to start a low power consumption mode.
12. A wearing state detection device of a wearable apparatus, comprising:
a component status detection module for detecting a status of a wearing component of a wearable device, the wearing component being for wearing the wearable device on a user;
and the wearing state determining module is used for determining whether the wearable equipment is in a wearing state according to the state of the wearing component.
13. A wearable device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the wear state detection method of any one of claims 1 to 11 when executing the computer program.
14. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the wearing state detection method according to any one of claims 1 to 11.
CN202010067029.7A 2020-01-20 2020-01-20 Wearable device wearing state detection method and device and wearable device Withdrawn CN111309161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010067029.7A CN111309161A (en) 2020-01-20 2020-01-20 Wearable device wearing state detection method and device and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010067029.7A CN111309161A (en) 2020-01-20 2020-01-20 Wearable device wearing state detection method and device and wearable device

Publications (1)

Publication Number Publication Date
CN111309161A true CN111309161A (en) 2020-06-19

Family

ID=71150985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010067029.7A Withdrawn CN111309161A (en) 2020-01-20 2020-01-20 Wearable device wearing state detection method and device and wearable device

Country Status (1)

Country Link
CN (1) CN111309161A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596366A (en) * 2020-12-07 2021-04-02 四川写正智能科技有限公司 Detection method and detection system for wearing state of smart watch, and watch
CN112860078A (en) * 2021-02-19 2021-05-28 歌尔光学科技有限公司 Head-mounted display device control method, head-mounted display device, and storage medium
CN112885033A (en) * 2021-01-22 2021-06-01 读书郎教育科技有限公司 Wearable device and method capable of detecting wearing state
CN113359319A (en) * 2021-07-07 2021-09-07 天力能大健康科技(广州)有限公司 Biological resonance wafer for repairing cells and application method thereof
CN113892920A (en) * 2020-07-06 2022-01-07 华为技术有限公司 Wearable device wearing detection method and device and electronic device
CN114035345A (en) * 2021-11-03 2022-02-11 美新半导体(无锡)有限公司 Intelligent glasses and working method thereof
CN114567849A (en) * 2022-02-28 2022-05-31 恒玄科技(上海)股份有限公司 Detection method and device, wireless earphone and storage medium
CN114698564A (en) * 2022-04-26 2022-07-05 深圳市中融数字科技有限公司 Method and device for detecting ear tag state, storage medium and electronic equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113892920A (en) * 2020-07-06 2022-01-07 华为技术有限公司 Wearable device wearing detection method and device and electronic device
CN112596366A (en) * 2020-12-07 2021-04-02 四川写正智能科技有限公司 Detection method and detection system for wearing state of smart watch, and watch
CN112885033A (en) * 2021-01-22 2021-06-01 读书郎教育科技有限公司 Wearable device and method capable of detecting wearing state
CN112860078A (en) * 2021-02-19 2021-05-28 歌尔光学科技有限公司 Head-mounted display device control method, head-mounted display device, and storage medium
CN113359319A (en) * 2021-07-07 2021-09-07 天力能大健康科技(广州)有限公司 Biological resonance wafer for repairing cells and application method thereof
CN114035345A (en) * 2021-11-03 2022-02-11 美新半导体(无锡)有限公司 Intelligent glasses and working method thereof
CN114035345B (en) * 2021-11-03 2024-03-12 美新半导体(无锡)有限公司 Intelligent glasses and working method thereof
CN114567849A (en) * 2022-02-28 2022-05-31 恒玄科技(上海)股份有限公司 Detection method and device, wireless earphone and storage medium
CN114567849B (en) * 2022-02-28 2024-01-12 恒玄科技(上海)股份有限公司 Detection method and device, wireless earphone and storage medium
CN114698564A (en) * 2022-04-26 2022-07-05 深圳市中融数字科技有限公司 Method and device for detecting ear tag state, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN111309161A (en) Wearable device wearing state detection method and device and wearable device
CN108093134B (en) Anti-interference method of electronic equipment and related product
CN109982179B (en) Audio signal output method and device, wearable device and storage medium
CN110099174B (en) Charging indicator lamp control method, wearable device and computer readable storage medium
CN110299100B (en) Display direction adjustment method, wearable device and computer readable storage medium
CN110262849B (en) Application starting method, wearable device and computer readable storage medium
CN109947249B (en) Interaction method of wearable device, wearable device and computer storage medium
CN110013260B (en) Emotion theme regulation and control method, equipment and computer-readable storage medium
CN113641488A (en) Method and device for optimizing resources based on user use scene
CN108353099A (en) A kind of method and apparatus of PPG certifications
CN110225282B (en) Video recording control method, device and computer readable storage medium
CN114125546A (en) Information sharing method and device, terminal equipment and storage medium
CN110060062B (en) Information exchange method after wearable device is lost, wearable device and storage medium
CN110139270B (en) Wearable device pairing method, wearable device and computer readable storage medium
CN109933294B (en) Data processing method and device, wearable device and storage medium
CN110187769B (en) Preview image viewing method, equipment and computer readable storage medium
CN109947524B (en) Interface display method, wearable device and computer readable storage medium
CN110399196B (en) Wearable device, interface switching implementation method thereof and computer readable storage medium
CN110113529B (en) Shooting parameter regulation and control method and device and computer readable storage medium
CN110086808B (en) Account login control method and device and computer readable storage medium
CN110660032A (en) Object shielding method, object shielding device and electronic equipment
CN110971822A (en) Picture processing method and device, terminal equipment and computer readable storage medium
CN110650289B (en) Shooting depth of field control method, equipment and computer readable storage medium
CN111935928B (en) Wristwatch type communication terminal
CN110187950B (en) Method for adjusting picture display position, wearable device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200619