Equipment control method and circuit based on temperature detection and related equipment

Through temperature detection, the target accessories in the electrical equipment are identified and power control is performed, the problem of poor power effect after the accessories is replaced is solved, automatic adjustment is achieved, and user experience is improved.

CN119148790APending Publication Date: 2024-12-17SHENZHEN WATER WORLD INFORMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411021990.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

After adding or replacing accessories, it is difficult to achieve the best power effect, resulting in users needing to adjust their power by themselves to meet the needs of different accessories.

Method used

Through a temperature detection method, the temperature curve of the accessories is monitored, the target accessories are identified, and the equipment power control is carried out according to its corresponding power parameters to ensure that the equipment achieves the best working effect under different accessories.

Benefits of technology

Without the need for user to manually adjust power, the device can adapt to different accessories to achieve the best power output and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119148790A_ABST
    Figure CN119148790A_ABST
Patent Text Reader

Abstract

The invention provides an equipment control method based on temperature detection, and the method comprises the steps: obtaining a first target temperature curve of an accessory monitoring point position in a target detection time period corresponding to target equipment; comparing the first target temperature curve with the temperature curve corresponding to each accessory, and determining a target accessory currently connected to the target equipment; and determining a corresponding target power parameter according to the target accessory, and performing power control on the target equipment based on the target power parameter. According to the invention, the principle that different accessories are different in structure and corresponding temperature curves are different under the same power is considered, the target accessory connected to the target equipment is identified according to the first target temperature curve obtained by the accessory monitoring point position on the target equipment, different powers can be adjusted for different accessories for output, and the accuracy of the accessories is improved. Therefore, the target equipment can achieve the optimal working effect of the corresponding accessories under the condition of different accessories, a user does not need to adjust the power by himself, and the use experience of the user is improved on the whole.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of equipment control technology, and in particular to an equipment control method, circuit, device, electronic equipment and storage medium based on temperature detection. Background Art

[0002] In some electrical equipment, accessories with different structures are often added to meet users' needs for different functions. Typical electrical equipment include hair dryers and massagers. Hair dryers use nozzles with different structures to meet different air outlet requirements, and massagers use massage heads with different structures to meet different massage requirements. Due to the different structures of different accessories, after adding or replacing accessories, there may be a situation where the current power cannot achieve the best effect. Therefore, there is an urgent need for a solution that can perform adaptive device control based on accessories. Summary of the invention

[0003] The embodiment of the present invention provides a device control method based on temperature detection, aiming to provide a solution that can perform adaptive device control based on accessories. The present invention takes into account the principle that different accessories have different structures and corresponding temperature curves are also different under the same power. According to the first target temperature curve obtained from the monitoring point of the accessory on the target device, the target accessory connected to the target device is identified, and the power of the target device is controlled by matching the target power parameter corresponding to the target accessory, so that the target device can adjust different powers for different accessories to output, thereby enabling the target device to achieve the best working effect of the corresponding accessory under different accessories. At the same time, the user does not need to adjust the power by himself, which improves the user experience as a whole.

[0004] In a first aspect, an embodiment of the present invention provides a device control method based on temperature detection, the device control method based on temperature detection is used for a target device controlled according to temperature, the target device includes an accessory interface and an accessory monitoring point, after each accessory is connected to the target device through the accessory interface, the accessory monitoring point corresponds to a different temperature curve, and different accessories are used to correspond to different power parameters, the method includes the following steps:

[0005] Acquire a first target temperature curve of the accessory monitoring point within a target detection time period corresponding to the target device;

[0006] Comparing the first target temperature curve with the temperature curve corresponding to each of the accessories to determine the target accessory currently connected to the target device;

[0007] According to the target accessory, a corresponding target power parameter is determined, and power control is performed on the target device based on the target power parameter.

[0008] Optionally, before the step of acquiring the first target temperature curve of the accessory monitoring point within the target detection time period corresponding to the target device, the method further includes:

[0009] Obtaining a sample temperature curve corresponding to each of the accessories;

[0010] Determining a reference temperature curve based on the sample temperature curves corresponding to the accessories;

[0011] Determining the differentiation time point of the sample temperature curve corresponding to each of the accessories on the reference temperature curve;

[0012] Based on the differentiation time points, configuring a detection time period, the detection time period including the differentiation time points of all the sample temperature curves;

[0013] Based on the detection time period, a corresponding target detection time period is configured for the target device.

[0014] Optionally, the reference temperature curve includes a first reference temperature curve under a preset heating condition and a second reference temperature curve under a preset cooling condition, the sample temperature curve includes a sample heating curve under the preset heating condition and a sample cooling curve under the preset cooling condition, and the step of determining the differentiation time points of the sample temperature curves corresponding to each of the accessories on the reference temperature curve includes:

[0015] Determining a first differentiation time point of a sample temperature rise curve corresponding to each of the accessories on the first reference temperature curve;

[0016] Determining a second differentiation time point of the sample cooling curve corresponding to each of the accessories on the second reference temperature curve;

[0017] The step of configuring a detection time period based on the differentiation time point comprises:

[0018] Based on the first differentiation time point, a first detection time period is configured, where the first detection time period includes the first differentiation time points corresponding to all the sample temperature rise curves;

[0019] Based on the second differentiation time point, a second detection time period is configured, and the second detection time period includes the second differentiation time points corresponding to all the sample cooling curves.

[0020] Optionally, the step of configuring a corresponding target detection time period for the target device based on the detection time period includes:

[0021] Detecting the current ambient temperature value of the target device;

[0022] If the current ambient temperature value is lower than the preset temperature value, configuring the second detection time period as the target detection time period corresponding to the target device;

[0023] If the current ambient temperature value is higher than a preset temperature value, the first detection time period is configured as a target detection time period corresponding to the target device.

[0024] Optionally, the step of acquiring a first target temperature curve of the accessory monitoring point within a target detection time period corresponding to the target device includes:

[0025] If the target detection time period corresponding to the target device is obtained according to the configuration of the first detection time period, then within the target detection time period, the target device is controlled to increase temperature based on the preset temperature increase condition, and a first target temperature curve of the accessory monitoring point is obtained;

[0026] If the target detection time period corresponding to the target device is obtained according to the second detection time period configuration, then within the target detection time period, the target device is cooled based on the preset cooling condition, and a first target temperature curve of the accessory monitoring point is obtained.

[0027] Optionally, after the step of performing power control on the target device based on the target power parameter, the method further includes:

[0028] During the operation process, the temperature curve of the monitoring points of the accessories is monitored in real time;

[0029] When a second target temperature curve is monitored, a power parameter of the target device without accessories is obtained, wherein the second target temperature curve is a temperature curve corresponding to the accessory monitoring point in a time period before and after the target accessory is removed;

[0030] Power control is performed on the target device based on the non-accessory power parameter.

[0031] In a second aspect, an embodiment of the present invention further provides a device control circuit based on temperature detection, wherein the device control circuit based on temperature detection is arranged in a target device that is controlled according to temperature, wherein the target device includes an accessory interface and an accessory monitoring point, and after each accessory is connected to the target device through the accessory interface, the accessory monitoring point corresponds to a different temperature curve, and different accessories correspond to different power parameters, and the device control circuit based on temperature detection includes a main control module, a temperature acquisition module and a zero-crossing detection module, and the main control module is electrically connected to the temperature acquisition module and the zero-crossing detection module respectively;

[0032] The temperature acquisition module is disposed at the accessory monitoring point of the target device and is configured to collect the temperature value at the accessory monitoring point to obtain a temperature curve at the accessory monitoring point;

[0033] The main control module is configured to execute any one of the device control methods based on temperature detection in the embodiments of the present invention;

[0034] The zero-crossing detection module is configured to provide zero-crossing point data for power control, so that the main control module adjusts the control signal corresponding to the target power parameter according to the zero-crossing point data, and performs power control on the target device based on the control signal.

[0035] In a third aspect, an embodiment of the present invention further provides a device control device based on temperature detection, the device control device based on temperature detection is used for a target device controlled according to temperature, the target device includes an accessory interface and an accessory monitoring point, after each accessory is connected to the target device through the accessory interface, the accessory monitoring point corresponds to a different temperature curve, and different accessories are used to correspond to different power parameters, the device control device based on temperature detection includes:

[0036] A first acquisition module, configured to acquire a first target temperature curve of the accessory monitoring point within a target detection time period corresponding to the target device;

[0037] A first processing module, configured to compare the first target temperature curve with the temperature curve corresponding to each of the accessories, and determine a target accessory currently connected to the target device;

[0038] The first control module is used to determine a corresponding target power parameter according to the target accessory, and perform power control on the target device based on the target power parameter.

[0039] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the device control method based on temperature detection provided in an embodiment of the present invention are implemented.

[0040] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the device control method based on temperature detection provided in the embodiment of the invention are implemented.

[0041] In an embodiment of the present invention, within the target detection time period corresponding to the target device, a first target temperature curve of the accessory monitoring point is obtained; the first target temperature curve is compared with the temperature curves corresponding to each accessory to determine the target accessory currently connected to the target device; the corresponding target power parameter is determined according to the target accessory, and the target device is power controlled based on the target power parameter. The present invention takes into account the principle that different accessories have different structures and corresponding temperature curves are also different at the same power, and identifies the target accessory connected to the target device according to the first target temperature curve obtained at the accessory monitoring point on the target device, and then controls the power of the target device by matching the target power parameter corresponding to the target accessory, so that the target device can identify different accessories and adjust different powers for different accessories to output, thereby enabling the target device to achieve the best working effect of the corresponding accessory in the case of different accessories. At the same time, the user does not need to adjust the power by himself, which improves the user experience as a whole. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 is a schematic diagram of a device control circuit based on temperature detection provided by an embodiment of the present invention;

[0044] Figure 2 It is a structural schematic diagram of a temperature acquisition module provided by an embodiment of the present invention;

[0045] Figure 3 is a structural diagram of a main control module provided by an embodiment of the present invention;

[0046] Figure 4 is a structural schematic diagram of a zero-crossing detection module provided by an embodiment of the present invention;

[0047] Figure 5 It is a waveform diagram of a temperature rise and fall instruction provided by an embodiment of the present invention;

[0048] Figure 6 It is a structural schematic diagram of a thyristor controlled heating circuit provided by an embodiment of the present invention;

[0049] Figure 7 is a flow chart of a device control method based on temperature detection provided by an embodiment of the present invention;

[0050] Figure 8is a schematic diagram of a temperature rise curve differentiation provided by an embodiment of the present invention;

[0051] Fig. 9 is a schematic diagram of a cooling curve differentiation provided by an embodiment of the present invention;

[0052] Fig.10 It is a structural schematic diagram of a device control device based on temperature detection provided by an embodiment of the present invention;

[0053] Fig.11 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] like Figure 1 As shown, Figure 1 It is a structural schematic diagram of a device control circuit based on temperature detection provided by an embodiment of the present invention. The device control circuit based on temperature detection is set in a target device that is controlled according to temperature. The target device includes an accessory interface and an accessory monitoring point. After each accessory is connected to the target device through the accessory interface, the accessory monitoring point corresponds to a different temperature curve. Different accessories are used to correspond to different power parameters. The device control circuit includes a main control module, a temperature acquisition module and a zero-crossing detection module. The main control module is electrically connected to the temperature acquisition module and the zero-crossing detection module respectively.

[0056] The target device may be an electrical device with multiple optional accessories, such as a hair dryer, a massager, etc. The accessories of the hair dryer mainly include nozzles with different functions (e.g., styling nozzles, smoothing nozzles, gentle nozzles, anti-flying nozzles, etc.), and the accessories of the massager mainly include massage heads with different functions. A heating wire is provided in the electrical device as a temperature regulating load to achieve operation at different temperatures, such as blowing out wind at different temperatures, or providing massage at different temperatures, etc. The embodiment of the present invention is described by taking a hair dryer as an example, and other electrical devices with multiple accessories of similar functions can also refer to the implementation of the hair dryer in the embodiment of the present invention.

[0057] The temperature acquisition module is set at the accessory monitoring point of the target device and is configured to collect the temperature value at the accessory monitoring point to obtain the temperature curve at the accessory monitoring point. The above-mentioned accessory monitoring point can be a point attached to the accessory interface.

[0058] The main control module is configured to execute any one of the device control methods based on temperature detection in the embodiments of the present invention. The main control module may be a single chip microcomputer, and is provided with a temperature input port, a zero-crossing signal input port, and an output port. The temperature input port on the main control module is electrically connected to the temperature acquisition module, the zero-crossing signal input port on the main control module is electrically connected to the zero-crossing detection module, and the output port on the main control module is connected to the power load.

[0059] The zero-crossing detection module is configured to provide zero-crossing point data for power control, so that the main control module adjusts the control signal corresponding to the target power parameter according to the zero-crossing point data, and performs power control on the target device based on the control signal.

[0060] When the target device is turned on, the temperature value of the accessory monitoring point is collected through the temperature acquisition module, and the temperature value corresponding to the collection point is fitted to obtain the temperature curve of the accessory monitoring point. During the target detection time period after the device is turned on or the accessories are connected, the first target temperature curve of the accessory monitoring point is collected through the temperature acquisition module, and the first target temperature curve is compared with the temperature curves corresponding to various accessories, so as to identify the target accessories corresponding to the first target temperature curve. Different accessories are set with different power parameters. The power parameters corresponding to the target accessories are used to adjust the power of the target device, so that the target device can provide better results in the case of the target accessories.

[0061] Please refer to Figure 2 , Figure 2 is a schematic diagram of the structure of a temperature acquisition module provided by an embodiment of the present invention. Figure 2 In the embodiment, the temperature acquisition module includes a thermistor CN1 (model A1001LF-02A), a resistor R108 (10K / ±1%, indicating that the nominal resistance of the resistor is 10K ohms and the error is ±1%), a resistor R107 (1K / ±5%), and a capacitor C7 (100nF / 25V, indicating that the nominal capacitance of the capacitor is 100nF and the rated voltage is 25V), wherein pins 3 and 4 of the thermistor CN1 are equipotentially grounded, pin 1 is connected to a 5V power supply, pin 2 is coupled to one end of the resistor R108 and the resistor R107, the other side of the resistor R108 is equipotentially grounded, the other end of the resistor R107 is coupled to one end of the capacitor C7, the other end of the capacitor C7 is equipotentially grounded, and the coupling point between the other end of the resistor R107 and the capacitor C7 is electrically connected to the temperature input port TEMP_OUT of the main control module.

[0062] Specifically, the main control module can be a single chip microcomputer of model CS32ME108C6DBN, please refer to Figure 3 , Figure 3 is a schematic diagram of the structure of a main control module provided by an embodiment of the present invention. Figure 3 The above main control module has a total of 48 pins, among which pin 15 (PB6 / TM0) is configured as a temperature input port, pin 25 (PD0 / SS) is configured as a zero-crossing signal input port, and pin 24 PC7 / PMD.PH is configured as an output port.

[0063] Please refer to Figure 4 , Figure 4 is a schematic diagram of the structure of a zero-crossing detection module provided by an embodiment of the present invention. Figure 4 In the invention, the zero-crossing detection module includes an optical coupler U11 (OR-357), a resistor R136 (47K / ±5%), a resistor R139 (47K / ±5%), a resistor R138 (47K / ±5%), a diode D9 (model 1N4007W), a resistor R140 (10K / ±5%), a resistor R137 (1K / ±5%), and a capacitor C57 (100pF / 50V); wherein the resistor R136, the resistor R139, and the resistor R138 are connected in series in sequence, the input end of the resistor R136 is electrically connected to the live wire after voltage stabilization, and the output end of the resistor R138 is connected to the optical coupler U11 Pin 1 is electrically connected to the optocoupler U11, the cathode of the diode D9 is electrically connected to the pin 2 of the optocoupler U11, the anode of the diode D9 is electrically connected to the stabilized neutral line, the pin 3 of the optocoupler U11 is equipotentially grounded, the pin 4 of the optocoupler U11 is electrically connected to the resistor R140 and one end of the resistor R137, the other end of the resistor R140 is electrically connected to the 5V power supply, the other end of the resistor R137 is electrically connected to one end of the capacitor C57, the other end of the capacitor C57 is equipotentially grounded, and the common end of the resistor R137 and the capacitor C57 is configured as a zero-crossing detection signal output end, and is electrically connected to pin 25 (PD0 / SS) of the main control module.

[0064] During the target detection period, the MCU can also be actively heated up or cooled down:

[0065] Specifically, in the temperature detection module, CN1 detects the temperature of the hair dryer outlet, converts the temperature value into a voltage value, and transmits it to pin 15 of the MCU through the TEMP_OUT port of the module.

[0066] The zero-crossing detection module detects the stabilized AC power (ACN1, ACL1) to obtain the zero-crossing detection signal and integrates the AC sine wave to form Figure 5 The waveform shown is transmitted to pin 25 of the MCU controller through the ZERO_DET1 port of the circuit module.

[0067] The MCU controller transmits specific temperature increase and decrease instructions to the PWM_BAT port through pin 24 (PC7 / PMD.PH pin, configured as PWM_BAT port) according to the current NTC temperature and zero-crossing signal, as well as the current heating / cooling strategy. Figure 6 The thyristor controls the PWM_BAT port of the heating circuit. The temperature rise and fall instructions are transmitted to J18 after passing through U5 (optical coupler) in the circuit, and the power of the heating resistor is controlled through the J18 port. Figure 5 Take the waveform as an example to explain the temperature increase and decrease instructions. Figure 5 There are 6 zero-crossing signal points in it, forming 5 half-waves. Originally, there are 3 high-signal half-waves and 2 low-signal half-waves. That is to say, the current heating time is 3 / 5. When the heating power needs to be increased, the zero-crossing is used as the change point and the half-wave is used as the basic change unit to increase the heating time to 4 / 5 or 5 / 5. The MCU transmits the instruction to Figure 6 The thyristor controls the PWM_BAT port of the heating circuit; conversely, when cooling is required, the heating time is reduced to 2 / 5 or 1 / 5, and the MCU transmits the instruction to Figure 6 The thyristor can control the PWM_BAT port of the heating circuit.

[0068] The present invention takes into account the principle that different accessories have different structures and corresponding temperature curves are also different under the same power. The target accessory connected to the target device is identified according to the first target temperature curve obtained from the accessory monitoring point on the target device. The power of the target device is controlled by matching the target power parameters corresponding to the target accessory, so that the target device can adjust different powers for different accessories to output, thereby enabling the target device to achieve the best working effect of the corresponding accessory under different accessories. At the same time, the user does not need to adjust the power by himself, which improves the user experience as a whole.

[0069] like Figure 7 As shown, Figure 7 1 is a flow chart of a device control method based on temperature detection provided by an embodiment of the present invention. The device control method based on temperature detection comprises the steps of:

[0070] 101. Acquire a first target temperature curve of a monitoring point of an accessory within a target detection time period corresponding to a target device.

[0071] In an embodiment of the present invention, the device control method based on temperature detection is applied to a target device that is controlled according to temperature. The target device includes an accessory interface and an accessory monitoring point. After each accessory is connected to the target device, the accessory monitoring point corresponds to a different temperature curve, and different accessories correspond to different power parameters. The accessory monitoring point can be a point attached to the accessory interface.

[0072] The target device may be an electrical device with multiple optional accessories, such as a hair dryer, a massager, etc. The accessories of the hair dryer mainly include nozzles with different functions (such as a styling nozzle, a smoothing nozzle, a gentle nozzle, an anti-flying nozzle, etc.), and the accessories of the massager mainly include massage heads with different functions. A heating wire is provided in the electrical device as a temperature regulating load to achieve operation at different temperatures, such as blowing out wind at different temperatures or providing massages at different temperatures.

[0073] The above-mentioned target detection time period may be pre-configured. During the target detection time period after the device is turned on or connected to an accessory, the first target temperature curve of the accessory monitoring point is collected by the temperature collection module.

[0074] Temperature collection is achieved by thermistors. When the voltage of the thermistor is continuously changing, the last stable voltage is used to determine the current accessories of the hair dryer. For example, if the voltage obtained is 3V→5V, 5V is taken. If the voltage is 5V→3V, 3V is taken.

[0075] 102. Compare the first target temperature curve with the temperature curves corresponding to each accessory to determine the target accessory currently connected to the target device.

[0076] In the embodiment of the present invention, since different accessories correspond to different temperature curves, the first target temperature curve can be compared with the temperature curves corresponding to each accessory. If the comparison is successful, the accessory corresponding to the successfully compared temperature curve is determined as the target accessory.

[0077] If the comparison fails, it can be indicated that there is no accessory, and the target device is power controlled with the no-accessory power parameter. The no-accessory power parameter can be a user setting or a factory default setting.

[0078] 103. Determine a corresponding target power parameter according to the target accessory, and perform power control on the target device based on the target power parameter.

[0079] In the embodiment of the present invention, since different accessories correspond to different power parameters, the power parameter corresponding to the target accessory can be matched as the target power parameter, and then the power of the target device is controlled according to the target power parameter. The power parameters corresponding to the above different accessories can be pre-calibrated power parameters and can be set according to experience.

[0080] The above power parameters may include temperature control parameters, and temperature control is achieved by controlling the heating power of the heating wire. For example, when the temperature needs to be lowered, the power of the heating wire is reduced, and the effect of adjusting the power is achieved by adjusting the opening ratio within a certain period of time through the zero-crossing detection signal given by the hardware circuit in conjunction with the alternating current. The less it is opened, the lower the power will be.

[0081] Taking a hair dryer as an example, the accessories of a hair dryer mainly include nozzles with different functions (for example, styling nozzles, smoothing nozzles, gentle nozzles, anti-flying nozzles, etc.). According to the temperature curve and the temperature value calibrated by the factory, when the temperature rises to the temperature condition for adding a certain accessory, it automatically identifies what kind of accessory to add, adjusts the current heating wire power, and realizes automatic cooling. Since heat will not accumulate if the accessory is removed, the corresponding temperature will drop. According to the temperature curve of removing the accessory, it is determined whether the accessory has been removed. If so, the heating wire is adjusted to the power without the accessory to obtain the temperature effect of the state without the accessory.

[0082] In an embodiment of the present invention, within the target detection time period corresponding to the target device, a first target temperature curve of the accessory monitoring point is obtained; the first target temperature curve is compared with the temperature curves corresponding to each accessory to determine the target accessory currently connected to the target device; the corresponding target power parameter is determined according to the target accessory, and the target device is power controlled based on the target power parameter. The present invention takes into account the principle that different accessories have different structures and corresponding temperature curves are also different at the same power, and identifies the target accessory connected to the target device according to the first target temperature curve obtained at the accessory monitoring point on the target device, and then controls the power of the target device by matching the target power parameter corresponding to the target accessory, so that the target device can identify different accessories and adjust different powers for different accessories to output, thereby enabling the target device to achieve the best working effect of the corresponding accessory in the case of different accessories. At the same time, the user does not need to adjust the power by himself, which improves the user experience as a whole.

[0083] It should be noted that the device control method based on temperature detection provided in the embodiment of the present invention can be applied to electrical devices such as hair dryers and massagers that can perform the device control method based on temperature detection.

[0084] It is understandable that in the specific implementation of this application, temperature data, power data and other related data are involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0085] Optionally, before the step of obtaining the first target temperature curve of the accessory monitoring point within the target detection time period corresponding to the target device, the sample temperature curve corresponding to each accessory can also be obtained; based on the sample temperature curve corresponding to each accessory, a reference temperature curve is determined; on the reference temperature curve, the differentiation time point of the sample temperature curve corresponding to each accessory is determined; based on the differentiation time point, a detection time period is configured, and the detection time period includes the differentiation time points of all the sample temperature curves; based on the detection time period, a corresponding target detection time period is configured for the target device.

[0086] In an embodiment of the present invention, different accessories have different corresponding temperature gathering effects and temperature dissipation effects due to different structures and sizes. Take a hair dryer as an example to illustrate. During the temperature gathering time or temperature dissipation time, due to the difference in shape and size of the air outlet accessories, the temperature gathering effect or temperature dissipation effect will be different over time. Among them, for the previous time period, the temperature gathering effect or temperature dissipation effect of each accessory is similar, and the temperature values ​​of each accessory at different sampling points in the previous time period can be fitted to form a reference temperature curve. For the previous time period, the temperature gathering effect or temperature dissipation effect of each accessory is similar, and the sample temperature curve parts corresponding to each accessory in the previous time period can be fitted to form a reference temperature curve. The overlapping curve parts in the sample temperature curves corresponding to each accessory can also be determined as the reference temperature curve.

[0087] As time goes by, the temperature curves of different accessories will separate from the reference temperature curve, thus forming temperature curves corresponding to different accessories, which contain the heat collection characteristics or heat dissipation characteristics of the corresponding accessories. Figure 8 D1, C1, B1 in Figure 8 A in the figure is the reference temperature curve; or Fig. 9 D1', C1', B1' in Fig. 9 A' in is the reference temperature curve.

[0088] The time when the temperature curves of different accessories are separated from the reference temperature curve can be determined as the differentiation time point, and the time period from the start of the detection to the last differentiation time point can be determined as the detection time period. When the user uses it, after connecting the accessories, the time when the accessories are connected is taken as the starting time point, and the above detection time period is added to obtain the target detection time period.

[0089] Specifically, some accessories may have similar heat collection effects at a certain heat collection time t1 due to similar shapes and sizes of air outlets. Even when the air is not completely blocked (i.e., half blocked), some accessories may have similar heat collection effects. Therefore, when judging the category of accessories by detecting the heat collection results within a certain period of time, it may be difficult to directly judge. Figure 8 Take this as an example to illustrate, half-blocked wind ( Figure 8 D in), smaller air outlet accessories 1 ( Figure 8 C), larger air outlet accessories 2 ( Figure 8 B) in the figure has a similar temperature gathering effect before time t1, which is marked by a curve A. The trend extension curve of curve A is the reference temperature curve. At this time, time tj can be added on the basis of t1. The shapes and sizes of air outlet accessories are different, so their temperature gathering effects vary over time. Among them, after adding time period tj1, at time point t3, the semi-blocking temperature curve D1 is divided out. After adding time tj2, at t4, the temperature curve C1 of accessory 1 is revealed, and at the same time, the temperature curve B1 of accessory 2 is also revealed. In this way, accessories with similar shapes and air outlet sizes and semi-blocking conditions can be distinguished to a certain extent.

[0090] The same applies to cooling situations. For example, when an accessory is replaced, and the cooling effect of the latter accessory is weaker / stronger than the heating effect of the former accessory, a cooling graph may appear. When switching from high gear to low gear, a cooling graph may also appear. Figure 8 .

[0091] Optionally, the reference temperature curve includes a first reference temperature curve under preset heating conditions and a second reference temperature curve under preset cooling conditions, and the sample temperature curve includes a sample heating curve under preset heating conditions and a sample cooling curve under preset cooling conditions. In the step of determining the differentiation time points of the sample temperature curves corresponding to each accessory on the reference temperature curve, the first differentiation time point of the sample heating curve corresponding to each accessory can be determined on the first reference temperature curve; the second differentiation time point of the sample cooling curve corresponding to each accessory can be determined on the second reference temperature curve; in the step of configuring the detection time period based on the differentiation time point, the first detection time period can be configured based on the first differentiation time point, and the first detection time period includes the first differentiation time point corresponding to all the sample heating curves; the second detection time period can be configured based on the second differentiation time point, and the second detection time period includes the second differentiation time point corresponding to all the sample cooling curves.

[0092] In the embodiment of the present invention, considering that the additional time tj1 / tj2 will cause a longer delay in the machine's response, affecting the user experience, the MCU performs temperature control within the detection time period, and adopts an active heating or cooling strategy to speed up the presentation of the temperature dissipation / aggregation effect of the semi-blocked air, accessory 1, and accessory 2.

[0093] like Figure 8 As shown in the figure, by increasing the heating power of the heating resistor wire through the MCU, the effects of half-air blocking, accessory 1, and accessory 2 can be shown in advance. Figure 8 In [description], when the power is increased and tj3 is added, at time t2, the sample heating curve D2 of semi-blocked air is differentiated. After a certain period of time ( Figure 8 not shown one by one in [description]), the sample heating curve C2 of the smaller air outlet fitting 1 and the sample heating curve B2 of the larger air outlet fitting 2 are also quickly differentiated. Among them, the duration tj3 < tj1 < tj2, and the time t1 is earlier than t2, t2 is earlier than t3, and t3 is earlier than t4. It can be understood that for the larger air outlet fitting 2, its air volume is greater than that of the smaller air outlet fitting 1. Therefore, the larger air outlet fitting 2 has more air leakage and slower heating. The time when the above sample heating curves are differentiated is the first differentiation time point.

[0094] As Fig. 9 shown, similarly, the effects of semi-blocked air, fitting 1, and fitting 2 can also be manifested in advance by using the method of cooling (reducing the heating power of the heating resistance wire). In Fig. 9 [description], when the heating wire power is reduced and tj3' is added, at time t2', the sample cooling curve B2' of the larger air outlet fitting 2 is differentiated. After a certain period of time (not shown one by one in the figure), the sample cooling curve C2' of the smaller air outlet fitting 1 and the sample cooling curve D2' of semi-blocked air are differentiated. Among them, for the larger air outlet fitting 2, its air volume is greater than that of the smaller air outlet fitting 1. Therefore, the larger air outlet fitting 2 has more air leakage and faster cooling. The time when the above sample cooling curves are differentiated is the second differentiation time point.

[0095] By controlling the temperature during the detection period and adopting the strategy of active heating or active cooling, the temperature curve can be differentiated in advance, thereby shortening the detection period and improving the efficiency of fitting identification.

[0096] Optionally, in the step of configuring the corresponding target detection period for the target device based on the detection period, the current ambient temperature value of the target device can be detected; if the current ambient temperature value is lower than the preset temperature value, the second detection period is configured as the target detection period corresponding to the target device; if the current ambient temperature value is higher than the preset temperature value, the first detection period is configured as the target detection period corresponding to the target device.

[0097] In the embodiments of the present invention, the temperature value of the environment where the target device is located can be detected before or before the target device is powered on, and the temperature value of the environment where the target device is located is determined as the current ambient temperature value for detecting the target device.

[0098] According to the current ambient temperature value, determine whether to use the heat gathering strategy or the heat dissipation strategy. It should be noted that when the ambient temperature is low, it is not easy to gather heat and the heat gathering effect is poor. The active cooling strategy can be adopted, that is, the MCU actively reduces the power of the resistor to actively cool down; when the ambient temperature is high, it is not easy to dissipate heat and the heat dissipation effect is poor, the active heating strategy is adopted, that is, the MCU actively increases the power of the resistor to actively heat up.

[0099] Optionally, in the step of obtaining the first target temperature curve of the accessory monitoring point within the target detection time period corresponding to the target device, if the target detection time period corresponding to the target device is obtained according to the first detection time period configuration, then within the target detection time period, the target device is controlled to be heated based on the preset heating conditions, and the first target temperature curve of the accessory monitoring point is obtained; if the target detection time period corresponding to the target device is obtained according to the second detection time period configuration, then within the target detection time period, the target device is controlled to be cooled based on the preset cooling conditions, and the first target temperature curve of the accessory monitoring point is obtained.

[0100] In the embodiment of the present invention, if an active heating strategy is adopted, a preset heating condition can be used for active heating, and the preset heating condition is the heating condition used in the process of determining the detection time period, so that the temperature curve generated by active heating can be made more accurate. During the implementation of the active heating strategy, a first target temperature curve of the accessory monitoring point is obtained.

[0101] Similarly, if an active cooling strategy is adopted, the preset temperature rise conditions can be used for active cooling. The preset temperature reduction conditions are the temperature reduction conditions used in the process of determining the detection time period. Therefore, the temperature curve generated by active cooling can be made more accurate. During the implementation of the active cooling strategy, the first target temperature curve of the accessory monitoring point is obtained.

[0102] Optionally, after the step of performing power control on the target device based on the target power parameters, the temperature curve of the accessory monitoring point can be monitored in real time during the operation process; when a second target temperature curve is monitored, the power parameters of the target device without accessories are obtained, and the second target temperature curve is the temperature curve corresponding to the accessory monitoring point in the time period before and after the target accessory is removed; power control of the target device is performed based on the power parameters without accessories.

[0103] In the embodiment of the present invention, it can be understood that when an accessory is removed, since heat will not accumulate when the accessory is removed, the corresponding temperature will drop, and there will also be a corresponding temperature curve when the accessory is removed. Therefore, it is possible to determine whether the accessory has been removed by monitoring whether the temperature curve conforms to the temperature curve corresponding to the removal of the accessory. If so, the heating wire is adjusted to the power without the accessory to obtain the temperature effect of the state without the accessory.

[0104] By monitoring whether the temperature curve conforms to the temperature curve corresponding to removing the accessories, when the temperature curve conforms to the temperature curve corresponding to removing the accessories, the heating wire is adjusted to the power without accessories to obtain the temperature effect of the state without accessories, so that the target device can achieve the best working effect of the corresponding accessories without accessories. At the same time, the user does not need to adjust the power by himself, which improves the user experience as a whole.

[0105] like Fig.10 As shown, an embodiment of the present invention provides a device control device based on temperature detection, the device control device based on temperature detection is used for a target device controlled according to temperature, the target device includes an accessory interface and an accessory monitoring point, after each accessory is connected to the target device, the accessory monitoring point corresponds to a different temperature curve, and different accessories are used to correspond to different power parameters. The device control device includes:

[0106] A first acquisition module 201 is used to acquire a first target temperature curve of the accessory monitoring point within a target detection time period corresponding to the target device;

[0107] A first processing module 202 is used to compare the first target temperature curve with the temperature curve corresponding to each of the accessories to determine the target accessory currently connected to the target device;

[0108] The first control module 203 is used to determine a corresponding target power parameter according to the target accessory, and perform power control on the target device based on the target power parameter.

[0109] Optionally, the device further comprises:

[0110] A second acquisition module, used to acquire a sample temperature curve corresponding to each of the accessories;

[0111] The second processing module is used to determine a reference temperature curve based on the sample temperature curves corresponding to each of the accessories.

[0112] A third processing module is used to determine the differentiation time point of the sample temperature curve corresponding to each of the accessories on the reference temperature curve;

[0113] A fourth processing module, configured to configure a detection time period based on the differentiation time point, wherein the detection time period includes the differentiation time points of all the sample temperature curves;

[0114] A fifth processing module is used to configure a corresponding target detection time period for the target device based on the detection time period.

[0115] Optionally, the reference temperature curve includes a first reference temperature curve under a preset heating condition and a second reference temperature curve under a preset cooling condition, the sample temperature curve includes a sample heating curve under the preset heating condition and a sample cooling curve under the preset cooling condition, and the third processing module is further used to determine a first differentiation time point of the sample heating curve corresponding to each of the accessories on the first reference temperature curve; and determine a second differentiation time point of the sample cooling curve corresponding to each of the accessories on the second reference temperature curve;

[0116] The fourth processing module is also used to configure a first detection time period based on the first differentiation time point, the first detection time period includes the first differentiation time point corresponding to all the sample temperature rise curves; and to configure a second detection time period based on the second differentiation time point, the second detection time period includes the second differentiation time point corresponding to all the sample temperature drop curves.

[0117] Optionally, the fifth processing module is also used to detect the current ambient temperature value of the target device; if the current ambient temperature value is lower than the preset temperature value, the second detection time period is configured as the target detection time period corresponding to the target device; if the current ambient temperature value is higher than the preset temperature value, the first detection time period is configured as the target detection time period corresponding to the target device.

[0118] Optionally, the first acquisition module 201 is also used to, if the target detection time period corresponding to the target device is obtained according to the first detection time period configuration, then within the target detection time period, the target device is controlled to heat up based on the preset heating condition, and the first target temperature curve of the accessory monitoring point is obtained; if the target detection time period corresponding to the target device is obtained according to the second detection time period configuration, then within the target detection time period, the target device is controlled to cool down based on the cooling condition, and the first target temperature curve of the accessory monitoring point is obtained.

[0119] Optionally, the device further comprises:

[0120] A real-time monitoring module, used to monitor the temperature curve of the monitoring points of the accessories in real time during the operation process;

[0121] A third acquisition module is used to acquire the power parameter of the target device without accessories when a second target temperature curve is monitored, wherein the second target temperature curve is a temperature curve corresponding to the accessory monitoring point in a time period before and after the target accessory is removed;

[0122] The second control module is configured to perform power control on the target device based on the non-accessory power parameter.

[0123] It should be noted that the device control apparatus provided in the embodiment of the present invention can be applied to electrical appliances such as hair dryers and massagers that can perform device control methods based on temperature detection.

[0124] The device control apparatus provided in the embodiment of the present invention can implement each process implemented by the device control method based on temperature detection in the above method embodiment, and can achieve the same beneficial effect. To avoid repetition, it will not be described here.

[0125] See also Fig.11 , Fig.11 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Fig.11 As shown, it includes: a memory 302, a processor 301, and a computer program of a device control method based on temperature detection stored in the memory 302 and executable on the processor 301, wherein:

[0126] The processor 301 is used to call the computer program stored in the memory 302 and execute the following steps:

[0127] Acquire a first target temperature curve of the accessory monitoring point within a target detection time period corresponding to the target device;

[0128] Comparing the first target temperature curve with the temperature curve corresponding to each of the accessories to determine the target accessory currently connected to the target device;

[0129] According to the target accessory, a corresponding target power parameter is determined, and power control is performed on the target device based on the target power parameter.

[0130] Optionally, before the step of acquiring a first target temperature curve of a monitoring point of an accessory within a target detection time period corresponding to the target device, the method executed by the processor 301 further includes:

[0131] Obtaining a sample temperature curve corresponding to each of the accessories;

[0132] Determining a reference temperature curve based on the sample temperature curves corresponding to the accessories;

[0133] Determining the differentiation time point of the sample temperature curve corresponding to each of the accessories on the reference temperature curve;

[0134] Based on the differentiation time points, configuring a detection time period, the detection time period including the differentiation time points of all the sample temperature curves;

[0135] Based on the detection time period, a corresponding target detection time period is configured for the target device.

[0136] Optionally, the reference temperature curve includes a first reference temperature curve under a preset heating condition and a second reference temperature curve under a preset cooling condition, the sample temperature curve includes a sample heating curve under the preset heating condition and a sample cooling curve under the preset cooling condition, and the step of determining the differentiation time point of the sample temperature curve corresponding to each of the accessories on the reference temperature curve executed by the processor 301 includes:

[0137] Determining a first differentiation time point of a sample temperature rise curve corresponding to each of the accessories on the first reference temperature curve;

[0138] Determining a second differentiation time point of the sample cooling curve corresponding to each of the accessories on the second reference temperature curve;

[0139] The step of configuring a detection time period based on the differentiation time point comprises:

[0140] Based on the first differentiation time point, a first detection time period is configured, where the first detection time period includes the first differentiation time points corresponding to all the sample temperature rise curves;

[0141] Based on the second differentiation time point, a second detection time period is configured, and the second detection time period includes the second differentiation time points corresponding to all the sample cooling curves.

[0142] Optionally, the step of configuring a corresponding target detection time period for the target device based on the detection time period, performed by the processor 301, includes:

[0143] Detecting the current ambient temperature value of the target device;

[0144] If the current ambient temperature value is lower than the preset temperature value, configuring the second detection time period as the target detection time period corresponding to the target device;

[0145] If the current ambient temperature value is higher than a preset temperature value, the first detection time period is configured as a target detection time period corresponding to the target device.

[0146] Optionally, the step of acquiring a first target temperature curve of the accessory monitoring point within a target detection time period corresponding to the target device, performed by the processor 301, includes:

[0147] If the target detection time period corresponding to the target device is obtained according to the configuration of the first detection time period, then within the target detection time period, the target device is controlled to increase temperature based on the preset temperature increase condition, and a first target temperature curve of the accessory monitoring point is obtained;

[0148] If the target detection time period corresponding to the target device is obtained according to the second detection time period configuration, then within the target detection time period, the target device is cooled based on the preset cooling condition, and a first target temperature curve of the accessory monitoring point is obtained.

[0149] Optionally, after the step of performing power control on the target device based on the target power parameter, the method executed by the processor 301 further includes:

[0150] During the operation process, the temperature curve of the monitoring points of the accessories is monitored in real time;

[0151] When a second target temperature curve is monitored, a power parameter of the target device without accessories is obtained, wherein the second target temperature curve is a temperature curve corresponding to the accessory monitoring point in a time period before and after the target accessory is removed;

[0152] Power control is performed on the target device based on the non-accessory power parameter.

[0153] It should be noted that the electronic device provided by the embodiment of the present invention can be applied to electrical appliances such as hair dryers and massagers that can perform the device control method based on temperature detection.

[0154] The electronic device provided in the embodiment of the present invention can implement each process implemented by the device control method based on temperature detection in the above method embodiment, and can achieve the same beneficial effect. To avoid repetition, it will not be described here.

[0155] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the device control method based on temperature detection provided by the embodiment of the present invention are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0156] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The computer-readable storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0157] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A device control method based on temperature detection, characterized in that: The device control method based on temperature detection is used for a target device that is controlled according to temperature. The target device includes an accessory interface and an accessory monitoring point. After each accessory is connected to the target device through the accessory interface, the accessory monitoring point corresponds to a different temperature curve. Different accessories are used to correspond to different power parameters. The method includes the following steps: Acquire a first target temperature curve of the accessory monitoring point within a target detection time period corresponding to the target device; Comparing the first target temperature curve with the temperature curve corresponding to each of the accessories to determine the target accessory currently connected to the target device; According to the target accessory, a corresponding target power parameter is determined, and power control is performed on the target device based on the target power parameter.

2. The device control method based on temperature detection according to claim 1, characterized in that: Before the step of acquiring a first target temperature curve of the accessory monitoring point within the target detection time period corresponding to the target device, the method further includes: Obtaining a sample temperature curve corresponding to each of the accessories; Determining a reference temperature curve based on the sample temperature curves corresponding to the accessories; Determining the differentiation time point of the sample temperature curve corresponding to each of the accessories on the reference temperature curve; Based on the differentiation time points, configuring a detection time period, the detection time period including the differentiation time points of all the sample temperature curves; Based on the detection time period, a corresponding target detection time period is configured for the target device.

3. The device control method based on temperature detection according to claim 2, characterized in that: The reference temperature curve includes a first reference temperature curve under a preset heating condition and a second reference temperature curve under a preset cooling condition, the sample temperature curve includes a sample heating curve under the preset heating condition and a sample cooling curve under the preset cooling condition, and the step of determining the differentiation time point of the sample temperature curve corresponding to each of the accessories on the reference temperature curve includes: Determining a first differentiation time point of a sample temperature rise curve corresponding to each of the accessories on the first reference temperature curve; Determining a second differentiation time point of the sample cooling curve corresponding to each of the accessories on the second reference temperature curve; The step of configuring a detection time period based on the differentiation time point comprises: Based on the first differentiation time point, a first detection time period is configured, where the first detection time period includes the first differentiation time points corresponding to all the sample temperature rise curves; Based on the second differentiation time point, a second detection time period is configured, and the second detection time period includes the second differentiation time points corresponding to all the sample cooling curves.

4. The device control method based on temperature detection according to claim 3, characterized in that: The step of configuring a corresponding target detection time period for the target device based on the detection time period includes: Detecting the current ambient temperature value of the target device; If the current ambient temperature value is lower than the preset temperature value, configuring the second detection time period as the target detection time period corresponding to the target device; If the current ambient temperature value is higher than a preset temperature value, the first detection time period is configured as a target detection time period corresponding to the target device.

5. The device control method based on temperature detection according to claim 3, characterized in that: The step of acquiring a first target temperature curve of the accessory monitoring point within the target detection time period corresponding to the target device includes: If the target detection time period corresponding to the target device is obtained according to the configuration of the first detection time period, then within the target detection time period, the target device is controlled to increase temperature based on the preset temperature increase condition, and a first target temperature curve of the accessory monitoring point is obtained; If the target detection time period corresponding to the target device is obtained according to the second detection time period configuration, then within the target detection time period, the target device is cooled based on the preset cooling condition, and a first target temperature curve of the accessory monitoring point is obtained.

6. The device control method based on temperature detection according to any one of claims 1 to 5, characterized in that: After the step of performing power control on the target device based on the target power parameter, the method further includes: During the operation process, the temperature curve of the monitoring points of the accessories is monitored in real time; When a second target temperature curve is monitored, a power parameter of the target device without accessories is obtained, wherein the second target temperature curve is a temperature curve corresponding to the accessory monitoring point in a time period before and after the target accessory is removed; Power control is performed on the target device based on the non-accessory power parameter.

7. A device control circuit based on temperature detection, characterized in that: The device control circuit based on temperature detection is arranged in a target device that is controlled according to temperature. The target device includes an accessory interface and an accessory monitoring point. After each accessory is connected to the target device through the accessory interface, the accessory monitoring point corresponds to a different temperature curve. Different accessories are used to correspond to different power parameters. The device control circuit based on temperature detection includes a main control module, a temperature acquisition module and a zero-crossing detection module. The main control module is electrically connected to the temperature acquisition module and the zero-crossing detection module respectively. The temperature acquisition module is configured to acquire the temperature value at the monitoring point of the accessory to obtain a temperature curve at the monitoring point of the accessory; The main control module is configured to execute the device control method based on temperature detection as described in any one of claims 1 to 6; The zero-crossing detection module is configured to provide zero-crossing point data for power control, so that the main control module adjusts a control signal corresponding to a target power parameter according to the zero-crossing point data, and performs power control on the target device based on the control signal.

8. A device control device based on temperature detection, characterized in that: The device control device is used for a target device controlled according to temperature. The target device includes an accessory interface and an accessory monitoring point. After each accessory is connected to the target device through the accessory interface, the accessory monitoring point corresponds to a different temperature curve. Different accessories are used to correspond to different power parameters. The device control device includes: A first acquisition module, configured to acquire a first target temperature curve of the accessory monitoring point within a target detection time period corresponding to the target device; A first processing module, configured to compare the first target temperature curve with the temperature curve corresponding to each of the accessories, and determine a target accessory currently connected to the target device; The first control module is used to determine a corresponding target power parameter according to the target accessory, and perform power control on the target device based on the target power parameter.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the device control method based on temperature detection as described in any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the device control method based on temperature detection according to any one of claims 1 to 6 are implemented.