CN114831356B - Electronic cigarette control method based on mobile terminal and related equipment - Google Patents
Electronic cigarette control method based on mobile terminal and related equipment Download PDFInfo
- Publication number
- CN114831356B CN114831356B CN202210781246.1A CN202210781246A CN114831356B CN 114831356 B CN114831356 B CN 114831356B CN 202210781246 A CN202210781246 A CN 202210781246A CN 114831356 B CN114831356 B CN 114831356B
- Authority
- CN
- China
- Prior art keywords
- electronic cigarette
- mobile terminal
- information
- current
- fingerprint
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000003571 electronic cigarette Substances 0.000 title claims abstract description 275
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000000391 smoking effect Effects 0.000 claims description 59
- 239000000779 smoke Substances 0.000 claims description 44
- 230000008859 change Effects 0.000 claims description 35
- 230000006870 function Effects 0.000 claims description 24
- 238000004364 calculation method Methods 0.000 claims description 23
- 238000001514 detection method Methods 0.000 claims description 12
- 238000005286 illumination Methods 0.000 claims description 10
- 230000036541 health Effects 0.000 claims description 9
- 239000000443 aerosol Substances 0.000 claims description 4
- 239000002245 particle Substances 0.000 claims description 4
- 238000002834 transmittance Methods 0.000 claims description 4
- 230000007613 environmental effect Effects 0.000 claims description 3
- 235000019504 cigarettes Nutrition 0.000 description 25
- 238000010438 heat treatment Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 239000000243 solution Substances 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005213 imbibition Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000011550 stock solution Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- SNICXCGAKADSCV-JTQLQIEISA-N (-)-Nicotine Chemical compound CN1CCC[C@H]1C1=CC=CN=C1 SNICXCGAKADSCV-JTQLQIEISA-N 0.000 description 1
- 241000208125 Nicotiana Species 0.000 description 1
- 235000002637 Nicotiana tabacum Nutrition 0.000 description 1
- 238000000889 atomisation Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 235000011389 fruit/vegetable juice Nutrition 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229960002715 nicotine Drugs 0.000 description 1
- SNICXCGAKADSCV-UHFFFAOYSA-N nicotine Natural products CN1CCCC1C1=CC=CN=C1 SNICXCGAKADSCV-UHFFFAOYSA-N 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/50—Control or monitoring
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Lock And Its Accessories (AREA)
Abstract
The invention relates to the technical field of electronic cigarette control, and discloses an electronic cigarette control method based on a mobile terminal and related equipment. The method comprises the following steps: acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information, and dynamically updating in real time; when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, judging whether the current user position information is a non-smoking-limiting area; if the current user position information is a non-smoking-limiting area, fingerprint unlocking is carried out on the electronic cigarette; if the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode; and reading the latest working parameters of the current electronic cigarette, and controlling the electronic cigarette to operate based on the working parameters. According to the invention, through controlling the working parameters of the electronic cigarette in different working modes, more intelligent control on the electronic cigarette is realized, and further the working modes of the electronic cigarette are enriched, so that the use experience of a user is improved and the diversified requirements of the user are met.
Description
Technical Field
The invention relates to the field of electronic cigarette control, in particular to an electronic cigarette control method based on a mobile terminal and related equipment.
Background
The electronic cigarette is also called a virtual cigarette, is an electronic product simulating a cigarette, and has the same appearance, smoke and taste as the cigarette. It is a product which is absorbed by users after nicotine and the like are changed into steam by means of atomization and the like. Because the electronic cigarette has the characteristics of safety, convenience, health, environmental protection and the like in use to a certain extent, the electronic cigarette is gradually favored by more and more users.
Most functions of the electronic cigarette on the market are single at present, generally only have single suction function, and are not flexible enough and changeable, and its intelligent degree is lower moreover, therefore it is necessary to carry out function extension to the electronic cigarette very much, makes it more intelligent, and then richens the mode of operation of electronic cigarette to can improve user's use experience and satisfy user's diversified demand.
Disclosure of Invention
The invention mainly aims to provide an electronic cigarette control method based on a mobile terminal and related equipment, and aims to solve the technical problems that the existing electronic cigarette has single function and cannot meet diversified requirements of users.
The invention provides an electronic cigarette control method based on a mobile terminal, which comprises the following steps:
acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information, and dynamically updating in real time;
when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, judging whether the current user position information is an indoor non-limited smoking area;
if the current user position information is an indoor non-limited smoking area, fingerprint unlocking is carried out on the electronic cigarette;
if the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode;
and reading the latest working parameters of the current electronic cigarette, and controlling the electronic cigarette to operate based on the working parameters.
Optionally, in a first implementation manner of the first aspect of the present invention, when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, the determining whether the current user location information is an indoor non-limited smoking area includes:
when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, acquiring positioning information of the mobile terminal;
judging whether the current position of the mobile terminal is located indoors or not based on the positioning information;
if the mobile terminal is currently located indoors, acquiring the change range of the ambient light index value and the indoor moving distance of the mobile terminal within preset time;
determining a first probability of the current environment change of the mobile terminal based on the change range of the environment illumination index value within the preset time;
determining a second probability of the change of the current user position area based on the indoor moving distance of the mobile terminal within the preset time;
based on the first probability and the second probability, calculating a correlation degree value of the current user in an indoor non-limited smoking area by adopting a preset event correlation degree calculation formula;
and determining the current position area of the mobile terminal based on the correlation degree value.
Optionally, in a second implementation manner of the first aspect of the present invention, the correlation degree calculation formula is as follows:
wherein, the X event is a first probability of environment change based on the ambient illumination index value, the Y event is a second probability of user position area change based on the indoor moving distance of the mobile terminal, the A event is the probability of the current user in the indoor non-limited smoking area,to the extent of correlation between the a event and the X and Y events,is the variance of the X and Y events,is the standard deviation of the X and Y events.
Optionally, in a third implementation manner of the first aspect of the present invention, if the current user location information is an indoor unlimited smoking area, the fingerprint unlocking of the electronic cigarette includes:
if the current user position information is an indoor non-limited smoking area, fingerprint feature information corresponding to user fingerprint information uploaded by the electronic cigarette is extracted;
extracting a vector triangle in the fingerprint characteristic information and comparing the vector triangle with a vector triangle of the fingerprint sample information in a preset fingerprint sample database;
if the vector triangles are in accordance with each other, respectively acquiring the fingerprint characteristic information and the characteristic reference points of the fingerprint sample information, and constructing a first polar coordinate system and a second polar coordinate system according to the characteristic reference points;
judging whether the number of the polar coordinates of the fingerprint characteristic information in the first polar coordinate system and the fingerprint sample information in the second polar coordinate system with the same characteristic points is larger than a preset number or not;
and if the number of the electronic cigarettes is larger than the preset number, unlocking the electronic cigarettes.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the reading the latest operating parameter of the current electronic cigarette, and controlling the electronic cigarette to operate based on the operating parameter includes:
calculating the total smoke release amount generated by the electronic cigarette during working through a preset total smoke release amount calculation formula;
judging whether the total smoke release amount is larger than or equal to a preset smoke amount threshold value, if so, reading a real-time voltage value and a current value of the current electronic cigarette, and calculating first output power of the electronic cigarette;
determining a second output power of the electronic cigarette according to the first output power of the electronic cigarette and the real-time use information of the electronic cigarette;
controlling the electronic cigarette to operate at the second output power.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the total smoke release amount calculation formula is as follows:
wherein H is total smoke release amount, λ is incident light wavelength, ρ0Is the standard density of the smoke particles, C is the empirical constant corresponding to the wavelength of the incident light, T is the transmittance, T is the detection time, T is0To detect the start time, t1For the end of the test, a is the aerosol volume flow.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the determining, according to the first output power of the electronic cigarette and the real-time usage information of the electronic cigarette, the second output power of the electronic cigarette includes:
the method comprises the steps of obtaining a current resistance value of the electronic cigarette and electronic cigarette real-time use information corresponding to the current resistance value of the electronic cigarette, wherein the electronic cigarette real-time use information comprises the current electric quantity of a battery, the health value of the battery, the use time of the battery and the use time of an atomizer;
performing linear fitting on each parameter in the real-time use information of the electronic cigarette to generate corresponding linear fitting data;
extracting coordinate points of the linear fitting data, and retrieving a matched fitting function from a preset fitting function library according to the coordinate points;
and fitting the linear fitting data according to the fitting function to obtain a second output power of the electronic cigarette.
The invention provides an electronic cigarette control device based on a mobile terminal, which comprises:
the real-time positioning module is used for acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information and carrying out real-time dynamic updating;
the position judgment module is used for judging whether the current user position information is an indoor non-limited smoking area or not when a fingerprint unlocking signal initiated by the electronic cigarette is monitored;
the fingerprint unlocking module is used for carrying out fingerprint unlocking on the electronic cigarette if the current user position information is an indoor non-limited smoking area;
the starting module is used for controlling the electronic cigarette to enter a working mode if the fingerprint unlocking is successful;
and the control module is used for reading the latest working parameters of the current electronic cigarette and controlling the electronic cigarette to operate based on the working parameters.
Optionally, in a first implementation manner of the second aspect of the present invention, the position determining module includes:
the positioning unit is used for acquiring positioning information of the mobile terminal when a fingerprint unlocking signal initiated by the electronic cigarette is monitored;
the judging unit is used for judging whether the current position of the mobile terminal is located indoors or not based on the positioning information;
the acquisition unit is used for acquiring the change range of the ambient light index value and the indoor moving distance of the mobile terminal within preset time if the mobile terminal is currently located indoors;
the detection unit is used for determining a first probability of the current environment change of the mobile terminal based on the change range of the environment illumination index value within the preset time;
the determining unit is used for determining a second probability that the current user position area changes based on the indoor moving distance of the mobile terminal within the preset time;
the calculating unit is used for calculating the correlation degree value of the current user in the indoor non-limited smoking area by adopting a preset event correlation degree calculating formula based on the first probability and the second probability;
and the position determining unit is used for determining the current position area of the mobile terminal based on the correlation degree value.
Optionally, in a second implementation manner of the second aspect of the present invention, the calculation formula of the correlation degree in the calculation unit is as follows:
wherein, the X event is a first probability of the change of the environment based on the ambient illumination index value, the Y event is a second probability of the change of the user position area based on the indoor moving distance of the mobile terminal, the A event is the probability of the current user being positioned in the indoor non-limited smoking area,to the extent of correlation between the a event and the X and Y events,is the variance of the X and Y events,is X event and YStandard deviation of events.
Optionally, in a third implementation manner of the second aspect of the present invention, the fingerprint unlocking module includes:
the extraction unit is used for extracting fingerprint characteristic information corresponding to the user fingerprint information uploaded by the electronic cigarette if the current user position information is an indoor non-limited smoking area;
the comparison unit is used for extracting a vector triangle in the fingerprint characteristic information and comparing the vector triangle with a vector triangle of fingerprint sample information in a preset fingerprint sample database;
the modeling unit is used for respectively acquiring the fingerprint characteristic information and the characteristic reference points of the fingerprint sample information if the vector triangles are consistent in comparison, and constructing a first polar coordinate system and a second polar coordinate system according to the characteristic reference points;
the judging unit is used for judging whether the number of the polar coordinates of the fingerprint characteristic information in the first polar coordinate system and the fingerprint sample information in the second polar coordinate system with the same characteristic points is larger than a preset number;
and the unlocking unit is used for unlocking the electronic cigarette if the number of the electronic cigarettes is larger than the preset number.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the control module includes:
the calculating unit is used for calculating the total smoke release amount generated when the electronic cigarette works through a preset total smoke release amount calculating formula;
the judging unit is used for judging whether the total smoke release amount is larger than or equal to a preset smoke amount threshold value or not, if so, reading a real-time voltage value and a current value of the current electronic cigarette, and calculating first output power of the electronic cigarette;
the determining unit is used for determining second output power of the electronic cigarette according to the first output power of the electronic cigarette and the real-time use information of the electronic cigarette;
and the control unit is used for controlling the electronic cigarette to operate at the second output power.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the total smoke release amount in the calculating unit is calculated as follows:
wherein H is the total smoke release amount, λ is the wavelength of incident light, ρ0Is the standard density of the smoke particles, C is the empirical constant corresponding to the wavelength of the incident light, T is the transmittance, T is the detection time, T is0To detect the start time, t1For the end of the test, a is the aerosol volume flow.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the determining unit in the control module is specifically configured to:
the method comprises the steps of obtaining a current resistance value of the electronic cigarette and real-time use information of the electronic cigarette corresponding to the current resistance value of the electronic cigarette, wherein the real-time use information of the electronic cigarette comprises the current electric quantity of a battery, the health value of the battery, the use time of the battery and the use time of an atomizer;
performing linear fitting on each parameter in the real-time use information of the electronic cigarette to generate corresponding linear fitting data;
extracting coordinate points of the linear fitting data, and retrieving a matched fitting function from a preset fitting function library according to the coordinate points;
and fitting the linear fitting data according to the fitting function to obtain a second output power of the electronic cigarette.
A third aspect of the present invention provides a mobile terminal, including: a memory and at least one processor, the memory having instructions stored therein; the at least one processor invokes the instructions in the memory to cause the mobile terminal to execute any one of the mobile terminal based e-cigarette control methods described above.
A fourth aspect of the present invention provides a computer readable storage medium having stored thereon instructions which, when executed by a processor, implement a mobile terminal-based electronic cigarette control method as defined in any one of the above.
In the technical scheme provided by the invention, the mobile terminal generates the user position information and carries out real-time dynamic update by acquiring the positioning information of the mobile terminal in real time; when the mobile terminal monitors a fingerprint unlocking signal initiated by the electronic cigarette, judging whether the current user position information is an indoor non-limited smoking area; if the current user position information is an indoor non-limited smoking area, fingerprint unlocking is carried out on the electronic cigarette; when the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode; the electronic cigarette is controlled to operate based on the latest working parameters of the current electronic cigarette by reading the latest working parameters. According to the technical scheme provided by the invention, more intelligent control over the electronic cigarette is realized by controlling the working parameters of the electronic cigarette in different working modes, so that the working modes of the electronic cigarette are enriched, the use experience of a user is improved, and the diversified requirements of the user are met.
Drawings
Fig. 1 is a schematic diagram of a first embodiment of an electronic cigarette control method based on a mobile terminal in an embodiment of the present invention;
fig. 2 is a schematic diagram of a second embodiment of the electronic cigarette control method based on the mobile terminal according to the embodiment of the present invention;
fig. 3 is a schematic diagram of a third embodiment of the electronic cigarette control method based on the mobile terminal in the embodiment of the present invention;
fig. 4 is a schematic diagram of a fourth embodiment of the electronic cigarette control method based on the mobile terminal in the embodiment of the present invention;
figure 5 is a schematic diagram of an embodiment of an electronic cigarette control device based on a mobile terminal in the embodiment of the present invention;
fig. 6 is a schematic diagram of an embodiment of a mobile terminal in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an electronic cigarette control method based on a mobile terminal and related equipment, which realize more intelligent control on an electronic cigarette, and further enrich the working mode of the electronic cigarette, thereby improving the use experience of a user and meeting the diversified requirements of the user.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a detailed flow of an embodiment of the present invention is described below, and referring to fig. 1, a first embodiment of an electronic cigarette control method based on a mobile terminal in an embodiment of the present invention includes:
s101, acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information, and dynamically updating in real time;
it is understood that the execution subject of the present invention is a mobile terminal, and the mobile terminal may be a mobile phone or other network-connectable mobile devices such as iPad, which is not limited herein. The embodiment of the present invention is described by taking a mobile terminal as an execution subject.
In this embodiment, the mobile terminal obtains the positioning information of the mobile terminal in real time, and generates a position coordinate through the positioning information, where the position coordinate is a user position coordinate, so as to update the user position information in real time.
S102, when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, judging whether the current user position information is an indoor non-limited smoking area;
in this embodiment, when the mobile terminal monitors a fingerprint unlocking signal initiated by the electronic cigarette, whether the user is currently in the non-smoking-restricted area is determined by acquiring the real-time user position coordinate. The unrestricted area refers to a smoking area, and a user can smoke the electronic cigarette in the unrestricted smoking area. When the unrestricted area is outdoors, the user can directly view the unrestricted area with the unrestricted area identifier on a map, wherein the map can be the map stored in the electronic cigarette, the map around the mobile terminal obtained by the mobile terminal from the cloud server according to the positioning information, or the map stored in the mobile terminal. The map referred to herein may include coordinate information and location description information for a plurality of locations. The map may further include at least one of location markers, paths, road signs and real-time traffic information for a plurality of roads. When the unrestricted area is indoor, it needs to be analyzed and judged whether the user is located in the indoor unrestricted area of the indoor restricted area through an algorithm.
S103, if the current user position information is an indoor non-limited smoking area, fingerprint unlocking is carried out on the electronic cigarette;
in this embodiment, when it is determined that the current user is located in an indoor unrestricted smoking area, the fingerprint of the user is identified through the mobile terminal, so as to unlock the fingerprint of the electronic cigarette.
S104, if the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode;
in this embodiment, if the user fingerprint and the fingerprint stored in the fingerprint database can be successfully matched, the electronic cigarette is controlled to be unlocked, and the electronic cigarette is started to enter the working mode. Wherein, fingerprint information in the fingerprint database can be added by user-defined, after user's fingerprint information successfully types the fingerprint database, through the fingerprint sensor in the electron cigarette, judges whether the fingerprint of user fingerprint and storage in the fingerprint database can match successfully.
And S105, reading the latest working parameters of the current electronic cigarette, and controlling the electronic cigarette to operate based on the working parameters.
In this embodiment, when the electronic cigarette starts, each item working parameter of current electronic cigarette is read, and output power is adjusted based on current working parameter to control the electronic cigarette to operate in different working modes. The working mode is a working mode which is set when the electronic cigarette leaves a factory, the output power corresponding to different working modes is inconsistent, and a user can select the working mode by operating the mobile terminal.
In the embodiment of the invention, the mobile terminal generates the user position information and carries out real-time dynamic update by acquiring the positioning information of the mobile terminal in real time; when the mobile terminal monitors a fingerprint unlocking signal initiated by the electronic cigarette, judging whether the current user position information is an indoor non-limited smoking area; if the current user position information is an indoor non-limited smoking area, fingerprint unlocking is carried out on the electronic cigarette; when the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode; the electronic cigarette is controlled to operate based on the latest working parameters of the current electronic cigarette by reading the latest working parameters. Through the control to operating parameter when the different mode of operation of electron cigarette, realized more intelligent control to the electron cigarette, and then richened the mode of operation of electron cigarette to user's use experience has been improved and user's diversified demand has been satisfied.
Referring to fig. 2, a second embodiment of the electronic cigarette control method based on a mobile terminal according to the embodiment of the present invention includes:
s201, acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information, and dynamically updating in real time;
s202, when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, acquiring positioning information of the mobile terminal;
in this embodiment, when the mobile terminal monitors a fingerprint unlocking signal initiated by the electronic cigarette, the real-time positioning information of the current mobile terminal is acquired.
S203, judging whether the current position of the mobile terminal is located indoors or not based on the positioning information;
in this embodiment, the mobile terminal determines whether the current position of the mobile terminal is located indoors or not according to the current user position coordinate. When the user is outdoors, whether the user is in the outdoor non-limited area can be directly judged through the map, but when the user is indoors, whether the user is in the indoor non-limited area can not be directly judged. When the unrestricted area is indoor, it needs to be analyzed and judged whether the user is located in the indoor unrestricted area of the indoor restricted area through an algorithm.
S204, if the mobile terminal is located indoors currently, acquiring the change range of the ambient light index value and the indoor moving distance of the mobile terminal within preset time;
s205, determining a first probability of the current environment change of the mobile terminal based on the change range of the environment illumination index value within preset time;
s206, determining a second probability of the change of the current user position area based on the indoor moving distance of the mobile terminal in the preset time;
s207, based on the first probability and the second probability, calculating a correlation degree value of the current user in an indoor non-limited smoking area by adopting a preset event correlation degree calculation formula;
in this embodiment, the change range of the ambient light index value within the preset time and the indoor moving distance of the mobile terminal within the preset time are both the influence factors that determine that the user is currently located in the indoor non-limited smoking area, and many influence factors that determine that the user is currently located in the indoor non-limited smoking area, but do not act as the main interference factors in the present scheme, when the ambient light index value changes within the preset time and the change range of the ambient light index value is within the preset ambient light change threshold, a first probability that the current environment of the mobile terminal changes may be determined, when the indoor moving distance of the mobile terminal within the preset indoor moving distance threshold, a second probability that the current user location area changes may be determined, a correlation degree calculation formula for a preset event is used to calculate a correlation degree value that the current user is located in the indoor non-limited smoking area, and when the correlation degree value is within the preset correlation degree threshold, it indicates that the current user has a higher probability of being located in the indoor non-limited smoking area.
In an alternative embodiment, the correlation degree value of the current user in the indoor non-limited smoking area is calculated by the following correlation degree calculation formula:
wherein, the X event is a first probability of environment change based on the ambient illumination index value, the Y event is a second probability of user position area change based on the indoor moving distance of the mobile terminal, the A event is the probability of the current user in the indoor non-limited smoking area,to the extent of correlation between the a event and the X and Y events,is the variance of the X and Y events,is the standard deviation of the X and Y events.
S208, determining the current position area of the mobile terminal based on the correlation degree value;
in this embodiment, the correlation degree value is obtained through the above calculation, and when the correlation degree value is within a preset correlation degree threshold range, it is determined that the mobile terminal is currently located in an indoor non-smoking-restricted environment in an indoor smoking-restricted area.
S209, if the current user position information is an indoor non-limited smoking area, fingerprint unlocking is carried out on the electronic cigarette;
s210, if the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode;
and S211, reading the latest working parameters of the current electronic cigarette, and controlling the electronic cigarette to operate based on the working parameters.
In the embodiment of the invention, the mobile terminal generates the user position information and carries out real-time dynamic updating by acquiring the positioning information of the mobile terminal in real time; when the mobile terminal monitors a fingerprint unlocking signal initiated by the electronic cigarette, the use scene of the electronic cigarette is limited by judging whether the current user position is in an indoor non-limited smoking area; when the fact that the user is located in an indoor non-limited smoking area is judged, fingerprint unlocking is conducted on the electronic cigarette; and when the fingerprint unlocking is successful, controlling the electronic cigarette to start running. The electronic cigarette is controlled to be smoked by judging whether the user is currently located in the indoor non-limited smoking environment of the indoor limited smoking area, so that the user is ensured not to use the electronic cigarette in the limited smoking area, and the intelligent smoking control of the electronic cigarette is realized.
Referring to fig. 3, a third embodiment of the electronic cigarette control method based on the mobile terminal in the embodiment of the present invention includes:
s301, acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information, and dynamically updating in real time;
s302, when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, judging whether the current user position information is an indoor non-limited smoking area;
s303, if the current user position information is an indoor non-limited smoking area, extracting fingerprint characteristic information corresponding to user fingerprint information uploaded by the electronic cigarette;
in this embodiment, on the premise that the fingerprint can be successfully identified, the fingerprint image has a certain amount of characteristic information, when the mobile terminal monitors a fingerprint unlocking signal initiated by the electronic cigarette, and the user is currently located in an indoor non-limited smoking area, fingerprint characteristic information corresponding to the user fingerprint information uploaded by the electronic cigarette is extracted. The fingerprint characteristic information includes a fingerprint center and a triangular point which are easy to obtain, and also includes a starting end point, a cross point, a convergence point and the like of a line.
S304, extracting a vector triangle in the fingerprint characteristic information and comparing the vector triangle with a vector triangle of the fingerprint sample information in a preset fingerprint sample database;
in this embodiment, a fingerprint sample database is stored in the mobile terminal, and the fingerprint sample database stores a fingerprint sample for unlocking the electronic cigarette, which is set by a user. Wherein, the fingerprint sample can set up when the user uses the electron cigarette for the first time, also can select electron cigarette fingerprint through mobile terminal to set up the function after, add the sample fingerprint or delete original sample fingerprint. And the mobile terminal extracts a vector triangle from the fingerprint characteristic information uploaded by the electronic cigarette. When an object is subjected to the balance of three concurrent force actions in the same plane, the object is connected end to end according to the force action direction of each object, a closed triangle can be formed certainly, the closed triangle is called as a vector triangle, the vector triangle in the fingerprint characteristic information is compared with the vector triangle of the fingerprint sample information in a preset fingerprint sample database, and if the vector triangles are not equal, the fingerprints are directly judged to be mismatched.
S305, if the vector triangles are consistent in comparison, respectively obtaining feature reference points of the fingerprint feature information and the fingerprint sample information, and correspondingly constructing a first polar coordinate system and a second polar coordinate system according to the feature reference points;
in this embodiment, when the vector triangles are all equal, a feature reference point is further determined, where the feature reference point is a fingerprint center in the fingerprint feature information, the feature reference point of the fingerprint feature information and the feature reference point of the fingerprint sample information are respectively obtained, a polar coordinate system is established with horizontal and vertical coordinates of the feature reference point as a direction, a polar coordinate radius and an angle of each feature point in the fingerprint feature information are determined, and each feature point is arranged according to an increasing order of polar coordinate angles, where a polar coordinate system established with the feature reference point of the fingerprint feature information is a first polar coordinate system, and a polar coordinate system established with the feature reference point of the fingerprint sample information is a second polar coordinate system.
S306, judging whether the number of polar coordinates of the fingerprint characteristic information in the first polar coordinate system and the fingerprint sample information in the second polar coordinate system with the same characteristic points is larger than a preset number;
in this embodiment, it is determined whether the number of feature points having the same feature point polar coordinates in the first polar coordinate system and the second polar coordinate system is greater than a preset number, and if so, it is determined that the fingerprint matching is successful.
S307, if the number of the electronic cigarettes is larger than the preset number, unlocking the electronic cigarettes;
in this embodiment, when the fingerprint matching is successful, it indicates that the identity of the user currently using the electronic cigarette is consistent with the identity of the user who sets the preset fingerprint, and the electronic cigarette is unlocked. If the fingerprint matches unsuccessfully, then explain that the user who uses the electron cigarette at present is inconsistent with the user identity who sets up the default fingerprint, and the electron cigarette probably is operated by children or other people this moment, and the electron cigarette can not be unblock, and the children or other people that contact the electron cigarette at present promptly can not use this electron cigarette, just can unblock the electron cigarette until the fingerprint matches successfully.
S308, if the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode;
and S309, reading the latest working parameters of the current electronic cigarette, and controlling the electronic cigarette to operate based on the working parameters.
In the embodiment of the invention, the mobile terminal generates the user position information and carries out real-time dynamic update by acquiring the positioning information of the mobile terminal in real time; when the mobile terminal monitors a fingerprint unlocking signal initiated by the electronic cigarette, judging whether the current user position information is an indoor non-limited smoking area; if the current user position information is an indoor non-limited smoking area, fingerprint matching is carried out on the collected user fingerprint information and fingerprint sample information in a preset fingerprint sample database; when the fingerprint matching is successful, fingerprint unlocking is carried out on the electronic cigarette, the electronic cigarette is controlled to enter a working mode, the latest working parameter of the current electronic cigarette is read, and the electronic cigarette is controlled to operate based on the working parameter. Can prevent through the fingerprint identification technique that the electron cigarette from being appeared by other people or even children's condition of misuse, can also prevent that the electron cigarette from avoiding being misused by other people because the condition that the maloperation was opened appears to the security of electron cigarette has been improved.
Referring to fig. 4, a fourth embodiment of the electronic cigarette control method based on the mobile terminal according to the embodiment of the present invention includes:
s401, acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information, and dynamically updating in real time;
s402, when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, judging whether the current user position information is an indoor non-limited smoking area;
s403, if the current user position information is an indoor non-limited smoking area, fingerprint unlocking is carried out on the electronic cigarette;
s404, if the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode;
s405, calculating the total smoke release amount generated when the electronic cigarette works through a preset total smoke release amount calculation formula;
in an alternative embodiment, the following calculation formula of the total smoke release amount is specifically adopted for calculation:
h is total smoke release amount, lambda is incident light wavelength, light of the current environment where the electronic cigarette is located can be detected through a built-in light wavelength detection device and obtained through calculation, and rho0Is the standard density of the smoke particles, C is the empirical constant corresponding to the wavelength of the incident light, T is the transmittance, T is the detection time, T is0To detect the start time, t1For the end of detection time, a is the aerosol volume flow.
S406, judging whether the total smoke release amount is larger than or equal to a preset smoke amount threshold value, if so, reading a real-time voltage value and a current value of the current electronic cigarette, and calculating first output power of the electronic cigarette;
in this embodiment, when the total smoke release amount generated by the electronic cigarette during operation is greater than or equal to the preset smoke amount threshold, the real-time voltage value and the current value of the current electronic cigarette are read, and the current output power of the electronic cigarette is calculated, where the current output power is the first output power. The real-time voltage value refers to the voltage of two ends of the electronic cigarette when a power supply battery supplies power. In practical applications, the real-time voltage value can be obtained by detecting through an analog-to-digital converter of the electronic cigarette configuration.
S407, determining second output power of the electronic cigarette according to the first output power of the electronic cigarette and the real-time use information of the electronic cigarette;
in an optional embodiment, the determining the second output power of the electronic cigarette according to the first output power of the electronic cigarette and the real-time usage information of the electronic cigarette specifically includes the following steps:
the method comprises the steps of firstly, acquiring a current resistance value of the electronic cigarette and real-time use information of the electronic cigarette corresponding to the current resistance value of the electronic cigarette, wherein the real-time use information of the electronic cigarette comprises the current electric quantity of a battery, the health value of the battery, the use duration of the battery and the use duration of an atomizer;
secondly, performing linear fitting on each parameter in the real-time use information of the electronic cigarette to generate corresponding linear fitting data;
thirdly, extracting coordinate points of the linear fitting data, and retrieving a matched fitting function from a preset fitting function library according to the coordinate points;
and fourthly, fitting the linear fitting data according to the fitting function to obtain second output power of the electronic cigarette.
In this optional embodiment, the atomizer of electron cigarette includes atomising head and stock solution subassembly, be equipped with heating element and imbibition piece in the atomising head, imbibition piece absorbs the tobacco juice from the stock solution chamber through inlet channel and heats out the cigarette in order to supply for heating element, can be equipped with heating element detection circuitry in the electron cigarette, heating element detection circuitry and the atomizing circuit connection of electron cigarette, whether insert heating element for detecting among the atomizing circuit, the atomizing circuit setting of electron cigarette and communicate with battery device in the battery device of electron cigarette, heating element installs the slot on the atomizer earlier usually, when the atomizer is connected with the battery device of electron cigarette, heating element inserts the atomizing circuit, will produce current pulse signal because of the abrupt change of resistance in the circuit when inserting heating element among the atomizing circuit, when detecting this current pulse signal, can confirm that insert heating element in the atomizing circuit, atomising head or atomizer, thereby further acquire the resistance of heating element. Under the current resistance value of the electronic cigarette, acquiring the real-time use information of the current electronic cigarette, wherein parameters in the real-time use information of the electronic cigarette include, but are not limited to, the current electric quantity of a battery, a battery health value, the battery use duration and the atomizer use duration, and the real-time use information of the electronic cigarette can reflect whether the current use state of the electronic cigarette is good, such as whether the electric quantity is about to be exhausted, whether the battery life or the atomizer life reaches a limit, and the like.
In the optional embodiment, parameters influencing the final output power are many, so that linear fitting is performed on each parameter in the real-time use information of the electronic cigarette to generate corresponding linear fitting data, coordinate points in the linear fitting data are extracted, and matched fitting functions are retrieved from a preset fitting function library according to the coordinate points; and fitting the linear fitting data according to the fitting function to obtain the second output power of the electronic cigarette. The method can predict the large number, natural development and no drastic change based on fitting function analysis and processing, and grasp the development direction of objects, namely, the corresponding relation between the real-time use information of the electronic cigarette and the output power range, or the corresponding relation between the real-time use information range and the output power range can be obtained. The service life of the battery and the atomizer is in a negative correlation relation with the output power, namely the service life of the battery is longer, the upper limit value of the output power is smaller, and the service life of the battery and the atomizer is in a negative correlation relation with the output power, namely the longer the service life is, the smaller the output power is. When the corresponding relation between the real-time use information and the output power range is determined, the remaining electric quantity of the battery can be indirectly obtained through the current electric quantity of the battery and the health value of the battery, the output power range corresponding to the remaining electric quantity is the power range which enables the electronic cigarette to perform energy-saving output and smoke discharge under the remaining electric quantity, exceeding the power range may cause too fast power consumption of the electronic cigarette, seriously affect the use time of the electronic cigarette, or too low power to atomize smoke liquid, the output power range corresponding to the use time of the battery is the safe power range which cannot cause the battery damage under the use time, exceeding the power range may cause the battery damage to cause safety problems, the output power range corresponding to the use time of the atomizer is the safe power range which cannot cause the atomizer damage under the use time, and exceeding the power range may cause the atomizer to burn out.
And S408, controlling the electronic cigarette to operate at the second output power.
In the embodiment of the invention, a mobile terminal acquires user position information in real time and dynamically updates the user position information in real time, when a fingerprint unlocking signal initiated by an electronic cigarette is monitored, whether the current user position information is an indoor non-limited smoking area is judged, and if the current user position information is the indoor non-limited smoking area and the fingerprint unlocking is successful, the electronic cigarette is controlled to enter a working mode; the method comprises the steps of calculating the total smoke release amount generated when an electronic cigarette works through a preset total smoke release amount calculation formula, judging whether the total smoke release amount is larger than or equal to a preset smoke amount threshold value or not, reading a real-time voltage value and a current value of the current electronic cigarette when the total smoke release amount is larger than or equal to the preset smoke amount threshold value, calculating the current output power of the electronic cigarette, determining the output power of the electronic cigarette through fitting of various parameters according to the current output power of the electronic cigarette and various parameters in real-time use information of the electronic cigarette, such as the current electric quantity of a battery, the health value of the battery, the use time of an atomizer and the like, and controlling the electronic cigarette to output at the output power. Based on the latest working parameters of the electronic cigarette, the electronic cigarette is controlled to operate by adjusting the output power of the electronic cigarette, so that unnecessary loss of the electronic cigarette is reduced, the use safety of the electronic cigarette is ensured, and more intelligent control over the electronic cigarette is realized.
In the above description of the electronic cigarette control method based on the mobile terminal in the embodiment of the present invention, the electronic cigarette control device based on the mobile terminal in the embodiment of the present invention is described below with reference to fig. 5, and an embodiment of the electronic cigarette control device based on the mobile terminal in the embodiment of the present invention includes:
a real-time positioning module 501, configured to obtain positioning information of the mobile terminal in real time, generate user location information based on the positioning information, and perform real-time dynamic update;
the position judgment module 502 is used for judging whether the current user position information is an indoor non-limited smoking area or not when a fingerprint unlocking signal initiated by the electronic cigarette is monitored;
the fingerprint unlocking module 503 is configured to perform fingerprint unlocking on the electronic cigarette if the current user location information is an indoor unlimited smoking area;
the starting module 504 is used for controlling the electronic cigarette to enter a working mode if the fingerprint unlocking is successful;
and the control module 505 is used for reading the latest working parameters of the current electronic cigarette and controlling the electronic cigarette to operate based on the working parameters.
Optionally, the position determining module 502 further includes:
the positioning unit 5021 is used for acquiring positioning information of the mobile terminal when a fingerprint unlocking signal initiated by the electronic cigarette is monitored;
a judging unit 5022, configured to judge whether the current location of the mobile terminal is located indoors based on the positioning information;
the acquisition unit 5023 is used for acquiring the change range of the ambient light index value and the indoor moving distance of the mobile terminal within the preset time if the mobile terminal is located indoors currently;
the detection unit 5024 is used for determining a first probability that the current environment of the mobile terminal changes based on the change range of the ambient light index value within preset time;
a determining unit 5025, configured to determine a second probability that a current user location area changes based on an indoor moving distance of the mobile terminal within a preset time;
a calculating unit 5026, configured to calculate a correlation degree value of the current user in an indoor unrestricted smoking area by using a preset event correlation degree calculation formula based on the first probability and the second probability;
a location determining unit 5027, configured to determine a location area where the mobile terminal is currently located based on the correlation degree value.
Optionally, the fingerprint unlocking module 503 further includes:
an extracting unit 5031, configured to extract fingerprint feature information corresponding to the user fingerprint information uploaded by the electronic cigarette if the current user location information is an indoor unrestricted smoking area;
a comparing unit 5032, configured to extract a vector triangle in the fingerprint feature information and compare the vector triangle with a vector triangle in the fingerprint sample information in a preset fingerprint sample database;
the modeling unit 5033 is configured to, if the vector triangles are in accordance with each other in comparison, obtain feature reference points of the fingerprint feature information and the fingerprint sample information, and construct a first polar coordinate system and a second polar coordinate system according to the feature reference points;
a determining unit 5034, configured to determine whether the number of polar coordinates of the fingerprint feature information in the first polar coordinate system and the fingerprint sample information in the second polar coordinate system having the same feature point is greater than a preset number;
an unlocking unit 5035, configured to unlock the electronic cigarette if the number of the electronic cigarettes is greater than the preset number.
Optionally, the control module 505 further includes:
a calculation unit 5051, configured to calculate a total smoke release amount generated by the electronic cigarette during operation according to a preset total smoke release amount calculation formula;
the judging unit 5052 is used for judging whether the total smoke release amount is greater than or equal to a preset smoke amount threshold, if so, reading a real-time voltage value and a current value of the current electronic cigarette, and calculating first output power of the electronic cigarette;
a determination unit 5053, configured to determine a second output power of the electronic cigarette according to the first output power of the electronic cigarette and the real-time usage information of the electronic cigarette;
a control unit 5054 for controlling the electronic cigarette to operate at the second output power.
Optionally, the determining unit 5053 in the control module 505 may be further specifically configured to:
acquiring the current resistance value of the electronic cigarette and the real-time use information of the electronic cigarette corresponding to the current resistance value of the electronic cigarette, wherein the real-time use information of the electronic cigarette comprises the current electric quantity of a battery, the health value of the battery, the use time of the battery and the use time of an atomizer; carrying out linear fitting on each parameter in the real-time use information of the electronic cigarette to generate corresponding linear fitting data; extracting coordinate points of the linear fitting data, and retrieving a matched fitting function from a preset fitting function library according to the coordinate points; and fitting the linear fitting data according to the fitting function to obtain the second output power of the electronic cigarette.
In the embodiment of the invention, the mobile terminal generates the user position information and carries out real-time dynamic update by acquiring the positioning information of the mobile terminal in real time; when the mobile terminal monitors a fingerprint unlocking signal initiated by the electronic cigarette, judging whether the current user position information is an indoor non-limited smoking area; if the current user position information is an indoor non-limited smoking area, fingerprint unlocking is carried out on the electronic cigarette; when the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode; the electronic cigarette is controlled to operate by reading the latest working parameters of the current electronic cigarette and based on the working parameters. According to the technical scheme provided by the invention, more intelligent control over the electronic cigarette is realized by controlling the working parameters of the electronic cigarette in different working modes, so that the working modes of the electronic cigarette are enriched, the use experience of a user is improved, and the diversified requirements of the user are met.
Fig. 5 describes the electronic cigarette control device based on the mobile terminal in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the mobile terminal in the embodiment of the present invention is described in detail from the perspective of the hardware processing.
Fig. 6 is a schematic structural diagram of a mobile terminal 600 according to an embodiment of the present invention, where the mobile terminal 600 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 610 (e.g., one or more processors) and a memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) for storing applications 633 or data 632. Memory 620 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instructions for operating the mobile terminal 600. Further, the processor 610 may be configured to communicate with the storage medium 630 and execute a series of instruction operations in the storage medium 630 on the mobile terminal 600.
The mobile terminal 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input-output interfaces 660, and/or one or more operating systems 631. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The invention further provides a mobile terminal, which comprises a memory and a processor, wherein computer readable instructions are stored in the memory, and when being executed by the processor, the computer readable instructions cause the processor to execute the steps of the mobile terminal-based electronic cigarette control method in the embodiments.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and may also be a volatile computer readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the mobile terminal-based electronic cigarette control method.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (7)
1. An electronic cigarette control method based on a mobile terminal is characterized by comprising the following steps:
acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information, and dynamically updating in real time;
when a fingerprint unlocking signal initiated by the electronic cigarette is monitored, acquiring positioning information of the mobile terminal;
judging whether the current position of the mobile terminal is located indoors or not based on the positioning information;
if the mobile terminal is currently located indoors, acquiring the change range of the ambient light index value and the indoor moving distance of the mobile terminal within preset time;
determining a first probability of the current environment change of the mobile terminal based on the change range of the environment illumination index value within the preset time;
determining a second probability of the change of the current user position area based on the indoor moving distance of the mobile terminal within the preset time;
based on the first probability and the second probability, calculating a correlation degree value of the current user in an indoor non-limited smoking area by adopting a preset event correlation degree calculation formula, wherein the correlation degree calculation formula is as follows:
COV(A,X+Y)=COV(X,A)+COV(Y,A),
wherein cov (A, X + Y) represents the covariance of the event A and the event X and the event Y, cov (X, A) represents the covariance of the event X and the event A, cov (Y, A) represents the covariance of the event Y and the event A, the event X is the first probability of the change of the environment based on the environmental illumination index value, the event Y is the second probability of the change of the user position area based on the indoor moving distance of the mobile terminal, the event A is the probability of the current user being located in the indoor non-limited smoking area, etaA,X+YIs the degree of correlation between A events and X and Y events, and σ (A) is X event andthe variance of the Y event is such that,is the standard deviation of the X and Y events;
determining a current position area of the mobile terminal based on the correlation degree value;
if the current user position information is an indoor non-limited smoking area, fingerprint unlocking is carried out on the electronic cigarette;
if the fingerprint unlocking is successful, controlling the electronic cigarette to enter a working mode;
and reading the latest working parameters of the current electronic cigarette, and controlling the electronic cigarette to operate based on the working parameters.
2. The mobile terminal-based electronic cigarette control method of claim 1, wherein if the current user location information is an indoor unrestricted smoking area, performing fingerprint unlocking on the electronic cigarette comprises:
if the current user position information is an indoor non-limited smoking area, fingerprint feature information corresponding to user fingerprint information uploaded by the electronic cigarette is extracted;
extracting a vector triangle in the fingerprint characteristic information and comparing the vector triangle with a vector triangle of the fingerprint sample information in a preset fingerprint sample database;
if the comparison of the vector triangles is consistent, respectively acquiring the fingerprint characteristic information and the characteristic reference points of the fingerprint sample information, and constructing a first polar coordinate system and a second polar coordinate system according to the characteristic reference points;
judging whether the number of the polar coordinates of the fingerprint characteristic information in the first polar coordinate system and the fingerprint sample information in the second polar coordinate system with the same characteristic points is larger than a preset number or not;
and if the number of the electronic cigarettes is larger than the preset number, unlocking the electronic cigarettes.
3. The electronic cigarette control method based on the mobile terminal according to claim 1, wherein the reading of the latest operating parameter of the current electronic cigarette and the controlling of the electronic cigarette based on the operating parameter comprise:
calculating the total smoke release amount generated when the electronic cigarette works through a preset total smoke release amount calculation formula;
judging whether the total smoke release amount is larger than or equal to a preset smoke amount threshold value, if so, reading a real-time voltage value and a current value of the current electronic cigarette, and calculating first output power of the electronic cigarette;
determining second output power of the electronic cigarette according to the first output power of the electronic cigarette and the real-time use information of the electronic cigarette;
controlling the electronic cigarette to operate at the second output power;
wherein the determining the second output power of the electronic cigarette according to the first output power of the electronic cigarette and the real-time usage information of the electronic cigarette comprises:
the method comprises the steps of obtaining a current resistance value of the electronic cigarette and real-time use information of the electronic cigarette corresponding to the current resistance value of the electronic cigarette, wherein the real-time use information of the electronic cigarette comprises the current electric quantity of a battery, the health value of the battery, the use time of the battery and the use time of an atomizer; performing linear fitting on each parameter in the real-time use information of the electronic cigarette to generate corresponding linear fitting data; extracting coordinate points of the linear fitting data, and retrieving a matched fitting function from a preset fitting function library according to the coordinate points; and fitting the linear fitting data according to the fitting function to obtain a second output power of the electronic cigarette.
4. The electronic cigarette control method based on the mobile terminal according to claim 3, wherein the total smoke release amount is calculated according to the following formula:
wherein H is total smoke release amount, λ is incident light wavelength, ρ0Is the standard density of the smoke particles, C is the empirical constant corresponding to the wavelength of the incident light, T is the transmittance, T is the detection time, T is0To detect the start time, t1For the end of detection time, a is the aerosol volume flow.
5. The electronic cigarette control device based on the mobile terminal is characterized by comprising the following components:
the real-time positioning module is used for acquiring positioning information of the mobile terminal in real time, generating user position information based on the positioning information and carrying out real-time dynamic updating;
the position judging module is used for judging whether the current user position information is an indoor non-limited smoking area or not when a fingerprint unlocking signal initiated by the electronic cigarette is monitored;
the fingerprint unlocking module is used for carrying out fingerprint unlocking on the electronic cigarette if the current user position information is an indoor non-limited smoking area;
the starting module is used for controlling the electronic cigarette to enter a working mode if the fingerprint unlocking is successful;
the control module is used for reading the latest working parameters of the current electronic cigarette and controlling the electronic cigarette to operate based on the working parameters;
wherein, the position judging module comprises:
the positioning unit is used for acquiring positioning information of the mobile terminal when a fingerprint unlocking signal initiated by the electronic cigarette is monitored;
the judging unit is used for judging whether the current position of the mobile terminal is located indoors or not based on the positioning information;
the acquisition unit is used for acquiring the change range of the ambient light index value and the indoor moving distance of the mobile terminal within preset time if the mobile terminal is currently located indoors;
the detection unit is used for determining a first probability of the current environment change of the mobile terminal based on the change range of the environment illumination index value within the preset time;
the determining unit is used for determining a second probability that the current user position area changes based on the indoor moving distance of the mobile terminal in the preset time;
a calculating unit, configured to calculate, based on the first probability and the second probability, a correlation degree value of the current user in an indoor unrestricted smoking area by using a preset event correlation degree calculation formula, where the correlation degree calculation formula is as follows:
COV(A,X+Y)=COV(X,A)+COV(Y,A),
wherein cov (A, X + Y) represents the covariance of the event A and the event X and the event Y, cov (X, A) represents the covariance of the event X and the event A, cov (Y, A) represents the covariance of the event Y and the event A, the event X is the first probability of the change of the environment based on the environmental illumination index value, the event Y is the second probability of the change of the user position area based on the indoor moving distance of the mobile terminal, the event A is the probability of the current user being located in the indoor non-limited smoking area, etaA,X+YIs the degree of correlation between A events and X and Y events, σ (A) is the variance of X and Y events,is the standard deviation of the X and Y events;
and the position determining unit is used for determining the current position area of the mobile terminal based on the correlation degree value.
6. A mobile terminal, characterized in that the mobile terminal comprises: a memory and at least one processor, the memory having instructions stored therein;
the at least one processor invokes the instructions in the memory to cause the mobile terminal to perform the mobile terminal-based e-cigarette control method of any of claims 1-4.
7. A computer readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement a mobile terminal-based electronic cigarette control method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210781246.1A CN114831356B (en) | 2022-07-05 | 2022-07-05 | Electronic cigarette control method based on mobile terminal and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210781246.1A CN114831356B (en) | 2022-07-05 | 2022-07-05 | Electronic cigarette control method based on mobile terminal and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114831356A CN114831356A (en) | 2022-08-02 |
CN114831356B true CN114831356B (en) | 2022-11-01 |
Family
ID=82573392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210781246.1A Active CN114831356B (en) | 2022-07-05 | 2022-07-05 | Electronic cigarette control method based on mobile terminal and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114831356B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109222241A (en) * | 2018-09-13 | 2019-01-18 | 深圳市庚诚达科技有限公司 | The control system that the method for electronic cigarette work, storage equipment, electronic cigarette, electronic cigarette work |
CN112381126A (en) * | 2020-11-02 | 2021-02-19 | 安徽华米智能科技有限公司 | Indoor and outdoor scene recognition method and device, electronic equipment and storage medium |
CN112415998A (en) * | 2020-10-26 | 2021-02-26 | 珠海市一微半导体有限公司 | Obstacle classification and obstacle avoidance control system based on TOF camera |
CN112674392A (en) * | 2020-12-25 | 2021-04-20 | 深圳市狼烟天下科技有限公司 | Electronic cigarette, control method thereof, storage medium, power supply host and atomizer |
CN114331837A (en) * | 2021-12-22 | 2022-04-12 | 国网安徽省电力有限公司 | Method for processing and storing panoramic monitoring image of protection system of extra-high voltage converter station |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559476B (en) * | 2013-09-16 | 2017-02-08 | 中国联合网络通信集团有限公司 | Fingerprint matching method and device thereof |
EP3225118A4 (en) * | 2014-11-27 | 2018-08-15 | Huizhou Kimree Technology Co., Ltd | Electronic cigarette and smoke volume control method therefor |
CN107404940A (en) * | 2015-04-21 | 2017-11-28 | 惠州市吉瑞科技有限公司深圳分公司 | Atomizer control circuit, electronic cigarette and its atomizer of a kind of electronic cigarette |
JP2017055949A (en) * | 2015-09-16 | 2017-03-23 | シャープ株式会社 | Measurement apparatus, measurement system, measurement method, and computer program |
GB201517087D0 (en) * | 2015-09-28 | 2015-11-11 | Nicoventures Holdings Ltd | Vaping policy alert system and method |
CN105394813A (en) * | 2015-10-17 | 2016-03-16 | 深圳市易特科信息技术有限公司 | Intelligent smoking cessation monitoring system and method |
CN108208934A (en) * | 2016-12-15 | 2018-06-29 | 常州市派腾电子技术服务有限公司 | Electronic cigarette and its control method |
WO2019144394A1 (en) * | 2018-01-29 | 2019-08-01 | 深圳瀚星翔科技有限公司 | Electronic cigarette and control method therefor, and apparatus and storage medium thereof |
US20200054071A1 (en) * | 2018-08-17 | 2020-02-20 | Shenzhen Ivps Technology Co., Ltd. | Unlocking method for electronic cigarette, unlocking system, storage medium and unlocking device |
CN109288134A (en) * | 2018-10-23 | 2019-02-01 | 深圳麦克韦尔股份有限公司 | Electronic cigarette and electronic cigarette smoking control method, system |
CN111436023A (en) * | 2019-01-12 | 2020-07-21 | 常州市派腾电子技术服务有限公司 | Electronic cigarette control method and device |
CN110623310A (en) * | 2019-10-18 | 2019-12-31 | 深圳市康泓威科技有限公司 | Controllable dose electronic cigarette and control method thereof |
JP2023540239A (en) * | 2020-09-04 | 2023-09-22 | フィリップ・モーリス・プロダクツ・ソシエテ・アノニム | Smoking device with heating profile based on smoke intake |
CN112006338B (en) * | 2020-09-14 | 2023-11-14 | 深圳雷炎科技有限公司 | Power adjusting method and device of electronic cigarette, storage medium and electronic cigarette |
CN215684784U (en) * | 2021-08-19 | 2022-02-01 | 深圳市恒尔创科技有限公司 | Multifunctional luminous electronic cigarette |
-
2022
- 2022-07-05 CN CN202210781246.1A patent/CN114831356B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109222241A (en) * | 2018-09-13 | 2019-01-18 | 深圳市庚诚达科技有限公司 | The control system that the method for electronic cigarette work, storage equipment, electronic cigarette, electronic cigarette work |
CN112415998A (en) * | 2020-10-26 | 2021-02-26 | 珠海市一微半导体有限公司 | Obstacle classification and obstacle avoidance control system based on TOF camera |
CN112381126A (en) * | 2020-11-02 | 2021-02-19 | 安徽华米智能科技有限公司 | Indoor and outdoor scene recognition method and device, electronic equipment and storage medium |
CN112674392A (en) * | 2020-12-25 | 2021-04-20 | 深圳市狼烟天下科技有限公司 | Electronic cigarette, control method thereof, storage medium, power supply host and atomizer |
CN114331837A (en) * | 2021-12-22 | 2022-04-12 | 国网安徽省电力有限公司 | Method for processing and storing panoramic monitoring image of protection system of extra-high voltage converter station |
Also Published As
Publication number | Publication date |
---|---|
CN114831356A (en) | 2022-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110837631A (en) | Electronic cigarette unlocking method and system based on face recognition, and stored medium and device | |
WO2018171337A1 (en) | Electronic cigarette management method, mobile terminal and electronic cigarette | |
CN118550245B (en) | A kind of intelligent equipment control system and method based on artificial intelligence | |
CN114098170B (en) | Intelligent electronic cigarette with smoke concentration regulating and controlling capability and using method thereof | |
CN106327408B (en) | Electronic house number plate and house personnel management system | |
US11723413B2 (en) | Control method and apparatus for electronic cigarette | |
CN204990444U (en) | Intelligent security controlgear | |
CN114831356B (en) | Electronic cigarette control method based on mobile terminal and related equipment | |
CN110186167A (en) | Control method, device, air conditioner and the storage medium of air conditioner | |
CN115067572A (en) | Electronic cigarette control method, device, equipment and storage medium | |
CN104933791A (en) | Intelligent security control method and equipment | |
US20210386126A1 (en) | Information processing device, information processing method, and nonvolatile computer readable medium | |
CN110490090A (en) | Smoking detection method, system and its storage medium based on intelligence community | |
CN115664795A (en) | Smart home access control method and cloud management system | |
CN114565288A (en) | Fresh air system data acquisition and analysis method and equipment and computer storage medium | |
CN113577947B (en) | Device, method, equipment and readable storage medium for removing air dust | |
CN110503005A (en) | Smoking detection method, system and its storage medium based on intelligence community | |
CN106507192A (en) | A TV shutdown control method and system based on human eye recognition | |
CN106100667B (en) | A kind of tobacco control device and tobacco control terminal installation | |
CN110175254B (en) | Photo classified storage method and wearable device | |
CN116807085A (en) | Intelligent control method based on Arduino and related products | |
CN105046081A (en) | Sampling inspection method and apparatus for fire-fighting places | |
CN108739777A (en) | A kind of house is gone out dual-purpose electro-hydraulic mosquito-repellent incense | |
CN115802349A (en) | Electronic cigarette cartridge authentication system and method | |
WO2023151181A1 (en) | Dry-burning prevention method and apparatus for electronic atomizer, computer device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 518000, 2nd Floor, Building 1, Zone A, Shatou Songshan Industrial Zone, Shajing Street, Shenzhen City, Guangdong Province Patentee after: SHENZHEN HEC TECHNOLOGY CO.,LTD. Country or region after: China Address before: 518000 No. 45, Shali Third Road, Shajing street, Bao'an District, Shenzhen, Guangdong Province Patentee before: SHENZHEN HEC TECHNOLOGY CO.,LTD. Country or region before: China |