Background noise adjustment method and system, skin treatment device and storage medium

By dynamically adjusting the noise floor parameters of the distance sensor, the problem of reducing control accuracy caused by contamination of the skin treatment device is solved, and higher detection accuracy and working state control accuracy are achieved.

CN119112350APending Publication Date: 2024-12-13SHENZHEN JINMO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411261440.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing skin treatment devices such as hair removal devices and beauty devices are prone to contamination when the device is close to or in contact with the skin, resulting in a reduced control accuracy and affecting the user experience.

Method used

By obtaining the real-time noise floor parameters of the distance sensor, we determine whether it is in the preset noise floor fluctuation range, update the dynamic noise floor parameters and basic noise floor parameters, and dynamically adjust the working state of the distance sensor to optimize the noise floor detection accuracy and control accuracy.

Benefits of technology

It effectively improves the distance detection accuracy and working state control accuracy of the skin treatment device, ensures that the device can still operate normally under contamination and avoids pollution affecting its work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119112350A_ABST
    Figure CN119112350A_ABST
Patent Text Reader

Abstract

The invention provides a background noise adjustment method and system, a skin processing device and a storage medium, and the method comprises the steps: obtaining an instant background noise parameter of a distance sensor through responding to a power-on operation of the skin processing device; judging whether the instant ground noise parameter is in a preset ground noise fluctuation range or not; if the instant ground noise parameter is within the preset ground noise fluctuation range, updating a dynamic ground noise parameter and a basic ground noise parameter of the distance sensor according to the instant ground noise parameter to obtain a new dynamic ground noise parameter and a new basic ground noise parameter; and controlling the distance sensor to perform distance detection based on the new dynamic floor noise parameter, and updating the preset floor noise fluctuation range based on the new basic floor noise parameter. Dynamic adjustment of the bottom noise of the sensor can be achieved, and then accurate control over the skin treatment device is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of sensor technology, and in particular to a background noise adjustment method, system, skin treatment device, and computer-readable storage medium. Background Art

[0002] Existing skin treatment devices such as hair removal devices and beauty devices generally use distance sensors to monitor the distance between the device and the skin to control the working status of the device. For example, to control the light intensity and frequency of laser hair removal devices. Another example is to control the atomization / vaporization of essence liquid by water light beauty devices to act on the skin.

[0003] However, once the device is close to or in contact with the skin, the surface of the distance sensor is easily adhered to skin care liquid or oil on the skin surface, which affects the actual detection data of the distance sensor, thereby reducing the control accuracy of the skin treatment device and affecting the user experience. Summary of the invention

[0004] The embodiments of the present application provide a background noise adjustment method, system, skin treatment device and computer-readable storage medium, which are intended to achieve flexible adjustment of the sensor background noise and thus achieve precise control of the skin treatment device.

[0005] In a first aspect, an embodiment of the present application provides a background noise adjustment method, which is applied to a skin treatment device, wherein the skin treatment device is configured with a distance sensor, and the method comprises:

[0006] In response to a power-on operation of the skin treatment device, acquiring an instant background noise parameter of the distance sensor;

[0007] Determining whether the instant background noise parameter is within a preset background noise fluctuation range, wherein the preset background noise fluctuation range is used to indicate an error range of the distance detected by the distance sensor, and the error range includes an error range caused by the distance sensor being affected by contamination when the skin treatment device is used;

[0008] If the instant noise floor parameter is within the preset noise floor fluctuation range, the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor are updated according to the instant noise floor parameter to obtain a new dynamic noise floor parameter and a new basic noise floor parameter;

[0009] The distance sensor is controlled to perform distance detection based on the new dynamic background noise parameter, and the preset background noise fluctuation range is updated based on the new basic background noise parameter.

[0010] Optionally, the instant noise floor parameter includes an instant noise floor value, the dynamic noise floor parameter includes a dynamic noise floor value, and the basic noise floor parameter includes a basic noise floor value;

[0011] The updating of the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor according to the real-time noise floor parameter to obtain a new dynamic noise floor parameter and a new basic noise floor parameter includes:

[0012] Updating the dynamic noise floor value of the distance sensor to the instant noise floor value to obtain a new dynamic noise floor value;

[0013] The basic noise floor value of the distance sensor is updated to the instant noise floor value to obtain a new basic noise floor value.

[0014] Optionally, controlling the distance sensor to perform distance detection based on the new dynamic background noise parameter, and updating the preset background noise fluctuation range based on the new basic background noise parameter includes:

[0015] controlling the distance sensor to detect the distance according to the new dynamic background noise value, obtaining an actual distance detection value of the distance sensor, and controlling the working state of the skin treatment device according to the actual distance detection value;

[0016] The preset noise floor fluctuation range is adjusted according to the new basic noise floor value and the preset noise floor error.

[0017] Optionally, controlling the distance sensor to perform distance detection according to the new dynamic background noise value, obtaining an actual distance detection value of the distance sensor, and controlling the operation of the skin treatment device according to the actual distance detection value includes:

[0018] Controlling the distance sensor to perform distance detection to obtain a current distance detection value;

[0019] Calculating an actual distance detection value according to the new dynamic background noise value and the current distance detection value;

[0020] The working state of the skin treatment device is controlled according to the actual distance detection value and the preset distance range in which the skin treatment device works.

[0021] Optionally, before acquiring the instant background noise parameter of the distance sensor, the method further includes:

[0022] Reading the basic background noise value stored in the skin treatment device;

[0023] The preset background noise fluctuation range is determined according to the basic background noise value and a preset background noise error of the distance sensor.

[0024] Optionally, after determining whether the instant background noise parameter is within a preset background noise fluctuation range, the method further includes:

[0025] If it is determined that the instantaneous noise floor value is not within the preset noise floor fluctuation range, the dynamic noise floor value of the distance sensor is updated according to the instantaneous noise floor value to obtain a new dynamic noise floor value, and the basic noise floor value is maintained;

[0026] The distance sensor is controlled to perform distance detection according to the new dynamic background noise value, so as to control the operation of the skin treatment device.

[0027] Optionally, the determining whether the instant noise floor parameter is within a preset noise floor fluctuation range includes:

[0028] Determining whether the instantaneous background noise value reaches a background noise adjustment threshold supported by the distance sensor;

[0029] If the instant noise floor value reaches the noise floor adjustment threshold, executing the step of determining whether the instant noise floor value is within a preset noise floor fluctuation range;

[0030] If the instant noise floor value does not reach the noise floor adjustment threshold, the dynamic noise floor value is updated according to the basic noise floor value.

[0031] Optionally, the distance sensor includes any one of an infrared distance sensor, an ultrasonic distance sensor, a millimeter wave radar distance sensor, and a laser rangefinder.

[0032] In a second aspect, an embodiment of the present application provides a background noise adjustment system, including:

[0033] A control module, configured to obtain an instant background noise value of the distance sensor in response to a power-on operation of the skin treatment device;

[0034] a judgment module, used to judge whether the instant background noise parameter is within a preset background noise fluctuation range, wherein the preset background noise fluctuation range is used to indicate an error range of the distance detected by the distance sensor, and the error range includes an error range caused by the distance sensor being affected by contamination when the skin treatment device is used;

[0035] An updating module, configured to update the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor according to the real-time noise floor parameter if the real-time noise floor parameter is within the preset noise floor fluctuation range, so as to obtain a new dynamic noise floor parameter and a new basic noise floor parameter;

[0036] The detection module is used to control the distance sensor to perform distance detection based on the new dynamic background noise parameter, and to update the preset background noise fluctuation range based on the new basic background noise parameter.

[0037] In a third aspect, an embodiment of the present application provides a skin treatment device, comprising a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the above-mentioned background noise adjustment method.

[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the above-mentioned background noise adjustment method.

[0039] Beneficial effects of the embodiments of the present application:

[0040] In an embodiment of the present application, after the skin treatment device is powered on and controls the distance sensor to collect an instant noise floor value, if it is determined that the instant noise floor value is within a preset noise floor fluctuation range, on the one hand, the basic noise floor value can be updated according to the instant noise floor value, and then the preset noise floor fluctuation range can be updated. In this way, the noise floor value can be dynamically optimized according to the contamination status of the skin treatment device during use of the skin treatment device, thereby effectively improving the noise floor detection accuracy of the skin treatment device, thereby improving the distance detection accuracy of the skin treatment device, and ultimately effectively improving the working state control accuracy of the skin treatment device. Moreover, through the above-mentioned continuous iterative optimization of the preset noise floor fluctuation range, it can be ensured that even if the skin treatment device is contaminated, as long as the degree of contamination is still within an acceptable range, the skin treatment device can still operate normally, thereby avoiding the use traces generated during the use of the skin treatment device affecting its normal operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1 This is a first schematic diagram of a background noise adjustment process provided in an embodiment of the present application;

[0043] Figure 2 This is a second schematic diagram of a background noise adjustment process provided in an embodiment of the present application;

[0044] Figure 3 This is a third schematic diagram of a background noise adjustment process provided in an embodiment of the present application;

[0045] Figure 4 is a structural schematic diagram of a background noise adjustment system provided in one embodiment of the present application;

[0046] Figure 5It is a schematic diagram of the structure of a skin treatment device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application. In addition, it should be understood that the specific implementation methods described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In the present application, unless otherwise specified, the directional words such as "upper" and "lower" used generally refer to the upper and lower parts of the device in actual use or working state, specifically the drawing direction in the drawings; while "inside" and "outside" refer to the outline of the device. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0048] According to the background technology of this application, existing skin treatment devices such as hair removal devices and beauty devices generally use distance sensors to monitor the distance between the device and the skin to control the working state of the device. For example, to control the light intensity and frequency of a laser hair removal device. Another example is to control the atomization / vaporization of essence liquid by a water light beauty device to act on the skin.

[0049] However, as the skin treatment device is frequently used, the surface of the distance sensor is inevitably adhered to skin care liquid or skin surface oil due to the close contact or contact between the device and the skin, which affects the actual detection data of the distance sensor, thereby reducing the control accuracy of the skin treatment device and affecting the user experience.

[0050] For example, once the distance sensor detects that there is dirt attached to the light outlet of the hair removal device, even if the dirt does not affect the normal light output of the hair removal device, the hair removal device is prone to misjudgment (incorrectly judging that the current usage scenario is abnormal), stopping the light output or adjusting the light output power, affecting the normal use of the hair removal device.

[0051] Therefore, in order to avoid interference from dirt and improve the control and processing accuracy of the skin treatment device, the present application proposes a background noise adjustment method, system, skin treatment system, computer-readable storage medium and computer program product. Even if the skin treatment device is contaminated during use or long-term use, it will not affect the normal operation of the skin treatment device.

[0052] Specifically, for example, the background noise adjustment method in the embodiment of the present application can be applied to a skin treatment device, which can include a device such as a hair removal device and a water light device that is equipped with a distance sensor. The background noise adjustment method in this embodiment, such as Figure 1 As shown, it can at least include the following steps:

[0053] S10, in response to a power-on operation of the skin treatment device, acquiring an instant background noise parameter of the distance sensor;

[0054] In this embodiment, the user can turn on the skin treatment device to trigger a corresponding power-on operation.

[0055] The skin treatment device can respond to the power-on operation and control the distance sensor to collect the real-time background noise parameters.

[0056] It should be noted that, in this embodiment, the instant background noise parameter may include a real-time background noise value obtained when the skin treatment device is powered on and begins to be used. It is understandable that the background noise value generally refers to the noise level generated by the system or device itself when there is no signal input. This noise may come from the structure of the device or environmental interference, etc. The background noise value may have different forms of expression and measurement methods in different applications and devices. For example, in image processing, the background noise value may refer to the output signal of the image sensor when there is no light irradiation, usually expressed in grayscale value or pixel value; in a communication system, the background noise value may refer to the channel noise when there is no signal transmission, usually in Hertz (Hz) or decibel (dB); and the background noise value of the distance sensor refers to the noise level output by the sensor when there is no object blocking it. For example, in the prior art, when the distance sensor is not blocked by obstacles, due to the influence of the hardware structure design of the distance sensor, the distance sensor will receive the distance measurement data reflected back by the sensor's own light guide column and the light shield between the transmitter and the receiver, which is the background noise value of the distance sensor. Therefore, this embodiment does not specifically limit the expression form and measurement method of the background noise parameter. For example, the background noise value detected in this embodiment may be a numerical value (counts). For example, in this embodiment, the skin treatment device may respond to the power-on operation to control the instant background noise parameter collected by the distance sensor to be 1800.

[0057] In a specific embodiment, the distance sensor includes any one of an infrared distance sensor, an ultrasonic distance sensor, a millimeter wave radar distance sensor, and a laser rangefinder.

[0058] In this embodiment, the type of the distance sensor may include an infrared distance sensor, an ultrasonic distance sensor, a millimeter wave radar distance sensor, a laser rangefinder, etc., and no specific limitation is made to this.

[0059] S20, determining whether the instant background noise parameter is within a preset background noise fluctuation range, wherein the preset background noise fluctuation range is used to indicate an error range of the distance detected by the distance sensor, and the error range includes an error range caused by contamination of the distance sensor when the skin treatment device is used;

[0060] In this embodiment, after acquiring the instant background noise value collected by the distance sensor, the skin treatment device can determine whether the instant background noise value is within a preset background noise fluctuation range.

[0061] Among them, in this embodiment, the preset background noise fluctuation range can be used to indicate the error range of the distance sensor detection distance, and the error range includes the error range caused by the distance sensor being affected by pollution when the skin treatment device is in use. In this embodiment, by comparing the instantaneous background noise value with the preset background noise fluctuation range, it can be determined whether the skin treatment device recognizes the current working environment (that is, whether the degree of pollution of the skin treatment device will affect the normal use of the skin treatment device). If it is determined that the instantaneous background noise value is within the preset background noise fluctuation range, it can be characterized in that the degree of pollution of the skin treatment device is normal use pollution, which will not affect the normal use of the skin treatment device, and the skin treatment device can work normally; if it is determined that the instantaneous background noise value is not within the preset background noise fluctuation range (for example, it exceeds the preset background noise fluctuation range), it can be characterized in that the skin treatment device does not recognize the current environment, and the degree of pollution of the skin treatment device will affect the normal operation of the skin treatment device.

[0062] S30, if the real-time background noise parameter is within the preset background noise fluctuation range, updating the dynamic background noise parameter and the basic background noise parameter of the distance sensor according to the real-time background noise parameter to obtain a new dynamic background noise parameter and a new basic background noise parameter;

[0063] S40, controlling the distance sensor to perform distance detection based on the new dynamic background noise parameter, and updating the preset background noise fluctuation range based on the new basic background noise parameter.

[0064] It should be noted that, in this embodiment, the instant noise floor parameter may include an instant noise floor value, the dynamic noise floor parameter may include a dynamic noise floor value, and the basic noise floor parameter may include a basic noise floor value.

[0065] Thus, in this embodiment, if the skin treatment device determines that the instantaneous background noise value is within the preset background noise fluctuation range, according to the above description, it means that the skin treatment device recognizes the current environment and can update the dynamic background noise value and the basic background noise value of the distance sensor according to the instantaneous background noise value to obtain a new dynamic background noise value and a new basic background noise value.

[0066] The basic background noise value in this embodiment can be understood as the background noise value generated by small external interference or noise (such as slight contamination on the working area of ​​the skin treatment device or slight scratches on the light-transmitting member, etc.). It can be understood that the preset background noise fluctuation range in this embodiment can be determined based on the basic background noise value. For example, the preset background noise fluctuation range can be based on the basic background noise value, and the acceptable variation range of the basic background noise value is determined as the preset background noise fluctuation range. This embodiment does not specifically limit the acceptable variation range of the basic background noise value.

[0067] The dynamic background noise value can be understood as the total background noise value obtained by a single detection after the skin treatment device is powered on this time (for example, it may include the background noise caused by the hardware structure design of the device itself, pollution, wear, etc.). Distance detection can be performed based on the dynamic background noise value to control the working state of the skin treatment device. The dynamic background noise value will be updated each time the skin treatment device is powered on, and will only be updated once after this power-on until it is updated again after the next power-on.

[0068] Thus, in this embodiment, after the skin treatment device is powered on, it controls the distance sensor to collect the real-time background noise value. If it is determined that the real-time background noise value is within the preset background noise fluctuation range, the basic background noise value can be updated according to the real-time background noise value, thereby updating the preset background noise fluctuation range.

[0069] It is worth noting that in this embodiment, the preset background noise fluctuation range is determined based on the basic background noise value and the preset background noise error, wherein the preset background noise error represents the error of the background noise value that does not affect the operation of the skin treatment device, wherein the preset background noise error can be obtained by pre-calibrating the distance of the skin treatment device, and this embodiment does not limit the specific value of the background noise error.

[0070] For example, in a specific embodiment, if the preset background noise fluctuation range stored when the skin treatment device is powered on this time is (10000, 20000), and the preset background noise error is 5000, then when the instantaneous background noise value collected after the power-on is 12000, since the instantaneous background noise value is in the above-mentioned preset background noise fluctuation range (10000, 20000), the basic background noise value can be updated using the instantaneous background noise value to obtain a new basic background noise value of 12000. Furthermore, the above-mentioned preset background noise fluctuation range can be updated using the new basic background noise value and the preset background noise error to obtain a new preset background noise fluctuation range (7000, 17000), that is, the difference between the basic background noise value and the preset background noise error is used as the minimum value of the preset background noise fluctuation range, and the sum of the basic background noise value and the preset background noise error is used as the maximum value of the preset background noise fluctuation range.

[0071] In one embodiment, before the above S10, “obtaining the real-time background noise parameter of the distance sensor”, the following may also be included:

[0072] S50, reading the basic background noise value stored in the skin treatment device;

[0073] S60: Determine the preset background noise fluctuation range according to the basic background noise value and a preset background noise error of the distance sensor.

[0074] According to the above description, small external interference or noise (such as a little stain on the skin treatment device or a little scratch on the light-transmitting part, etc.) will generate basic background noise, and in this embodiment, the skin treatment device will determine whether to use the collected real-time background noise value to update the basic background noise value each time it is powered on, that is, the basic background noise value reflects the contamination and wear of the skin treatment device during the most recent use.

[0075] Therefore, in this embodiment, after the skin treatment device is powered on, it pre-reads the basic noise floor value stored in the skin treatment device (i.e., the basic noise floor value updated or adopted when it was last used), and then determines the preset noise floor fluctuation range based on the basic noise floor value and the preset noise floor error of the distance sensor.

[0076] For example, if the basic noise floor value is 10000 and the preset noise floor error of the distance sensor is 5000, then the difference between the basic noise floor value and the preset noise floor error can be used as the minimum value of the preset noise floor fluctuation range, and the sum of the basic noise floor value and the preset noise floor error can be used as the maximum value of the preset noise floor fluctuation range to obtain a new preset noise floor fluctuation range of (5000, 15000).

[0077] It is worth noting that when the skin treatment device is used for the first time, its initial basic background noise value can be determined by calibrating the distance sensor of the skin treatment device, and the background noise value collected after the distance calibration is completed is used as the initial basic background noise value, among which, the distance calibration process of the distance sensor can refer to the existing sensor calibration process, which will not be repeated here.

[0078] Through the above operations, this embodiment can iteratively optimize the preset background noise fluctuation range and the dynamic background noise value according to the contamination of the skin treatment device during the use of the skin treatment device, effectively improve the background noise detection accuracy of the skin treatment device, and then improve the distance detection accuracy of the skin treatment device, and finally effectively improve the working state control accuracy of the skin treatment device. In addition, through the above continuous iterative optimization of the preset background noise fluctuation range, it can be ensured that even if the skin treatment device is contaminated, as long as the degree of contamination is still within an acceptable range, the skin treatment device can still operate normally, avoiding the dirt generated during the normal use of the skin treatment device affecting its normal operation.

[0079] Therefore, in this embodiment, the skin treatment device can respond to the above-mentioned power-on operation and control the distance sensor to collect the instant background noise value. After obtaining the instant background noise value collected by the distance sensor, the skin treatment device can determine whether the instant background noise value is within the preset background noise fluctuation range. If the skin treatment device determines that the instant background noise value is within the preset background noise fluctuation range, according to the above description, it means that the skin treatment device recognizes the current environment and can update the dynamic background noise value and the basic background noise value of the distance sensor according to the instant background noise value to obtain a new dynamic background noise value and a new basic background noise value, and control the distance sensor to perform distance detection based on the new dynamic background noise value, and update the preset background noise fluctuation range based on the new basic background noise value. Therefore, in this embodiment, the error range of the distance sensor detection distance and the dynamic background noise value of the skin treatment device can be flexibly adjusted according to the contamination condition of the skin treatment device during use, so that the distance sensor can use the new dynamic background noise value for distance detection, effectively avoiding the distance detection error of the distance sensor caused by the contamination of the skin treatment device and the abnormal working state of the skin treatment device, thereby improving the device control accuracy of the skin treatment device.

[0080] Further, the instant noise floor parameter includes an instant noise floor value, the dynamic noise floor parameter includes a dynamic noise floor value, and the basic noise floor parameter includes a basic noise floor value;

[0081] On this basis, in the above S30, "update the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor according to the real-time noise floor parameter to obtain a new dynamic noise floor parameter and a new basic noise floor parameter", such as Figure 2 As shown, it may include:

[0082] S301, updating the dynamic noise floor value of the distance sensor to the real-time noise floor value to obtain a new dynamic noise floor value;

[0083] S302: Update the basic noise floor value of the distance sensor to the instant noise floor value to obtain a new basic noise floor value.

[0084] In this embodiment, if the skin treatment device determines that the real-time background noise parameter is within the preset background noise fluctuation range, according to the above description, it can be characterized that the degree of contamination of the skin treatment device is a normal use mark, etc., which will not affect the normal use of the skin treatment device.

[0085] At this time, on the one hand, the skin processing device can update the dynamic background noise value of the distance sensor to the real-time background noise value collected after power-on, and obtain a new dynamic background noise value. Then, the skin processing device can control the distance sensor to use the new dynamic background noise value for distance detection. Compared with directly using a fixed background noise value for distance detection, the present application can fully consider the background noise influence in the current environment and improve the distance detection accuracy. On the other hand, the present application can also use the real-time background noise value to update the basic background noise value. Since the basic background noise value can determine the above-mentioned preset background noise fluctuation range, the preset background noise fluctuation range is actually updated based on the real-time background noise value. It can be understood that in this embodiment, The essence of using the real-time background noise value to update the preset background noise fluctuation range is to record the degree of pollution (or wear) of the skin treatment device during this use, and obtain an updated preset background noise fluctuation range. The skin treatment device can collect the real-time background noise parameters when it is powered on next time, and then compare the real-time background noise parameters with the updated preset background noise fluctuation range. In this way, the skin treatment device can perform distance detection and work status control based on the last basic background noise value each time it is turned on, which can ensure that pollution or wear during normal use of the skin treatment device will not affect the normal operation of the skin treatment device, and effectively improve the distance detection accuracy and the control accuracy of the skin treatment device.

[0086] Furthermore, in the above S40, “controlling the distance sensor to perform distance detection based on the new dynamic background noise parameter, and updating the preset background noise fluctuation range based on the new basic background noise parameter”, such as Figure 3 As shown, it may include:

[0087] S401, controlling the distance sensor to perform distance detection according to the new dynamic background noise value, obtaining an actual distance detection value of the distance sensor, and controlling the working state of the skin treatment device according to the actual distance detection value;

[0088] S402: adjusting the preset noise floor fluctuation range according to the new basic noise floor value and the preset noise floor error.

[0089] In this embodiment, after the skin treatment device updates the dynamic background noise value of the distance sensor to the real-time background noise value collected after power-on to obtain a new dynamic background noise value, and uses the real-time background noise value to update the basic background noise value to obtain a new basic background noise value, the distance sensor can be controlled to perform distance detection according to the new dynamic background noise value to obtain the current detection value of the distance sensor, and the working state of the skin treatment device can be controlled according to the current detection value of the distance sensor, such as controlling whether the skin treatment device is turned on or off, the working power of the skin treatment device, etc.

[0090] It should be noted that, in this embodiment, the current detection value can be understood as the distance measurement signal collected by the skin treatment device during operation. The distance measurement signal is actually affected by the noise of the background noise. Therefore, this embodiment can control the distance sensor to perform distance detection according to the new dynamic background noise value, and obtain the actual distance detection value of the distance sensor to filter out the influence of the background noise value on the distance detection, thereby improving the distance detection accuracy, and further improving the control accuracy of the working state of the skin treatment device.

[0091] In addition, in the present embodiment, the above-mentioned preset background noise error can be understood as the fluctuation range of the basic background noise value. The preset background noise fluctuation range determined based on the new basic background noise value and the preset background noise error can effectively characterize the error range of the detection distance caused by the above-mentioned distance sensor being affected by contamination when the skin treatment device is used. Within the preset background noise fluctuation range, the skin treatment device only has some slight contamination or wear, such as small stains or scratches, which does not affect the normal operation of the skin treatment device and can continue to be used as a reference comparison value after the next power-on.

[0092] Furthermore, in the above S401, “controlling the distance sensor to detect the distance according to the new dynamic background noise value, obtaining the actual distance detection value of the distance sensor, and controlling the working state of the skin treatment device according to the actual distance detection value” may include:

[0093] S4011, controlling the distance sensor to perform distance detection to obtain a current distance detection value;

[0094] S4012, calculating an actual distance detection value according to the new dynamic background noise value and the current distance detection value;

[0095] S4013, controlling the working state of the skin treatment device according to the actual distance detection value and the preset distance range within which the skin treatment device works.

[0096] In this embodiment, after the skin treatment device uses the real-time background noise value to update the dynamic background noise value, it can control the distance sensor to perform distance detection to obtain the current distance detection value. It can be understood that the current distance detection value is actually affected by the background noise of the device. Therefore, the skin treatment device can calculate the actual distance detection value based on the new dynamic background noise value and the current distance detection value. For example, the skin treatment device can subtract the new dynamic background noise value from the current distance detection value to obtain the actual distance detection value.

[0097] According to the above description, this embodiment may not limit the representation form and measurement method of the background noise value, which is also related to the sensor type and model. In a specific embodiment, the current distance detection value and the new dynamic background noise value in this embodiment can be a value (counts), wherein the effective distance detection value detected by the skin treatment device can range from (0-65535), and the smaller the value, the farther the skin treatment device is from the object to be measured (or there is no obstruction), and the larger the value, the closer the skin treatment device is (or completely exceeds the measurable range).

[0098] In this way, the skin treatment device can subtract the new dynamic background noise value from the current distance detection value to obtain an actual distance detection value, and compare the actual distance detection value with the preset distance range of the skin treatment device, and control the operation of the skin treatment device according to the comparison result.

[0099] For example, in this embodiment, the preset distance range may include:

[0100] (1) 0-2000, indicating that the distance between the skin treatment device and the object being measured is 35 mm or more;

[0101] (2) 2000-20000, representing a distance of 15-35 mm between the skin treatment device and the object being measured;

[0102] (3) 20000-35000, representing a distance of 5-15 mm between the skin treatment device and the object being measured;

[0103] (4) 35000 or above, indicating that the distance between the skin treatment device and the object being measured is within 5 mm.

[0104] In a specific embodiment, if the current distance detection value is 12000 and the new dynamic background noise value is 10000, then the actual distance detection value obtained is 2000. The skin treatment device can compare the actual distance detection value with the above-mentioned preset distance range to determine the distance between the skin treatment device and the object being measured, and control the skin treatment device to work.

[0105] Therefore, this embodiment can determine the distance range between the skin treatment device and the object being measured by comparing the actual distance detection value with the above-mentioned preset distance range, and control the operation of the skin treatment device according to the distance range, for example, control the start and stop and power of the skin treatment device, thereby achieving precise control of the skin treatment device.

[0106] Furthermore, after the above S20, “determining whether the instant noise floor parameter is within a preset noise floor fluctuation range”, the following may also be included:

[0107] S70, if it is determined that the instantaneous noise floor value is not within the preset noise floor fluctuation range, updating the dynamic noise floor value of the distance sensor according to the instantaneous noise floor value to obtain a new dynamic noise floor value, and maintaining the basic noise floor value;

[0108] S80, controlling the distance sensor to perform distance detection according to the new dynamic background noise value, so as to control the operation of the skin treatment device.

[0109] It should be noted that, in this embodiment, according to the above description, the preset background noise fluctuation range can be used to indicate the error range of the distance sensor detection distance, and the error range includes the error range caused by the distance sensor being affected by pollution when the skin treatment device is used. If it is determined that the instant background noise value is within the preset background noise fluctuation range, it can be characterized that the degree of pollution of the skin treatment device is normal use pollution, which will not affect the normal use of the skin treatment device, and the skin treatment device can work normally. In this embodiment, if it is determined that the instant background noise value is not within the preset background noise fluctuation range, it means that the skin treatment device does not recognize the current environment and will not record the background noise detected during the use of the skin treatment device this time, that is, the basic background noise value will not be updated using the instant background noise value. The cause of this situation may be that the skin treatment device is contaminated or worn more seriously, and it is no longer a normal use mark such as a slight scratch or a slight scrape. In order not to affect the normal use of the skin treatment device, the user can be reminded to deal with the abnormality in time, for example, by flashing a red light or outputting a prompt message on the display screen to remind the user to clean the skin treatment device.

[0110] At this time, the skin treatment device only uses the real-time background noise value to update the dynamic background noise value to obtain a new dynamic background noise value, and then can use the new dynamic background noise value to control the distance sensor to perform distance detection, thereby controlling the working state of the skin treatment device. At the same time, the skin treatment device can maintain the basic background noise value unchanged (that is, the basic background noise value is still the most recently updated basic background noise value).

[0111] For example, in a specific embodiment, if the preset background noise fluctuation range is (10000, 20000), and the real-time background noise value detected at this time is 23000 (the real-time background noise value is not within the preset background noise fluctuation range), the skin treatment device can directly update the dynamic background noise value to the real-time background noise value, obtain a new dynamic background noise value, and maintain the currently stored basic background noise value.

[0112] Furthermore, before the above S20, “determining whether the instant noise floor parameter is within a preset noise floor fluctuation range”, the following may also be included:

[0113] S90, determining whether the instant noise floor value reaches a noise floor adjustment threshold supported by the distance sensor;

[0114] S100, if the instantaneous background noise value reaches the background noise adjustment threshold, executing a step of determining whether the instantaneous background noise value is within a preset background noise fluctuation range;

[0115] S110: If the instant noise floor value does not reach the noise floor adjustment threshold, updating the dynamic noise floor value according to the basic noise floor value.

[0116] In this embodiment, the background noise adjustment threshold can be specifically a range, which can be the effective dynamic adjustment range of the distance sensor. That is, if the instant background noise value is within this range, it can be determined that the skin treatment device is in a new usage environment after being turned on this time. At this time, it can be considered to use the instant background noise value to update the basic background noise value and the dynamic background noise value, and further determine whether the instant background noise value is within the preset background noise fluctuation range.

[0117] If the real-time background noise value is not within this range, it means that it is judged that there is an effective obstruction to the skin treatment device (for example, the test area of ​​the object to be tested is close to the skin treatment device). At this time, the real-time background noise value is no longer caused by the skin treatment device being contaminated or its own structure, environmental interference, etc. The real-time background noise value at this time can no longer be used for distance detection by the distance sensor. Therefore, the skin treatment device can assign the currently stored basic background noise value to the dynamic background noise value to obtain a new dynamic background noise value, so as to use the new dynamic background noise value to control the distance sensor for distance detection.

[0118] According to the above description, it can be understood that the dynamic adjustment range in this embodiment is actually larger than the preset noise floor fluctuation range, that is, the instantaneous noise floor value is not necessarily in the preset noise floor fluctuation range while being in the dynamic adjustment range. For example, the preset noise floor fluctuation range can be (7000, 17000), and the dynamic adjustment range can be (3000, 30000). If the instantaneous noise floor value is 2000 at this time, then the instantaneous noise floor value is not in the dynamic adjustment range, and there is no need to determine whether the instantaneous noise floor value is in the preset noise floor fluctuation range. The dynamic noise floor value can be directly updated according to the basic noise floor value.

[0119] In a specific embodiment, the background noise adjustment method in this embodiment may include:

[0120] 1. When the skin treatment device is powered on, read the real-time background noise value;

[0121] 2. Determine whether the instantaneous background noise value is within a valid dynamic adjustment range (i.e., the background noise adjustment threshold supported by the distance sensor in this embodiment);

[0122] 2.1. If it is within the effective dynamic adjustment range, it is considered a new environment;

[0123] 2.1.1 Determine whether the instantaneous background noise value is within the acceptable variation range of the basic background noise value (i.e., the preset background noise fluctuation range in this embodiment);

[0124] 2.1.2 If it is within the acceptable range of variation, the instantaneous noise floor value is updated to the basic noise floor value and the dynamic noise floor value.

[0125] 2.1.3 If it is not within the acceptable range of change, the basic noise floor value is kept unchanged and the real-time noise floor value is updated to the dynamic noise floor value;

[0126] 2.2. If it is not within the effective dynamic adjustment range, it is judged as a valid occluder, and the basic noise floor value is updated to the dynamic noise floor value.

[0127] 3. Subtract the dynamic background noise value from the real-time distance detection value of the distance sensor to obtain the actual distance detection value, and control the working state of the skin treatment device.

[0128] Therefore, in this embodiment, the preset background noise fluctuation range and the dynamic background noise value can be iteratively optimized according to the contamination condition of the skin treatment device during use of the skin treatment device, thereby effectively improving the background noise detection accuracy of the skin treatment device, thereby improving the distance detection accuracy of the skin treatment device, and ultimately effectively improving the working state control accuracy of the skin treatment device. It can also be ensured that even if the skin treatment device is contaminated, as long as the degree of contamination is still within an acceptable range, the skin treatment device can still operate normally, thereby avoiding the contamination of the skin treatment device caused by normal use affecting its normal operation.

[0129] This embodiment also provides a background noise adjustment system, which can be integrated into a terminal medical device, for example, Figure 4 As shown, the background noise adjustment system may include:

[0130] The control module 1001 is used to obtain the instant background noise value of the distance sensor in response to the power-on operation of the skin treatment device;

[0131] A determination module 1002 is used to determine whether the instant background noise parameter is within a preset background noise fluctuation range, wherein the preset background noise fluctuation range is used to indicate an error range of the distance sensor detecting distance, and the error range includes an error range caused by the distance sensor being affected by contamination when the skin treatment device is used;

[0132] An updating module 1003 is configured to update the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor according to the real-time noise floor parameter to obtain a new dynamic noise floor parameter and a new basic noise floor parameter if the real-time noise floor parameter is within the preset noise floor fluctuation range;

[0133] The detection module 1004 is used to control the distance sensor to perform distance detection based on the new dynamic background noise parameter, and to update the preset background noise fluctuation range based on the new basic background noise parameter.

[0134] Optionally, the instant noise floor parameter includes an instant noise floor value, the dynamic noise floor parameter includes a dynamic noise floor value, and the basic noise floor parameter includes a basic noise floor value;

[0135] The updating module 1003 is further used for:

[0136] Updating the dynamic noise floor value of the distance sensor to the instant noise floor value to obtain a new dynamic noise floor value;

[0137] The basic noise floor value of the distance sensor is updated to the instant noise floor value to obtain a new basic noise floor value.

[0138] Optionally, the detection module 1004 is also used to

[0139] controlling the distance sensor to detect the distance according to the new dynamic background noise value, obtaining an actual distance detection value of the distance sensor, and controlling the working state of the skin treatment device according to the actual distance detection value;

[0140] The preset noise floor fluctuation range is adjusted according to the new basic noise floor value and the preset noise floor error.

[0141] Optionally, the detection module 1004 is also used to

[0142] Controlling the distance sensor to perform distance detection to obtain a current distance detection value;

[0143] Calculating an actual distance detection value according to the new dynamic background noise value and the current distance detection value;

[0144] The working state of the skin treatment device is controlled according to the actual distance detection value and the preset distance range in which the skin treatment device works.

[0145] Optionally, the background noise adjustment system in this embodiment further includes:

[0146] A reading module, used for reading the basic background noise value stored in the skin treatment device;

[0147] The determination module is used to determine the preset background noise fluctuation range according to the basic background noise value and the preset background noise error of the distance sensor.

[0148] Optionally, the background noise adjustment system in this embodiment further includes:

[0149] A noise floor maintenance module, configured to update the dynamic noise floor value of the distance sensor according to the instant noise floor value to obtain a new dynamic noise floor value, and maintain the basic noise floor value if it is determined that the instant noise floor value is not within the preset noise floor fluctuation range;

[0150] The second detection module is used to control the distance sensor to perform distance detection according to the new dynamic background noise value, so as to control the operation of the skin treatment device.

[0151] Optionally, the background noise adjustment system in this embodiment further includes:

[0152] A second judgment module is used to judge whether the instant background noise value reaches the background noise adjustment threshold supported by the distance sensor;

[0153] an execution module, configured to execute a step of determining whether the instant noise floor value is within a preset noise floor fluctuation range if the instant noise floor value reaches the noise floor adjustment threshold;

[0154] The second updating module is configured to update the dynamic noise floor value according to the basic noise floor value if the instant noise floor value does not reach the noise floor adjustment threshold.

[0155] Optionally, the distance sensor includes any one of an infrared distance sensor, an ultrasonic distance sensor, a millimeter wave radar distance sensor, and a laser rangefinder.

[0156] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0157] Accordingly, the present application also provides a skin treatment device, such as Figure 5 As shown, Figure 5 A schematic diagram of the structure of a skin treatment device provided in an embodiment of the present application. The skin treatment device 1100 includes a processor 1101 having one or more processing cores, a memory 1102 having one or more computer-readable storage media, and a computer program stored in the memory 1102 and executable on the processor. The processor 1101 is electrically connected to the memory 1102. It will be understood by those skilled in the art that the structure of the skin treatment device shown in the figure does not constitute a limitation on the skin treatment device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0158] The processor 1101 is the control center of the skin treatment device 1100, and uses various interfaces and lines to connect various parts of the entire skin treatment device 1100. By running or loading software programs and / or units stored in the memory 1102, and calling data stored in the memory 1102, the processor 1101 executes various functions of the skin treatment device 1100 and processes data, thereby monitoring the skin treatment device 1100 as a whole. The processor 1101 can be a processor CPU, a graphics processor GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0159] In the embodiment of the present application, the processor 1101 in the skin treatment device 1100 will load instructions corresponding to the processes of one or more application programs into the memory 1102 according to the following steps, and the processor 1101 will run the application programs stored in the memory 1102 to implement various functions, such as:

[0160] In response to a power-on operation of the skin treatment device, acquiring an instant background noise parameter of the distance sensor;

[0161] Determining whether the instant background noise parameter is within a preset background noise fluctuation range, wherein the preset background noise fluctuation range is used to indicate an error range of the distance detected by the distance sensor, and the error range includes an error range caused by the distance sensor being affected by contamination when the skin treatment device is used;

[0162] If the instant noise floor parameter is within the preset noise floor fluctuation range, the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor are updated according to the instant noise floor parameter to obtain a new dynamic noise floor parameter and a new basic noise floor parameter;

[0163] The distance sensor is controlled to perform distance detection based on the new dynamic background noise parameter, and the preset background noise fluctuation range is updated based on the new basic background noise parameter.

[0164] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0165] Optional, such as Figure 5 As shown, the skin treatment device 1100 further includes: a touch screen 1103, a radio frequency circuit 1104, an audio circuit 1105, an input unit 1106, and a power supply 1107. The processor 1101 is electrically connected to the touch screen 1103, the radio frequency circuit 1104, the audio circuit 1105, the input unit 1106, and the power supply 1107, respectively. Those skilled in the art will appreciate that Figure 5The structure of the skin treatment device shown in the figure does not constitute a limitation of the skin treatment device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0166] The touch display screen 1103 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 1103 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the skin treatment device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-EmittingDiode) and the like. The touch panel can be used to collect the user's touch operation on or near it (such as the user uses any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 1101, and can receive the command sent by the processor 1101 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 1101 to determine the type of touch event, and then the processor 1101 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 1103 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 1103 can also be used as a part of the input unit 1106 to realize the input function.

[0167] The radio frequency circuit 1104 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other skin treatment device through wireless communication, and to send and receive signals with the network device or other skin treatment device.

[0168] The audio circuit 1105 can be used to provide an audio interface between the user and the skin treatment device through a speaker and a microphone. The audio circuit 1105 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1105 and converted into audio data, and then the audio data is output to the processor 1101 for processing, and then sent to another skin treatment device through the radio frequency circuit 1104, or the audio data is output to the memory 1102 for further processing. The audio circuit 1105 may also include an earplug jack to provide communication between an external earphone and the skin treatment device.

[0169] The input unit 1106 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0170] The power supply 1107 is used to supply power to various components of the skin treatment device 1100. Optionally, the power supply 1107 can be logically connected to the processor 1101 through a power management device, so that the power management device can manage charging, discharging, power consumption, etc. The power supply 1107 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0171] although Figure 5 Not shown, the skin treatment device 1100 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0172] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0173] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0174] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored. The computer program can be loaded by a processor to execute any of the methods provided in the embodiments of the present application. The computer program can execute the steps of the following method:

[0175] In response to a power-on operation of the skin treatment device, acquiring an instant background noise parameter of the distance sensor;

[0176] Determining whether the instant background noise parameter is within a preset background noise fluctuation range, wherein the preset background noise fluctuation range is used to indicate an error range of the distance detected by the distance sensor, and the error range includes an error range caused by the distance sensor being affected by contamination when the skin treatment device is used;

[0177] If the instant noise floor parameter is within the preset noise floor fluctuation range, the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor are updated according to the instant noise floor parameter to obtain a new dynamic noise floor parameter and a new basic noise floor parameter;

[0178] The distance sensor is controlled to perform distance detection based on the new dynamic background noise parameter, and the preset background noise fluctuation range is updated based on the new basic background noise parameter.

[0179] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0180] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0181] Since the computer program stored in the computer-readable storage medium can execute any of the methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0182] In the above-mentioned background noise adjustment system, skin treatment system, and computer-readable storage medium, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. A person skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-described system, skin treatment system, computer-readable storage medium, computer program product, and corresponding units can refer to the description of each method in the above embodiment, and will not be repeated here. In the above-mentioned background noise adjustment system, computer-readable storage medium, and skin treatment device, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. A person skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-described background noise adjustment system, computer-readable storage medium, computer program product, skin treatment device, and corresponding units can refer to the description of the background noise adjustment method in the above embodiment, and will not be repeated here.

[0183] The above is a detailed introduction to a background noise adjustment method, system, skin treatment device, and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A noise floor adjustment method, characterized in that: Applied to a skin treatment device, the skin treatment device is configured with a distance sensor, the method comprising: In response to a power-on operation of the skin treatment device, acquiring an instant background noise parameter of the distance sensor; Determining whether the instant background noise parameter is within a preset background noise fluctuation range, wherein the preset background noise fluctuation range is used to indicate an error range of the distance detected by the distance sensor, and the error range includes an error range caused by the distance sensor being affected by contamination when the skin treatment device is used; If the instant noise floor parameter is within the preset noise floor fluctuation range, the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor are updated according to the instant noise floor parameter to obtain a new dynamic noise floor parameter and a new basic noise floor parameter; The distance sensor is controlled to perform distance detection based on the new dynamic background noise parameter, and the preset background noise fluctuation range is updated based on the new basic background noise parameter.

2. The noise floor adjustment method according to claim 1, characterized in that: The instant noise floor parameter includes an instant noise floor value, the dynamic noise floor parameter includes a dynamic noise floor value, and the basic noise floor parameter includes a basic noise floor value; The updating of the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor according to the real-time noise floor parameter to obtain a new dynamic noise floor parameter and a new basic noise floor parameter includes: Updating the dynamic noise floor value of the distance sensor to the instant noise floor value to obtain a new dynamic noise floor value; The basic noise floor value of the distance sensor is updated to the instant noise floor value to obtain a new basic noise floor value.

3. The noise floor adjustment method according to claim 2, characterized in that: The controlling the distance sensor to perform distance detection based on the new dynamic background noise parameter, and updating the preset background noise fluctuation range based on the new basic background noise parameter, includes: controlling the distance sensor to detect the distance according to the new dynamic background noise value, obtaining an actual distance detection value of the distance sensor, and controlling the working state of the skin treatment device according to the actual distance detection value; The preset noise floor fluctuation range is adjusted according to the new basic noise floor value and the preset noise floor error.

4. The noise floor adjustment method according to claim 3, characterized in that: The step of controlling the distance sensor to detect the distance according to the new dynamic background noise value, obtaining the actual distance detection value of the distance sensor, and controlling the operation of the skin treatment device according to the actual distance detection value includes: Controlling the distance sensor to perform distance detection to obtain a current distance detection value; Calculating an actual distance detection value according to the new dynamic background noise value and the current distance detection value; The working state of the skin treatment device is controlled according to the actual distance detection value and the preset distance range in which the skin treatment device works.

5. The noise floor adjustment method according to claim 2, characterized in that: Before obtaining the instant background noise parameter of the distance sensor, the method further includes: Reading the basic background noise value stored in the skin treatment device; The preset background noise fluctuation range is determined according to the basic background noise value and a preset background noise error of the distance sensor.

6. The noise floor adjustment method according to claim 2, characterized in that: After determining whether the instant background noise parameter is within the preset background noise fluctuation range, the method further includes: If it is determined that the instantaneous noise floor value is not within the preset noise floor fluctuation range, the dynamic noise floor value of the distance sensor is updated according to the instantaneous noise floor value to obtain a new dynamic noise floor value, and the basic noise floor value is maintained; The distance sensor is controlled to perform distance detection according to the new dynamic background noise value, so as to control the operation of the skin treatment device.

7. The noise floor adjustment method according to claim 2, characterized in that: The determining whether the instant background noise parameter is within a preset background noise fluctuation range includes: Determining whether the instantaneous background noise value reaches a background noise adjustment threshold supported by the distance sensor; If the instant noise floor value reaches the noise floor adjustment threshold, executing the step of determining whether the instant noise floor value is within a preset noise floor fluctuation range; If the instant noise floor value does not reach the noise floor adjustment threshold, the dynamic noise floor value is updated according to the basic noise floor value.

8. The noise floor adjustment method according to any one of claims 1 to 7, characterized in that: The distance sensor includes any one of an infrared distance sensor, an ultrasonic distance sensor, a millimeter wave radar distance sensor, and a laser rangefinder.

9. A noise floor adjustment system, characterized in that: include: A control module, configured to obtain an instant background noise value of the distance sensor in response to a power-on operation of the skin treatment device; a judgment module, used to judge whether the instant background noise parameter is within a preset background noise fluctuation range, wherein the preset background noise fluctuation range is used to indicate an error range of the distance detected by the distance sensor, and the error range includes an error range caused by the distance sensor being affected by contamination when the skin treatment device is used; An updating module, configured to update the dynamic noise floor parameter and the basic noise floor parameter of the distance sensor according to the real-time noise floor parameter if the real-time noise floor parameter is within the preset noise floor fluctuation range, so as to obtain a new dynamic noise floor parameter and a new basic noise floor parameter; The detection module is used to control the distance sensor to perform distance detection based on the new dynamic background noise parameter, and to update the preset background noise fluctuation range based on the new basic background noise parameter.

10. A skin treatment device, characterized in that: It comprises a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of any one of the methods of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: It comprises a computer program, which is used to make the skin treatment device perform the steps of any one of the methods of claims 1 to 8 when the computer program is run on the skin treatment device.