WO2023221650A1 - Procédé de commande pour dispositif électronique, et dispositif et support de stockage - Google Patents

Procédé de commande pour dispositif électronique, et dispositif et support de stockage Download PDF

Info

Publication number
WO2023221650A1
WO2023221650A1 PCT/CN2023/083914 CN2023083914W WO2023221650A1 WO 2023221650 A1 WO2023221650 A1 WO 2023221650A1 CN 2023083914 W CN2023083914 W CN 2023083914W WO 2023221650 A1 WO2023221650 A1 WO 2023221650A1
Authority
WO
WIPO (PCT)
Prior art keywords
working
heating
electronic device
mode
component
Prior art date
Application number
PCT/CN2023/083914
Other languages
English (en)
Chinese (zh)
Inventor
陈兵
宋劲松
洪伟
熊杰
Original Assignee
追觅创新科技(苏州)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202210526134.1A external-priority patent/CN117100044A/zh
Priority claimed from CN202210634286.3A external-priority patent/CN117239679A/zh
Priority claimed from CN202210635361.8A external-priority patent/CN117223958A/zh
Application filed by 追觅创新科技(苏州)有限公司 filed Critical 追觅创新科技(苏州)有限公司
Publication of WO2023221650A1 publication Critical patent/WO2023221650A1/fr

Links

Classifications

    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45DHAIRDRESSING OR SHAVING EQUIPMENT; EQUIPMENT FOR COSMETICS OR COSMETIC TREATMENTS, e.g. FOR MANICURING OR PEDICURING
    • A45D20/00Hair drying devices; Accessories therefor
    • A45D20/04Hot-air producers
    • A45D20/08Hot-air producers heated electrically
    • A45D20/10Hand-held drying devices, e.g. air douches

Definitions

  • This application belongs to the field of computer technology, and specifically relates to control methods, equipment and storage media of electronic equipment.
  • auxiliary functions can usually be achieved by installing auxiliary components.
  • auxiliary components such as components containing essential oils.
  • auxiliary functions are usually implemented by triggering physical buttons set on electronic devices. As auxiliary functions increase, the number of physical buttons will also increase, which will lead to the problem of complex structures of electronic devices.
  • the technical problems to be solved by this application include the need to set up more physical buttons for auxiliary functions, resulting in a complex structure of the electronic device.
  • the electronic device includes a docking part for docking with an auxiliary component and a docking detection unit for detecting whether the auxiliary component is connected; the method includes:
  • the electronic device is controlled to work in a working mode that matches the auxiliary component.
  • auxiliary components there are at least two types of auxiliary components, and different auxiliary components correspond to different docking parts;
  • controlling the electronic device to work in a working mode matching the auxiliary component includes:
  • the electronic device is controlled to work in a working mode matching the auxiliary component according to the execution sequence.
  • determining the execution order of the working modes corresponding to each auxiliary component includes:
  • the execution sequence is determined according to the access sequence of the auxiliary components.
  • the electronic device includes a hair dryer, and accordingly, the auxiliary component includes a hair care component.
  • controlling the electronic device to work in a working mode that matches the auxiliary component includes:
  • the method further includes:
  • obtaining the detection result of the docking detection unit includes:
  • the detection result is obtained in response to a power-on signal of the electronic device.
  • the method further includes:
  • the electronic device When there are other auxiliary components connected to the electronic device, the electronic device is controlled to switch the working mode to a working mode matching the other auxiliary components.
  • the electronic device further includes a mode display component for displaying the current working mode of the electronic device.
  • this application also provides electronic equipment, and the electronic equipment includes:
  • the docking part is used to dock with auxiliary components
  • the docking detection unit is used to detect whether the auxiliary components are connected;
  • the electronic device is controlled to work in a working mode that matches the auxiliary component.
  • the auxiliary component is provided with a signal transmitter
  • the signal transmitting member When the auxiliary component is connected to the docking part, the signal transmitting member is opposite to the docking detection unit, so that the docking detection unit senses the signal emitted by the signal transmitting member.
  • the present application also provides a computer-readable storage medium, characterized in that a program is stored in the storage medium, and when the program is executed by a processor, the control method of the electronic device provided in the above aspect is implemented.
  • the technical solution provided by this application has at least the following advantages: by obtaining the detection results of the docking detection unit; when the detection results indicate that the auxiliary component is connected to the electronic device, the electronic device is controlled to work in a working mode that matches the auxiliary component; it can Solve the problem of needing to set up more physical buttons for auxiliary functions, resulting in a complicated structure of the electronic device; since the automatic adjustment of the working mode can be achieved without triggering the mode adjustment button, there is no need to set additional mode adjustment buttons on the electronic device.
  • the device structure of the electronic device can be simplified. At the same time, it can also solve the problem that the user manually adjusts the working mode, resulting in low mode adjustment efficiency of the electronic device; there is no need for the user to manually adjust the working mode, which can improve the efficiency of the working mode adjustment.
  • the electronic device can be made to work according to the user's current usage expectations, improving the flexibility of working mode adjustment.
  • the electronic device since the electronic device will not start working until it receives the power-on signal after it is connected to the power supply, therefore, by obtaining the detection result of the docking detection unit in response to the power-on signal, there is no need to obtain the detection result before the power-on signal.
  • hair treatment equipment can function as a heating component through a battery pack to achieve hair treatment functions, etc.
  • the technical problems to be solved by this application include the problem of continuing to work when there is an abnormality in the working circuit, resulting in a reduction in the service life of the components in the working circuit.
  • this application provides electronic equipment, and the electronic equipment includes:
  • the working circuit includes a power supply component and a load; when the working circuit is turned on, the power supply component supplies power to the load;
  • a detection unit used to detect whether there is an abnormality in the working circuit
  • a controller respectively connected to the working circuit and the detection unit; the controller is used for:
  • the working circuit is controlled to be disconnected.
  • the controller is connected to the power supply component through a circuit breaker; the controller is used for:
  • control the circuit breaker When there is no abnormality in the working circuit, control the circuit breaker to turn on so that the power supply component supplies power to the controller;
  • the circuit breaker When there is an abnormality in the working circuit, the circuit breaker is controlled to open so that the power supply component stops supplying power to the controller.
  • the working circuit includes a start switch for controlling the operation of the working circuit
  • the initialization state of the circuit breaker is a conduction state
  • the circuit breaker switches from the conduction state to the off state under the control of the controller
  • the response The next time the starting switch is closed, the circuit breaker returns from the off state to the on state
  • the circuit breaker When the initial state of the circuit breaker is the off state, when the start switch is closed, the circuit breaker is adjusted from the off state to the on state. In response to the start switch being turned off, the circuit breaker Return to disconnected state.
  • the circuit breaker is a self-locking switch.
  • the working circuit also includes a load switch for controlling the operation of the load, the controller is connected to the load switch signal, and the controller is used for:
  • the disconnection signal is used to indicate that it is not allowed to close the load switch based on user operation to make the load work.
  • the detection unit includes a temperature sensor to detect the ambient temperature where the power supply component is currently located;
  • the detection unit includes a data collection component to collect the working current and/or working voltage of the working circuit
  • the data acquisition component is arranged at a target position of the working circuit, and the target position is a position where the working current is not diverted.
  • the detection unit includes a performance detection component to detect the performance of the power supply component
  • the present application also provides a control method for an electronic device.
  • the electronic device includes the electronic device provided in the above aspect.
  • the method includes:
  • the working circuit is controlled to be disconnected.
  • the present application also provides a computer-readable storage medium, characterized in that a program is stored in the storage medium, and when the program is executed by a processor, the control method of the electronic device provided in the above aspect is implemented.
  • a detection unit is set up to detect whether there is an abnormality in the working circuit including the power supply component and the load; and the controller is connected to the working circuit and the detection unit respectively; so that the controller obtains the detection
  • the detection results of the unit when the detection results indicate that there is an abnormality in the working circuit, the working circuit is controlled to be disconnected; it can solve the problem of continuing to work when there is an abnormality in the working circuit, resulting in a reduction in the service life of the components in the working circuit; because it can The working circuit is automatically disconnected when the working circuit is abnormal, thus extending the service life of components in the working circuit.
  • the power supply component stops supplying power to the controller when the working circuit is abnormal.
  • the service life of the power supply component can be improved, and on the other hand, the control of the controller can be prevented from being unstable. The problem.
  • the circuit breaker can be restored to the on state after the start switch is re-closed; or, when the initial state of the circuit breaker is the off state, when the start switch is closed, the circuit breaker is The off state is adjusted to the on state, and in response to the start switch being turned off, the circuit breaker returns to the off state, eliminating the need for the user to manually adjust the state of the circuit breaker, improving the intelligence of abnormal protection.
  • the controller controls the load switch to not allow user operation, which ensures that the working circuit cannot continue to work under user operation and ensures the safety of the working circuit.
  • the detection unit to include a temperature sensor, a data acquisition component and/or a performance detection component, it is possible to detect abnormal temperature of the power supply component and/or detect abnormal current and/or voltage in the working circuit, thereby improving the efficiency of abnormal detection.
  • Hair treatment equipment is a tool used to treat hair, such as hair straighteners, hair curlers, etc. Its working principle is to heat, soften, and then cool the hair through a heating component to achieve the purpose of hair treatment. Before using the hair treatment equipment, you need to control the heating of the hair treatment equipment to the appropriate temperature. However, traditional hair treatment equipment is usually slow to control the heating of the heating components and has poor performance.
  • This application provides a control method, equipment and storage medium for hair treatment equipment. It can solve the problem that the hair treatment equipment controls the heating speed of the heating component slowly, resulting in poor use effect.
  • This application provides the following technical solutions:
  • a method for controlling a hair treatment device includes a heating element for contacting hair, and n heating components that provide thermal energy to the heating element, where n is greater than 1. an integer; the methods include:
  • the heating modes of the n heating components at each moment in each working cycle are obtained.
  • the heating modes in each working cycle include a first heating mode and a second heating mode.
  • the first heating mode The number of heating components used simultaneously is less than the number of heating components used simultaneously in the second heating mode;
  • the n heating components are controlled to work according to the heating mode in each working cycle.
  • each working cycle includes a first period and a second period, and the first period is located before the second period; the heating mode of the n heating components at each moment in each working period is obtained.
  • the heating mode of the second period is determined to be the second heating mode.
  • each working cycle includes at least two sub-periods, and each sub-period includes the first period and the second period; the heating elements corresponding to the first heating mode in two adjacent sub-periods are not exactly the same.
  • the heating mode in each working cycle also includes a third heating mode; the number of heating components used simultaneously in the third heating mode is 0.
  • each work cycle includes a first period, a second period and a third period, the first period is located before the second period, and the second period is located before the third period;
  • the heating mode of the third period is determined to be the third heating mode.
  • the number of heating elements is at least two, each heating element corresponds to at least one group of heating components, and each group of heating components includes at least one heating component; the number of heating elements corresponding to the first heating mode is less than the number of heating elements. The number of heating elements corresponding to the second heating mode.
  • obtaining the heating modes of the n heating components at each moment in each working cycle includes:
  • the working duration of the first heating mode and the working duration of the second heating mode in each working cycle are determined based on the expected working power.
  • obtaining the heating modes of the n heating components at each moment in each working cycle includes:
  • the working duration of the first heating mode and the working duration of the second heating mode in each working cycle are determined based on the expected working temperature.
  • the method also includes:
  • an abnormality prompt is output.
  • the method before obtaining the heating modes of the n heating components at each moment in each working cycle in response to the heating instruction, the method further includes:
  • the hair treatment device In response to a power-on instruction of the hair treatment device, the hair treatment device is controlled to operate in the first heating mode to preheat the hair treatment device.
  • a hair treatment device in a second aspect, characterized in that the hair treatment device includes:
  • n heating components that provide thermal energy to the heating element, where n is an integer greater than 1;
  • a processor and a memory a program is stored in the memory, and the program is loaded and executed by the processor to implement the control method of the hair treatment device as described in the first aspect.
  • a computer-readable storage medium wherein a program is stored in the storage medium, and when executed by a processor, the program is used to control the hair treatment device as described in the first aspect. method.
  • the beneficial effect of this application is: by responding to the heating command, the heating modes of n heating components at each moment in each working cycle are obtained.
  • the heating modes in each working cycle include a first heating mode and a second heating mode.
  • the number of heating components used simultaneously in the first heating mode is smaller than the number of heating components used simultaneously in the second heating mode; n heating components are controlled to work according to the heating mode in each working cycle.
  • the hair treatment equipment controls the heating of the heating components slowly, resulting in poor use effect; because the number of heating components used at the same time in the second heating mode is more than the number of heating components used at the same time in the first heating mode, therefore, when executing In the second heating mode, a larger number of heating components are used at the same time, which can increase the power of the hair treatment equipment, thereby increasing the temperature of the hair processor in a short time and improving the use effect of the hair processor.
  • the first heating mode is operated first, and then the second heating mode is operated. That is, in each working cycle, fewer heating components are controlled first, and then more heating components are controlled.
  • the power of the hair treatment equipment can be gradually increased, reducing the impact on the power supply module, further protecting the power supply module, and extending the service life of the power supply module.
  • the heating elements corresponding to the first heating mode in the two adjacent sub-periods are not exactly the same, which can avoid the situation of continuous heating of the same heating element, thereby reducing the heating element Loss can increase the service life of the heating element; at the same time, it can avoid the situation where the same heating element is not heated all the time, resulting in uneven heating of the hair processor, and can improve the heating effect of the hair processor.
  • the heating mode in each cycle also includes a third heating mode.
  • the number of heating components used at the same time in the third heating mode is 0. That is, when the third heating mode is executed, the hair treatment equipment is controlled to stop heating to avoid the hair processor. The temperature is too high, which can avoid scalding the user due to excessive temperature and improve the safety when using hair treatment equipment.
  • the hair treatment equipment is controlled to work in the first heating mode to preheat the hair treatment equipment.
  • the heating speed of the hair treatment equipment can be further increased. Improve the effectiveness of hair treatment equipment.
  • Figure 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 2 is a schematic structural diagram of a hair dryer provided by an embodiment of the present application.
  • Figure 3 is a cross-sectional view of a hair dryer provided by an embodiment of the present application.
  • Figure 4 is a partial enlarged view of the access docking part of the auxiliary component provided by an embodiment of the present application.
  • Figure 5 is a flow chart of a control method for an electronic device provided by an embodiment of the present application.
  • Figure 6 is a flow chart of a control method for an electronic device provided by another embodiment of the present application.
  • FIG. 7 is a block diagram of a control device for electronic equipment provided by an embodiment of the present application.
  • Figure 8 is a block diagram of an electronic device provided by an embodiment of the present application.
  • Figure 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 10 is a flow chart of a control method for an electronic device provided by an embodiment of the present application.
  • FIG 11 is a block diagram of a control device for electronic equipment provided by an embodiment of the present application.
  • Figure 12 is a schematic structural diagram of a hair treatment device provided by an embodiment of the present application.
  • Figure 13 is a schematic diagram of a heating element provided by an embodiment of the present application.
  • Figure 14 is a flow chart of a control method of a hair treatment device provided by an embodiment of the present application.
  • Figure 15 is a schematic diagram of the working cycle and heating mode provided by an embodiment of the present application.
  • Figure 16 is a schematic diagram of another working cycle and heating mode provided by an embodiment of the present application.
  • Figure 17 is a block diagram of a hair treatment device provided by an embodiment of the present application.
  • the directional words used such as “upper, lower, top, and bottom” usually refer to the direction shown in the drawings, or to the vertical or vertical position of the component itself. Vertically or in the direction of gravity; similarly, for ease of understanding and description, “inside and outside” refers to the inside and outside relative to the outline of each component itself, but the above directional terms are not used to limit this application.
  • auxiliary functions refer to functions that require the installation of auxiliary components on the electronic device and the activation of the auxiliary components.
  • Primary functionality refers to functionality that can be achieved without installing auxiliary components.
  • the electronic device may be a hair dryer, an air purifier, a sweeper, etc. This embodiment does not limit the implementation of the electronic device.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device includes: a docking part 110 , a docking detection unit 120 and a controller 130 .
  • the docking part 110 is used for docking with auxiliary components.
  • the docking part 110 allows the auxiliary component to connect to the electronic device, and the auxiliary component is used to assist the electronic device in working.
  • the auxiliary component is detachably installed on the electronic device through the docking part 110 .
  • the ways in which the auxiliary components are connected to the docking part 110 include but are not limited to: plugging, snapping, threaded connection, etc. This embodiment does not limit the ways in which the auxiliary components are connected to the docking part 110 .
  • auxiliary components corresponding to different electronic devices are the same or different, and the numbers of auxiliary components corresponding to different electronic devices are the same or different.
  • the electronic device is a hair dryer, and its main function is to blow dry; accordingly, the auxiliary components can be hair care components, such as essential oil components, fragrance components, etc.
  • the electronic device is an air purifier, and its main function is air filtration; accordingly, the auxiliary component can be an aromatherapy component.
  • auxiliary components correspond to different docking parts 110 .
  • at least two auxiliary components are of the same or different types.
  • the docking detection unit 120 is used to detect whether the auxiliary component is connected to the electronic device.
  • the docking detection unit 120 can detect whether the auxiliary component is connected to the electronic device in a contact manner.
  • the docking detection unit 120 can be implemented as a pressure sensor, and detects whether the auxiliary component is connected to the electronic device through the pressure value sensed by the pressure sensor. .
  • the docking detection unit 120 may also detect whether the auxiliary component is connected to the electronic device in a non-contact manner.
  • the auxiliary component is provided with a signal transmitter, and the docking detection unit 120 is adapted to sense the signal emitted by the signal transmitter.
  • the signal transmitting member is opposite to the docking detection unit 120, so that the docking detection unit 120 senses the signal emitted by the signal transmitting member.
  • the docking detection unit 120 cannot sense the signal emitted by the signal transmitter.
  • the signal emitting component may be a magnetic component, in which case the docking detection unit 120 may be a Hall sensor; or the signal emitting component may be a light reflective component, in which case the docking detection unit 120 may be a photoelectric sensor, and the photoelectric sensor includes The light emitting structure and the light receiving structure, the light reflecting part is used to reflect the light signal emitted by the light emitting structure so that the light receiving structure can receive it; or the signal emitting part is a Near Field Communication (NFC) tag, and the docking detection unit 120 is a data reader that supports the NFC protocol; in actual implementation, the signal transmitter and the docking detection unit 120 can also be implemented in other ways, and this embodiment will not list them one by one here.
  • NFC Near Field Communication
  • the controller 130 is used to control electronic equipment.
  • the controller 130 is connected to the docking detection unit 120 and is used to obtain the detection result of the docking detection unit; when the detection result indicates that the auxiliary component is connected to the electronic device, the controller 130 controls the electronic device to work matching the auxiliary component. mode works. In this way, there is no need to set physical control buttons for the auxiliary components.
  • the controller 130 can automatically identify the auxiliary components and automatically adjust to a working mode that matches the auxiliary components. This can reduce the structural complexity of the electronic device and improve the performance of the electronic device. Degree of intelligence.
  • the hair dryer 20 is equipped with auxiliary components, which include but are not limited to hair care components 201, such as components for containing hair care essential oils.
  • the auxiliary components on the hair dryer may also include scenting components, etc. This embodiment does not limit the implementation of the auxiliary components on the hair dryer.
  • each auxiliary component corresponds to a docking part 110 .
  • each docking portion 110 may be provided with a docking detection unit 120 .
  • the controller 130 (not shown in FIG.
  • the auxiliary component may determine that the auxiliary component is installed on the electronic device according to the detection result of the docking detection unit 120 , thereby adjusting the working mode to the working mode corresponding to the auxiliary component. At this time, automatic adjustment of the working mode can be realized without manual operation, which can improve the intelligence of the electronic device.
  • each method is applied to the electronic equipment shown in Figure 1 as an example. In actual implementation, this method can also be used with the electronic equipment.
  • the other devices may be mobile phones, wearable devices, computers, tablets, or other devices with processing capabilities. This embodiment does not limit the device types of other devices.
  • Figure 5 is a flow chart of a control method for an electronic device provided by an embodiment of the present application. The method at least includes the following steps:
  • Step 501 Obtain the detection result of the docking detection unit.
  • the detection results of the docking detection unit are obtained in real time to determine whether the auxiliary component is connected to the electronic device.
  • the electronic device obtains the detection result of the docking detection unit to determine whether the auxiliary component is connected to the electronic device.
  • the electronic device Since the electronic device will not start working until it receives the power-on signal after it is connected to the power supply, therefore, by obtaining the detection result of the docking detection unit in response to the power-on signal, there is no need to obtain the detection result before the power-on signal, thereby wasting Equipment resources; it can also ensure that the working mode can be determined according to the detection results when starting work, ensuring the accuracy of the currently running working mode.
  • an electronic device is provided with a power-on button, and when the electronic device receives a power-on operation acting on the power-on button, a power-on signal is generated.
  • the power-on signal may also be sent by other devices. This embodiment does not limit the acquisition method of the power-on signal.
  • Step 502 If the detection result indicates that the auxiliary component is connected to the electronic device, control the electronic device to work in a working mode that matches the auxiliary component.
  • the working mode of the electronic device when the auxiliary component is not connected to the electronic device is different from the working mode of the electronic device when the auxiliary component is connected to the electronic device.
  • the working mode of the electronic device includes one or at least two.
  • the working modes of the hair dryer include: running at wind speed 1, running at wind speed 2, and running at wind speed 3; and/or, running at wind speed 3. Operation at wind temperature 1, and operation at outlet air temperature 2.
  • the wind speed and air outlet temperature can be adjusted through the mode adjustment button on the hair dryer.
  • the wind speed and outlet temperature generally correspond to different mode adjustment buttons. In other embodiments, the wind speed and outlet air temperature may also be adjusted in other ways, which are limited in this embodiment.
  • Each auxiliary component in a traditional electronic device is provided with a corresponding mode adjustment button.
  • the user triggers the mode adjustment button to adjust the working mode of the electronic device to a working mode that matches the auxiliary component. .
  • the mode adjustment button to adjust the working mode of the electronic device to a working mode that matches the auxiliary component.
  • the working mode matching the auxiliary component is pre-stored in the electronic device.
  • the electronic device reads the working mode of the auxiliary component and controls the electronic device to work in the read working mode.
  • auxiliary components include essential oil hair care components.
  • the working mode matching the essential oil hair care component is: the wind speed of the hair dryer is the preset speed, and the wind temperature is the preset temperature.
  • the preset wind speed is different from the wind speed in the normal mode of the hair dryer, and/or the preset temperature is different from the wind speed in the normal mode of the hair dryer.
  • the normal mode refers to the working mode when the hair dryer is not equipped with any auxiliary components.
  • controlling the electronic device to work in a working mode that matches the auxiliary component includes: when the essential oil hair care component is connected to the electronic device, entering the essential oil hair care gear,
  • the wind speed of the hair dryer is the preset speed and the wind temperature is the preset temperature.
  • the wind speed can be adjusted by adjusting the speed of the motor in the hair dryer, and the wind temperature can be controlled by adjusting the heating component in the hair dryer. If the preset temperature is normal temperature, power supply to the heating component can be stopped.
  • the electronic device further includes a mode display component, and the mode display component is used to display the current working mode of the electronic device.
  • the mode display can be output by the mode display component.
  • the mode display may be a light display and/or an audio display, or the mode display may be a communication message sent to other devices. This embodiment does not limit the implementation of the mode indication.
  • the electronic device can also block the trigger signal of the mode adjustment button on the hair dryer. In this way, even if the user accidentally touches the mode adjustment button, the current working mode will not be changed, avoiding the problem of accidental touch.
  • the matching working mode of each auxiliary component is pre-stored in the electronic device, and the working modes corresponding to different auxiliary components are the same or different.
  • the electronic device determines the component identifier of the auxiliary component; it searches for the auxiliary component indicated by the component identifier from the matching relationship between the auxiliary component and the working mode.
  • the matching relationship includes the corresponding relationship between component identifiers and working modes.
  • the component identifier may be a component type, such as hair care type, fragrance type, etc.; or it may be a number of an auxiliary component, such as 1, 2, 3, etc. This embodiment does not limit the implementation of the component identifier. .
  • auxiliary components may correspond to different docking parts, and the component identifier of the auxiliary component is the identifier of the docking part.
  • the electronic device determines the component identifier of the auxiliary component, including: determining that the auxiliary component is detected to be connected to a docking portion of the electronic device, and determining the identifier of the docking portion as the component identifier.
  • signal transmitters with different signal strengths can also be provided on different auxiliary components.
  • the docking detection unit can determine the component identification of the auxiliary component according to the intensity of the sensed signal.
  • the component identification may be determined in other ways, which will not be listed one by one in this embodiment.
  • the electronic device also needs to determine which working mode of the auxiliary component to use.
  • the electronic device is controlled to work in a working mode that matches the auxiliary component, including: when different auxiliary components are connected to the electronic device, determining the corresponding The execution sequence of the working mode; according to the execution sequence, the electronic device is controlled to work in a working mode matching the auxiliary component.
  • determining the execution order of the working modes corresponding to each auxiliary component includes: determining the execution order according to a preset priority; or determining the execution order according to the access sequence of the auxiliary components.
  • the preset priority is stored in the electronic device in advance.
  • the preset priority may be set by the user or fixed. This embodiment does not limit the setting method of the preset priority.
  • the electronic device can also determine whether there are other auxiliary components connected to the electronic device based on the detection results of the docking detection unit; if there are other auxiliary components connected to the electronic device, In the case of equipment, the control electronic device switches the working mode to a working mode matching that of other auxiliary components.
  • auxiliary components refer to auxiliary components that are different from the auxiliary components currently connected to the electronic device.
  • the electronic device before controlling the electronic device to switch the working mode to a working mode that matches other auxiliary components, can also determine whether the working mode corresponding to the auxiliary component has been executed; if the execution is completed, triggering execution will Steps for mode switching to a working mode that matches other auxiliary components.
  • Determine whether the working mode corresponding to the auxiliary component has been executed including: determining whether the working time of the working mode corresponding to the auxiliary component has reached the preset time; if it has reached the preset time, it is determined that the execution has been completed; if it has not reached the preset time, then Confirm execution is not complete. Or, determine whether the usage of the content in the auxiliary component reaches the preset usage; if it reaches the preset usage, it is determined that the execution has been completed; if it does not reach the preset usage, it is determined that the execution has not been completed. In actual implementation, other methods may also be used to determine whether the working mode corresponding to the auxiliary component has been executed, and this embodiment will not list them one by one here.
  • the method for controlling an electronic device obtains the detection result of the docking detection unit; when the detection result indicates that the auxiliary component is connected to the electronic device, the electronic device is controlled to work in a manner that matches the auxiliary component. mode work; it can solve the problem of needing to set more physical buttons for auxiliary functions, resulting in a complicated structure of electronic equipment; since the automatic adjustment of the working mode can be realized without triggering the mode adjustment button, there is no need to set additional buttons on the electronic device
  • the mode adjustment button can simplify the device structure of the electronic device. At the same time, it can also solve the problem that the user manually adjusts the working mode, resulting in low mode adjustment efficiency of the electronic device; there is no need for the user to manually adjust the working mode, which can improve the efficiency of the working mode adjustment.
  • the electronic device can be made to work according to the user's current usage expectations, improving the flexibility of working mode adjustment.
  • the electronic device since the electronic device will not start working until it receives the power-on signal after it is connected to the power supply, therefore, by obtaining the detection result of the docking detection unit in response to the power-on signal, there is no need to obtain the detection result before the power-on signal.
  • the electronic device is a hair dryer
  • the auxiliary components include essential oil components
  • the docking detection unit is a Hall sensor.
  • the mode control method includes at least the following steps:
  • Step 61 After the hair dryer is turned on, the detection results of the Hall sensor are obtained to determine whether the auxiliary component is connected to the hair dryer; if not, perform step 62; if connected, perform step 63;
  • Step 62 Work according to the working mode when the auxiliary component is not connected, and the process ends;
  • Step 63 identify auxiliary components
  • Step 64 The auxiliary component is identified as the essential oil hair care component, works according to the working mode matching the essential oil hair care component, and the process ends.
  • the working mode includes turning off the heating component and shielding mode adjustment button functions as an example.
  • the working mode corresponding to the essential oil hair care component can be other modes. This embodiment will not list them one by one here. .
  • the automatic adjustment of the working mode can be realized without triggering the mode adjustment button, which can simplify the device structure of the electronic device; at the same time, the user does not need to manually adjust the working mode, which can improve the efficiency of working mode adjustment.
  • FIG. 7 is a block diagram of a control device for electronic equipment provided by an embodiment of the present application.
  • the electronic device is provided with a docking part and a docking detection unit; the auxiliary component docking part is used for auxiliary components to access the electronic device, and the auxiliary component is used to assist the operation of the electronic device; the docking detection unit Used to detect whether the auxiliary component is connected to the electronic device; the device includes at least the following modules: a result acquisition module 710 and a mode control module 720.
  • the result acquisition module 710 is used to obtain the detection results of the docking detection unit
  • the mode control module 720 is configured to control the electronic device to work in a working mode matching the auxiliary component when the detection result indicates that the auxiliary component is connected to the electronic device.
  • the electronic equipment control device provided in the above embodiments controls the electronic equipment
  • the division of the above functional modules is only used as an example. In practical applications, the above functions can be allocated from different modules as needed.
  • the functional modules are completed, that is, the internal structure of the control device of the electronic equipment is divided into different functional modules to complete all or part of the functions described above.
  • the control device for electronic equipment provided in the above embodiments and the control method embodiment for electronic equipment belong to the same concept. Please refer to the method embodiment for details of the specific implementation process, which will not be described again here.
  • Figure 8 is a block diagram of an electronic device provided by an embodiment of the present application.
  • the device may be the electronic device described in FIG. 1 , and the device at least includes a processor 801 and a memory 802 .
  • the processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
  • the processor 801 can adopt at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array).
  • the processor 801 may also include a main processor and a co-processor.
  • the main processor is a processor used to process data in the wake-up state, also called a CPU (Central Processing Unit, central processing unit); the co-processor is A low-power processor used to process data in standby mode.
  • the processor 801 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is responsible for rendering and drawing content to be displayed on the display screen.
  • the processor 801 may also include an AI (Artificial Intelligence, artificial intelligence) processor, which is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 802 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 801 to implement the electronic device provided by the method embodiments in this application. control method.
  • the external parameter calibration device may optionally include: a peripheral device interface and at least one peripheral device.
  • the processor 801, the memory 802 and the peripheral device interface may be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface through a bus, a signal line or a circuit board.
  • peripheral devices include but are not limited to: radio frequency circuits, touch display screens, audio circuits, power supplies, etc.
  • the external parameter calibration device may also include fewer or more components, which is not limited in this embodiment.
  • this application also provides a computer-readable storage medium that stores a program, and the program is loaded and executed by the processor to implement the control method of the electronic device of the above method embodiment.
  • this application also provides a computer product.
  • the computer product includes a computer-readable storage medium, and a program is stored in the computer-readable storage medium.
  • the program is loaded and executed by a processor to implement the above method embodiments. Control methods of electronic equipment.
  • Figure 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device refers to a device that implements a certain function through a load.
  • the electronic device can be a hair treatment device.
  • the load can be a heating component (such as a heating wire, a heating resistor, etc.) in the hair treatment device.
  • the electronic device may be a hair dryer, and in this case, the load may be a heating component and/or a fan in the hair dryer.
  • the electronic device may be a cleaning device.
  • the load may be a motor used to drive a cleaning mechanism in the cleaning device.
  • the electronic device includes: a working circuit 1110 , a detection unit 1120 and a controller 1130 .
  • the working circuit 1110 refers to the circuit structure where the load 1112 is located in the electronic device.
  • the working circuit 1110 includes a power supply component 1111 and a load 1112; when the working circuit 1110 is turned on, the power supply component 1111 supplies power to the load 1112. In this way, the load 1112 can realize the corresponding function when working.
  • the power supply component 1111 may be a battery component with power storage capability.
  • the battery component may be a battery pack composed of multiple single cells, or it may be a single battery; and/or the power supply component 1111 may also be a battery component through a power circuit.
  • the power supply component connected to the mains this embodiment does not limit the implementation of the power supply component 1111.
  • the power supply circuit includes but is not limited to: AC to DC conversion circuit, filter circuit and/or voltage adjustment circuit, etc. This embodiment does not limit the implementation of the power supply circuit.
  • the working circuit 1110 includes a start switch S2 for controlling the working circuit 1110 to work.
  • the start switch S2 controls the working circuit 1110 to start working or stop working.
  • the power supply component 1111 is connected to the subsequent circuit structure through the starting switch S2 to provide power to the subsequent circuit structure when the starting switch S2 is closed to control the working circuit 1110 to start working; when the starting switch S2 is turned off, it stops.
  • the subsequent circuit structure supplies power to control the working circuit 1110 to stop working.
  • the subsequent circuit structure includes the branch where the load 1112 is located.
  • the subsequent circuit structure may also include other circuit structures connected to the working circuit 1110 and powered by the power supply component 1111. This embodiment does not limit the content of the subsequent circuit structure.
  • the start switch S2 may be an object switch or a virtual switch displayed through a touch screen. This embodiment does not limit the implementation of the start switch S2.
  • the start switch S2 can control the working circuit 1110 to work or stop working based on the trigger operation performed by the user, or it can also control the working circuit 1110 to work or stop working based on the communication signal sent by other devices. This embodiment does not affect the triggering method of the start switch S2. limited.
  • the working circuit 1110 also includes a load switch S1 for controlling the operation of the load 1112.
  • the switch S2 is started to control the load 1112 to start working or stop working.
  • the load 1112 is connected to the power supply component 1111 through the load switch S1, so as to start working when the working circuit 1110 starts working and the load switch S1 is closed; when the working circuit 1110 starts working and the load switch S1 is turned off. stop working.
  • load switch S1 is set on the branch where load 1112 is located. Since the subsequent circuit structures cannot be started when the working circuit 1110 stops working, the load 1112 cannot be started regardless of whether the load switch S1 is closed at this time.
  • the load switch S1 may be an object switch or a virtual switch displayed through a touch screen. This embodiment does not limit the implementation of the load switch S1.
  • the load switch S1 can control the load 1112 to work or stop working based on the triggering operation performed by the user, or it can also control the load 1112 to work or stop working based on the communication signal sent by other devices. This embodiment does not limit the triggering method of the load switch S1.
  • the start switch S2 and the load switch S1 can be implemented as the same switch component.
  • the functions of the start switch S2 and the load switch S1 are respectively realized. For example, a single click of the switch component realizes the function of the start switch S2, and a double-click of the switch component realizes the function of the load switch S1.
  • This embodiment does not limit the implementation methods of the start switch S2 and the load switch S1.
  • the detection unit 1120 is used to detect whether there is an abnormality in the working circuit 1110.
  • the detection unit 1120 includes but is not limited to at least one of the following:
  • the detection unit 1120 includes a temperature sensor to detect the current ambient temperature of the power supply component 1111 . At this time, when the ambient temperature is less than the preset temperature threshold, the detection unit 1120 determines that there is an abnormality in the working circuit 1110 .
  • the detection unit 1120 may determine that there is no abnormality in the working circuit 1110, or determine whether there is any abnormality in the working circuit 1110 in combination with other parameters below.
  • the temperature sensor includes but is not limited to a thermistor, a thermocouple sensor, a resistance temperature detector, or a semiconductor-based temperature sensor. This embodiment does not limit the implementation of the temperature sensor.
  • the number of temperature sensors can be one or at least two. When the number of temperature sensors is at least two, each temperature sensor can be evenly distributed around the power supply component. At this time, the ambient temperature collected by the detection unit is The average value of the temperature data collected by each temperature sensor.
  • the current battery may have a weak load capacity at low temperatures, at this time, forced output of electric energy may cause damage to the power supply component 1111.
  • the instability of the power supply component 1111 at low temperature may also cause the control of the load 1112 to be unstable, causing other risks.
  • the working circuit 1110 by setting the ambient temperature of the power supply component 1111 to be less than the preset temperature threshold, it is determined that the working circuit 1110 is abnormal to take further protective measures, which can improve the service life of the power supply component 1111 and the load 1112 Control stability.
  • the preset temperature threshold is pre-stored in the electronic device.
  • the installation distance between the temperature sensor and the power supply component 1111 is less than the preset distance, so that the collected ambient temperature is as close as possible to the temperature of the power supply component 1111 itself, thereby improving the control accuracy when the temperature of the power supply component 1111 is abnormal.
  • the controller 1130 can also determine the current power supply mode of the electronic device, and start the detection unit 1120 when the power supply mode is battery power supply.
  • the detection unit 1120 includes a data collection component to collect the working current and/or working voltage of the working circuit 1110 . At this time, if the working current does not belong to the preset current range, it is determined that the working circuit 1110 is abnormal; and/or, if the working voltage does not belong to the preset voltage range, it is determined that the working circuit 1110 is abnormal.
  • the working circuit 1110 collects one of the working parameters of working current and working voltage, and if the working parameter belongs to the preset parameter range, it is determined that there is no abnormality in the working circuit 1110, or a combination of the first and/or Or the parameters in the third way below determine whether there is an abnormality in the working circuit 1110.
  • the working circuit 1110 collects working current and working voltage, if the working current does not belong to the preset current range or the working voltage does not belong to the preset voltage range, it is determined that there is an abnormality in the working circuit 1110 .
  • the working current belongs to the preset current range and the working voltage belongs to the preset voltage range, it is determined that there is no abnormality in the working circuit 1110, or the working circuit 1110 is determined based on the parameters in the first and/or the third way below. Is there any abnormality in circuit 1110?
  • the preset current range is determined based on the current when the working circuit 1110 is normal and turned on, and the preset voltage range is determined based on the voltage when the working circuit 1110 is normal and turned on.
  • the data acquisition component may be a current acquisition circuit, communication ammeter, etc. when collecting current, and may be a voltage acquisition circuit, communication voltmeter, etc. when collecting voltage. This embodiment does not limit the implementation of the data acquisition component.
  • the data acquisition component is set at a target position of the working circuit 1110, and the target position is a position where the working current is not diverted.
  • the current output by the power supply component 1111 passes through the start switch S2 and then passes through two branches, namely the branch where the load 1112 is located and the branch where the controller 1130 is located. At this time, the current is divided; the current passes through the two branches. After the road converges and returns to the power supply component 1111.
  • the target position can be any position within the dotted box, and these positions have not been diverted by the two branches. Since the current does not flow through the two branches, it can be ensured that the value of the current will not be too small, thereby eliminating the need to set up more sensitive data acquisition components and reducing the hardware requirements for the data acquisition components.
  • the detection unit 1120 includes a performance detection component to detect the performance of the power supply component 1111. At this time, when the performance of the power supply component 1111 does not meet the preset conditions, it is determined that there is an abnormality in the working circuit 1110 .
  • the detection unit 1120 can determine that there is no abnormality in the working circuit 1110, or determine the working circuit 1110 in combination with the parameters in the first and/or second method above. Is there any exception?
  • the performance of the power supply component 1111 includes but is not limited to: energy density and/or remaining power, etc., and the preset conditions are determined based on the performance of the power supply component 1111 when the working circuit 1110 is normal and turned on.
  • the performance detection component can include a current collection component and a voltage collection component. At this time, the performance detection component collects the discharge current and discharge voltage of the power supply component per unit time, and performs the multiplication of the discharge current and the discharge voltage. Integrate to get the energy; calculate the ratio of this energy to the mass or volume of the power supply component to get the energy density.
  • the performance detection component can include a voltage acquisition component to collect the open circuit voltage of the power supply component.
  • the remaining power of the power supply component is proportional to the open circuit voltage; or the performance detection component can include a voltage acquisition component to collect the open circuit voltage of the power supply component.
  • the terminal voltage and current acquisition components are used to collect the discharge current of the power supply component.
  • the power supply component determines the remaining power based on the relationship between the battery's internal resistance and the electromotive force, terminal voltage, and discharge current. Among them, the battery's internal resistance is related to the remaining power. nature, this embodiment does not limit the detection method of energy density and remaining power.
  • the detection unit 1120 can also be used to detect other circuit abnormalities, which are not listed here in this embodiment.
  • the detection unit 1120 includes a data collection function and an abnormality judgment function as an example for explanation. In actual implementation, the detection unit 1120 may only have a data collection function, and specific abnormality judgment may also be implemented. In the controller 1130, this embodiment does not limit the functional division method of the detection unit 1120.
  • the controller 1130 is connected to the working circuit 1110 and the detection unit 1120 respectively; the controller 1130 is used to: obtain the detection result of the detection unit 1120; when the detection result indicates that there is an abnormality in the working circuit 1110, control the working circuit 1110 to disconnect.
  • the controller 1130 can avoid the problem of damaging the components in the working circuit 1110 when the working circuit 1110 is abnormal but is still working, and can improve the power supply assembly. 1111 and load 1112 service life.
  • controller 1130 controls the working circuit 1110 to disconnect in a manner including but not limited to at least one of the following:
  • the controller 1130 is connected to the power supply component 1111 through the circuit breaker 1140. At this time, the controller 1130 is used to control the circuit breaker 1140 to turn on when there is no abnormality in the working circuit 1110, so that the power supply component 1111 supplies power to the controller 1130; when there is an abnormality in the working circuit 1110, control the circuit breaker 1140 is disconnected so that the power supply component 1111 stops powering the controller 1130 .
  • the load switch S1 can be controlled by the controller 1130 without allowing the user to trigger the closure. If the controller 1130 is powered off, it cannot control the load switch S1 to close. Therefore, even if the start switch S2 is closed, the load 1112 cannot work.
  • the circuit breaker 1140 when the initialization state of the circuit breaker 1140 is the on state, after the start switch S2 is closed and the circuit breaker 1140 switches from the on state to the off state under the control of the controller 1130, in response to the next startup The switch S2 is closed, and the circuit breaker 1140 returns from the off state to the on state.
  • the circuit breaker 1140 when the initial state of the circuit breaker 1140 is the off state, when the start switch S2 is closed, the circuit breaker 1140 is adjusted from the off state to the on state. At this time, the voltage signal generated by the closure of the start switch S2 can cause the circuit breaker to The status of 1140 is switched. Thereafter, in response to the opening of the start switch S2, the circuit breaker 1140 returns to the open state.
  • Circuit breaker 1140 is a self-locking switch.
  • the self-locking switch can be turned on when powered on (that is, turned on when the start switch S2 is closed), and can be turned off or off under the control of the controller 1130 Maintain conduction state. After the start switch S2 is turned off, the self-locking switch can be turned back on when the power is turned on again.
  • the second type the controller 1130 is signal-connected to the load switch S1. At this time, the controller 1130 is used to send a disconnection signal to the load switch S1 to control the disconnection of the working circuit 1110 when there is an abnormality in the working circuit 1110; where , the open signal is used to indicate that it is not allowed to close the load switch S1 based on user operation to make the load 1112 work.
  • the load switch S1 blocks the triggering operation performed by the user when receiving the disconnection signal, or does not allow the user to perform the triggering operation.
  • the load switch S1 includes a limiter and a switch button.
  • the load switch S1 receives the disconnect signal sent by the controller 1130, it triggers the limiter to support the switch button so that the user cannot press the switch button.
  • the load switch S1 is a virtual switch displayed on the touch screen.
  • the load switch S1 receives the disconnect signal sent by the controller 1130, it ignores the trigger operation acting on the virtual switch. In other words, there is no response to the trigger operation acting on the virtual switch.
  • the controller 1130 can simultaneously control the circuit breaker 1140 to open and send a disconnect signal to the load switch S1.
  • This embodiment does not control the controller 1130 to open the working circuit 1110.
  • the opening method is limited.
  • the start switch S2 is turned on, the working circuit 1110 is turned on, and the self-locking switch is turned on by default to supply power to the controller 1130.
  • the controller 1130 determines that the working circuit 1110 is abnormal, it controls the self-locking switch to disconnect the power supply of the controller 1130 and does not allow the user to operate the load switch S1. After the self-locking switch disconnects the power supply, it will remain disconnected unless it is turned on again.
  • Switch S2 When the controller 1130 determines that the working circuit 1110 is normal, it can open the load switch S1 in a given manner according to the user's operation, and the load 1112 is turned on to realize the functions of the electronic device.
  • the electronic device sets a detection unit to detect whether there is an abnormality in the working circuit including the power supply component and the load; and is connected to the working circuit and the detection unit respectively through the controller; so that the controller obtains the detection
  • the detection results of the unit when the detection results indicate that there is an abnormality in the working circuit, the working circuit is controlled to be disconnected; it can solve the problem of continuing to work when there is an abnormality in the working circuit, resulting in a reduction in the service life of the components in the working circuit; because it can The working circuit is automatically disconnected when the working circuit is abnormal, thus extending the service life of components in the working circuit.
  • the power supply component stops supplying power to the controller when the working circuit is abnormal.
  • the service life of the power supply component can be improved, and on the other hand, the control of the controller can be prevented from being unstable. The problem.
  • the circuit breaker can be restored to the on state after the start switch is re-closed; or, when the initial state of the circuit breaker is the off state, when the start switch is closed, the circuit breaker is The off state is adjusted to the on state, and in response to the start switch being turned off, the circuit breaker returns to the off state, eliminating the need for the user to manually adjust the state of the circuit breaker, improving the intelligence of abnormal protection.
  • the controller controls the load switch to not allow user operation, which ensures that the working circuit cannot continue to work under user operation and ensures the safety of the working circuit.
  • the detection unit to include a temperature sensor, a data acquisition component and/or a performance detection component, it is possible to detect abnormal temperature of the power supply component and/or detect abnormal current and/or voltage in the working circuit, thereby improving the efficiency of abnormal detection.
  • each method is applied to the electronic equipment shown in FIG. 9, specifically to the controller in the electronic equipment as an example.
  • This method can also be used in other devices that are communicatively connected to the electronic device.
  • the other devices may be mobile phones, wearable devices, computers, tablets, or other devices with processing capabilities.
  • This embodiment does not limit the device types of other devices.
  • Figure 10 is a flow chart of a control method for an electronic device provided by an embodiment of the present application. The method at least includes the following steps:
  • Step 201 Obtain the detection result of the detection unit.
  • the controller periodically obtains the detection results of the detection unit, or sends the detection results to the controller when the detection unit detects an abnormality in the working circuit, so that the controller obtains the detection results.
  • This embodiment does not The acquisition method is limited.
  • the controller responds to the start signal of the working circuit to obtain the detection result of the detection unit.
  • the electronic device is provided with a start switch. When the start switch is closed, the controller receives the start signal and obtains the detection result of the detection unit.
  • the startup signal may also be sent by other devices. This embodiment does not limit the acquisition method of the startup signal.
  • Step 202 When the detection result indicates that there is an abnormality in the working circuit, control the working circuit to be disconnected.
  • the working circuit starts working after the starting switch is closed. At this time, the load is not working. After that, the load can work under the control of the controller or under the operation of the user. At this time, when the detection result indicates that there is an abnormality in the working circuit, the controller controls the working circuit to be disconnected; when there is no abnormality in the working circuit, the controller does not act to allow the working circuit to operate normally.
  • the controller is connected to the power supply component through a circuit breaker.
  • the circuit breaker is controlled to be turned on so that the power supply component supplies power to the controller.
  • the control of the working circuit is disconnected, including: when the detection result indicates that there is an abnormality in the working circuit, the control circuit breaker is disconnected so that the power supply component stops supplying power to the controller. .
  • the initialization state of the circuit breaker is the on state; after the starting switch is closed and the circuit breaker switches from the on state to the off state under the control of the controller, in response to the next start switch closing, the circuit breaker recovers from the off state is in conductive state.
  • the controller is connected to the load switch signal, and when the detection result indicates that there is an abnormality in the working circuit, it controls the disconnection of the working circuit, including: when there is an abnormality in the working circuit, sending a disconnection signal to the load switch , to control the working circuit to be disconnected; where the disconnect signal is used to indicate that it is not allowed to close the load switch based on user operation to make the load work.
  • the control method of electronic equipment obtains the detection result of the detection unit; when the detection result indicates that there is an abnormality in the working circuit, the working circuit is controlled to be disconnected; it can solve the problem of continuing when there is an abnormality in the working circuit. work, resulting in the problem of reduced service life of components in the working circuit; since the working circuit can be automatically disconnected when the working circuit is abnormal, the service life of the components in the working circuit can be increased.
  • the power supply component stops supplying power to the controller when the working circuit is abnormal.
  • the service life of the power supply component can be improved, and on the other hand, the control of the controller can be prevented from being unstable. The problem.
  • the controller controls the load switch to not allow user operation, which ensures that the working circuit cannot continue to work under user operation and ensures the safety of the working circuit.
  • FIG 11 is a block diagram of a control device for an electronic device provided by an embodiment of the present application.
  • the electronic device includes the electronic device shown in Figure 9; the device includes at least the following modules: a result acquisition module 1310 and a circuit control module 1320.
  • the result acquisition module 1310 is used to obtain the detection results of the detection unit
  • the circuit control module 1320 is configured to control the working circuit to disconnect when the detection result indicates that there is an abnormality in the working circuit.
  • the electronic equipment control device provided in the above embodiments controls the electronic equipment
  • the division of the above functional modules is only used as an example. In practical applications, the above functions can be allocated from different modules as needed.
  • the functional modules are completed, that is, the internal structure of the control device of the electronic equipment is divided into different functional modules to complete all or part of the functions described above.
  • the control device for electronic equipment provided in the above embodiments and the control method embodiment for electronic equipment belong to the same concept. Please refer to the method embodiment for details of the specific implementation process, which will not be described again here.
  • An embodiment of the present application also provides a block diagram of the electronic device, which includes the electronic device shown in FIG. 9 .
  • the device may be the electronic device described in Figure 9, and the device at least includes a processor and a memory.
  • processor and memory in Embodiment 2 have the same structure as the processor and memory in Embodiment 1, as shown in FIG. 8 , and the specific structure will not be described again here.
  • Hair treatment equipment refers to equipment used for hair treatment.
  • the hair treatment device may be a hair curler or a hair straightener, etc. This embodiment does not limit the type of the hair treatment device.
  • Figure 12 is a schematic structural diagram of a hair treatment device provided by an embodiment of the present application.
  • the hair treatment device at least includes: a heating element 2110, n heating components 2120 and a controller 2130, where n is an integer greater than 1.
  • the heating element 2110 refers to the component that comes into contact with hair when the hair treatment device is working.
  • the heating element 2110 can be designed in a plate shape, a rod shape, etc. This embodiment does not limit the implementation of the heating element 2110.
  • the material of the heating element 2110 can be ceramic, metal, glass, etc., and the number of heating elements 2110 in the same hair treatment device can be one or at least two. This embodiment does not limit the material and number of the heating element 2110. .
  • the hair treatment device is a straight clamp
  • the shape of the heating element 2110 is a plate shape
  • the number of heating elements is 2.
  • the hair treatment device equipped with the heating element 2110 includes a first heating arm and a second heating arm, and the two heating elements 2110 are arranged in opposite forms on the inner surfaces of the first heating arm and the second heating arm respectively.
  • the first heating arm and the second heating arm need to be separated to an angle greater than a preset angle, such as 45 degrees or 60 degrees.
  • a preset angle such as 45 degrees or 60 degrees.
  • the heating element 2110 can also be a ceramic ring or a ceramic patch that can fit on the surface of the cylindrical hair processor. During use, the hair is wrapped around the heating element 2110 heated by the heating component 2120 , to shape the hair.
  • each heating element 2110 corresponds to at least one group of heating components 2120, and each group of heating components 2120 includes at least one heating component 2120.
  • the hair treatment device including a heating element 2110 as an example.
  • the heating element 2110 corresponds to a group of heating components 2120.
  • Each group of heating components 2120 can include two heating components 2120, that is, one heating element 2110 corresponds to two heating components 2120. .
  • the number of heating components 2120 corresponding to different heating elements 2110 is the same or different.
  • the first heating element 2110 can correspond to one heating element 2120, and the second heating element 2110 can correspond to two heating elements 2120; or, both heating elements 2110 can Corresponding to two heating components 2120.
  • the heating component 2120 is used to provide heat energy for the heating element.
  • the heating component 2120 is usually disposed inside the hair treatment device, is wrapped by the outer shell of the hair treatment device and/or the heating element 2110, and is in direct or indirect contact with the heating element 2110 to provide thermal energy to the heating element 2110.
  • the heating component 2120 may be a thermistor or alumina ceramic that can generate heat after being powered on. This embodiment does not limit the implementation of the heating component.
  • the number of heating components 2120 is at least two, and different heating components 2120 have the same or different heating properties.
  • the heating performance includes but is not limited to: heating power and/or heating temperature within the same period of time. This embodiment does not limit the parameters included in the heating performance.
  • the heating component 2120 is connected to the controller 2130, where the controller 2130 can be implemented as a single-chip computer or a processor. This embodiment does not limit the implementation of the controller 2130.
  • the controller 2130 is used to: respond to the heating command, obtain the heating mode of n heating components at each time in each working cycle; and control the n heating components 2120 to work according to the heating mode in each working cycle.
  • the heating mode in each working cycle includes a first heating mode and a second heating mode.
  • the number of heating components 2120 used simultaneously in the first heating mode is smaller than the number of heating components 2120 used simultaneously in the second heating mode.
  • the number of heating elements 2110 corresponding to the first heating mode is smaller than the number of heating elements 2110 corresponding to the second heating mode.
  • the controller 2130 is connected to the power supply module 2150 through the switch assembly 2140, and the power supply module 2150 is used to power the hair treatment device.
  • the power supply module 2150 may be a battery pack or an independent battery. This embodiment does not limit the implementation of the power supply module 2150.
  • the switch component 2140 may be a capacitive touch key, a resistive touch-sensitive switch, or a piezoelectric touch switch. This embodiment does not limit the implementation of the switch component 2140.
  • the switch assembly 2140 includes a working switch and a heating switch, wherein the working switch is used to trigger the controller 2130 to control the hair processor to switch between the off state and the standby state, and the heating switch is used to trigger the controller 2130 to control heating.
  • Component 2120 switches between an on state and an off state.
  • the heating component 2120 when the user starts the hair treatment equipment, he first presses the working switch, causing the hair treatment equipment to enter the standby state from the off state. After the user presses the heating switch, the heating component 2120 enters the on state and starts to be energized to provide heating element 2110. Thermal energy is used to heat the heating element 2110. After the user has finished using the hair treatment device, he presses the heating switch again, causing the heating component 2120 to cut off power and enter a closed state.
  • the switch assembly 2140 may also include only one switch. By performing different triggering operations on the switch, it is possible to trigger the startup and shutdown of the hair treatment device and the power on and off of the heating component 2120.
  • the implementation of the switch component 2140 is not limited.
  • the hair treatment equipment Since the hair treatment equipment will be in direct contact with the user when using it, in order to protect the safety of the user and the hair processor and avoid damage to the user and the hair processor when an abnormality occurs in the hair processor, the hair processor also needs to be inspected Perform anomaly detection.
  • the hair treatment device further includes an abnormality detection module, which is used to detect abnormal conditions of the hair processor.
  • the anomaly detection module includes a temperature sensor, which is connected to the controller 2130 and used to detect the temperatures of the heating element 110 and the power supply module 2150 .
  • the temperature sensor transmits the detected temperature data to the controller 2130.
  • the controller 2130 implements overheating protection on the hair treatment equipment.
  • the temperature sensor will detect the temperature of the heating element 110 in real time and transmit it to the controller 2130.
  • the controller 2130 receives the When the temperature is greater than 180 degrees, the controller 2130 will cut off the power supply to the heating component 2120 and terminate the operation of the hair processor.
  • the temperature sensor may be a thermocouple sensor, a thermistor sensor, a resistance temperature detector, or the like.
  • the anomaly detection module also includes a current detection module, which is connected to the controller 2130 and used to detect the current value of the power supply module 2150, the controller 2130 or other components in the hair treatment device.
  • the current sensor transmits the detected current data to the controller 2130.
  • the controller 2130 implements power-off protection for the hair treatment equipment.
  • the current sensor may be a Hall current sensor, an optical fiber current sensor, etc.
  • the controller 2130 is also configured to output prompt information to prompt the user to turn off the switch component 2140.
  • the controller 2130 outputs prompt information, including: controlling the information output component to output prompt information.
  • the controller 2130 is connected to the information output component to control the information output component to output prompt information.
  • Implementation methods of prompt information include but are not limited to: warning lights; and/or prompt audio.
  • Different prompt information corresponds to different information output components.
  • the information output components corresponding to each prompt information are introduced separately below.
  • the prompt information includes warning lights.
  • the information output component includes a light component.
  • the controller 2130 controls the information output component to output prompt information, including: the controller 2130 controls the lighting component to display preset lighting.
  • the second case the prompt information includes prompt audio. Accordingly, the information output component includes an audio output component.
  • the controller 2130 controls the information output component to output prompt information, including: the controller 130 plays the prompt audio through the audio output component.
  • the prompt information may also include an audio prompt instruction, which is used to instruct the specified program to play the prompt audio.
  • the hair treatment equipment may also include other components, such as humidification components, etc., which are not listed one by one in this embodiment.
  • the controller controls the preheating of the hair processor according to the first heating mode.
  • the controller controls the hair processor according to the first heating mode and the second heating mode in each working cycle.
  • the heating components work.
  • the number of heating components controlled at the same time is higher than the number of heating components used simultaneously when executing the first heating mode. This can generate greater power in a short time and increase the speed at which the heating components generate heat. , thereby improving the effectiveness of the hair processor.
  • Figure 14 shows a control method for a hair treatment device according to an embodiment of the present application.
  • the execution subject of the control method for the hair treatment device is the hair treatment device shown in Figure 12, or it can be a combination of the hair treatment device and the hair treatment device.
  • Communication-connected electronic devices such as mobile phones, tablet computers, wearable devices, etc., this embodiment does not limit the device type of the electronic devices.
  • the method includes at least the following steps:
  • Step 301 In response to the heating command, obtain the heating modes of n heating components at each time in each working cycle.
  • the method before responding to the heating instruction and obtaining the heating modes of the n heating components at each moment in each working cycle, the method further includes: obtaining the heating instruction.
  • the hair treatment device is provided with a heating switch.
  • obtaining the heating instruction includes: upon receiving a trigger operation acting on the heating switch, determining that the hair treatment device is started and obtaining the heating instruction.
  • the heating instructions are sent by a control device communicatively coupled to the hair treatment device.
  • the control device may be a mobile phone, a remote control, a wearable device, etc. This embodiment does not limit the type of the control device.
  • the hair treatment equipment includes two sets of heating components.
  • the first group of heating components is controlled to work for a period of time, and then the second group of heating components is controlled to work, while the third group of heating components is controlled to work.
  • One group of heating components stops working that is, two groups of heating components are controlled to heat alternately. Or, control two groups of heating components to start working or stop working at the same time.
  • the heating mode in each working cycle includes a first heating mode and a second heating mode.
  • the number of heating components used simultaneously in the first heating mode is smaller than the number of heating components used simultaneously in the second heating mode. For example: when executing the first heating mode, n/2 heating components out of n heating components are used at the same time; when executing the second heating mode, n heating components are used at the same time. In this way, since the number of heating components used simultaneously in the second heating mode is greater than the number of heating components used simultaneously in the first heating mode, when the second heating mode is executed, a larger number of heating components are used simultaneously, which can improve the hair treatment equipment.
  • the power of the hair processor can increase the temperature of the hair processor in a short period of time, thus improving the effectiveness of the hair processor.
  • there are both heating modes in which more heating components work at the same time and there are heating modes in which fewer heating components work at the same time. This prevents the power supply module from outputting large energy all the time, and the power supply module can be extended service life.
  • each work cycle includes a first period and a second period, and the first period is located before the second period.
  • the heating mode performed in the first period is different from the heating mode performed in the second period.
  • obtaining the heating modes of n heating components at each time in each working cycle includes: determining the heating mode of the first period as the first heating mode; determining the heating mode of the second period as the second heating mode.
  • the first heating mode works first, and then the second heating mode works. That is, in each working cycle, fewer heating components are controlled to work first, and then more heating components are controlled to work. , can gradually increase the power of the hair treatment equipment, reduce the impact on the power supply module, further protect the power supply module, and increase the service life of the power supply module.
  • each working cycle includes at least two sub-periods, and each sub-period includes a first period and a second period; the heating elements corresponding to the first heating mode in two adjacent sub-periods are not exactly the same.
  • the same heating element can be avoided from being continuously heated, thereby reducing the loss of the heating element and extending the service life of the heating element; at the same time, it can be avoided that the same heating element has not been heated, causing the hair processor to heat up. Uneven conditions can improve the heating effect of the hair processor.
  • the abscissa is the heating time. Taking the number of heating elements of the hair processor as 2 and each working cycle including two sub-cycles as an example, the first working cycle is from the origin to x4, then The first sub-period is the time period from the origin to x2, and the second sub-period is the time period from x2 to x4. The two sub-periods are adjacent in time.
  • the origin to x1 is the first period of the first sub-period
  • x1 to x2 is the second period of the first sub-period
  • x2 to x3 is the first period of the second sub-period
  • x3 to x4 are the second period of the second sub-period.
  • the second period of the cycle; the heating element corresponding to the first heating mode of the first sub-period is heating element 2
  • the heating element corresponding to the first heating mode of the second sub-period is heating element 1, that is, the two adjacent sub-periods
  • the heating elements corresponding to the first heating mode are different.
  • each work cycle may not be divided into sub-periods, that is, each work cycle only includes a first period and a second period.
  • the abscissa is the heating time.
  • this working cycle only includes one sub-period, that is, the period corresponding to the origin to the x3 time point.
  • each working cycle also includes a third heating mode, and the number of heating components used simultaneously in the third heating mode is 0.
  • each work cycle also includes a third period.
  • each work cycle includes a first period, a second period and a third period, wherein the first period is located before the second period, and the second period is located before the third period.
  • obtaining the heating modes of n heating components at each time in each working cycle includes: determining the heating mode of the first period as the first heating mode; determining the heating mode of the second period as the second heating mode; determining the heating mode of the second period.
  • the three-period heating mode is the third heating mode.
  • each working cycle is divided into three periods.
  • the heating component is controlled to work to increase the temperature of the heating component.
  • the heating component is controlled not to work to avoid continuous heating of the heating component. If the temperature of the hair processor is too high, it can reduce the impact on the power supply module and increase the service life of the power supply module.
  • the origin to x1 is the first period
  • x1 to x2 is the second period
  • x2 to x3 is the third period. It is determined that the heating mode of the first period is the first heating mode, and the corresponding number of heating elements is 1. It is determined that the heating mode of the second period is the second heating mode, and the corresponding number of heating elements is 2. It is determined that the heating mode of the second period is 2.
  • the three-period heating mode is the third heating mode, and the corresponding number of heating elements is 0.
  • the heating element in order to ensure the normal operation of the hair treatment equipment and that the heating element can be heated to a desired temperature, it is also necessary to determine the working time of the first heating mode and the working time of the second heating mode in each working cycle.
  • the sum of the working time of the first heating mode and the working time of the second heating mode is less than or equal to the working period.
  • determining the working time of the first heating mode and the working time of the second heating mode includes at least the following two methods:
  • the first method is to determine the working time of the first heating mode and the working time of the second heating mode based on the expected working power.
  • obtaining the heating modes of n heating components at each moment in each working cycle also includes at least the following steps S11-S12:
  • Step S11 Determine the expected operating power of the hair treatment device.
  • the hair treatment device includes at least two gears, and different gears correspond to different expected working powers.
  • determining the expected working power of the hair treatment device includes: based on the difference between the gear gear and the expected working power. The corresponding relationship determines the expected operating power of the hair treatment equipment.
  • the controller is further configured to receive a power instruction sent by a control device communicatively connected to the hair treatment device, where the power instruction is used to indicate a desired operating power of the hair treatment device.
  • determining the expected operating power of the hair treatment device includes: receiving a power instruction; and determining the expected operating power of the hair treatment device based on the power instruction.
  • Step S12 Determine the working duration of the first heating mode and the working duration of the second heating mode in each working cycle based on the expected working power.
  • each working cycle includes a first heating mode and a second heating mode
  • the expected working power includes a first working power corresponding to the first heating mode and a second working power corresponding to the second heating mode
  • the first The working power refers to the sum of the working powers of the heating components used simultaneously in the first heating mode
  • the second working power refers to the sum of the working powers of the heating components used simultaneously in the second heating mode.
  • the working duration of the first heating mode is determined based on the ratio between the first working power and the expected working power and the duration of the working cycle.
  • the calculation process of the working time t1 of the first heating mode can be determined by the following formula:
  • P is the expected working power
  • P1 is the first working power
  • T is the length of each working cycle.
  • the working duration of the second heating mode is determined based on the ratio between the second working power and the desired working power and the duration of the working cycle.
  • the calculation process of the working time t2 of the second heating mode can be determined by the following formula:
  • P is the expected working power
  • P2 is the second working power
  • T is the length of each working cycle.
  • each working cycle includes a first heating mode, a second heating mode and a third heating mode
  • the working time of the third heating mode is t3
  • the expected working power includes the first working time corresponding to the first heating mode. power, and the second working power corresponding to the second heating mode; where the first working power refers to the sum of the working powers of the heating components used in the first heating mode at the same time, and the second working power refers to the heating components used in the second heating mode at the same time.
  • determining the working duration of the first heating mode and the working duration of the second heating mode in each working cycle based on the expected working power includes: determining the working duration of the first heating mode based on the first working power and the duration of the third heating mode. Duration; the working duration of the second heating mode is determined based on the second working power and the duration of the third heating mode.
  • the working duration of the first heating mode is determined based on the ratio between the first working power and the desired working power, the working duration of the third heating mode, and the duration of the working cycle.
  • the calculation process of the working time t1 of the first heating mode can be determined by the following formula:
  • P is the expected working power
  • P1 is the first working power
  • T is the duration of each working cycle
  • t3 is the working duration corresponding to the third heating mode.
  • the working time of the second heating mode is determined based on the ratio between the second working power and the expected working power, the working time of the third heating mode and the length of the working cycle.
  • the calculation process of the working time t2 of the second heating mode can be determined by the following formula:
  • P is the expected working power
  • P2 is the second working power
  • T is the duration of each working cycle
  • t3 is the working duration corresponding to the third heating mode.
  • the abscissa is the heating time.
  • the number of heating elements is 2, the expected working power is P, the first working power is P1, the second working power is P2, and the working cycle is T.
  • the expected operating power P P1+P2.
  • the first working period T the period corresponding to the origin to the time point x1 is the first period, and the period corresponding to the time point x1 to x2 is the first period.
  • the hair processor pre-stores a corresponding relationship between the desired operating power, the operating duration of the first heating mode, and the operating duration of the second heating mode.
  • determining the working time of the first heating mode and the working time of the second heating mode in each working cycle based on the expected working power includes: based on the expected working power and the working time of the first heating mode and the working time of the second heating mode.
  • the corresponding relationship between the durations determines the working duration of the first heating mode and the working duration of the second heating mode in each working cycle.
  • the second method is to determine the working time of the first heating mode and the working time of the second heating mode based on the expected working temperature, and accordingly, obtain the heating modes of n heating components at each moment in each working cycle, which at least also includes the following steps S21-S22:
  • Step S21 Determine the desired operating temperature of the hair treatment device.
  • the hair treatment device includes at least two gears, and different gears correspond to different expected operating temperatures.
  • determining the expected operating temperature of the hair treatment device includes: based on the difference between the gear gear and the expected operating temperature. Preset relationships that determine the desired operating temperature of hair treatment equipment.
  • the controller is further configured to receive a temperature instruction sent by a control device communicatively connected to the hair treatment device, where the temperature instruction is used to indicate a desired operating temperature of the hair treatment device.
  • determining the expected operating temperature of the hair treatment device includes: receiving a temperature instruction; and determining the expected operating temperature of the hair treatment device based on the temperature instruction.
  • Step S22 Determine the working duration of the first heating mode and the working duration of the second heating mode in each working cycle based on the expected working temperature.
  • the hair processor is preset with a corresponding relationship between the expected operating temperature and the operating duration of the first heating mode and the operating duration of the second heating mode. At this time, based on the expected operating temperature, the period of each working cycle is determined.
  • the working time of the first heating mode and the working time of the second heating mode include: based on the corresponding relationship between the expected operating temperature and the working time of the first heating mode and the working time of the second heating mode, determining each working period. The working time of the first heating mode and the working time of the second heating mode.
  • the working time of the second heating mode can also be controlled to be shorter than that of the first heating mode.
  • the working time of the first heating mode is to avoid the temperature of the hair processor being too high due to the working time of the second heating mode being too long.
  • the heating instruction before obtaining the heating modes of the n heating components at each moment in each working cycle, it also includes: responding to the startup instruction of the hair treatment equipment, controlling the hair treatment equipment to work in the first heating mode, to preheat hair treatment equipment.
  • the hair treatment equipment is preheated before the user uses the hair treatment equipment. In this way, when the user needs to use the hair treatment equipment, the temperature of the hair treatment equipment can be increased faster, and the efficiency of the hair treatment equipment can be improved.
  • Step 302 Control n heating components to work according to the heating mode in each working cycle.
  • each working cycle includes a first period and a second period
  • the heating mode includes a first heating mode corresponding to the first period and a second heating mode corresponding to the second period, and is controlled according to the heating mode in each working period.
  • the operation of n heating components includes: obtaining the current time; when the current time is within the first period, controlling the operation of the heating component corresponding to the first heating mode; when the current time is within the second period, controlling the second The heating component corresponding to the heating mode works.
  • each working cycle includes a first period, a second period, and a third period
  • the heating mode includes a first heating mode corresponding to the first period, a second heating mode corresponding to the second period, and a second heating mode corresponding to the third period.
  • the third heating mode controls the operation of n heating components according to the heating mode in each working cycle, including: obtaining the current time; when the current time is within the first period, controlling the operation of the heating components corresponding to the first heating mode; When the current moment is within the second period, the heating components corresponding to the second heating mode are controlled to work; when the current moment is within the third period, n heating components are controlled to stop working.
  • each working cycle includes two sub-periods, each sub-period includes a first period and a second period, and the heating mode includes a first heating mode corresponding to the first period and a second heating mode corresponding to the second period
  • Controlling the operation of n heating components according to the heating mode in each working cycle includes: obtaining the current time; when the current time is within the first period, controlling the operation of the heating component corresponding to the first heating mode; when the current time is within the second time period; Within the time period, the heating component corresponding to the second heating mode is controlled to operate.
  • each working cycle includes two sub-periods, each sub-period includes a first period, a second period and a third period, and the heating mode includes a first heating mode corresponding to the first period, a third heating mode corresponding to the second period.
  • the second heating mode and the third heating mode corresponding to the third time period control n heating components to work according to the heating mode in each working cycle, including: obtaining the current time; when the current time is within the first time period, controlling the first The heating components corresponding to the heating mode work; when the current moment is within the second period, the heating components corresponding to the second heating mode are controlled to work; when the current moment is within the third period, n heating components are controlled to stop working .
  • the hair treatment equipment control method obtains the heating modes of n heating components at each time in each working cycle by responding to the heating instructions.
  • the heating mode in each working cycle includes the In the first heating mode and the second heating mode, the number of heating components used simultaneously in the first heating mode is smaller than the number of heating components used simultaneously in the second heating mode; n heating components are controlled to work according to the heating mode in each working cycle.
  • the hair treatment equipment controls the heating of the heating components slowly, resulting in poor use effect; because the number of heating components used at the same time in the second heating mode is more than the number of heating components used at the same time in the first heating mode, therefore, when executing In the second heating mode, a larger number of heating components are used at the same time, which can increase the power of the hair treatment equipment, thereby increasing the temperature of the hair processor in a short time and improving the use effect of the hair processor.
  • the first heating mode is operated first, and then the second heating mode is operated. That is, in each working cycle, fewer heating components are controlled first, and then more heating components are controlled.
  • the power of the hair treatment equipment can be gradually increased, reducing the impact on the power supply module, further protecting the power supply module, and extending the service life of the power supply module.
  • the heating elements corresponding to the first heating mode in the two adjacent sub-periods are not exactly the same, which can avoid the situation of continuous heating of the same heating element, thereby reducing the heating element Loss can increase the service life of the heating element; at the same time, it can avoid the situation where the same heating element is not heated all the time, resulting in uneven heating of the hair processor, and can improve the heating effect of the hair processor.
  • the heating mode in each cycle also includes a third heating mode.
  • the number of heating components used at the same time in the third heating mode is 0. That is, when the third heating mode is executed, the hair treatment equipment is controlled to stop heating to avoid the hair processor. The temperature is too high, which can avoid scalding the user due to excessive temperature and improve the safety when using hair treatment equipment.
  • the hair treatment equipment is controlled to work in the first heating mode to preheat the hair treatment equipment.
  • the heating speed of the hair treatment equipment can be further increased. Improve the effectiveness of hair treatment equipment.
  • the heating element will reach a higher temperature after being heated by the heating component, and the hair treatment device will be in direct contact with the hair. Based on this, in order to ensure the safety of users, real-time abnormality detection of hair treatment equipment is also required during use.
  • the n heating components after controlling the n heating components to work according to the heating mode in each working cycle, it also includes: detecting the abnormal state of the hair treatment equipment in each working cycle; when an abnormality of the hair treatment equipment is detected, output Exception prompt.
  • the temperature of the hair processor can be detected through a temperature sensor.
  • the control information output component issues an abnormality prompt; or the hair processor can The current of each element or component in the processor is detected.
  • the control prompt component issues an abnormality prompt.
  • each component or element in the hair treatment equipment is detected.
  • the prompt component is controlled to issue a prompt to prompt the user to stop using the hair treatment equipment.
  • the equipment can prevent users from using it when the hair treatment equipment malfunctions, ensuring user safety.
  • FIG. 17 is a block diagram of a hair treatment device provided by an embodiment of the present application. This embodiment uses the example of applying the device to a hair treatment device for illustration.
  • the device includes at least the following modules: mode acquisition module 2610 and component control module 2620.
  • the mode acquisition module 2610 is used to acquire the heating modes of n heating components at each moment in each working cycle in response to the heating instruction.
  • the heating modes in each working cycle include a first heating mode and a second heating mode.
  • the number of heating components used simultaneously in one heating mode is smaller than the number of heating components used simultaneously in the second heating mode;
  • the component control module 2620 is used to control the operation of n heating components according to the heating mode in each working cycle.
  • the hair treatment device provided in the above embodiment performs hair treatment
  • only the division of the above functional modules is used as an example.
  • the above function allocation can be completed by different functional modules as needed. , that is, dividing the internal structure of the information output device into different functional modules to complete all or part of the functions described above.
  • the hair treatment device provided by the above embodiments and the control method embodiment of the hair processor belong to the same concept. Please refer to the method embodiment for details of the specific implementation process, which will not be described again here.
  • This embodiment provides a hair treatment device, which includes at least a processor and a memory.
  • processor and memory in Embodiment 3 have the same structure as the processor and memory in Embodiment 1, as shown in FIG. 8 , and the specific structure will not be described again here.
  • this application also provides a computer-readable storage medium in which a program is stored, and the program is loaded and executed by the processor to implement the control method of the hair treatment device in the above method embodiment.

Landscapes

  • Cosmetics (AREA)

Abstract

La présente invention concerne un procédé de commande pour un dispositif électronique. Le procédé de commande consiste : à acquérir un résultat de détection d'une unité de détection d'accueil (120) ; et lorsque le résultat de détection indique qu'un ensemble auxiliaire est connecté à un dispositif électronique, à commander au dispositif électronique de fonctionner dans un mode de fonctionnement qui correspond à l'ensemble auxiliaire. Ainsi, le problème selon lequel un dispositif électronique est structurellement complexe en raison du besoin de fournir davantage de clés physiques pour des fonctions auxiliaires peut être résolu. Afin de résoudre le problème selon lequel la durée de vie des composants dans un circuit de travail est raccourcie en raison du fait que le circuit de travail continue à fonctionner lorsque celui-ci est anormal, un dispositif électronique est fourni. Le dispositif électronique comprend : un circuit de travail (1110), qui comprend un ensemble d'alimentation électrique (1111) et une charge (1112), l'ensemble d'alimentation électrique (1111) fournissant de l'énergie à la charge (1112) lorsque le circuit de travail (1110) est connecté ; une unité de détection (1120), qui est utilisée pour détecter s'il existe une anomalie dans le circuit de travail (1110) ; et un dispositif de commande (1130), qui est connecté séparément au circuit de travail (1110) et à l'unité de détection (1120), le dispositif de commande (1130) étant utilisé pour acquérir un résultat de détection de l'unité de détection (1120). Un procédé de commande pour un dispositif de traitement capillaire, le dispositif de traitement capillaire comprenant un élément chauffant (2110), qui vient en contact avec les cheveux, et n ensembles de génération de chaleur (2120), qui fournissent de l'énergie thermique pour l'élément chauffant (2110), n étant un nombre entier supérieur à 1. Le procédé consiste : en réponse à une instruction de chauffage, à acquérir des modes de chauffage de n ensembles de génération de chaleur (2120) à divers moments dans chaque période de travail, les modes de chauffage dans chaque période de travail comprenant chacun un premier mode de chauffage et un second mode de chauffage, et le nombre d'ensembles de génération de chaleur (2120) qui sont utilisés en même temps dans le premier mode de chauffage est inférieur au nombre d'ensembles de génération de chaleur (2120) qui sont utilisés en même temps dans le second mode de chauffage ; et dans chaque période de travail, à commander, selon le mode de chauffage, aux n ensembles de génération de chaleur (2120) de fonctionner, et lorsqu'un résultat de détection indique qu'il y a une anomalie dans le circuit de travail, à commander au circuit de travail de se déconnecter.
PCT/CN2023/083914 2022-05-16 2023-03-25 Procédé de commande pour dispositif électronique, et dispositif et support de stockage WO2023221650A1 (fr)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN202210526134.1 2022-05-16
CN202210526134.1A CN117100044A (zh) 2022-05-16 2022-05-16 电子设备的控制方法、设备及存储介质
CN202210634286.3A CN117239679A (zh) 2022-06-07 2022-06-07 电子设备、电子设备的控制方法及存储介质
CN202210634286.3 2022-06-07
CN202210635361.8A CN117223958A (zh) 2022-06-07 2022-06-07 毛发处理设备的控制方法、设备及存储介质
CN202210635361.8 2022-06-07

Publications (1)

Publication Number Publication Date
WO2023221650A1 true WO2023221650A1 (fr) 2023-11-23

Family

ID=88834563

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/083914 WO2023221650A1 (fr) 2022-05-16 2023-03-25 Procédé de commande pour dispositif électronique, et dispositif et support de stockage

Country Status (1)

Country Link
WO (1) WO2023221650A1 (fr)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06225443A (ja) * 1993-01-26 1994-08-12 Mazda Motor Corp 給電制御装置
CN101558935A (zh) * 2008-04-17 2009-10-21 蓝色陶瓷有限公司 美发装置
CN202436393U (zh) * 2012-02-17 2012-09-19 广州市菲力克斯电器有限公司 一种用于电吹风机的精油护理风嘴
CN204105156U (zh) * 2014-06-24 2015-01-21 富士美科技有限公司 一种多功能烫护发机
WO2015119412A1 (fr) * 2014-02-07 2015-08-13 이대범 Fer à cheveux ayant la capacité d'effectuer un traitement de permanente sur des cheveux humides
CN106175015A (zh) * 2016-08-26 2016-12-07 广州天罡投资管理有限公司 一种烫发机及烫发方法
CN107440293A (zh) * 2017-08-28 2017-12-08 新乡市高新区居艺烫发产品技术研发有限公司 烫发机及烫发方法
JP2019088143A (ja) * 2017-11-08 2019-06-06 キヤノンファインテックニスカ株式会社 異常電圧保護装置
CN109938472A (zh) * 2019-04-10 2019-06-28 深圳市奋达科技股份有限公司 一种吹风设备及吹风机
CN113712364A (zh) * 2021-09-14 2021-11-30 深圳市理然化妆品有限公司 护发精油喷雾装置和吹风机

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06225443A (ja) * 1993-01-26 1994-08-12 Mazda Motor Corp 給電制御装置
CN101558935A (zh) * 2008-04-17 2009-10-21 蓝色陶瓷有限公司 美发装置
CN202436393U (zh) * 2012-02-17 2012-09-19 广州市菲力克斯电器有限公司 一种用于电吹风机的精油护理风嘴
WO2015119412A1 (fr) * 2014-02-07 2015-08-13 이대범 Fer à cheveux ayant la capacité d'effectuer un traitement de permanente sur des cheveux humides
CN204105156U (zh) * 2014-06-24 2015-01-21 富士美科技有限公司 一种多功能烫护发机
CN106175015A (zh) * 2016-08-26 2016-12-07 广州天罡投资管理有限公司 一种烫发机及烫发方法
CN107440293A (zh) * 2017-08-28 2017-12-08 新乡市高新区居艺烫发产品技术研发有限公司 烫发机及烫发方法
JP2019088143A (ja) * 2017-11-08 2019-06-06 キヤノンファインテックニスカ株式会社 異常電圧保護装置
CN109938472A (zh) * 2019-04-10 2019-06-28 深圳市奋达科技股份有限公司 一种吹风设备及吹风机
CN113712364A (zh) * 2021-09-14 2021-11-30 深圳市理然化妆品有限公司 护发精油喷雾装置和吹风机

Similar Documents

Publication Publication Date Title
TWI375186B (fr)
US8502414B2 (en) Power saving apparatus and power saving method thereof
TW448349B (en) Method and apparatus for controlling power of computer system using wake on LAN (local area network) signal
CN103558774B (zh) 一种任意按键唤醒控制装置及终端
TWI513134B (zh) 可攜式能源管理裝置、能源管理模組,以及能源管理方法
CN102707790A (zh) 一种笔记本电脑自动开关机装置以及控制方法
CN109992085A (zh) 一种计算机电源管理系统,方法及终端机
CN104951416A (zh) 通用串行总线集线器、其控制模块以及其控制方法
WO2023221650A1 (fr) Procédé de commande pour dispositif électronique, et dispositif et support de stockage
CN105902079B (zh) 一种智能电热毯
CN207851762U (zh) 一种计算机断电保护系统
WO2020093680A1 (fr) Procédé de commande de commutateur, dispositif, appareil électronique et support d'informations lisible par ordinateur
CN109870962A (zh) 一种吹风机的控制系统及其控制方法
KR20110140038A (ko) 헤어고데기 및 그 구동방법
CN104269697A (zh) 一种节能电源插座控制系统
KR101661392B1 (ko) 스마트기기의 대기전력 차단 충전장치 및 제어방법
CN103677195A (zh) 笔记型计算机的电池电量显示装置
CN205450962U (zh) 一种节能电脑系统
CN203056288U (zh) 一种节能插座
CN202275311U (zh) 集成控制器
CN203812033U (zh) 多向性感测的电源控制装置
TW201021352A (en) Power-saving power extension line
CN104283071A (zh) 一种具有wifi热点功能的节能插座
CN205019458U (zh) 一种紫外线杀菌器
CN220671865U (zh) 烘干温度控制电路

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23806608

Country of ref document: EP

Kind code of ref document: A1