Glasses control method, glasses, device and storage medium
By using detection electrodes on smart glasses to obtain the user's EMG signals, intelligently identify the user's scene and interact, solving the problem of a single interactive method of existing smart glasses, achieving a smarter user interaction experience, and reducing hardware cost.
Patent Information
- Application Number
- CN202311022043.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-14
- Publication Date
- 2025-02-21
AI Technical Summary
Existing smart glasses have a relatively single interaction method during human-computer interaction, and cannot provide users with a more intelligent interactive experience.
By setting a detection electrode on the glasses, detecting the wearing state of the glasses, and obtaining the user's EMG signal in the wearing state, determining the scene where the user is located based on the electromyography signal, and then controlling the glasses to display the information corresponding to the scene.
It realizes intelligent identification of the scenes where the user is located and performs different humanized interactions according to the scene, providing users with a more intelligent interactive experience, while reducing hardware costs and simplifying the structure of glasses.
Smart Images

Figure CN119493465A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and in particular, relates to a method for controlling glasses, glasses, a device and a storage medium. Background Art
[0002] With the development of technology, wearable devices such as smart glasses have begun to emerge and gradually mature. The functions of smart glasses are becoming more and more powerful. For example, they can realize human-computer interaction through touch operation, which brings a lot of convenience to users' lives and work. However, in related technologies, the interaction mode of smart glasses with users is relatively single, which cannot provide users with a more intelligent interactive experience. Summary of the invention
[0003] The embodiments of the present application provide a glasses control method, device, storage medium and glasses, which can provide users with a more intelligent interactive experience when the glasses perform human-computer interaction with the user.
[0004] In a first aspect, an embodiment of the present application provides a method for controlling glasses, wherein the glasses are provided with detection electrodes, and the method comprises:
[0005] Detecting the wearing state of the glasses by means of the detection electrodes;
[0006] If the glasses are in a worn state, obtaining the user's electromyographic signal through the detection electrodes;
[0007] Determining the scene where the user is located according to the electromyographic signal;
[0008] The glasses are controlled to display information corresponding to the scene.
[0009] In a second aspect, an embodiment of the present application provides a pair of glasses, comprising detection electrodes, a memory, and a processor, wherein the processor is used to execute the method provided in the embodiment of the present application by calling a computer program stored in the memory.
[0010] In a third aspect, an embodiment of the present application provides a control device for glasses, the control device comprising:
[0011] A detection module, used for detecting the wearing state of the glasses through the detection electrodes;
[0012] an acquisition module, configured to acquire the user's electromyographic signal through the detection electrodes if the glasses are in the worn state;
[0013] A determination module, used to determine the scene where the user is located according to the electromyographic signal;
[0014] A control module is used to control the glasses to display information corresponding to the scene.
[0015] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the method provided by the embodiment of the present application.
[0016] In the embodiment of the present application, the detection electrodes used to detect the wearing state of the glasses are reused to obtain the user's electromyographic signals, and the scene in which the user is located is intelligently determined based on the electromyographic signals, and the glasses can be controlled to display information corresponding to the scene according to different scenes, such as when the glasses recognize that the user is eating, the icon of the food can be displayed, or the user can be asked whether the food is delicious, or the food that the user is eating can be recognized through the camera of the glasses, and the cooking method or other related information of the food can be pushed, or when the glasses recognize that the user is eating, other delicacies around can be pushed, etc. Therefore, the glasses of the embodiment of the present application obtain the user's electromyographic signals by reusing the detection electrodes used to detect the wearing state of the glasses. On the one hand, it can intelligently identify the scene in which the user is located, and according to different scenes, different humanized interactions can be performed with the user, and different information interactions can be provided to the user, thereby providing the user with a more intelligent interactive experience; on the other hand, the embodiment of the present application does not need to set two detection electrodes respectively for determining the wearing state of the glasses and determining the scene in which the user is located, and does not need to increase the number of detection electrodes used, which reduces the hardware cost, reduces the space occupied by the detection electrodes, and simplifies the overall structure of the glasses. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The technical solution and beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.
[0018] Figure 1 This is a first flow chart of the method for controlling glasses provided in an embodiment of the present application.
[0019] Figure 2 A second flow chart of the method for controlling glasses provided in an embodiment of the present application.
[0020] Figure 3 A schematic diagram of the first structure of the glasses provided in an embodiment of the present application.
[0021] Figure 4 A schematic diagram of the first position of the detection electrode provided in an embodiment of the present application.
[0022] Figure 5 A schematic diagram of the first structure of some glasses provided in the embodiment of the present application
[0023] Figure 6 A second structural schematic diagram of some glasses provided in an embodiment of the present application.
[0024] Figure 7 A second structural schematic diagram of the detection electrode setting position provided in an embodiment of the present application.
[0025] Figure 8 A third structural schematic diagram of a portion of glasses provided in an embodiment of the present application.
[0026] Fig. 9 This is a fourth structural schematic diagram of some glasses provided in an embodiment of the present application.
[0027] Fig.10 This is a schematic diagram of the first structure of the touch area provided in an embodiment of the present application.
[0028] Fig.11 A second structural schematic diagram of the touch area provided in an embodiment of the present application.
[0029] Fig.12 A second structural schematic diagram of the glasses provided in an embodiment of the present application.
[0030] Fig.13 A schematic diagram of the structure of a control device for glasses provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] Please refer to the drawings, where the same component symbols represent the same components. The principle of the present application is illustrated by implementing it in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.
[0032] It can be understood that the execution subject of the embodiment of the present application can be glasses.
[0033] See also Figure 1 , Figure 1 1 is a schematic diagram of a first flow chart of a method for controlling glasses provided in an embodiment of the present application. The flow chart of the method for controlling glasses provided in an embodiment of the present application may include:
[0034] 101. Detect the wearing status of the glasses by detecting electrodes.
[0035] In an embodiment of the present application, the glasses include a detection electrode, and the glasses wearing state can be detected by the detection electrode. The glasses wearing state is, for example, a wearing state and a non-wearing state, wherein the glasses include temples, and the temples include an inner side for fitting the human body, and the detection electrode is arranged on the inner side. The detection electrode can detect the glasses wearing state by acquiring a glasses wearing state signal. Exemplarily, if it is detected that the capacitance value formed by the detection electrode and the human body is within a preset range, the glasses wearing state is determined to be a worn state, otherwise the glasses wearing state is determined to be a non-wearing state. It can be understood that when the user wears the glasses, the human body and the detection electrode can form a capacitor, and the capacitance value detected by the detection electrode will change. For example, when the user wears the glasses, the capacitance value detected by the detection electrode is large, and when the user does not wear the glasses, the capacitance value detected by the detection electrode is very small, so that the glasses wearing state can be obtained by whether the obtained capacitance value is within a preset range. In another example, the detection electrode can also be located at the bridge of the nose, and the detection electrode can be in contact with the user's skin. The embodiment of the present application does not limit the specific position of the detection electrode.
[0036] In 102, if the glasses are in the worn state, the electromyographic signal of the user is acquired through the detection electrodes.
[0037] In the embodiment of the present application, in order to enrich the human-computer interaction mode of the glasses, the detection electrodes used to detect the wearing status of the glasses are reused to detect the user's electromyographic signal, which is the superposition of motor unit action potentials (MUAPs) in many muscle fibers in time and space. That is, in the embodiment of the present application, the detection electrodes can be used to obtain the glasses wearing status signal and the user's electromyographic signal, and there is no need to set two detection electrodes respectively for obtaining the glasses wearing status signal and the user's electromyographic signal, which reduces the number of detection electrodes used, reduces the hardware cost, and simplifies the overall structure of the glasses. Among them, the detection electrode needs to directly contact the human skin to achieve compatible detection of the user's electromyographic signal.
[0038] In 103, the scene where the user is located is determined according to the electromyographic signal.
[0039] The embodiments of the present application can determine the scene the user is in through electromyographic signals, and the scenes may be, for example, eating, talking, fatigue, yawning, etc. It is understandable that since the temples of the glasses are worn on the ears, when in different scenes, such as when the user is talking, eating, blinking, yawning, etc., it will drive the facial muscles to move, which will pull or affect the electromyographic signal collection of the ear to a certain extent. Therefore, when in different scenes, the electromyographic signals obtained by the detection electrodes are different. For example, the amplitude, voltage, change characteristics, frequency and other data features of the electromyographic signals are different. For example, the amplitude of the electromyographic signal is generally proportional to the strength of the muscle movement, and can accurately reflect the autonomous contraction force of the muscle. When the user is eating, due to the chewing force, the amplitude of the electromyographic signal obtained by the detection electrode is larger. When the user is talking, the amplitude of the electromyographic signal is relatively small. Therefore, the electromyographic signal can be pre-set. The data features are associated with the scenes. For example, the electromyographic signals of different scenes can be collected and the data features of the electromyographic signals can be classified. Different categories correspond to different scenes. Therefore, when the detection electrode acquires the electromyographic signal of the user, the scene in which the user is located can be accurately determined based on the currently acquired electromyographic signal. For example, when the data feature of the electromyographic signal is in the first category, it is considered that the scene in which the user is located is eating; when the data feature of the electromyographic signal is in the second category, it is considered that the scene in which the user is located is speaking; when the data feature of the electromyographic signal is in the third category, it is considered that the scene in which the user is located is fatigue; and when the data feature of the electromyographic signal is not in the existing category, it can be considered that the scene in which the current user is located cannot be identified.
[0040] In 104 , the glasses are controlled to display information corresponding to the scene.
[0041] In the embodiment of the present application, the detection electrodes can be reused to obtain electromyographic signals, and the scene in which the user is located can be determined based on the electromyographic signals, so as to control the glasses to display information corresponding to the scene. That is, the glasses in the embodiment of the present application can intelligently identify the scene through the detection electrodes, and can perform humanized and intelligent human-computer interaction with the user based on the scene. Exemplarily, corresponding display information is generated based on the scene and displayed on the glasses, or further interacted. For example, when the glasses recognize that the user is eating, the icon of the food can be displayed, and the user can be asked whether the food is delicious, or the camera of the glasses can be used to recognize the food the user is eating and push the cooking method or other related information of the food, or when the glasses recognize that the user is eating, other delicious foods around can be pushed, etc.; in another example, when the glasses recognize that the user is talking, the talking icon can be displayed, or the glasses can also interact with the user and obtain the keywords of the user's talking, such as when the user mentions the weather conditions, then weather-related information can be pushed; in another example, when the glasses recognize that the scene is fatigue, the icon of rest can be displayed to prompt the user to rest, or light music can be played, etc. Therefore, the glasses of the embodiment of the present application obtain the user's electromyographic signal by reusing the detection electrodes for detecting the wearing status of the glasses. On the one hand, it can intelligently identify the scene, and according to the scene, it can perform different humanized interactions with the user, provide different information interactions for the user, and thus provide the user with a more intelligent interactive experience; on the other hand, the embodiment of the present application does not need to set two detection electrodes respectively for determining the wearing status of the glasses and determining the scene, and does not need to increase the number of detection electrodes used, which reduces the hardware cost, reduces the space occupied by the detection electrodes, and simplifies the overall structure of the glasses.
[0042] See also Figure 2 , Figure 2 A second flow chart of the method for controlling glasses provided in the embodiment of the present application. The flow chart of the method for controlling glasses provided in the embodiment of the present application may include:
[0043] In 201 , the wearing state of the glasses is detected by detecting electrodes.
[0044] In an embodiment of the present application, the glasses include a detection electrode, and the glasses wearing state can be detected by the detection electrode. The glasses wearing state is, for example, a wearing state and a non-wearing state, wherein the glasses include temples, and the temples include an inner side for fitting the human body, and the detection electrode is arranged on the inner side. The detection electrode can detect the glasses wearing state by acquiring a glasses wearing state signal. Exemplarily, if it is detected that the capacitance value formed by the detection electrode and the human body is within a preset range, the glasses wearing state is determined to be a worn state, otherwise the glasses wearing state is determined to be a non-wearing state. It can be understood that when the user wears the glasses, the human body and the detection electrode can form a capacitor, and the capacitance value detected by the detection electrode will change. For example, when the user wears the glasses, the capacitance value detected by the detection electrode is large, and when the user does not wear the glasses, the capacitance value detected by the detection electrode is very small, so that the glasses wearing state can be obtained by whether the obtained capacitance value is within a preset range. In another example, the detection electrode can also be located at the bridge of the nose, and the detection electrode can be in contact with the user's skin. The embodiment of the present application does not limit the specific position of the detection electrode.
[0045] In 202, if the glasses are in the worn state, the user's electromyographic signal is acquired through the detection electrodes.
[0046] In the embodiment of the present application, in order to enrich the human-computer interaction mode of the glasses, the detection electrodes used to detect the wearing status of the glasses are reused to detect the user's electromyographic signal, which is the superposition of motor unit action potentials (MUAPs) in many muscle fibers in time and space. That is, in the embodiment of the present application, the detection electrodes can be used to obtain the glasses wearing status signal and the user's electromyographic signal, and there is no need to set two detection electrodes respectively for obtaining the glasses wearing status signal and the user's electromyographic signal, which reduces the number of detection electrodes used, reduces the hardware cost, and simplifies the overall structure of the glasses. Among them, the detection electrode needs to directly contact the human skin to achieve compatible detection of the user's electromyographic signal.
[0047] Exemplarily, when the glasses are in the worn state, it can be detected whether the electromyography detection function of the glasses is turned on. If the electromyography detection function is turned on, the detection electrodes are switched to obtain the electromyography signal of the user.
[0048] In 203, the scene where the user is located is determined according to the electromyographic signal.
[0049] The embodiments of the present application can determine the scene the user is in through electromyographic signals, and the scenes may be, for example, eating, talking, fatigue, yawning, etc. It is understandable that since the temples of the glasses are worn on the ears, when in different scenes, such as when the user is talking, eating, blinking, yawning, etc., it will drive the facial muscles to move, which will pull or affect the electromyographic signal collection of the ear to a certain extent. Therefore, when in different scenes, the electromyographic signals obtained by the detection electrodes are different. For example, the amplitude, voltage, change characteristics, frequency and other data features of the electromyographic signals are different. For example, the amplitude of the electromyographic signal is generally proportional to the strength of the muscle movement, and can accurately reflect the autonomous contraction force of the muscle. When the user is eating, due to the chewing force, the amplitude of the electromyographic signal obtained by the detection electrode is larger. When the user is talking, the amplitude of the electromyographic signal is relatively small. Therefore, the electromyographic signal can be pre-set. The data features are associated with the scenes. For example, the electromyographic signals of different scenes can be collected and the data features of the electromyographic signals can be classified. Different categories correspond to different scenes. Therefore, when the detection electrode acquires the electromyographic signal of the user, the scene in which the user is located can be accurately determined based on the currently acquired electromyographic signal. For example, when the data feature of the electromyographic signal is in the first category, it is considered that the scene in which the user is located is eating; when the data feature of the electromyographic signal is in the second category, it is considered that the scene in which the user is located is speaking; when the data feature of the electromyographic signal is in the third category, it is considered that the scene in which the user is located is fatigue; and when the data feature of the electromyographic signal is not in the existing category, it can be considered that the scene in which the current user is located cannot be identified.
[0050] In 204, the glasses are further provided with a touch area. If the touch area receives touch information, a target control instruction is generated according to the touch information and the scene, wherein the touch information generates different control instructions in different scenes.
[0051] In 205 , the glasses are controlled to perform corresponding operations according to the target control instruction.
[0052] In one embodiment, the glasses are further provided with a touch area. Specifically, the glasses also include temples, the temples include an outer side away from the user and a top side connected to the outer side, a first touch circuit is provided on the outer side, and a second touch circuit is provided on the top side, the first touch circuit and the second touch circuit are used to detect touch information, that is, the touch area can be set on the outer side of the temple and the top side of the temple.
[0053] In the embodiment of the present application, when the eyewear state is the worn state, the detection electrode can obtain the electromyographic signal to determine the scene in which the user is located, and when the touch area, such as the top side or the outer side of the glasses, receives the touch information, a target control instruction can be generated according to the touch information and the scene, wherein the touch information generates different control instructions in different scenes. That is, when the user is in different scenes, even if the user performs the same touch operation and the touch area receives the same touch information, the generated target control instructions can also be different. For example, the user can pre-set the target control instructions corresponding to the touch information in different scenes according to his own usage habits. For example, when the scene is detected that the user is eating, a single-click operation can control the camera to shoot food to introduce the food, or a single-click operation can play a food program; when the scene is detected that the user is talking, a single-click operation can control recording, or search for the content of the speech; when the scene is detected that the user is in a fatigued state, a single-click operation can play music or stop playing, etc., so that the embodiment of the present application can intelligently identify the scene, and when in different scenes, the user can generate different target control instructions through pre-set simple touch operations, so that the user can quickly and easily control the glasses to perform corresponding operations.
[0054] In one embodiment, after a scene is detected, the focus can be automatically moved to different control options according to the scene. For example, the user can pre-set the correspondence between different scenes and control options according to their own usage habits, so that when the user is in different scenes, the glasses can be quickly controlled through simple touch operations. For example, the control options can be: content playback, volume, brightness, etc. When the user is in a scene where the user is eating, the focus can be automatically moved to content playback, so when the user slides left and right in the touch area, different content such as different music, videos or pictures can be switched to play; when the user is in a scene where the user is talking, the focus can be automatically moved to the volume option, so when the user slides left and right in the touch area, the volume can be adjusted; when the user is in a scene where the user is in a state of fatigue, the focus can be automatically moved to the brightness option, so when the user slides left and right, the brightness can be adjusted, and so on. Therefore, when the user is in different scenes, different target control instructions can be generated through simple touch operations. There is no need to switch control options before adjusting the corresponding control options, nor is there a need to remember various touch operation methods to adjust different control options. This allows users to simply and quickly control the glasses to perform corresponding operations. When the user interacts with the glasses, the glasses can provide the user with a more intelligent interactive experience.
[0055] In one embodiment, the detection electrode can be used to obtain the glasses wearing state signal to detect the wearing state of the glasses, and to obtain the electromyographic signal to determine the scene in which the user is located. Moreover, since the glasses wearing state signal or the electromyographic signal obtained by the detection electrode are both small signals, such as the amplitude is in the order of uV to mV, the detection electrode can use time division multiplexing to take turns to obtain the glasses wearing state signal and the electromyographic signal to avoid mutual interference between the two signals. Exemplarily, after the glasses are turned on, the detection electrode can obtain the glasses wearing state signal to detect the glasses wearing state. When the glasses wearing state is the worn state, then determine whether the electromyographic detection function of the glasses is turned on. If so, switch the detection electrode to obtain the user's electromyographic signal to determine the scene in which the user is located according to the electromyographic signal. After a preset time, switch the detection electrode to detect the glasses wearing state. If the glasses wearing state is the unworn state, the detection electrode intermittently detects the glasses wearing state; if the glasses wearing state is the worn state, switch the detection electrode to obtain the user's electromyographic signal. Among them, the preset duration can be set as needed, for example, it can be 3s, 4s, 5s, 10s, etc. Therefore, the wearing status of the glasses can be detected every 4s. When the glasses are in the worn state, the detection electrode is switched to obtain the user's electromyographic signal.
[0056] In one embodiment, when the electromyographic signal obtained by the detection electrode exceeds the preset range for multiple times, the detection electrode can be switched to detecting the glasses wearing state. It can be understood that when the electromyographic signal obtained by the detection electrode is not within the preset range for multiple times, the detection electrode may not be working normally. For example, the glasses may not be worn at present. Therefore, the detection electrode can be switched to detecting the glasses wearing state to determine the current glasses wearing state.
[0057] In one embodiment, if the electromyography detection function of the glasses is not turned on, then when the touch area receives touch information, different touch instructions can be generated according to the touch information to control the glasses. For example, single-click, double-click, swipe up, swipe down and other touch operations correspond to different control instructions.
[0058] See also Figure 3 , Figure 3 A schematic diagram of the first structure of the glasses provided in an embodiment of the present application.
[0059] The embodiment of the present application also provides a pair of glasses 300, including a main body 301 and temples 302; the temples are connected to the main body 301, and detection electrodes 303 are provided on the temples 302; the detection electrodes 303 are used to detect the wearing state of the glasses; if the wearing state of the glasses is the worn state, the detection electrodes 303 are also used to obtain the user's electromyographic signal, and determine the scene the user is in according to the electromyographic signal, and control the main body 301 to display information corresponding to the scene.
[0060] Please refer to Figure 4 , Figure 4 The first position diagram of the detection electrode provided in the embodiment of the present application, the temple 302 includes an inner side for fitting the human body, and the detection electrode 303 is arranged on the inner side. The detection electrode 303 needs to directly contact the human skin to achieve compatible detection of the user's electromyographic signal.
[0061] In one embodiment, please refer to Figure 5 , Figure 5 The present invention provides a first structural diagram of some glasses provided in an embodiment of the present application, wherein the glasses 300 include a switching circuit 304, a glasses wearing detection circuit 305, and an electromyography detection circuit 306, wherein the glasses wearing detection circuit 305 and the electromyography detection circuit 306 are connected to the detection electrode 303 via the switching circuit 304; the glasses wearing detection circuit 305 is connected to the detection electrode 303 via the switching circuit 304; if the glasses wearing detection circuit 305 determines through the detection electrode 303 that the glasses 300 are in a worn state, the switching circuit 304 is controlled to switch the detection electrode 303 to be connected to the electromyography detection circuit 306.
[0062] It can be understood that since the glasses wearing status signal or electromyographic signal obtained by the detection electrode 303 is a small signal, such as an amplitude in the order of uV to mV, illustratively, the detection electrode 303 can obtain the glasses wearing status signal or electromyographic signal in turn by time division multiplexing. The switching circuit 304 can be, for example, a multi-way switch, and the detection electrode is connected to the glasses wearing detection circuit 305 and the electromyographic detection circuit 306 through the multi-way switch in a time-sharing manner. When the detection electrode 303 is used to obtain the glasses wearing status signal to detect the wearing status of the glasses 300, the detection electrode 303 is connected to the glasses wearing detection circuit 305 through the multi-way switch and disconnected from the electromyographic detection circuit 306. When the detection electrode 303 is used to obtain the user's electromyographic signal to determine the scene the user is in, the detection electrode 303 is connected to the electromyographic detection circuit 306 through the multi-way switch and disconnected from the glasses wearing detection circuit 305.
[0063] In one embodiment, please refer to Figure 6 , Figure 6A second structural diagram of some glasses provided in an embodiment of the present application. The glasses also include: a glasses wearing detection circuit 305, which is used to determine the wearing state of the glasses 300 according to the glasses wearing state signal obtained by the detection electrode 303; an electromyography detection circuit 306, which is used to determine the scene in which the user is located according to the electromyography signal obtained by the detection electrode 303; a first filter 307, which is connected between the detection electrode 303 and the glasses wearing detection circuit 305, and the first filter 307 is used to filter out signals other than the glasses wearing state signal; a second filter 308, which is connected between the detection electrode 303 and the electromyography detection circuit 306, and the second filter 308 is used to filter out signals other than the electromyography signal.
[0064] Among them, the detection electrode 303 can simultaneously obtain the glasses wearing status signal and the electromyographic signal. It can be understood that the frequencies of the glasses wearing status signal and the electromyographic signal are different. For example, the frequency of the electromyographic signal is 20HZ-150HZ, and the frequency of the glasses wearing status signal is 100KHZ-500KHZ. Therefore, the first filter 307 can be used to filter out signals other than the glasses wearing status signal, such as filtering out signals other than 100KHZ-500KHZ, and retaining signals between 100KHZ-500KHZ for detecting the glasses wearing status, and the second filter 308 can be used to filter out signals other than the electromyographic signal, such as signals other than 20HZ-150HZ, so as to retain signals between 20HZ-150HZ for scene detection.
[0065] Please continue to refer to Figure 6 The detection electrode 303 can be connected to the glasses wearing detection circuit 305 through the first filter 307, and the detection electrode 303 can be connected to the electromyography detection circuit 306 through the second filter 308. The signal acquired by the detection electrode 303 passes through the first filter 307 to obtain a glasses wearing status signal. The glasses wearing detection circuit 305 can detect the wearing status of the glasses according to the glasses wearing status signal. The signal acquired by the detection electrode 303 can carry an electromyography signal through the second filter 308. The electromyography detection circuit 306 can determine the scene where the user is located according to the electromyography signal.
[0066] In one embodiment, please refer to Figure 7 , Figure 7A second structural schematic diagram of the detection electrode setting position provided in the embodiment of the present application. The detection electrode 303 is not only used to obtain the glasses wearing state signal to detect the glasses wearing state and obtain the user's electromyographic signal to determine the scene, but also to obtain the user's heart rate signal to determine the user's heart rate state, that is, the glasses 300 can also use the detection electrode 303 to perform heart rate state detection, that is, ECG detection. Exemplarily, the glasses 300 include two temples 302, each of which is provided with a detection electrode 303, and the glasses 300 are also provided with a second detection electrode 309, and the two detection electrodes 303 and the second detection electrode 309 cooperate to achieve heart rate detection. Specifically, when the second detection electrode 309 is touched by the user and the glasses 300 are in the wearing state, the three electrodes can form an I lead, forming a heart rate ECG measurement path. Therefore, the detection electrode 303 can be controlled to switch to obtain the heart rate signal to determine the user's heart rate state, and control the glasses 300 according to the heart rate state. For example, based on the user's heart rate state, corresponding prompt information is generated and displayed on the glasses 300 to further enhance the intelligence of human-computer interaction, so that the detection electrode 303 integrates more functional applications and provides users with a more intelligent interactive experience.
[0067] Exemplarily, the second detection electrode 309 can be a physical button on the glasses 300. When the glasses 300 are not used to determine the heart rate state, the user can use the physical button to achieve normal control of the glasses 300. For example, a single click can control the glasses 300 to turn off or on the screen, a long press for 1 second can wake up the voice assistant, a long press for 5 seconds can shut down or restart, and a long press for 2 seconds when shutting down can turn on the computer, etc. The embodiment of the present application does not limit the specific control method of the physical button, and it can be set as needed. In addition, the second detection electrode 309 can be set at any position of the frame or temple of the glasses 300 as needed, and the embodiment of the present application does not limit this.
[0068] Please refer to Figure 8 , Figure 8This is a third structural schematic diagram of some glasses provided in an embodiment of the present application. When the glasses 300 perform heart rate state detection, the glasses may further include a heart rate detection circuit 310 (ECG detection circuit). The detection electrode 303 may be connected or disconnected with the glasses wearing detection circuit 305, the electromyography detection circuit 306, and the heart rate detection circuit 310 through a switching circuit, such as a multi-way switch. When the detection electrode 303 is used to obtain a glasses wearing state signal to detect the glasses wearing state, the detection electrode 303 is connected to the glasses wearing detection circuit 305 through the multi-way switch. It is disconnected from the electromyography detection circuit 306 and the heart rate detection circuit 310. When the detection electrode 303 is used to obtain the user's electromyography signal to determine the scene, the detection electrode 303 is connected to the electromyography detection circuit 306 through a multi-way switch and is disconnected from the glasses wearing detection circuit 305 and the heart rate detection circuit 310. When the detection electrode 303 is used to obtain the user's heart rate information to determine the heart rate state, the detection electrode 303 is connected to the heart rate detection circuit 310 through the multi-way switch and is disconnected from the glasses wearing detection circuit 305 and the electromyography detection circuit 306.
[0069] For another example, see Fig. 9 , Fig. 9 The fourth structural schematic diagram of some glasses provided in the embodiment of the present application, the detection electrode 303 can also simultaneously obtain the glasses wearing status signal, the electromyographic signal and the heart rate signal. It can be understood that the frequencies of the glasses wearing status signal, the electromyographic signal and the heart rate signal are different. Therefore, the glasses wearing detection circuit 305 is connected to the detection electrode 303 through the first filter 307, the electromyographic detection circuit 306 is connected to the detection electrode 303 through the first filter 313, and the heart rate detection circuit 310 is connected to the detection electrode 303 through the third filter 311, wherein the third filter 311 is used to filter out signals other than the heart rate signal, so that the glasses wearing detection circuit 305 can obtain the glasses wearing status signal through the first filter 307, the electromyographic detection circuit 306 can obtain the user's electromyographic signal through the second filter 308, and the heart rate detection circuit 310 can obtain the user's heart rate signal through the third filter 311.
[0070] It should be noted that the glasses wearing detection circuit 305 , the electromyography detection circuit 306 and the heart rate detection circuit 310 may be integrated into a processor or may be independently provided.
[0071] In one embodiment, please refer to Fig.10 , Fig.10The first structural schematic diagram of the touch area provided in the embodiment of the present application. The glasses 300 are also provided with a touch area. Specifically, the glasses 300 also include temples 302. The temples 302 include an outer side away from the user and a top side connected to the outer side. A first touch circuit 312 is provided on the outer side, and a second touch circuit 313 is provided on the top side. The first touch circuit 312 and the second touch circuit 313 are used to detect touch information. That is, the touch area includes a first touch area 314 and a second touch area 315. The first touch area 314 is provided on the outer side of the temple, and the second touch area 315 is provided on the top side of the temple. The first touch circuit 312 is provided in the first touch area 314, and the second touch circuit 313 is provided in the second touch area 315.
[0072] In one embodiment, Fig.11A second structural schematic diagram of the touch area provided in an embodiment of the present application. The first touch circuit 312 includes a first touch electrode TX1 and a second touch electrode RX1 that are staggered; the second touch circuit 313 includes a third touch electrode TX2 and a fourth touch electrode RX2 that are staggered; the first touch electrode TX1 and the third touch electrode TX2 are arranged in parallel, and the second touch electrode RX1 is connected to the fourth touch electrode RX2. That is, the first touch circuit 312 and the second touch circuit 313 can be formed as a whole, as a complete touch circuit, bent at the connection between the top side and the outer side of the temple, that is, with the bending part as the boundary, the touch circuit located on the outer side forms the first touch circuit 312, and the touch circuit located on the top side forms the second touch circuit 313, so as to simplify the manufacturing process of the touch circuit and reduce the production cost. Exemplarily, the width of the touch circuit is, for example, 13.5 mm, then the width of the second touch circuit 313 located on the top side can be, for example, 3.5 mm, and the width of the first touch circuit 312 located on the outside can be, for example, 10 mm. Since the width of the first touch circuit 312 is relatively large, it can accommodate more staggered first touch electrodes TX1 in the width direction. The width of the second touch circuit 313 is relatively small, and in the width direction, it can accommodate fewer third touch electrodes TX2. Therefore, the first touch circuit 312 can detect touch information sliding along the first direction and touch information sliding along the second direction. The first direction is perpendicular to the second direction, and the second touch circuit 313 can detect touch information sliding along the first direction. For example, the first touch circuit 312 can be used to identify touch information in more directions such as up, down, left, and right. For example, you can switch applications by swiping left or right, switch focus within an application by swiping up or down, single-click to confirm a selection, double-click to cancel and return, long press to bring up a context menu, etc.; the second touch circuit 313 can be used to identify touch information in a single direction, such as left or right. For example, a pressure-sensitive touch is provided on the top side of the temple, and you can swipe left or right to adjust the volume, pinch two fingers together once to control play / pause, pinch two fingers together twice to control play of the next song, pinch two fingers together three times to control play of the previous song, etc. The embodiment of the present application does not limit the specific touch operation method, and different touch operations can be set to correspond to different control instructions as needed.
[0073] In another embodiment, the first touch circuit 312 and the second touch circuit 313 may also be formed separately, which is not limited in the embodiment of the present application. In another embodiment, the first touch circuit 312 and the second touch circuit 313 may also be used to detect touch information in the first direction and the second direction, or the second touch circuit 313 may detect touch information sliding along the first direction and touch information sliding along the second direction, and the first touch circuit 312 may detect touch information sliding along the first direction, which is not limited in the embodiment of the present application.
[0074] In some embodiments, see Fig.12 , Fig.12 A second structural diagram of the glasses provided in an embodiment of the present application: The glasses 300 may include: a processor 316 , a memory 317 and a detection electrode 303 .
[0075] The processor 316 is used to execute the process in the control method of the glasses 300 provided in this embodiment by calling the computer program stored in the memory. The processor 316 is the control center of the glasses 300, and uses various interfaces and lines to connect various parts of the entire wearable device. By running or calling the computer program stored in the memory 317, and calling the data stored in the memory 317, the processor 316 executes various functions of the wearable device and processes data, thereby monitoring the wearable device as a whole.
[0076] The memory 317 can be used to store computer programs and data. The computer programs stored in the memory 317 contain instructions that can be executed in the processor. The computer programs can form various functional modules. The processor 316 executes various functional applications and data processing by calling the computer programs stored in the memory 317.
[0077] In this embodiment, the processor 316 in the glasses 300 loads instructions corresponding to the processes of one or more computer programs into the memory 317 according to the following steps, and the processor 316 runs the computer programs stored in the memory 317 to implement various functions:
[0078] Detecting the wearing state of the glasses by means of the detection electrodes;
[0079] If the glasses are in a worn state, obtaining the user's electromyographic signal through the detection electrodes;
[0080] Determining the scene where the user is located according to the electromyographic signal;
[0081] The glasses are controlled to display information corresponding to the scene.
[0082] The glasses 300 may further include: a display screen 318, a radio frequency circuit 319, a control circuit 320, an audio circuit 321, a sensor 322, and a power supply 323. The processor 316 is electrically connected to the display screen 318, the radio frequency circuit 319, the control circuit 320, the audio circuit 321, the sensor 322, and the power supply 323, respectively.
[0083] The display screen 318 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the wearable device, which can be composed of images, texts, icons, videos and any combination thereof.
[0084] The radio frequency circuit 319 is used to send and receive radio frequency signals to communicate with network devices or other wearable devices through wireless communication.
[0085] The control circuit 320 may include a switching circuit 304, a glasses wearing detection circuit 305, and an electromyography detection circuit 306, wherein the glasses wearing detection circuit 305 and the electromyography detection circuit 306 are connected to the detection electrode 303 via the switching circuit 304; or the control circuit may include a glasses wearing detection circuit 305, an electromyography detection circuit 306, a first filter 307 and a second filter 308, wherein the first filter 307 is connected between the detection electrode 303 and the glasses wearing detection circuit 305, and the first filter 307 is used to filter out signals other than the glasses wearing status signal; the second filter 308 is connected between the detection electrode 303 and the electromyography detection circuit 306, and the second filter 308 is used to filter out signals other than the electromyography signal; or the control circuit 306 may also include a heart rate detection circuit 310.
[0086] The audio circuit 321 can provide an audio interface between the user and the wearable device through a speaker and a microphone. The audio circuit 321 includes a microphone. The microphone is electrically connected to the processor 316. The microphone is used to receive voice information input by the user.
[0087] The sensor 322 is used to collect external environment information. The sensor 322 may include one or more sensors such as an IMU sensor, an ambient brightness sensor, an acceleration sensor, and a gyroscope.
[0088] The power supply 323 is used to supply power to various components of the glasses 300. In some embodiments, the power supply 323 can be logically connected to the processor 316 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0089] Although not shown in the figure, the glasses 300 may also include a camera, a Bluetooth module, a fingerprint recognition module, etc., which will not be described in detail here.
[0090] In this embodiment, the processor 316 in the glasses 300 will load the executable code corresponding to the process of one or more applications into the memory 317 according to the following instructions, and the processor 316 will run the application stored in the memory 317 to execute:
[0091] Detecting the wearing state of the glasses by means of the detection electrodes;
[0092] If the glasses are in a worn state, obtaining the user's electromyographic signal through the detection electrodes;
[0093] Determining the scene where the user is located according to the electromyographic signal;
[0094] The glasses are controlled to display information corresponding to the scene.
[0095] In one implementation, in the process of detecting the wearing state of the glasses by the detection electrodes, the processor 316 further executes:
[0096] If it is detected that the capacitance value formed by the detection electrode and the human body is within a preset range, the glasses wearing state is determined to be a worn state, otherwise the glasses wearing state is determined to be a not worn state.
[0097] In one embodiment, after obtaining the user's electromyographic signal through the detection electrode, the processor 316 switches the detection electrode to obtain the glasses wearing state signal after a preset time period to determine the glasses wearing state;
[0098] If the glasses are in a wearing state, the detection electrode intermittently detects the glasses wearing state;
[0099] If the glasses are in the worn state, the detection electrodes are switched to obtain the electromyographic signals of the user.
[0100] In one embodiment, the glasses are further provided with a touch area, and after determining the scene in which the user is located according to the electromyographic signal, the processor 316 further executes, if the touch area receives touch information, generating a target control instruction according to the touch information and the scene, wherein the touch information generates different control instructions in different scenes;
[0101] The glasses are controlled to perform corresponding operations according to the target control instruction.
[0102] See also Fig.13 , Fig.13 The structure diagram of the control device of the glasses provided in the embodiment of the present application is as follows: The control device 400 of the glasses may include: a detection module 401 , an acquisition module 402 , a determination module 403 and a control module 404 .
[0103] The detection module 401 is used to: detect the wearing state of the glasses through the detection electrodes;
[0104] The acquisition module 402 is used to: if the glasses are in the worn state, acquire the user's electromyographic signal through the detection electrode;
[0105] The determination module 403 is used to: determine the scene where the user is located according to the electromyographic signal;
[0106] The control module 404 is used to control the glasses to display information corresponding to the scene.
[0107] In one embodiment, the detection module 401 can be used to: if it is detected that the capacitance value formed by the detection electrode and the human body is within a preset range, determine that the glasses are in a worn state; otherwise, determine that the glasses are in a not-worn state.
[0108] In one embodiment, the acquisition module 402 can be used to: after a preset time period, switch the detection electrode to detect the glasses wearing state; if the glasses wearing state is a non-worn state, control the detection electrode to intermittently detect the glasses wearing state; if the glasses wearing state is a worn state, switch the detection electrode to obtain the user's electromyographic signal.
[0109] In one implementation, the control module 404 may be configured to:
[0110] If the touch area receives touch information, a target control instruction is generated according to the touch information and the scene, wherein the touch information generates different control instructions in different scenes;
[0111] The glasses are controlled to perform corresponding operations according to the target control instruction.
[0112] The glasses control device provided in the embodiment of the present application belongs to the same concept as the glasses control method in the above embodiment. Any method provided in the glasses control method embodiment can be run on the device control device. The specific implementation process is detailed in the glasses control method embodiment, which will not be repeated here.
[0113] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is in the computer, it should be noted that for the control method of the glasses in the embodiment of the present application, ordinary technicians in the field can understand that all or part of the process of implementing the control method of the glasses in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, such as stored in a memory, and executed by at least one processor. During the execution process, it can include the process of the embodiment of the control method of the glasses. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.
[0114] For the control device of the glasses in the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.
[0115] In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the control method of the glasses above, and will not be repeated here.
[0116] The above is a detailed introduction to a method, device, storage medium and wearable device for controlling glasses provided in an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for controlling glasses, characterized in that: The glasses are provided with detection electrodes, and the method comprises: Detecting the wearing state of the glasses by means of the detection electrodes; If the glasses are in a worn state, obtaining the user's electromyographic signal through the detection electrodes; Determining the scene where the user is located according to the electromyographic signal; The glasses are controlled to display information corresponding to the scene.
2. The method for controlling glasses according to claim 1, characterized in that: The detecting the wearing state of the glasses by the detecting electrodes comprises: If it is detected that the capacitance value of the capacitance formed by the detection electrode and the human body is within a preset range, the glasses wearing state is determined to be a worn state, otherwise the glasses wearing state is determined to be a not worn state.
3. The method for controlling glasses according to claim 1, characterized in that: After obtaining the user's electromyographic signal through the detection electrode, the method further includes: After a preset time, the detection electrodes are switched to detect the wearing state of the glasses; If the glasses are in a wearing state, controlling the detection electrodes to intermittently detect the glasses wearing state; If the glasses are in the worn state, the detection electrodes are switched to obtain the electromyographic signals of the user.
4. The method for controlling glasses according to claim 1, characterized in that: The glasses are also provided with a touch area, and after determining the scene where the user is located according to the electromyographic signal, the method includes: If the touch area receives touch information, a target control instruction is generated according to the touch information and the scene, wherein the touch information generates different control instructions in different scenes; The glasses are controlled to perform corresponding operations according to the target control instruction.
5. A pair of glasses, characterized in that: include: Main body; A temple connected to the main body, wherein a detection electrode is provided on the temple; Among them, the detection electrode is used to detect the wearing state of the glasses. If the wearing state of the glasses is the worn state, the detection electrode is also used to obtain the user's electromyographic signal, and determine the scene the user is in according to the electromyographic signal, and control the main body to display information corresponding to the scene.
6. The glasses according to claim 5, characterized in that: The temple comprises an inner side for fitting the human body, and the detection electrode is arranged on the inner side.
7. The glasses according to claim 5, characterized in that: The glasses include a switching circuit, a glasses wearing detection circuit, and an electromyographic detection circuit, and the glasses wearing detection circuit and the electromyographic detection circuit are connected to the detection electrode via the switching circuit; The glasses wearing detection circuit is connected to the detection electrode via the switching circuit; If the glasses wearing detection circuit determines that the glasses are in a worn state through the detection electrodes, the switching circuit is controlled to switch the detection electrodes to be connected to the electromyography detection circuit.
8. The glasses according to claim 5, characterized in that: The glasses also include: A glasses wearing detection circuit, used for determining the wearing state of the glasses according to the glasses wearing state signal acquired by the detection electrode; An electromyographic detection circuit, used to determine the scene in which the user is located based on the electromyographic signal obtained by the detection electrode; A first filter, connected between the detection electrode and the glasses wearing detection circuit, the first filter being used to filter out signals other than the glasses wearing state signal; The second filter is connected between the detection electrode and the electromyographic detection circuit, and is used for filtering out signals other than the electromyographic signal.
9. The glasses according to claim 5, characterized in that: The temple includes an outer side away from the user and a top side connected to the outer side, a first touch circuit is provided on the outer side, and a second touch circuit is provided on the top side, and the first touch circuit and the second touch circuit are used to detect touch information.
10. The glasses according to claim 5, wherein the glasses comprise two temples, each of the temples is provided with a detection electrode, and the glasses are further provided with a second detection electrode, and the two detection electrodes and the second detection electrode cooperate to realize heart rate detection.
11. A control device for glasses, characterized in that: The control device comprises: A detection module, used for detecting the wearing state of the glasses through the detection electrodes; an acquisition module, configured to acquire the user's electromyographic signal through the detection electrodes if the glasses are in the worn state; A determination module, used to determine the scene where the user is located according to the electromyographic signal; A control module is used to control the glasses to display information corresponding to the scene.
12. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 4.