Skin fitting detection method, skin fitting detection device and related equipment
By combining skin detection methods of touch sensors and optical sensors, using touch signals and optical feedback values to compare, capacitive detection is solved, and more accurate and reliable skin detection is achieved, improving the function and user experience of the device.
Patent Information
- Application Number
- CN202411062916.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2025-08-15
AI Technical Summary
The existing skin-fitting detection methods mainly rely on capacitive touch detection technology, which is susceptible to environmental factors, resulting in poor accuracy and reliability, making it difficult to adapt to various skin-fitting detection scenarios.
Combining the detection method of touch sensors and optical sensors, the skin results are determined and the accuracy and reliability of detection are enhanced by preliminary screening of touch signals and the optical feedback value is compared with the preset value range.
Maintain stability and high sensitivity in various environments, and can adapt to various skin detection scenarios more flexibly, significantly improving the functions and user experience of the device.
Smart Images

Figure CN120496783A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of skin-applied detection, and in particular to a skin-applied detection method, apparatus, and related equipment. Background Art
[0002] For many devices that require close contact with the skin, such as wearable health monitors, smartwatches, biometric systems, and beauty care devices, accurately detecting whether the device is in close contact with the skin is crucial. The accuracy and reliability of this detection directly impacts the device's functionality and user experience.
[0003] Existing skin detection methods primarily rely on capacitive touch detection technology. This technology uses a capacitive sensor to measure contact with the skin. When the capacitive sensor makes contact with the skin, the capacitance value changes, thereby detecting the presence of skin. However, capacitive sensors are susceptible to environmental factors such as electromagnetic interference and skin surface conditions. These factors result in poor accuracy and reliability of skin detection, and make it difficult to flexibly adapt to various skin detection scenarios. Therefore, there is an urgent need in the field for a more accurate and reliable skin detection method that can better meet the needs of different skin detection scenarios. Summary of the Invention
[0004] The embodiments of the present application provide a skin contact detection method, apparatus, and related equipment. By combining the touch signal of the touch sensor and the optical feedback value of the optical sensor, it is possible to accurately determine whether the electronic device has effective contact with the skin, thereby improving the accuracy and reliability of skin contact detection. The above technical solution is as follows:
[0005] In a first aspect, an embodiment of the present application provides a skin contact detection method, which is applied to an electronic device including a touch sensor and an optical sensor. The method includes: obtaining a touch signal detected by the above-mentioned touch sensor; if the above-mentioned touch signal is a valid touch signal, determining the current skin contact result based on a preset value range and an optical feedback value obtained by the above-mentioned optical sensor; the above-mentioned valid touch signal is used to characterize the existence of effective contact between the above-mentioned touch sensor and the skin.
[0006] In the above technical solution, the skin-touching detection method of the electronic device is optimized by combining the technologies of touch sensors and optical sensors. The presence of a valid touch signal is determined by the touch sensor, which ensures direct contact between the skin and the touch sensor. Subsequently, the optical feedback value collected by the optical sensor is compared with the preset value range, so that the skin-touching result can be accurately determined. This method utilizes the preliminary screening of the touch sensor and the precise measurement of the optical sensor to enhance the accuracy and reliability of skin-touching detection. Compared with a single sensor skin-touching detection system, this dual detection mechanism can maintain stability and high sensitivity in various environments, can adapt more flexibly to various skin-touching detection scenarios, and significantly improve the function of the device and user experience.
[0007] In a possible implementation, the skin-attaching result includes skin-attaching effectiveness and / or skin-attaching tightness.
[0008] In a possible implementation, the preset value range is determined based on optical feedback values obtained by the optical sensor under different skin adhesion effectiveness and / or skin adhesion tightness.
[0009] In the above technical solution, by statistically analyzing the optical feedback values obtained by the optical sensor under different skin-fitting effectiveness and / or skin-fitting tightness, a corresponding preset value range is set, so that the skin-fitting state can be determined more accurately during the actual detection process, thereby improving the accuracy and reliability of the detection.
[0010] In a possible implementation, the method further includes: receiving a control instruction, and adjusting the preset value ranges corresponding to different skin-fitting results based on the control instruction.
[0011] In the above technical solution, the preset value range is adjusted through control instructions, so that the device can make more detailed adjustments according to different usage conditions, thereby improving the user experience.
[0012] In a possible implementation, the optical sensor includes a skin color sensor and / or a ToF sensor.
[0013] In one possible implementation, determining the current skin-adapting result based on the preset value range and the optical feedback value obtained by the optical sensor includes: comparing the first optical feedback value collected by the skin color sensor with the first preset value range; if the first optical feedback value is within the first preset value range, determining that the current skin-adapting result is a valid skin-adapting result;
[0014] In one possible implementation, determining the current skin-adapting result based on the preset value range and the optical feedback value obtained by the optical sensor includes: comparing the second optical feedback value collected by the ToF sensor with the second preset value range; if the second optical feedback value is within the second preset value range, determining that the current skin-adapting result is a valid skin-adapting result;
[0015] In a possible implementation, the current skin-fitting result is determined based on the preset value range and the optical feedback value obtained by the optical sensor, including: comparing the first optical feedback value collected by the skin color sensor with the first preset value range, and comparing the second optical feedback value collected by the ToF sensor with the second preset value range; if the first optical feedback value is within the first preset value range, and the second optical feedback value is within the second preset value range, then the current skin-fitting result is determined to be effective skin-fitting.
[0016] The first preset value range is used to represent the value range of the skin color sensor in an effective skin-attached state, and the second preset value range is used to represent the value range of the ToF sensor in an effective skin-attached state.
[0017] The above technical solution provides a flexible optical detection solution. Utilizing the characteristics of skin color sensors and Time of Flight sensors, it can be combined with touch sensors to effectively overcome the vulnerability of single capacitive touch detection to environmental interference, thereby improving the accuracy and reliability of skin contact detection. Furthermore, by combining the different characteristics of skin color sensors and ToF sensors, a multiple verification mechanism is provided to ensure that the device can accurately determine whether it is in contact with the skin under various usage and environmental conditions, further ensuring the effectiveness and reliability of the device's skin contact detection, optimizing the device's skin contact operation, and enhancing the user experience.
[0018] In one possible implementation, the above-mentioned preset value range interval includes multiple value range sub-intervals, and different value range sub-intervals correspond to different skin-fitting results; the above-mentioned determination of the current skin-fitting result based on the preset value range interval and the optical feedback value obtained by the above-mentioned optical sensor includes: determining the value range sub-interval corresponding to the above-mentioned optical feedback value in the above-mentioned preset value range interval, and determining the skin-fitting result corresponding to the above-mentioned value range sub-interval as the current skin-fitting result.
[0019] In this technical solution, by dividing the preset value range into multiple subranges and associating different subranges with corresponding skin contact results, the current skin contact result can be quickly and accurately determined using optical feedback during actual testing. This method improves the accuracy and reliability of skin contact detection, effectively distinguishes different skin contact states, and reduces the impact of environmental interference.
[0020] In a possible implementation, the method further includes: when the current skin-fitting result is effective skin-fitting, controlling the electronic device to output energy at a first output power; the first output power is determined based on the optical feedback value, and the optical feedback values in different value ranges correspond to different first output powers.
[0021] In the above technical solution, the energy output can be adjusted according to the optical properties of the skin, thereby improving the efficiency and safety of energy use, ensuring that the device can work effectively under various skin-friendly conditions, improving the device's effectiveness and user comfort, and ensuring safety at the same time.
[0022] In a possible implementation, the method further includes: when the current skin-taping result is invalid skin-taping, limiting the maximum energy output power of the electronic device to a second output power; the second output power is lower than the first output power.
[0023] In the above technical solution, by reducing energy output, the user is protected from the effects of excessive energy or possible injuries in the ineffective skin-attachment state, thereby ensuring the safety and reliability of the device and avoiding unnecessary energy consumption.
[0024] In a possible implementation, the method further includes: when it is determined that the touch signal is a valid touch signal, controlling the electronic device to be in a preparatory working state; and when the electronic device is in the preparatory working state, enabling the optical sensor.
[0025] In the above technical solution, the device is placed in a preparatory working state by first verifying the validity of the touch signal, and then the optical sensor is enabled for further detection. The device will only perform more detailed optical detection after preliminarily confirming that the touch is valid, thereby improving the reliability and energy efficiency of the operation, reducing the number of unnecessary sensor activations, extending the service life of the device, and reducing the energy consumption of the device.
[0026] In a possible implementation, the method further includes: when the electronic device is in the preparatory working state and the current skin-fitting result is a valid skin-fitting, controlling the electronic device to be in a normal working state.
[0027] In the above technical solution, through a multi-level detection and status management mechanism, the device enters a normal working state only when it is truly in effective contact with the skin, thereby improving the working accuracy and safety of the device and preventing misoperation.
[0028] In a possible implementation, the touch sensor includes a single-channel touch sensor or a multi-channel touch sensor.
[0029] The above technical solution provides a flexible touch detection solution, which can select the appropriate sensor type according to different application requirements to achieve accurate perception and response to touch events, thereby enhancing the functionality of the device and user experience.
[0030] In a possible implementation, when the touch sensor is a multi-channel touch sensor, the method further includes: if there is effective contact between any preset number of touch points and the skin, determining that the touch signal is a valid touch signal.
[0031] In the above technical solution, the reliability and accuracy of the touch signal are improved through multi-touch detection, ensuring that the device activates subsequent operations only when a preset number of contacts are in contact with the skin, thereby preventing false touches and improving the accuracy of operations and user experience.
[0032] In a possible implementation, the touch sensor and the optical sensor are provided on a working unit of the electronic device that is close to the skin.
[0033] In the above technical solution, by integrating the touch sensor and optical sensor on the working unit of the device, real-time monitoring and accurate detection of the skin-attachment status are achieved, ensuring that the sensor can directly sense the contact with the skin and ensure the accuracy and response speed of the detection.
[0034] In one possible implementation, the electronic device further includes a position change sensor for detecting position change information of the electronic device; the method further includes: when determining that the current skin-fitting result is effective skin-fitting, controlling the electronic device to output a preset energy, and after determining that the electronic device has moved a preset distance based on the position change sensor, controlling the electronic device to output the preset energy again.
[0035] In the above technical solution, the movement of the working unit is monitored in real time by a position change sensor to ensure that the device can automatically output energy while moving, so as to work continuously on a larger area of skin and improve operational efficiency.
[0036] In a possible implementation, the electronic device further includes one or more skin-fitting result indicating devices, which indicate the current skin-fitting result in one or more forms of vibration, sound, light, or graphic information.
[0037] In the above technical solution, the status of skin detection is promptly conveyed to the user through multiple sensory feedback methods, thereby improving the user's visibility and understanding of device operation, ensuring that the user operates in the correct skin-fitting state, thereby improving the safety of device use and user experience.
[0038] In the second aspect, an embodiment of the present application provides a skin contact detection device, which is configured in an electronic device including a touch sensor and an optical sensor. The device includes: a first detection module, which is used to obtain a touch signal detected by the above-mentioned touch sensor; a second detection module, which is used to determine the current skin contact result based on a preset value range and an optical feedback value obtained by the above-mentioned optical sensor if the above-mentioned touch signal is a valid touch signal; the above-mentioned valid touch signal is used to characterize the existence of effective contact between the above-mentioned touch sensor and the skin.
[0039] In a possible implementation, the skin-attaching result includes skin-attaching effectiveness and / or skin-attaching tightness.
[0040] In a possible implementation, the preset value range is determined based on optical feedback values obtained by the optical sensor under different skin adhesion effectiveness and / or skin adhesion tightness.
[0041] In a possible implementation, the device further includes an adjustment module, specifically configured to: receive a control instruction, and adjust the preset value ranges corresponding to different skin-fitting results based on the control instruction.
[0042] In a possible implementation, the optical sensor includes a skin color sensor and / or a ToF sensor.
[0043] In one possible implementation, the second detection module is further configured to: compare the first optical feedback value collected by the skin color sensor with a first preset value range; if the first optical feedback value is within the first preset value range, determine that the current skin-adapting result is effective;
[0044] In one possible implementation, the second detection module is further configured to: compare the second optical feedback value collected by the ToF sensor with a second preset value range; if the second optical feedback value is within the second preset value range, determine that the current skin-attaching result is effective skin-attaching;
[0045] In a possible implementation, the second detection module is further specifically used to: compare the first optical feedback value collected by the skin color sensor with a first preset value range, and compare the second optical feedback value collected by the ToF sensor with a second preset value range; if the first optical feedback value is within the first preset value range, and the second optical feedback value is within the second preset value range, then determine that the current skin-fitting result is effective skin-fitting.
[0046] The first preset value range is used to represent the value range of the skin color sensor in an effective skin-attached state, and the second preset value range is used to represent the value range of the ToF sensor in an effective skin-attached state.
[0047] In one possible implementation, the above-mentioned preset value range interval includes multiple value range sub-intervals, and different value range sub-intervals correspond to different skin-fitting results; the above-mentioned second detection module is also specifically used to: determine the value range sub-interval corresponding to the above-mentioned optical feedback value in the above-mentioned preset value range interval, and determine the skin-fitting result corresponding to the above-mentioned value range sub-interval as the current skin-fitting result.
[0048] In one possible implementation, the device also includes a first output module, which is used to: when the current skin-attaching result is effective skin-attaching, control the above-mentioned electronic device to output energy at a first output power; the above-mentioned first output power is determined based on the above-mentioned optical feedback value, and the above-mentioned optical feedback values in different value ranges correspond to different above-mentioned first output powers.
[0049] In a possible implementation, the device further includes a second output module configured to: when the current skin-taping result is invalid skin-taping, limit the maximum energy output power of the electronic device to a second output power; the second output power is lower than the first output power.
[0050] In a possible implementation, the first detection module is further specifically configured to: control the electronic device to be in a preparatory working state when determining that the touch signal is a valid touch signal; and enable the optical sensor when the electronic device is in the preparatory working state.
[0051] In a possible implementation, the second detection module is further specifically configured to: when the electronic device is in the preparatory working state and the current skin-fitting result is a valid skin-fitting, control the electronic device to be in a normal working state.
[0052] In a possible implementation, the touch sensor includes a single-channel touch sensor or a multi-channel touch sensor.
[0053] In a possible implementation, when the touch sensor is a multi-channel touch sensor, the first detection module is further configured to determine that the touch signal is a valid touch signal if there is effective contact between any preset number of touch points and the skin.
[0054] In a possible implementation, the touch sensor and the optical sensor are provided on a working unit of the electronic device that is close to the skin.
[0055] In one possible implementation, the electronic device further includes a position change sensor for detecting position change information of the electronic device; the device further includes a third output module for controlling the electronic device to output a preset energy when it is determined that the current skin-attaching result is effective skin-attaching, and controlling the electronic device to output the preset energy again after determining that the electronic device has moved a preset distance based on the position change sensor.
[0056] In a possible implementation, the electronic device further includes one or more skin-fitting result indicating devices, which indicate the current skin-fitting result in one or more forms of vibration, sound, light, or graphic information.
[0057] In a third aspect, an embodiment of the present application provides a skin care device, which is provided with a touch sensor and an optical sensor; the skin care device is used to execute the first aspect or any possible skin contact detection method of the first aspect.
[0058] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; the processor is connected to the memory; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method provided by the first aspect of the embodiment of the present application or any possible implementation of the first aspect.
[0059] In a fifth aspect, an embodiment of the present application provides a computer storage medium, which stores multiple instructions, and the instructions are suitable for being loaded by a processor and executing the method provided by the first aspect of the embodiment of the present application or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0061] Figure 1 A schematic structural diagram of a skin care device provided by an exemplary embodiment of the present application;
[0062] Figure 2 A schematic flow chart of a skin detection method provided as an exemplary embodiment of the present application;
[0063] Figure 3A schematic flow chart of a skin-stick detection process provided by an exemplary embodiment of the present application;
[0064] Figure 4 A schematic flow chart of another skin-attachment detection process provided by an exemplary embodiment of the present application;
[0065] Figure 5 A schematic flow chart of another skin-attachment detection process provided as an exemplary embodiment of the present application;
[0066] Figure 6 A schematic diagram of a process flow for performing skin detection by an electronic device according to an exemplary embodiment of the present application;
[0067] Figure 7 A schematic structural diagram of a skin detection device provided by an exemplary embodiment of the present application;
[0068] Figure 8 A schematic structural diagram of an electronic device provided as an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0069] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.
[0070] The terms "first," "second," "third," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0071] The skin contact detection method provided in the embodiments of this application can be applied to electronic devices that require close contact with the skin, such as wearable health monitoring devices, smart watches, biometric systems, and beauty care devices, to accurately detect whether the electronic device is close to the skin. The following describes the skin contact detection method using a skin care device as an example.
[0072] Please refer to the following Figure 1 , which exemplarily shows a structural diagram of a skin care device provided in an embodiment of the present application. Figure 1As shown, the skin care device can be a device that can produce a beauty care effect on the skin, such as a radio frequency skin care device, etc., which can induce high-frequency vibration of ions inside the skin tissue by outputting energy such as radio frequency, thereby generating heat inside the skin tissue, causing damage to its collagen and fibrous tissue, triggering the self-repair mechanism of the skin tissue, and promoting the regeneration of new collagen and fibrous tissue to achieve a beauty effect. The skin care device can be a hair removal instrument for removing body hair, such as a laser hair removal device, a pulsed light hair removal device, etc., which uses a laser of a specific wavelength or an intense pulsed light to irradiate the skin. The melanin in the hair follicles absorbs the light energy and converts it into heat energy, thereby destroying the hair follicle tissue and achieving a hair removal effect. The skin care device can be a beauty product that can act on any skin area such as the face or body, and the embodiments of the present application are not limited to this.
[0073] Specifically, the skin care device 100 includes a handle 110 and a working unit 120 mounted on the handle 110. The working unit 120 may include an energy output module 121, such as a radio frequency module or a laser module, for outputting care energy. When the working unit 120 comes into contact with the skin, a corresponding care effect is achieved. The working unit 120 is provided with a sensor assembly for detecting the skin contact state, including a touch sensor 122 and an optical sensor 123.
[0074] The touch sensor 122 is a device that detects touch or contact. It can be a capacitive touch sensor that determines whether there is contact between the working unit 120 and the skin by measuring the change in capacitance at the touch point. In some embodiments, the capacitive touch sensor can be a single-channel touch sensor or a multi-channel touch sensor. A single-channel touch sensor has only one detection channel and determines whether a touch has occurred by measuring the change in capacitance at a single point, providing simple functionality. A multi-channel touch sensor has multiple detection channels and can detect multiple touch points simultaneously, providing more sophisticated touch detection and positioning capabilities.
[0075] The optical sensor 123 senses environmental information by detecting changes in light. During skin proximity detection, this light change determines whether the working unit 120 is close to the skin. In some embodiments, the optical sensor 123 may employ a skin color sensor and / or a ToF (Time of Flight) sensor. A skin color sensor emits light of a specific wavelength and analyzes the optical properties of the reflected light to determine proximity to the skin. A ToF sensor calculates the distance between an object and the sensor by emitting light pulses and measuring their return time, thereby determining whether the working unit 120 is close to the skin.
[0076] In the skin care device provided in this embodiment, the combination of the touch sensor 122 and the optical sensor 123 can improve the accuracy and reliability of the detection during skin contact detection.
[0077] Optionally, the touch sensor 122 is disposed around the working unit 120 to ensure that any area of the working unit 120 is in close contact with the skin, and that the touch sensor 122 can effectively detect the skin contact of the skin care device. This ensures that the skin contact detection result of the skin care device is consistent with the actual skin contact state of the working unit 120. For example, if the touch sensor 122 is disposed in a local area of the working unit 120, and that local area of the working unit 120 is not in contact with the skin and is in a suspended state, while other areas of the working unit 120 are in contact with the skin, the touch sensor 122 may produce a false detection.
[0078] The skin care device may include a control unit, which may be a circuit board driver circuit or a microcontroller unit (MCU). The control unit is connected to the working unit 120 and the sensor assembly to obtain data detected by the sensor assembly, determine the skin contact result, control the working unit 120 of the skin care device to output energy, or perform other target events. Such target events include, but are not limited to, adjusting the gear position and the function mode.
[0079] Optionally, a wireless connection device may be installed in the skin care device to establish a wireless communication connection with a terminal or display device, and to display beauty effects to the user through interaction or guide the user to perform beauty operations.
[0080] Optionally, the skin care device may also be equipped with, but not limited to, buttons, speakers, motors, indicator lights, display screens (touch screens), etc.
[0081] It should be noted that the above-mentioned skin care device is only an example electronic device, and other electronic devices can set up hardware devices based on the above example to implement the skin contact detection method provided in the embodiment of the present application.
[0082] Next, please combine Figure 1 ,by Figure 1 The electronic device shown is the execution body, which introduces a skin detection method provided by an exemplary embodiment of this application. Figure 2 , which exemplarily shows the flow chart of the skin-attaching detection method provided in the embodiment of the present application. Figure 2 As shown, the method includes the following steps:
[0083] S201: Acquire a touch signal detected by a touch sensor.
[0084] Specifically, when the skin contacts the surface of the touch sensor, it causes changes in the electrical characteristics of the touch sensor. Based on the changes in the electrical characteristics caused by contact, a touch signal is generated. The touch signal can be an analog signal (such as a change in voltage or current) or a digital signal (such as a specific value or state change). The touch sensor can transmit the touch signal to a control unit (such as a microcontroller or processor) through the output interface of the touch sensor. The control unit reads and analyzes the touch signal to determine whether the working unit is in contact with the skin.
[0085] For example, taking a capacitive touch sensor as an example, when there is no touch, the capacitance value near the touch sensor surface is maintained at a stable baseline level. When the skin contacts the sensor surface, the skin's conductive properties cause the electric field on the sensor surface to change, resulting in a change in the capacitance value. The circuit inside the touch sensor monitors the change in capacitance value in real time. When a significant capacitance change is detected, a touch signal is generated. Optionally, because the touch signal may be relatively weak, the control circuit inside or connected to the touch sensor will process the touch signal, including steps such as amplification, filtering, and analog-to-digital conversion, to convert the original capacitance change into an easy-to-process digital signal. Finally, the touch signal is transmitted to the control unit through the interface of the touch sensor. After receiving the touch signal, the control unit analyzes the change characteristics of the touch signal to determine whether a touch has occurred and its specific touch information.
[0086] In some embodiments, the touch sensor includes a single-channel touch sensor or a multi-channel touch sensor.
[0087] Specifically, a single-channel touch sensor has only one detection channel for detecting single-point touch events. Optionally, when using a single-channel touch sensor, the detection channel can be located near the operating area of the working unit to ensure that when the touch sensor detects effective contact with the skin, at least a majority of the working unit is in contact with the skin.
[0088] A multi-channel touch sensor has multiple detection channels and can detect multiple touch points simultaneously. Optionally, when a multi-channel touch sensor is used, multiple detection channels are arranged around the working unit to ensure that any area of the working unit in contact with the skin can be accurately detected. In some embodiments, if there is effective contact between any preset number of touch points and the skin, the touch signal is determined to be a valid touch signal. The valid touch signal is used to characterize the existence of effective contact between the touch sensor and the skin. For example, when there is effective contact between two or more touch points and the skin, the touch signal can be determined to be a valid touch signal, and when there is effective contact between only one touch point and the skin, the touch signal can be determined to be an invalid touch signal, and the invalid touch signal indicates that it is insufficient to determine that there is effective contact between the touch sensor and the skin.
[0089] S202: If the touch signal is a valid touch signal, determine the current skin-fitting result based on a preset value range and an optical feedback value obtained by the optical sensor.
[0090] Specifically, the touch sensor detects the touch signal, and when it is determined that the touch signal is a valid touch signal, it indicates that there is effective contact between the touch sensor and the skin. However, the detection accuracy of the touch sensor may be affected by the medium on the skin surface (such as gel, essence, water, sweat, etc.). And the touch sensor needs the sensor surface to be in contact with the skin to detect touch. When the working unit is close to the skin and not in contact with the skin, detection cannot be performed. Some electronic devices have the requirement of being used close to the skin, but it does not require the entire working unit to be in complete and close contact with the skin. The working conditions can be met when the working unit partially contacts the skin and partially is close to the skin. At this time, relying solely on the touch sensor for skin detection may not accurately identify whether the working unit is close to the skin, and the accuracy of skin detection is poor.
[0091] This embodiment uses a touch sensor to provide preliminary touch detection, while an optical sensor further verifies and confirms the fit between the device and the skin, achieving more accurate and reliable skin contact detection. Specifically, the optical sensor can transmit light to the skin surface and receive the light reflected back from the skin, calculating an optical feedback value; the optical feedback value represents the change in light information. When the touch sensor detects a valid touch signal, the optical feedback value obtained by the optical sensor can be combined to determine whether the working unit is close to the skin.
[0092] In this embodiment, based on a large amount of experimental data and actual application conditions, a preset value range can be determined based on the optical feedback value obtained by the optical sensor under different skin adhesion effectiveness and / or skin adhesion tightness, and the optical feedback value is compared with the preset value range to determine the current skin adhesion result corresponding to the preset value range.
[0093] In some embodiments, the skin-fitting result includes skin-fitting effectiveness and / or skin-fitting tightness. Skin-fitting effectiveness includes effective skin-fitting and ineffective skin-fitting. Effective skin-fitting indicates that the device is in contact with the skin or close to it at a small distance. The specific degree of closeness can be determined according to the actual design specifications of the device. Ineffective skin-fitting indicates that the device is not in contact with the skin and is at a large distance, which does not meet the normal use conditions of the electronic device. Skin-fitting tightness represents the degree of skin-fitting and can be divided into multiple levels based on indicators such as fitting distance, such as tight, general, and loose. The working conditions corresponding to different working modes of the electronic device can correspond to different skin-fitting tightness, that is, the electronic device can operate when the skin-fitting tightness meets the preset conditions. Optionally, some skin-fitting tightness can be set as effective skin-fitting, or some skin-fitting tightness can be set as ineffective skin-fitting; for example, the skin-fitting tightness of the tight level can be set as effective skin-fitting, or the skin-fitting tightness of the loose level can be set as ineffective skin-fitting. In particular, when the touch sensor detects an invalid touch signal, it can directly determine that the current skin-fitting result is ineffective skin-fitting, or the skin-fitting tightness is set to the loosest level, or the skin-fitting tightness is set to no contact with the skin.
[0094] In some embodiments, the preset value range can be a value range. For example, the preset value range can be determined based on an optical feedback value corresponding to the optical sensor in an effective skin contact state. If the optical feedback value is within the preset value range, it is determined that the device is in contact with the skin, and the current skin contact result is effective skin contact; if the optical feedback value is not within the preset value range, it is determined that the device is not in contact with the skin, and the current skin contact result is invalid skin contact.
[0095] In some embodiments, the preset value range interval can be multiple value range sub-intervals, and different value range sub-intervals correspond to different skin-fitting results; determining the current skin-fitting result based on the preset value range interval and the optical feedback value obtained by the optical sensor includes: determining the value range sub-interval corresponding to the optical feedback value in the preset value range interval, and determining the skin-fitting result corresponding to the value range sub-interval as the current skin-fitting result.
[0096] For example, a preset value range can be determined based on the optical feedback values obtained by the optical sensor at different skin tightnesses, with each different skin tightness corresponding to a value subrange. If the optical feedback value is within the value subrange of the tight level, the skin tightness between the device and the skin is determined to be tight; if the optical feedback value is within the value subrange of the loose level, the skin tightness between the device and the skin is determined to be loose.
[0097] In some embodiments, the optical sensor includes a skin color sensor and / or a Time of Flight (ToF) sensor. The skin color sensor can emit light of a specific wavelength and detect skin color by analyzing the optical properties of the reflected light. When the skin color sensor is close to the skin, the skin color sensor transmits light of a specific wavelength to the skin surface. The skin partially reflects and partially absorbs the light. The reflected light contains optical properties of the skin color information. The skin color sensor can analyze the light properties of the light and calculate an optical feedback value. The optical feedback value represents optical data containing skin color information. Based on the optical feedback value, the skin color can be accurately determined. When the skin color sensor is not close to the skin, the light of the specific wavelength emitted by the skin color sensor will be directly reflected or scattered into the environment. The reflected light will also be interfered with by the ambient light, resulting in a significant deviation between the calculated optical feedback value and the preset value range corresponding to the actual skin color, thereby achieving skin detection. The optical feedback value corresponding to normal human skin color can be used as the preset value range and compared with the optical feedback value actually detected by the skin color sensor to determine the current skin detection result.
[0098] The ToF sensor calculates the distance between the skin and the ToF sensor by emitting light pulses and measuring the time it takes for these light pulses to go from emission to return. When the ToF sensor is close to the skin, the light pulses emitted by the light source inside the ToF sensor will be reflected back to the ToF sensor when they encounter the skin surface. The timer inside the ToF sensor measures the time it takes from the emission of the light pulse to the receipt of the return light pulse. Based on the speed of light and the measured time, the ToF sensor calculates the flight distance of the light pulse, which is the optical feedback value. The optical feedback value represents the distance between the ToF sensor and the skin. One or more distance thresholds can be preset as a preset value range according to the specific situation of the device being used against the skin. The preset value range is compared with the optical feedback value actually detected by the ToF sensor to determine the current skin-attaching result.
[0099] In some embodiments, the optical sensor can use a skin color sensor alone to compare the first optical feedback value collected by the skin color sensor with a first preset value range; if the first optical feedback value is within the first preset value range, the current skin-fitting result is determined to be effective skin-fitting.
[0100] Specifically, such as Figure 3 As shown, the electronic device combines a touch sensor and a skin color sensor to perform skin contact detection. The touch sensor determines the presence of a valid touch signal to ensure direct contact between the skin and the touch sensor. The first optical feedback value is the optical feedback value collected by the skin color sensor. The first preset value range is used to represent the value range of the skin color sensor when in a valid skin contact state. When the skin color sensor is close to the skin, the first optical feedback value calculated by the skin color sensor should be within the first preset value range, at which point the current skin contact result can be determined to be valid.
[0101] In some embodiments, the optical sensor can use a ToF sensor alone to compare the second optical feedback value collected by the ToF sensor with a second preset value range; if the second optical feedback value is within the second preset value range, the current skin-attaching result is determined to be effective skin-attaching.
[0102] Specifically, such as Figure 4 As shown, the electronic device combines a touch sensor and a ToF sensor to perform skin contact detection. The touch sensor determines the presence of a valid touch signal to ensure direct contact between the skin and the touch sensor. The second optical feedback value is the optical feedback value collected by the ToF sensor, which is the distance between the ToF sensor and the surface of the object. The second preset value range is used to represent the value range of the ToF sensor in the effective skin contact state. When the ToF sensor is close to the skin, the second optical feedback value calculated by the ToF sensor should be within the second preset value range, at which point it can be determined that the current skin contact result is effective.
[0103] In some embodiments, the optical sensor can be used in combination with a skin color sensor and a ToF sensor, and the first optical feedback value collected by the skin color sensor is compared with the first preset value range, and the second optical feedback value collected by the ToF sensor is compared with the second preset value range; if the first optical feedback value is within the first preset value range and the second optical feedback value is within the second preset value range, the current skin-fitting result is determined to be effective skin-fitting.
[0104] For example, Figure 5 As shown, the skin detection process may include the following steps:
[0105] S501: The touch sensor detects a touch signal.
[0106] When the touch signal is a valid touch signal, steps S502 and S503 are respectively executed.
[0107] S502: The skin color sensor detects a first optical feedback value.
[0108] The skin color sensor emits light of a specific wavelength to the skin surface, analyzes the light characteristics of the reflected light, calculates a first optical feedback value, compares the first optical feedback value with a first preset value range that represents the skin-fitting state, and outputs a first signal when the first optical feedback value is within the first preset value range.
[0109] S503: The ToF sensor detects a second optical feedback value.
[0110] When the light pulse emitted by the light source inside the ToF sensor encounters the skin surface, it will be reflected back to the ToF sensor. The timer inside the ToF sensor measures the time taken from the emission of the light pulse to the reception of the return light pulse, and obtains a second optical feedback value. The second optical feedback value is compared with a second preset value range that represents the skin-attaching state. If the second optical feedback value is within the second preset value range, a second signal is output.
[0111] S504: Output the current skin-fitting result.
[0112] When the first signal and the second signal are received simultaneously, the current skin-tagging result is determined to be a valid skin-tagging result; otherwise, the current skin-tagging result is determined to be an invalid skin-taping result.
[0113] In the above method, by using skin color sensors and ToF sensors alone or in combination, accurate skin detection accuracy can be guaranteed, and skin detection is not interfered with by gels, essences, water, and sweat media on the skin surface; it can also be applied to devices with loose skin requirements that do not require close contact with the skin (such as devices with working conditions that support some working units contacting the skin and some working units close to the skin), meeting various skin detection needs and improving user experience.
[0114] In some embodiments, the method further includes: receiving a control instruction, and adjusting a preset value range corresponding to different skin-fitting results based on the control instruction.
[0115] Specifically, this embodiment determines the current skin-fitting result based on the optical feedback value and the preset value range. The degree of proximity (close distance) between the device and the skin is different, and the optical feedback value detected by the optical sensor is also different. For example, when the distance between the ToF sensor and the skin is different, the flight distance of the detected light pulse is different. If the preset value range is set to a flight distance of 0-2mm, the ToF sensor is invalid when it is 3mm away from the skin, and it is effective when it is 2mm away from the skin; if the preset value range is set to a flight distance of 0-5mm, the ToF sensor is effective when it is 3mm away from the skin, and it is still effective when it is 5mm away from the skin. Therefore, adjusting the preset value range by control instructions enables the device to make more detailed adjustments according to different usage conditions, thereby improving the user experience. For example, when the skin-fitting conditions of a certain mode of the device are more stringent, after entering the mode, the effective skin-fitting degree can be set closer (the maximum close distance is small) to ensure user safety. When the device's skin-approaching conditions are relatively loose in a certain mode, the effective skin-approaching degree can be set to a wider range (maximum contact distance) to improve the user experience. In some embodiments, the user can adjust the preset value ranges corresponding to different skin-approaching results by adjusting the mode or gear of the electronic device and outputting control instructions; the user can also directly adjust the preset value ranges corresponding to different skin-approaching results by inputting control instructions through a terminal program connected to the electronic device.
[0116] In some embodiments, when the touch signal continues to be a valid touch signal, the optical feedback value of the optical sensor is continuously obtained, and the current skin-fitting result is continuously determined based on the optical feedback value and a preset value range.
[0117] Specifically, a touch sensor is used to provide preliminary touch judgment. When the touch signal detected by the touch sensor is a valid touch signal, the optical sensor needs to be continuously used to determine the current skin-fitting result. It is understandable that when the touch signal is a valid touch signal, there is effective contact between the device and the skin, but the device may not be in a skin-fitting state. During device use, the user may change the position of the device, causing the working unit of the device to sometimes fit the skin and sometimes not fit the skin. By continuously obtaining the optical feedback value of the optical sensor, the current skin-fitting result of the device can be determined dynamically in real time to ensure safe and reliable use of the device.
[0118] In some embodiments, the electronic device further includes one or more skin-adapting result indicating devices, which may be speakers, motors, indicator lights, displays, etc., and indicate the current skin-adapting result through one or more of vibration, sound, light, or graphic information. Exemplarily, the skin-adapting result indicating device is an indicator light that displays green light when the current skin-adapting result is valid and displays red light when the current skin-adapting result is invalid.
[0119] In an embodiment of the present application, more accurate and reliable skin-to-skin detection is achieved by combining the detection information of the touch sensor and the optical sensor. First, a preliminary touch signal is obtained using the touch sensor. After determining that the touch signal is a valid touch signal, an optical feedback value is obtained through the optical sensor. By comparing the optical feedback value with a preset value range, the fit state of the device to the skin can be determined more accurately. This dual detection mechanism effectively overcomes the problem that single capacitive touch detection is easily interfered with by environmental factors, improves the accuracy and reliability of skin-to-skin detection, and can more flexibly adapt to various skin-to-skin detection scenarios, thereby significantly improving the functionality of the device and user experience.
[0120] Next, we will introduce the application process of the skin detection method provided by the embodiment of this application in skin care equipment in combination with specific implementation scenarios. Figure 6 , which exemplarily shows a flow chart of a skin detection process performed by an electronic device provided in an embodiment of the present application. Figure 6 As shown in FIG, the skin detection process includes the following steps:
[0121] S601: The touch sensor continuously monitors touch signals.
[0122] Specifically, after the electronic device is powered on and started, it enters the initialization state. In the initialization state, the touch sensor starts to work. The circuit inside the touch sensor monitors the changes in electrical characteristics in real time, and generates a touch signal based on the changes in electrical characteristics caused by contact. The touch sensor can transmit the touch signal to the control unit through the output interface of the touch sensor. The control unit reads and analyzes the touch signal to determine whether the working unit is in contact with the skin.
[0123] S602: Whether the touch signal is a valid touch signal.
[0124] Specifically, when the touch signal is a valid touch signal, S603 is executed. When the touch signal is an invalid touch signal, S601 is continued to be executed.
[0125] S603, controlling the electronic device to be in a preparatory working state, and enabling the optical sensor to continuously monitor the optical feedback value.
[0126] Specifically, if the touch signal is determined to be a valid touch signal, the electronic device is controlled to be in a preparatory working state. In the preparatory working state, the optical sensor can be enabled; in the initialization state, the optical sensor can be disabled, thereby reducing energy consumption of the electronic device.
[0127] In some embodiments, when the electronic device is in a preparatory working state, it can also perform work that does not require strict skin contact conditions, for example, starting other detection functions, or the working unit performs low-energy care energy output work.
[0128] The optical sensor can be a skin color sensor and / or a ToF sensor, which continuously obtains the optical feedback value monitored by the optical sensor and compares the optical feedback value with a preset value range representing the skin-fitting state to determine the current skin-fitting result of the working unit.
[0129] S604: Whether the optical feedback value is within a preset value range.
[0130] Specifically, the optical feedback value of the device in the effective skin-adhesive state is used as the preset value range, and it is determined whether the optical feedback value currently obtained by the optical sensor is within the preset value range. If the optical feedback value is within the preset value range, execute S605; if the optical feedback value is not within the preset value range, execute S606.
[0131] S605: The current skin-sticking result is effective skin-sticking.
[0132] Specifically, when the optical feedback value is within a preset value range, it indicates that the current skin-fitting result is effective.
[0133] In some embodiments, when the electronic device is in a preparatory working state and the current skin-adhesion result is effective, the electronic device is controlled to be in a normal working state. In the normal working state, the electronic device meets strict skin-adhesion conditions and can perform operations with rated power output, such as high-energy care energy output operations with strict skin-adhesion requirements. It is understood that the skin-adhesion conditions applicable in the preparatory working state and the normal working state are different, and the skin-adhesion conditions required in the normal working state are more stringent than those in the preparatory working state, and the required skin-adhesion is higher.
[0134] In some embodiments, if the current skin-adaptation result is determined to be effective, the electronic device can be controlled to output energy at a first output power. The first output power is determined based on the optical feedback value, and different optical feedback values in different value ranges correspond to different first output powers.
[0135] When the electronic device confirms effective skin contact, it controls the first output power of the output energy according to the optical feedback value. Different optical feedback values correspond to different power levels to optimize device performance and user experience. For example, when the optical feedback value represents a low degree of skin contact (skin tightness), the device outputs a lower power; when the optical feedback value represents a high degree of skin contact (skin tightness), the device outputs a higher power. In this way, the energy output can be adjusted according to the optical feedback value obtained by the optical sensor through skin contact detection, thereby improving the efficiency and safety of energy use and ensuring that the device can work effectively under various skin contact conditions.
[0136] S606: The current skin-sticking result is invalid skin-sticking.
[0137] In some embodiments, when it is determined that the current skin-taping result is invalid, the maximum energy output power of the electronic device is limited to a second output power; and the second output power is lower than the first output power.
[0138] When the electronic device detects that the current skin-applying result is invalid, it limits the maximum energy output power to a second output power, which is lower than the first output power. This ensures that the device operates at a lower energy output when not in contact with the skin, thereby avoiding unnecessary irritation or harm to the user, saving energy, and improving the safety and efficiency of the device.
[0139] In some embodiments, when the touch signal is an invalid touch signal, the current skin-applying result is also determined to be invalid, and the maximum energy output power of the electronic device is limited to a second output power; the second output power is lower than the first output power. Optionally, when the touch signal is an invalid touch signal, the current skin-applying result can be set to a non-contact state, and the maximum energy output power of the electronic device can be limited to a third output power; the third output power is 0 or lower than the second output power, thereby reducing energy consumption of the electronic device and improving device safety and efficiency.
[0140] It's important to note that when the touch sensor and optical sensor are enabled, the monitoring process can be continuous. The optical feedback value currently detected by the optical sensor may be within the preset value range, while the optical feedback value detected the next time may not be within the preset value range. The optical feedback values detected by the optical sensor at different times only represent the skin contact results at the current time. That is, in both normal working and preparatory working states, the optical sensor continuously monitors the optical feedback value, and the touch sensor continuously monitors the touch signal. When the touch signal is invalid, the electronic device can exit the preparatory working state.
[0141] In some embodiments, the above-mentioned electronic device also includes a position change sensor, which is used to detect position change information of the working unit; the method also includes: when it is determined that the current skin-fitting result is effective skin-fitting, controlling the electronic device to output preset energy, and after determining that the working unit moves a preset distance based on the position change sensor, controlling the electronic device to output preset energy again.
[0142] Specifically, the device uses a touch sensor and an optical sensor to detect whether it is in close contact with the skin to determine if the current contact is effective. A position change sensor monitors the position change of the working unit. The position change sensor can be an accelerometer, gyroscope, or other displacement sensor. After determining that the device is in close contact with the skin, the electronic device is controlled to output a preset energy level. The preset energy level can be a dose of radiofrequency energy, light energy, or other forms of energy for purposes such as skin care and hair removal. The amount of energy output by the electronic device is limited and not continuous. That is, even if the device is in contact with the skin for a long time, it only outputs a single dose of energy. This energy level can be output in a single burst or multiple bursts. Then, after the position change sensor detects that the working unit has moved a preset distance, the electronic device is controlled to output the preset energy level again. This re-output of the preset energy level must ensure that the current contact is effective. The preset distance can be determined based on the size of the working unit so that after the device has moved the preset distance, it returns to a position adjacent to its original position. This mechanism ensures that the device can automatically output energy while in motion, allowing for continuous operation over a larger area of skin, improving operational efficiency.
[0143] For example, when the working unit of the skin care device is in effective contact with the skin, the device outputs a portion of light energy at the current skin location. The energy value of this light energy can be a preset value that meets safety and working requirements. This allows for effective skin care while avoiding skin damage caused by repeated exposure. During use, after moving the working unit to another skin location, the device outputs another portion of light energy at the current skin location. Each time the working unit is moved to a new skin location, the device outputs a portion of light energy at the current skin location. As the working unit continues to move, it can continuously operate on a large area of skin.
[0144] In some embodiments, the electronic device is also provided with a safety switch, and the electronic device can only output energy when the safety switch is turned on. The safety switch is kept closed by default and needs to be triggered by the user (such as pressing a switch, toggling a switch, etc.) to turn it on. For example, in single output mode, each time the user triggers the safety switch once, the electronic device can only output a preset energy when the skin-touching condition is met; if the user continuously triggers the safety switch, the electronic device can only output a preset energy when the skin-touching condition is met. In continuous output mode, the user continuously triggers the safety switch, and the electronic device outputs a preset energy at the current skin position when the skin-touching condition is met. After the electronic device moves a preset distance, the electronic device outputs another preset energy when the skin-touching condition is met.
[0145] In some embodiments, the electronic device can be communicatively connected to the terminal, and the application of the terminal is used to execute one or more of setting energy output, setting a preset skin contact threshold, and displaying current skin contact results.
[0146] Specifically, the electronic device can communicate with the terminal, and the terminal's application can perform functions such as setting energy output, setting preset skin contact thresholds, and displaying current skin contact results. This allows for remote control and monitoring of the device, allowing users to more conveniently adjust and view device settings and status, improving device operation flexibility and user experience.
[0147] Please refer to Figure 7 , which is a structural diagram of a skin detection device provided in an embodiment of the present application. The above-mentioned skin detection device is configured in an electronic device including a touch sensor and an optical sensor, such as Figure 7 As shown, the skin detection device 700 includes:
[0148] A first detection module 710 is configured to obtain a touch signal detected by the touch sensor;
[0149] The second detection module 720 is used to determine the current skin contact result based on a preset value range and the optical feedback value obtained by the optical sensor if the above-mentioned touch signal is a valid touch signal; the above-mentioned valid touch signal is used to indicate that there is effective contact between the above-mentioned touch sensor and the skin.
[0150] In some possible embodiments, the above-mentioned skin-adhesive result includes skin-adhesive effectiveness and / or skin-adhesive tightness.
[0151] In some possible embodiments, the preset value range is determined based on optical feedback values obtained by the optical sensor at different skin-fitting effectiveness and / or skin-fitting tightness.
[0152] In some possible embodiments, the device further includes an adjustment module, specifically configured to: receive a control instruction, and adjust the preset value ranges corresponding to different skin-fitting results based on the control instruction.
[0153] In some possible embodiments, the optical sensor includes a skin color sensor and / or a ToF sensor.
[0154] In some possible embodiments, the second detection module 720 is further configured to: compare the first optical feedback value collected by the skin color sensor with a first preset value range; if the first optical feedback value is within the first preset value range, determine that the current skin-adapting result is effective;
[0155] In some possible embodiments, the second detection module 720 is further specifically configured to: compare the second optical feedback value collected by the ToF sensor with a second preset value range; if the second optical feedback value is within the second preset value range, determine that the current skin-attaching result is effective skin-attaching;
[0156] In some possible embodiments, the second detection module 720 is further specifically used to: compare the first optical feedback value collected by the skin color sensor with a first preset value range, and compare the second optical feedback value collected by the ToF sensor with a second preset value range; if the first optical feedback value is within the first preset value range, and the second optical feedback value is within the second preset value range, then determine that the current skin-fitting result is effective skin-fitting.
[0157] The first preset value range is used to represent the value range of the skin color sensor in an effective skin-attached state, and the second preset value range is used to represent the value range of the ToF sensor in an effective skin-attached state.
[0158] In some possible embodiments, the above-mentioned preset value range interval includes multiple value range sub-intervals, and different value range sub-intervals correspond to different skin-fitting results; the above-mentioned second detection module 720 is also specifically used to: determine the value range sub-interval corresponding to the above-mentioned optical feedback value in the above-mentioned preset value range interval, and determine the skin-fitting result corresponding to the above-mentioned value range sub-interval as the current skin-fitting result.
[0159] In some possible embodiments, the device also includes a first output module, which is used to: when the current skin-adhering result is effective skin-adhering, control the electronic device to output energy at a first output power; the first output power is determined based on the optical feedback value, and the optical feedback values in different value ranges correspond to different first output powers.
[0160] In some possible embodiments, the device further includes a second output module for limiting the maximum energy output power of the electronic device to a second output power when the current skin-sticking result is invalid; the second output power is lower than the first output power.
[0161] In some possible embodiments, the first detection module 710 is further specifically configured to: control the electronic device to be in a preparatory working state when determining that the touch signal is a valid touch signal; and enable the optical sensor when the electronic device is in the preparatory working state.
[0162] In some possible embodiments, the second detection module 720 is further specifically configured to: when the electronic device is in the preparatory working state and the current skin-fitting result is a valid skin-fitting, control the electronic device to be in a normal working state.
[0163] In some possible embodiments, the touch sensor includes a single-channel touch sensor or a multi-channel touch sensor.
[0164] In some possible embodiments, when the touch sensor is a multi-channel touch sensor, the first detection module 710 is further specifically configured to determine that the touch signal is a valid touch signal if there is effective contact between any preset number of touch points and the skin.
[0165] In some possible embodiments, the touch sensor and the optical sensor are disposed on a working unit of the electronic device that is close to the skin.
[0166] In some possible embodiments, the electronic device further includes a position change sensor for detecting position change information of the electronic device; the device further includes a third output module for controlling the electronic device to output a preset energy when determining that the current skin-attaching result is effective skin-attaching, and controlling the electronic device to output the preset energy again after determining that the electronic device has moved a preset distance based on the position change sensor.
[0167] In some possible embodiments, the electronic device further includes one or more skin-fitting result indicating devices, which indicate the current skin-fitting result in one or more forms of vibration, sound, light, or graphic information.
[0168] The division of the modules in the above-mentioned skin-applying detection device is only for illustration. In other embodiments, the skin-applying detection device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned skin-applying detection device. The implementation of each module in the skin-applying detection device provided in the embodiments of this specification can be in the form of a computer program. The computer program can be run on an oral cleaning device. The program modules constituted by the computer program can be stored in the memory of a skin-applying detection device or an electronic device. When the computer program is executed by a processor, all or part of the steps of the skin-applying detection method described in the embodiments of this specification are implemented.
[0169] See next Figure 8 , which shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 8 As shown, the electronic device 800 may include: at least one processor 810 , a network interface 820 , a user interface 830 , a memory 840 , a sensor component 850 and at least one communication bus 860 .
[0170] The communication bus 860 is used to realize the connection and communication between these components.
[0171] The sensor component 850 may include a touch sensor and an optical sensor. Optionally, the sensor component 850 may also include a position change sensor.
[0172] The network interface 820 may optionally include a Bluetooth module, a Near Field Communication (NFC) module, a Wi-Fi module, and the like.
[0173] The user interface 830 may optionally include a display and buttons; optionally, the user interface 830 may also include a standard wired interface or a wireless interface.
[0174] The processor 810 may include one or more processing cores. The processor 810 utilizes various interfaces and circuits to connect various components within the electronic device 800. It executes instructions, programs, code sets, or instruction sets stored in the memory 840, and accesses data stored in the memory 840 to perform various functions and process data within the electronic device 800. Optionally, the processor 810 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 810 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system and applications; the GPU is responsible for rendering and drawing the content displayed on the display; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 810 and may be implemented as a separate chip.
[0175] Among them, the memory 840 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 840 includes a non-transitory computer-readable storage medium. The memory 840 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 840 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a detection function, an output function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 840 may also be optionally at least one storage device located away from the aforementioned processor 810.
[0176] like Figure 8 As shown, the memory 840 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0177] In some possible embodiments, the processor 810 may be used to call program instructions stored in the memory 840 and perform the following specific operations: obtaining a touch signal detected by the touch sensor; if the touch signal is a valid touch signal, determining the current skin-fitting result based on a preset value range and the optical feedback value obtained by the optical sensor; the valid touch signal is used to characterize the existence of effective contact between the touch sensor and the skin.
[0178] In some possible embodiments, the above-mentioned skin-adhesive result includes skin-adhesive effectiveness and / or skin-adhesive tightness.
[0179] In some possible embodiments, the preset value range is determined based on optical feedback values obtained by the optical sensor at different skin-fitting effectiveness and / or skin-fitting tightness.
[0180] In some possible embodiments, the processor 810 further specifically performs the following steps: receiving a control instruction, and adjusting the preset value ranges corresponding to different skin-fitting results based on the control instruction.
[0181] In some possible embodiments, the optical sensor includes a skin color sensor and / or a ToF sensor.
[0182] In some possible embodiments, when determining the current skin-adapting result based on the preset value range and the optical feedback value obtained by the optical sensor, the processor 810 specifically performs the following steps: comparing the first optical feedback value collected by the skin color sensor with the first preset value range; if the first optical feedback value is within the first preset value range, determining that the current skin-adapting result is a valid skin-adapting result;
[0183] In some possible embodiments, when determining the current skin-adapting result based on the preset value range and the optical feedback value obtained by the optical sensor, the processor 810 specifically performs the following steps: comparing the second optical feedback value collected by the ToF sensor with the second preset value range; if the second optical feedback value is within the second preset value range, determining that the current skin-adapting result is a valid skin-adapting result;
[0184] In some possible embodiments, when the processor 810 determines the current skin-fitting result based on the preset value range and the optical feedback value obtained by the optical sensor, it specifically performs the following steps: comparing the first optical feedback value collected by the skin color sensor with the first preset value range, and comparing the second optical feedback value collected by the ToF sensor with the second preset value range; if the first optical feedback value is within the first preset value range, and the second optical feedback value is within the second preset value range, then determining that the current skin-fitting result is effective skin-fitting.
[0185] The first preset value range is used to represent the value range of the skin color sensor in an effective skin-attached state, and the second preset value range is used to represent the value range of the ToF sensor in an effective skin-attached state.
[0186] In some possible embodiments, the above-mentioned preset value range interval includes multiple value range sub-intervals, and different value range sub-intervals correspond to different skin-fitting results; when the above-mentioned processor 810 determines the current skin-fitting result based on the preset value range interval and the optical feedback value obtained by the above-mentioned optical sensor, it specifically performs: determining the value range sub-interval corresponding to the above-mentioned optical feedback value in the above-mentioned preset value range interval, and determining the skin-fitting result corresponding to the above-mentioned value range sub-interval as the current skin-fitting result.
[0187] In some possible embodiments, the processor 810 further specifically performs: when the current skin-fitting result is effective skin-fitting, controlling the electronic device to output energy at a first output power; the first output power is determined based on the optical feedback value, and the optical feedback values in different value ranges correspond to different first output powers.
[0188] In some possible embodiments, the processor 810 further specifically executes: when the current skin-fitting result is invalid skin-fitting, limiting the maximum energy output power of the electronic device to a second output power; the second output power is lower than the first output power.
[0189] In some possible embodiments, the processor 810 further specifically performs: when determining that the touch signal is a valid touch signal, controlling the electronic device to be in a preparatory working state; when the electronic device is in the preparatory working state, enabling the optical sensor.
[0190] In some possible embodiments, the processor 810 further specifically performs: when the electronic device is in the preparatory working state and the current skin-fitting result is a valid skin-fitting, controlling the electronic device to be in a normal working state.
[0191] In some possible embodiments, the touch sensor includes a single-channel touch sensor or a multi-channel touch sensor.
[0192] In some possible embodiments, when the touch sensor is a multi-channel touch sensor, the processor 810 further specifically executes: if there is effective contact between any preset number of touch points and the skin, then the touch signal is determined to be a valid touch signal.
[0193] In some possible embodiments, the touch sensor and the optical sensor are disposed on a working unit of the electronic device that is close to the skin.
[0194] In some possible embodiments, the electronic device further includes a position change sensor, which is used to detect position change information of the electronic device; the processor 810 further specifically performs: when determining that the current skin-fitting result is effective skin-fitting, controlling the electronic device to output preset energy, and after determining that the electronic device has moved a preset distance based on the position change sensor, controlling the electronic device to output the preset energy again.
[0195] In some possible embodiments, the electronic device further includes one or more skin-fitting result indicating devices, which indicate the current skin-fitting result in one or more forms of vibration, sound, light, or graphic information.
[0196] The present application also provides a computer-readable storage medium containing instructions that, when executed on a computer or processor, cause the computer or processor to perform one or more steps of the aforementioned embodiments. If the various components of the aforementioned skin contact detection device are implemented as software functional units and sold or used as independent products, they may be stored in the computer-readable storage medium.
[0197] The embodiments described above are merely descriptions of preferred embodiments of the present application and do not limit the scope of the present application. Without departing from the design spirit of the present application, various modifications and improvements made to the technical solutions of the present application by ordinary technicians in this field should fall within the scope of protection determined by the claims of the present application.
Claims
1. A skin-applying detection method, characterized in that: Applied to an electronic device including a touch sensor and an optical sensor, the method includes: Acquiring a touch signal detected by the touch sensor; If the touch signal is a valid touch signal, a current skin contact result is determined based on a preset value range and an optical feedback value obtained by the optical sensor; the valid touch signal is used to indicate that there is effective contact between the touch sensor and the skin.
2. The method according to claim 1, characterized in that The skin patch results include skin patch effectiveness and / or skin patch tightness.
3. The method according to claim 2, characterized in that The preset value range is determined based on the optical feedback values obtained by the optical sensor under different skin-fitting effectiveness and / or skin-fitting tightness.
4. The method according to claim 1, wherein The method further comprises: A control instruction is received, and the preset value range corresponding to different skin-fitting results is adjusted based on the control instruction.
5. The method according to claim 1, wherein The optical sensor includes a skin color sensor and / or a ToF sensor.
6. The method according to claim 5, characterized in that The determining of the current skin-adapting result based on the preset value range and the optical feedback value obtained by the optical sensor includes: Comparing the first optical feedback value collected by the skin color sensor with a first preset value range; if the first optical feedback value is within the first preset value range, determining that the current skin-fitting result is effective skin-fitting; and / or, Comparing the second optical feedback value collected by the ToF sensor with a second preset value range; if the second optical feedback value is within the second preset value range, determining that the current skin-attaching result is effective skin-attaching; and / or, Comparing the first optical feedback value collected by the skin color sensor with a first preset value range, and comparing the second optical feedback value collected by the ToF sensor with a second preset value range; if the first optical feedback value is within the first preset value range, and the second optical feedback value is within the second preset value range, determining that the current skin-adapting result is valid; The first preset value range is used to represent the value range of the skin color sensor in an effective skin-attached state, and the second preset value range is used to represent the value range of the ToF sensor in an effective skin-attached state.
7. The method according to claim 1, characterized in that The preset value range includes a plurality of value sub-ranges, and different value sub-ranges correspond to different skin-fitting results; The determining of the current skin-adapting result based on the preset value range and the optical feedback value obtained by the optical sensor includes: A value range sub-interval corresponding to the optical feedback value in the preset value range interval is determined, and a skin mapping result corresponding to the value range sub-interval is determined as a current skin mapping result.
8. The method according to claim 1, characterized in that The method further comprises: When the current skin-adhesion result is effective skin-adhesion, controlling the electronic device to output energy at a first output power; The first output power is determined based on the optical feedback value, and the optical feedback values in different value ranges correspond to different first output powers.
9. The method according to claim 8, characterized in that The method further comprises: In a case where the current skin-taping result is invalid skin-taping, the maximum energy output power of the electronic device is limited to a second output power; and the second output power is lower than the first output power.
10. The method according to claim 1, characterized in that The method further comprises: When determining that the touch signal is a valid touch signal, controlling the electronic device to be in a preparatory working state; When the electronic device is in the preparatory working state, the optical sensor is enabled.
11. The method according to claim 10, characterized in that The method further comprises: When the electronic device is in the preparatory working state and the current skin-adhesion result is a valid skin-adhesion, the electronic device is controlled to be in a normal working state.
12. The method according to claim 1, characterized in that The touch sensor includes a single-channel touch sensor or a multi-channel touch sensor.
13. The method according to claim 12, characterized in that In the case where the touch sensor is a multi-channel touch sensor, the method further includes: if there is effective contact between any preset number of touch points and the skin, determining that the touch signal is a valid touch signal.
14. The method according to claim 1, wherein The touch sensor and the optical sensor are arranged on a working unit of the electronic device for being close to the skin.
15. The method according to any one of claims 1 to 13, characterized in that The electronic device further includes a position change sensor, which is used to detect position change information of the electronic device; and the method further includes: When it is determined that the current skin-fitting result is effective skin-fitting, the electronic device is controlled to output a preset energy, and after determining that the electronic device has moved a preset distance based on the position change sensor, the electronic device is controlled to output the preset energy again.
16. The method according to claim 1, characterized in that The electronic device further comprises one or more skin-fitting result indicating devices, which indicate the current skin-fitting result in one or more forms of vibration, sound, light or graphic information.
17. A skin-approaching detection device, characterized in that: Configured in an electronic device including a touch sensor and an optical sensor, the device includes: a first detection module, configured to obtain a touch signal detected by the touch sensor; The second detection module determines the current skin contact result based on a preset value range and an optical feedback value obtained by the optical sensor if the touch signal is a valid touch signal; the valid touch signal is used to indicate that there is effective contact between the touch sensor and the skin.
18. A skin care device, comprising a touch sensor and an optical sensor; the skin care device is configured to execute the skin contact detection method according to any one of claims 1 to 16.
19. An electronic device, characterized in that: include: processor and memory; The memory is used to store a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method according to any one of claims 1 to 16.