Electric heater control method and device, electric heater, storage medium and program product
By scanning a preset QR code with the electric heater's barcode scanner, the location can be locked and the operating parameters can be set adaptively, thus solving the risk of burns and fires when the electric heater is moved, and improving safety and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2025-12-24
- Publication Date
- 2026-04-17
AI Technical Summary
Existing electric heaters pose a risk of burns and fires when moved, lacking effective location locking and movement safety protection mechanisms.
The heater uses a barcode scanner to scan a pre-set QR code on the surface to obtain QR code information and set the target operating parameters. The heating and humidifying components are activated only when the correct QR code is scanned, and the operation is automatically cut off when the heater is moved.
It achieves position locking of the electric heater, reducing the risk of burns and fires, improving safety and user experience, and can adapt to different usage scenarios without requiring manual operation by the user.
Smart Images

Figure CN121876508A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electric heater control technology, and in particular to an electric heater control method, device, electric heater, storage medium and program product. Background Technology
[0002] With the increasing demand for heating in winter, electric heaters that integrate heating and ultrasonic humidification functions have become widely used. These heaters use ultrasonic technology to atomize water and diffuse it into the air, achieving both heating and humidification. However, the surface temperature of these heaters can reach over 60°C during operation. If they are moved carelessly during operation, they can easily cause burns. Furthermore, water from the ultrasonic humidification module may spill, further increasing the risk of fire. Existing electric heaters lack effective position locking and movement safety mechanisms, failing to promptly shut off dangerous components when moved, posing a serious safety hazard. Summary of the Invention
[0003] Therefore, it is necessary to provide a control method, device, electric heater, storage medium, and program product that can accurately identify the location status and ensure safe use of electric heaters, addressing the technical problem that existing electric heaters are prone to causing burns and fires when moved.
[0004] In a first aspect, this application provides a method for controlling an electric heater, including:
[0005] After the electric heater is turned on, it controls the barcode scanner to scan the QR code preset on the placement surface and obtain the QR code information;
[0006] If the QR code information is determined to be the preset correct information, the target operating parameters of the electric heater are set according to the usage environment information in the QR code information, and the heating component and humidification component of the electric heater are controlled to work according to the target operating parameters.
[0007] If the QR code information is not obtained or the QR code information is determined to be incorrect, the heating component and the humidification component will be controlled to stop working.
[0008] In one embodiment, the barcode scanner includes a first barcode scanner and a second barcode scanner; the QR code preset on the placement plane includes a first QR code and a second QR code, and the method further includes:
[0009] The system controls the first and second barcode scanners to scan the corresponding first and second QR codes synchronously or at preset intervals; wherein the preset position of the first QR code corresponds to the setting position of the first barcode scanner on the electric heater, and the preset position of the second QR code corresponds to the setting position of the second barcode scanner on the electric heater.
[0010] In one embodiment, the usage environment information in the QR code information includes one of a first environment identifier, a second environment identifier, or a third environment identifier; the operating parameters include operating power and operating mode, and the operating parameters are different for different environment identifiers;
[0011] The step of setting target operating parameters for the electric heater based on the usage environment information in the QR code information, and controlling the heating and humidifying components of the electric heater to operate according to the target operating parameters, includes:
[0012] If the environmental information includes a first environmental identifier, the heating element and humidifying element of the electric heater are controlled to work according to the first operating parameters.
[0013] If the environmental information includes a second environmental identifier, the heating element and humidification element of the electric heater are controlled to work according to the second operating parameters.
[0014] If the environmental information includes a third environmental identifier, the heating element and humidifying element of the electric heater are controlled to operate according to the third operating parameters.
[0015] In one embodiment, the humidification assembly includes a mist outlet unit, a water injection unit, an atomizing unit, a fan unit, a water tank, and a water level detection unit; the method further includes:
[0016] The mist cover unit and the water injection unit are controlled to open to inject water into the water tank;
[0017] The water level in the tank is detected in real time by the water level detection unit.
[0018] When the water level in the tank is higher than the first water level, the water injection unit is controlled to shut down, and the atomizing unit and the fan unit are controlled to operate according to the target operating parameters.
[0019] When the water level in the tank is less than or equal to the second water level and greater than the third water level, the water injection unit is controlled to open, and the atomizing unit and the fan unit are controlled to operate according to the target operating parameters; the first water level is greater than the second water level, and the second water level is greater than the third water level;
[0020] If the water level in the tank is less than or equal to the third water level, the atomizing unit and the fan unit will be shut down, and a water shortage alarm will be triggered.
[0021] In one embodiment, the heating component includes a temperature detection unit, a heating element, and a heat-insulating valve; the method further includes:
[0022] The surface temperature of the heating element is detected in real time by the temperature detection unit.
[0023] If the surface temperature is greater than the preset maximum temperature, reduce the heating power of the heating element and open the heat insulation valve to connect the heating space and the humidification space;
[0024] If the surface temperature is lower than the preset minimum temperature, the heat insulation valve is closed, and the heating element is controlled to work according to the target operating parameters.
[0025] In one embodiment, the method further includes:
[0026] If the QR code information is not obtained or the QR code information is determined to be incorrect, an audible and visual alarm will be triggered and an alarm prompt message will be displayed.
[0027] Secondly, this application also provides an electric heater control device, comprising:
[0028] The scanning control module is used to control the barcode scanner to scan the QR code preset on the placement plane and obtain the QR code information;
[0029] The working control module is used to, if it is determined that the QR code information is preset correct information, set the target working parameters of the electric heater according to the usage environment information in the QR code information, and control the heating component and humidification component of the electric heater to work according to the target working parameters;
[0030] The safety control module is used to control the heating component and the humidification component to stop working if the QR code information is not obtained or the QR code information is determined to be erroneous.
[0031] Thirdly, this application also provides an electric heater, including: a control component, a barcode scanner, a heating component, and a humidifying component; the control component is respectively connected to the barcode scanner, the heating component, and the humidifying component;
[0032] The control component is used to perform the steps of the electric heater control method described in the first aspect.
[0033] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the electric heater control method described in the first aspect.
[0034] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the electric heater control method described in the first aspect.
[0035] In summary, this application proposes a method, device, electric heater, storage medium, and program product for controlling an electric heater, comprising: after the electric heater is turned on, controlling a barcode scanner to scan a pre-set QR code on a placement plane to obtain QR code information; if the QR code information is determined to be pre-set correct information, setting target operating parameters for the electric heater based on the usage environment information in the QR code information, and controlling the heating element and humidification element of the electric heater to operate according to the target operating parameters; if the QR code information is not obtained or is determined to be incorrect information, controlling the heating element and humidification element to stop operating. This application achieves position locking of the electric heater through the cooperation of a barcode scanner and a pre-set QR code, starting operation only when a correct QR code is scanned, and automatically cutting off the heating element and humidification module when the heater is moved, effectively reducing the risk of burns and fire. Attached Figure Description
[0036] Figure 1 This is a structural block diagram of an electric heater in one embodiment;
[0037] Figure 2 This is a schematic diagram of the structure of an electric heater in one embodiment;
[0038] Figure 3 This is a flowchart illustrating an electric heater control method in one embodiment;
[0039] Figure 4 This is a flowchart illustrating the steps involved in controlling the operation of the heating element and the humidification element in one embodiment.
[0040] Figure 5 This is a flowchart illustrating the steps involved in controlling the operation of the humidification component in one embodiment.
[0041] Figure 6 This is a flowchart illustrating the steps for controlling the operation of a heating component in one embodiment.
[0042] Figure 7 This is a structural block diagram of an electric heater control device in one embodiment;
[0043] Figure 8 This is an internal structural diagram of a computer device in one embodiment.
[0044] Summary of attached image labels:
[0045] Control component-110, barcode scanner-120, first barcode scanner-121, second barcode scanner-122, heating component-130, temperature detection unit-131, heating element-132, heat insulation valve-133, humidification component-140, mist outlet cover-141, mist outlet-142, water injection unit-143, atomization unit-144, fan unit-145, water tank-146, water level detection unit-147, display component-150. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0047] The electric heater control method provided in this application embodiment can be applied to, for example, Figure 1 The electric heater shown in this embodiment includes a control component 110, a barcode scanner 120, a heating component 130, a humidifying component 140, and a display component. The control component 110 is connected to the barcode scanner 120, the heating component 130, the humidifying component 140, and the display component.
[0048] Specifically, such as Figure 2 As shown, the control component 110 can use a microcontroller unit (MCU) as the main control unit to coordinate the operation of various modules and process scan data, environmental parameters, and user commands. In this embodiment, scan data refers to the data collected by the barcode scanner 120 during scanning, including correct and incorrect scan data. Environmental parameters refer to the environmental information obtained by the barcode scanner 120 when scanning a specified QR code, including identification information corresponding to scenarios such as living room, dining room, and room. User commands refer to the control commands generated or received by the electric heater when the user operates it. In practical applications, users can directly operate the electric heater to generate corresponding control commands, or they can operate other terminals such as mobile terminals and remote control terminals to communicate remotely with the electric heater and send corresponding control commands to it.
[0049] The barcode scanner 120 is a device that uses optical principles to read barcode information. In this embodiment, the barcode scanner 120 is mainly used to identify QR codes and read the QR code information they carry. Specifically, the QR code information includes preset codes, environmental information, and other data related to the control of the electric heater. The preset codes can be used as a basis for subsequent judgments on whether the QR code is a correct preset QR code, and the environmental information can be used to subsequently determine the actual control mode and operating parameters of the heating element 130 and the humidifying element 140. In this embodiment, as... Figure 2 As shown, the number of barcode scanners 120 can be one or two. In feasible embodiments, the number of barcode scanners 120 can also be multiple, depending on the needs of the actual application scenario. When there are two or more barcode scanners 120, the number of barcode scanners 120 corresponds to the number of QR codes on the preset placement plane.
[0050] In this embodiment, QR codes carrying encoded information and environmental information can be pre-placed on a preset surface in various scenarios. These scenarios include, but are not limited to, offices, homes, living rooms, dining rooms, gyms, and bedrooms.
[0051] In this embodiment, the humidification component 140 is mainly used to humidify the air and output air with a preset humidity through the air supply channel. Specifically, as Figure 2 As shown, the humidification assembly 140 in this embodiment includes a mist cover unit, a water injection unit 143, an atomization unit 144, a fan unit 145, a water tank 146, and a water level detection unit 147. The mist cover unit includes a mist outlet cover 141 and a mist outlet 142. After the atomization unit 144 atomizes the water in the water tank 146, the humidified air is output through the mist outlet 142. The mist outlet cover 141 controls the open / closed state of the mist outlet 142. When the mist outlet cover 141 is closed, the mist outlet 142 is blocked. When the mist outlet cover 141 is open, the mist outlet 142 is open. The water injection unit 143 includes a water tank, a water pump, and a water valve. The water injection unit 143 injects water from the water tank into the water tank 146. The water pump provides power for water transfer, and the water valve controls the open / closed state of the water tank and the water tank 146. When the water valve is open, the water tank and water trough 146 are connected; when the water valve is closed, the water tank and water trough 146 are disconnected. The control component 110 sends control signals to the water pump and water valve to inject water into the water trough 146. The fan unit 145 is located in the air supply channel to provide power to the air, causing the air to flow in a specified direction, so that the air carrying water mist is output through the mist outlet 142 with preset humidity. The atomization unit 144 includes an atomizing plate and an atomizing sheet to atomize the water. The water level detection unit 147 can use various types of water level sensors and is located inside the water trough 146 to collect the water level in the water trough 146. In one embodiment, the fan unit 145 can provide power to the air, causing the humidified air to flow to the environment where the heating element 132 is located, so as to cool the heating element 132.
[0052] It is worth noting that each component of the humidification assembly 140 can be selected according to the actual type of electric heater and application needs in the actual application scenario. This embodiment does not limit the specific component type.
[0053] In this embodiment, the heating element 130 is mainly used to heat the air and output hot air through the air supply channel. Specifically, as Figure 2As shown, the heating component 130 in this embodiment includes a temperature detection unit 131, a heating element 132, and a heat insulation valve 133. The temperature detection unit 131, the heating element 132, and the heat insulation valve 133 are all connected to the control component 110. The temperature detection unit 131 is located near or directly on the heating element 132, and is used to collect temperature data from the surface of the heating element 132. The heat insulation valve 133 is located at the connection between the heating space and the humidification space, and is used to control the continuity between the two spaces. When the heat insulation valve 133 is open, the heating space and the humidification space are connected; when the heat insulation valve 133 is closed, the heating space and the humidification space are disconnected. In this embodiment, both the heating space and the humidification space are internal spaces of the electric heater, and they are connected by the heat insulation valve 133. The heating space mainly provides physical space for heating the air, and the humidification space mainly provides physical space for humidifying the air.
[0054] It is worth noting that each component of the heating element 130 can be selected according to the actual type of electric heater and application needs in the actual application scenario. This embodiment does not limit the specific component type.
[0055] In this embodiment, the control component 110 is mainly used to execute the electric heater control method in the following embodiments, so as to automatically cut off the heating element 132 and the humidification module when the electric heater is moved, effectively reducing the risk of burns and fire.
[0056] In one embodiment, such as Figure 3 As shown, a method for controlling an electric heater is provided, which is applied to... Figure 1 Taking control component 110 as an example, the following steps are included:
[0057] Step 302: After the electric heater is turned on, the barcode scanner 120 is controlled to scan the QR code preset on the placement surface to obtain the QR code information.
[0058] In this embodiment, after the electric heater is activated according to the corresponding user command, it first controls the barcode scanner 120 to periodically scan the QR code preset on the placement plane to obtain QR code information. Then, based on the QR code information, it determines whether to proceed to step 204 or step 206. In practical applications, the QR code information includes encoded information, which is identification data pre-configured in the electric heater's memory or database. In one embodiment, after obtaining the QR code information, the electric heater compares the encoded information within the QR code with the encoded information pre-stored in the electric heater. If the QR code information corresponds to the encoded information pre-stored in the electric heater, the QR code information is determined to be the preset correct information. If the QR code information does not correspond to the encoded information pre-stored in the electric heater, the QR code information is determined to be incorrect information.
[0059] It is worth noting that the actual type of encoded information carried by the QR code can be set according to the needs of the actual application scenario.
[0060] In this embodiment, the number of QR codes preset on the placement surface can be one or two. In a preferred embodiment, the number of QR codes is two. That is, the QR codes preset on the placement surface include a first QR code and a second QR code. Correspondingly, the barcode scanner 120 includes a first barcode scanner 121 and a second barcode scanner 122. The first barcode scanner 121 and the second barcode scanner 122 are fixed to the bottom of the electric heater and are used to scan the corresponding QR code information. Figure 2 As shown, the first QR code can be QR code 20a, and the second QR code can be QR code 20b.
[0061] The first barcode scanner 121 and the second barcode scanner 122 are controlled to scan the corresponding first and second QR codes synchronously or at preset intervals. For example, Figure 2 As shown, the preset position of the first QR code corresponds to the setting position of the first barcode scanner 121 on the electric heater, and the preset position of the second QR code corresponds to the setting position of the second barcode scanner 122 on the electric heater.
[0062] In this embodiment, the position of the placement plane in the specific scenario needs to be determined in advance. In a feasible embodiment, the placement position of the QR code is related to the placement position of the electric heater. The first QR code and the second QR code can form a placement line. The barcode scanner 120 can scan the QR code information if and only if the electric heater is placed horizontally on the placement line and the first barcode scanner 121 and the second barcode scanner 122 overlap with the first QR code and the second QR code.
[0063] In one embodiment, the first QR code corresponds to the first barcode scanner 121, and the second QR code corresponds to the second barcode scanner 122. The encoding information stored in the first barcode scanner 121 is different from the encoding information stored in the second barcode scanner 122, and the encoding information carried by the first QR code is also different from the encoding information carried by the second QR code. Based on the above scheme, by designing the encoding information carried by the QR code on the placement plane, a fixed orientation and fixed position arrangement of the electric heater can be achieved. The electric heater can operate normally only when it is placed in the designated position; otherwise, the electric heater cannot operate normally.
[0064] Step 304: If the QR code information is confirmed to be the preset correct information, set the target operating parameters of the electric heater according to the usage environment information in the QR code information, and control the heating component 130 and humidifying component 140 of the electric heater to work according to the target operating parameters.
[0065] In this embodiment, the QR code information is preset correct information, indicating that the barcode scanner 120 of the electric heater can normally obtain the encoding information and environmental information carried by the QR code information, and the encoding information carried by the QR code information is the same as the encoding information stored in the barcode scanner 120. The control component 110 can obtain the environmental information at the same time as determining whether the QR code information is preset correct information.
[0066] Specifically, environmental information includes data such as application scenario type. For example, environmental information includes identification data for bedrooms, living rooms, and dining rooms. In actual application scenarios, the control component 110 can match the corresponding target operating parameters such as heating power, humidification capacity, and fan speed according to the preset environmental identification-operating parameter mapping relationship, thereby achieving adaptive switching of operating modes.
[0067] Specifically, the target operating parameters include, but are not limited to, heating power, humidification capacity, and fan speed. The actual method of controlling the heating element 130 and humidification element 140 of the electric heater to operate according to the target operating parameters can be determined based on the specific structure of the heating element 130 and humidification element 140 in the actual application scenario.
[0068] Step 306: If the QR code information is not obtained or the QR code information is determined to be incorrect, control the heating component 130 and the humidifying component 140 to stop working.
[0069] In this embodiment, if no QR code information is obtained, it means that the barcode scanner 120 of the electric heater cannot obtain any QR code information. If the QR code information is determined to be incorrect, it means that the QR code information obtained by the barcode scanner 120 of the electric heater does not carry encoding information and / or environmental information, or the encoding information carried by the QR code information does not correspond to the encoding information stored in the barcode scanner 120.
[0070] When the above situation occurs, it indicates that the electric heater is not placed on the pre-determined flat surface. At this time, the heating element 130 and the humidifying element 140 are controlled to stop working, so as to control the electric heater to stop running.
[0071] Based on the above solution, this embodiment provides a method for controlling an electric heater. By using a barcode scanner 120 in conjunction with a preset QR code, the heater's position is locked, activating only when the correct QR code is scanned. Moving the heater immediately cuts off the operating circuits of the heating element 130 and the humidifying element 140, fundamentally avoiding the risk of burns and fires during movement. Simultaneously, by utilizing the usage environment information carried by the QR code, adaptive adjustments to operating parameters are achieved, matching the usage needs of different scenarios without manual user operation, thus improving the user experience.
[0072] In one embodiment, the usage environment information in the QR code includes one of a first environment identifier, a second environment identifier, or a third environment identifier. Operating parameters include operating power and operating mode; different environment identifiers correspond to different operating parameters. For example, the first environment identifier may correspond to a bedroom scene identifier, the second environment identifier may correspond to a living room scene identifier, and the third environment identifier may correspond to a dining room scene identifier.
[0073] Please see Figure 4 Step 206 includes the following steps:
[0074] Step 401: If the environmental information used includes the first environmental identifier, control the heating element 130 and the humidifying element 140 of the electric heater to work according to the first operating parameters.
[0075] In this embodiment, taking the bedroom scene corresponding to the first environmental identifier as an example, the heating component 130 can be controlled to heat at a low power of 800 watts (W), and the humidifying component 140 can work in a silent humidification mode of 200 ml / h to ensure the comfort and quietness of the sleep environment.
[0076] Step 402: If the environmental information used includes the second environmental identifier, control the heating element 130 and the humidifying element 140 of the electric heater to work according to the second operating parameters.
[0077] In this embodiment, taking the living room scene label corresponding to the second environmental label as an example, the heating component 130 can be controlled to heat at a high power of 1500W, and the humidification component 140 can work in a rapid humidification mode of 350ml / h to meet the needs of rapid heating and humidification in a large space.
[0078] Step 403: If the environmental information used includes a third environmental identifier, control the heating element 130 and the humidifying element 140 of the electric heater to work according to the third operating parameters.
[0079] In this embodiment, taking the restaurant scene sign corresponding to the third environmental sign as an example, the heating component 130 can be controlled to heat at a medium power of 1200W, and the humidification component 140 can work in a balanced humidification mode of 300ml / h, taking into account both heating efficiency and environmental humidity stability.
[0080] It is worth noting that the actual scenario type corresponding to the first, second, or third environmental identifier, as well as the actual values and parameter types of the first, second, and third working parameters, can all be customized according to the needs of the actual application scenario. The environmental information carried by the pre-set QR code information on the same placement plane is identical.
[0081] Based on the above solution, the working parameters and working modes of the electric heater can be flexibly controlled according to the environmental information carried by the QR code, thereby increasing the control flexibility of the electric heater. Moreover, when the user moves the electric heater, there is no need to repeatedly configure the electric heater. The electric heater can automatically operate with working parameters that adapt to the environmental scenario, which can greatly improve the user experience of the electric heater.
[0082] In one embodiment, the humidification assembly 140 includes a mist outlet cover 141 unit, a water injection unit 143, an atomizing unit 144, a fan unit 145, a water tank 146, and a water level detection unit 147; please refer to Figure 2 and Figure 5 The specific steps for controlling the operation of the humidification component 140 include the following:
[0083] Step 501: Control the fog cover unit and water injection unit 143 to open, so as to inject water into the water tank 146.
[0084] Step 402: The water level in the water tank 146 is detected in real time by the water level detection unit 147.
[0085] Step 403: When the water level in the water tank 146 is higher than the first water level, control the water injection unit 143 to shut down, and control the atomizing unit 144 and the fan unit 145 to work according to the target working parameters.
[0086] Step 404: When the water level in the water tank 146 is less than or equal to the second water level but greater than the third water level, control the water injection unit 143 to turn on, and control the atomizing unit 144 and the fan unit 145 to operate according to the target operating parameters. The first water level is greater than the second water level, and the second water level is greater than the third water level.
[0087] Step 405: When the water level in the water tank 146 is less than or equal to the third water level, control the atomizing unit 144 and the fan unit 145 to shut down and issue a water shortage alarm.
[0088] In this embodiment, after the humidification component 140 is activated, the mist cover unit is opened, and the water injection unit 143 is activated to inject water into the water tank 146. The water level detection unit 147 is activated to detect the water level in the water tank 146 in real time. Figure 2 As shown, when the water level in the water tank 146 is higher than the first water level, the water injection unit 143 is shut off, and the atomizing unit 144 and the fan unit 145 operate according to the target operating parameters. A water level in the water tank 146 higher than the first water level indicates sufficient water in the tank. At this time, the atomizing unit 144 and the fan unit 145 operate according to the corresponding environmental information's operating parameters to achieve the output of air with preset humidity.
[0089] When the water level in the water tank 146 is less than or equal to the second water level but greater than the third water level, the water injection unit 143 is activated, and the atomizing unit 144 and the fan unit 145 are controlled to operate according to the target working parameters. A water level in the water tank 146 being less than or equal to the second water level but greater than the third water level indicates that the water in the water tank 146 needs to be replenished promptly to prevent the atomizing unit 144 from malfunctioning due to insufficient water in the water tank 146, thus ensuring uninterrupted humidification.
[0090] When the water level in water tank 146 is less than or equal to the third water level, the atomizing unit 144 and the fan unit 145 will be shut down, and a water shortage alarm will be triggered. This indicates that the water level in water tank 146 is insufficient; therefore, the atomizing unit 144 and the fan unit 145 should be shut down immediately to prevent them from running dry. A buzzer or flashing red indicator light can also be used to remind the user to replenish the water tank. Figure 2 As shown, the first water level can be water level 30a, the second water level can be water level 30b, and the third water level can be water level 30c.
[0091] In one embodiment, the heating component 130 includes a temperature detection unit 131, a heating element 132, and a heat insulation valve 133; please refer to Figure 2 and Figure 6 The steps for controlling the operation of the heating element 130 include the following:
[0092] Step 601: The surface temperature of the heating element 132 is detected in real time by the temperature detection unit 131.
[0093] Step 602: If the surface temperature is greater than the preset maximum temperature, reduce the heating power of the heating element 132 and open the heat insulation valve 133 to connect the heating space and the humidification space.
[0094] Step 603: If the surface temperature is lower than the preset minimum temperature, close the heat insulation valve 133 and control the heating element 132 to work according to the target working parameters.
[0095] In this embodiment, if the temperature detection unit 131 detects in real time that the surface temperature T1 of the heating element 132 is greater than the preset maximum temperature T1MAX (e.g., 70°C), the MCU main control unit controls the heating element 132 to reduce its heating power by 50%, and simultaneously opens the heat insulation valve 133 to facilitate heat conduction between the heating element 132 and the humidification component 140. The humidification component 140 then outputs air with a preset humidity level to the heated air, thereby quickly cooling the heating element 132. It is worth noting that the MCU main control unit can control the operation of the fan unit 145 within the humidification component 140 to allow air to flow from the humidification space to the heating space. It should be understood that the actual degree of reduction in the heating power of the heating element 132 and the actual value of the preset maximum temperature can be determined according to the needs of the actual application scenario.
[0096] If the temperature detection unit 131 detects in real time that the surface temperature T1 of the heating element 132 is less than the preset minimum temperature T1Min (e.g., 40℃), the MCU main control unit closes the heat insulation valve 133 to isolate the heat conduction between the heating element 132 and the humidification component 140, and controls the heating element 132 to resume rated power operation to ensure heating efficiency.
[0097] In one embodiment, the electric heater control method further includes:
[0098] If the QR code information is not obtained or the QR code information is determined to be incorrect, an audible and visual alarm will be triggered and an alarm message will be displayed.
[0099] When the electric heater is moved during operation, if the first barcode scanner 121 and the second barcode scanner 122 fail to scan the preset correct QR code (or scan an incorrect message), the MCU main control unit immediately executes the following safety control operations: It controls the heating element 132 to stop working, cutting off the heating circuit; it controls the atomizing unit 144 and the fan unit 145 to stop working, and closes the water filling unit 143 and the mist outlet cover 141 to prevent water from spilling from the water tank 146; it triggers an audible and visual alarm (such as continuous beeping and rapid flashing of indicator lights), and the display component shows the alarm message that QR code X (X is 1 or 2) was not scanned. The alarm state is maintained, and operation can only resume after the entire unit is powered off and restarted, and a correct QR code is scanned again, ensuring safe reset after movement.
[0100] Based on the above solution, this embodiment provides a method for controlling an electric heater. By using a barcode scanner 120 in conjunction with a preset QR code, the electric heater's position is locked. It only starts working when the correct QR code is scanned, and immediately cuts off the working circuits of the heating element 130 and the humidifying element 140 when the heater is moved, fundamentally avoiding the risk of burns and fires during movement. At the same time, by utilizing the usage environment information carried by the QR code, the operating parameters can be adaptively adjusted, matching the usage needs of different scenarios without manual operation by the user, thus improving the user experience. In addition, through water level detection, temperature detection, and corresponding closed-loop control, the safety and stability of the electric heater's operation are further ensured, solving the technical problems of existing electric heaters lacking movement safety protection and environmental adaptability.
[0101] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0102] Based on the same inventive concept, this application also provides an electric heater control device for implementing the electric heater control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more embodiments of the electric heater control device provided below can be found in the limitations of the electric heater control method described above, and will not be repeated here.
[0103] In one embodiment, such as Figure 7 As shown, an electric heater control device 700 is provided, including: a scanning control module 710, a working control module 720, and a safety control module 730, wherein:
[0104] The scanning control module 710 is used to control the barcode scanner to scan the QR code preset on the placement plane and obtain the QR code information.
[0105] The operation control module 720 is used to, if it is determined that the QR code information is preset correct information, set the target operating parameters of the electric heater according to the usage environment information in the QR code information, and control the heating component and humidification component of the electric heater to work according to the target operating parameters.
[0106] The safety control module 730 is used to control the heating component and the humidification component to stop working if the QR code information is not obtained or the QR code information is determined to be erroneous.
[0107] In one embodiment, the scanning control module 710 is further configured to control the first barcode scanner and the second barcode scanner to scan the corresponding first QR code and second QR code synchronously or at preset intervals; wherein, the preset position of the first QR code corresponds to the setting position of the first barcode scanner on the electric heater, and the preset position of the second QR code corresponds to the setting position of the second barcode scanner on the electric heater.
[0108] In one embodiment, the operation control module 720 is further configured to control the heating element and humidification element of the electric heater to operate according to the first operating parameters if the usage environment information includes a first environment identifier; control the heating element and humidification element of the electric heater to operate according to the second operating parameters if the usage environment information includes a second environment identifier; and control the heating element and humidification element of the electric heater to operate according to the third operating parameters if the usage environment information includes a third environment identifier.
[0109] In one embodiment, the operation control module 720 is further configured to control the opening of the mist cover unit and the water injection unit to inject water into the water tank; to detect the water level in the water tank in real time through the water level detection unit; to control the water injection unit to close when the water level in the water tank is greater than the first water level, and to control the atomizing unit and the fan unit to operate according to the target operating parameters; to control the water injection unit to open when the water level in the water tank is less than or equal to the second water level and greater than the third water level, and to control the atomizing unit and the fan unit to operate according to the target operating parameters; wherein the first water level is greater than the second water level, and the second water level is greater than the third water level; and to control the atomizing unit and the fan unit to close when the water level in the water tank is less than or equal to the third water level, and to issue a water shortage alarm.
[0110] In one embodiment, the operation control module 720 is further configured to detect the surface temperature of the heating element in real time through the temperature detection unit; if the surface temperature is greater than the preset maximum temperature, reduce the heating power of the heating element, open the heat insulation valve, and control the fan unit to cool the heating element; if the surface temperature is less than the preset minimum temperature, close the heat insulation valve and control the heating element to work according to the target operating parameters.
[0111] In one embodiment, the security control module 730 is further configured to trigger an audible and visual alarm and display an alarm message if the QR code information is not obtained or the QR code information is determined to be incorrect.
[0112] Based on the above solution, this embodiment provides an electric heater control device that uses a barcode scanner in conjunction with a preset QR code to lock the position of the electric heater. It only starts working when the correct QR code is scanned, and automatically cuts off the heating element and humidification module when the heater is moved, effectively reducing the risk of burns and fires. At the same time, it adaptively adjusts the working parameters according to the environmental information in the QR code, taking into account both safety and user experience, and solving the technical problem of existing electric heaters lacking movement safety protection.
[0113] Each module in the aforementioned electric heater control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0114] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a method for controlling an electric heater. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0115] Those skilled in the art will understand that Figure 8The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0116] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0117] After the electric heater is turned on, it controls the barcode scanner to scan the QR code preset on the placement surface and obtain the QR code information;
[0118] If the QR code information is confirmed to be the correct preset information, the target operating parameters of the electric heater are set according to the usage environment information in the QR code information, and the heating and humidifying components of the electric heater are controlled to work according to the target operating parameters.
[0119] If the QR code information is not obtained or is determined to be incorrect, the heating and humidifying components will stop working.
[0120] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0121] After the electric heater is turned on, it controls the barcode scanner to scan the QR code preset on the placement surface and obtain the QR code information;
[0122] If the QR code information is confirmed to be the correct preset information, the target operating parameters of the electric heater are set according to the usage environment information in the QR code information, and the heating and humidifying components of the electric heater are controlled to work according to the target operating parameters.
[0123] If the QR code information is not obtained or is determined to be incorrect, the heating and humidifying components will stop working.
[0124] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0125] After the electric heater is turned on, it controls the barcode scanner to scan the QR code preset on the placement surface and obtain the QR code information;
[0126] If the QR code information is confirmed to be the correct preset information, the target operating parameters of the electric heater are set according to the usage environment information in the QR code information, and the heating and humidifying components of the electric heater are controlled to work according to the target operating parameters.
[0127] If the QR code information is not obtained or is determined to be incorrect, the heating and humidifying components will stop working.
[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0129] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0130] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0131] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for controlling an electric heater, characterized in that, The method includes: The barcode scanner is controlled to scan the QR code preset on the placement plane to obtain the QR code information; If the QR code information is determined to be the preset correct information, the target operating parameters of the electric heater are set according to the usage environment information in the QR code information, and the heating component and humidification component of the electric heater are controlled to work according to the target operating parameters. If the QR code information is not obtained or the QR code information is determined to be incorrect, the heating component and the humidification component will be controlled to stop working.
2. The method according to claim 1, characterized in that, The barcode scanner includes a first barcode scanner and a second barcode scanner; The QR code preset on the placement plane includes a first QR code and a second QR code, and the method further includes: The system controls the first and second barcode scanners to scan the corresponding first and second QR codes synchronously or at preset intervals; wherein the preset position of the first QR code corresponds to the setting position of the first barcode scanner on the electric heater, and the preset position of the second QR code corresponds to the setting position of the second barcode scanner on the electric heater.
3. The method according to claim 2, characterized in that, The usage environment information in the QR code information includes one of a first environment identifier, a second environment identifier, or a third environment identifier; the operating parameters include operating power and operating mode, and the operating parameters are different for different environment identifiers. The step of setting target operating parameters for the electric heater based on the usage environment information in the QR code information, and controlling the heating and humidifying components of the electric heater to operate according to the target operating parameters, includes: If the environmental information includes a first environmental identifier, the heating element and humidifying element of the electric heater are controlled to work according to the first operating parameters. If the environmental information includes a second environmental identifier, the heating element and humidification element of the electric heater are controlled to work according to the second operating parameters. If the environmental information includes a third environmental identifier, the heating element and humidifying element of the electric heater are controlled to operate according to the third operating parameters.
4. The method according to claim 1, characterized in that, The humidification assembly includes a mist outlet unit, a water injection unit, an atomization unit, a fan unit, a water tank, and a water level detection unit; the method further includes: The mist cover unit and the water injection unit are controlled to open to inject water into the water tank; The water level in the tank is detected in real time by the water level detection unit. When the water level in the tank is higher than the first water level, the water injection unit is controlled to shut down, and the atomizing unit and the fan unit are controlled to operate according to the target operating parameters. When the water level in the tank is less than or equal to the second water level and greater than the third water level, the water injection unit is controlled to open, and the atomizing unit and the fan unit are controlled to operate according to the target operating parameters; the first water level is greater than the second water level, and the second water level is greater than the third water level; If the water level in the tank is less than or equal to the third water level, the atomizing unit and the fan unit will stop working and a water shortage alarm will be triggered.
5. The method according to claim 1, characterized in that, The heating component includes a temperature detection unit, a heating element, and a heat-insulating valve; the method further includes: The surface temperature of the heating element is detected in real time by the temperature detection unit. If the surface temperature is greater than the preset maximum temperature, reduce the heating power of the heating element and open the heat insulation valve to connect the heating space and the humidification space; If the surface temperature is lower than the preset minimum temperature, the heat insulation valve is closed, and the heating element is controlled to work according to the target operating parameters.
6. The method according to claim 1, characterized in that, The method further includes: If the QR code information is not obtained or the QR code information is determined to be incorrect, an audible and visual alarm will be triggered and an alarm prompt message will be displayed.
7. A control device for an electric heater, characterized in that, The device includes: The scanning control module is used to control the barcode scanner to scan the QR code preset on the placement plane and obtain the QR code information; The working control module is used to, if it is determined that the QR code information is preset correct information, set the target working parameters of the electric heater according to the usage environment information in the QR code information, and control the heating component and humidification component of the electric heater to work according to the target working parameters; The safety control module is used to control the heating component and the humidification component to stop working if the QR code information is not obtained or the QR code information is determined to be erroneous.
8. An electric heater, characterized in that, include: Control components, barcode scanner, heating components, and humidification components; The control component is connected to the barcode scanner, the heating component, and the humidification component, respectively; The control component is used to perform the steps of the electric heater control method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the electric heater control method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the electric heater control method according to any one of claims 1 to 6.