Use point location recommendation method and device for atomization equipment, equipment and storage medium
通过在无风环境中检测雾化设备与目标人员的距离,并进行动态寻址找到推荐点位,解决了电子烟二手烟对周围人员的影响问题,实现了在推荐点位上使用雾化设备 to reduce health risks.
Patent Information
- Application Number
- CN202411177313.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2025-01-10
AI Technical Summary
The second-hand smoke from existing e-cigarettes has an impact on the health of other people in the surrounding environment. How to reduce the impact of second-hand smoke on people around you is an urgent problem.
By using the distance detection between the atomization equipment and the target personnel in a windless environment, we can determine whether the point recommendation is needed, and find the recommended point in the current environment through dynamic addressing, so that the user can use fog at the recommended point to reduce the impact of second-hand smoke on people around you.
It effectively reduces the impact of second-hand smoke on surrounding people, and finds recommended points that meet the conditions through dynamic addressing to ensure that users do not have excessive impact on surrounding people when using atomization equipment.
Smart Images

Figure CN119293351A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic cigarettes, and in particular to a method, device, equipment and storage medium for recommending usage points of an atomizing device. Background Art
[0002] Electronic cigarettes are electronic devices that produce smoke by heating an atomizer, and are used to replace paper cigarettes. However, whether it is electronic cigarettes or paper cigarettes, the smoke exhaled forms secondhand smoke, which will affect the health of other people in the surrounding environment. Therefore, how to reduce the impact of secondhand smoke on people around is an urgent problem to be solved. Summary of the invention
[0003] The embodiment of the present invention provides a method for recommending usage points of an atomizing device, aiming to solve the problem of how to reduce the impact of secondhand smoke on surrounding people. When the current environment is in a windless state, it can be determined whether point recommendation is needed based on the current distance between the atomizing device and the first target person. If point recommendation is needed, the recommended point is found in the current environment through dynamic addressing, so that the user can use the atomizing device at the recommended point, thereby reducing the impact of secondhand smoke on surrounding people.
[0004] In a first aspect, an embodiment of the present invention provides a method for recommending a use point of an atomizing device, the method comprising:
[0005] When the current environment is in a windless state, determining a current distance between the atomization device and at least one first target person, one current distance corresponding to one first target person;
[0006] Based on the current distance and a preset distance threshold, determining whether point recommendation is needed;
[0007] If a point recommendation is required, based on the distance threshold, dynamic addressing is performed in the current environment to obtain recommendation information, where the recommendation information includes a recommended point, and the distance between the recommended point and all the first target persons is greater than the distance threshold;
[0008] The recommendation information is recommended to the user so that the user can reach the recommended location and use the atomization device.
[0009] Optionally, when the current environment is in a windless state, the step of determining the current distance between the atomization device and at least one first target person includes:
[0010] Performing airflow detection on the current environment to determine whether the current environment is in a windless state;
[0011] When the current environment is in a windless state, infrared detection is performed on human bodies in the current environment with the atomization device as the center to obtain a human body distribution map of the current environment, wherein the human body distribution map includes at least one human body point, and one human body point corresponds to one first target person;
[0012] Based on the human body distribution map, a current distance between the atomization device and the first target person is determined.
[0013] Optionally, the step of determining whether point recommendation is required based on the current distance and a preset distance threshold includes:
[0014] Determining the personnel type of the first target person;
[0015] Based on the correspondence between the personnel type and the distance threshold, determining the target distance threshold corresponding to each of the first target personnel;
[0016] For one of the target persons, if the current distance is less than the target distance threshold, the first target person is determined as the second target person;
[0017] Based on at least one of the second target persons, it is determined whether point recommendation is required.
[0018] Optionally, the step of determining whether point recommendation is required based on at least one of the second target persons includes:
[0019] Obtaining positioning data of the atomization device;
[0020] Determining the scene type of the current environment according to the positioning data of the atomization device;
[0021] Based on the scene type and at least one of the second target persons, it is determined whether point recommendation is required.
[0022] Optionally, the step of performing dynamic addressing in the current environment based on the distance threshold to obtain recommendation information includes:
[0023] Based on the distance threshold, determining the influence range of the atomization device in the human body distribution map;
[0024] Based on the influence range, dynamic addressing is performed in the human body distribution map to obtain a recommended area, where the first target person does not exist;
[0025] Based on the recommended area, recommendation information is determined.
[0026] Optionally, the step of performing dynamic addressing in the human body distribution map based on the influence range to obtain a recommended area includes:
[0027] Based on the distance threshold, determining the affected range corresponding to each of the first target persons in the human body distribution map, where one first target person corresponds to one affected range;
[0028] With the goal that the influence range of the atomization device and the influence range of the first target person do not intersect, dynamic addressing is performed in the human body distribution map to obtain the recommended area.
[0029] Optionally, the step of performing dynamic addressing in the human body distribution map includes:
[0030] In the human body distribution map, determining a sparsely distributed human body area and a direction of the sparsely distributed human body area;
[0031] Performing shortest path addressing with the direction of the area where the human bodies are sparsely distributed as the target direction;
[0032] Alternatively, the target direction is determined according to the direction of the current distance, and the shortest path addressing is performed on the target direction in order from small to large according to the current distance.
[0033] In a second aspect, an embodiment of the present invention further provides a usage point recommendation device for an atomizing device, the usage point recommendation device for an atomizing device comprising:
[0034] A first processing module is used to determine the current distance between the atomization device and at least one first target person when the current environment is in a windless state, and one first target person corresponds to one current distance;
[0035] A second processing module, used to determine whether point recommendation is needed based on the current distance and a preset distance threshold;
[0036] A third processing module is used for, if a point recommendation is needed, dynamically addressing in the current environment based on the distance threshold to obtain recommendation information, wherein the recommendation information includes a recommended point, and the distance between the recommended point and all the first target persons is greater than the distance threshold;
[0037] The recommendation module is used to recommend the recommendation information to the user so that the user can go to the recommended location and use the atomization device.
[0038] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the method for recommending usage points of an atomization device provided in an embodiment of the present invention are implemented.
[0039] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the method for recommending usage points of an atomization device provided in an embodiment of the invention are implemented.
[0040] In an embodiment of the present invention, when the current environment is in a windless state, the current distance between the atomizing device and at least one first target person is determined, and one first target person corresponds to one current distance; based on the current distance and a preset distance threshold, it is determined whether point recommendation is needed; if point recommendation is needed, based on the distance threshold, dynamic addressing is performed in the current environment to obtain recommendation information, and the recommendation information includes recommended points, and the distances between the recommended points and all first target persons are greater than the distance threshold; the recommendation information is recommended to the user, so that the user can reach the recommended point to use the atomizing device. The present invention can determine whether point recommendation is needed through the current distance between the atomizing device and the first target person when the current environment is in a windless state. If point recommendation is needed, the recommended point is found in the current environment through dynamic addressing, so that the user can use the atomizing device at the recommended point, thereby reducing the impact of secondhand smoke on people around. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 It is a flow chart of a method for recommending usage points of an atomization device provided by an embodiment of the present invention;
[0043] Figure 2 is a schematic diagram of a human body distribution map provided by an embodiment of the present invention;
[0044] Figure 3 is a schematic diagram of a principle of calculating a recommended area provided by an embodiment of the present invention;
[0045] Figure 4 is a schematic diagram of another principle of calculating a recommended area provided by an embodiment of the present invention;
[0046] Figure 5 It is a structural schematic diagram of a use point recommendation device for an atomization device provided by an embodiment of the present invention;
[0047] Figure 6 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] like Figure 1 As shown, Figure 1 The method flow chart of a method for recommending a use point of an atomizing device provided by an embodiment of the present invention. The method for recommending a use point of an atomizing device comprises the following steps:
[0050] 101. When the current environment is in a windless state, determine the current distance between the atomization device and at least one first target person.
[0051] In an embodiment of the present invention, the atomizing device may be an electronic filter of an electronic cigarette or a cigarette. The location recommendation may be understood as a user recommending a location so that when the user reaches the location to use the atomizing device, the impact of the atomizing device on the surrounding people can be reduced. The method for recommending the location of the atomizing device may be implemented by a processor of the atomizing device.
[0052] The above-mentioned atomization device may include an environmental sensor, and the above-mentioned environmental sensor is used to collect environmental information of the current environment. The above-mentioned environmental information may include gas flow information and personnel distribution information. The above-mentioned gas flow information is used to determine whether the current environment is in a windless state. In a windy state, the smoke will spread with the gas flow, and the impact on the surrounding people is small, so there is no need to consider recommending points to users. The above-mentioned personnel distribution information is used to determine whether point recommendations are required in a windless state, and when point recommendations are required, it is used to constrain the recommended points, so as to find recommended points that meet the conditions.
[0053] The above-mentioned environmental sensors may include wind sensors and infrared sensors.
[0054] The wind sensor is used to detect the gas flow in the current environment and determine the current wind direction. When the current environment is windless, the method for recommending the use point of the atomizer device in this embodiment is executed. When the current environment is windy, the method for recommending the use point of the atomizer device in this embodiment is not executed because the smoke will float with the wind.
[0055] The infrared sensor is used to detect the human body in the current environment, and uses the infrared echo and the infrared echo distance to measure the distance between the atomization device and the human body. The person corresponding to the human body detected by the infrared sensor is determined as the first target person, and the distance is the current distance from the atomization device to the first target person. One first target person corresponds to one current distance. The infrared sensor detects at least one first target person. If the infrared sensor does not detect the first target person, the method for recommending the use point of the atomization device in this embodiment is not executed.
[0056] 102. Determine whether point recommendation is needed based on the current distance and a preset distance threshold.
[0057] In the embodiment of the present invention, the distance threshold is used to indicate whether the atomization device will affect the first target person, and can also be understood as whether the first target person is within the influence range of the atomization device.
[0058] Generally speaking, if the current distance between a first target person and the atomization device is less than a distance threshold, it is determined that the atomization device will affect the first target person; otherwise, it will not affect the first target person.
[0059] If it is determined that the atomization device will affect at least one first target person, it can be determined that point recommendation is required, that is, if there is at least one first target person whose current distance is less than the distance threshold, it can be determined that point recommendation is required.
[0060] Please refer to Figure 2 ,exist Figure 2 In the method, the atomizer device is used as the starting point, and based on the set distance threshold A, it is determined whether there is a first target person whose current distance is less than the distance threshold A. According to the determination result, it is determined whether it is necessary to help the smoker find a new environment for using the atomizer device. If there is a first target person whose current distance is less than the distance threshold A, it can be determined that it is necessary to help the smoker find a new environment for using the atomizer device. If there is no first target person whose current distance is less than the distance threshold A, it can be determined that it is not necessary to help the smoker find a new environment for using the atomizer device.
[0061] 103. If point recommendation is required, dynamic addressing is performed in the current environment based on the distance threshold to obtain recommendation information.
[0062] In an embodiment of the present invention, after determining that a point recommendation is required, a preferred point and a preferred direction that will not affect the first target person can be dynamically found in the current environment based on a distance threshold, thereby forming recommendation information. The recommendation information includes a recommended point, and the distance between the recommended point and all first target persons is greater than the distance threshold.
[0063] Specifically, the above dynamic addressing can be to search for a preferred point by randomly searching for a direction, or to search for a direction according to a preset rule, and the random search direction or the preset rule search direction can be determined as the preferred direction.
[0064] 104. Recommend the recommendation information to the user so that the user can reach the recommended location and use the atomization device.
[0065] In an embodiment of the present invention, after obtaining the recommendation information, the recommendation information can be pushed to the user in the form of arrows, voice, maps or text, so that the user can reach the recommended location according to the recommendation information. The user uses an atomization device at the recommended location, and there is no first target person within the distance threshold range, which can minimize the impact on the surrounding people.
[0066] In an embodiment of the present invention, when the current environment is in a windless state, the current distance between the atomizing device and at least one first target person is determined, and one first target person corresponds to one current distance; based on the current distance and a preset distance threshold, it is determined whether point recommendation is needed; if point recommendation is needed, based on the distance threshold, dynamic addressing is performed in the current environment to obtain recommendation information, and the recommendation information includes recommended points, and the distances between the recommended points and all first target persons are greater than the distance threshold; the recommendation information is recommended to the user, so that the user can reach the recommended point to use the atomizing device. The present invention can determine whether point recommendation is needed through the current distance between the atomizing device and the first target person when the current environment is in a windless state. If point recommendation is needed, the recommended point is found in the current environment through dynamic addressing, so that the user can use the atomizing device at the recommended point, thereby reducing the impact of secondhand smoke on people around.
[0067] It should be noted that the method for recommending usage points of an atomizing device provided in an embodiment of the present invention can be applied to atomizing devices (such as electronic cigarettes), smart phones, tablets, computers, servers and other devices that can perform the method for recommending usage points of an atomizing device.
[0068] It is understandable that in the specific implementation of this application, user data, personnel data, device data and other related data are involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data, as well as model training, deployment and use, must comply with relevant laws, regulations and standards of relevant countries and regions.
[0069] Optionally, when the current environment is in a windless state, in the step of determining the current distance between the atomizing device and at least one first target person, airflow detection can be performed on the current environment to determine whether the current environment is in a windless state; when the current environment is in a windless state, infrared detection of the human body in the current environment is performed with the atomizing device as the center to obtain a human body distribution map of the current environment, wherein the human body distribution map includes at least one human body point, and one human body point corresponds to one first target person; based on the human body distribution map, the current distance between the atomizing device and the first target person is determined.
[0070] In an embodiment of the present invention, the gas flow information of the current environment can be collected through the environmental sensor in the atomization device. The gas flow information is used to determine whether the current environment is in a windless state. In a windy state, the smoke will spread with the gas flow, and the impact on the surrounding people is small, so there is no need to consider recommending points to users. The above-mentioned personnel distribution information is used to determine whether point recommendations are required in a windless state, and when point recommendations are required, it is used to constrain the recommended points so as to find recommended points that meet the conditions.
[0071] Specifically, the above-mentioned environmental sensor may be a wind sensor, which is used to detect the flow of gas in the current environment and determine the current wind direction, and further determine whether the current environment is windless.
[0072] When the current environment is in a windless state, the image sensor or infrared sensor is used to detect and measure the distance of the people in the current environment, thereby obtaining a human body distribution map of the first target person. The human body distribution map is centered on the atomization device, records the position of each first target person (the position of the first target person is the human body point of the first target person), and records the current distance between the first target person and the atomization device.
[0073] The above human body distribution map includes at least one first target person. If there is no person within the detection range of the sensor in the current environment, the corresponding human body distribution map will not be generated.
[0074] After the human body distribution map is obtained, the human body point position of the first target person and the current distance between the first target person and the atomization device can be read from the human body distribution map.
[0075] Optionally, in the step of determining whether point recommendation is needed based on the current distance and a preset distance threshold, the personnel type of the first target person can be determined; based on the correspondence between the personnel type and the distance threshold, the target distance threshold corresponding to each first target person is determined; for a target person, if the current distance is less than the target distance threshold, the first target person is determined as the second target person; based on at least one second target person, determine whether point recommendation is needed.
[0076] In the embodiment of the present invention, in the correspondence between the personnel type and the distance threshold, different personnel types correspond to different distance thresholds. It can be determined whether to automatically adjust the distance threshold according to the personnel type.
[0077] Specifically, based on the human body contour results of infrared scanning and / or biometric features such as sound (collected by sound sensor), it can be determined whether there are pregnant women, children and other types of people in the current personnel type. If so, the distance threshold A is upgraded to the distance threshold A', and updated to a new distance threshold (for example, from 5 meters to 8 meters). The new distance threshold is the target distance threshold. It is determined separately whether the distance between a round of pregnant women and children and the center O (the point of the atomization device) is less than the corresponding target distance threshold. If less than, it is determined that the smoker needs to move, and the smoker needs to be helped to find a new atomization device usage environment, and a point recommendation is required.
[0078] It is understandable that for each first target person, the person type is determined independently, and whether the current distance is less than the corresponding target distance threshold is determined independently. By setting different distance thresholds for different types of people, the degree of harm caused by secondhand smoke to different types of people is considered, so that point recommendations can be made for users more accurately.
[0079] The above-mentioned second target person is a first target person whose current distance is less than the corresponding target distance threshold. After determining at least one second target person, point recommendations can be made directly; or when the number of second target persons reaches a threshold, point recommendations can be made; or the second target person is regarded as a person who meets a preset state, and when the duration of the first target person in the second target person state reaches a duration threshold, point recommendations can be made. Of course, the above opportunities for point recommendations can be used alone or in combination, and the embodiments of the present invention do not make specific limitations.
[0080] It should be noted that the above distance threshold can be determined according to the influence range of the atomization device. The larger the influence range, the larger the distance threshold. The influence range of the atomization device refers to the diffusion range when the concentration of smoke is reduced to the specified concentration after diffusion under windless conditions and determined according to the user's usage habits. Since different types of personnel have different tolerance for smoke concentration, the specified concentrations of different types of personnel are also different, which makes the distance thresholds corresponding to different types of personnel different.
[0081] By setting different distance thresholds for different types of personnel, taking into account the different degrees to which different types of personnel are affected by secondhand smoke, point recommendations can be made more accurately while reducing the impact of secondhand smoke on the health of surrounding personnel.
[0082] Optionally, in the step of determining whether point recommendation is needed based on at least one second target person, the positioning data of the atomization device can be obtained; the scene type of the current environment is determined based on the positioning data of the atomization device; and based on the scene type and at least one second target person, it is determined whether point recommendation is needed.
[0083] In the embodiment of the present invention, the positioning data of the atomizing device can be obtained through the positioning module of the atomizing device, and the positioning module can be a GPS positioning module or an inertial navigation positioning module. Alternatively, the positioning data of the atomizing device can be obtained through a user terminal bound to the atomizing device and communicating with the atomizing device in the near field, such as a mobile phone bound to the atomizing device, a smart wearable device, etc.
[0084] Through the positioning data of the current atomization device, the scene type of the current environment is determined, such as indoor, outdoor, shopping malls, parks, squares, etc.
[0085] Combine the scene type and the number of second target personnel to determine whether to adjust the position of the smoking user. The distribution of outdoor crowds is often uneven, and there are many public places that have a large crowd density, such as shopping mall entrances or square areas. Therefore, considering the normal situation in life and the convenience of product use, in a possible embodiment, for different scene types, different quantity thresholds can be set based on their traffic data (it can also be traffic at different time periods). If there is a second target person, the number of people P of the second target person is also obtained. When the number of people P of the second target person is greater than the set number threshold, it is determined that the smoking user needs to be relocated, and it is necessary to help the smoking user find a new atomization device use environment, and point recommendations are needed.
[0086] According to the positioning data of the atomization device, the current position of the atomization device is determined. According to the current position, the scene type of the current environment is determined in the map, and then it is judged whether it is necessary to consider whether the number of the second target personnel is greater than the number threshold. For scene types with few people, it is not necessary to consider whether the number of the second target personnel is greater than the number threshold. For scene types with many people, it is possible to consider whether the number of the second target personnel is greater than the number threshold. For example, if the scene type of the current location belongs to a densely populated area, consider whether the number of the second target personnel is greater than the number threshold, and judge whether the smoker needs to move. For example, when it is located at the entrance of a shopping mall or in a square area, the number of the second target personnel P is obtained. When the number of the second target personnel P is greater than the set number threshold, it is judged that the smoker needs to move, and it is necessary to help the smoker find a new environment for using the atomization device, and point recommendations are required.
[0087] In a possible embodiment, considering the outdoor scene, many people move continuously. Therefore, if the current distance of the first target person is less than the threshold A for 5 seconds, the current distance is considered to be valid data, and the first target person is the second target person. For example, when waiting for the bus at a bus stop or people gather to chat in a square, there may be many people standing without moving. Otherwise, the data of the first target person is abandoned. When the first target person moves, it is easy to cross the secondhand smoke diffusion area in a short time. Therefore, these moving first target persons can be screened out and will not participate in subsequent calculations as second target persons.
[0088] Optionally, in the step of performing dynamic addressing in the current environment based on a distance threshold to obtain recommended information, the influence range of the atomization device can be determined in the human body distribution map based on the distance threshold; based on the influence range, dynamic addressing is performed in the human body distribution map to obtain a recommended area, and the first target person does not exist in the recommended area; based on the recommended area, the recommended information is determined.
[0089] In the embodiment of the present invention, the above-mentioned dynamic addressing can be a random search direction, or a search direction according to a preset rule to find the preferred point, and the random search direction or the preset rule search direction is determined as the preferred direction.
[0090] The shape of the above-mentioned influence range can be based on the shape of the smoke-filled area when the smoke diffuses freely to the specified concentration in the atomization device without wind. The shape can be the shape of the smoke-filled area after multiple diffusions. The above-mentioned influence range can also be a regular shape, such as a circle or rectangle. It is worth mentioning that different specified concentrations correspond to different distance thresholds.
[0091] Different distance thresholds correspond to different influence ranges, and the corresponding relationship between the distance threshold and the influence range may be preset.
[0092] For ease of understanding, this embodiment is explained with a circular influence range. When it is determined that it is necessary to help smokers find a new safe area, the atomizer is taken as the center O, and a radius value is formed based on the set distance threshold A, and a safety circle 1 is further formed (the safety circle is the influence range). The safety circle 1 is simulated to move in the human body distribution map until a new safe area is found, and the new safe area is used as the recommended area. Among them, when the safety circle 1 moves to the periphery of the human body in the current human body distribution map, and there is no infrared detected human body in the safety circle 1, the area framed by the safety circle 1 is used as the new safe area.
[0093] The formation and moving target of safety circle 1 can be found in Figure 3 ,In the human body distribution map, the point of the direct atomization device is the center point, and the distance threshold A is ,the radius to form a safety circle 1. The safety circle 1 is moved until there is no more infrared human body in the safety circle 1. At this time, the location of the safety circle 1 is ,used as a new safety zone.
[0094] Optionally, in the step of performing dynamic addressing in the human body distribution map based on the affected range to obtain the recommended area, the affected range corresponding to each first target person can be determined in the human body distribution map based on the distance threshold, with one first target person corresponding to one affected range; with the goal of ensuring that the affected range of the atomization equipment and the affected range of the first target person do not intersect, dynamic addressing is performed in the human body distribution map to obtain the recommended area.
[0095] In the embodiment of the present invention, different distance thresholds corresponding to different personnel types are further considered. Therefore, the affected range of each first target person can be determined according to different personnel types. The affected range is determined according to the specified concentration corresponding to the personnel type. If smoke with a concentration above the specified concentration appears in the affected range, it will affect the person corresponding to the personnel type. Different personnel types correspond to different affected ranges.
[0096] In one embodiment, specifically, see Figure 4 , with 1 / 2 of the distance threshold A as the radius, form a safety circle 2. At the same time, with other infrared human bodies as the center and A / 2 as the radius, form a detection circle for auxiliary detection (the detection circle is the affected range). Move the safety circle 2 until the safety circle 2 does not intersect with the human body detection circle, but at least presents a tangent relationship. At this time, the location of the safety circle 2 is regarded as a new safety zone.
[0097] Optionally, in the step of performing dynamic addressing in the human body distribution map, the sparsely distributed human body area and the direction of the sparsely distributed human body area can be determined in the human body distribution map; the shortest path addressing is performed with the direction of the sparsely distributed human body area as the target direction; or, the target direction is determined according to the direction of the current distance, and the shortest path addressing is performed for the target direction in order from the small to the large current distance.
[0098] In the embodiment of the present invention, the moving direction of the influence range may be random movement, movement to a sparse area, or movement in the direction of a human body point with the smallest distance.
[0099] Taking the impact range as the safety circle for explanation, when choosing the moving direction of the safety circle, the safety circle moves randomly and can basically find a suitable area as a new safety zone.
[0100] In order to find the safe new area as soon as possible, two methods are proposed in this embodiment to obtain the distance between the human body point of each first target person and the center O where the atomization device is located in the human body distribution map, that is, the current distance, which can be referred to Figure 1 According to the human body point and the current distance, the sparsely distributed human body area and its direction are determined in the human body distribution map, and the new safe area is explored in the sparsely distributed human body area first; or, according to the order of the distance between the human body and the center O, the new safe area is explored in the direction of the human body point with the shortest distance.
[0101] When there are multiple safe new areas, the distances M1, M2, and M3 from the centers W1, W2, and W3 of the multiple simulated safe new areas to the center O of the current safe circle are compared to find the shortest distance Mn and obtain the corresponding safe new area and its center Wn. The center Wn is used as the current target destination to guide the user from the current center O to the center Wn.
[0102] In a possible embodiment, considering that the infrared detectable distance is limited, when the atomizing device moves, the infrared detection range changes in real time, and when outdoors, there are also new people added to the human body distribution map due to the movement of new people. Therefore, the method for recommending the use points of the atomizing device in this embodiment and the steps for implementing it are ongoing. The currently confirmed safe new area may no longer be a safe new area in the continuous detection process after the atomizing device moves, but after a period of continuous detection, the safe new area and its center Wn can still be found as the destination.
[0103] It is worth mentioning that when the user moves to the destination Wn, the user can choose a direction facing away from a densely populated human body as the direction for blowing smoke (preferred recommended direction), and the direction for blowing smoke is prompted to the user.
[0104] like Figure 5As shown, an embodiment of the present invention provides a device for recommending use points of an atomizing device, and the device for recommending use points of an atomizing device includes:
[0105] The first processing module 501 is used to determine the current distance between the atomization device and at least one first target person when the current environment is in a windless state, and one first target person corresponds to one current distance;
[0106] The second processing module 502 is used to determine whether point recommendation is needed based on the current distance and a preset distance threshold;
[0107] The third processing module 503 is used for, if a point recommendation is needed, dynamically addressing in the current environment based on the distance threshold to obtain recommendation information, wherein the recommendation information includes a recommended point, and the distance between the recommended point and all the first target persons is greater than the distance threshold;
[0108] The recommendation module 504 is used to recommend the recommendation information to the user, so that the user can go to the recommended location and use the atomization device.
[0109] Optionally, the first processing module 501 is also used to perform airflow detection on the current environment to determine whether the current environment is in a windless state; when the current environment is in a windless state, infrared detection is performed on the human body in the current environment with the atomization device as the center to obtain a human body distribution map of the current environment, wherein the human body distribution map includes at least one human body point, and one human body point corresponds to one first target person; based on the human body distribution map, the current distance between the atomization device and at least one first target person is determined.
[0110] Optionally, the second processing module 502 is also used to determine the personnel type of the first target person; based on the correspondence between the personnel type and the distance threshold, determine the target distance threshold corresponding to each of the first target persons; for one of the target persons, if the current distance is less than the target distance threshold, determine the first target person as the second target person; based on at least one of the second target persons, determine whether point recommendation is needed.
[0111] Optionally, the second processing module 502 is also used to obtain the positioning data of the atomization device; determine the scene type of the current environment according to the positioning data of the atomization device; and determine whether point recommendation is required based on the scene type and at least one of the second target persons.
[0112] Optionally, the third processing module 503 is also used to determine the influence range of the atomization device in the human body distribution map based on the distance threshold; based on the influence range, perform dynamic addressing in the human body distribution map to obtain a recommended area, and the first target person does not exist in the recommended area; based on the recommended area, determine the recommended information.
[0113] Optionally, the third processing module 503 is also used to determine the affected range corresponding to each of the first target persons in the human body distribution map based on the distance threshold, with one first target person corresponding to one affected range; with the goal of ensuring that the affected range of the atomization device and the affected range of the first target person do not intersect, dynamic addressing is performed in the human body distribution map to obtain the recommended area.
[0114] Optionally, the third processing module 503 is also used to determine the sparsely distributed human body area and the direction of the sparsely distributed human body area in the human body distribution map; perform shortest path addressing with the direction of the sparsely distributed human body area as the target direction; or, determine the target direction according to the direction of the current distance, and perform shortest path addressing for the target direction in order of the current distance from small to large.
[0115] It should be noted that the device for recommending usage points of an atomizing device provided in an embodiment of the present invention can be applied to atomizing devices (such as electronic cigarettes), smart phones, tablets, computers, servers and other devices that can perform a method for recommending usage points of an atomizing device.
[0116] The device for recommending use points of an atomizing device provided in the embodiment of the present invention can implement each process implemented by the method for recommending use points of an atomizing device in the above method embodiment, and can achieve the same beneficial effects. To avoid repetition, it will not be described here.
[0117] See also Figure 6 , Figure 6 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 6 As shown, it includes: a memory 602, a processor 601, and a computer program of a method for recommending a use point of an atomization device stored in the memory 602 and executable on the processor 601, wherein:
[0118] The processor 601 is used to call the computer program stored in the memory 602 to perform the following steps:
[0119] When the current environment is in a windless state, determining a current distance between the atomization device and at least one first target person, one current distance corresponding to one first target person;
[0120] Based on the current distance and a preset distance threshold, determining whether point recommendation is needed;
[0121] If a point recommendation is required, based on the distance threshold, dynamic addressing is performed in the current environment to obtain recommendation information, where the recommendation information includes a recommended point, and the distance between the recommended point and all the first target persons is greater than the distance threshold;
[0122] The recommendation information is recommended to the user so that the user can reach the recommended location and use the atomization device.
[0123] Optionally, the step of determining the current distance between the atomization device and at least one first target person when the current environment is in a windless state, performed by the processor 601, includes:
[0124] Performing airflow detection on the current environment to determine whether the current environment is in a windless state;
[0125] When the current environment is in a windless state, infrared detection is performed on human bodies in the current environment with the atomization device as the center to obtain a human body distribution map of the current environment, wherein the human body distribution map includes at least one human body point, and one human body point corresponds to one first target person;
[0126] Based on the human body distribution map, a current distance between the atomization device and at least one first target person is determined.
[0127] Optionally, the step of determining whether point recommendation is required based on the current distance and a preset distance threshold, performed by the processor 601, includes:
[0128] Determining the personnel type of the first target person;
[0129] Based on the correspondence between the personnel type and the distance threshold, determining the target distance threshold corresponding to each of the first target personnel;
[0130] For one of the target persons, if the current distance is less than the target distance threshold, the first target person is determined as the second target person;
[0131] Based on at least one of the second target persons, it is determined whether point recommendation is required.
[0132] Optionally, the step of determining whether point recommendation is required based on at least one of the second target persons, performed by the processor 601, includes:
[0133] Obtaining the positioning data of the atomization device;
[0134] Determining the scene type of the current environment according to the positioning data of the atomization device;
[0135] Based on the scene type and at least one of the second target persons, it is determined whether point recommendation is required.
[0136] Optionally, the step of performing dynamic addressing in the current environment based on the distance threshold to obtain recommendation information performed by the processor 601 includes:
[0137] Based on the distance threshold, determining the influence range of the atomization device in the human body distribution map;
[0138] Based on the influence range, dynamic addressing is performed in the human body distribution map to obtain a recommended area, where the first target person does not exist;
[0139] Based on the recommended area, recommendation information is determined.
[0140] Optionally, the step of performing dynamic addressing in the human body distribution map based on the influence range to obtain a recommended area performed by the processor 601 includes:
[0141] Based on the distance threshold, determining the affected range corresponding to each of the first target persons in the human body distribution map, where one first target person corresponds to one affected range;
[0142] With the goal that the influence range of the atomization device and the influence range of the first target person do not intersect, dynamic addressing is performed in the human body distribution map to obtain the recommended area.
[0143] Optionally, the step of performing dynamic addressing in the human body distribution map performed by the processor 601 includes:
[0144] In the human body distribution map, determining a sparsely distributed human body area and a direction of the sparsely distributed human body area;
[0145] Performing shortest path addressing with the direction of the area where the human bodies are sparsely distributed as the target direction;
[0146] Alternatively, the target direction is determined according to the direction of the current distance, and the shortest path addressing is performed on the target direction in order from small to large according to the current distance.
[0147] It should be noted that the electronic device provided in the embodiment of the present invention can be applied to atomization devices (such as electronic cigarettes), smart phones, tablets, computers, servers and other devices that can perform the usage point recommendation method of the atomization device.
[0148] The electronic device provided in the embodiment of the present invention can implement each process implemented by the method for recommending the use point of the atomizing device in the above method embodiment, and can achieve the same beneficial effect. To avoid repetition, it will not be described here.
[0149] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the method for recommending usage points of an atomization device provided in an embodiment of the present invention are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0150] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The computer-readable storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0151] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for recommending usage points of an atomizing device, characterized in that: The method comprises the following steps: When the current environment is in a windless state, determining a current distance between the atomization device and at least one first target person, one current distance corresponding to one first target person; Based on the current distance and a preset distance threshold, determining whether point recommendation is needed; If a point recommendation is required, based on the distance threshold, dynamic addressing is performed in the current environment to obtain recommendation information, where the recommendation information includes a recommended point, and the distance between the recommended point and all the first target persons is greater than the distance threshold; The recommendation information is recommended to the user so that the user can reach the recommended location and use the atomization device.
2. The method for recommending use points of an atomizing device according to claim 1, characterized in that: The step of determining the current distance between the atomization device and at least one first target person when the current environment is in a windless state comprises: Performing airflow detection on the current environment to determine whether the current environment is in a windless state; When the current environment is in a windless state, infrared detection is performed on human bodies in the current environment with the atomization device as the center to obtain a human body distribution map of the current environment, wherein the human body distribution map includes at least one human body point, and one human body point corresponds to one first target person; Based on the human body distribution map, a current distance between the atomization device and the first target person is determined.
3. The method for recommending the use point of the atomizing device according to claim 2, characterized in that: The step of determining whether point recommendation is required based on the current distance and a preset distance threshold comprises: Determining the personnel type of the first target person; Based on the correspondence between the personnel type and the distance threshold, determining the target distance threshold corresponding to each of the first target personnel; For one of the target persons, if the current distance is less than the target distance threshold, the first target person is determined as the second target person; Based on at least one of the second target persons, it is determined whether point recommendation is required.
4. The method for recommending use points of an atomizing device according to claim 3, characterized in that: The step of determining whether point recommendation is required based on at least one of the second target persons comprises: Obtaining positioning data of the atomization device; Determining the scene type of the current environment according to the positioning data of the atomization device; Based on the scene type and at least one of the second target persons, it is determined whether point recommendation is required.
5. The method for recommending the use point of an atomizing device according to any one of claims 2 to 4, characterized in that: The step of performing dynamic addressing in the current environment based on the distance threshold to obtain recommendation information includes: Based on the distance threshold, determining the influence range of the atomization device in the human body distribution map; Based on the influence range, dynamic addressing is performed in the human body distribution map to obtain a recommended area, where the first target person does not exist; Based on the recommended area, recommendation information is determined.
6. The method for recommending use points of an atomizing device according to claim 5, characterized in that: The step of dynamically addressing in the human body distribution map based on the influence range to obtain the recommended area includes: Based on the distance threshold, determining the affected range corresponding to each of the first target persons in the human body distribution map, where one first target person corresponds to one affected range; With the goal that the influence range of the atomization device and the influence range of the first target person do not intersect, dynamic addressing is performed in the human body distribution map to obtain the recommended area.
7. The method for recommending use points of an atomizing device according to claim 5, characterized in that: The step of performing dynamic addressing in the human body distribution map comprises: In the human body distribution map, determining a sparsely distributed human body area and a direction of the sparsely distributed human body area; Performing shortest path addressing with the direction of the area where the human bodies are sparsely distributed as the target direction; Alternatively, the target direction is determined according to the direction of the current distance, and the shortest path addressing is performed on the target direction in order from small to large according to the current distance.
8. A device for recommending the use point of an atomizing device, characterized in that: The use point recommendation device of the atomization equipment includes: A first processing module is used to determine the current distance between the atomization device and at least one first target person when the current environment is in a windless state, and one first target person corresponds to one current distance; A second processing module, used to determine whether point recommendation is needed based on the current distance and a preset distance threshold; A third processing module is used for, if a point recommendation is needed, dynamically addressing in the current environment based on the distance threshold to obtain recommendation information, wherein the recommendation information includes a recommended point, and the distance between the recommended point and all the first target persons is greater than the distance threshold; The recommendation module is used to recommend the recommendation information to the user so that the user can go to the recommended location and use the atomization device.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the method for recommending a point of use of an atomizing device as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the method for recommending a point of use of an atomizing device according to any one of claims 1 to 7 are implemented.