Temperature control method and device of hair iron, computer equipment and storage medium
By analyzing hair information and monitoring the data of the hair iron in real time, the temperature and heating rate are automatically adjusted, which solves the problem of traditional hair iron temperature adjustment relying on manual operation and improves the safety and energy efficiency of the hair iron.
Patent Information
- Application Number
- CN202410952195.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The temperature adjustment of traditional hair irons relies on manual operation, resulting in energy waste and the risk of burns to users, and the high working temperature becomes a safety hazard.
By obtaining the hair information in the clip, analyzing hair density, humidity and other parameters, it can obtain the pressure data, temperature and current data of the hair iron in real time, automatically adjust the temperature and heating rate, and automatically stop heating when the preset time threshold is reached.
It improves the temperature adjustment accuracy and safety of the hair iron, reduces energy waste and user injury, and ensures the stability and safety of the perm effect.
Smart Images

Figure CN118760262A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hair curlers, and in particular to a temperature control method, device, computer equipment and storage medium for a hair curler. Background Art
[0002] At present, traditional hair curling irons are heated to a certain temperature through electric heating wires and then contacted with hair to achieve the perming effect. The temperature adjustment of the hair curling iron mainly depends on the barber's control of the knob at the end of the hair curling iron. However, the operating temperature of traditional hair curling irons is relatively high, which not only causes energy waste, but also easily causes burns to users. Once the hair curling iron is used improperly, the high temperature may become a safety hazard, causing trouble to people's daily lives.
[0003] The above-mentioned prior art solutions have the following defects: the temperature adjustment of the hair curler depends on manual operation, which may easily cause burns to the user, so there is room for improvement. Summary of the invention
[0004] In order to improve the flexibility of the temperature of a hair curler, the present application provides a temperature control method, device, computer equipment and storage medium for a hair curler.
[0005] The above-mentioned invention objective of the present application is achieved through the following technical solutions: A temperature control method for a hair curler, the temperature control method for a hair curler comprising: Acquire the hair information in the clip, analyze the hair information in the clip, obtain corresponding perm temperature information, and generate a perm temperature adjustment message according to the perm temperature information; According to the hair iron temperature adjustment message, real-time acquisition of hair iron pressure data, and calculation of pressure ratio information according to the hair iron pressure, and adjustment of the temperature adjustment rate according to the pressure ratio information; Acquire the temperature data and the current data of the hair iron in real time, and generate a parameter abnormality message when the temperature data and the current data of the hair iron are abnormal; The working time of the hair curler is obtained, and when the working time of the hair curler reaches a preset working time threshold, the hair curler automatically stops heating.
[0006] By adopting the above technical solution, since the temperature adjustment of the hair curler mainly depends on the barber's control of the knob at the tail of the hair curler, and the working temperature is high, it will not only cause energy waste, but also easily cause burns to the user. Once the hair curler is used improperly, the high temperature may become a safety hazard, causing trouble to people's daily life. Therefore, the present application can more accurately determine the appropriate perming temperature by analyzing the hair information in the clip, such as the density and humidity of the hair, thereby reducing the situation where the hair is overheated or the temperature is insufficient and the perming effect is poor; by obtaining the hair curler pressure data in real time and adjusting the perming temperature according to the hair curler pressure data, the stability and safety of the perming process can be improved; by monitoring whether the temperature and current data are abnormal, once an abnormal situation occurs, a parameter abnormality message will be generated in time, thereby reminding the user to check or stop the operation, reducing safety problems or hair damage caused by abnormal situations; by setting a preset working time threshold, the hair curler can automatically stop heating, reducing the problem of overheating or excessive energy consumption caused by long-term use, and improving the safety and energy saving of the hair curler.
[0007] In a preferred example, the present application may be further configured as follows: the step of obtaining the hair information in the clip and generating a hair curler temperature adjustment message according to the hair information in the clip specifically includes: According to the hair information in the clip, obtaining hair density data, hair humidity data and hair quality information; The hair density data, the hair humidity data and the hair quality information are input into a preset perm temperature adjustment model to obtain a corresponding perm temperature adjustment message.
[0008] By adopting the above technical solution, by obtaining hair density, humidity and hair quality information, and combining it with the preset perm temperature adjustment model, the suitable perm temperature can be determined more accurately, thereby improving the perm effect, providing each user with a personalized perm experience, and making the perm process more in line with user needs and expectations.
[0009] In a preferred example, the present application can be further configured as follows: the construction of the perm temperature adjustment model specifically includes: Acquire test perm temperature data and its corresponding perm bending result, perform bending degree screening according to the perm bending result, and when the bending degree reaches a preset bending degree, select the corresponding test perm temperature data as training temperature data; Acquire test hair information corresponding to the training temperature data, and generate a model training data set according to the training temperature data and the test hair data; The system preset machine learning model is trained according to the model training data set to obtain the perm temperature adjustment model.
[0010] By adopting the above technical solution, by obtaining the test perm temperature data and its corresponding perm bending results, and screening the bending degree according to the perm bending results, more accurate data used for model training can be obtained, thereby improving the accuracy of model training; through model training, the response of different types of hair to perm temperature can be better understood, thereby optimizing the perm effect and making the perm result more ideal.
[0011] In a preferred example, the present application can be further configured as follows: acquiring the hair iron pressure data in real time according to the hair iron temperature adjustment message, calculating the pressure ratio information according to the hair iron pressure, and adjusting the temperature adjustment rate according to the pressure ratio information, specifically including: When the initial hair iron pressure data reaches the opening pressure preset by the system, heating is performed according to the hair iron temperature adjustment message; The pressure ratio information is calculated according to the real-time hair iron pressure data and the clamping pressure data preset by the system, and the corresponding temperature adjustment rate is generated according to the pressure ratio information.
[0012] By adopting the above technical solution, heating is automatically started according to the preset opening pressure, which simplifies the user operation process and makes the perm process more convenient and automated. At the same time, it avoids the potential risks caused by heating when the hair is not ready, and protects the safety of the hair. By dynamically adjusting the temperature adjustment rate, it can ensure that the hair is properly heated during the perm process to achieve the ideal perm effect, reduce the problem of poor perm effect caused by insufficient or excessive temperature, and gradually reduce the heating rate when the pressure decreases, thereby improving safety during use.
[0013] In a preferred example, the present application can be further configured as follows: the real-time acquisition of the temperature data and the current data of the hair iron, when the temperature data and the current data of the hair iron are abnormal, generating a parameter abnormality message, specifically including: When the temperature data of the hair iron exceeds the upper temperature limit preset by the system, a temperature-to-high message is generated; when the temperature data of the hair iron does not change within a preset time period, a heating abnormality message is generated; When the current data of the hair iron reaches the system preset warning value, a current over-high message is generated; when the fluctuation amount of the current data of the hair iron within a preset time period reaches the system preset fluctuation range threshold, a current abnormality message is generated.
[0014] By adopting the above technical solution, when the temperature exceeds the preset upper limit or the current reaches the warning value, a corresponding message is generated to promptly remind the user of the possible safety hazards of the hair curler, reduce the occurrence of safety accidents caused by excessive temperature or excessive current, and ensure the safety of the user and hair; when the temperature data of the hair curler does not change within a preset time period or the current data fluctuation exceeds a preset threshold, a corresponding message is generated to remind the user of possible heating abnormalities or current abnormalities, reminding the user to maintain and service the equipment in a timely manner to extend the service life of the equipment.
[0015] In a preferred example, the present application can be further configured as follows: the temperature control method of the hair iron further includes: The hair temperature information is obtained from the hair information in the clip. When the hair temperature information reaches a preset temperature threshold, the heating operation is stopped and a message indicating that the hair temperature is too high is generated.
[0016] By adopting the above technical solution, heating is stopped when the hair temperature reaches a preset threshold, which can effectively reduce hair damage caused by overheating, protect the health of the hair, reduce excessive heat stimulation to the scalp and hair, and make the perm process more comfortable.
[0017] The second object of the invention is achieved by the following technical solutions: A temperature control device for a hair curler, the temperature control device for a hair curler comprising: A temperature calculation module, used for obtaining hair information in the clip, analyzing the hair information in the clip, obtaining corresponding perm temperature information, and generating a perm device temperature adjustment message according to the perm temperature information; A temperature adjustment module, used for acquiring the pressure data of the hair iron in real time according to the temperature adjustment message of the hair iron, calculating the pressure ratio information according to the pressure of the hair iron, and adjusting the temperature adjustment rate according to the pressure ratio information; An abnormality detection module, used for acquiring the temperature data and the current data of the hair iron in real time, and generating a parameter abnormality message when the temperature data and the current data of the hair iron are abnormal; The heating stop module is used to obtain the working time of the hair curler. When the working time of the hair curler reaches a preset working time threshold, the hair curler automatically stops heating.
[0018] By adopting the above technical solution, since the temperature adjustment of the hair curler mainly depends on the barber's control of the knob at the tail of the hair curler, and the working temperature is high, it will not only cause energy waste, but also easily cause burns to the user. Once the hair curler is used improperly, the high temperature may become a safety hazard, causing trouble to people's daily life. Therefore, the present application can more accurately determine the appropriate perming temperature by analyzing the hair information in the clip, such as the density and humidity of the hair, thereby reducing the situation where the hair is overheated or the temperature is insufficient and the perming effect is poor; by obtaining the hair curler pressure data in real time and adjusting the perming temperature according to the hair curler pressure data, the stability and safety of the perming process can be improved; by monitoring whether the temperature and current data are abnormal, once an abnormal situation occurs, a parameter abnormality message will be generated in time, thereby reminding the user to check or stop the operation, reducing safety problems or hair damage caused by abnormal situations; by setting a preset working time threshold, the hair curler can automatically stop heating, reducing the problem of overheating or excessive energy consumption caused by long-term use, and improving the safety and energy saving of the hair curler.
[0019] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the temperature control method of the hair curler are implemented.
[0020] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the temperature control method of the hair curler are implemented.
[0021] In summary, the present application includes at least one of the following beneficial technical effects: 1. By obtaining the test perm temperature data and its corresponding perm bending results, and screening the bending degree according to the perm bending results, more accurate data used for model training can be obtained, thereby improving the accuracy of model training; through model training, the response of different types of hair to perm temperature can be better understood, thereby optimizing the perm effect and making the perm result more ideal; 2. Automatically start heating according to the preset opening pressure, which simplifies the user operation process, makes the perm process more convenient and automated, and at the same time avoids the potential risks caused by heating when the hair is not ready, protecting the safety of the hair; by dynamically adjusting the temperature adjustment rate, it can ensure that the hair is properly heated during the perm process to achieve the ideal perm effect, reduce the problem of poor perm effect caused by insufficient or excessive temperature, and gradually reduce the heating rate when the pressure decreases, improving safety during use; 3. By generating corresponding messages when the temperature exceeds the preset upper limit or the current reaches the warning value, the user can be reminded in time to pay attention to the possible safety hazards of the hair curler, reduce the occurrence of safety accidents caused by excessive temperature or excessive current, and ensure the safety of users and hair; by generating corresponding messages when the temperature data of the hair curler does not change within the preset time period or the current data fluctuation exceeds the preset threshold, the user can be reminded of possible heating abnormalities or current abnormalities, and the user can be reminded to maintain and service the equipment in time to extend the service life of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flow chart of a temperature control method of a hair curler in one embodiment of the present application; Figure 2 is a flow chart for implementing step S10 in a temperature control method for a hair curler in one embodiment of the present application; Figure 3 It is a flowchart for realizing the construction of a perm temperature adjustment model in a temperature control method of a hair curler in one embodiment of the present application; Figure 4 is a flowchart for implementing step S20 in the temperature control method of a hair curler in one embodiment of the present application; Figure 5 is a flowchart for implementing step S30 in the temperature control method of a hair curler in one embodiment of the present application; Figure 6 is another implementation flow chart of the temperature control method of the hair curler in one embodiment of the present application; Figure 7 This is a principle block diagram of a temperature control device for a hair curler in one embodiment of the present application; Figure 8 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The present application is further described in detail below in conjunction with the accompanying drawings.
[0024] In one embodiment, if Figure 1 As shown, the present application discloses a temperature control method for a hair curler, which specifically includes the following steps: S10: Acquire the hair information in the clip, analyze the hair information in the clip, obtain corresponding perm temperature information, and generate a perm temperature adjustment message according to the perm temperature information.
[0025] In this embodiment, the hair information in the hair iron refers to the hair information in the hair iron plate. The hair perming temperature information refers to the temperature information used during hair perming.
[0026] Specifically, information such as the thickness, humidity, and range of the hair in the clamp is obtained through a sensor installed on the curling iron, and the obtained information is analyzed. For example, the density of the hair is analyzed through information such as thickness and range, and the hair quality is analyzed through thickness and humidity to obtain the hair information in the clamp. The hair information in the clamp is then analyzed to obtain the corresponding temperature used during perming, that is, the perming temperature information, and a temperature adjustment message of the curling iron is generated based on the perming temperature information.
[0027] S20: According to the hair iron temperature adjustment message, the hair iron pressure data is obtained in real time, and the pressure ratio information is calculated according to the hair iron pressure, and the temperature adjustment rate is adjusted according to the pressure ratio information.
[0028] In this embodiment, the hair iron pressure data refers to the pressure data applied to the hair iron by a person when using the hair iron. The pressure ratio information refers to the ratio of the current pressure to the pressure when the hair iron is clamped.
[0029] Specifically, during the perming process, the pressure applied by the curling iron on the hair is monitored in real time by a pressure sensor. Based on the real-time acquired pressure data of the curling iron and a preset maximum pressure range, the pressure ratio information is calculated to determine the clamping degree of the hair. Based on the calculated pressure ratio information, the temperature regulation rate of the curling iron is adjusted. A higher pressure ratio means a higher clamping degree, so the temperature needs to be adjusted faster to maintain the perming effect.
[0030] S30: Acquire the temperature data and the current data of the hair iron in real time, and generate a parameter abnormality message when the temperature data and the current data of the hair iron are abnormal.
[0031] In this embodiment, the parameter abnormality message refers to a message triggered when an abnormality occurs in the temperature or current of the hair curler.
[0032] Specifically, a temperature sensor is used to monitor the temperature of the heating plate or heating element of the hair curler in real time. At the same time, a current sensor is used to monitor the current of the hair curler in real time to determine the working status and current consumption of the heating element. When the temperature data exceeds the preset safety range or the current data is abnormal, the corresponding parameter abnormality message is triggered.
[0033] S40: Acquire the working time of the hair curler. When the working time of the hair curler reaches a preset working time threshold, the hair curler automatically stops heating.
[0034] In this embodiment, the working time of the hair curler refers to the length of time the hair curler continues to heat.
[0035] Specifically, a preset working time threshold is set in the control system of the hair curler, that is, the maximum working time of the hair curler each time. During the operation of the hair curler, the current continuous heating time value is monitored in real time. When the working time reaches the preset threshold, a stop heating signal is sent to the hair curler to control the hair curler to stop heating.
[0036] In one embodiment, if Figure 2 As shown, in step S10, the hair information in the clip is obtained, and a hair curler temperature adjustment message is generated according to the hair information in the clip, which specifically includes: S11: According to the hair information in the clip, the hair density data, hair humidity data and hair quality information are obtained.
[0037] Specifically, after analyzing the hair information in the clip, the hair density data, hair humidity data and hair quality information are obtained to facilitate subsequent analysis and adjustment of the heating temperature.
[0038] S12: inputting the hair density data, the hair humidity data and the hair quality information into a preset perm temperature adjustment model to obtain a corresponding perm temperature adjustment message.
[0039] Specifically, the hair density data, hair humidity data and hair quality information are input into a preset perm temperature adjustment model, the model calculates the temperature that should be used when perming the current hair information, and generates a perm temperature adjustment message based on the temperature to control the perm to adjust to the temperature value.
[0040] In one embodiment, if Figure 3 As shown, the construction of the perm temperature regulation model specifically includes: S101: Acquire test perm temperature data and its corresponding perm bending result, screen the bending degree according to the perm bending result, and when the bending degree reaches a preset bending degree, select the corresponding test perm temperature data as training temperature data.
[0041] Specifically, a series of perm data are collected, including perm temperature data and corresponding perm bending results, and according to the bending degree data, perm temperature data that meets the preset bending degree requirements are screened out as perm temperature samples.
[0042] S102: Acquire test hair information corresponding to the training temperature data, and generate a model training data set according to the training temperature data and the test hair data.
[0043] Specifically, for the selected training temperature data, the corresponding hair information is collected, and the collected training temperature data and the corresponding hair information are integrated into a model training data set.
[0044] S103: Training a system preset machine learning model according to the model training data set to obtain a perm temperature adjustment model.
[0045] Specifically, the system preset machine learning models, such as regression models and classification models, are iteratively trained according to the model training data set, so that the machine learning model continuously understands the relationship between different hair information and the perm temperature used therein, until the test data, i.e., hair information, is input, and the error value between the output result, i.e., temperature data and the established result does not exceed 5%, then a perm temperature adjustment model is generated.
[0046] In one embodiment, if Figure 4 As shown, in step S20, that is, according to the hair iron temperature adjustment message, the hair iron pressure data is obtained in real time, and the pressure ratio information is calculated according to the hair iron pressure, and the temperature adjustment rate is adjusted according to the pressure ratio information, which specifically includes: S21: When the initial hair iron pressure data reaches the system preset opening pressure, heating is performed according to the hair iron temperature adjustment message.
[0047] Specifically, the pressure data of the hair curler is monitored in real time through a pressure sensor. When the pressure data reaches a system preset opening pressure, it indicates that the user has clamped the hair and heating can begin.
[0048] S22: Calculate pressure ratio information according to the real-time hair iron pressure data and the clamping pressure data preset by the system, and generate a corresponding temperature adjustment rate according to the pressure ratio information.
[0049] Specifically, during the heating process, the pressure data of the hair curler is continuously monitored in real time, and the monitored pressure data is ratioed with the preset clamping pressure data to obtain pressure ratio information. The temperature adjustment rate is adjusted according to the calculated pressure ratio information. If the pressure ratio is high, it means that the hair is clamped to a large extent, and the temperature adjustment rate needs to be increased to maintain the perm effect. If the pressure ratio is low, it means that the hair is clamped to a small extent, and the temperature adjustment rate can be appropriately slowed down to adapt to the user's current needs, while reducing energy consumption and accidental touches.
[0050] In one embodiment, if Figure 5 As shown, in step S30, the temperature data and the current data of the hair iron are acquired in real time. When the temperature data and the current data of the hair iron are abnormal, a parameter abnormality message is generated, which specifically includes: S31: When the temperature data of the hair iron exceeds the upper temperature limit preset by the system, a high temperature message is generated; when the temperature data of the hair iron does not change within a preset time period, a heating abnormality message is generated.
[0051] Specifically, the temperature data of the hair curler is monitored in real time. When the temperature data exceeds the upper temperature limit preset by the system, a high temperature message is generated. When the temperature data of the hair curler does not change within a preset time period, a heating abnormality message is generated.
[0052] S32: When the current data of the hair iron reaches the system preset warning value, a current over-high message is generated; when the fluctuation amount of the current data of the hair iron within a preset time period reaches the system preset fluctuation range threshold, a current abnormality message is generated.
[0053] Specifically, the current data of the hair curler is monitored in real time. When the current data reaches the system preset warning value, a high current message is generated. When the fluctuation amount of the current data of the hair curler within a preset time period reaches the system preset fluctuation range threshold, a current abnormality message is generated.
[0054] In one embodiment, if Figure 6 As shown, the temperature control method of the hair curler also includes: S50: Acquire hair temperature information from the hair information in the clip. When the hair temperature information reaches a preset temperature threshold, stop the heating operation and generate a message indicating that the hair temperature is too high.
[0055] Specifically, a preset hair temperature threshold is set in the system. That is, when the hair temperature exceeds the threshold, it will cause greater damage to the hair. The temperature of the hair clamped by the clamp is monitored in real time by a sensor such as a temperature sensor or an infrared sensor. The heating operation needs to be stopped. When the hair temperature reaches the preset temperature threshold, the heating operation is stopped immediately to prevent the hair from being damaged by overheating.
[0056] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0057] In one embodiment, a temperature control device for a hair iron is provided, and the temperature control device for a hair iron corresponds one-to-one with the temperature control method for a hair iron in the above embodiment. Figure 7 As shown, the temperature control device of the hair iron includes a temperature calculation module, a temperature adjustment module, an abnormality detection module, and a heating stop module. The detailed description of each functional module is as follows: The temperature calculation module is used to obtain the hair information in the clip, analyze the hair information in the clip, obtain the corresponding perm temperature information, and generate the perm temperature adjustment message according to the perm temperature information; The temperature adjustment module is used to obtain the pressure data of the hair iron in real time according to the temperature adjustment message of the hair iron, calculate the pressure ratio information according to the pressure of the hair iron, and adjust the temperature adjustment rate according to the pressure ratio information; An abnormality detection module, used for obtaining the temperature data and the current data of the hair iron in real time, and generating a parameter abnormality message when the temperature data and the current data of the hair iron are abnormal; The heating stop module is used to obtain the working time of the hair curler. When the working time of the hair curler reaches a preset working time threshold, the hair curler automatically stops heating.
[0058] Optionally, the temperature calculation module specifically includes: The hair information acquisition submodule is used to acquire the hair density data, hair humidity data and hair quality information according to the hair information in the clip; The temperature analysis submodule is used to input hair density data, hair humidity data and hair quality information into a preset perm temperature adjustment model to obtain corresponding perm temperature adjustment messages.
[0059] The optional perm and hair temperature regulation model construction specifically includes: The temperature training data acquisition submodule is used to obtain the test perm temperature data and its corresponding perm bending results, and to screen the bending degree according to the perm bending results. When the bending degree reaches a preset bending degree, the corresponding test perm temperature data is selected as the training temperature data; The hair training data acquisition submodule is used to obtain the test hair information corresponding to the training temperature data, and generate a model training data set according to the training temperature data and the test hair data; The model training submodule is used to train the system preset machine learning model according to the model training data set to obtain a perm temperature adjustment model.
[0060] Optionally, the temperature adjustment module specifically includes: The heating start submodule is used to heat the hair according to the hair iron temperature adjustment message when the initial hair iron pressure data reaches the system preset opening pressure; The rate adjustment submodule is used to calculate the pressure ratio information according to the real-time hair curler pressure data and the clamping pressure data preset by the system, and generate the corresponding temperature adjustment rate according to the pressure ratio information.
[0061] Optionally, the anomaly detection module specifically includes: The temperature detection submodule is used to generate a high temperature message when the temperature data of the hair iron exceeds the upper temperature limit preset by the system, and to generate a heating abnormality message when the temperature data of the hair iron does not change within a preset time period; The current detection submodule is used to generate a current over-high message when the current data of the hair curler reaches the system preset warning value, and to generate a current abnormality message when the fluctuation amount of the current data of the hair curler within a preset time period reaches the system preset fluctuation range threshold.
[0062] Optionally, the temperature control method of the hair curler further includes: The heating protection module is used to obtain hair temperature information from the hair information in the clip. When the hair temperature information reaches a preset temperature threshold, the heating operation is stopped and a hair temperature over-high message is generated.
[0063] The specific definition of the temperature control device of the hair iron can be found in the definition of the temperature control method of the hair iron mentioned above, and will not be repeated here. Each module in the temperature control device of the hair iron can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the modules.
[0064] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a temperature control method of a hair curler is implemented.
[0065] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Acquire the hair information in the clip, analyze the hair information in the clip, obtain the corresponding perm temperature information, and generate the perm temperature adjustment message according to the perm temperature information; According to the hair iron temperature adjustment message, the hair iron pressure data is obtained in real time, and the pressure ratio information is calculated according to the hair iron pressure, and the temperature adjustment rate is adjusted according to the pressure ratio information; Acquire the temperature data and current data of the hair iron in real time, and generate a parameter abnormality message when the temperature data and current data of the hair iron are abnormal; Get the working time of the hair curler. When the working time of the hair curler reaches the preset working time threshold, the hair curler automatically stops heating.
[0066] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Acquire the hair information in the clip, analyze the hair information in the clip, obtain the corresponding perm temperature information, and generate the perm temperature adjustment message according to the perm temperature information; According to the hair iron temperature adjustment message, the hair iron pressure data is obtained in real time, and the pressure ratio information is calculated according to the hair iron pressure, and the temperature adjustment rate is adjusted according to the pressure ratio information; Acquire the temperature data and current data of the hair iron in real time, and generate a parameter abnormality message when the temperature data and current data of the hair iron are abnormal; Get the working time of the hair curler. When the working time of the hair curler reaches the preset working time threshold, the hair curler automatically stops heating.
[0067] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0068] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0069] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for controlling the temperature of a hair curler, It is characterized in that The temperature control method of the hair curler comprises: Acquire the hair information in the clip, analyze the hair information in the clip, obtain corresponding perm temperature information, and generate a perm temperature adjustment message according to the perm temperature information; According to the hair iron temperature adjustment message, real-time acquisition of hair iron pressure data, and calculation of pressure ratio information according to the hair iron pressure, and adjustment of the temperature adjustment rate according to the pressure ratio information; Acquire the temperature data and the current data of the hair iron in real time, and generate a parameter abnormality message when the temperature data and the current data of the hair iron are abnormal; The working time of the hair curler is obtained, and when the working time of the hair curler reaches a preset working time threshold, the hair curler automatically stops heating.
2. The temperature control method of a hair curler according to claim 1, It is characterized in that The step of obtaining the hair information in the clip and generating a hair curler temperature adjustment message according to the hair information in the clip specifically includes: According to the hair information in the clip, obtaining hair density data, hair humidity data and hair quality information therein; The hair density data, the hair humidity data and the hair quality information are input into a preset perm temperature adjustment model to obtain a corresponding perm temperature adjustment message.
3. The temperature control method of a hair iron according to claim 2, It is characterized in that The construction of the perm temperature regulation model specifically includes: Acquire test perm temperature data and its corresponding perm bending result, perform bending degree screening according to the perm bending result, and when the bending degree reaches a preset bending degree, select the corresponding test perm temperature data as training temperature data; Acquire test hair information corresponding to the training temperature data, and generate a model training data set according to the training temperature data and the test hair data; The system preset machine learning model is trained according to the model training data set to obtain the perm temperature adjustment model.
4. The temperature control method of a hair iron according to claim 1, It is characterized in that The method of acquiring the pressure data of the hair iron in real time according to the hair iron temperature adjustment message, calculating the pressure ratio information according to the hair iron pressure, and adjusting the temperature adjustment rate according to the pressure ratio information specifically includes: When the initial hair iron pressure data reaches the opening pressure preset by the system, heating is performed according to the hair iron temperature adjustment message; The pressure ratio information is calculated according to the real-time hair iron pressure data and the clamping pressure data preset by the system, and the corresponding temperature adjustment rate is generated according to the pressure ratio information.
5. The temperature control method of a hair iron according to claim 1, It is characterized in that The real-time acquisition of the temperature data and the current data of the hair iron and the generation of a parameter abnormality message when the temperature data and the current data of the hair iron are abnormal specifically include: When the temperature data of the hair iron exceeds the upper temperature limit preset by the system, a temperature-to-high message is generated; when the temperature data of the hair iron does not change within a preset time period, a heating abnormality message is generated; When the current data of the hair iron reaches the system preset warning value, a current over-high message is generated; when the fluctuation amount of the current data of the hair iron within a preset time period reaches the system preset fluctuation range threshold, a current abnormality message is generated.
6. The temperature control method of a hair iron according to claim 1, It is characterized in that The temperature control method of the hair curler further comprises: The hair temperature information is obtained from the hair information in the clip. When the hair temperature information reaches a preset temperature threshold, the heating operation is stopped and a message indicating that the hair temperature is too high is generated.
7. A temperature control device for a hair curler, It is characterized in that The temperature control device of the hair curler comprises: A temperature calculation module, used for obtaining hair information in the clip, analyzing the hair information in the clip, obtaining corresponding perm temperature information, and generating a perm device temperature adjustment message according to the perm temperature information; A temperature adjustment module, used for acquiring the pressure data of the hair iron in real time according to the temperature adjustment message of the hair iron, calculating the pressure ratio information according to the pressure of the hair iron, and adjusting the temperature adjustment rate according to the pressure ratio information; An abnormality detection module, used for acquiring the temperature data and the current data of the hair iron in real time, and generating a parameter abnormality message when the temperature data and the current data of the hair iron are abnormal; The heating stop module is used to obtain the working time of the hair curler. When the working time of the hair curler reaches a preset working time threshold, the hair curler automatically stops heating.
8. The temperature control device of the hair iron according to claim 7, It is characterized in that The temperature calculation module specifically includes: A hair information acquisition submodule, used to acquire hair density data, hair humidity data and hair quality information according to the hair information in the clip; The temperature analysis submodule is used to input the hair density data, the hair humidity data and the hair quality information into a preset perm temperature adjustment model to obtain a corresponding perm temperature adjustment message.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the temperature control method of the hair iron according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the temperature control method of a hair iron according to any one of claims 1 to 6 are implemented.
