Control method and device of HNB appliance, HNB appliance and storage medium

By setting a temperature sensor in the HNB appliance to detect the user's body temperature and performing control operations based on the comparison results of the body temperature and the set threshold, the problem of monotonous function of the operation control process of the HNB appliance is solved, and humanized and intelligent control is achieved.

CN119739222AActive Publication Date: 2025-04-01SHENZHEN GEEKVAPE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411701208.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-04-01
Estimated Expiration
2044-11-26

AI Technical Summary

Technical Problem

The operation control process functions of existing HNB appliances are monotonous, lacking attention to user status, and lacking humanization and intelligence.

Method used

By setting a temperature sensor in the HNB appliance, detecting the user's body temperature, and comparing the body temperature detection value with the set threshold, corresponding instrument control operations are performed based on the comparison results, such as shutdown or maintaining the operating state.

Benefits of technology

It realizes adaptive control of HNB devices to the user's current status, has humanized control functions, and improves intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739222A_ABST
    Figure CN119739222A_ABST
Patent Text Reader

Abstract

The invention is suitable for the field of appliance control, and provides a control method and device of an HNB appliance, the HNB appliance and a storage medium, and the method comprises the steps that under the condition that preset conditions are met, a temperature sensor in the HNB appliance is started to detect the body temperature of a user, and a body temperature detection value is obtained; comparing the body temperature detection value with a set threshold value to obtain a comparison result; and controlling the HNB appliance to execute corresponding appliance control operation based on the comparison result. The scheme can adapt to the current state of the user to implement work control, has a humanized control function, and improves intelligence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of device control, and in particular, relates to a control method and device for an HNB device, an HNB device, and a storage medium. Background Art

[0002] HNB (Heat Not Burning) appliances, also known as HNB heaters, are essential appliances for use with heat not burn products. They evaporate smoke by baking rather than burning.

[0003] The HNB device has a preset temperature curve built in. When the user uses the HNB device, the HNB device usually directly implements heating control along the preset temperature curve. The operation control process of the HNB device is monotonous, lacks attention to the user status, and lacks humanity and intelligence. Summary of the invention

[0004] The embodiments of the present application provide a control method and device for an HNB device, an HNB device and a storage medium to solve the problems in the prior art that the operation control process of the HNB device is monotonous in function, lacks attention to the user status, lacks humanity and intelligence.

[0005] A first aspect of an embodiment of the present application provides a method for controlling an HNB device, including:

[0006] When the preset conditions are met, the temperature sensor in the HNB device is activated to detect the user's body temperature and obtain the body temperature detection value;

[0007] Compare the body temperature detection value with a set threshold value to obtain a comparison result;

[0008] Based on the comparison result, the HNB device is controlled to perform a corresponding device control operation, where the device control operation includes controlling the HNB device to shut down, or maintaining the operating state of the HNB device.

[0009] A second aspect of an embodiment of the present application provides a control device for an HNB device, including:

[0010] The body temperature detection module is used to start the temperature sensor in the HNB device to detect the user's body temperature and obtain the body temperature detection value when the preset conditions are met;

[0011] A temperature comparison module is used to compare the body temperature detection value with a set threshold value to obtain a comparison result;

[0012] The operation control module is used to control the HNB device to perform a corresponding device control operation based on the comparison result, wherein the device control operation includes controlling the HNB device to shut down, or maintaining the operating state of the HNB device.

[0013] A third aspect of an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.

[0014] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] The fifth aspect of the present application provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying a computer-readable code. When the computer-readable code is executed in an electronic device, the processor in the electronic device executes the steps in the method described in the first aspect above.

[0016] In the above scheme in the embodiment of the present application, the temperature of the user is detected based on the temperature sensor provided in the HNB device, and the temperature of the user is determined in combination with the set threshold, and then the method for controlling the HNB device is determined. The HNB device can adapt to the current state of the user to implement work control, has humanized control functions, and improves intelligence. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:

[0018] Figure 1 The data processing method of some embodiments of the present application is as follows Figure 1 ;

[0019] Figure 2 The data processing method of some embodiments of the present application is as follows Figure 2 ;

[0020] Figure 3 is a structural diagram of a data processing device in some embodiments of the present application;

[0021] Figure 4 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0024] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0025] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0026] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0027] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0028] Combination Figure 1 As shown, in some embodiments, a control method of an HNB device is provided, comprising:

[0029] Step 101: When a preset condition is met, a temperature sensor in the HNB device is started to detect the user's body temperature to obtain a body temperature detection value.

[0030] For HNB devices, a temperature sensor can be added to the hardware to detect the user's body temperature. The temperature sensor can be an infrared temperature sensor or other temperature sensors.

[0031] Optionally, the preset condition may be that the HNB device obtains a user operation that matches a set temperature measurement trigger operation, or detects that the HNB device is in a specific environment close to a human body, such as a pocket environment, or other set conditions.

[0032] The pocket environment is specifically a closed space with dim light. Optionally, in the pocket environment, the light intensity of the environment where the HNB device is located is less than a threshold, the ambient temperature of the environment is greater than a threshold, and the object can be detected within a relatively small distance around the HNB device.

[0033] Step 102, comparing the body temperature detection value with a set threshold value to obtain a comparison result.

[0034] The set threshold is, for example, 36.8 degrees, 36.5 degrees, etc. The comparison result includes that the body temperature detection value is greater than the set threshold, that is, the user's body temperature is high; or the body temperature detection value is not greater than the set threshold, that is, the user's body temperature is not high.

[0035] By detecting the user's body temperature and judging the temperature value, it is determined whether the user's current temperature is too high and the user's current status is determined.

[0036] Step 103: Based on the comparison result, the HNB device is controlled to perform a corresponding device control operation.

[0037] The device control operation includes controlling the HNB device to shut down, or maintaining the operating state of the HNB device.

[0038] Maintaining the operating state of the HNB device specifically means maintaining the HNB device to continue to execute in the previous operating state. The operating state here is, for example, an operating state of implementing temperature heating control according to a set temperature curve or a temperature maintenance state.

[0039] In some cases, when the user's body temperature is measured to be high, the HNB device can be controlled to shut down. In some cases, when the user's body temperature is measured to be low, the HNB device can be kept running.

[0040] In the above process, the temperature of the user is detected based on the temperature sensor set in the HNB device, and the temperature of the user is determined by combining the set threshold, and then the method of controlling the HNB device is determined. The HNB device can adapt to the current state of the user to implement work control, has humanized control functions, and improves intelligence.

[0041] In some optional implementations, step 103 controls the HNB device to perform corresponding device control operations based on the comparison result, including:

[0042] When the comparison result shows that the body temperature detection value is greater than the set threshold, the number of puffs of the HNB device is recorded, and when the number of puffs reaches the puff threshold, the HNB device is controlled to shut down.

[0043] Alternatively, when the comparison result shows that the body temperature detection value is greater than the set threshold, the heating duration of the HNB device is recorded, and when the heating duration reaches the duration threshold, the HNB device is controlled to shut down.

[0044] Alternatively, when the comparison result shows that the body temperature detection value is not greater than the set threshold, the operating state of the HNB device is maintained.

[0045] Optionally, the puff number threshold is, for example, 5 puffs, 7 puffs, etc. The duration threshold may be 1 minute, 2 minutes, etc.

[0046] When the user's body temperature is measured to be high, the user's use of the HNB device can be restricted, and the number of puffs that the user can take when using the HNB device can be specified. During implementation, the number of puffs can be counted through the high and low levels output by the microphone on the HNB device. For example, if the microphone outputs a high level, it is considered to be a puff. If the user takes 5 puffs, the microphone on the HNB device outputs a high level 5 times. The number of high-level outputs represents the number of puffs. When it is detected that the user has taken 5 puffs, the HNB device can be controlled to shut down and stop working. Alternatively, during implementation, the duration of the next heating of the HNB device can be limited. When the heating duration reaches 2 minutes, the HNB device can be controlled to shut down and stop working.

[0047] Optionally, in some optional implementation processes, when the comparison result is that the body temperature detection value is greater than a set threshold, a health prompt information is output; wherein the health prompt information is a sound prompt information and / or a text prompt information.

[0048] When implemented, the measured human body temperature value can be displayed in real time. A display device, such as a digital tube, a light-emitting diode display screen, etc., can be set in the HNB device to display the Arabic numerals of the body temperature value or display text prompts such as the user's body temperature is too high, the user is sick, etc. It can also issue voice broadcast information such as the body temperature is high, please pay attention to your health.

[0049] This method can provide users with timely health reminders, expand the functions of HNB devices, and enhance the intelligence of HNB devices.

[0050] Optionally, the preset condition may be that the HNB device obtains a user operation that matches a set temperature measurement trigger operation, or detects that the HNB device is in a specific environment, such as a pocket environment.

[0051] In an optional implementation, step 101 starts a temperature sensor in the HNB device to detect the user's body temperature and obtains a body temperature detection value when a preset condition is met, including:

[0052] Get user operation; when it is detected that the user operation does not match the set temperature measurement trigger operation, prompt the user to try again and start timing;

[0053] If a user operation consistent with the temperature measurement trigger operation is detected when the timing duration does not reach the duration threshold, the temperature sensor in the HNB device is activated to detect the user's body temperature to obtain a body temperature detection value.

[0054] Differently, if no user operation consistent with the temperature measurement trigger operation is detected when the timing duration reaches the duration threshold, the body temperature detection startup process is exited.

[0055] The above user operation can be triggered by buttons, voice, touch screen, etc. If the user operation does not match the set temperature measurement trigger operation, it is considered that the user operation has failed, and the user can be prompted to try again; at the same time, the waiting time for judgment is increased, and timing is performed within the waiting time. If a user operation that matches the set temperature measurement trigger operation is obtained before the waiting time expires, it is determined that the user operation is successful, and the human body temperature detection process can be started.

[0056] Optionally, the start-up mode of human body temperature detection can be configured in advance, and corresponding temperature measurement trigger operations can be set under different start-up modes. For example, the start-up mode under the button start-up mode, voice start-up mode, or touch screen start-up mode. Taking the button start-up mode as an example, the temperature measurement trigger operation can be set to press the button 3 times, and the interval between button presses is ≤0.2S. The same is true for the voice start-up mode and the touch screen start-up mode, which can be set according to needs.

[0057] When it is detected that the user presses a specific button three times and the interval between button presses is ≤0.2S, the user operation is successful. At this time, the temperature sensor in the HNB device is started through a specific protocol or command to detect the user's body temperature, and the real-time body temperature detection begins. Otherwise, the user is reminded that the operation failed and please try again. A waiting time is added, and the waiting time is ≤60S. When the waiting time is greater than 60S and the user operation is not detected to be successful, the body temperature detection startup process can be exited.

[0058] In an optional implementation, step 101 starts a temperature sensor in the HNB device to detect the user's body temperature and obtains a body temperature detection value when a preset condition is met, including:

[0059] Based on the set sensor in the HNB device, when it is determined that the HNB device is in a pocket environment, the temperature sensor in the HNB device is started to detect the user's body temperature to obtain a body temperature detection value;

[0060] Among them, the light intensity of the environment where the HNB device is located in the pocket environment is less than the threshold.

[0061] The setting sensor is, for example, a temperature sensor, a brightness sensor, a distance sensor, etc.

[0062] Correspondingly, the detection of the pocket environment can be achieved by using a temperature sensor to detect the ambient temperature of the HNB device, using a brightness sensor to detect the ambient brightness, using a distance sensor to detect the surrounding distance, and so on.

[0063] In an optional implementation process, if the brightness of the environment of the HNB device detected by the brightness sensor is less than a brightness threshold, the detection distance of the periphery of the HNB device detected by the ranging sensor is less than a distance threshold, and / or the ambient temperature detected by the temperature sensor in the HNB device is greater than a temperature threshold, it can be determined that the HNB device is in a pocket environment.

[0064] In an alternative embodiment, in combination Figure 2 As shown, the detection of the HNB device being in a pocket environment may include:

[0065] Step 201: a first temperature is measured by a first temperature measuring element in a battery assembly in an HNB device, and a second temperature is measured by a second temperature measuring element in a PCB board in the HNB device.

[0066] Step 202: When the first temperature and the second temperature are both greater than a first threshold, and the temperature difference between the first temperature and the second temperature is less than a second threshold, it is determined that the HNB device is in a pocket environment.

[0067] The first threshold is, for example, 28 degrees, 29 degrees, etc. The second threshold is, for example, 2 degrees, 1 degree, etc.

[0068] The first temperature measuring element and the second temperature measuring element may be negative temperature coefficient thermistors (NTC) or other temperature measuring elements.

[0069] During the implementation process, taking the NTC in the battery and the NTC in the PCB (Printed Circuit Board) as examples, the temperature value measured by the NTC in the battery and the temperature value measured by the NTC in the PCB are both greater than 28°C, and the difference between the two temperature values ​​is within ±2°C. It can be determined that the current measurement value of the ambient temperature is accurate and the temperature is higher than the normal temperature.

[0070] In this case, two NTCs are used to detect the ambient temperature. When the temperature exceeds the threshold, it is suspected that the ambient temperature of the HNB device is high. According to the user's usage habits of the HNB device, it can be considered that the HNB device is put into a pocket and is in a pocket environment.

[0071] In an optional implementation, in step 101, starting a temperature sensor in the HNB device to detect the user's body temperature and obtaining a body temperature detection value includes:

[0072] The third temperature value is measured by the infrared temperature sensor in the HNB device; the third temperature value is used as the body temperature detection value.

[0073] In a specific environment such as a pocket environment, the temperature can be detected and determined by combining the temperature measuring element on the battery or circuit board with the infrared temperature sensor additionally provided in the HNB device to ensure the accuracy of body temperature measurement.

[0074] Optionally, when the temperature differences between the third temperature value and the first temperature value and the second temperature value are all smaller than a threshold value, the third temperature value may be used as the body temperature detection value.

[0075] In this way, the ambient temperature measured by the temperature measuring element on the battery or circuit board is verified with the body temperature value measured by the infrared temperature sensor. When the temperature difference between the two is within the temperature difference range in the current environment, it can be determined that the body temperature value measured by the infrared temperature sensor is valid, further ensuring the accuracy of body temperature measurement.

[0076] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0077] Based on the same inventive concept, the embodiment of the present application also provides a control device for an HNB device. The control device for an HNB device provided in the embodiment of the present application can implement each process of the embodiment of the control method for the HNB device described above, and can achieve the same technical effect. Therefore, the specific limitations in one or more cargo loading device embodiments provided below can refer to the limitations of the control method for the HNB device described above, and will not be repeated here to avoid repetition.

[0078] In this embodiment, the functional modules of the device side can be divided according to the above method. For example, each function can be divided into functional modules, or two or more functions can be integrated into one processing module.

[0079] See also Figure 3 , Figure 3 : is a structural diagram of a control device of an HNB device provided in an embodiment of the present application. For the convenience of explanation, only the part related to the embodiment of the present application is shown.

[0080] The control device 300 of the HNB device includes:

[0081] The body temperature detection module 301 is used to start the temperature sensor in the HNB device to detect the user's body temperature and obtain the body temperature detection value when the preset conditions are met;

[0082] The temperature comparison module 302 is used to compare the body temperature detection value with a set threshold value to obtain a comparison result;

[0083] The operation control module 303 is used to control the HNB device to perform a corresponding device control operation based on the comparison result, where the device control operation includes controlling the HNB device to shut down, or maintaining the operating state of the HNB device.

[0084] Optionally, the body temperature detection module 301 is specifically used for:

[0085] Get user operations;

[0086] When it is detected that the user operation does not match the set temperature measurement trigger operation, the user is prompted to try again and a timer is performed;

[0087] If a user operation consistent with the temperature measurement triggering operation is detected when the timing duration does not reach the duration threshold, the temperature sensor in the HNB device is activated to detect the user's body temperature to obtain a body temperature detection value.

[0088] Optionally, the body temperature detection module 301 is specifically used for:

[0089] Based on the set sensor in the HNB device, when it is determined that the HNB device is in a pocket environment, a temperature sensor in the HNB device is started to detect the user's body temperature to obtain a body temperature detection value;

[0090] Wherein, in the pocket environment, the light intensity of the environment in which the HNB device is located is less than a threshold value.

[0091] Optionally, the device further includes: an environment determination module, configured to:

[0092] The first temperature is measured by a first temperature measuring element in a battery assembly in the HNB device, and the second temperature is measured by a second temperature measuring element in a PCB board in the HNB device;

[0093] When both the first temperature and the second temperature are greater than a first threshold, and the temperature difference between the first temperature and the second temperature is less than a second threshold, it is determined that the HNB device is in a pocket environment.

[0094] Optionally, the body temperature detection module 301 is specifically used for:

[0095] A third temperature value is measured by the infrared temperature sensor in the HNB device, and the third temperature value is used as the body temperature detection value.

[0096] Optionally, the operation control module 303 is specifically configured to:

[0097] If the comparison result shows that the body temperature detection value is greater than the set threshold, the number of puffs of the HNB device is recorded, and when the number of puffs reaches the puff threshold, the HNB device is controlled to shut down; or,

[0098] If the comparison result is that the body temperature detection value is greater than the set threshold, recording the heating duration of the HNB device, and when the heating duration reaches the duration threshold, controlling the HNB device to shut down; or,

[0099] When the comparison result is that the body temperature detection value is not greater than the set threshold value, the operating state of the HNB device is maintained.

[0100] Optionally, the device further comprises:

[0101] The prompt module is used to output health prompt information when the comparison result is that the body temperature detection value is greater than the set threshold; wherein the health prompt information is sound prompt information and / or text prompt information.

[0102] The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0103] It should be noted that the relevant contents of each step involved in the above method embodiment can all be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0104] In one embodiment, Figure 4 As shown, a computer device is provided. The computer device 4 of this embodiment includes: at least one processor 400 ( Figure 4Only one is shown in the figure), a memory 401, and a computer program 402 stored in the memory 401 and executable on the at least one processor 400, wherein the processor 400 implements the steps of any of the above-mentioned method embodiments when executing the computer program 402.

[0105] The computer device 4 may be a computing device such as a desktop computer, a notebook, a palm computer, etc. The computer device 4 may include, but is not limited to, a processor 400 and a memory 401. Those skilled in the art will understand that Figure 4 It is only an example of computer device 4 and does not constitute a limitation of computer device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.

[0106] The processor 400 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0107] The memory 401 may be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. The memory 401 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 4. Further, the memory 401 may also include both an internal storage unit and an external storage device of the computer device 4. The memory 401 is used to store the computer program and other programs and data required by the computer device. The memory 401 may also be used to temporarily store data that has been output or is to be output.

[0108] The technicians in the relevant field 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 for illustration. In practical applications, the above-mentioned function allocation can be 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. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0109] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0110] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0111] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / computer equipment and methods can be implemented in other ways. For example, the apparatus / computer equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of the apparatus or unit, which can be electrical, mechanical or other forms.

[0112] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0113] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0114] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0115] The present application implements all or part of the processes in the above-mentioned embodiment methods, and may also be implemented through a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0116] 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 an HNB device, characterized in that: include: When the preset conditions are met, the temperature sensor in the HNB device is activated to detect the user's body temperature and obtain the body temperature detection value; Compare the body temperature detection value with a set threshold value to obtain a comparison result; Based on the comparison result, the HNB device is controlled to perform a corresponding device control operation, where the device control operation includes controlling the HNB device to shut down, or maintaining the operating state of the HNB device.

2. The method according to claim 1, characterized in that When the preset conditions are met, the temperature sensor in the HNB device is started to detect the user's body temperature to obtain the body temperature detection value, including: Get user operations; When it is detected that the user operation does not match the set temperature measurement trigger operation, the user is prompted to try again and a timer is performed; If a user operation consistent with the temperature measurement triggering operation is detected when the timing duration does not reach the duration threshold, the temperature sensor in the HNB device is activated to detect the user's body temperature to obtain a body temperature detection value.

3. The method according to claim 1, characterized in that When the preset conditions are met, the temperature sensor in the HNB device is started to detect the user's body temperature to obtain the body temperature detection value, including: Based on the set sensor in the HNB device, when it is determined that the HNB device is in a pocket environment, a temperature sensor in the HNB device is started to detect the user's body temperature to obtain a body temperature detection value; Wherein, in the pocket environment, the light intensity of the environment in which the HNB device is located is less than a threshold value.

4. The method according to claim 3, characterized in that The method further comprises: The first temperature is measured by a first temperature measuring element in a battery assembly in the HNB device, and the second temperature is measured by a second temperature measuring element in a PCB board in the HNB device; When both the first temperature and the second temperature are greater than a first threshold, and the temperature difference between the first temperature and the second temperature is less than a second threshold, it is determined that the HNB device is in a pocket environment.

5. The method according to claim 3, characterized in that: The step of starting the temperature sensor in the HNB device to detect the user's body temperature and obtaining the body temperature detection value includes: A third temperature value is measured by the infrared temperature sensor in the HNB device, and the third temperature value is used as the body temperature detection value.

6. The method according to claim 1, characterized in that The controlling the HNB device to perform a corresponding device control operation based on the comparison result includes: If the comparison result shows that the body temperature detection value is greater than the set threshold, the number of puffs of the HNB device is recorded, and when the number of puffs reaches the puff threshold, the HNB device is controlled to shut down; or, If the comparison result is that the body temperature detection value is greater than the set threshold, recording the heating duration of the HNB device, and when the heating duration reaches the duration threshold, controlling the HNB device to shut down; or, When the comparison result is that the body temperature detection value is not greater than the set threshold value, the operating state of the HNB device is maintained.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the comparison result is that the body temperature detection value is greater than the set threshold, a health prompt information is output; wherein the health prompt information is a sound prompt information and / or a text prompt information.

8. A control device for an HNB device, characterized in that: include: The body temperature detection module is used to start the temperature sensor in the HNB device to detect the user's body temperature and obtain the body temperature detection value when the preset conditions are met; A temperature comparison module is used to compare the body temperature detection value with a set threshold value to obtain a comparison result; The operation control module is used to control the HNB device to perform a corresponding device control operation based on the comparison result, wherein the device control operation includes controlling the HNB device to shut down, or maintaining the operating state of the HNB device.

9. An HNB device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Temperature regulating and controlling method, regulating and controlling device, sensing device and control device

    CN103592975A

  • Temperature control method and temperature control system based on intelligent terminal

    CN107390743A

  • Electronic cigarette control method and electronic cigarette

    CN109007975A

  • Temperature control method and system based on intelligent home operation system

    CN110513840A

  • Body temperature detection method and device for wearable equipment

    CN112183293A