Wearing Detection Method, System and Storage Medium for Wearable Devices
By setting up a capacitive structure on the wearable device, the control circuit is disconnected and turned on, and the capacitance value is obtained to determine the wearable state, the problem of high detection cost of wearable devices is solved, and low-cost and low-power wear detection is achieved.
Patent Information
- Application Number
- CN202210916219.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-01
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-08-01
AI Technical Summary
穿戴设备的佩戴检测成本较高,现有光学传感器需要在合适位置开孔且通讯接口为I2C,导致成本高和功耗大。
The wear detection is carried out by capacitive structure, and the target capacitor is set at the contact point of the wearable device with the user's body part through the induction device, the control circuit is disconnected and turned on, and the capacitance value is obtained to judge the wearing state and reduce the detection cost.
Low-cost and low-power wear detection is realized, avoiding detection difficulties when the capacitance value remains unchanged when the user wears the device, and improving detection accuracy.
Smart Images

Figure CN115390144B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing, and in particular, to a method, a system, and a storage medium for detecting the wearing of a wearable device. Background Art
[0002] Currently, optical sensors are mainly used in wearable devices for wearing detection. The optical sensors need to have openings at appropriate positions for light transmission. Their communication interfaces are generally Inter-Integrated Circuit (I2C for short), and software configuration and design of read / write interfaces are required, resulting in relatively high costs.
[0003] In view of the above problems, no effective solution has been proposed yet. Summary of the Invention
[0004] Embodiments of this application provide a method, a system, and a storage medium for detecting the wearing of a wearable device, so as to at least solve the technical problem of relatively high costs in detecting the wearing of a wearable device in related technologies.
[0005] According to an aspect of the embodiments of this application, a method for detecting the wearing of a wearable device is provided, including: when the first wearable device is powered on, controlling the target circuit connected to the sensing device to be disconnected, where the sensing device is disposed at a position on the first wearable device that contacts the user's body part; obtaining a first capacitance value of the target capacitor to obtain a capacitance threshold, where a first end of the target capacitor is connected to the target circuit and a second end of the target capacitor is grounded; controlling the target circuit to be turned on and obtaining a second capacitance value of the target capacitor; and obtaining a wearing detection result of the first wearable device based on the capacitance threshold and the second capacitance value, where the wearing detection result is used to indicate whether the user is wearing the first wearable device.
[0006] According to an aspect of the embodiments of this application, a system for detecting the wearing of a wearable device is provided, including: a sensing device disposed at a position on the first wearable device that contacts the user's body part; a control device connected to the sensing device through the target circuit; a target capacitor, where a first end of the target capacitor is connected to the target circuit and a second end of the target capacitor is grounded; the control device is configured to, when the first wearable device is powered on, control the target circuit to be disconnected; obtain the first capacitance value to obtain a capacitance threshold; control the target circuit to be turned on and obtain the second capacitance value of the target capacitor; and obtain a wearing detection result of the first wearable device based on the capacitance threshold and the second capacitance value, where the wearing detection result is used to indicate whether the user is wearing the first wearable device.
[0007] According to an aspect of the embodiments of this application, a wearable device is provided, including the system for detecting the wearing of a wearable device in the above embodiments.
[0008] According to one aspect of the embodiments of the present application, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored program, wherein when the program runs, it controls the device where the computer-readable storage medium is located to execute the wearing detection method of the wearable device in any one of the above embodiments.
[0009] According to one aspect of the embodiments of the present application, a computer program product is provided, including: a computer program, and the computer program is executed by a processor to perform the wearing detection method of the wearable device in any one of the above embodiments.
[0010] In the embodiments of the present application, first, when the first wearable device is powered on, the target circuit connected to the sensing device is controlled to be disconnected, wherein the sensing device is arranged at the position where the first wearable device contacts the user's body part; then the first capacitance value of the target capacitor is obtained to get a capacitance threshold, wherein the first end of the target capacitor is connected to the target circuit and the second end of the target capacitor is grounded; the target circuit is controlled to be turned on, and the second capacitance value of the target capacitor is obtained; based on the capacitance threshold and the second capacitance value, the wearing detection result of the first wearable device is obtained, wherein the wearing detection result is used to represent whether the user wears the first wearable device, achieving the goal of reducing the power consumption of wearing detection. When performing wearing detection, a simple-structured capacitance structure control circuit can be used to control the conduction, so as to reduce the cost of wearing detection. When the first wearable device is powered on, the target circuit connected to the sensing device can be controlled to be disconnected, avoiding the situation that when the user has already worn the first wearable device, the capacitance value of the target capacitor does not change, making it difficult to detect whether the user wears the first wearable device, and thus solving the technical problem of the relatively high cost of wearing detection of wearable devices in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:
[0012] Figure 1 is a schematic diagram of the hardware environment of a virtual reality device for the wearing detection method of a wearable device according to the embodiments of the present application;
[0013] Figure 2 is a structural block diagram of a computing environment for the wearing detection method of a wearable device according to the embodiments of the present application;
[0014] Figure 3 is a flowchart of the wearing detection method of a wearable device according to Embodiment 1 of the present application;
[0015] Figure 4 is a schematic diagram of touch wearing detection according to the embodiments of the present application;
[0016] Figure 5 It is a schematic diagram of another touch wearing detection according to an embodiment of the present application;
[0017] Figure 6 It is a schematic diagram of a wearing detection device of a wearable device according to Embodiment 3 of the present application;
[0018] Figure 7 It is a block diagram of the structure of a computer terminal according to an embodiment of the present application. Specific implementation manners
[0019] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily need to be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or devices.
[0021] First, some nouns or terms that appear in the process of describing the embodiments of the present application are applicable to the following explanations:
[0022] Capacitance: An electronic device, generally referring to a capacitor: two conductors close to each other with a layer of non-conductive insulating medium in between, which constitutes a capacitor. When a voltage is applied between the two plates of the capacitor, the capacitor will store charge, and the unit is farad F;
[0023] Capacitive touch detection: Detecting whether there is external touch information by the change of capacitance resulting in the change of electric quantity and voltage;
[0024] Analog switch: A device that can control the on / off of analog signals;
[0025] Pulse signal: A signal composed of high level (logic 1) and low level (logic 0);
[0026] I2C: A communication bus on the board, often used for processors and sensors to exchange data;
[0027] Microcontroller: Micro Controller Unit, abbreviated as MCU.
[0028] Generally, optical sensors or capacitive sensors are used for wearable detection. Among them, optical sensors need to have openings at appropriate positions and require light transmission. The communication interface is generally I2C. The software needs to configure and design read and write interfaces, and the cost is relatively high. Since it is based on a light emitter for detection, there will be relatively high power consumption. Among them, capacitive sensors are divided into two categories: one is the commonly used external capacitor for True Wireless Stereo (TWS) to adjust sensitivity, and the input and output stream (Input, Output, abbreviated as IO) detects signal output. It has low cost, simple structure, and low power consumption. The other is an Introduction to Integrated Circuits (IC), which can provide complex functions such as gesture detection. The interface is generally I2C, requires software configuration, is relatively complex to use, has high cost, and high power consumption.
[0029] To solve the above problems, this application provides a method for detecting the wearing of a wearable device, which can more accurately detect the wearable device through a relatively simple capacitive structure.
[0030] Embodiment 1
[0031] According to an embodiment of this application, there is also provided a method for detecting the wearing of a wearable device. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0032] Figure 1 It is a schematic diagram of the hardware environment of a virtual reality device for a method for detecting the wearing of a wearable device according to an embodiment of this application. As Figure 1 shown, the virtual reality device 104 is connected to the terminal 106, and the terminal 106 is connected to the server 102 through a network. The above virtual reality device 104 is not limited to: virtual reality helmets, virtual reality glasses, virtual reality all-in-ones, etc. The above terminal 104 is not limited to PCs, mobile phones, tablet computers, etc. The server 102 can be a server corresponding to a media file operator. The above network includes but is not limited to: wide area network, metropolitan area network or local area network.
[0033] Optionally, the virtual reality device 104 of this embodiment includes: a memory, a processor, and a transmission device. The memory is used to store an application program, which can be used to execute: when the first wearable device is powered on, control the target circuit connected to the sensing device to disconnect, where the sensing device is disposed at a position on the first wearable device where it contacts the user's body part; obtain a first capacitance value of the target capacitor to obtain a capacitance threshold, where a first end of the target capacitor is connected to the target circuit and a second end of the target capacitor is grounded; control the target circuit to conduct and obtain a second capacitance value of the target capacitor; based on the capacitance threshold and the second capacitance value, obtain a wearing detection result of the first wearable device, where the wearing detection result is used to characterize whether the user wears the first wearable device, thereby solving the technical problem of high cost of wearing detection for wearable devices in the related art.
[0034] The terminal of this embodiment can be used to execute the wearing detection result of the first wearable device on the presentation screen of a virtual reality (VR) device or an augmented reality (AR) device, and send the wearing detection result of the first wearable device to the virtual reality device 104, and the virtual reality device 104 displays it at the target placement position after receiving the wearing detection result of the first wearable device.
[0035] Optionally, the HMD (Head Mount Display) head-mounted display with eye tracking of the virtual reality device 104 of this embodiment has the same function as the eye tracking module in the above embodiment, that is, the screen in the HMD head-mounted display is used to display real-time images, and the eye tracking module in the HMD is used to obtain the real-time movement path of the user's eyes. The terminal of this embodiment obtains the position information and movement information of the user in the real three-dimensional space through the tracking system, and calculates the three-dimensional coordinates of the user's head in the virtual three-dimensional space and the viewing direction of the user in the virtual three-dimensional space.
[0036] Figure 1 The shown hardware structure block diagram can not only be used as an exemplary block diagram of the above AR / VR device (or mobile device), but also as an exemplary block diagram of the above server. In an alternative embodiment, Figure 2 is shown in a block diagram using the above Figure 1 shown AR / VR device (or mobile device) as a computing node in the computing environment 201 in one embodiment. Figure 2 is a structural block diagram of a computing environment of a wearing detection method for a wearable device according to an embodiment of the present application, as Figure 2As shown, the computing environment 201 includes multiple computing nodes (such as servers, shown in the figure as 210-1, 210-2, …) running on a distributed network. Each computing node contains local processing and memory resources, and end users 202 can remotely run applications or store data in the computing environment 201. The applications can be provided as multiple services 220-1, 220-2, 220-3, and 220-4 in the computing environment 301, representing services “A”, “D”, “E”, and “H” respectively.
[0037] End users 202 can provide and access services through a web browser or other software applications on the client. In some embodiments, the provision and / or requests of end users 202 can be provided to the ingress gateway 230. The ingress gateway 230 can include a corresponding proxy to handle the provision and / or requests for services 220 (one or more services provided in the computing environment 201).
[0038] Services 220 are provided or deployed according to various virtualization technologies supported by the computing environment 201. In some embodiments, services 220 can be provided based on virtual machine (VM)-based virtualization, container-based virtualization, and / or similar means. VM-based virtualization can simulate a real computer by initializing a virtual machine and execute programs and applications without directly accessing any actual hardware resources. While virtualizing the machine with a virtual machine, according to container-based virtualization, containers can be launched to virtualize the entire operating system (OS) so that multiple workloads can run on a single operating system instance.
[0039] In one embodiment of container-based virtualization, several containers of service 220 can be assembled into a POD (e.g., Kubernetes POD). For example, as Figure 2 shown, service 220-2 can be equipped with one or more PODs 240-1, 240-2, …, 240-N (collectively referred to as POD 240). Each POD 240 can include a proxy 245 and one or more containers 242-1, 242-2, …, 242-M (collectively referred to as containers 242). One or more containers 242 in POD 240 handle requests related to one or more corresponding functions of the service, and the proxy 245 generally controls network functions related to the service, such as routing, load balancing, etc. Other services 220 can also be accompanied by PODs similar to POD 240.
[0040] During operation, executing user requests from end users 202 may require invoking one or more services 220 in the computing environment 201, and executing one or more functions of a service 220 may require invoking one or more functions of another service 220. AsFigure 2 As shown, service "A" 220-1 receives a user request from end user 202 from ingress gateway 230. Service "A" 220-1 may invoke service "D" 220-2, and service "D" 220-2 may request service "E" 220-3 to perform one or more functions.
[0041] The above computing environment may be a cloud computing environment, where the allocation of resources is managed by a cloud service provider, allowing the development of functions without considering the implementation, adjustment, or expansion of servers. This computing environment allows developers to execute code in response to events without building or maintaining complex infrastructure. Services can be split into a set of functions that can be automatically and independently scaled, rather than expanding a single hardware device to handle potential loads.
[0042] Under the above operating environment, the present application provides a method for detecting the wearing of a wearable device as shown in Figure 3 It should be noted that the method for detecting the wearing of the wearable device in this embodiment may be executed by the mobile terminal in the embodiment shown in Figure 1 shown. Figure 3 is a flowchart of the method for detecting the wearing of a wearable device according to Embodiment 1 of the present application. As shown in Figure 3 shown, the method may include the following steps:
[0043] Step S302, when the first wearable device is powered on, control the target circuit connected to the sensing device to be disconnected.
[0044] Among them, the sensing device is arranged at a position on the first wearable device where it contacts the user's body part.
[0045] The above first wearable device may be a wearable watch, a wearable mobile terminal, wearable glasses, a wearable helmet, etc., but is not limited thereto. The first wearable device in the present application may be any intelligent device that can be worn on a user's body, where the user may be a person or an animal. The above first wearable device may be a virtual reality (VR) device or an augmented reality (AR) device.
[0046] The above first wearable device may also be a true wireless stereo (TWS) headset.
[0047] The above-mentioned sensing device can be a metal sheet, or it can also be a sensor. Among them, the sensing device is used to determine whether the first wearable device is connected to the user's body part, that is, the sensing device can be used to determine whether the user is wearing the first wearable device. Among them, the metal sheet, as the wearing sensing part, can be of any shape. The metal sheet can be implemented using a flexible printed circuit (FPC) in combination with the product structure and shape, and the size and shape of the metal sheet can be flexibly adjusted to fit the structure of the first wearable device.
[0048] The above-mentioned target circuit is used to conduct the circuit between the first wearable device and the sensing device.
[0049] In an optional embodiment, when the first wearable device is powered on, that is, when the first wearable device is turned on, the target circuit connected to the sensing device can be controlled to disconnect. At this time, regardless of whether the user is wearing the first wearable device, the first wearable device considers that the user is not wearing the first wearable device, and the capacitance value of the target capacitor at this time can be obtained as the capacitance threshold for detecting whether the first wearable device is worn.
[0050] In another optional embodiment, when the first wearable device is an AR or VR glasses, the sensing device can be placed in the part of the AR or VR glasses that fits the human body. The sensing device can be set on the inner side of the temple and fit the human ear, but it is not limited to this. The sensing device can be set in any shape, and it needs to have a certain detection area to facilitate fitting with the first wearable device.
[0051] Step S304, obtain the first capacitance value of the target capacitor to obtain the capacitance threshold.
[0052] Among them, the first end of the target capacitor is connected to the target circuit, and the second end of the target capacitor is grounded.
[0053] In an optional embodiment, if the user powers on the first wearable device after wearing it, at this time, the target circuit connected to the sensing device can be controlled to disconnect, simulating the scenario where the user is not wearing the first wearable device. At this time, the first capacitance value of the target capacitor can be obtained to obtain the capacitance threshold, and whether the user is wearing the first wearable device can be detected according to the capacitance threshold.
[0054] In another optional embodiment, if the user powers on the first wearable device when not wearing it, at this time the target circuit is not conducting, and the first capacitance value of the target capacitor when the target circuit connected to the sensing device is disconnected is the same as the first capacitance value of the target capacitor when it is not disconnected. The corresponding capacitance threshold can be determined according to this first capacitance value, so as to detect whether the user is wearing the first wearable device according to this capacitance threshold.
[0055] Step S306: Control the target circuit to conduct and obtain the second capacitance value of the target capacitor.
[0056] In an alternative embodiment, after obtaining the capacitance threshold, the target circuit can be controlled to conduct. At this time, if the sensing device is in contact with the user's body part, the capacitance value of the target capacitor will change; if the sensing device is not in contact with the user's body part, the capacitance value of the target capacitor will not change. Whether the user wears the first wearable device can be detected based on the change in the capacitance value of the target capacitor.
[0057] In another alternative embodiment, the target circuit can be controlled to conduct. At this time, the second capacitance value of the target capacitor can be obtained to determine whether the capacitance value increases sharply. If the user wears the first wearable device, the capacitance value will increase sharply. If the second capacitance value exceeds the capacitance threshold, a wearing signal will be sent; if the user removes the first wearable device after wearing it, the capacitance value will decrease sharply. If the second capacitance value is less than the capacitance threshold, it indicates that the wearing detection result is that the user does not wear the first wearable device. If the user does not wear the first wearable device, the capacitance value remains unchanged. At this time, the second capacitance value is equal to the capacitance threshold, indicating that the wearing detection result is that the user does not wear the first wearable device.
[0058] In yet another alternative embodiment, after obtaining the capacitance threshold, a period of time can be waited for the capacitance value of the target capacitor to stabilize, and then the target circuit can be controlled to conduct.
[0059] Step S308: Based on the capacitance threshold and the second capacitance value, obtain the wearing detection result of the first wearable device.
[0060] The wearing detection result is used to indicate whether the user wears the first wearable device.
[0061] In an alternative embodiment, since the capacitance threshold is the capacitance value obtained by detecting the target capacitor connected to the target circuit in a scenario where the user does not wear the first wearable device, the capacitance threshold can be used as a basis for determining whether the first wearable device is worn. If the second capacitance value of the target capacitor obtained after turning on the target circuit is greater than the capacitance threshold, it indicates that the user wears the first wearable device at this time. If the second capacitance value of the target capacitor obtained after turning on the target circuit is equal to the capacitance threshold, it indicates that the user does not wear the first wearable device at this time.
[0062] In another alternative embodiment, after obtaining the wearing detection result of the first wearable device, corresponding functions can be provided for the user according to the wearing detection result of the first wearable device. If the wearing detection result indicates that the user is not wearing the first wearable device, the first wearable device can be controlled to enter the sleep mode to reduce the power consumption of the first wearable device. If it is detected that the user is wearing the first wearable device, the functions required by the user can be enabled.
[0063] Figure 4 FIG. 4 is a schematic diagram of a touch wearing detection according to an embodiment of the present application. Among them, a metal sheet can be used as the sensing device, and the wearing detection IC is used to detect whether there is a conductor, such as whether the face, wrist, etc. are in contact with the metal sheet. If there is, signal 1 is output, and if not, signal 2 is output. The touched signal output can be sent to the microcontroller (Micro Control Unit, abbreviated as MCU) for subsequent processing of the touched signal. Figure 4 Cs in FIG. 4 can be a sensitivity adjustment capacitor, which is used to adjust the sensitivity of the induction.
[0064] Figure 4 The working process of the wearing detection IC in FIG. 4 can be as follows: After powering on the first wearable device, the wearing detection IC samples the capacitance value of the analog pin connected to Cs as the initialization reference, and records this initialization reference as Cbase, and outputs a signal of 0. After initialization, the output is 0; if a person approaches the metal sheet at this time, the rapid increase process of the capacitance value can be recorded as Cact. When it exceeds Cbase, it is determined that a touch is sensed, and signal 1 is output; if a person moves away from the metal sheet at this time, the wearing detection IC detects that the capacitance value decreases rapidly, outputs 0, and will perform initialization calibration again, recorded as Cbase2. In this solution, whether the user wears the first wearable device can be detected through a simple capacitance structure, which can save the cost of detection.
[0065] Figure 4 There is a user usage scenario in the wearing detection mode of FIG. 4 where it is difficult to detect the operation of the user removing the device. For example, after the user wears the first wearable device and then powers on the first wearable device, at this time, the wearing detection IC will take the capacitance value Cact after wearing as Cbase, and the output is 0; after removing, the capacitance decreases rapidly, and then it will be recalibrated to Cbase, but the output is still 0. Since the output signal does not change, the signal of removing the device in this case cannot be detected, resulting in incomplete functions. In order to make Figure 4 the touch wearing detection function in FIG. 4 more perfect, it can be improved on the basis of Figure 4 FIG. 4.
[0066] Figure 5 FIG. 5 is a schematic diagram of another touch wearing detection according to an embodiment of the present application. As shown in Figure 5 FIG. 5, it can be in Figure 4An analog switch controllable by the MCU is added between the metal sheet and the sampling port of the wear detection IC. When the detection IC is powered on, that is, at the beginning, the MCU first disconnects the analog switch. At this time, the reference of the wear detection IC is Cbase (i.e., the above-mentioned capacitance threshold), and the output is 0. After a few milliseconds of delay to stabilize the detection value of the wear detection IC, then the MCU controls the analog switch to be turned on. If the user is in a worn state at this time, due to the access of a large capacitance, the wear detection IC will detect the wear signal according to the sharp increase in capacitance, and the output is 1. At this time, there will be no Figure 4 The situation where the signal cannot be detected when the first wearable device is powered on after being worn; when removed, due to the sharp decrease in capacitance, the removal signal is detected and the output is 0. At this time, the reference capacitance can be recalibrated to Cbase2. Thus, it can solve Figure 4 The problem of incomplete functions caused by powering on after the user wears the first wearable device as described in
[0067] In an optional embodiment, when the wear detection result of the first wearable device is that the user wears the first wearable device, the target model can be displayed on the first wearable device. Among them, the target model can be a game model, and the user can perform game operations in the game through the first wearable device. Optionally, the first wearable device can be associated and connected with multiple second wearable devices, and the target model can be simultaneously displayed on the first wearable device and multiple second wearable devices, so that multiple users can perform game interactions in the game model through the first wearable device and multiple second wearable devices, thereby improving the user experience.
[0068] In an embodiment of the present application, first, when the first wearable device is powered on, the target circuit connected to the sensing device is controlled to be disconnected, where the sensing device is disposed at a position on the first wearable device that is in contact with the user's body part; then the first capacitance value of the target capacitor is obtained to obtain a capacitance threshold, where the first end of the target capacitor is connected to the target circuit and the second end of the target capacitor is grounded; the target circuit is controlled to be turned on, and the second capacitance value of the target capacitor is obtained; based on the capacitance threshold and the second capacitance value, a wearing detection result of the first wearable device is obtained, where the wearing detection result is used to indicate whether the user wears the first wearable device, achieving the goal of reducing the power consumption of wearing detection. When performing wearing detection, a simple-structured capacitance structure control circuit can be used to turn on the circuit, so as to reduce the cost of wearing detection. When the first wearable device is powered on, the target circuit connected to the sensing device can be controlled to be disconnected, avoiding the situation where the capacitance value of the target capacitor does not change when the user has already worn the first wearable device, making it difficult to detect whether the user wears the first wearable device, thereby solving the technical problem of relatively high cost of wearing detection of wearable devices in the related art. In addition, the target model is simultaneously displayed on the first wearable device and multiple second wearable devices, so that multiple users can perform interactions in the game.
[0069] In the above embodiment of the present application, a target switch is provided in the target circuit. Controlling the target circuit connected to the sensing device to be disconnected includes: controlling the target switch to be disconnected; controlling the target circuit to be turned on includes: controlling the target switch to be turned on.
[0070] The above target switch can be connected to the MCU of the first wearable device. Wherein, the MCU can control the target switch to be disconnected according to the power-on situation of the first wearable device, thereby controlling the target circuit connected to the sensing device to be disconnected. The MCU can control the target switch to be turned on according to the obtained capacitance threshold, thereby controlling the target circuit connected to the sensing device to be turned on.
[0071] In the above embodiment of the present application, obtaining the wearing detection result of the first wearable device based on the capacitance threshold and the second capacitance value includes: when the second capacitance value is greater than the capacitance threshold, determining that the wearing detection result is that the user wears the first wearable device; when the second capacitance value is less than or equal to the capacitance threshold, determining that the wearing detection result is that the user does not wear the first wearable device.
[0072] In an alternative embodiment, if the second capacitance value is greater than the capacitance threshold, it indicates that the sensing device provided on the first wearable device is in contact with the user's body part, thereby turning on the target circuit. Since the sensing device is in contact with the user's body part, the target circuit will charge the target capacitor, resulting in a sharp increase in the capacitance value of the target capacitor, so that it is greater than the capacitance threshold set when the first wearable device is powered on.
[0073] In another alternative embodiment, if the second capacitance value is less than or equal to the capacitance threshold, it indicates that the sensing device on the first wearable device is not in contact with the user's body part. At this time, the target circuit is turned on. Since the sensing device is not in contact with the user's body part, the target circuit will discharge the target capacitor, resulting in a sharp decrease in the capacitance value of the target capacitor, so that it is less than or equal to the capacitance threshold set when the first wearable device is powered on.
[0074] In the above embodiments of the present application, when the wearing detection result changes from the user wearing the first wearable device to the user not wearing the first wearable device, the method further includes: obtaining a third capacitance value of the target capacitor; updating the capacitance threshold based on the third capacitance value.
[0075] In an alternative embodiment, when the wearing detection result changes from the user wearing the first wearable device to the user not wearing the first wearable device, the third capacitance value of the target capacitor can be obtained. At this time, the third capacitance value can be used as the capacitance threshold when the user is not wearing the first wearable device. If the user wears the first wearable device again, the wearing detection can be performed based on the capacitance threshold and the capacitance value of the target capacitor.
[0076] In the above embodiments of the present application, when the wearing detection result is that the user wears the first wearable device, the method further includes: obtaining the biometric characteristics of the user; identifying the biometric characteristics to determine the target permission level of the user; driving the first wearable device to display the target model corresponding to the target permission level, where different permission levels correspond to models with different precisions.
[0077] The above biometric characteristics can be the iris characteristics, fingerprint characteristics, facial characteristics, etc. of the user, and no limitation is made here. It should be noted that the biometric characteristics can be obtained in a legal manner after the user's permission.
[0078] The above target model can be a picture model, a video model, a 3D model, and no limitation is made to the target model here. The target model can be displayed in the first wearable device for the user to view.
[0079] The above target permission level can be set according to the user's registration information.
[0080] When the first wearable device is an AR / VR glasses, the target permission level can be the membership level for viewing the target model. For ordinary users, they can view the target model with low precision. For ordinary members, they can view the target model with general precision. For premium members, they can view the target model with high precision. It should be noted that the higher the membership level, the more permissions they can have. They can display target models with different precisions according to the network status of the current environment. If the network status is poor, premium members have the permission to convert the high-precision target model into a low-precision target model for viewing.
[0081] The above-mentioned target model can also be a model for listening to music. This target model can be played in the first wearable device for the user to listen to.
[0082] When the first wearable device is an earphone, the target permission level can be the membership level for listening to music. For ordinary users, they can listen to music with ordinary sound quality. For ordinary members, they can listen to music with high-quality sound quality. For premium members, they can listen to music with lossless sound quality. It should be noted that the higher the membership level, the more permissions they can have. They can play songs with different qualities according to the network status of the current environment. If the network status is poor, premium members have the permission to listen to music with ordinary sound quality.
[0083] In the above embodiments of the present application, driving the first wearable device to display the target model corresponding to the target permission level includes: obtaining the target posture of the user; based on the target posture, determining the first working state of the first wearable device, where the first working state is used to represent whether the first wearable device is in a locked state; in the case where the first working state is that the first wearable device is in an unlocked state, driving the first wearable device to display the target model.
[0084] The above-mentioned target posture can be the posture of the user for locking or unlocking the target model. Among them, the target posture can be the body posture, hand posture, head posture, etc. of the user, and no specific limitation is made here.
[0085] In an optional embodiment, the first wearable device can be unlocked according to the target posture, and it is determined that the first working state of the first wearable device is in an unlocked state. At this time, the first wearable device can be driven to display the target model for the user to view. The first wearable device can also be locked according to the target posture, and it is determined that the first working state of the first wearable device is in a locked state. At this time, the first wearable device can be driven to close the target model to save power.
[0086] When the first wearable device is an AR / VR glasses, the first wearable device can be unlocked by raising the elbow, so that the first wearable device ends the locked state, which can improve the user experience. The first wearable device can be locked by lowering the elbow, so that the first wearable device enters the locked state, reducing the power consumption of the first wearable device, and thus saving the power of the first wearable device.
[0087] In the above embodiments of the present application, driving the first wearable device to display the target model includes: determining whether the first wearable device is connected to multiple second wearable devices; in the case where the first wearable device is connected to multiple second wearable devices, obtaining the second working states of the multiple second wearable devices; and in the case where the second working states are that the multiple second wearable devices are in the unlocked state, driving the first wearable device to display the target model.
[0088] The above target model can be a game model, where multiple users can wear the second wearable devices respectively to play games online.
[0089] The first wearable device and the multiple second wearable devices can be used for online gaming, and can also be used for online video viewing, listening to music, etc. There is no limitation here.
[0090] In an alternative embodiment, it can be first determined whether the first wearable device is connected to multiple second wearable devices. If the first wearable device is connected to multiple second wearable devices, the first wearable device can be driven to display the target model according to the second working states of the multiple second wearable devices. Among them, the target model can be simultaneously displayed on the first wearable device and the multiple second wearable devices, so that multiple users can interact in the game.
[0091] In the above embodiments of the present application, in the case where the wearing detection result is that the user wears the first wearable device, the method further includes one of the following: driving the first wearable device to perform a first preset operation; driving the first wearable device to perform a historical operation, where the historical operation is used to represent the operation performed by the first wearable device before the last wearing detection result changes from the user wearing the first wearable device to the user not wearing the first wearable device.
[0092] The above first preset operation can be a wake-up operation, and the first preset operation can also be a power-on operation, a power-off operation, etc. Here, it can be changed according to the user's needs.
[0093] In an alternative embodiment, in the case where the wearing detection result is that the user wears the first wearable device, the first wearable device can be driven to perform an automatic wake-up operation, and the user does not need to perform any operation, improving the user experience.
[0094] In another alternative embodiment, when the wearing detection result indicates that the user is wearing the first wearable device, the first wearable device can be driven to resume the function that was being executed historically. If the first wearable device performed the corresponding function the last time it was worn, when it is detected that the user wears the first wearable device again, the corresponding function can be continued to be executed without the user having to perform manual operations.
[0095] In the above embodiments of the present application, when the wearing detection result indicates that the user is not wearing the first wearable device, the method further includes: controlling the first wearable device to enter a preset mode, where the power consumption of the preset mode is lower than the preset power consumption.
[0096] The above-mentioned preset mode can be a low-power mode, a sleep mode, or a power-saving mode.
[0097] In an alternative embodiment, when the wearing detection result indicates that the user is not wearing the first wearable device, it means that the user does not use the first wearable device at this time. Then, the first wearable device can be controlled to enter the preset mode to reduce the power consumption of the first wearable device, increase the battery life, and this process does not require the user to set manually, which can improve the user experience.
[0098] It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, certain steps can be in other sequences or performed simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.
[0099] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions for causing a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present application.
[0100] Embodiment 2
[0101] According to an embodiment of the present application, there is also provided a wearing detection system for a wearable device, and the system includes:
[0102] An induction device is arranged at a position on the first wearable device where it contacts the user's body part; a control device is connected to the induction device through a target circuit; a target capacitor, the first end of the target capacitor is connected to the target circuit, and the second end of the target capacitor is grounded; the control device is configured to control the disconnection of the target circuit when the first wearable device is powered on; obtain a first capacitance value to obtain a capacitance threshold; control the conduction of the target circuit and obtain a second capacitance value of the target capacitor; based on the capacitance threshold and the second capacitance value, obtain a wearing detection result of the first wearable device, where the wearing detection result is used to represent whether the user wears the first wearable device.
[0103] In the above embodiments of the present application, the target circuit includes: a target switch, and the control device is configured to control the conduction and disconnection of the target circuit by controlling the conduction and disconnection of the target switch.
[0104] It should be noted that the preferred implementation schemes involved in the above embodiments of the present application are the same as the schemes, application scenarios, and implementation processes provided in Embodiment 1, but are not limited to the schemes provided in Embodiment 1.
[0105] Embodiment 3
[0106] According to an embodiment of the present application, there is also provided a wearing detection device for a wearable device for implementing the above wearing detection method of the wearable device. Figure 6 It is a schematic diagram of a wearing detection device for a wearable device according to Embodiment 3 of the present application, as Figure 6 shown. The device 600 includes: a first control module 602, an acquisition module 604, a second control module 606, and a detection module 608.
[0107] Among them, the first control module is configured to control the disconnection of the target circuit connected to the induction device when the first wearable device is powered on, where the induction device is arranged at a position on the first wearable device where it contacts the user's body part; the acquisition module is configured to acquire a first capacitance value of the target capacitor to obtain a capacitance threshold, where the first end of the target capacitor is connected to the target circuit and the second end of the target capacitor is grounded; the second control module is configured to control the conduction of the target circuit and acquire a second capacitance value of the target capacitor; the detection module is configured to obtain a wearing detection result of the first wearable device based on the capacitance threshold and the second capacitance value, where the wearing detection result is used to represent whether the user wears the first wearable device.
[0108] It should be noted here that the above-mentioned first control module 602, acquisition module 604, second control module 606, and detection module 608 correspond to steps S302 to S308 in Embodiment 1. The instances and application scenarios implemented by the four modules and the corresponding steps are the same, but are not limited to the content disclosed in the above-mentioned Embodiment 1. It should be noted that the above-mentioned modules, as part of the device, can run in the computer terminal 10 provided in Embodiment 1.
[0109] In the above-mentioned embodiments of the present application, a target switch is provided in the target circuit, and the first control module is further configured to control the target switch to disconnect; the second control module is further configured to control the target circuit to conduct, including: controlling the target switch to conduct.
[0110] In the above-mentioned embodiments of the present application, the detection module includes: a first determination unit and a second determination unit.
[0111] Among them, the first determination unit is configured to determine that the wearing detection result is that the user wears the first wearable device when the second capacitance value is greater than the capacitance threshold; the second determination unit is configured to determine that the wearing detection result is that the user does not wear the first wearable device when the second capacitance value is less than or equal to the capacitance threshold.
[0112] In the above-mentioned embodiments of the present application, the device further includes: an update module.
[0113] Among them, the acquisition module is further configured to acquire a third capacitance value of the target capacitor; the update module is configured to update the capacitance threshold based on the third capacitance value.
[0114] In the above-mentioned embodiments of the present application, the device further includes: an identification module and a driving module.
[0115] Among them, the acquisition module is further configured to acquire the biometric characteristics of the user; the identification module is configured to identify the biometric characteristics to determine the target permission level of the user; the driving module is configured to drive the first wearable device to display the target model corresponding to the target permission level, where different permission levels correspond to models with different precisions.
[0116] In the above-mentioned embodiments of the present application, the driving module includes: an acquisition unit, a third determination unit, and a driving unit.
[0117] Among them, the acquisition unit is configured to acquire the target posture of the user; the third determination unit is configured to determine the first working state of the first wearable device based on the target posture, where the first working state is used to represent whether the first wearable device is in a locked state; the driving unit is configured to drive the first wearable device to display the target model when the first working state is that the first wearable device is in an unlocked state.
[0118] In the above-mentioned embodiments of the present application, the driving unit includes: a determination subunit, an acquisition subunit, and a driving subunit.
[0119] Among them, the determination subunit is used to determine whether the first wearable device establishes a connection with multiple second wearable devices; the acquisition subunit is used to acquire the second working states of the multiple second wearable devices when the first wearable device establishes a connection with the multiple second wearable devices; the driving subunit is used to drive the first wearable device to display a target model when the second working states are that the multiple second wearable devices are in an unlocked state.
[0120] In the above embodiments of the present application, the driving module is further used to drive the first wearable device to perform a first preset operation; the driving module is further used to drive the first wearable device to perform a historical operation, where the historical operation is used to represent the operation performed by the first wearable device before the last wearing detection result changes from the user wearing the first wearable device to the user not wearing the first wearable device.
[0121] In the above embodiments of the present application, the control module is further used to control the first wearable device to enter a preset mode, where the power consumption of the preset mode is lower than a preset power consumption.
[0122] It should be noted that the preferred implementation schemes involved in the above embodiments of the present application are the same as the schemes, application scenarios, and implementation processes provided in Embodiment 1, but are not limited to the schemes provided in Embodiment 1.
[0123] Embodiment 4
[0124] An embodiment of the present application can provide a wearable device, which may include an AR / VR device, a server, and a client. The AR / VR device may be any one of the AR / VR device group. Optionally, the wearable device includes: a processor; a memory connected to the processor for providing instructions for the processor to perform the following processing steps: when the first wearable device is powered on, controlling a target circuit connected to a sensing device to be disconnected, where the sensing device is disposed at a position on the first wearable device that contacts the user's body part; acquiring a first capacitance value of a target capacitor to obtain a capacitance threshold, where a first end of the target capacitor is connected to the target circuit and a second end of the target capacitor is grounded; controlling the target circuit to be turned on and acquiring a second capacitance value of the target capacitor; and obtaining a wearing detection result of the first wearable device based on the capacitance threshold and the second capacitance value, where the wearing detection result is used to represent whether the user wears the first wearable device.
[0125] Optionally, Figure 7 is a structural block diagram of a computer terminal according to an embodiment of the present application. As Figure 7 shown, the computer terminal A may include: one or more (only one is shown in the figure) processors and a memory.
[0126] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the device for the wearing detection method of the wearable device in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implements the above-mentioned wearing detection method of the wearable device. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memories. In some instances, the memory may further include a memory remotely set with respect to the processor, and these remote memories can be connected to the terminal A through a network. Examples of the above network include but are not limited to the Internet, enterprise intranet, local area network, mobile communication network, and combinations thereof.
[0127] The processor can call the information and application programs stored in the memory through the transmission device to execute the following steps: when the first wearable device is powered on, control the target circuit connected to the sensing device to be disconnected, where the sensing device is set at the position on the first wearable device that contacts the user's body part; obtain the first capacitance value of the target capacitor to obtain a capacitance threshold, where the first end of the target capacitor is connected to the target circuit and the second end of the target capacitor is grounded; control the target circuit to be turned on and obtain the second capacitance value of the target capacitor; based on the capacitance threshold and the second capacitance value, obtain the wearing detection result of the first wearable device, where the wearing detection result is used to represent whether the user wears the first wearable device.
[0128] Optionally, the above processor can also execute the program code of the following steps: control the target switch to be disconnected; controlling the target circuit to be turned on includes: controlling the target switch to be turned on.
[0129] Optionally, the above processor can also execute the program code of the following steps: when the second capacitance value is greater than the capacitance threshold, determine that the wearing detection result is that the user wears the first wearable device; when the second capacitance value is less than or equal to the capacitance threshold, determine that the wearing detection result is that the user does not wear the first wearable device.
[0130] Optionally, the above processor can also execute the program code of the following steps: obtain the third capacitance value of the target capacitor; update the capacitance threshold based on the third capacitance value.
[0131] Optionally, the above processor can also execute the program code of the following steps: obtain the biometric characteristics of the user; identify the biometric characteristics to determine the target permission level of the user; drive the first wearable device to display the target model corresponding to the target permission level, where different permission levels correspond to models with different precisions.
[0132] Optionally, the above-mentioned processor may also execute the program code of the following steps: obtain the target posture of the user; determine the first working state of the first wearable device based on the target posture, where the first working state is used to represent whether the first wearable device is in a locked state; when the first working state is that the first wearable device is in an unlocked state, drive the first wearable device to display the target model.
[0133] Optionally, the above-mentioned processor may also execute the program code of the following steps: determine whether the first wearable device is connected to multiple second wearable devices; when the first wearable device is connected to multiple second wearable devices, obtain the second working states of the multiple second wearable devices; when the second working states are that the multiple second wearable devices are in an unlocked state, drive the first wearable device to display the target model.
[0134] Optionally, the above-mentioned processor may also execute the program code of the following steps: drive the first wearable device to perform a first preset operation; drive the first wearable device to perform a historical operation, where the historical operation is used to represent the operation performed by the first wearable device before the last wear detection result changes from the user wearing the first wearable device to the user not wearing the first wearable device.
[0135] Optionally, the above-mentioned processor may also execute the program code of the following steps: control the first wearable device to enter a preset mode, where the power consumption of the preset mode is lower than the preset power consumption.
[0136] By adopting the embodiment of the present application, a detection solution for a wearable device is provided. In the embodiment of the present application, first, when the first wearable device is powered on, control the target circuit connected to the sensing device to be disconnected, where the sensing device is arranged at a position on the first wearable device that is in contact with the user's body part; then obtain the first capacitance value of the target capacitor to obtain a capacitance threshold, where the first end of the target capacitor is connected to the target circuit and the second end of the target capacitor is grounded; control the target circuit to conduct and obtain the second capacitance value of the target capacitor; based on the capacitance threshold and the second capacitance value, obtain the wear detection result of the first wearable device, where the wear detection result is used to represent whether the user wears the first wearable device, achieving the goal of reducing the wear detection power consumption. When performing wear detection, a simple-structured capacitance structure control circuit can be used to control the conduction, so as to reduce the cost of wear detection. When the first wearable device is powered on, the target circuit connected to the sensing device can be controlled to be disconnected, avoiding the situation that the capacitance value of the target capacitor does not change when the user has already worn the first wearable device, making it difficult to detect whether the user wears the first wearable device, and thus solving the technical problem of the relatively high cost of wear detection for wearable devices in the related art. In addition, the target model is simultaneously displayed on the first wearable device and multiple second wearable devices, so that multiple users can perform interactions in the game.
[0137] Those of ordinary skill in the art can understand that Figure 7 the structure shown is only illustrative, and the computer terminal can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and terminal devices such as Mobile Internet Devices (MID), PAD, etc. Figure 7 It does not limit the structure of the above-mentioned electronic device. For example, the computer terminal 10 may further include more or fewer components (such as a network interface, a display device, etc.) than those shown in Figure 7 it, or have a different configuration from that shown in Figure 7 it.
[0138] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium. The storage medium may include: a flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disc, etc.
[0139] Embodiment 5
[0140] The embodiment of the present application further provides a computer-readable storage medium. Optionally, in this embodiment, the above computer-readable storage medium can be used to store the program code executed by the wearing detection method of the wearable device provided in the above Embodiment 1.
[0141] Optionally, in this embodiment, the above computer-readable storage medium can be located in any computer terminal in the AR / VR device terminal group in the AR / VR device network, or in any mobile terminal in the mobile terminal group.
[0142] Optionally, in this embodiment, the computer-readable storage medium is set to store program code for performing the following steps: when the first wearable device is powered on, controlling the target circuit connected to the sensing device to be disconnected, where the sensing device is disposed at a position on the first wearable device that contacts the user's body part; obtaining a first capacitance value of the target capacitor to obtain a capacitance threshold, where a first end of the target capacitor is connected to the target circuit and a second end of the target capacitor is grounded; controlling the target circuit to be turned on and obtaining a second capacitance value of the target capacitor; obtaining a wearing detection result of the first wearable device based on the capacitance threshold and the second capacitance value, where the wearing detection result is used to indicate whether the user wears the first wearable device.
[0143] Optionally, the above storage medium is further configured to store program code for performing the following steps: controlling the target switch to disconnect; controlling the target circuit to conduct, including: controlling the target switch to conduct.
[0144] Optionally, the above storage medium is further configured to store program code for performing the following steps: when the second capacitance value is greater than the capacitance threshold, determining that the wearing detection result is that the user is wearing the first wearable device; when the second capacitance value is less than or equal to the capacitance threshold, determining that the wearing detection result is that the user is not wearing the first wearable device.
[0145] Optionally, the above storage medium is further configured to store program code for performing the following steps: obtaining a third capacitance value of the target capacitor; updating the capacitance threshold based on the third capacitance value.
[0146] Optionally, the above storage medium is further configured to store program code for performing the following steps: obtaining the biometric characteristics of the user; identifying the biometric characteristics to determine the target permission level of the user; driving the first wearable device to display the target model corresponding to the target permission level, where different permission levels correspond to models with different precisions.
[0147] Optionally, the above storage medium is further configured to store program code for performing the following steps: obtaining the target posture of the user; based on the target posture, determining the first working state of the first wearable device, where the first working state is used to indicate whether the first wearable device is in a locked state; when the first working state is that the first wearable device is in an unlocked state, driving the first wearable device to display the target model.
[0148] Optionally, the above storage medium is further configured to store program code for performing the following steps: determining whether the first wearable device has established connections with multiple second wearable devices; when the first wearable device has established connections with multiple second wearable devices, obtaining the second working states of the multiple second wearable devices; when the second working states are that the multiple second wearable devices are in an unlocked state, driving the first wearable device to display the target model.
[0149] Optionally, the above storage medium is further configured to store program code for performing the following steps: driving the first wearable device to perform a first preset operation; driving the first wearable device to perform a historical operation, where the historical operation is used to indicate the operation performed by the first wearable device before the last wearing detection result changes from the user wearing the first wearable device to the user not wearing the first wearable device.
[0150] Optionally, the above storage medium is further configured to store program code for performing the following steps: controlling the first wearable device to enter a preset mode, where the power consumption of the preset mode is lower than the preset power consumption.
[0151] An embodiment of the present application provides a detection solution for a wearable device. In the embodiment of the present application, first, when the first wearable device is powered on, the target circuit connected to the sensing device is controlled to be disconnected, where the sensing device is disposed at a position on the first wearable device that contacts the user's body part; then the first capacitance value of the target capacitor is obtained to obtain a capacitance threshold, where the first end of the target capacitor is connected to the target circuit and the second end of the target capacitor is grounded; the target circuit is controlled to be turned on, and the second capacitance value of the target capacitor is obtained; based on the capacitance threshold and the second capacitance value, a wearing detection result of the first wearable device is obtained, where the wearing detection result is used to indicate whether the user wears the first wearable device, achieving the goal of reducing the power consumption of wearing detection. When performing wearing detection, a simple capacitive structure control circuit can be used to turn on the circuit to reduce the cost of wearing detection. When the first wearable device is powered on, the target circuit connected to the sensing device can be controlled to be disconnected to avoid the capacitance value of the target capacitor not changing when the user has already worn the first wearable device, making it difficult to detect whether the user wears the first wearable device, thereby solving the technical problem of high cost of wearing detection of wearable devices in the related art. In addition, the target model is simultaneously displayed on the first wearable device and multiple second wearable devices so that multiple users can perform interactions in the game.
[0152] Embodiment 6
[0153] An embodiment of the present application provides a computer program product, including a computer program, which when executed by a processor, implements the technical solution of the foregoing method embodiment.
[0154] The foregoing serial numbers of the embodiments of the present application are only for description and do not represent the superiority or inferiority of the embodiments.
[0155] In the foregoing embodiments of the present application, the descriptions of the respective embodiments have their own emphases. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0156] In several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in an electrical or other form.
[0157] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0158] In addition, in each embodiment of the present application, each functional unit may be integrated in a processing unit, may exist separately as individual physical units, or two or more units may be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0159] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: USB flash drives, read-only memory (ROM), random access memory (RAM), mobile hard disks, magnetic disks, or optical discs, etc., which can store program codes.
[0160] The above are only the preferred embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A wearing detection method for a wearable device, characterized in that, Including: When the first wearable device is powered on, controlling the disconnection of the target circuit connected to the sensing device, where the sensing device is disposed at a position on the first wearable device that contacts the user's body part, and the target circuit is used to represent the circuit that conducts the first wearable device and the sensing device; Obtaining a first capacitance value of the target capacitor to obtain a capacitance threshold, where a first end of the target capacitor is connected to the target circuit, and a second end of the target capacitor is grounded; Controlling the target circuit to conduct and obtaining a second capacitance value of the target capacitor; Based on the capacitance threshold and the second capacitance value, obtaining a wearing detection result of the first wearable device, where the wearing detection result is used to characterize whether the user wears the first wearable device.
2. The method according to claim 1, wherein A target switch is provided in the target circuit, and controlling the disconnection of the target circuit connected to the sensing device includes: controlling the target switch to disconnect; Controlling the target circuit to conduct includes: controlling the target switch to conduct.
3. The method according to claim 1, wherein Based on the capacitance threshold and the second capacitance value, obtaining the wearing detection result of the first wearable device includes: When the second capacitance value is greater than the capacitance threshold, determining that the wearing detection result is that the user wears the first wearable device; When the second capacitance value is less than or equal to the capacitance threshold, determining that the wearing detection result is that the user does not wear the first wearable device.
4. The method according to claim 1, characterized in that, When the wearing detection result changes from the user wearing the first wearable device to the user not wearing the first wearable device, the method further includes: Obtaining a third capacitance value of the target capacitor; Updating the capacitance threshold based on the third capacitance value.
5. The method according to any one of claims 1 to 4, characterized in that, When the wearing detection result is that the user wears the first wearable device, the method further includes: Obtaining the biometric feature of the user; Identifying the biometric feature to determine the target permission level of the user; Driving the first wearable device to display the target model corresponding to the target permission level, where different permission levels correspond to models with different precisions.
6. The method according to claim 5, wherein Driving the first wearable device to display the target model corresponding to the target permission level includes: Obtaining the target posture of the user; Based on the target posture, determining a first working state of the first wearable device, where the first working state is used to characterize whether the first wearable device is in a locked state; When the first working state is that the first wearable device is in an unlocked state, driving the first wearable device to display the target model.
7. The method according to claim 5, wherein Driving the first wearable device to display the target model includes: Determining whether the first wearable device establishes connections with multiple second wearable devices; When the first wearable device establishes connections with the multiple second wearable devices, obtaining second working states of the multiple second wearable devices; When the second working states are that the multiple second wearable devices are in an unlocked state, driving the first wearable device to display the target model.
8. The method according to any one of claims 1 to 4, characterized in that, When the wearing detection result indicates that the user is wearing the first wearable device, the method further includes one of the following: Driving the first wearable device to perform a first preset operation; Driving the first wearable device to perform a historical operation, where the historical operation is used to represent the operation performed by the first wearable device before the last wearing detection result changes from the user wearing the first wearable device to the user not wearing the first wearable device.
9. The method according to any one of claims 1 to 4, characterized in that, When the wearing detection result indicates that the user is not wearing the first wearable device, the method further includes: Controlling the first wearable device to enter a preset mode, where the power consumption of the preset mode is lower than a preset power consumption.
10. A wearing detection system for a wearable device, characterized in that, Including: An induction device, disposed at a position on the first wearable device where it contacts the user's body part; A control device, connected to the induction device through a target circuit; A target capacitor, with the first end of the target capacitor connected to the target circuit and the second end of the target capacitor grounded, where the target circuit is used to represent the circuit connecting the first wearable device and the induction device; The control device is configured to control the target circuit to be disconnected when the first wearable device is powered on; obtain a first capacitance value to obtain a capacitance threshold; control the target circuit to be conductive and obtain a second capacitance value of the target capacitor; and obtain the wearing detection result of the first wearable device based on the capacitance threshold and the second capacitance value, where the wearing detection result is used to represent whether the user is wearing the first wearable device.
11. The system according to claim 10, wherein, The target circuit includes: a target switch, and the control device is configured to control the conduction and disconnection of the target circuit by controlling the conduction and disconnection of the target switch.
12. A wearable device, characterized in that, Including: A wearing detection system for the wearable device according to claim 10 or 11.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, where when the program runs, it controls the device where the computer-readable storage medium is located to execute the wearing detection method for the wearable device according to any one of claims 1 to 9.
14. A computer program product, characterized in that, Including: A computer program, where the computer program is executed by a processor to perform the wearing detection method for the wearable device according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and apparatus for controlling wearing detection and wearable device
CN107817537A
Wearable equipment and state detection method and device
CN110806802A