Cosmetic instrument and control method and device thereof
By monitoring the charge and discharge time of the capacitive touch button, it automatically turns off the load of the beauty device and enters standby mode, solving the problem of power waste when the beauty device is not being held, improving user experience and reducing energy consumption.
Patent Information
- Application Number
- CN202410828736.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-15
AI Technical Summary
The beauty instrument is still in working condition when not being held, resulting in a waste of power and affecting the user experience.
By obtaining the charging and discharging time of the capacitive touch button, it can determine its triggering state, and automatically turn off the load of the beauty instrument when it is not in the triggering state, enter standby state or turn off the device to avoid unnecessary energy consumption.
It effectively solves the problem of power waste in beauty devices, improves user experience, reduces energy consumption, and restarts the device when the user needs it.
Smart Images

Figure CN118783579A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical equipment, and in particular to a beauty instrument, and a control method and device for the beauty instrument. Background Art
[0002] At present, the beauty industry is very popular, and beauty devices are widely used, among which handheld ones are the most popular. The beauty device has a power button. After turning on the power button, the whole device will work continuously according to the set working mode until the user turns it off or the battery is out of power. In the working process of a handheld beauty device, if the load is still in working state when the beauty device is not handheld, it will cause a waste of power, thus affecting the user experience. Summary of the invention
[0003] In view of this, the present invention provides a beauty instrument, a control method and a device for the beauty instrument, so as to solve the problem of power waste of the beauty instrument.
[0004] In a first aspect, the present invention provides a control method for a beauty instrument, comprising the following steps: during the operation of the beauty instrument, obtaining a first charge and discharge time of a capacitive touch button at the current moment; judging whether the capacitive touch button is in a triggered state according to the first charge and discharge time; and turning off the load of the beauty instrument when the capacitive touch button is not in the triggered state.
[0005] The control method of the beauty instrument provided in the present embodiment obtains the first charge and discharge time of the capacitive touch button at the current moment during the operation of the beauty instrument, determines whether the capacitive touch button is in a triggered state according to the first charge and discharge time, and turns off the load of the beauty instrument when the capacitive touch button is not in the triggered state. Thus, when the beauty instrument is not held in hand during operation (for example, when it needs to stop to apply essence, repair cream, or make a phone call), the load is automatically turned off, thereby solving the problem of power waste in the beauty instrument.
[0006] In an optional embodiment, after turning off the load of the beauty instrument, the following steps are also included: obtaining the shutdown time of the load of the beauty instrument; judging whether the shutdown time reaches a preset first time threshold; when the shutdown time does not reach the first time threshold, continuing to obtain the second charge and discharge time of the capacitive touch button at the current moment; judging whether the capacitive touch button is re-triggered according to the second charge and discharge time; when the capacitive touch button is re-triggered, turning on the load of the beauty instrument; when the capacitive touch button is not re-triggered, returning to the step of obtaining the shutdown time of the load of the beauty instrument.
[0007] This is because, during the operation of the beauty instrument, when the user needs to stop to apply essence, repair cream, or make a phone call, after a period of time, the user may have finished applying the essence, repair cream, or made a phone call, and needs to reopen the load of the beauty instrument. Therefore, after closing the load of the beauty instrument, it is necessary to continue to obtain the second charge and discharge time of the capacitive touch button at the current moment, and determine whether the capacitive touch button is re-triggered based on the second charge and discharge time. When the capacitive touch button is re-triggered, reopen the load of the beauty instrument. In an optional embodiment, the control method of the beauty instrument also includes the following steps: when the shutdown time reaches the first time threshold, enter the standby state.
[0008] It is understandable that after turning off the load of the beauty instrument, it is possible that the user does not need to use the beauty instrument for a long time, or it is possible that the user does not need to use the beauty instrument for a short time. In this embodiment, by obtaining the shutdown time of the load of the beauty instrument and judging whether the shutdown time reaches the preset first time threshold, it can be determined whether the user does not need to use the beauty instrument for a long time or a short time. Specifically, when the shutdown time reaches the preset first time threshold, it is considered that the user does not need to use the beauty instrument for a long time, and therefore it is necessary to control the beauty instrument to enter the standby state, thereby further reducing the energy consumption of the beauty instrument.
[0009] In an optional embodiment, after entering the standby state, the control method of the beauty instrument also includes the following steps: obtaining the standby time; judging whether the standby time reaches a preset second time threshold; when the standby time does not reach the second time threshold, continuing to obtain the third charge and discharge time of the capacitive touch button at the current moment; judging whether the capacitive touch button is re-triggered according to the third charge and discharge time; when the capacitive touch button is re-triggered, exiting the standby state and turning on the load of the beauty instrument; when the capacitive touch button is not re-triggered, returning to the step of obtaining the standby time.
[0010] This is because, during the operation of the beauty instrument, although the user needs a long time to apply essence, repair cream or make a phone call, the beauty instrument enters the standby state. After the beauty instrument enters the standby state, after a period of time, the user may have finished applying essence, repair cream or made a phone call, and needs to restart the load of the beauty instrument. Therefore, after entering the standby state, it is necessary to continue to obtain the third charge and discharge time of the capacitive touch button at the current moment, and determine whether the capacitive touch button is re-triggered according to the third charge and discharge time. When the capacitive touch button is re-triggered, the load of the beauty instrument is restarted.
[0011] In an optional implementation, the method for controlling the beauty instrument further includes the following steps: when the standby time reaches a second time threshold, turning off the beauty instrument.
[0012] It is understandable that when the user does not need to use the beauty instrument for a long time, it may be that the user no longer needs to use the beauty instrument, or it may be that the user needs a long time to apply essence, repair cream, or answer or make a phone call. This embodiment obtains the standby time and determines whether the standby time reaches the preset second time threshold, so as to determine whether the user no longer needs to use the beauty instrument or the user needs a long time to apply essence, repair cream, or answer or make a phone call. Specifically, when the standby time does not reach the preset second time threshold, it can be considered that the user needs a long time to apply essence, repair cream, or answer or make a phone call; when the standby time reaches the preset second time threshold, it can be considered that the user no longer needs to use the beauty instrument. Furthermore, when the standby time reaches the preset second time threshold, the beauty instrument is turned off to further reduce the energy consumption of the beauty instrument.
[0013] In a second aspect, the present invention also provides a control device for a beauty instrument, the device comprising a charge and discharge time acquisition module, a first judgment module and a processing module; wherein the charge and discharge time acquisition module is used to obtain the first charge and discharge time of the capacitive touch button at the current moment during the operation of the beauty instrument; the first judgment module is used to judge whether the capacitive touch button is in a triggered state according to the first charge and discharge time; the processing module is used to turn off the load of the beauty instrument when the capacitive touch button is not in a triggered state.
[0014] In a third aspect, the present invention provides a computer device comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the control method of the beauty instrument according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0015] In a fourth aspect, the present invention provides a beauty instrument, comprising a housing, a resistor and the computer device of the third aspect, wherein the resistor is connected to the housing, and the computer device is connected to the resistor.
[0016] In an optional implementation, the resistance value of the resistor is 510Ω-5.1kΩ.
[0017] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the control method of a beauty instrument according to the first aspect or any corresponding embodiment thereof.
[0018] The beauty instrument, the control method, the device and the computer equipment provided by the present invention have the following beneficial effects: not only can the load be automatically turned off when the beauty instrument is not held in hand during operation (for example, when it is necessary to stop to apply essence, repair cream or make a phone call), thereby solving the problem of power waste of the beauty instrument; but the load of the beauty instrument can also be turned on again after the user has applied essence, repair cream or made a phone call; further, it can also distinguish whether the user does not need to use the beauty instrument for a long time or a short time, and when the user does not need to use the beauty instrument for a long time, the beauty instrument can be controlled to enter a standby state, thereby further reducing the energy consumption of the beauty instrument; further, the beauty instrument can be turned off when the user no longer needs to use it, thereby further reducing the energy consumption of the beauty instrument. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 is a flow chart of a beauty instrument control method according to an embodiment of the present invention;
[0021] Figure 2 is a schematic diagram of a beauty instrument according to an embodiment of the present invention;
[0022] Figure 3 is an internal diagram of a beauty instrument according to an embodiment of the present invention;
[0023] Figure 4 is a flow chart of another beauty instrument control method according to an embodiment of the present invention;
[0024] Figure 5 is a flow chart of another beauty instrument control method according to an embodiment of the present invention;
[0025] Figure 6 is a flowchart of an example of a beauty instrument control method according to an embodiment of the present invention;
[0026] Figure 7 is a structural block diagram of a beauty instrument control device according to an embodiment of the present invention;
[0027] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0029] In order to solve the problem of power waste in beauty devices, manufacturers generally consider allowing users to replace batteries. When the dry battery runs out of power, users need to replace new batteries to maintain operation. Frequent battery replacement will increase the user's subsequent use costs, so some manufacturers replace dry batteries with rechargeable batteries. Once the battery power is exhausted, users are allowed to charge it. However, whether it is battery replacement or frequent charging, it cannot fundamentally solve the problem of high power consumption of the entire device.
[0030] Based on this, according to an embodiment of the present invention, a control method embodiment of a beauty instrument is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0031] In this embodiment, a control method of a beauty instrument is provided, which can be used in a computer device. Figure 1 is a flow chart of a beauty instrument control method according to an embodiment of the present invention. Figure 2 is a schematic diagram of a beauty instrument according to an embodiment of the present invention; Figure 3 1 is an internal diagram of a beauty instrument according to an embodiment of the present invention.
[0032] like Figure 1 As shown, the process includes the following steps:
[0033] Step S101: During the operation of the beauty instrument, the first charge and discharge time of the capacitive touch button at the current moment is obtained.
[0034] Among them, the capacitive touch button is actually just a small "copper pad" on the PCB, which forms an inductive capacitor with the surrounding "ground signal". Touching the button will affect the capacitance value. For example, Figure 2 and Figure 3As shown, a resistor, a main control chip and a battery are arranged inside the beauty instrument body. The body of the beauty instrument can be regarded as a touch button. When the user holds the beauty instrument, the touch button is in a triggered state; when the body of the beauty instrument is not held by the user, the touch button is not in a triggered state. Among them, the resistor will affect the detection of the touch button trigger state within a certain range. Specifically, the resistance value of the resistor is 510Ω~5.1kΩ. Preferably, the resistance value of the resistor is 1.0kΩ~5.1kΩ.
[0035] It should be noted that in this embodiment, the shell of the body is metal; when the shell of the body is plastic, a conductive metal needs to be attached to the inner surface of the shell, and the metal layer needs to be connected to the internal main control chip through a resistor.
[0036] Step S102: judging whether the capacitive touch button is in a triggering state according to the first charge and discharge time.
[0037] Specifically, whether the touch button is in a triggered state or not in a triggered state can be determined according to the first charge and discharge time obtained in the active chip.
[0038] Step S103: When the capacitive touch button is not in the triggered state, the load of the beauty instrument is turned off.
[0039] The control method of the beauty instrument provided in the present embodiment obtains the first charge and discharge time of the capacitive touch button at the current moment during the operation of the beauty instrument, determines whether the capacitive touch button is in a triggered state according to the first charge and discharge time, and turns off the load of the beauty instrument when the capacitive touch button is not in the triggered state. Thus, when the beauty instrument is not held in hand during operation (for example, when it needs to stop to apply essence, repair cream, or make a phone call), the load is automatically turned off, thereby solving the problem of power waste in the beauty instrument.
[0040] In this embodiment, a control method of a beauty instrument is provided, which can be used in a computer device. Figure 4 is a flow chart of another beauty instrument control method according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:
[0041] Step S401: During the operation of the beauty instrument, the first charge and discharge time of the capacitive touch button at the current moment is obtained.
[0042] Step S402: judging whether the capacitive touch button is in a triggering state according to the first charge and discharge time, and when the capacitive touch button is not in a triggering state, proceeding to step S403; otherwise, the load of the beauty instrument continues to work.
[0043] Step S403: Turn off the load of the beauty instrument.
[0044] Step S404: Obtain the shutdown duration of the load of the beauty instrument.
[0045] Step S405: Determine whether the shutdown duration reaches a preset first duration threshold; when the shutdown duration does not reach the first duration threshold, proceed to step S406; when the shutdown duration reaches the first duration threshold, proceed to step S409.
[0046] Step S406: Continue to obtain the second charge and discharge time of the capacitive touch button at the current moment.
[0047] Step S407: judging whether the capacitive touch key is re-triggered according to the second charge-discharge time, and when the capacitive touch key is re-triggered, proceeding to step S408; when the capacitive touch key is not re-triggered, returning to step S404.
[0048] This is because, during the operation of the beauty instrument, when the user needs to stop to apply essence, repair cream or answer a phone call, after a period of time, the user may have finished applying the essence, repair cream or answered the phone call, and needs to reopen the load of the beauty instrument. Therefore, after turning off the load of the beauty instrument, it is necessary to continue to obtain the second charge and discharge time of the capacitive touch button at the current moment, and determine whether the capacitive touch button is re-triggered based on the second charge and discharge time. When the capacitive touch button is re-triggered, reopen the load of the beauty instrument.
[0049] At the same time, it is understandable that after the load of the beauty instrument is turned off, the user may not need to use the beauty instrument for a long time, or the user may not need to use the beauty instrument for a short time. In this embodiment, by obtaining the off time of the load of the beauty instrument and judging whether the off time reaches the preset first time threshold, it can be determined whether the user does not need to use the beauty instrument for a long time or a short time. Specifically, when the off time reaches the preset first time threshold, it is considered that the user does not need to use the beauty instrument for a long time, and therefore it is necessary to control the beauty instrument to enter the standby state, thereby further reducing the energy consumption of the beauty instrument.
[0050] Step S408: Turn on the load of the beauty instrument.
[0051] Step S409: Entering the standby state.
[0052] The control method of the beauty instrument provided in this embodiment not only automatically turns off the load when the beauty instrument is not held in hand during operation (for example, when it is necessary to stop to apply essence, repair cream or make a phone call), thereby solving the problem of power waste in the beauty instrument; it can also turn on the load of the beauty instrument again after the user has finished applying essence, repair cream or has finished making a phone call; further, it can distinguish whether the user does not need to use the beauty instrument for a long time or a short time. When the user does not need to use the beauty instrument for a long time, the beauty instrument is controlled to enter a standby state, thereby further reducing the energy consumption of the beauty instrument.
[0053] In this embodiment, a control method of a beauty instrument is provided, which can be used in a computer device. Figure 5 FIG. 1 is a flow chart of another beauty instrument control method according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0054] Step S501: During the operation of the beauty instrument, the first charge and discharge time of the capacitive touch button at the current moment is obtained.
[0055] Step S502: determining whether the capacitive touch button is in a triggering state according to the first charge and discharge time.
[0056] Step S503: When the capacitive touch button is not in the triggered state, the load of the beauty instrument is turned off.
[0057] Step S504: Obtain the shutdown duration of the load of the beauty instrument.
[0058] Step S505: Determine whether the shutdown duration reaches a preset first duration threshold; when the shutdown duration does not reach the first duration threshold, proceed to step S506; when the shutdown duration reaches the first duration threshold, proceed to step S509.
[0059] Step S506: Continue to obtain the second charge and discharge time of the capacitive touch button at the current moment.
[0060] Step S507: judging whether the capacitive touch key is re-triggered according to the second charge-discharge time, and when the capacitive touch key is re-triggered, proceeding to step S508; when the capacitive touch key is not re-triggered, returning to step S504.
[0061] Step S508: Turn on the load of the beauty instrument.
[0062] Step S509: Entering the standby state.
[0063] Step S510: Obtain the standby time.
[0064] Step S511: Determine whether the standby time reaches a preset second time threshold; when the standby time does not reach the second time threshold, proceed to step S512; when the standby time reaches the second time threshold, proceed to step S515.
[0065] Step S512: Continue to obtain the third charge and discharge time of the capacitive touch button at the current moment.
[0066] Step S513: judging whether the capacitive touch key is re-triggered according to the third charge-discharge time; when the capacitive touch key is re-triggered, proceeding to step S514; when the capacitive touch key is not re-triggered, returning to step S510.
[0067] This is because, during the operation of the beauty instrument, although the user needs a long time to apply essence, repair cream or make a phone call, the beauty instrument enters the standby state. After the beauty instrument enters the standby state, after a period of time, the user may have finished applying essence, repair cream or made a phone call, and needs to restart the load of the beauty instrument. Therefore, after entering the standby state, it is necessary to continue to obtain the third charge and discharge time of the capacitive touch button at the current moment, and determine whether the capacitive touch button is re-triggered according to the third charge and discharge time. When the capacitive touch button is re-triggered, the load of the beauty instrument is restarted.
[0068] It is understandable that when the user does not need to use the beauty instrument for a long time, it may be that the user no longer needs to use the beauty instrument, or it may be that the user needs a long time to apply essence, repair cream, or answer or make a phone call. This embodiment obtains the standby time and determines whether the standby time reaches the preset second time threshold, so as to determine whether the user no longer needs to use the beauty instrument or the user needs a long time to apply essence, repair cream, or answer or make a phone call. Specifically, when the standby time does not reach the preset second time threshold, it can be considered that the user needs a long time to apply essence, repair cream, or answer or make a phone call; when the standby time reaches the preset second time threshold, it can be considered that the user no longer needs to use the beauty instrument. Furthermore, when the standby time reaches the preset second time threshold, the beauty instrument is turned off to further reduce the energy consumption of the beauty instrument.
[0069] Step S514: exit the standby state and turn on the load of the beauty instrument.
[0070] Step S515: Turn off the beauty instrument.
[0071] The control method of the beauty instrument provided in this embodiment not only automatically turns off the load when the beauty instrument is not held in hand during operation (for example, when it is necessary to stop to apply essence, repair cream or make a phone call), thereby solving the problem of power waste of the beauty instrument; but can also reopen the load of the beauty instrument after the user has finished applying essence, repair cream or has finished making a phone call; further, it can also distinguish whether the user does not need to use the beauty instrument for a long time or a short time, and when the user does not need to use the beauty instrument for a long time, control the beauty instrument to enter standby mode, thereby further reducing the energy consumption of the beauty instrument; further, it can also turn off the beauty instrument when the user no longer needs to use it, thereby further reducing the energy consumption of the beauty instrument.
[0072] In order to explain the control method of the beauty instrument in the embodiment of the present invention more clearly, a specific example is given. Figure 6 As shown, the control method of the beauty instrument includes the following steps:
[0073] When a person holds the whole machine and starts working, because the person's hand has to hold the whole machine all the time, the hand is always in contact with the machine body. This is equivalent to the touch button being triggered all the time. The whole machine determines that the user is using it at this time, and the load starts to work normally.
[0074] When the machine detects no human hand, it is considered that the user is not using the machine, and the load is immediately turned off and the timing starts. For example, the timing time can be 3 minutes.
[0075] If a human hand is detected within the timing time (for example, within 3 minutes), the timing will be exited and the load will be turned on to work normally.
[0076] If no human hand is detected within the timing time (for example, within 3 minutes), the load is turned off, enters standby mode, and the timing is started again. For example, the timing time can be 2 minutes. It should be noted that this timing is a new timing, which is different from the first timing.
[0077] If a human hand is detected within the timing time (for example, within 2 minutes), the timing will be exited and the load will be turned on to work normally.
[0078] If no human hand is detected within the timing time (for example, within 2 minutes), the device will shut down.
[0079] That is to say, the embodiment of the present invention regards the housing as a large touch button and connects it to the controller inside the whole machine. For a handheld micro-current beauty instrument, the user will definitely hold it in hand when using it, so we can determine whether the user is using the whole machine by detecting the user's hand.
[0080] If the user puts down the microcurrent beauty instrument when making a phone call or applying essence, the whole device will shut down the load and wait. When in the waiting state, if the user's hand is not detected after the timing time, it will enter the standby state; the timing will start again in the standby state, and if the user's hand is still not detected within the second timing time, it will shut down.
[0081] In this embodiment, a control device of a beauty instrument is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0082] This embodiment provides a control device for a beauty instrument, such as Figure 7 As shown, including:
[0083] The charging and discharging time acquisition module 701 is used to acquire the first charging and discharging time of the capacitive touch button at the current moment during the operation of the beauty instrument.
[0084] The first judging module 702 is used to judge whether the capacitive touch button is in a triggering state according to the first charging and discharging time.
[0085] The processing module 703 is used to turn off the load of the beauty instrument when the capacitive touch button is not in a triggered state.
[0086] In some optional embodiments, the control device of the beauty instrument further includes a shutdown duration determination module and a second judgment module. After the load of the beauty instrument is turned off, the shutdown duration determination module is used to obtain the shutdown duration of the load of the beauty instrument; the second judgment module is used to determine whether the shutdown duration reaches the preset first duration threshold; when the shutdown duration does not reach the first duration threshold, the charge and discharge time acquisition module 701 is also used to continue to obtain the second charge and discharge time of the capacitive touch button at the current moment; the first judgment module 702 is also used to determine whether the capacitive touch button is re-triggered according to the second charge and discharge time; the processing module 703 is also used to turn on the load of the beauty instrument when the capacitive touch button is re-triggered; when the capacitive touch button is not re-triggered, return to the step of obtaining the shutdown duration of the load of the beauty instrument.
[0087] In some optional implementations, the processing module 703 is further configured to enter a standby state when the shutdown duration reaches a first duration threshold.
[0088] In some optional embodiments, the control device of the beauty instrument further includes a standby time acquisition module and a third judgment module. After entering the standby state, the standby time acquisition module is also used to acquire the standby time; the third judgment module is also used to determine whether the standby time reaches the preset second time threshold; when the standby time does not reach the second time threshold, the charge and discharge time acquisition module 701 is also used to continue to acquire the third charge and discharge time of the capacitive touch button at the current moment; the first judgment module 702 is also used to determine whether the capacitive touch button is re-triggered according to the third charge and discharge time; the processing module 703 is also used to exit the standby state and turn on the load of the beauty instrument when the capacitive touch button is re-triggered; when the capacitive touch button is not re-triggered, return to the step of acquiring the standby time.
[0089] In some optional implementations, the processing module 703 is further configured to turn off the beauty instrument when the standby time reaches a second time threshold.
[0090] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0091] The control device of the beauty instrument in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0092] The embodiment of the present invention also provides a computer device having the above Figure 8 The control device of the beauty instrument shown.
[0093] An embodiment of the present invention further provides a beauty instrument, comprising a housing, a resistor and the above-mentioned computer device, wherein the resistor is connected to the housing, and the computer device is connected to the resistor.
[0094] Specifically, the beauty instrument is a handheld beauty instrument. In the present invention, the resistance in a certain range will affect the detection of the touch button trigger state. In an optional implementation, the resistance value of the resistor is 510Ω~5.1kΩ. Preferably, the resistance value of the resistor is 1.0kΩ~5.1kΩ.
[0095] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0096] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0097] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0098] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0099] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0100] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.
[0101] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0102] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0103] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0104] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for controlling a beauty instrument, characterized in that: The method comprises: During the operation of the beauty instrument, the first charge and discharge time of the capacitive touch button at the current moment is obtained; determining whether the capacitive touch button is in a triggering state according to the first charge and discharge time; When the capacitive touch button is not in the trigger state, the load of the beauty instrument is turned off.
2. The method according to claim 1, characterized in that: After turning off the load of the beauty instrument, the method further includes: Obtaining the shutdown duration of the load of the beauty instrument; Determine whether the shutdown duration reaches a preset first duration threshold; When the shutdown time does not reach the first time threshold, continue to obtain the second charge and discharge time of the capacitive touch button at the current moment; determining whether the capacitive touch button is re-triggered according to the second charge and discharge time; When the capacitive touch button is re-triggered, turning on the load of the beauty instrument; When the capacitive touch button is not re-triggered, return to the step of obtaining the off time of the load of the beauty instrument.
3. The method according to claim 2, characterized in that Also includes: When the shutdown time reaches the first time threshold, the device enters the standby state.
4. The method according to claim 3, characterized in that After entering the standby state, it also includes: Get the standby time; Determining whether the standby time reaches a preset second time threshold; When the standby time does not reach the second time threshold, continue to obtain the third charge and discharge time of the capacitive touch button at the current moment; Determining whether the capacitive touch button is re-triggered according to the third charge and discharge time; When the capacitive touch button is re-triggered, the standby state is exited and the load of the beauty instrument is turned on; When the capacitive touch button is not re-triggered, return to the step of obtaining the standby time.
5. The method according to claim 4, characterized in that Also includes: When the standby time reaches the second time threshold, the beauty instrument is turned off.
6. A control device for a beauty instrument, characterized in that: The device comprises: A charging and discharging time acquisition module is used to acquire the first charging and discharging time of the capacitive touch button at the current moment during the operation of the beauty instrument; A first judging module, configured to judge whether the capacitive touch button is in a triggering state according to the first charging and discharging time; The processing module is used to turn off the load of the beauty instrument when the capacitive touch button is not in the trigger state.
7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the control method of the beauty instrument according to any one of claims 1 to 5 by executing the computer instructions.
8. A beauty instrument, characterized in that: include: case; A resistor connected to the housing; The computer device of claim 7, connected to the resistor.
9. The beauty instrument according to claim 8, characterized in that: The resistance value of the resistor is 510Ω to 5.1kΩ.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the control method of the beauty instrument according to any one of claims 1 to 5.
