Wearing state detection method, device and equipment, and storage medium

By acquiring the current temperature of the magnet assembly and adjusting the magnetic field strength, and combining this with a magnetoresistive sensing device to detect changes in the magnetic field direction, the problems of low accuracy and sensitivity in wear status detection are solved, achieving efficient wear status detection.

CN120668202BActive Publication Date: 2025-11-11GOERTEK INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511172616.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-21
Publication Date
2025-11-11
Estimated Expiration
2045-08-21

AI Technical Summary

Technical Problem

In existing technologies, the accuracy and sensitivity of wear status detection are low, Hall sensors are unstable in weak magnetic field environments and have high manufacturing and integration costs, and accelerometers are prone to false detection and have long detection delays when stationary.

Method used

By acquiring the current temperature of the magnet assembly, adjusting the magnetic field strength, and using multiple magnetoresistive sensors to detect changes in the magnetic field direction, the wearing status is detected by combining the relative rotation relationship between the temperature adjustment assembly and the magnetoresistive sensors.

Benefits of technology

It improves the accuracy and sensitivity of wear status detection, reduces detection costs and latency, and is suitable for various environmental conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120668202B_ABST
    Figure CN120668202B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and storage medium for detecting wearing status, relating to the field of smart device technology. The method includes: adjusting the current temperature using a temperature adjustment component when the current magnetic field strength of a magnet assembly does not meet a preset strength condition; detecting the current angles between multiple magnetoresistive sensors and the magnet assembly with which it has a relative rotational relationship, and determining magnetic field direction change data based on the current angles; and detecting the wearing status of a target smart device based on target data from each magnetic field direction change data when all magnetic field direction change data meet preset change conditions. By using the above method, the temperature adjustment component ensures that the magnetic field strength of the magnet assembly meets the preset strength condition, and then the wearing status of the target smart device is determined using the magnetic field direction change data detected by multiple magnetoresistive sensors. This effectively improves the accuracy and sensitivity of wearing status detection, and reduces detection costs and latency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart device technology, and in particular to methods, devices, equipment and storage media for detecting wear status. Background Technology

[0002] With the increasing prevalence of smart devices, their intelligent functions have become a key focus for users, such as wear status detection. Currently, common methods for detecting wear status rely on Hall effect sensors and accelerometers. However, accelerometers are prone to false detections in static states and consume significant time from the start of detection to obtaining a result, resulting in high latency. Furthermore, Hall effect sensors are unstable in weak magnetic field environments, leading to low sensitivity, and their manufacturing and integration costs are high. Therefore, the accuracy and sensitivity of these methods for detecting wear status are relatively low.

[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this application is to provide a method, apparatus, device, and storage medium for detecting wearing status, aiming to solve the technical problem of low accuracy and sensitivity in the detection of wearing status in the prior art.

[0005] To achieve the above objectives, this application proposes a method for detecting wearing status, the method comprising:

[0006] The current temperature of the magnet assembly set on the target smart device is obtained, and the current magnetic field strength of the magnet assembly is determined based on the current temperature.

[0007] When the current magnetic field strength does not meet the preset strength condition, the current temperature is adjusted by a temperature adjustment component corresponding to the magnet assembly;

[0008] The current angle between the multiple magnetoresistive sensors installed on the target smart device and the magnet assembly is detected respectively, and the magnetic field direction change data is determined based on the current angle; wherein, there is a relative rotational relationship between the multiple magnetoresistive sensors and the magnet assembly;

[0009] When all the magnetic field direction change data meet the preset change conditions, the wearing status of the target smart device is detected based on the target data in each of the magnetic field direction change data.

[0010] In one embodiment, the step of adjusting the current temperature using a temperature adjustment component corresponding to the magnet assembly when the current magnetic field strength does not meet a preset strength condition includes:

[0011] When the current magnetic field strength does not meet the preset strength condition, the difference in magnetic field strength is determined based on the current magnetic field strength and the preset strength condition;

[0012] Obtain the characteristic information and material information of the magnet assembly, and determine the temperature difference corresponding to the difference in magnetic field strength based on the characteristic information and the material information;

[0013] Determine the target operating parameters of the temperature adjustment component corresponding to the magnet assembly based on the temperature difference;

[0014] The temperature adjustment component is controlled to adjust the current temperature in a manner that allows it to operate according to the target operating parameters.

[0015] In one embodiment, the step of detecting the current angle between the plurality of magnetoresistive sensors disposed on the target smart device and the magnet assembly, and determining the magnetic field direction change data based on the current angle, includes:

[0016] Each device can be controlled to start up multiple magnetoresistive sensors installed on the target smart device.

[0017] The current angle of the multiple magnetoresistive sensing devices and the magnet assembly at the current moment and the historical angle at the previous moment are detected respectively.

[0018] The relative angle change value is determined based on the current angle and the historical angle;

[0019] The magnetic field direction change data are determined based on the relative angle change value.

[0020] In one embodiment, the step of detecting the wearing status of the target smart device based on the target data in each of the magnetic field direction change data when all of the magnetic field direction change data meet the preset change conditions includes:

[0021] When all the magnetic field direction change data meet the preset change conditions, the distance between each magnetoresistive sensing device and the magnet assembly is detected respectively.

[0022] Target data is selected from the magnetic field direction change data based on the distance;

[0023] The target resistance change value is determined based on the target data, and a wearing status identification signal is generated based on the target resistance change value;

[0024] The wearing status of the target smart device is detected based on the wearing status recognition signal.

[0025] In one embodiment, after the step of detecting the current angle between the plurality of magnetoresistive sensors disposed on the target smart device and the magnet assembly, and determining the magnetic field direction change data based on the current angle, the method further includes:

[0026] If any of the magnetic field direction change data fails to meet the preset change conditions, fault detection is performed on the multiple magnetoresistive sensing devices respectively.

[0027] Based on the fault detection results, the faulty magnetoresistive sensing device and the normal magnetoresistive sensing device are identified.

[0028] When the distance between the faulty magnetoresistive sensing device and the magnet assembly is greater than or equal to the distance between the normal magnetoresistive sensing device and the magnet assembly, the magnetic field direction change data of the normal magnetoresistive sensing device is selected from each of the magnetic field direction change data.

[0029] The first resistance change value is determined based on the magnetic field direction change data of the normal magnetoresistive sensing device, and the wearing status of the target smart device is detected based on the first resistance change value.

[0030] In one embodiment, after the step of determining the faulty magnetoresistive sensing device and the normal magnetoresistive sensing device based on the fault detection result, the method further includes:

[0031] When the distance between the faulty magnetoresistive sensing device and the magnet assembly is less than the distance between the normal magnetoresistive sensing device and the magnet assembly, the location information of the faulty magnetoresistive sensing device on the target smart device is obtained.

[0032] Based on the location information, a device fault prompt message is generated, and the device fault prompt message is displayed on a terminal connected to the target smart device;

[0033] The second resistance change value is determined based on the distance between the normal magnetoresistive sensing device and the magnet assembly, the distance between the faulty magnetoresistive sensing device and the magnet assembly, and the magnetic field direction change data of the normal magnetoresistive sensing device. The wearing status of the target smart device is then detected based on the second resistance change value.

[0034] In one embodiment, after the step of detecting the wearing status of the target smart device based on the target data in each of the magnetic field direction change data when all of the magnetic field direction change data meet the preset change conditions, the method further includes:

[0035] When the wearing state is the non-wearing state, the sleep function of the target smart device is triggered according to the device sleep command;

[0036] When the wearing state is the fully worn state, the wake-up function of the target smart device is triggered according to the device wake-up command;

[0037] When the wearing state is a semi-wearing state, the user's image information is collected by a camera device set on the target smart device, and the feature information of the image information is extracted;

[0038] When the feature information exists in the historical feature database, target interaction data specific to the user is retrieved based on the feature information.

[0039] Interact with the user based on the target interaction data.

[0040] Furthermore, to achieve the above objectives, this application also proposes a wearing status detection device, the wearing status detection device comprising:

[0041] The acquisition module is used to acquire the current temperature of the magnet assembly set on the target smart device, and determine the current magnetic field strength of the magnet assembly based on the current temperature.

[0042] An adjustment module is used to adjust the current temperature by means of a temperature adjustment component corresponding to the magnet assembly when the current magnetic field strength does not meet a preset strength condition;

[0043] The determination module is used to detect the current angle between the multiple magnetoresistive sensing devices installed on the target smart device and the magnet assembly, and to determine the magnetic field direction change data based on the current angle; wherein, there is a relative rotational relationship between the multiple magnetoresistive sensing devices and the magnet assembly;

[0044] The determining module is further configured to detect the wearing status of the target smart device based on the target data in each of the magnetic field direction change data when all of the magnetic field direction change data meet the preset change conditions.

[0045] In addition, to achieve the above objectives, this application also proposes a wearing status detection device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the wearing status detection method as described above.

[0046] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the wearing state detection method as described above.

[0047] One or more technical solutions proposed in this application have at least the following technical effects: acquiring the current temperature of a magnet assembly disposed on a target smart device, and determining the current magnetic field strength of the magnet assembly based on the current temperature; when the current magnetic field strength does not meet a preset strength condition, adjusting the current temperature through a temperature adjustment component corresponding to the magnet assembly; detecting the current angle between multiple magnetoresistive sensors disposed on the target smart device and the magnet assembly, and determining magnetic field direction change data based on the current angle; wherein, there is a relative rotational relationship between the multiple magnetoresistive sensors and the magnet assembly; when all the magnetic field direction change data meet the preset change condition, detecting the wearing status of the target smart device based on the target data in each of the magnetic field direction change data. Through the above method, the temperature adjustment component ensures that the magnetic field strength of the magnet assembly meets the preset strength condition, and then the magnetic field direction change data detected by multiple magnetoresistive sensors is used to determine the wearing status of the target smart device, thereby effectively improving the accuracy and sensitivity of detecting the wearing status, and reducing detection costs and delays. Attached Figure Description

[0048] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0049] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0050] Figure 1 This is a flowchart illustrating an embodiment of the wearing status detection method of this application.

[0051] Figure 2 This is a schematic diagram of the overall structure of the wearing status detection method of this application (Example 1).

[0052] Figure 3 This is a flowchart illustrating Embodiment 2 of the wearing status detection method of this application;

[0053] Figure 4 This is a schematic diagram of the module structure of the wearing status detection device according to an embodiment of this application;

[0054] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the wearing status detection method in the embodiments of this application.

[0055] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0056] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or a wear status detection device capable of performing the above functions. The following description uses a wear status detection device as an example to illustrate this embodiment and the subsequent embodiments.

[0057] Based on this, embodiments of this application provide a method for detecting wearing status, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the wearing status detection method of this application.

[0058] In this embodiment, the wearing status detection method includes steps S10 to S40:

[0059] Step S10: Obtain the current temperature of the magnet assembly set on the target smart device, and determine the current magnetic field strength of the magnet assembly based on the current temperature.

[0060] It should be noted that the reference Figure 2 , Figure 2 This is a schematic diagram of the overall structure, specifically: the target smart device is an AR (Augmented Reality) glasses, and the magnetoresistive sensing device is an AMR switch (Anisotropic Magnetoresistive sensor). Taking the Resistive Switch as an example, 1 represents AR glasses, 2 represents AMR switches, 3 represents the front frame, 4 represents the temperature adjustment component, 5 represents the magnet component, 6 represents the hinge, and 7 represents the temple. The magnet component is set on the front frame structure of the AR glasses. Its setting method includes, but is not limited to, adhesive, magnetic attraction, snap-fit, screw fastening, etc. The shape of the magnet component can be a ring formed by multiple small magnet units arranged off-axis. The magnetic poles of the magnet component are divided into north pole (N pole) and south pole (S pole). The temperature adjustment component is set adjacent to the magnet component and is used to adjust the temperature of the magnet component. The front frame and temple of the AR glasses can be connected by hinges. The temple can rotate within a certain range around the hinge rotation axis. Multiple AMR switches are set on different temples. For example, one AMR switch is set on the left temple and one AMR switch is set on the right temple. Its setting method includes, but is not limited to, adhesive, magnetic attraction, snap-fit, screw fastening, etc. The arrangement of the AMR switches and magnet components is not fixed; it is only necessary to ensure that they can rotate relative to each other. For example, the magnet components can be set on the temples of the AR glasses, and multiple AMR switches can be set on the front frame of the AR glasses.

[0061] As we can understand it, an AMR switch refers to a sensor that uses the anisotropic magnetoresistance effect to detect changes in magnetic fields. It achieves its switching function by detecting the change in resistance caused by the magnetic field. The principle is as follows: the resistance of a ferromagnetic magnet component changes with the direction of the applied magnetic field. The resistance is minimum when the magnetic field is parallel to the current direction and maximum when it is perpendicular to the current direction. When the external magnetic field forms a zero-degree angle with the magnet's built-in magnetic field, the resistance does not change with the applied magnetic field. However, when the external magnetic field and the magnet's built-in magnetic field have a certain angle, the magnetization vector inside the magnet shifts, and the thin-film resistance decreases. This characteristic is called the anisotropic magnetoresistance effect. In other words, an AMR switch changes its resistance by detecting changes in the direction of the magnetic field, thereby triggering the switching action. AMR switches consume energy only when a change in magnetic field is detected, eliminating the need for continuous power supply and significantly reducing power consumption. This makes them ideal for battery-powered smart devices. Compared to Hall effect sensors, AMR switches operate stably in weaker magnetic fields. Compared to the latency of accelerometers and optical sensors, they offer faster response times, enabling real-time detection of the temple's opening and closing status. Furthermore, AMR switches require no complex mechanical structures or optical components, resulting in high integration, simple design, and low cost. They are less affected by external factors such as humidity, dust, and light, offering higher reliability and stability compared to capacitive and optical sensors. Utilizing a non-contact detection method, they eliminate mechanical wear defects and have a longer lifespan compared to mechanical switches.

[0062] It should be understood that temperature affects the magnetic field strength of the magnet assembly; for example, high temperatures can cause magnetic moment disorder and weaken magnetism. To effectively improve the current angle between the magnetoresistive sensing device and the magnet assembly, the current magnetic field strength of the magnet assembly needs to be determined based on the current temperature. This magnet unit can be a small neodymium iron boron magnet.

[0063] In addition, to avoid situations where the current magnetic field strength does not meet the preset strength conditions, this embodiment can also directly set the magnetic field strength of the magnet assembly to meet the preset strength conditions, and add a magnetic shielding layer and a temperature shielding layer around the target smart device to eliminate external interference and reduce the influence of the environmental magnetic field.

[0064] Step S20: When the current magnetic field strength does not meet the preset strength condition, the current temperature is adjusted by the temperature adjustment component corresponding to the magnet assembly.

[0065] It is understandable that when the current magnetic field strength does not meet the preset strength condition, it indicates that the magnetic field strength of the magnet assembly is weak. At this time, the current temperature can be adjusted by the temperature adjustment component corresponding to the magnet assembly to enhance the magnetic field strength, for example, by lowering the temperature of the magnet assembly.

[0066] Further, step S20 includes: when the current magnetic field strength does not meet the preset strength condition, determining the magnetic field strength difference based on the current magnetic field strength and the preset strength condition; acquiring the characteristic information and material information of the magnet assembly, and determining the temperature difference corresponding to the magnetic field strength difference based on the characteristic information and the material information; determining the target operating parameters of the temperature adjustment component corresponding to the magnet assembly based on the temperature difference; and controlling the temperature adjustment component to adjust the current temperature in a manner that operates according to the target operating parameters.

[0067] It should be understood that, in order to effectively improve the accuracy of adjusting the current temperature, when it is determined that the current magnetic field strength does not meet the preset strength condition, the difference in magnetic field strength is determined based on the current magnetic field strength and the preset strength condition. Since the way to determine the temperature difference is different for magnet components with different characteristic information and different material information, it is necessary to determine the temperature difference corresponding to the difference in magnetic field strength based on the characteristic information and material information. The target operating parameter refers to the operating parameter that can adjust the current temperature of the magnet component so that the adjusted current temperature meets the preset strength condition.

[0068] Step S30: Detect the current angle between the multiple magnetoresistive sensors installed on the target smart device and the magnet assembly, and determine the magnetic field direction change data based on the current angle; wherein, there is a relative rotational relationship between the multiple magnetoresistive sensors and the magnet assembly.

[0069] It should be understood that the current angle refers to the angle between the multiple magnetoresistive sensors and the magnet assembly set on the target smart device at the current moment. Since the magnetoresistive sensors rotate with the temple, the angle between the magnetoresistive sensors and the magnet assembly is different when the temple is in different states, and the relative angle between the multiple magnetoresistive sensors and the magnet assembly changes, resulting in a change in the direction of the magnetic field. At this time, the change data of the magnetic field direction can be determined based on the current angle.

[0070] Further, the step of detecting the current angle between the multiple magnetoresistive sensors installed on the target smart device and the magnet assembly, and determining the magnetic field direction change data based on the current angle, includes: controlling the multiple magnetoresistive sensors installed on the target smart device to start respectively; detecting the current angle between the multiple started magnetoresistive sensors and the magnet assembly at the current moment and the historical angle at the previous moment respectively; determining the relative angle change value based on the current angle and the historical angle; and determining the magnetic field direction change data based on the relative angle change value.

[0071] It should be noted that when the temple of the target smart device starts to rotate, multiple magnetoresistive sensors installed on the target smart device are activated. At this time, the angle between the multiple magnetoresistive sensors and the magnet assembly is continuously detected, such as the current angle at the current moment and the historical angle at the previous moment. The relative angle change value refers to the change in angle from the previous moment to the current moment. After determining the relative angle change value based on the current angle and the historical angle, the magnetic field direction change data is determined based on the relative angle change value.

[0072] Further, after step S30, the method further includes: when any data in the various magnetic field direction change data does not meet the preset change condition, performing fault detection on the multiple magnetoresistive sensing devices respectively; determining the faulty magnetoresistive sensing device and the normal magnetoresistive sensing device based on the fault detection result; when the distance between the faulty magnetoresistive sensing device and the magnet assembly is greater than or equal to the distance between the normal magnetoresistive sensing device and the magnet assembly, selecting the magnetic field direction change data of the normal magnetoresistive sensing device from the various magnetic field direction change data; determining the first resistance change value based on the magnetic field direction change data of the normal magnetoresistive sensing device, and detecting the wearing status of the target smart device based on the first resistance change value.

[0073] It should be understood that if any data in the various magnetic field direction change data does not meet the preset change conditions, it indicates that at least one magnetoresistive sensing device is malfunctioning. In this case, it is necessary to perform fault detection on multiple magnetoresistive sensing devices separately to distinguish between faulty magnetoresistive sensing devices and normal magnetoresistive sensing devices.

[0074] Understandably, in order to effectively improve the accuracy of detecting the wearing status of the target smart device, this embodiment uses the magnetic field direction change data of the normal magnetoresistive sensor closest to the magnet assembly to determine the resistance change value. When it is determined that the distance between the faulty magnetoresistive sensor and the magnet assembly is greater than or equal to the distance between the normal magnetoresistive sensor and the magnet assembly, it indicates that the normal magnetoresistive sensor is closest and in a normal state. At this time, the magnetic field direction change data of the normal magnetoresistive sensor is selected from the various magnetic field direction change data, and the first resistance change value is determined based on the magnetic field direction change data of the normal magnetoresistive sensor. The number of magnetic pole increases is determined based on the first resistance change value. The number of magnetic pole increases is converted into a corresponding wearing status recognition signal through the signal processing circuit, which is used to identify the opening and closing angle of the temples, thereby detecting the wearing status of the target smart device.

[0075] Furthermore, after the step of determining the faulty magnetoresistive sensing device and the normal magnetoresistive sensing device based on the fault detection result, the method further includes: when the distance between the faulty magnetoresistive sensing device and the magnet assembly is less than the distance between the normal magnetoresistive sensing device and the magnet assembly, acquiring the location information of the faulty magnetoresistive sensing device on the target smart device; generating device fault prompt information based on the location information, and displaying the device fault prompt information on a terminal connected to the target smart device; determining a second resistance change value based on the distance between the normal magnetoresistive sensing device and the magnet assembly, the distance between the faulty magnetoresistive sensing device and the magnet assembly, and the magnetic field direction change data of the normal magnetoresistive sensing device, and detecting the wearing status of the target smart device based on the second resistance change value.

[0076] It is understandable that when the distance between the faulty magnetoresistive sensing device and the magnet assembly is less than the distance between the normal magnetoresistive sensing device and the magnet assembly, it indicates that the faulty magnetoresistive sensing device is relatively close, but it is in a faulty state. At this time, the magnetic field direction change data of the faulty magnetoresistive sensing device is unavailable. Based on the location information, a device fault prompt message is generated and displayed on the terminal connected to the target smart device to prompt professional personnel to replace the faulty magnetoresistive sensing device.

[0077] It should be noted that, in order to detect the wearing status of the target smart device even when the magnetoresistive sensing device is faulty, this embodiment sets up multiple magnetoresistive sensing devices on the target smart device and activates multiple magnetoresistive sensing devices simultaneously to detect the wearing status. Since the normal magnetoresistive sensing device is far away, there will be errors if the magnetic field direction change data of the normal magnetoresistive sensing device is used directly for detection. In order to effectively improve the accuracy of detecting the wearing status of the target smart device, the magnetic field direction change data of the faulty magnetoresistive sensing device is predicted based on the distance between the normal magnetoresistive sensing device and the magnet assembly, the distance between the faulty magnetoresistive sensing device and the magnet assembly, and the magnetic field direction change data of the normal magnetoresistive sensing device. At this time, the second resistance change value can be determined based on the magnetic field direction change data of the faulty magnetoresistive sensing device, and then the number of magnetic poles increased is determined based on the second resistance change value. The number of magnetic poles increased is converted into a corresponding wearing status recognition signal by the signal processing circuit, which is used to identify the opening and closing angle of the temples, and thus detect the wearing status of the target smart device.

[0078] Step S40: When all the magnetic field direction change data meet the preset change conditions, the wearing status of the target smart device is detected based on the target data in each of the magnetic field direction change data.

[0079] Understandably, when the data on changes in all magnetic field directions meet the preset conditions, it indicates that all magnetoresistive sensing devices are functioning correctly. In this case, to effectively improve the accuracy of detecting the wearing status of the target smart device, the magnetic field direction change data from the nearest magnetoresistive sensing device is extracted from the data on changes in all magnetic field directions to detect the wearing status of the target smart device. Alternatively, the magnetic field direction change data from a more distant magnetoresistive sensing device can also be used to verify the wearing status.

[0080] Furthermore, after step S40, the method further includes: when the wearing state is an unwearing state, triggering the sleep function of the target smart device according to a device sleep command; when the wearing state is a fully worn state, triggering the wake-up function of the target smart device according to a device wake-up command; when the wearing state is a half-wearing state, acquiring the user's image information through a camera device installed on the target smart device, and extracting the feature information of the image information; when the feature information exists in the historical feature database, searching for target interaction data specific to the user based on the feature information; and interacting with the user based on the target interaction data.

[0081] It should be understood that the wearing state in this embodiment is divided into three types: not wearing, fully wearing, and partially wearing. The partially wearing state refers to the state where the user has not correctly worn the target smart device, such as wearing it without fully opening the temples or wearing it with an incorrect head size. The partially wearing state can also be divided into large-angle partially wearing and small-angle partially wearing states. When the wearing state is "not wearing," it indicates that the user is not wearing the target smart device. In this case, the device's sleep function can be triggered according to the device's sleep command, putting the target smart device into a sleep state. When the wearing state is "fully wearing," it indicates that the user has correctly worn the target smart device. In this case, the device's wake-up function can be triggered according to the device's wake-up command, putting the target smart device into a working state.

[0082] Understandably, when the wearing status is determined to be in a half-wearing state, it indicates that the user is not wearing the target smart device correctly. In this case, in order to improve the user experience, it is necessary to collect the user's image information and, if the feature information exists in the historical feature database, search for the target interaction data that is unique to the user based on the feature information. This target interaction data can be images, text, etc. The application displaying this target interaction data has low power consumption and consumes less electricity.

[0083] It should be noted that this embodiment will also provide feedback to the R&D team on the outward tilt angle of the target smart device under different wearing conditions, thereby obtaining real user data feedback, which will facilitate subsequent product development and the organization of user profile data.

[0084] This embodiment acquires the current temperature of a magnet assembly mounted on a target smart device and determines the current magnetic field strength of the magnet assembly based on the current temperature. When the current magnetic field strength does not meet a preset strength condition, the current temperature is adjusted by a temperature adjustment component corresponding to the magnet assembly. The current angles between multiple magnetoresistive sensors mounted on the target smart device and the magnet assembly are detected, and magnetic field direction change data is determined based on the current angles. A relative rotational relationship exists between the multiple magnetoresistive sensors and the magnet assembly. When all the magnetic field direction change data meet the preset change condition, the wearing status of the target smart device is detected based on the target data in each of the magnetic field direction change data. By using the temperature adjustment component to ensure that the magnetic field strength of the magnet assembly meets the preset strength condition, and then using the magnetic field direction change data detected by multiple magnetoresistive sensors to determine the wearing status of the target smart device, the accuracy and sensitivity of the wearing status detection can be effectively improved, while reducing detection costs and latency.

[0085] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 Step S40 includes steps S401 to S404:

[0086] Step S401: When all the magnetic field direction change data meet the preset change conditions, the distance between each magnetoresistive sensing device and the magnet assembly is detected respectively.

[0087] It should be noted that when the data changes in each magnetic field direction meet the preset change conditions, it indicates that all magnetoresistive sensing devices are normal. At this time, the distance between each magnetoresistive sensing device and the magnet assembly is measured to determine the magnetoresistive sensing device closest to the magnet assembly.

[0088] Step S402: Select target data from the various magnetic field direction change data according to the distance.

[0089] Understandably, the target data refers to the magnetic field direction change data of the magnetoresistive sensing device closest to the magnet assembly. After detecting the distance between each magnetoresistive sensing device and the magnet assembly, the magnetoresistive sensing device closest to the magnet assembly is determined, and the magnetic field direction change data of the magnetoresistive sensing device closest to the magnet assembly is selected from the various magnetic field direction change data, which is the target data.

[0090] Step S403: Determine the target resistance change value based on the target data, and generate a wearing status identification signal based on the target resistance change value.

[0091] It should be understood that the target resistance change value refers to the value of the resistance change caused by the change in the relative angle between the magnetoresistive sensing device closest to the magnet assembly and the magnet assembly. The wearing status recognition signal refers to the signal used to identify the wearing status of the target smart device. After determining the target resistance change value, the number of magnetic poles is determined based on the target resistance change value. The number of magnetic poles is converted into the corresponding wearing status recognition signal through the signal processing circuit. The magnet assembly is turned on 5 times and off 5 times per cycle, with an angular resolution of 36°.

[0092] Step S404: Detect the wearing status of the target smart device based on the wearing status recognition signal.

[0093] It is understandable that the wearing status refers to the state of the user wearing the smart device at the current moment. After generating the wearing status recognition signal based on the target resistance change value, the wearing status of the target smart device is detected based on the wearing status recognition signal.

[0094] In this embodiment, when all the magnetic field direction change data meet preset change conditions, the distance between each magnetoresistive sensing device and the magnet assembly is detected; target data is selected from the magnetic field direction change data based on the distance; a target resistance change value is determined based on the target data, and a wearing status recognition signal is generated based on the target resistance change value; the wearing status of the target smart device is detected based on the wearing status recognition signal. By using the above method, when all the magnetic field direction change data meet preset change conditions, the magnetic field direction change data of the magnetoresistive sensing device closest to the magnet assembly is selected from the magnetic field direction change data, and the wearing status of the target smart device is detected based on the wearing status recognition signal, thereby effectively improving the accuracy of wearing status detection.

[0095] This application also provides a wearing status detection device, please refer to... Figure 4 The wearing status detection device includes:

[0096] The acquisition module 10 is used to acquire the current temperature of the magnet assembly set on the target smart device, and determine the current magnetic field strength of the magnet assembly based on the current temperature.

[0097] The adjustment module 20 is used to adjust the current temperature by means of a temperature adjustment component corresponding to the magnet assembly when the current magnetic field strength does not meet the preset strength condition.

[0098] The determining module 30 is used to detect the current angle between the multiple magnetoresistive sensing devices installed on the target smart device and the magnet assembly, and to determine the magnetic field direction change data based on the current angle; wherein, there is a relative rotational relationship between the multiple magnetoresistive sensing devices and the magnet assembly.

[0099] The determining module 30 is further configured to detect the wearing status of the target smart device based on the target data in each of the magnetic field direction change data when all of the magnetic field direction change data meet the preset change conditions.

[0100] This embodiment acquires the current temperature of a magnet assembly mounted on a target smart device and determines the current magnetic field strength of the magnet assembly based on the current temperature. When the current magnetic field strength does not meet a preset strength condition, the current temperature is adjusted by a temperature adjustment component corresponding to the magnet assembly. The current angles between multiple magnetoresistive sensors mounted on the target smart device and the magnet assembly are detected, and magnetic field direction change data is determined based on the current angles. A relative rotational relationship exists between the multiple magnetoresistive sensors and the magnet assembly. When all the magnetic field direction change data meet the preset change condition, the wearing status of the target smart device is detected based on the target data in each of the magnetic field direction change data. By using the temperature adjustment component to ensure that the magnetic field strength of the magnet assembly meets the preset strength condition, and then using the magnetic field direction change data detected by multiple magnetoresistive sensors to determine the wearing status of the target smart device, the accuracy and sensitivity of the wearing status detection can be effectively improved, while reducing detection costs and latency.

[0101] The wearing status detection device provided in this application, employing the wearing status detection method in the above embodiments, can solve the technical problem of low accuracy and sensitivity in detecting wearing status in the prior art. Compared with the prior art, the beneficial effects of the wearing status detection device provided in this application are the same as those of the wearing status detection method provided in the above embodiments, and other technical features in the wearing status detection device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0102] In one embodiment, the adjustment module 20 is further configured to: determine a magnetic field strength difference based on the current magnetic field strength and the preset strength condition when the current magnetic field strength does not meet the preset strength condition; acquire characteristic information and material information of the magnet assembly, and determine a temperature difference corresponding to the magnetic field strength difference based on the characteristic information and the material information; determine a target operating parameter for a temperature adjustment component corresponding to the magnet assembly based on the temperature difference; and control the temperature adjustment component to adjust the current temperature in a manner that operates according to the target operating parameter.

[0103] In one embodiment, the determining module 30 is further configured to control the activation of multiple magnetoresistive sensing devices installed on the target smart device; detect the current angle of the multiple activated magnetoresistive sensing devices and the magnet assembly at the current moment and the historical angle at the previous moment; determine the relative angle change value based on the current angle and the historical angle; and determine the magnetic field direction change data based on the relative angle change value.

[0104] In one embodiment, the determining module 30 is further configured to: perform fault detection on the plurality of magnetoresistive sensing devices when any data in the various magnetic field direction change data does not meet the preset change conditions; determine faulty magnetoresistive sensing devices and normal magnetoresistive sensing devices based on the fault detection results; select magnetic field direction change data of the normal magnetoresistive sensing device from the various magnetic field direction change data when the distance between the faulty magnetoresistive sensing device and the magnet assembly is greater than or equal to the distance between the normal magnetoresistive sensing device and the magnet assembly; determine a first resistance change value based on the magnetic field direction change data of the normal magnetoresistive sensing device; and detect the wearing status of the target smart device based on the first resistance change value.

[0105] In one embodiment, the determining module 30 is further configured to: acquire position information of the faulty magnetoresistive sensing device on the target smart device when the distance between the faulty magnetoresistive sensing device and the magnet assembly is less than the distance between the normal magnetoresistive sensing device and the magnet assembly; generate device fault prompt information based on the position information and display the device fault prompt information on a terminal connected to the target smart device; determine a second resistance change value based on the distance between the normal magnetoresistive sensing device and the magnet assembly, the distance between the faulty magnetoresistive sensing device and the magnet assembly, and the magnetic field direction change data of the normal magnetoresistive sensing device; and detect the wearing status of the target smart device based on the second resistance change value.

[0106] In one embodiment, the determining module 30 is further configured to: detect the distance between each magnetoresistive sensing device and the magnet assembly when all the magnetic field direction change data meet the preset change conditions; select target data from the magnetic field direction change data according to the distance; determine the target resistance change value according to the target data; generate a wearing status recognition signal according to the target resistance change value; and detect the wearing status of the target smart device according to the wearing status recognition signal.

[0107] In one embodiment, the determining module 30 is further configured to: trigger the sleep function of the target smart device according to a device sleep command when the wearing state is an unwearing state; trigger the wake-up function of the target smart device according to a device wake-up command when the wearing state is a fully worn state; collect the user's image information through a camera device installed on the target smart device and extract the feature information of the image information when the wearing state is a half-wearing state; if the feature information exists in the historical feature database, search for target interaction data specific to the user according to the feature information; and interact with the user according to the target interaction data.

[0108] This application provides a wear status detection device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the wear status detection method in the first embodiment described above.

[0109] The following is for reference. Figure 5 The diagram illustrates a structural schematic suitable for implementing the wear status detection device in the embodiments of this application. The wear status detection device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The wear status detection device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0110] like Figure 5As shown, the wearability detection device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in ROM (Read Only Memory) 1002 or a program loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the wearability detection device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. Input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the wearable status detection device to communicate wirelessly or wiredly with other devices to exchange data. Although wearable status detection devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0111] Specifically, according to the embodiments disclosed in this application, the process described above with reference to the flowcharts can be implemented as a computer software program. This computer program includes program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0112] The wearing status detection device provided in this application, employing the wearing status detection method in the above embodiments, can solve the technical problem of low accuracy and sensitivity in the prior art for detecting wearing status. Compared with the prior art, the beneficial effects of the wearing status detection device provided in this application are the same as those of the wearing status detection method provided in the above embodiments, and other technical features in this wearing status detection device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0113] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0114] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0115] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the wearing state detection method in the above embodiments.

[0116] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0117] The aforementioned computer-readable storage medium may be included in the wear status detection device; or it may exist independently and not assembled into the wear status detection device.

[0118] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0119] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0120] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0121] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described wearing status detection method, which can solve the technical problem of low accuracy and sensitivity in the prior art for detecting wearing status. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the wearing status detection method provided in the above embodiments, and will not be repeated here.

[0122] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for detecting wearing status, characterized in that, The method includes: The current temperature of the magnet assembly set on the target smart device is obtained, and the current magnetic field strength of the magnet assembly is determined based on the current temperature. When the current magnetic field strength does not meet the preset strength condition, the current temperature is adjusted by a temperature adjustment component corresponding to the magnet assembly; The current angle between the multiple magnetoresistive sensors installed on the target smart device and the magnet assembly is detected respectively, and the magnetic field direction change data is determined based on the current angle; wherein, there is a relative rotational relationship between the multiple magnetoresistive sensors and the magnet assembly; When all the magnetic field direction change data meet the preset change conditions, the wearing status of the target smart device is detected based on the target data in each of the magnetic field direction change data. The step of adjusting the current temperature using a temperature adjustment component corresponding to the magnet assembly when the current magnetic field strength does not meet the preset strength condition includes: When the current magnetic field strength does not meet the preset strength condition, the difference in magnetic field strength is determined based on the current magnetic field strength and the preset strength condition; Obtain the characteristic information and material information of the magnet assembly, and determine the temperature difference corresponding to the difference in magnetic field strength based on the characteristic information and the material information; Determine the target operating parameters of the temperature adjustment component corresponding to the magnet assembly based on the temperature difference; The temperature adjustment component is controlled to adjust the current temperature in a manner that allows it to operate according to the target operating parameters; The step of detecting the current angle between the multiple magnetoresistive sensors installed on the target smart device and the magnet assembly, and determining the magnetic field direction change data based on the current angle, includes: Each device can be controlled to start up multiple magnetoresistive sensors installed on the target smart device. The current angle of the multiple magnetoresistive sensing devices and the magnet assembly at the current moment and the historical angle at the previous moment are detected respectively. The relative angle change value is determined based on the current angle and the historical angle; The magnetic field direction change data are determined based on the relative angle change value; The step of detecting the wearing status of the target smart device based on the target data in each of the magnetic field direction change data when all of the magnetic field direction change data meet the preset change conditions includes: When all the magnetic field direction change data meet the preset change conditions, the distance between each magnetoresistive sensing device and the magnet assembly is detected respectively. Target data is selected from the magnetic field direction change data based on the distance; The target resistance change value is determined based on the target data, and a wearing status identification signal is generated based on the target resistance change value; The wearing status of the target smart device is detected based on the wearing status recognition signal.

2. The method as described in claim 1, characterized in that, After the steps of detecting the current angle between the multiple magnetoresistive sensors installed on the target smart device and the magnet assembly, and determining the magnetic field direction change data based on the current angle, the method further includes: If any of the magnetic field direction change data fails to meet the preset change conditions, fault detection is performed on the multiple magnetoresistive sensing devices respectively. Based on the fault detection results, the faulty magnetoresistive sensing device and the normal magnetoresistive sensing device are identified. When the distance between the faulty magnetoresistive sensing device and the magnet assembly is greater than or equal to the distance between the normal magnetoresistive sensing device and the magnet assembly, the magnetic field direction change data of the normal magnetoresistive sensing device is selected from each of the magnetic field direction change data. The first resistance change value is determined based on the magnetic field direction change data of the normal magnetoresistive sensing device, and the wearing status of the target smart device is detected based on the first resistance change value.

3. The method as described in claim 2, characterized in that, After the step of determining the faulty magnetoresistive sensing device and the normal magnetoresistive sensing device based on the fault detection results, the method further includes: When the distance between the faulty magnetoresistive sensing device and the magnet assembly is less than the distance between the normal magnetoresistive sensing device and the magnet assembly, the location information of the faulty magnetoresistive sensing device on the target smart device is obtained. Based on the location information, a device fault prompt message is generated, and the device fault prompt message is displayed on a terminal connected to the target smart device; The second resistance change value is determined based on the distance between the normal magnetoresistive sensing device and the magnet assembly, the distance between the faulty magnetoresistive sensing device and the magnet assembly, and the magnetic field direction change data of the normal magnetoresistive sensing device. The wearing status of the target smart device is then detected based on the second resistance change value.

4. The method according to any one of claims 1 to 3, characterized in that, After the step of detecting the wearing status of the target smart device based on the target data in each of the magnetic field direction change data when all of the magnetic field direction change data meet the preset change conditions, the method further includes: When the wearing state is the non-wearing state, the sleep function of the target smart device is triggered according to the device sleep command; When the wearing state is the fully worn state, the wake-up function of the target smart device is triggered according to the device wake-up command; When the wearing state is a semi-wearing state, the user's image information is collected by a camera device set on the target smart device, and the feature information of the image information is extracted; When the feature information exists in the historical feature database, target interaction data specific to the user is retrieved based on the feature information. Interact with the user based on the target interaction data.

5. A wearing status detection device, characterized in that, The device includes: The acquisition module is used to acquire the current temperature of the magnet assembly set on the target smart device, and determine the current magnetic field strength of the magnet assembly based on the current temperature. An adjustment module is used to adjust the current temperature by means of a temperature adjustment component corresponding to the magnet assembly when the current magnetic field strength does not meet a preset strength condition; The determination module is used to detect the current angle between the multiple magnetoresistive sensing devices installed on the target smart device and the magnet assembly, and to determine the magnetic field direction change data based on the current angle; wherein, there is a relative rotational relationship between the multiple magnetoresistive sensing devices and the magnet assembly; The determining module is further configured to detect the wearing status of the target smart device based on the target data in each of the magnetic field direction change data when all of the magnetic field direction change data meet the preset change conditions. The adjustment module is further configured to: determine a magnetic field strength difference based on the current magnetic field strength and the preset strength condition when the current magnetic field strength does not meet the preset strength condition; acquire the characteristic information and material information of the magnet assembly, and determine a temperature difference corresponding to the magnetic field strength difference based on the characteristic information and the material information; determine the target operating parameters of the temperature adjustment component corresponding to the magnet assembly based on the temperature difference; and control the temperature adjustment component to adjust the current temperature in a manner that operates according to the target operating parameters. The determining module is further configured to control the activation of multiple magnetoresistive sensing devices installed on the target smart device; detect the current angle between the activated multiple magnetoresistive sensing devices and the magnet assembly at the current moment and the historical angle at the previous moment; determine the relative angle change value based on the current angle and the historical angle; and determine the magnetic field direction change data based on the relative angle change value. The determining module is further configured to: detect the distance between each magnetoresistive sensing device and the magnet assembly when all the magnetic field direction change data meet the preset change conditions; select target data from the magnetic field direction change data according to the distance; determine the target resistance change value according to the target data; generate a wearing status recognition signal according to the target resistance change value; and detect the wearing status of the target smart device according to the wearing status recognition signal.

6. A wearing status detection device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the wearing state detection method as described in any one of claims 1 to 4.

7. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the wearing state detection method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Movement analysis method and device based on environmental monitoring

    CN104490400A

  • Head-mounted device, wearing detection method and device thereof, and medium

    CN110888620A