Smart glasses, wearing detection method, storage medium, and computer program product

WO2026175257A1PCT designated stage Publication Date: 2026-08-27SHANGHAI QIANWEN ZHILIAN ARTIFICIAL INTELLIGENCE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/078316
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-02-19
Filing Date
2026-02-10
Publication Date
2026-08-27

Smart Images

  • Figure CN2026078316_27082026_PF_FP_ABST
    Figure CN2026078316_27082026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the embodiments of the present invention are smart glasses, a wearing detection method, a storage medium, and a computer program product. A first speaker and a first microphone are disposed on a temple, a second microphone is disposed on a glasses frame, and the first speaker emits a detection ultrasonic wave, such that when a user wears the smart glasses, the head of the user is on a propagation path of the detection ultrasonic wave. Therefore, a first time difference is determined on the basis of the time at which the first microphone receives a first feedback ultrasonic wave and the time at which the first speaker emits the detection ultrasonic wave, the wearing state of the smart glasses can be determined on the basis of the first time difference and the amplitude of a second feedback ultrasonic wave received by the second microphone, and the operating state of the smart glasses is then controlled on the basis of the wearing state of the smart glasses. The smart glasses provided in the embodiments of the present invention can adapt to scenes more intelligently and automatically, and the operating mode of the smart glasses can be controlled more precisely, thereby reducing the power consumption of the smart glasses.
Need to check novelty before this filing date? Find Prior Art

Description

Smart glasses, wear detection methods, storage media, and computer program products

[0001] This application claims priority to Chinese Patent Application No. 202510186528.0, filed on February 19, 2025, entitled "Smart Glasses, Wearing Detection Method, Storage Medium and Computer Program Product", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This invention relates to the field of smart wearable device technology, and more specifically, to a smart pair of glasses, a wear detection method, a storage medium, and a computer program product. Background Technology

[0003] With the development of technology and the improvement of people's living standards, the application scale of wearable smart devices is becoming increasingly large. Smart glasses are a common type of wearable smart device. By integrating electronic components into the glasses, smart glasses can perform functions such as image display, audio playback, and signal acquisition. Traditional wearable smart devices continue to operate even when removed by the user, increasing power consumption. Currently, some wearable smart devices use touch sensors or accelerometers for wear detection, but these detection methods are susceptible to misjudgments due to user activity, thus affecting normal use. Summary of the Invention

[0004] In view of the above, embodiments of the present invention provide smart glasses, a wear detection method, a storage medium, and a computer program product to solve at least some of the problems existing in the prior art.

[0005] In a first aspect, embodiments of the present invention provide smart glasses, including a glasses body, a first speaker, a first microphone, a second microphone, and a control circuit; the glasses body includes a frame and two temples; the first speaker is disposed on the temples and configured to emit detection ultrasonic waves; the first microphone is disposed on the temples and located to one side of the first speaker, and is configured to receive a first feedback ultrasonic wave, the first feedback ultrasonic wave including at least a portion of the detection ultrasonic wave; the second microphone is disposed on the frame and configured to receive a second feedback ultrasonic wave, the second feedback ultrasonic wave including at least a portion of the detection ultrasonic wave; the control circuit is electrically connected to the first speaker, the first microphone, and the second microphone, and is configured to: determine a first time difference, the first time difference being the time difference between the time when the first microphone receives the first feedback ultrasonic wave and the time when the first speaker emits the detection ultrasonic wave; determine the wearing state of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave, the wearing state of the smart glasses including a worn state and an unworn state; and control the working state of the smart glasses based on the wearing state of the smart glasses.

[0006] Furthermore, the first speaker includes two components, and the first microphone includes two components, with each temple of the glasses having one first speaker and one first microphone respectively; the first speakers on the two temples are configured to emit ultrasonic waves simultaneously; or, the first speakers on the two temples are configured to emit ultrasonic waves alternately at predetermined time intervals.

[0007] Furthermore, each of the temples is connected to the frame via a first connecting structure, the first microphone is located between the first speaker and the first connecting structure, and the second microphone is located between the two first connecting structures.

[0008] Furthermore, the working state of the smart glasses includes a first state and a second state, and the power consumption of the smart glasses in the second state is lower than that in the first state; controlling the working state of the smart glasses according to the wearing state of the smart glasses includes: when it is determined that the wearing state of the smart glasses is a worn state, controlling the smart glasses to be in the first state; when it is determined that the wearing state of the smart glasses is a not worn state, controlling the smart glasses to be in the second state.

[0009] Further, determining the wearing state of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave includes: when the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, determining the wearing state of the smart glasses as the unworn state; and when the first time difference is within the first duration range and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, determining the wearing state of the smart glasses as the worn state.

[0010] Further, determining the wearing state of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave includes: when the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, determining the wearing state of the smart glasses as the unworn state; and when the first time difference is within the first duration range and the duration exceeds a preset duration, determining the wearing state of the smart glasses as the worn state.

[0011] Furthermore, the control circuit is also configured to: when the first time difference exceeds the first duration range, determine the fluctuation state of the first time difference, the fluctuation state including the fluctuation amplitude and the fluctuation duration; determining the wearing state of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave further includes: when the fluctuation amplitude of the first time difference is greater than or equal to a first amplitude threshold and the fluctuation duration is greater than a preset fluctuation duration threshold, determining the wearing state of the smart glasses as the unworn state, wherein the first amplitude threshold is greater than the difference between the maximum and minimum values ​​of the first duration range.

[0012] Furthermore, determining the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave further includes: when the fluctuation amplitude of the first time difference is less than the first amplitude threshold, and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the wearing status of the smart glasses is determined as the worn status.

[0013] Furthermore, controlling the working state of the smart glasses based on their wearing status includes: when the smart glasses are determined to be in an unworn state, inputting the first time difference and / or the amplitude of the second feedback ultrasonic wave within a predetermined time period into a wear detection neural network model to obtain an unworn probability, wherein the wear detection neural network model is trained from multiple sample data labeled with actual wearing states, including the first time difference and the amplitude of the second feedback ultrasonic wave; and when the unworn probability is greater than a preset probability threshold, controlling the smart glasses to turn off.

[0014] Secondly, embodiments of the present invention also provide a method for detecting the wearing of smart glasses. The smart glasses include a main body, which includes a frame and two temples. The method includes the following steps: emitting a detection ultrasonic wave through a first speaker, the first speaker being disposed on the temple; receiving a first feedback ultrasonic wave through a first microphone, the first feedback ultrasonic wave including at least a portion of the detection ultrasonic wave, the first microphone being disposed on the temple; receiving a second feedback ultrasonic wave through a second microphone, the second feedback ultrasonic wave including at least a portion of the detection ultrasonic wave, the second microphone being disposed on the frame; determining a first time difference, the first time difference being the time difference between the time when the first microphone receives the first feedback ultrasonic wave and the time when the first speaker emits the detection ultrasonic wave; determining the wearing state of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave, the wearing state of the smart glasses including a worn state and an unworn state; and controlling the working state of the smart glasses based on the wearing state of the smart glasses.

[0015] Furthermore, the working state of the smart glasses includes a first state and a second state, wherein the power consumption of the smart glasses in the second state is lower than that in the first state; controlling the working state of the smart glasses according to the wearing state of the smart glasses includes: when it is determined that the wearing state of the smart glasses is a worn state, controlling the smart glasses to be in the first state; and when it is determined that the wearing state of the smart glasses is a not worn state, controlling the smart glasses to be in the second state.

[0016] Further, determining the wearing state of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave includes: when the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, determining the wearing state of the smart glasses as the unworn state; and when the first time difference is within the first duration range and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, determining the wearing state of the smart glasses as the worn state.

[0017] Further, determining the wearing state of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave includes: when the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, determining the wearing state of the smart glasses as the unworn state; and when the first time difference is within the first duration range and the duration exceeds a preset duration, determining the wearing state of the smart glasses as the worn state.

[0018] Furthermore, the method further includes: when the first time difference exceeds the first duration range, determining the fluctuation state of the first time difference, the fluctuation state including the fluctuation amplitude and the fluctuation duration; determining the wearing state of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave further includes: when the fluctuation amplitude of the first time difference is greater than or equal to a first amplitude threshold and the fluctuation duration is greater than a preset fluctuation duration threshold, determining the wearing state of the smart glasses as the unworn state, wherein the first amplitude threshold is greater than the difference between the maximum and minimum values ​​of the first duration range; and when the fluctuation amplitude of the first time difference is less than the first amplitude threshold and the amplitude of the second feedback ultrasonic wave is within a first amplitude range, determining the wearing state of the smart glasses as the worn state.

[0019] Furthermore, controlling the working state of the smart glasses based on their wearing status includes: when the smart glasses are determined to be in an unworn state, inputting the first time difference and / or the amplitude of the second feedback ultrasonic wave within a predetermined time period into a wear detection neural network model to obtain an unworn probability, wherein the wear detection neural network model is trained from multiple sample data labeled with actual wearing states, including the first time difference and the amplitude of the second feedback ultrasonic wave; and when the unworn probability is greater than a preset probability threshold, controlling the smart glasses to turn off.

[0020] Thirdly, embodiments of the present invention also provide a computer-readable storage medium storing computer program instructions thereon, wherein the computer program, when executed by a processor, implements the method described in the second aspect.

[0021] Fourthly, embodiments of the present invention also provide a computer program product, including instructions that, when executed on smart glasses, cause the smart glasses to perform the method described in the second aspect.

[0022] This invention provides smart glasses, a wear detection method, a storage medium, and a computer program product. By placing a first speaker and a first microphone on the temples and a second microphone on the frame, the first speaker emits detection ultrasonic waves. When a user wears the smart glasses, their head is positioned in the propagation path of the detection ultrasonic waves. Therefore, a first time difference is determined based on the time it takes for the first microphone to receive the first feedback ultrasonic wave and the time it takes for the first speaker to emit the detection ultrasonic wave. Based on the first time difference and the amplitude of the second feedback ultrasonic wave received by the second microphone, the wearing state of the smart glasses can be determined, and the operating state of the smart glasses can be controlled accordingly. The smart glasses provided by this invention can more intelligently and automatically adapt to different scenarios, allowing for more precise control of the smart glasses' operating mode and reducing power consumption. Attached Figure Description

[0023] The above and other objects, features and advantages of the present invention will become clearer from the following description of embodiments of the invention with reference to the accompanying drawings, in which:

[0024] Figure 1 is a three-dimensional structural diagram of smart glasses according to an embodiment of the present invention;

[0025] Figure 2 is a three-dimensional schematic diagram of the smart glasses in the worn state according to an embodiment of the present invention;

[0026] Figure 3 is a top view of a smart glasses in a worn state according to an embodiment of the present invention;

[0027] Figure 4 is a schematic block diagram of the structure of smart glasses according to an embodiment of the present invention;

[0028] Figure 5 is a schematic block diagram of the structure of smart glasses according to another embodiment of the present invention;

[0029] Figure 6 is a flowchart of a wear detection method according to an embodiment of the present invention;

[0030] Figure 7 is a flowchart illustrating the process of determining the wearing status of smart glasses based on a first time difference and / or the amplitude of a second feedback ultrasonic wave according to an embodiment of the present invention.

[0031] Figure 8 is a flowchart illustrating the process of determining the wearing status of smart glasses based on the amplitude of a first time difference and / or a second feedback ultrasonic wave, according to another embodiment of the present invention.

[0032] Figure 9 is a flowchart illustrating the process of determining the wearing status of smart glasses based on the amplitude of a first time difference and / or a second feedback ultrasonic wave, according to another embodiment of the present invention.

[0033] Figure 10 is a flowchart illustrating the process of determining the wearing status of smart glasses based on a first time difference and / or the amplitude of a second feedback ultrasonic wave, according to another embodiment of the present invention.

[0034] Explanation of reference numerals in the attached figures:

[0035] 10-Eyeglasses body; 11-Eyeglass frame; 111-Nose bridge; 12-Temperature; 13-First connecting structure; 20-First speaker; 30-First microphone; 40-Second microphone; 50-Control circuit; 60-Third microphone; A-Head. Detailed Implementation

[0036] The present application is described below based on embodiments, but it is not limited to these embodiments. In the detailed description of the present application below, certain specific details are described in detail. Those skilled in the art can fully understand the present application without these details. To avoid obscuring the substance of the present application, well-known methods, processes, flows, elements, and circuits are not described in detail.

[0037] Furthermore, those skilled in the art should understand that the accompanying drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.

[0038] Unless the context explicitly requires it, words such as "including" or "contains" throughout the application should be interpreted as including rather than exclusive or exhaustive; that is, meaning "including but not limited to".

[0039] In the description of this application, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0040] This invention provides a smart glasses embodiment. Smart glasses are wearable devices integrating computing, display, sensing, and other advanced technologies, designed to provide users with augmented reality (AR), virtual reality (VR), or mixed reality (MR) experiences while maintaining convenience and comfort in daily use. Smart glasses not only possess the functions of traditional glasses—vision correction, adjustment of visible light, or decoration—but also enable information interaction, environmental perception, and user interface operation through various built-in sensors, cameras, microphones, speakers, and displays. Smart glasses can establish wired or wireless communication connections with other electronic devices (e.g., smartphones, computers) to achieve information interaction. Wireless communication connections can be, for example, short-range transmission technologies such as wireless fidelity (Wi-Fi) and Bluetooth. Wired communication connections can be, for example, universal serial bus (USB) or high-definition multimedia interface (HDMI) connections. This embodiment does not limit the type of communication connection.

[0041] Referring to Figures 1 and 2, in this embodiment, the smart glasses include a glasses body 10 and a speaker and microphone disposed on the glasses body 10. The glasses body 10 includes a frame 11 and two temples 12, which are a left temple 12 and a right temple 12, respectively, and are connected to the left and right ends of the frame 11. Referring to Figure 3, when the user wears the smart glasses, the two temples 12 are located on the left and right sides of the user's head A, respectively. Each temple 12 is connected to the frame 11 via a first connecting structure 13. In some embodiments, the first connecting structure 13 may be a pivot structure, so that the temple 12 can rotate relative to the frame 11 to achieve folding or unfolding of the smart glasses. The glasses body 10 may also include a display device, which may be embedded in the frame 11.

[0042] The smart glasses' speaker includes at least one first speaker 20, which is disposed on the temple 12 and can emit detection ultrasonic waves. The smart glasses' microphone includes at least one first microphone 30, which is disposed on the temple 12 and located to one side of the first speaker 20. In some embodiments, the first speaker 20 and the first microphone 30 disposed on the same temple 12 form an ultrasonic wave transmitting and receiving group. The direction of the detection ultrasonic wave emitted by the first speaker 20 forms a certain angle with the line connecting the first speaker 20 and the first microphone 30. After being reflected by an object along its propagation path, the detection ultrasonic wave can reach the first microphone 30 to form the first feedback ultrasonic wave. The first microphone 30 can be used to receive the first feedback ultrasonic wave, which includes at least a portion of the detection ultrasonic wave. The specific frequency of the detection ultrasonic wave can be determined as needed to ensure the required detection accuracy. In some embodiments, the frequency of the detection signal can be 22000Hz. In some embodiments, the first microphone 30 can be an ultrasonic microphone, and the pickup band of the first microphone 30 is matched with the frequency of the detection ultrasonic wave to reduce interference from ambient sound.

[0043] In this embodiment of the invention, the time difference between the time when the first microphone 30 receives the first feedback ultrasonic wave and the time when the first speaker 20 emits the detection ultrasonic wave is defined as the first time difference. Since the speed of ultrasonic wave propagation in air is relatively constant, the distance between the object and the temple 12 can be determined based on the first time difference. The dashed line with arrows in Figure 3 represents a portion of the detection ultrasonic wave that propagates to the first microphone 30 after being reflected by the user's head A. Referring to Figure 3, when the user wears the smart glasses, at least a portion of the detection ultrasonic wave emitted by the first speaker 20 is reflected by the user's head A, and this portion of the detection ultrasonic wave propagates to the first microphone 30 after being reflected by the user's head A. Therefore, when the user wears the smart glasses correctly, the distance between the user's head A and the first microphone 30 and the first speaker 20 on the temple 12 has a relatively defined range. This range corresponds to the first time difference within a first duration range after at least a portion of the detection ultrasonic wave emitted by the first speaker 20 is reflected by the user's head A and propagates to the first microphone 30. Thus, by comparing the first time difference with the first duration range, it is possible to detect whether the smart glasses are being worn.

[0044] In some embodiments, referring to Figures 1 and 3, the first speaker 20 includes two components, and the first microphone 30 includes two components, with one first speaker 20 and one first microphone 30 respectively disposed on each temple 12. Referring to Figure 3, when the smart glasses are worn, the distance between the two temples 12 and the user's head A is within a certain range. Due to the obstruction of the user's head A, the first speaker 20 on each temple 12 can receive the first feedback ultrasonic wave formed by the reflection of the detection ultrasonic wave emitted by the first microphone 30 on the same temple 12 via the user's head A. Therefore, based on the time difference (first time difference) between the time when the first microphone 30 on the two temples 12 receives the first feedback ultrasonic wave and the time when the first speaker 20 emits the detection ultrasonic wave, the distance between each temple 12 and the object can be determined, thereby more accurately determining the wearing status of the smart glasses. The first speakers 20 on the two temples 12 can emit ultrasonic waves simultaneously; or, the first speakers 20 on the two temples 12 are configured to emit ultrasonic waves alternately at predetermined time intervals. The frequencies of the ultrasonic waves emitted by the first speakers 20 on the two temples 12 can be the same, or they can use different ultrasonic frequency bands.

[0045] Referring to Figures 4 and 5, the smart glasses include a control circuit 50, which is electrically connected to a first speaker 20 and a first microphone 30 to achieve signal transmission. The control circuit 50 may include a processor for controlling the overall operation of the smart glasses and may include one or more processing units. For example, the processor may include at least one of a central processing unit (CPU), application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), video processing unit (VPU), video codec, digital signal processor (DSP), baseband processor, and neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller can generate operation control signals based on instruction opcodes and timing signals to control the acquisition and execution of instructions. The processor may also include a memory for storing instructions and data. The processor executes various functional applications and data processing of the smart glasses by running the instructions stored in the memory. In some embodiments, the memory is a cache memory.

[0046] The control circuit 50 determines a first time difference based on the time when the first microphone 30 receives the first feedback ultrasonic wave and the time when the first speaker 20 emits the detection ultrasonic wave, and determines the wearing state of the smart glasses based at least on the first time difference. The wearing state of the smart glasses includes a worn state and an unworn state. In some embodiments, when the first time difference is within a first duration and its duration exceeds a preset duration, the control circuit 50 can determine the wearing state of the smart glasses as a worn state. The control circuit 50 can control the working state of the smart glasses according to the determined wearing state of the smart glasses.

[0047] In this embodiment, the working state of the smart glasses can include a first state and a second state. After being powered on, the smart glasses can operate in the first state, determining the wearing status by emitting detection ultrasonic waves through a first speaker 20 and receiving ultrasonic waves through a microphone. The first speaker 20 can be configured to emit detection ultrasonic waves at a predetermined interval when the smart glasses are in the first state. This predetermined interval can be appropriately selected according to the needs of the application scenario, for example, it could be 1 second, 2 seconds, etc. When it is determined that the smart glasses are in a worn state, the control circuit 50 controls the smart glasses to remain in the first state; when it is determined that the smart glasses are not in a worn state, the control circuit 50 controls the smart glasses to enter the second state. The power consumption of the smart glasses in the second state is lower than that in the first state. For example, in the second state, at least some functional modules of the smart glasses can be in a power-off state or a sleep state. That is, when the smart glasses are not worn, the control circuit 50 reduces the overall power consumption of the smart glasses by controlling at least some functional modules to enter a power-off state or a sleep state, or by controlling the smart glasses to shut down.

[0048] In this embodiment of the invention, as shown in Figures 1-5, the microphone of the smart glasses further includes at least one second microphone 40. The second microphone 40 is disposed on the frame 11 and used to receive a second feedback ultrasonic wave, which includes at least a portion of a detection ultrasonic wave. The first speaker 20 is positioned such that when the temple 12 is extended, the propagation direction of the detection ultrasonic wave is at least partially directed towards the location of the second microphone 40. When the user is not wearing the smart glasses, there is no obstruction or minimal obstruction between the first speaker 20 and the second microphone 40, resulting in a larger amplitude of the second feedback ultrasonic wave detected by the second microphone 40. When the user is wearing the smart glasses, the user's head A blocks a portion of the detection ultrasonic wave, causing only a portion of the detection ultrasonic wave to propagate to the second microphone 40, resulting in a smaller amplitude of the detected second feedback ultrasonic wave. The unit of this amplitude value can be decibels (dB). That is, when the smart glasses are worn, the amplitude of the second feedback ultrasonic wave detected by the second microphone 40 is attenuated compared to the amplitude of the detected ultrasonic wave when not worn. Therefore, the amplitude of the second feedback ultrasonic wave can reflect the wearing status of the smart glasses to a certain extent, and the control circuit 50 can determine the wearing status of the smart glasses based on the amplitude of the second feedback ultrasonic wave.

[0049] Furthermore, the control circuit 50 can determine the wearing status of the smart glasses by combining the first time difference and the amplitude of the second feedback ultrasonic wave. When the temple 12 is folded, the distance between the temple 12 and the frame or other objects may be close to the distance between the temple 12 and the user's head A when the glasses are worn, causing the determined first time difference to be within a first time duration. Therefore, relying solely on the first time difference to determine the wearing status may lead to misjudgment. However, since the distance between the first speaker 20 and the second microphone 40 is shortened when the temple 12 is folded, the amplitude of the second feedback ultrasonic wave is greater than that when the temple 12 is unfolded. Therefore, the wearing status of the smart glasses can be determined by combining the amplitude of the second feedback ultrasonic wave, which can improve the accuracy of the determination of the wearing status of the smart glasses. In some embodiments, when the first time difference exceeds a first duration range and the amplitude of the second feedback ultrasonic wave exceeds a first amplitude range, it indicates a high probability that the user has removed the smart glasses, and the wearing state of the smart glasses can be determined as an unworn state. When the first time difference is within the first duration range and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the wearing state of the smart glasses is determined as a worn state. The maximum value of the first amplitude range is less than the amplitude of the detection ultrasonic wave emitted by the first speaker 20. The specific values ​​of the first duration range and the first amplitude range can be determined based on wearing tests or simulation test results. For example, the first amplitude range can be 10 dB to 40 dB, etc.

[0050] In some embodiments, the first microphone 30 is disposed between the first speaker 20 and the first connecting structure 13, and the second microphone 40 is disposed between the two first connecting structures 13. Along the propagation path of the detection ultrasonic wave emitted by the first speaker 20, the distance between the second microphone 40 and the first speaker 20 is greater than the distance between the first microphone 30 and the first speaker 20. Furthermore, the position of the second microphone 40 ensures that when the user wears the smart glasses, the detection ultrasonic wave is blocked by the user's head A as it propagates between the first speaker 20 and the second microphone 40. In one embodiment, the frame 11 includes a nose bridge 111, and the second microphone 40 may be disposed at the nose bridge 111.

[0051] The control circuit 50 also determines the wearing status of the smart glasses based on the fluctuation of the first time difference over a certain period of time. Since the smart glasses may shake during daily activities or sports, the first time difference may exceed the first duration range for certain periods during detection. To minimize interference from the shaking of the smart glasses during wear on the accuracy of the wearing status determination, in some embodiments, when the first time difference exceeds the first duration range, the control circuit 50 can also combine the fluctuation of the first time difference to determine the wearing status of the smart glasses. When the first time difference exceeds the first duration range, the control circuit 50 determines the fluctuation of the first time difference based on multiple first time differences prior to the current time. This fluctuation includes the fluctuation amplitude and the fluctuation duration. When the fluctuation amplitude of the first time difference is greater than or equal to a first amplitude threshold and the fluctuation duration is greater than a preset fluctuation duration threshold, it indicates that the smart glasses are highly likely to be removed from the user's head A, and the control circuit 50 can then determine the wearing status of the smart glasses as an unworn state. The first amplitude threshold is greater than the difference between the maximum and minimum values ​​of the first duration range. When the fluctuation amplitude of the first time difference is less than the first amplitude threshold, and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the fluctuation of the first time difference may be caused by the shaking of the smart glasses due to the user's normal activities while wearing them. In this case, the control circuit 50 can determine the wearing state of the smart glasses as "worn". The first amplitude threshold and the fluctuation duration threshold can be determined in advance through experiments or simulations. For example, the specific values ​​of the first amplitude threshold and the fluctuation duration threshold can be determined by recording the changes in the first time difference during the user's removal of the glasses.

[0052] In some embodiments, a wear detection neural network model can be preset in the control circuit 50. This wear detection neural network model is trained using sample data, including the amplitude of a first time difference and a second feedback ultrasonic wave, labeled with the actual wearing state. This sample data can be obtained by collecting the first time difference and the amplitude of the second feedback ultrasonic wave in both the unworn and worn states of the smart glasses during testing. When the wearing state of the smart glasses is determined to be unworn, the first time difference and / or the amplitude of the second feedback ultrasonic wave within a predetermined time period prior to the current time are input into the wear detection neural network model to obtain the unworn probability. When the unworn probability is greater than a preset probability threshold (e.g., 90%, 95%, 98%, etc.), the control circuit 50 controls the smart glasses to turn off.

[0053] In some embodiments, referring to Figures 2 and 5, the microphone of the smart glasses may further include at least one third microphone 60, the pickup frequency band of the third microphone 60 being the human hearing frequency band, to meet the needs of the smart glasses for recording, voice interaction and other functions.

[0054] In some embodiments, the smart glasses' speaker may further include at least one second speaker. The second speaker is used to play sound waves in the audible frequency range. Thus, the smart glasses can detect the wearing status of the smart glasses without the user's awareness while the user is listening to music, making phone calls, or performing other uses.

[0055] This invention also provides a method for detecting wearability of smart glasses, which can be applied to the smart glasses described in at least some of the embodiments above. Figure 6 is a schematic flowchart of a method for detecting wearability according to an embodiment of the present invention. In one embodiment, referring to Figure 6, the method for detecting wearability includes the following steps S100 to S160:

[0056] Step S100: Power on the smart glasses.

[0057] In some embodiments, when the smart glasses receive a preset power-on input from the user (e.g., pressing a power button), the smart glasses power on in response to the input. After the smart glasses are powered on, subsequent step S110 can be executed to initiate the detection of the wearing status.

[0058] The operating states of smart glasses can include a first state and a second state, wherein the power consumption of the smart glasses in the second state is lower than that in the first state. For example, in the second state, at least some functional modules of the smart glasses can be in a power-off state or a sleep state, or the second state is a power-off state. In some embodiments, the smart glasses can enter the first state after being powered on. It should be understood that, in this embodiment, powering on the smart glasses can mean starting from a power-off state, or it can mean entering the first state from a sleep state or with a relatively low power consumption state.

[0059] Step S110: Detection ultrasonic waves are emitted through the first speaker.

[0060] The first speaker 20 of the smart glasses can emit detection ultrasonic waves. Referring to the smart glasses embodiment described above, the smart glasses include a main body 10, which includes a frame 11 and two temples 12. The first speaker 20 is disposed on at least one temple 12. The detection ultrasonic waves have a predetermined frequency; in this embodiment, the frequency of the detection ultrasonic waves can be 22000Hz. Optionally, the first speaker 20 can be configured to emit detection ultrasonic waves at a predetermined period when the smart glasses are in a first state. This predetermined period can be appropriately selected according to the needs of the time-sensitive application scenario, for example, it can be 1 second, 2 seconds, etc.

[0061] Step S120: Receive the first feedback ultrasonic wave through the first microphone.

[0062] When the first speaker 20 emits detection ultrasonic waves, ambient sound waves, including the detection ultrasonic waves emitted by the first speaker 20, can be received by a microphone. The first microphone 30 is disposed on the temple 12 and located to one side of the first speaker 20, so that when the user wears the smart glasses, at least a portion of the detection ultrasonic waves can be reflected by the user's head A to the vicinity of the first speaker 20 to form a first feedback ultrasonic wave. The first microphone 30 is used to pick up the first feedback ultrasonic wave. In some embodiments, the first microphone 30 may be an ultrasonic microphone, and the pickup frequency band of the first microphone 30 is matched to the frequency of the detection ultrasonic wave to reduce interference from ambient sound.

[0063] Step S130: Receive the second feedback ultrasonic wave through the second microphone.

[0064] The second feedback ultrasonic wave includes at least a portion of the detected ultrasonic wave. A second microphone 40 is disposed on the frame 11, and the second microphone 40 is positioned such that when the user wears the smart glasses, at least a portion of the detected ultrasonic wave can be blocked by the user's head A, causing the amplitude of the second feedback ultrasonic wave detected by the second microphone 40 to be attenuated relative to the amplitude of the detected ultrasonic wave when the smart glasses are not worn by the user. In some embodiments, the second microphone 40 may be an ultrasonic microphone, and the pickup frequency of the second microphone 40 is matched to the frequency of the detected ultrasonic wave to reduce interference from ambient sound.

[0065] Step S140: Determine the first time difference.

[0066] After step S120, a first time difference is determined based on the time when the first microphone 30 receives the first feedback ultrasonic wave and the time when the first speaker 20 emits the detection ultrasonic wave. The first time difference can be the difference between the time when the first microphone 30 receives the first feedback ultrasonic wave and the time when the first speaker 20 emits the detection ultrasonic wave, that is, the time it takes for part of the detection ultrasonic wave propagating to the first speaker 20 to reach the first microphone 30 from the first speaker 20.

[0067] Step S150: Determine the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave.

[0068] The wearing status of smart glasses includes a worn state and a non-worn state. The control circuit 50 determines the wearing status of smart glasses by either the first time difference or the amplitude of the second feedback ultrasonic wave alone, or by combining the first time difference and the amplitude of the second feedback ultrasonic wave.

[0069] When a user wears smart glasses, at least a portion of the detection ultrasonic wave emitted by the first speaker 20 is reflected by the user's head A, and this portion of the detection ultrasonic wave propagates to the first microphone 30 after being reflected by the user's head A. Therefore, when the user wears the smart glasses correctly, there is a relatively defined distance range between the user's head A and the first microphone 30 and the first speaker 20 on the temple 12. This distance range corresponds to a first time difference within a first duration range after at least a portion of the detection ultrasonic wave emitted by the first speaker 20 is reflected by the user's head A and propagates to the first microphone 30. Thus, by comparing the first time difference with the first duration range, the wearing status of the smart glasses can be determined. In the worn state, the amplitude of the second feedback ultrasonic wave detected by the second microphone 40 is attenuated compared to the amplitude of the detection ultrasonic wave in the unworn state. Therefore, the amplitude of the second feedback ultrasonic wave can reflect the wearing status of the smart glasses to a certain extent, and thus the wearing status of the smart glasses can be determined based on the amplitude of the second feedback ultrasonic wave.

[0070] In one embodiment, referring to FIG7, determining the wearing state of the smart glasses may include the following steps S210 to S260. Among them, in step S200 of the figure, the acquisition of the first time difference and the amplitude of the second feedback ultrasonic wave may be obtained through the above-mentioned steps S110 to S140, that is, step S200 may include the above-mentioned steps S110-S140.

[0071] Step S210: Determine whether the first time difference is within the first duration range.

[0072] In step S210, if the judgment result is "yes", step S220 is executed. If the judgment result is "no", step S230 is executed.

[0073] It should be understood that, in the case where each temple 12 of the smart glasses described above is respectively equipped with a first speaker 20 and a first microphone 30, when both temples 12 are respectively equipped with a first speaker 20 and a first microphone 30, the working state of the smart glasses can be determined by comprehensively considering the first time difference between the time when the first microphone 30 on the two temples 12 receives the first feedback ultrasonic wave and the time when the first speaker 20 emits the detection ultrasonic wave. Depending on actual needs, during the process of judging whether the first time difference meets a certain condition, the control circuit 50 can determine the above judgment result as "yes" when the first time difference corresponding to the first microphone 30 on any temple 12 meets the predetermined condition; or it can determine the above judgment result as "yes" when the first time differences corresponding to the first microphone 30 on both temples 12 both meet the predetermined condition. For example, when the first speaker 20 and the first microphone 30 of one temple 12 are symmetrically positioned with the first speaker 20 and the first microphone 30 of the other temple 12, and the detection ultrasonic waves emitted by the first speakers 20 on both temples 12 are at the same frequency, in step S210, the judgment result of step S210 can be output as "yes" when the first time difference corresponding to the first microphone 30 on both temples 12 is within the first duration range; and when the first time difference corresponding to the first microphone 30 on either temple 12 exceeds the first duration range, the judgment result of step S210 can be output as "no".

[0074] Step S220: Determine whether the duration of the first time difference within the first duration range is greater than the preset duration.

[0075] In step S220, when the judgment result is "yes", step S240 is executed to determine that the smart glasses are being worn. That is, when the first time difference is within the first duration and the duration exceeds the preset duration, it indicates that there is a high probability that the smart glasses are being worn by the user, and the control circuit 50 can determine that the smart glasses are being worn.

[0076] In step S220, if the judgment result is negative, return to step S200 and continue to acquire the amplitude data of the first time difference and the second feedback ultrasound.

[0077] Step S230: Determine whether the amplitude of the second feedback ultrasonic wave is within the first amplitude range.

[0078] In step S230, if the judgment result is "no", step S250 is executed to determine the wearing state of the smart glasses as worn. That is, when the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, it indicates that there is a high probability that the smart glasses will be removed from the user's head A, and the wearing state of the smart glasses can be determined as unworn.

[0079] In step S230, if the judgment result is "no", it indicates that the smart glasses are still in a certain possibility that they are being worn. At this time, return to step S200 to continue to acquire the amplitude data of the first time difference and the second feedback ultrasonic wave for further judgment.

[0080] In another embodiment, referring to FIG8, when the judgment result of step S210 is yes, step S220' can be used instead of step S220 in the embodiment described in FIG8. In step S220', it is determined whether the amplitude of the second feedback ultrasonic wave is within the first amplitude range, and when the judgment result is "yes", the wearing state of the smart glasses is determined to be the wearing state. That is, when the first time difference is within the first duration range and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the wearing state of the smart glasses is determined to be the wearing state. When the judgment result of step S220' is "no", it returns to step S200 to continue to obtain the first time difference and the amplitude data of the second feedback ultrasonic wave for further judgment. Among them, steps S100, S200, S210, S230, S240 and S250 in FIG8 can be the same as those in the embodiment described above according to FIG7.

[0081] It is easy to understand that when determining the wearing status of smart glasses based on two data points—the first time difference and the amplitude of the second feedback ultrasonic wave—the order of judging whether the first time difference meets a predetermined condition and whether the amplitude of the second feedback ultrasonic wave meets a predetermined condition can be reversed. For example, referring to Figure 9, in one embodiment, step S210' is performed first to determine whether the amplitude of the second feedback ultrasonic wave is within the first amplitude range; then step S220" or step S230' is performed to determine whether the first time difference is within the first duration range. When the result of both steps is "yes" (i.e., the first time difference is within the first duration range and the amplitude of the second feedback ultrasonic wave is within the first amplitude range), the wearing status of the smart glasses is determined to be the worn state; when the result of both steps is "no" (i.e., the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range), the wearing status of the smart glasses is determined to be the unworn state. That is, compared to the embodiment described above with reference to Figure 8, the order of the two steps—judging whether the amplitude of the second feedback ultrasonic wave is within the first amplitude range and judging whether the first time difference is within the first duration range—has been reversed.

[0082] Figure 10 is a schematic flowchart of a wear detection method according to another embodiment of the present invention. Steps S100, S200, S210, S210, S230, S240 and S250 in the figure can be the same as those in the embodiment described above with reference to Figure 7.

[0083] Referring to Figure 10, in one embodiment, when the determination result of step S210 is "no", step S211 is executed. In step S211, the fluctuation state of the first time difference is determined, wherein the fluctuation state includes the fluctuation amplitude and the fluctuation duration. That is, when the first time difference exceeds the first duration range, the fluctuation state of the first time difference is determined based on multiple first time differences prior to the current time.

[0084] After step S211, step S212 is executed to determine whether the fluctuation amplitude of the first time difference is greater than or equal to a preset first amplitude threshold. The first amplitude threshold is greater than the difference between the maximum and minimum values ​​of the first time range. For example, if the first time range is [t1, t2], then the first amplitude threshold t3 > (t2 - t1). If the result of step S212 is "yes", step S213 is executed. If the result of step S213 is "no", step S230 is executed. That is, when the fluctuation amplitude of the first time difference is small, the fluctuation may be due to the shaking of the smart glasses caused by the user's movement. The wearing status of the smart glasses can be determined by combining the amplitude of the second feedback ultrasonic wave. When the fluctuation amplitude of the first time difference is less than the first amplitude threshold, and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the wearing status of the smart glasses can be determined as "worn".

[0085] In step S213, it is determined whether the duration of the fluctuation of the first time difference, which is greater than the first amplitude threshold, is greater than a preset fluctuation duration threshold. If the duration of the fluctuation is greater than the preset fluctuation duration threshold, step S250 is executed, and the wearing state of the smart glasses can be determined as an unworn state. That is, when the first time difference fluctuates at a relatively large amplitude (greater than or equal to the first amplitude threshold) for a certain period of time (greater than the preset fluctuation duration threshold), it indicates that the smart glasses may have been removed from the user's head A, and at this time, the wearing state of the smart glasses can be determined as an unworn state.

[0086] Step S160: Control the working state of the smart glasses according to the wearing status of the smart glasses.

[0087] In some embodiments, when it is determined that the smart glasses are being worn, the smart glasses are controlled to be in a first state; when it is determined that the smart glasses are not being worn, the smart glasses are controlled to be in a second state. This reduces the power consumption of the smart glasses to save energy when the user is not wearing them.

[0088] In some embodiments, a wear detection neural network model can be pre-installed in the smart glasses. This wear detection neural network model is trained using sample data, including the amplitude of a first time difference and a second feedback ultrasonic wave, labeled with the actual wearing state. This sample data can be obtained by collecting the first time difference and the amplitude of the second feedback ultrasonic wave in both the unworn and worn states of the smart glasses during testing. When the wearing state of the smart glasses is determined to be unworn, the first time difference and / or the amplitude of the second feedback ultrasonic wave within a predetermined time period prior to the current time are input into the wear detection neural network model to obtain the unworn probability. When the unworn probability is greater than a preset probability threshold (e.g., 90%, 95%, 98%, etc.), the control circuit 50 controls the smart glasses to power off.

[0089] In this embodiment of the invention, a first speaker 20 and a first microphone 30 are provided on the temple 12, and a second microphone 40 is provided on the frame 11. The first speaker 20 emits detection ultrasonic waves. When the user wears the smart glasses, the user's head A is located in the propagation path of the detection ultrasonic waves. Therefore, a first time difference is determined based on the time when the first microphone 30 receives the first feedback ultrasonic wave and the time when the first speaker 20 emits the detection ultrasonic wave. Based on the first time difference and the amplitude of the second feedback ultrasonic wave received by the second microphone 40, the wearing state of the smart glasses can be determined, and the working state of the smart glasses can be controlled according to the wearing state. The smart glasses provided by this embodiment of the invention can more intelligently and automatically adapt to the scene to more accurately control the working mode of the smart glasses and reduce the power consumption of the smart glasses.

[0090] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus (devices), or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0091] This application is described with reference to flowchart illustrations of methods, apparatus (devices), and computer program products according to embodiments of this application. It should be understood that each step in the flowchart can be implemented by computer program instructions.

[0092] These computer program instructions may be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts. These computer program instructions may also be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce means for implementing the functions specified in one or more flowcharts.

[0093] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program for use by a computer to execute some or all of the above-described method embodiments.

[0094] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0095] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A type of smart glasses, characterized in that, include: The main body of the glasses includes the frame and two temples; A first speaker is disposed on the temple of the mirror, and the first speaker is configured to emit detection ultrasonic waves; A first microphone is disposed on the temple and located on one side of the first speaker. The first microphone is configured to receive a first feedback ultrasonic wave, the first feedback ultrasonic wave including at least a portion of the detection ultrasonic wave. A second microphone is disposed in the frame and configured to receive a second feedback ultrasonic wave, the second feedback ultrasonic wave including at least a portion of the detection ultrasonic wave. as well as A control circuit, electrically connected to the first speaker, the first microphone, and the second microphone, is configured to: A first time difference is determined, which is the time difference between the time when the first microphone receives the first feedback ultrasonic wave and the time when the first speaker emits the detection ultrasonic wave. The wearing status of the smart glasses is determined based on the first time difference and / or the amplitude of the second feedback ultrasonic wave, wherein the wearing status of the smart glasses includes a worn state and an unworn state; and The working state of the smart glasses is controlled according to the wearing status of the smart glasses.

2. The smart glasses according to claim 1, characterized in that, The first speaker includes two components, and the first microphone includes two components, with each temple of the glasses being provided with one first speaker and one first microphone. The first speakers on the two temples are configured to emit ultrasonic waves simultaneously; Alternatively, the first speakers on the two temples are configured to alternately emit ultrasonic waves at predetermined time intervals.

3. The smart glasses according to claim 2, characterized in that, Each temple is connected to the frame via a first connecting structure, the first microphone is located between the first speaker and the first connecting structure, and the second microphone is located between the two first connecting structures.

4. The smart glasses according to claim 1, characterized in that, The smart glasses have a first state and a second state. The power consumption of the smart glasses in the second state is lower than that in the first state. Controlling the working state of the smart glasses based on their wearing status includes: When it is determined that the smart glasses are being worn, the smart glasses are controlled to be in the first state; When it is determined that the smart glasses are not being worn, the smart glasses are controlled to enter the second state.

5. The smart glasses according to claim 1, characterized in that, Determining the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave includes: When the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, the wearing state of the smart glasses is determined to be the unworn state; and When the first time difference is within the first duration and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the wearing state of the smart glasses is determined as the worn state.

6. The smart glasses according to claim 1, characterized in that, Determining the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave includes: When the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, the wearing state of the smart glasses is determined to be the unworn state; and When the first time difference is within the first duration and the duration exceeds the preset duration, the wearing state of the smart glasses is determined as the worn state.

7. The smart glasses according to claim 5 or 6, characterized in that, The control circuit is further configured to: When the first time difference exceeds the first duration range, the fluctuation state of the first time difference is determined, and the fluctuation state includes the fluctuation amplitude and the fluctuation duration. Determining the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave further includes: When the fluctuation amplitude of the first time difference is greater than or equal to the first amplitude threshold and the fluctuation duration is greater than the preset fluctuation duration threshold, the wearing state of the smart glasses is determined as the unwearing state, wherein the first amplitude threshold is greater than the difference between the maximum and minimum values ​​of the first duration range.

8. The smart glasses according to claim 7, characterized in that, Determining the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave further includes: When the fluctuation amplitude of the first time difference is less than the first amplitude threshold, and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the wearing state of the smart glasses is determined as the worn state.

9. The smart glasses according to claim 1, characterized in that, Controlling the working state of the smart glasses based on their wearing status includes: When the wearing state of the smart glasses is determined to be an unworn state, the first time difference and / or the amplitude of the second feedback ultrasonic wave within a predetermined time period are input into the wearing detection neural network model to obtain the unworn probability. The wearing detection neural network model is trained using multiple sample data points labeled with actual wearing states, including the first time difference and the amplitude of the second feedback ultrasonic wave. When the probability of not wearing the glasses exceeds a preset probability threshold, the smart glasses are powered off.

10. A method for detecting the wearing of smart glasses, the smart glasses comprising a main body, the main body comprising a frame and two temples, characterized in that, The method includes: The detection ultrasonic wave is emitted by a first speaker, which is located on the temple of the mirror. A first feedback ultrasonic wave is received via a first microphone, the first feedback ultrasonic wave including at least a portion of the detection ultrasonic wave, and the first microphone is located on the temple of the glasses. A second feedback ultrasonic wave is received via a second microphone, the second feedback ultrasonic wave including at least a portion of the detection ultrasonic wave, and the second microphone is disposed in the frame. A first time difference is determined, which is the time difference between the time when the first microphone receives the first feedback ultrasonic wave and the time when the first speaker emits the detection ultrasonic wave. The wearing status of the smart glasses is determined based on the first time difference and / or the amplitude of the second feedback ultrasonic wave, wherein the wearing status of the smart glasses includes a worn state and an unworn state; and The working state of the smart glasses is controlled according to the wearing status of the smart glasses.

11. The method according to claim 10, characterized in that, The smart glasses have a first state and a second state. The power consumption of the smart glasses in the second state is lower than that in the first state. Controlling the working state of the smart glasses based on their wearing status includes: When it is determined that the smart glasses are being worn, the smart glasses are controlled to be in the first state; as well as When it is determined that the smart glasses are not being worn, the smart glasses are controlled to enter the second state.

12. The method according to claim 10, characterized in that, Determining the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave includes: When the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, the wearing state of the smart glasses is determined to be the unworn state; and When the first time difference is within the first duration and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the wearing state of the smart glasses is determined as the worn state.

13. The method according to claim 10, characterized in that, Determining the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave includes: When the first time difference exceeds the first duration range and the amplitude of the second feedback ultrasonic wave exceeds the first amplitude range, the wearing state of the smart glasses is determined to be the unworn state; and When the first time difference is within the first duration and the duration exceeds the preset duration, the wearing state of the smart glasses is determined as the worn state.

14. The method according to claim 12 or 13, characterized in that, The method further includes: When the first time difference exceeds the first duration range, the fluctuation state of the first time difference is determined, and the fluctuation state includes the fluctuation amplitude and the fluctuation duration. Determining the wearing status of the smart glasses based on the first time difference and / or the amplitude of the second feedback ultrasonic wave further includes: When the fluctuation amplitude of the first time difference is greater than or equal to the first amplitude threshold and the fluctuation duration is greater than a preset fluctuation duration threshold, the wearing state of the smart glasses is determined to be the unwearing state, wherein the first amplitude threshold is greater than the difference between the maximum and minimum values ​​of the first duration range; and When the fluctuation amplitude of the first time difference is less than the first amplitude threshold, and the amplitude of the second feedback ultrasonic wave is within the first amplitude range, the wearing state of the smart glasses is determined as the worn state.

15. The method according to claim 10, characterized in that, Controlling the working state of the smart glasses based on their wearing status includes: When the wearing state of the smart glasses is determined to be an unworn state, the first time difference and / or the amplitude of the second feedback ultrasonic wave within a predetermined time period are input into the wearing detection neural network model to obtain the unworn probability. The wearing detection neural network model is trained using multiple sample data points labeled with actual wearing states, including the first time difference and the amplitude of the second feedback ultrasonic wave. When the probability of not wearing the glasses exceeds a preset probability threshold, the smart glasses are powered off.

16. A computer-readable storage medium storing computer program instructions thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 10 to 15.

17. A computer program product comprising instructions, characterized in that, When the instructions are executed on the smart glasses, the smart glasses cause the smart glasses to perform the method as described in any one of claims 10 to 15.