Beauty medium identification method, storage medium and electronic equipment
By receiving impedance detection signals and performing temperature compensation, the impedance characteristic parameters at multiple frequencies identify the state and type of beauty media, the problem that beauty instruments cannot recognize the state and type of media, and improves skin care effects and user experience.
Patent Information
- Application Number
- CN202510723411.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-08-26
AI Technical Summary
Existing beauty instruments cannot recognize the media status and type of beauty media, resulting in reduced skin care efficacy and user experience.
By receiving the impedance detection trigger signal, the real-time impedance and ambient temperature of the skin are obtained, the medium state and type of the beauty medium are identified after temperature compensation, and the impedance characteristic parameters at multiple preset frequencies are used for identification.
Accurately identify the status and type of beauty media to improve skin care efficacy and user experience.
Smart Images

Figure CN120531367A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of beauty technology, and in particular to a beauty medium identification method, a storage medium, and an electronic device. Background Art
[0002] At present, in order to enhance the skin care effect, users usually apply beauty media, such as facial masks, on the skin when using beauty devices. Although existing beauty devices can also detect skin impedance, the skin impedance detected by existing beauty devices is usually used to determine whether the beauty device is close to the skin, and cannot determine the medium state of the beauty medium. At the same time, existing beauty devices only use a single frequency for skin impedance detection, and existing beauty devices cannot identify the medium type of the beauty medium, such as metal masks, high-water-content gel masks, ordinary non-woven fabric masks, bio-fiber masks, etc. Therefore, the beauty device cannot subsequently control the output energy and working mode according to the medium type, thereby reducing the skin care effect and user experience. Summary of the Invention
[0003] The purpose of the present invention is to overcome the deficiency of the prior art beauty devices that cannot identify the medium state and / or medium type of the beauty medium, and to provide a beauty medium identification method, storage medium and electronic device.
[0004] The technical solution of the present invention provides a method for identifying a cosmetic medium, comprising:
[0005] Receive the impedance detection trigger signal and obtain the real-time skin impedance and ambient temperature;
[0006] Performing temperature compensation on the real-time impedance according to the ambient temperature to obtain a target impedance;
[0007] A medium state and / or medium type of the cosmetic medium on the skin is identified based on the target impedance.
[0008] In one of the optional technical solutions, the step of receiving the impedance detection trigger signal and obtaining the real-time impedance of the cosmetic medium and the ambient temperature includes:
[0009] The impedance detection trigger signal is received, and the real-time impedance is acquired at a plurality of preset frequencies.
[0010] In one of the optional technical solutions, performing temperature compensation on the real-time impedance according to the ambient temperature to obtain the target impedance includes:
[0011] The target impedance is calculated using the following formula:
[0012] Z 目 (f i )=Z 实 (f i )×[1+α(fi )(T-25)],
[0013] Among them, Z 目 (f i ) is the target impedance corresponding to the preset frequency; Z 实 (f i ) is the real-time impedance corresponding to the preset frequency; α(f i ) is the preset temperature coefficient corresponding to the preset frequency; T is the ambient temperature.
[0014] In one of the optional technical solutions, the preset frequencies include a first preset frequency, a second preset frequency, a third preset frequency, a fourth preset frequency and a fifth preset frequency which increase in sequence.
[0015] In one of the optional technical solutions, identifying the medium state and / or medium type of the cosmetic medium on the skin according to the target impedance includes:
[0016] At the preset frequency, the impedance amplitude ratio, the phase characteristic parameter and the rate of change of the imaginary part of admittance are calculated according to the target impedance;
[0017] The medium state and the medium type are identified according to the impedance amplitude ratio, the phase characteristic parameter, and the rate of change of the imaginary part of admittance.
[0018] In one of the optional technical solutions, the impedance amplitude ratio, the phase characteristic parameter, and the rate of change of the imaginary part of admittance are calculated according to the target impedance at the preset frequency, including:
[0019] Calculating a first sub-impedance amplitude ratio according to the target impedance corresponding to the first preset frequency and the second preset frequency;
[0020] Calculating a second sub-impedance amplitude ratio according to the target impedance corresponding to the second preset frequency and the fifth preset frequency;
[0021] Calculating a third sub-impedance amplitude ratio according to the target impedance corresponding to the third preset frequency and the fourth preset frequency;
[0022] Calculating a complex argument difference according to the target impedance corresponding to the first preset frequency and the second preset frequency;
[0023] Obtaining a minimum complex argument in the target impedance corresponding to the first preset frequency, the second preset frequency, the third preset frequency, the fourth preset frequency, and the fifth preset frequency;
[0024] Calculating the rate of change of the imaginary part of admittance according to the target impedance corresponding to the fourth preset frequency and the fifth preset frequency;
[0025] An imaginary part of the admittance of the target impedance corresponding to the third preset frequency is calculated.
[0026] In one of the optional technical solutions, identifying the medium state and the medium type according to the impedance amplitude ratio, the phase characteristic parameter, and the rate of change of the imaginary part of admittance includes:
[0027] If the first sub-impedance amplitude ratio is less than a first preset amplitude threshold, the minimum complex argument is greater than a first preset argument threshold, and the rate of change of the imaginary part of admittance is less than a first preset rate of change threshold, the medium type is identified as a metal cosmetic medium;
[0028] If the second sub-impedance amplitude ratio is greater than a second preset amplitude threshold, and the complex argument difference is less than a second preset argument threshold, the medium type is identified as a highly hydrated gel cosmetic medium, the second preset amplitude threshold is greater than the first preset amplitude threshold, and the second preset argument threshold is greater than the first preset argument threshold;
[0029] If the third sub-impedance amplitude ratio is greater than a third preset amplitude threshold and less than a fourth preset amplitude threshold, and the rate of change of the imaginary part of admittance is greater than or equal to a second preset rate of change threshold and less than or equal to a third preset rate of change threshold, the medium type is identified as a non-woven cosmetic medium, the third preset amplitude threshold is greater than the first preset amplitude threshold, the third preset amplitude threshold is less than the fourth preset amplitude threshold, the fourth preset amplitude threshold is less than the second preset amplitude threshold, the second preset rate of change threshold is greater than the first preset rate of change threshold, and the second preset rate of change threshold is less than the third preset rate of change threshold;
[0030] If the third sub-impedance amplitude ratio is greater than a fifth preset amplitude threshold, and the imaginary part of admittance is less than the preset imaginary part of admittance threshold, the medium type is identified as a bio-fiber cosmetic medium, the fifth preset amplitude threshold is less than the second preset amplitude threshold, and the fifth preset amplitude threshold is greater than the fourth preset amplitude threshold;
[0031] If the first sub-impedance amplitude ratio is greater than a sixth preset amplitude threshold and the minimum complex argument is less than a third preset argument threshold, it is identified that the medium state is no cosmetic medium, and the third preset argument threshold is less than the first preset argument threshold.
[0032] In one of the optional technical solutions, identifying the medium state and / or medium type of the cosmetic medium on the skin according to the target impedance includes:
[0033] calculating an impedance ratio of the target impedance corresponding to the second preset frequency to the target impedance corresponding to the first preset frequency;
[0034] If the target impedance corresponding to the first preset frequency is less than or equal to an impedance threshold, or the impedance ratio is greater than or equal to a preset impedance ratio threshold, it is identified that the medium state is a short circuit.
[0035] The technical solution of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions. When a computer executes the computer instructions, the computer is used to execute all the steps of the above-mentioned method for identifying cosmetic media.
[0036] The technical solution of the present invention further provides an electronic device, comprising:
[0037] at least one processor; and,
[0038] a memory communicatively connected to the at least one processor; wherein,
[0039] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the aforementioned cosmetic medium identification method.
[0040] The above technical solution has the following beneficial effects: by obtaining the real-time impedance and ambient temperature of the skin when receiving the impedance detection trigger signal, the real-time impedance is temperature compensated according to the ambient temperature to obtain the target impedance, and the medium state and / or medium type of the beauty medium on the skin is more accurately identified based on the target impedance, which facilitates the subsequent control of the output energy and improves the skin care effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It should be understood that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of the present invention. In the drawings:
[0042] Figure 1 A flowchart of a method for identifying a cosmetic medium according to an embodiment of the present invention;
[0043] Figure 2 A flowchart of a method for identifying a cosmetic medium according to another embodiment of the present invention;
[0044] Figure 3 A schematic diagram of the hardware structure of an electronic device for identifying cosmetic media provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0046] It is easy to understand that according to the technical solution of the present invention, a variety of structural modes and implementation modes can be replaced with each other by those skilled in the art without changing the essential spirit of the present invention. Therefore, the following specific embodiments and drawings are only exemplary descriptions of the technical solution of the present invention and should not be regarded as the entire invention or as a limitation or restriction of the technical solution of the invention.
[0047] The directional terms such as up, down, left, right, front, back, front, back, top, and bottom mentioned or possibly mentioned in this specification are defined relative to the structure shown in the drawings. They are relative concepts and may vary depending on the location and usage of the device. Therefore, these or other directional terms should not be interpreted as restrictive.
[0048] like Figure 1 As shown, an embodiment of the present invention provides a method for identifying a beauty medium, including:
[0049] Step S101: receiving an impedance detection trigger signal and obtaining the real-time skin impedance and ambient temperature;
[0050] Step S102: performing temperature compensation on the real-time impedance according to the ambient temperature to obtain the target impedance;
[0051] Step S103: Identifying the medium state and / or medium type of the cosmetic medium on the skin according to the target impedance.
[0052] Specifically, when the user triggers impedance detection via a physical or virtual button, the controller executes step S101 to receive the impedance detection trigger signal and uses an existing impedance detection circuit to obtain the real-time impedance of the skin, such as using a four-electrode impedance detection model to detect the composite impedance, and uses a temperature sensor to obtain the ambient temperature. Then, step S102 is executed to perform temperature compensation on the real-time impedance based on the ambient temperature to prevent ambient temperature changes from affecting the detected real-time impedance, thereby obtaining the target impedance. Finally, step S103 is executed to identify whether a beauty medium has been used on the skin based on the target impedance, such as whether a facial mask is present or not. If so, the medium type of the beauty medium is further identified, such as a metal mask, a high-water-content gel mask, an ordinary non-woven fabric mask, or a biofiber mask. Otherwise, the medium state is identified as no beauty medium. Identifying the medium state and / or medium type facilitates subsequent control of output energy, thereby improving skin care efficacy.
[0053] In this embodiment, the real-time impedance of the skin and the ambient temperature are obtained when an impedance detection trigger signal is received, and the real-time impedance is temperature compensated according to the ambient temperature to obtain a target impedance. The medium state and / or medium type of the beauty medium on the skin is more accurately identified based on the target impedance, which facilitates the subsequent control of the output energy and improves the skin care effect.
[0054] In one embodiment, step S101 includes:
[0055] Upon receiving an impedance detection trigger signal, real-time impedance is acquired at multiple preset frequencies.
[0056] Specifically, when the controller receives the impedance detection trigger signal, it uses the existing impedance detection method to detect the real-time impedance of the skin at multiple different preset frequencies, and more accurately identifies the medium state and / or medium type based on the multiple real-time impedances.
[0057] In one embodiment, in order to obtain the target impedance more accurately and improve the accuracy, step S102 includes:
[0058] The target impedance is calculated using the following formula:
[0059] Z 目 (f i )=Z 实 (f i )×[1+α(f i )(T-25)],
[0060] Among them, Z 目 (f i ) is the target impedance corresponding to the preset frequency; Z 实 (f i ) is the real-time impedance corresponding to the preset frequency; α(f i ) is the preset temperature coefficient corresponding to the preset frequency; T is the ambient temperature.
[0061] In one embodiment, the preset frequencies include a first preset frequency, a second preset frequency, a third preset frequency, a fourth preset frequency and a fifth preset frequency which increase in sequence.
[0062] Specifically, the preset frequencies can be set according to different cosmetic medium materials, and the numerical values of the first preset frequency, the second preset frequency, the third preset frequency, the fourth preset frequency, and the fifth preset frequency correspond to different cosmetic medium materials. The preset temperature coefficients correspond to the preset frequencies. By setting the preset frequencies to the first preset frequency, the second preset frequency, the third preset frequency, the fourth preset frequency, and the fifth preset frequency, the medium type of the cosmetic medium can be more accurately identified.
[0063] Among them, the first preset frequency is preferably 1 kHz, the second preset frequency is preferably 10 kHz, the third preset frequency is preferably 50 kHz, the fourth preset frequency is preferably 100 kHz, and the fifth preset frequency is preferably 200 kHz.
[0064] The corresponding relationship between the preset temperature coefficient and the preset frequency is shown in the following table:
[0065] Frequency Points Preset temperature coefficient α( / ℃) First preset frequency 0.008 Second preset frequency 0.015 The third preset frequency 0.01 Fourth preset frequency 0.012 Fifth preset frequency 0.005
[0066] like Figure 2 As shown, another embodiment of the present invention provides a method for identifying a beauty medium, comprising:
[0067] Step S201: receiving an impedance detection trigger signal, obtaining real-time skin impedance and ambient temperature at multiple preset frequencies;
[0068] Step S202: performing temperature compensation on the real-time impedance at each preset frequency according to the ambient temperature to obtain a corresponding target impedance;
[0069] Step S203: Calculate the impedance amplitude ratio, phase characteristic parameter, and rate of change of the imaginary part of admittance according to the target impedance at a preset frequency;
[0070] Step S204: identifying the medium state and / or medium type according to the impedance amplitude ratio, the phase characteristic parameter, and the rate of change of the imaginary part of admittance.
[0071] Specifically, when the user triggers impedance detection through a physical button or a virtual button, the controller executes step S201 to receive the impedance detection trigger signal, and uses the existing impedance detection circuit to obtain the real-time impedance of the skin at multiple preset frequencies and obtain the ambient temperature; then executes step S202 to perform temperature compensation on the real-time impedance at each preset frequency according to the ambient temperature to obtain the corresponding target impedance; then executes step S203 to calculate the impedance amplitude ratio, phase characteristic parameters and the rate of change of the imaginary part of admittance according to the target impedance at the preset frequency; finally, executes step S204 to identify whether a beauty medium is used on the skin based on the impedance amplitude ratio, phase characteristic parameters and the rate of change of the imaginary part of admittance, such as the medium state of a facial mask or no facial mask. If the medium type of the beauty medium is further identified, such as a metal mask, a high-water-content gel mask, an ordinary non-woven fabric mask, a bio-fiber mask, etc., the identification of the medium state and / or medium type facilitates the subsequent control of the output energy and improves the skin care effect.
[0072] In this embodiment, when an impedance detection trigger signal is received, the real-time impedance of the skin and the ambient temperature are obtained at multiple preset frequencies, and the real-time impedance at each preset frequency is temperature compensated according to the ambient temperature to obtain the corresponding target impedance. At the preset frequency, the impedance amplitude ratio, phase characteristic parameters and the rate of change of the imaginary part of admittance are respectively calculated according to the target impedance. The medium state and / or medium type of the beauty medium on the skin are more accurately identified based on the impedance amplitude ratio, phase characteristic parameters and the rate of change of the imaginary part of admittance, which facilitates the subsequent control of the output energy and improves the skin care effect.
[0073] In one embodiment, to further improve recognition accuracy, step S203 includes:
[0074] Calculating a first sub-impedance amplitude ratio according to target impedances corresponding to the first preset frequency and the second preset frequency;
[0075] Calculating a second sub-impedance amplitude ratio according to the target impedance corresponding to the second preset frequency and the fifth preset frequency;
[0076] Calculating a third sub-impedance amplitude ratio according to the target impedances corresponding to the third preset frequency and the fourth preset frequency;
[0077] Calculating a complex argument difference based on target impedances corresponding to the first preset frequency and the second preset frequency;
[0078] Obtaining a minimum complex argument in target impedances corresponding to a first preset frequency, a second preset frequency, a third preset frequency, a fourth preset frequency, and a fifth preset frequency;
[0079] Calculating a rate of change of an imaginary part of admittance according to target impedances corresponding to the fourth preset frequency and the fifth preset frequency;
[0080] An imaginary part of the admittance of the target impedance corresponding to the third preset frequency is calculated.
[0081] Specifically, the first sub-impedance amplitude ratio, the second sub-impedance amplitude ratio, and the third sub-impedance amplitude ratio are calculated using the following formulas:
[0082]
[0083] Among them, R1 is the first sub-impedance amplitude ratio; R2 is the second sub-impedance amplitude ratio; R3 is the third sub-impedance amplitude ratio; Z1 is the target impedance at the first preset frequency f1; Z2 is the target impedance at the second preset frequency f2; Z3 is the target impedance at the third preset frequency f3; Z4 is the target impedance at the fourth preset frequency f4; Z5 is the target impedance at the fifth preset frequency f5.
[0084] The complex argument difference and minimum complex argument are calculated using the following formula:
[0085]
[0086] Where Δθ is the complex argument difference; θ min is the minimum complex argument.
[0087] The rate of change of the imaginary part of admittance is calculated using the following formula:
[0088]
[0089] Where γ is the rate of change of the imaginary part of admittance; Im [Y1] is the imaginary part of the target impedance at the fifth preset frequency f5; m [Y4] is the imaginary part of the target impedance at the fourth preset frequency f4.
[0090] In one embodiment, step S204 includes:
[0091] If the first sub-impedance amplitude ratio is less than the first preset amplitude threshold, the minimum complex argument is greater than the first preset argument threshold, and the rate of change of the imaginary part of the admittance is less than the first preset rate of change threshold, the medium type is identified as a metal cosmetic medium;
[0092] If the second sub-impedance amplitude ratio is greater than a second preset amplitude threshold, and the complex argument difference is less than the second preset argument threshold, the medium type is identified as a highly hydrated gel cosmetic medium, the second preset amplitude threshold is greater than the first preset amplitude threshold, and the second preset argument threshold is greater than the first preset argument threshold;
[0093] If the third sub-impedance amplitude ratio is greater than the third preset amplitude threshold and less than the fourth preset amplitude threshold, and the rate of change of the imaginary part of the admittance is greater than or equal to the second preset rate of change threshold and less than or equal to the third preset rate of change threshold, the medium type is identified as a non-woven cosmetic medium, the third preset amplitude threshold is greater than the first preset amplitude threshold, the third preset amplitude threshold is less than the fourth preset amplitude threshold, the fourth preset amplitude threshold is less than the second preset amplitude threshold, the second preset rate of change threshold is greater than the first preset rate of change threshold, and the second preset rate of change threshold is less than the third preset rate of change threshold;
[0094] If the third sub-impedance amplitude ratio is greater than a fifth preset amplitude threshold, and the imaginary part of the admittance is less than the preset imaginary part of the admittance threshold, the medium type is identified as a bio-fiber cosmetic medium, the fifth preset amplitude threshold is less than the second preset amplitude threshold, and the fifth preset amplitude threshold is greater than the fourth preset amplitude threshold;
[0095] If the first sub-impedance amplitude ratio is greater than the sixth preset amplitude threshold and the minimum complex argument is less than the third preset argument threshold, it is identified that the medium state is no cosmetic medium, and the third preset argument threshold is less than the first preset argument threshold.
[0096] Specifically, the controller determines whether the first sub-impedance amplitude ratio is less than a first preset amplitude threshold, whether the minimum complex argument is greater than a first preset argument threshold, and whether the rate of change of the imaginary part of the admittance is less than a first preset rate of change threshold, if the medium type is identified as a metal cosmetic medium; or
[0097] The controller determines whether the second sub-impedance amplitude ratio is greater than a second preset amplitude threshold, and whether the complex argument difference is less than a second preset argument threshold, if the medium type is identified as a high-water gel cosmetic medium; or
[0098] The controller determines whether the third sub-impedance amplitude ratio is greater than the third preset amplitude threshold and less than the fourth preset amplitude threshold, and whether the rate of change of the imaginary part of the admittance is greater than or equal to the second preset rate of change threshold and less than or equal to the third preset rate of change threshold, if the medium type is identified as a non-woven cosmetic medium; or
[0099] The controller determines whether the third sub-impedance amplitude ratio is greater than a fifth preset amplitude threshold, and whether the imaginary part of the admittance is less than a preset imaginary part of the admittance threshold, and if so, identifies the medium type as a bio-fiber beauty medium; or
[0100] The controller determines whether the first sub-impedance amplitude ratio is greater than a sixth preset amplitude threshold, and whether the minimum complex argument is less than a third preset argument threshold. If so, the controller identifies the medium state as no cosmetic medium, thereby achieving more accurate identification of the medium state and / or medium type.
[0101] Among them, the first preset amplitude threshold is preferably 0.5, the second preset amplitude threshold is preferably 3, the third preset amplitude threshold is preferably 0.8, the fourth preset amplitude threshold is preferably 102, the fifth preset amplitude threshold is preferably 2, the first preset amplitude angle threshold is preferably -15°, the second preset amplitude angle threshold is preferably 10°, the third preset amplitude angle threshold is preferably -45°, the first preset change rate threshold is preferably 0.01μS / Hz, the second preset change rate threshold is preferably 0.02μS / Hz, the third preset change rate threshold is preferably 0.05μS / Hz, and the preset imaginary part threshold of admittance is preferably -200Ω.
[0102] In one embodiment, step S204 includes:
[0103] Calculating an impedance ratio of a target impedance corresponding to the second preset frequency to a target impedance corresponding to the first preset frequency;
[0104] If the target impedance corresponding to the first preset frequency is less than or equal to the impedance threshold, or the impedance ratio is greater than or equal to the preset impedance ratio threshold, it is identified that the medium state is short circuit.
[0105] Specifically, the impedance ratio is calculated using the following formula:
[0106] Q=|Z2| / |Z1|
[0107] Where Q is the impedance ratio;
[0108] The controller determines whether the target impedance corresponding to the first preset frequency is less than or equal to the impedance threshold, or whether the impedance ratio Q is greater than or equal to the preset impedance ratio threshold. If the medium state is identified as a short circuit abnormal state, the controller stops detection and issues a timely warning, such as using light, sound, or a combination thereof to remind the user.
[0109] The impedance threshold is preferably 15Ω, and the preset impedance ratio threshold is preferably 3.
[0110] An embodiment of the present invention provides a computer-readable storage medium for storing computer instructions. When a computer executes the computer instructions, the computer is used to execute all steps of the cosmetic medium identification method in any of the above method embodiments.
[0111] like Figure 3 As shown, a hardware structure diagram of an electronic device for identifying beauty media provided by an embodiment of the present invention includes:
[0112] at least one processor 301; and,
[0113] A memory 302 in communication with at least one processor 301; wherein,
[0114] The memory 302 stores instructions that can be executed by the at least one processor 301 . The instructions are executed by the at least one processor 301 so that the at least one processor 301 can perform the cosmetic medium identification method in any of the above method embodiments.
[0115] Figure 3 A processor 301 is taken as an example.
[0116] The electronic device is preferably an Electronic Control Unit (ECU).
[0117] The electronic device may further include: an input device 303 and an output device 304 .
[0118] The processor 301, the memory 302, the input device 303 and the output device 304 may be connected via a bus or other means, with the bus connection being used as an example in the figure.
[0119] The memory 302 is a non-volatile computer-readable storage medium that can be used to obtain non-volatile software programs, non-volatile computer executable programs, and modules, such as the program instructions / modules corresponding to the beauty media identification method in the embodiment of the present application, for example, Figure 1-Figure 2 The processor 301 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules acquired from the memory 302, that is, implementing the cosmetic medium identification method in the above embodiment.
[0120] Memory 302 may include a program acquisition area and a data acquisition area. The program acquisition area may acquire the operating system and at least one application required for the function; the data acquisition area may acquire data generated by the use of the cosmetic agent identification method. Furthermore, memory 302 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some embodiments, memory 302 may optionally include memory located remotely from processor 301. Such remote memory may be connected to the apparatus executing the cosmetic agent identification method via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0121] The input device 303 can receive user clicks and generate signal input related to user settings and function control of the cosmetic medium identification method. The output device 304 can include a display device such as a display screen.
[0122] The one or more modules are stored in the memory 302 and, when executed by the one or more processors 301 , perform the cosmetic medium identification method in any of the above method embodiments.
[0123] The above-mentioned product can execute the method provided in the embodiment of this application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of this application.
[0124] The above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the embodiments of the present invention have been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for identifying a beauty medium, characterized in that: include: Receive the impedance detection trigger signal and obtain the real-time skin impedance and ambient temperature; Performing temperature compensation on the real-time impedance according to the ambient temperature to obtain a target impedance; A medium state and / or medium type of the cosmetic medium on the skin is identified based on the target impedance.
2. The method for identifying a cosmetic agent according to claim 1, wherein: The receiving of the impedance detection trigger signal and obtaining the real-time impedance and ambient temperature of the cosmetic medium includes: The impedance detection trigger signal is received, and the real-time impedance is acquired at a plurality of preset frequencies.
3. The method for identifying a cosmetic agent according to claim 2, wherein: The performing temperature compensation on the real-time impedance according to the ambient temperature to obtain a target impedance includes: The target impedance is calculated using the following formula: Z 目 (f i )=Z 实 (f i )×[1+α(f i )(T-25)], Among them, Z 目 (f i ) is the target impedance corresponding to the preset frequency; Z 实 (f i ) is the real-time impedance corresponding to the preset frequency; α(f i ) is the preset temperature coefficient corresponding to the preset frequency; T is the ambient temperature.
4. The method for identifying a cosmetic agent according to claim 3, wherein: The preset frequencies include a first preset frequency, a second preset frequency, a third preset frequency, a fourth preset frequency and a fifth preset frequency which increase in sequence.
5. The method for identifying a cosmetic agent according to claim 4, wherein: The identifying the medium state and / or medium type of the cosmetic medium on the skin according to the target impedance includes: At the preset frequency, the impedance amplitude ratio, the phase characteristic parameter and the rate of change of the imaginary part of admittance are calculated according to the target impedance; The medium state and the medium type are identified according to the impedance amplitude ratio, the phase characteristic parameter, and the rate of change of the imaginary part of admittance.
6. The method for identifying a cosmetic agent according to claim 5, wherein: The step of calculating the impedance amplitude ratio, the phase characteristic parameter, and the rate of change of the imaginary part of admittance according to the target impedance at the preset frequency includes: Calculating a first sub-impedance amplitude ratio according to the target impedance corresponding to the first preset frequency and the second preset frequency; Calculating a second sub-impedance amplitude ratio according to the target impedance corresponding to the second preset frequency and the fifth preset frequency; Calculating a third sub-impedance amplitude ratio according to the target impedance corresponding to the third preset frequency and the fourth preset frequency; Calculating a complex argument difference according to the target impedance corresponding to the first preset frequency and the second preset frequency; Obtaining a minimum complex argument in the target impedance corresponding to the first preset frequency, the second preset frequency, the third preset frequency, the fourth preset frequency, and the fifth preset frequency; Calculating the rate of change of the imaginary part of admittance according to the target impedance corresponding to the fourth preset frequency and the fifth preset frequency; An imaginary part of the admittance of the target impedance corresponding to the third preset frequency is calculated.
7. The method for identifying a cosmetic agent according to claim 5, wherein: The identifying the medium state and the medium type according to the impedance amplitude ratio, the phase characteristic parameter, and the rate of change of the imaginary part of admittance includes: If the first sub-impedance amplitude ratio is less than a first preset amplitude threshold, the minimum complex argument is greater than a first preset argument threshold, and the rate of change of the imaginary part of admittance is less than a first preset rate of change threshold, the medium type is identified as a metal cosmetic medium; If the second sub-impedance amplitude ratio is greater than a second preset amplitude threshold, and the complex argument difference is less than a second preset argument threshold, the medium type is identified as a highly hydrated gel cosmetic medium, the second preset amplitude threshold is greater than the first preset amplitude threshold, and the second preset argument threshold is greater than the first preset argument threshold; If the third sub-impedance amplitude ratio is greater than a third preset amplitude threshold and less than a fourth preset amplitude threshold, and the rate of change of the imaginary part of admittance is greater than or equal to a second preset rate of change threshold and less than or equal to a third preset rate of change threshold, the medium type is identified as a non-woven cosmetic medium, the third preset amplitude threshold is greater than the first preset amplitude threshold, the third preset amplitude threshold is less than the fourth preset amplitude threshold, the fourth preset amplitude threshold is less than the second preset amplitude threshold, the second preset rate of change threshold is greater than the first preset rate of change threshold, and the second preset rate of change threshold is less than the third preset rate of change threshold; If the third sub-impedance amplitude ratio is greater than a fifth preset amplitude threshold, and the imaginary part of admittance is less than the preset imaginary part of admittance threshold, the medium type is identified as a bio-fiber cosmetic medium, the fifth preset amplitude threshold is less than the second preset amplitude threshold, and the fifth preset amplitude threshold is greater than the fourth preset amplitude threshold; If the first sub-impedance amplitude ratio is greater than a sixth preset amplitude threshold and the minimum complex argument is less than a third preset argument threshold, it is identified that the medium state is no cosmetic medium, and the third preset argument threshold is less than the first preset argument threshold.
8. The method for identifying a cosmetic agent according to any one of claims 4 to 7, wherein: The identifying the medium state and / or medium type of the cosmetic medium on the skin according to the target impedance includes: calculating an impedance ratio of the target impedance corresponding to the second preset frequency to the target impedance corresponding to the first preset frequency; If the target impedance corresponding to the first preset frequency is less than or equal to an impedance threshold, or the impedance ratio is greater than or equal to a preset impedance ratio threshold, it is identified that the medium state is a short circuit.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and when a computer executes the computer instructions, it is used to execute all the steps of the cosmetic medium identification method according to any one of claims 1 to 8.
10. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the cosmetic medium identification method according to any one of claims 1 to 8.