Electronic cigarette use record monitoring method and system, electronic equipment and storage medium
Through Bluetooth technology, real-time monitoring and intervention in the use of e-cigarettes, a personalized smoking cessation solution is generated, which solves the problem of insufficient intelligence and real-time performance of existing systems, and realizes effective management of users' smoking behavior and data security, helping users reduce or Avoid smoking.
Patent Information
- Application Number
- CN202411277027.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2025-01-17
AI Technical Summary
The existing e-cigarette monitoring system has shortcomings in terms of intelligence and real-timeness, and cannot effectively monitor and interfere with users' smoking behavior. It lacks personalized smoking cessation plans and social supervision mechanisms, making it difficult for users to reduce the frequency of smoking.
Connect e-cigarettes and users through Bluetooth technology to monitor smoking behavior in real time, and send reminders and intervention information based on smoking records, allowing the second user to control it, including limiting the usage time and frequency, generating personalized intervention plans, and using encrypted transmission to ensure data Safety.
Real-time monitoring and intelligent intervention of users' smoking behavior is achieved, personalized smoking cessation plans are provided, social supervision is enhanced, data security is ensured, and users can reduce or quit smoking behavior.
Smart Images

Figure CN119318405A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic cigarettes, and in particular to a monitoring method, system, electronic device and storage medium for electronic cigarette usage records. Background Art
[0002] At present, e-cigarettes have been widely used as a tool to replace traditional cigarettes, and more and more users are beginning to choose e-cigarettes. However, for frequent smokers, the use of e-cigarettes still lacks effective management and monitoring. Although e-cigarettes reduce the direct impact of traditional tobacco on health, the frequency and duration of smoking during their use may still lead to users' continued dependence on nicotine if they are not controlled.
[0003] To help users better manage and control the amount of smoking, existing technologies connect e-cigarettes to mobile devices via Bluetooth, record the number and frequency of users' smoking, and perform basic management of smoking behavior. Although such systems can provide certain recording and feedback functions, their main limitation is that they are single-function and can usually only record the number of times they smoke. They lack flexible and intelligent intervention methods and cannot dynamically adjust and remind users based on their actual smoking behavior. In addition, existing systems lack real-time analysis of smoking frequency and duration, and cannot control users' smoking behavior in real time. Users can only passively view data and cannot obtain personalized intervention suggestions and timely smoking cessation assistance.
[0004] In summary, the existing electronic cigarette monitoring system still has major deficiencies in terms of intelligence and real-time performance, especially in real-time monitoring and intervention of smoking behavior. Existing technologies fail to fully utilize user behavior data to generate personalized smoking cessation plans, nor can they effectively help users reduce the number of times they smoke through social or supervisory mechanisms. Summary of the invention
[0005] The present invention provides a method, system, electronic device and storage medium for monitoring electronic cigarette usage records, so as to achieve effective monitoring and intelligent intervention of users' smoking behavior, and help users reduce or quit smoking behavior, and is particularly suitable for teenagers and users who need to quit smoking.
[0006] In a first aspect, the present invention provides a method for monitoring electronic cigarette usage records, comprising the following steps: In response to the electronic cigarette connection operation triggered by the first user, the first user terminal obtains Bluetooth information of the electronic cigarette and establishes a Bluetooth communication connection between the electronic cigarette and the first user terminal; The first user terminal obtains first identity information and electronic cigarette usage records, and transmits the first identity information and the electronic cigarette usage records to a monitoring terminal; In response to the operation of the first user starting the electronic cigarette, the monitoring terminal sends a smoking reminder message to the second user terminal; wherein the second user terminal has established a communication connection with the monitoring terminal in advance; After the second user terminal receives the smoking reminder information sent by the monitoring terminal, the second user terminal establishes a communication connection with the first user terminal within a preset time; The second user terminal sends the smoking intervention information to the first user terminal, so that the first user terminal issues a control instruction to the electronic cigarette according to the received smoking intervention information to control the use of the electronic cigarette; wherein the smoking intervention information includes limiting the use time, limiting the use frequency, prohibiting use commands or allowing use commands.
[0007] Preferably, the process of generating the smoking intervention information includes: In response to an input information operation of a second user, obtaining input information of the second user, and generating smoking intervention information according to the input information; Or in response to a selection operation of the second user, the smoking intervention information is determined from the preset intervention information sent by the monitoring terminal.
[0008] Preferably, the process of generating the preset intervention information includes: The monitoring terminal calculates the user's smoking behavior degree value according to the electronic cigarette use record; When the smoking behavior level of the user is greater than the level threshold preset by the second user, generating preset intervention information including a usage time limit, a usage frequency limit or a usage prohibition command; When the smoking behavior level value of the user is less than the level threshold preset by the second user, preset intervention information including a use permission command is generated.
[0009] Preferably, the monitoring terminal calculates the user's smoking behavior degree value according to the electronic cigarette use record, including: The smoking behavior level value is calculated by the following formula: in, The number of times the user smokes, indicating the number of times the user actually smokes within a period of time. is the influence coefficient of the number of smoking times on the degree of smoking behavior, is a constant, indicating the initial smoking behavior level when the number of smoking times is zero.
[0010] Preferably, the first identity information includes a user identity ID or a device identification code of the first user, which is used by the monitoring terminal to uniquely identify the user.
[0011] Preferably, after the second user terminal sends the smoking intervention information to the first user terminal, the method further includes: The second user terminal maintains a communication connection with the monitoring terminal, receives and displays the real-time electronic cigarette usage record of the first user; In response to the adjustment operation of the second user, the second user terminal adjusts the smoking intervention information according to the real-time electronic cigarette usage record.
[0012] In a second aspect, the present invention provides a monitoring device system for electronic cigarette usage records, comprising: The first user terminal is used to respond to the electronic cigarette link operation triggered by the first user, obtain the Bluetooth information of the electronic cigarette and establish a Bluetooth communication connection between the electronic cigarette and the first user terminal; obtain the first identity information and the electronic cigarette use record, and transmit the first identity information and the electronic cigarette use record to the monitoring terminal; according to the received smoking intervention information, issue a control instruction to the electronic cigarette to control the use of the electronic cigarette; wherein the smoking intervention information includes limiting the use time, limiting the use frequency, prohibiting use command or allowing use command; A monitoring terminal, configured to send a smoking reminder message to a second user terminal in response to a first user starting an electronic cigarette; wherein the second user terminal has established a communication connection with the monitoring terminal in advance; The second user terminal is used to establish a communication connection with the first user terminal within a preset time after the second user terminal receives the smoking reminder information sent by the monitoring terminal; and send the smoking intervention information to the first user terminal, so that the first user terminal issues a control instruction to the electronic cigarette according to the received smoking intervention information, thereby controlling the use of the electronic cigarette.
[0013] In a third aspect, the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method for monitoring the electronic cigarette usage record described in any one of the above is implemented.
[0014] In a fourth aspect, the present invention further provides a computer-readable storage medium, the computer-readable storage medium comprising a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for monitoring electronic cigarette usage records.
[0015] Compared with the prior art, the present invention has the following beneficial effects: First, Bluetooth technology is used to achieve seamless connection between the electronic cigarette device, the user end, the monitoring terminal and the second user end, which can monitor the user's smoking behavior in real time, including the number of times, duration and time of use of cigarettes, and provide immediate feedback and control. Unlike the prior art that can only record after the fact, the present invention can obtain data in real time when the smoking behavior occurs and trigger an intervention mechanism to prevent excessive smoking behavior. Secondly, the intelligent and personalized intervention mechanism of the present invention not only supports the second user to input customized intervention information according to actual needs, but also can automatically generate personalized intervention plans through the system, such as limiting the number of daily smoking times, the duration of a single smoking session, or directly prohibiting the use of electronic cigarettes, to help users effectively reduce smoking, especially for users who need to quit smoking.
[0016] In addition, the present invention strengthens the effect of social supervision through the participation of the second user. The second user can receive smoking reminders in real time and intervene in the smoking behavior of the first user. This social pressure can prompt users to spontaneously reduce smoking under supervision, which is particularly helpful for tobacco control and smoking cessation among young people. At the same time, the present invention adopts encrypted transmission technology to ensure the security of user identity information and smoking records. Only authorized users can access the data, effectively preventing information leakage and abuse. Compared with the existing technology, the present invention significantly improves the privacy protection level of user data and ensures the security and reliability of data transmission.
[0017] The present invention also has the advantages of dynamic adjustment and flexible control. It can automatically adjust intervention measures according to the user's real-time smoking data. The second user can also modify the intervention conditions at any time according to the actual situation to ensure the flexibility and adaptability of the smoking cessation process. In addition, the system is easy to operate. Users can easily manage smoking behavior through Bluetooth connection. The second user can also monitor and control smoking behavior through a friendly mobile device interface. In summary, the present invention has demonstrated significant technical advantages in real-time monitoring, personalized intervention, social supervision and data security. It can effectively overcome the shortcomings of the existing technology, help users better manage and control smoking behavior, and ultimately achieve the goal of quitting smoking. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flowchart of a method for monitoring electronic cigarette usage records provided by the first embodiment of the present invention; Figure 2 is a schematic diagram of a process of establishing a Bluetooth link provided by the first embodiment of the present invention; Figure 3 It is a schematic diagram of the structure of the monitoring system for electronic cigarette usage records provided by the second embodiment of the present invention. DETAILED DESCRIPTION
[0019] 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.
[0020] With the popularity of e-cigarettes, more and more users are beginning to use e-cigarettes as a substitute for traditional cigarettes. Although e-cigarettes have certain advantages in reducing the health hazards of traditional tobacco, their uncontrolled use, especially for teenagers and users who want to quit smoking, may lead to nicotine dependence. At present, the means of monitoring the use of e-cigarettes are relatively limited, and usually only simple usage data can be obtained through Bluetooth connection, and there is a lack of targeted and intelligent intervention methods. Therefore, there is an urgent need for a technical means to realize intelligent monitoring and intervention of users' smoking behavior, so as to help users reduce the frequency of smoking and even gradually achieve the goal of quitting smoking.
[0021] Reference Figure 1 The first embodiment of the present invention provides a method for monitoring electronic cigarette usage records, comprising the following steps: S1, in response to an electronic cigarette connection operation triggered by a first user, the first user terminal obtains Bluetooth information of the electronic cigarette and establishes a Bluetooth communication connection between the electronic cigarette and the first user terminal.
[0022] S2, the first user terminal obtains first identity information and electronic cigarette usage records, and transmits the first identity information and the electronic cigarette usage records to a monitoring terminal.
[0023] S3, in response to the first user starting the electronic cigarette operation, the monitoring terminal sends a smoking reminder message to the second user terminal; wherein the second user terminal has established a communication connection with the monitoring terminal in advance.
[0024] S4, after the second user terminal receives the smoking reminder information sent by the monitoring terminal, the second user terminal establishes a communication connection with the first user terminal within a preset time.
[0025] S5, the second user terminal sends the smoking intervention information to the first user terminal, so that the first user terminal issues a control instruction to the electronic cigarette according to the received smoking intervention information to control the use of the electronic cigarette; wherein the smoking intervention information includes limiting the use time, limiting the use frequency, prohibiting use commands or allowing use commands.
[0026] In step S1, the first user terminal scans nearby electronic cigarette devices via Bluetooth to obtain the Bluetooth information of the electronic cigarette. Once the Bluetooth connection is established, continuous data communication will be carried out between the user terminal and the electronic cigarette to ensure that the first user can obtain the status and usage information of the device in real time. The communication connection uses encryption technology to protect the security of data transmission and prevent the leakage of user privacy information.
[0027] Wherein, obtaining the Bluetooth information of the electronic cigarette includes: The device name, i.e., the Bluetooth name of the electronic cigarette device, is used to identify the electronic cigarette device during Bluetooth scanning. The device name usually includes the device type and brand information, which can help the user to filter out the correct electronic cigarette device.
[0028] MAC address, that is, the unique hardware address (MAC address) of the electronic cigarette device, is used to uniquely identify the device. The MAC address ensures that the user end can accurately locate and connect to a specific electronic cigarette device when there are multiple turned-on Bluetooth devices around.
[0029] The device type, i.e., the device type information of the electronic cigarette, can indicate that the device is an electronic cigarette rather than other types of Bluetooth devices. The device type information helps the first user end to distinguish different device types during Bluetooth scanning, ensuring that only the correct electronic cigarette device is connected.
[0030] Signal strength (RSSI), that is, Bluetooth signal strength information, can help the first user end determine the distance between the electronic cigarette device and the user, and select the device with the strongest signal for connection. The higher the signal strength, the closer the device is.
[0031] The pairing status, that is, whether the electronic cigarette device has been successfully paired with the first user terminal. The pairing status information determines whether the user terminal can establish a further communication connection with the device.
[0032] The Bluetooth protocol version, that is, the Bluetooth protocol version used by the electronic cigarette device, can ensure the compatibility between the first user terminal and the device. Different versions of the Bluetooth protocol may have different communication speeds and security characteristics, affecting the connection quality of the device and the security of data transmission.
[0033] By acquiring the above Bluetooth information, the first user terminal can accurately identify, select and establish a secure communication connection with the electronic cigarette device to ensure subsequent data transmission and device status acquisition.
[0034] It is worth noting that, in the embodiment of the present invention, the encryption technology is used to ensure the security of data transmission between the first user terminal and the electronic cigarette device, and prevent the user's privacy information from being stolen or tampered with by a third party.
[0035] In step S1, the continuous data communication between the user terminal and the electronic cigarette uses a variety of encryption technologies, including: Symmetric encryption technology, that is, the first user end and the electronic cigarette device share a key, and use this key to encrypt and decrypt data. Commonly used encryption algorithms such as AES (Advanced Encryption Standard) can ensure the secure transmission of data and maintain a high encryption and decryption speed.
[0036] In addition, asymmetric encryption technology is also used in the initial pairing stage, in which the e-cigarette device uses a public key to encrypt sensitive data, and only the first user end holding the private key can decrypt this data, thereby ensuring that even if the data is intercepted by a third party during transmission, the interceptor cannot decrypt and read the sensitive information in the data due to the lack of the corresponding private key.
[0037] In the process of establishing a Bluetooth connection, the first user terminal and the electronic cigarette device initialize secure communication through an encryption handshake protocol (such as Diffie-Hellman key exchange). The encryption handshake protocol allows the two parties to securely generate a shared key without directly exchanging encryption keys. The key will be used in subsequent data encryption and decryption processes to ensure the confidentiality of data transmission. At the same time, both parties will confirm the authenticity of the other party by verifying their identities to prevent the occurrence of man-in-the-middle attacks. The man-in-the-middle attack refers to a third party trying to impersonate a legitimate communication party to intercept or tamper with the communication content. By verifying the identity, it can be ensured that the two communicating parties are real users and devices, thereby effectively preventing the occurrence of man-in-the-middle attacks.
[0038] Furthermore, after establishing a secure connection, the data transmission process is further protected by the Transport Layer Security Protocol (TLS). TLS uses digital certificates to verify the identities of both parties in communication and ensures the confidentiality and integrity of data transmission through an encryption key exchange mechanism. The digital certificate provides an authentication method based on a public key infrastructure to ensure that only authenticated devices and users can participate in communication. The encryption key exchange ensures that even if the data is intercepted during transmission, unauthorized third parties cannot decrypt or tamper with the data.
[0039] Furthermore, this embodiment uses a hash message authentication code (HMAC) to perform integrity verification on the transmitted data to prevent the data from being tampered with during the transmission process.
[0040] The above-mentioned multiple encryption technologies ensure that the data transmission between the first user end and the electronic cigarette device remains safe, confidential and complete throughout the entire process.
[0041] like Figure 2 As shown, in step S1, establishing a Bluetooth link specifically includes the following steps: S11, the first user terminal performs Bluetooth scanning to search for all Bluetooth-enabled devices within a certain range, and the electronic devices within the range broadcast their device names and MAC addresses through the Bluetooth protocol; S12, the first user terminal selects target electronic cigarette devices according to preset conditions; S13, the first user terminal will send a Bluetooth pairing request, and the electronic cigarette device will respond after receiving the request. The two parties complete the pairing by verifying the encryption key and establish a secure Bluetooth communication connection.
[0042] In step S11, when the first user terminal performs Bluetooth scanning, the certain range refers to the physical distance between the electronic cigarette device and the first user terminal. Depending on the different Bluetooth versions, the communication range is usually 10 meters to 100 meters. For example, the communication range of Bluetooth Low Energy (BLE) devices is about 10 meters, while the communication range of classic Bluetooth devices can reach 100 meters. However, this range is not absolute. The presence of physical obstacles and interference from wireless signals may have a significant impact on the actual communication distance and quality.
[0043] In step S11, the Bluetooth protocol refers to a standard protocol stack used to establish communication between Bluetooth devices. The protocol stack defines how devices discover each other, how to pair and establish connections, and how to transmit data securely. The Bluetooth protocol includes multiple layers, each of which handles different requirements from physical signals to data transmission, including: The electronic cigarette device uses the radio frequency communication technology at the physical layer to send the device name and MAC address to surrounding devices through broadcast signals. The first user terminal receives the device name and MAC address signal through the Bluetooth scanning function within the physical range and decodes the device name and MAC address. At this time, the first user terminal selects the target electronic cigarette device according to the preset conditions and prepares to pair with it.
[0044] Next, at the link management layer of the protocol stack, the link management protocol (LMP) coordinates the pairing and authentication between devices. When the first user sends a pairing request, the target e-cigarette device receives the request and performs preliminary identity authentication through LMP. After the verification is passed, the two devices will generate a shared encryption key through the Diffie-Hellman key exchange encryption handshake protocol, which will be used for encryption and decryption of subsequent communications. This process ensures the security of communication data and prevents unauthorized device access. After the pairing is successful, LMP continues to maintain a stable connection between the two devices, while managing the control channel to ensure the quality of communication.
[0045] Subsequently, the Logical Link Control and Adaptation Protocol (L2CAP) in the protocol stack segments the transmitted data, divides the larger data packets into small data packets suitable for Bluetooth network transmission, and ensures that each segment of data can be smoothly transmitted to the receiving end. The received data packets are reassembled into complete data on the e-cigarette device side. On this basis, the Transport Layer Security Protocol (TLS) is introduced into the transmission process to further enhance the encryption and integrity of the data. During the data transmission process, the message authentication code (MAC) is used to verify the data to ensure that the data in transmission has not been tampered with.
[0046] Finally, in the application layer protocol, the application accesses the hardware interface of the electronic cigarette device through the Bluetooth protocol to obtain the real-time data of the device, such as the current usage status, smoking frequency, smoking duration, etc. Through the layer-by-layer transmission and processing of the Bluetooth protocol, it is ultimately ensured that these device data can be accurately and securely transmitted to the first user end for further analysis and processing by the user and the monitoring system.
[0047] The above process starts from the physical layer, performs authentication and key exchange through the link management layer, and is segmented and assembled through L2CAP, ensuring the overall smooth progress from device discovery to secure data transmission.
[0048] In step S12, the preset conditions refer to a set of filtering criteria used by the first user end when screening the target electronic cigarette device during the Bluetooth scanning process. The purpose of setting these conditions is to ensure that the first user end can quickly and accurately locate a specific electronic cigarette device in an environment with a large number of Bluetooth devices, thereby improving the efficiency and accuracy of device connection.
[0049] It should be further explained that the preset conditions can be configured through the user interface based on the device name, MAC address, device type, signal strength (RSSI) and connection status information, allowing users to flexibly adjust the screening criteria according to their own needs. At the same time, the system can also automatically generate commonly used preset conditions based on historical connection records to speed up the connection process. After the Bluetooth scan is completed, devices that meet the preset conditions will be displayed in the user interface, and users can select the target device for pairing and connection.
[0050] In step S13, the first user terminal will send a Bluetooth pairing request, and the electronic cigarette device will respond after receiving the request. The two parties complete the pairing by verifying the encryption key and establish a secure Bluetooth communication connection. Symmetric encryption technology can be used in this embodiment, which will not be repeated here.
[0051] In step S2, the first identity information includes the user ID or device identification code of the first user, which is used by the monitoring terminal to uniquely identify the user. In addition to obtaining Bluetooth information, the first user terminal also collects the user ID and device identification code information of the first user as well as the duration, frequency and time point of smoking. The above information is transmitted to the monitoring terminal through an encrypted channel to ensure that the user's privacy information is protected during the transmission process. After receiving the data, the monitoring terminal will store and analyze it to provide a basis for subsequent intervention and monitoring.
[0052] It should be noted that after the first user terminal transmits the electronic cigarette usage record and the first identity information to the monitoring terminal, the monitoring terminal can perform detailed analysis and feedback based on the received data. The analysis and feedback process of the monitoring terminal includes: After receiving the data from the first user, the monitoring terminal saves the first user's usage record, smoking frequency, duration, device power and other information in the database, and archives them in a time series for subsequent processing.
[0053] The system determines the user's usage pattern based on historical data, identifies the user's usage habits and peak usage hours, and conducts a detailed analysis of the user's e-cigarette usage behavior.
[0054] The monitoring terminal generates a personalized intervention strategy based on the user's historical behavior data. The intervention strategy includes limiting the user's usage time and frequency, and setting a reminder period for the user.
[0055] By analyzing the user's usage frequency, the system automatically determines whether it is necessary to remind the user to reduce usage and provides targeted feedback.
[0056] After generating feedback, the monitoring terminal pushes relevant information to the user through the APP, reminding the user whether the current usage status meets the health standards and giving corresponding suggestions. The feedback information directly affects the user's usage habit adjustment and can help the first user gradually reduce the use of e-cigarettes.
[0057] Finally, the monitoring terminal tracks and evaluates the long-term data of the first user and analyzes the effect of the intervention measures. If the first user's smoking behavior does not improve significantly, the electronic cigarette use monitoring system can adjust the intervention strategy to help the first user gradually quit smoking.
[0058] It is worth noting that, in order to ensure the accuracy of the analysis, the monitoring terminal uses a variety of algorithms to process data, analyze the behavior pattern of the first user, and identify the first user's possible high-frequency use or excessive use. Through the above analysis methods, the e-cigarette use monitoring system can predict the first user's future behavior in advance and provide the first user with personalized smoking cessation advice and usage adjustment plans.
[0059] The electronic cigarette usage record includes the smoking duration, smoking frequency, usage time and current electronic cigarette battery information.
[0060] It should be noted that the current use state refers to the working state of the electronic cigarette device. Based on the voltage, temperature and power data fed back by the device sensor, it can be determined whether the electronic cigarette device is in use, including: When the voltage value of the electronic cigarette is higher than the standby voltage or a preset minimum working voltage, it means that the device is in use; When the temperature of the electronic cigarette heater is higher than a certain threshold and within a preset safety range, it indicates that the device is in use; When the power consumption of the electronic cigarette device is higher than the preset minimum threshold, it indicates that the device is in use; When the heater is detected to be in operating mode, it indicates that the device is in use.
[0061] In the embodiment of the present invention, the calculation formula of the power consumption value is: in, is the current working voltage value of the electronic cigarette, is the current working current value of the electronic cigarette.
[0062] The battery status refers to the battery power of the electronic cigarette device, including the current battery power percentage, battery health and charging status. Obtaining battery status data can monitor the battery life of the electronic cigarette device in real time to ensure that users will not use it when the battery is low. The battery status of the electronic cigarette is usually calculated by monitoring the battery voltage and remaining power, including: In one implementation, the remaining power is calculated using the following formula: in, is the initial capacity of the battery (e.g., the amount of power when fully charged), is the current voltage value, The number of times you smoke, As a whole, it represents the effect of smoking behavior on voltage, where K is a constant, is the current voltage value, is the number of voltage fluctuations.
[0063] It should be noted that when the electronic cigarette is fully charged, the initial capacity of the battery is W0. As the user uses it, the battery capacity gradually decreases. First, each time the user smokes, the battery voltage of the electronic cigarette device Produce certain influence, the influence is manifested as , where m represents the maximum fluctuation coefficient of the voltage caused by the puffing behavior. Every time the first user uses the electronic cigarette to smoke, the smoking behavior will affect the battery power (represented by n in the formula, where n is the number of times used). As the number of times used increases, the remaining storage energy gradually decreases. When the calculated remaining storage energy reaches the critical value, the electronic cigarette usage monitoring system records the current number of times used. , and decide whether to enter standby mode or prompt the user that the battery is low.
[0064] The battery health status is determined by monitoring the battery cycle number and battery aging coefficient. If the battery cycle number reaches a certain threshold, or the battery voltage Failure to maintain within the normal range indicates that the battery is old and needs to be replaced.
[0065] The changes in voltage and current are used to determine whether the battery is being charged. If the charging current is greater than 0, it means that it is being charged. If the charging current is equal to 0, it means that it is not being charged.
[0066] The smoking frequency refers to the frequency of use recorded by the electronic cigarette device, that is, the number of times the user smokes within a certain period of time. Obtaining smoking frequency data helps to determine the user's smoking habits and frequency. The electronic cigarette use monitoring system determines whether the user has taken a puff by detecting the change in the working state of the electronic cigarette device each time smoking. The process of calculating the puff frequency can be achieved through the following steps, including: In one embodiment, the smoking frequency is calculated by the following formula: in, is the length of the time window, For the time window Number of cigarettes detected within a period of time.
[0067] When the first user uses the electronic cigarette, the airflow sensor or voltage detection sensor inside the electronic cigarette can detect the occurrence of smoking behavior. The airflow sensor or voltage detection sensor inside the electronic cigarette can detect airflow changes or voltage fluctuations to mark the beginning and end of each puff. After the puffing starts, the electronic cigarette usage monitoring system will set a fixed time window to record the smoking frequency of the first user during this time period, and compare the smoking frequency with the preset health standard or smoking cessation goal. When the detected puffing frequency exceeds the set threshold, the electronic cigarette usage monitoring system can automatically send a reminder or restrict the user from continuing to use the electronic cigarette to help the user gradually reduce nicotine intake.
[0068] Smoking duration, that is, recording the duration of each smoking, obtaining smoking duration data can help the electronic cigarette usage monitoring system further analyze the user's usage behavior. When the first user starts smoking, the electronic cigarette device detects airflow changes or voltage fluctuations and records the start time point; at the end of smoking, the device detects the stop state change and records the end time point. The steps for calculating the puffing duration are as follows: When the user starts smoking, the change in the voltage or airflow sensor inside the electronic cigarette is triggered, and the electronic cigarette monitoring system records the start time of the puff. When the user stops smoking, the voltage or airflow sensor of the electronic cigarette returns to normal, and the system records the end time of the puff and calculates the smoking duration, including: In one embodiment, the duration of each smoking session is calculated by the following formula: in, is the time point when the suction starts, The time point when the suction ends.
[0069] In one embodiment, the cumulative smoking time is calculated by the following formula: in, is the number of cigarettes smoked during this time period.
[0070] It should be noted that if the user's cumulative smoking time exceeds the health threshold set by the system, the e-cigarette usage monitoring system can automatically trigger a reminder or restrict the use of e-cigarettes.
[0071] The temperature of the heater is measured in real time by a built-in temperature sensor. The temperature control system in the electronic cigarette device can adjust the power of the heater according to the data provided by the temperature sensor to ensure that the temperature remains within the set range.
[0072] It is worth noting that if the electronic device does not have a direct temperature sensor, the temperature can be calculated from the resistance change, including: In one embodiment, the heater temperature is calculated by the following formula: in, is the reference temperature, is the resistance value at the current heater temperature, is the resistance value at the reference temperature, is the temperature coefficient of the material. The above formula is applicable to temperature measurement based on resistance change. For devices that rely on temperature sensors, the temperature value can be directly detected by the sensor.
[0073] In one embodiment, the usage time point refers to the timestamp of each time a user uses an electronic cigarette, which is recorded by the clock system timestamp in the electronic cigarette device, including the specific usage time of each day. Obtaining the usage time point helps to analyze the user's usage habits and patterns and further customize intervention measures.
[0074] In step S3, when the first user starts the electronic cigarette, the monitoring terminal immediately sends a reminder message to the second user terminal. The second user terminal is usually a supervisor (such as a parent or a doctor) who has established a communication connection with the monitoring terminal in advance. The monitoring terminal generates corresponding reminder information by analyzing the use behavior of the first user, reminding the second user terminal that the first user is using the electronic cigarette.
[0075] In step S4, after receiving the reminder information, the second user terminal establishes a communication connection with the first user terminal within a preset time. This communication connection can be carried out through the Internet or Bluetooth, etc., in order to allow the second user terminal to monitor or intervene in the use behavior of the first user. This real-time communication mechanism helps to deal with the abnormal use behavior of the first user in a timely manner and avoid excessive use of electronic cigarettes.
[0076] In step S5, the second user terminal sends smoking intervention information to the first user terminal through interface operation or preset intervention rules. The smoking intervention information includes limiting the duration and frequency of electronic cigarette use, or directly prohibiting its use control command. After receiving the above intervention information, the first user terminal will immediately send a control instruction to the electronic cigarette device to ensure that the intervention measures are effective and help users reduce nicotine intake. Through this intelligent intervention mechanism, the monitoring terminal can effectively manage the user's electronic cigarette use behavior and help users gradually quit electronic cigarette use.
[0077] In one embodiment, the process of generating the smoking intervention information includes: In response to an input information operation of a second user, obtaining input information of the second user, and generating smoking intervention information according to the input information; In this embodiment, the second user can directly input the information set by himself in the input interface, and the user terminal will generate smoking intervention information according to the input information.
[0078] In another embodiment, the process of generating the smoking intervention information includes: In response to the selection operation of the second user, smoking intervention information is determined from the preset intervention information sent by the monitoring terminal.
[0079] Furthermore, the process of generating the preset intervention information includes: The monitoring terminal calculates the user's smoking behavior degree value according to the electronic cigarette use record; When the smoking behavior level of the user is greater than the level threshold preset by the second user, generating preset intervention information including a usage time limit, a usage frequency limit or a usage prohibition command; When the smoking behavior level value of the user is less than the level threshold preset by the second user, preset intervention information including a use permission command is generated.
[0080] In this embodiment of the present invention, the smoking behavior degree value is calculated by the following formula: in, The number of times the user smokes, indicating the number of times the user actually smokes within a period of time. is the influence coefficient of the number of smoking times on the degree of smoking behavior, is a constant, indicating the initial smoking behavior level when the number of smoking times is zero. The preset intervention rules may include the following scenarios: Intervention for excessive usage time: When the continuous usage time of the electronic cigarette exceeds the set maximum time, the electronic cigarette usage monitoring system sends a prohibition command to the first user terminal, forcing the electronic cigarette to enter the standby mode for a period of time to prevent the first user from smoking excessively for a long time.
[0081] Intervention for frequency-exceeding limit: When the first user smokes more than a preset number of times within a set time range, the electronic cigarette use monitoring system sends a frequency limit instruction to the first user terminal, prohibiting the electronic cigarette from being started again in a short period of time.
[0082] Low battery reminder: When the battery level of the e-cigarette falls below a certain threshold, the system will remind the user and restrict the continued use of the e-cigarette to prevent excessive battery depletion.
[0083] Smoking behavior analysis: The e-cigarette usage monitoring system identifies the user's usage pattern based on the user's usage history through big data analysis and machine learning algorithms. If it is found that the user's usage frequency has increased significantly, the system will automatically send a reminder and recommend that the first user reduce e-cigarette use.
[0084] In order to facilitate the understanding of the present invention, some preferred embodiments of the present invention are further described below.
[0085] In one embodiment, after the second user terminal sends the smoking intervention information to the first user terminal, the method further includes: The second user terminal maintains a communication connection with the monitoring terminal, receives and displays the real-time electronic cigarette usage record of the first user; In response to the adjustment operation of the second user, the second user terminal adjusts the smoking intervention information according to the real-time electronic cigarette usage record.
[0086] In one implementation, the electronic cigarette usage record monitoring method of the present invention can be further combined with a cloud data analysis and storage system. The user's smoking behavior data can be regularly uploaded to the cloud server through the monitoring terminal. The cloud system performs large-scale behavior pattern analysis based on multi-user data to help users and their doctors, relatives and friends obtain more accurate usage feedback and intervention suggestions. At the same time, cloud data analysis can also predict the trend of user usage behavior through big data analysis and generate personalized health reports.
[0087] In another implementation, the smoking monitoring system can be combined with a social platform, and users can invite relatives and friends to join the smoking cessation support network through the APP. Relatives and friends can view the user's smoking record and send encouragement or reminder messages through the platform. This interaction helps users gain more social support and improve the success rate of smoking cessation. At the same time, the monitoring system can also provide more targeted suggestions by analyzing the user's feedback and behavior patterns on the social platform.
[0088] The following describes the working process of the present invention by taking a common scenario as an example. In this scenario, user A (the first user) is a user who wants to quit smoking. He uses an electronic cigarette as a substitute and hopes to reduce the frequency of smoking through the monitoring terminal. User A's relative B (the second user) is a supporter of quitting smoking and also participates in the entire monitoring process.
[0089] First, user A turns on the electronic cigarette and connects the electronic cigarette device to the Bluetooth through the APP of the first user end. In step S1, the APP of user A scans the nearby electronic cigarette device and chooses to pair with his own electronic cigarette. After the pairing is successful, the electronic cigarette device of user A begins to transmit real-time data (such as battery status, usage time, smoking frequency, etc.) to the APP of user A.
[0090] When user A uses an electronic cigarette, the device will record the duration and frequency of each puff, and transmit this data to the monitoring terminal through an encrypted communication channel. In step S2, user A's identity information and electronic cigarette usage records are uploaded to the monitoring terminal, which stores this data in a database.
[0091] When the use behavior of user A reaches a certain frequency or duration, the monitoring terminal automatically generates a reminder signal, and in step S3, sends a reminder message to the relative or friend B of user A. At this time, the relative or friend B receives the reminder through his second user terminal APP and learns that user A is using the electronic cigarette.
[0092] In step S4, friend B establishes a communication connection with user A within a preset time after receiving the reminder, and sends smoking intervention information to user A through the monitoring terminal. In this scenario, friend B decides to limit the usage time of user A and sends relevant instructions through the APP.
[0093] In step S5, after receiving the intervention instruction, the electronic cigarette device of user A automatically reduces the frequency of use and enters the standby mode. User A also receives support messages from relatives and friends, and checks the use records and feedback through the APP to adjust his own use habits.
[0094] Through this intelligent monitoring and intervention, user A, with the help of relatives and friends B, effectively controlled the frequency and duration of smoking, thereby gradually achieving the goal of reducing nicotine intake.
[0095] In summary, refer to Figure 3 The second embodiment of the present invention provides a monitoring device system for electronic cigarette usage records, including: The first user terminal is used to respond to the electronic cigarette link operation triggered by the first user, obtain the Bluetooth information of the electronic cigarette and establish a Bluetooth communication connection between the electronic cigarette and the first user terminal; obtain the first identity information and the electronic cigarette use record, and transmit the first identity information and the electronic cigarette use record to the monitoring terminal; according to the received smoking intervention information, issue a control instruction to the electronic cigarette to control the use of the electronic cigarette; wherein the smoking intervention information includes limiting the use time, limiting the use frequency, prohibiting use command or allowing use command; A monitoring terminal, configured to send a smoking reminder message to a second user terminal in response to a first user starting an electronic cigarette; wherein the second user terminal has established a communication connection with the monitoring terminal in advance; The second user terminal is used to establish a communication connection with the first user terminal within a preset time after the second user terminal receives the smoking reminder information sent by the monitoring terminal; and send the smoking intervention information to the first user terminal, so that the first user terminal issues a control instruction to the electronic cigarette according to the received smoking intervention information, thereby controlling the use of the electronic cigarette.
[0096] Preferably, the Bluetooth communication connection of the electronic cigarette use monitoring system adopts Bluetooth 5.0 and above to ensure the speed and stability of data transmission. During the Bluetooth communication process, the AES-256-bit encryption algorithm is used for data encryption processing to prevent the data from being stolen or tampered with by a third party. At the same time, the first user terminal supports parallel communication with multiple electronic cigarette devices so that users can monitor the status and usage of multiple devices at the same time.
[0097] Preferably, the battery management module of the electronic cigarette device can not only monitor the battery power, but also predict the remaining battery life through AI algorithms, and dynamically adjust the prediction results according to the user's historical usage habits. When the battery power is lower than a certain set threshold (such as 10%), the system will automatically send a reminder message to the first user terminal and the second user terminal to remind the user to charge in time, and limit the power consumption of the device to prevent the device from suddenly losing power and affecting the user experience.
[0098] Preferably, the smoking intervention information not only includes limiting the duration and frequency of electronic cigarette use, but also can adjust the usage restrictions in real time according to the user's health status (such as heart rate, breathing rate). The system provides users with personalized smoking cessation advice by analyzing the user's health data and smoking behavior, thereby improving the success rate of smoking cessation.
[0099] It should be noted that the electronic cigarette use record monitoring device provided in the embodiment of the present invention is used to execute all the process steps of the electronic cigarette use record monitoring method in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they will not be described in detail.
[0100] The embodiment of the present invention also provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a program for acquiring Bluetooth information of an electronic cigarette. When the processor executes the computer program, the steps in the above-mentioned various electronic cigarette use monitoring method embodiments are implemented, such as Figure 1 Step S1 is shown. Alternatively, when the processor executes the computer program, the functions of each unit in the above-mentioned device embodiments are implemented, such as the first user terminal.
[0101] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.
[0102] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or may combine certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0103] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.
[0104] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0105] Wherein, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0106] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0107] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for monitoring electronic cigarette usage records, characterized in that: The following steps are involved: In response to the electronic cigarette connection operation triggered by the first user, the first user terminal obtains Bluetooth information of the electronic cigarette and establishes a Bluetooth communication connection between the electronic cigarette and the first user terminal; The first user terminal obtains first identity information and electronic cigarette usage records, and transmits the first identity information and the electronic cigarette usage records to a monitoring terminal; In response to the operation of the first user starting the electronic cigarette, the monitoring terminal sends a smoking reminder message to the second user terminal; wherein the second user terminal has established a communication connection with the monitoring terminal in advance; After the second user terminal receives the smoking reminder information sent by the monitoring terminal, the second user terminal establishes a communication connection with the first user terminal within a preset time; The second user terminal sends the smoking intervention information to the first user terminal, so that the first user terminal issues a control instruction to the electronic cigarette according to the received smoking intervention information to control the use of the electronic cigarette; wherein the smoking intervention information includes limiting the use time, limiting the use frequency, prohibiting use commands or allowing use commands.
2. The method for monitoring the use record of electronic cigarettes according to claim 1, characterized in that: The electronic cigarette usage record includes smoking duration, smoking frequency, usage time point and current electronic cigarette battery information.
3. The method for monitoring the use record of electronic cigarettes according to claim 1, characterized in that: The process of generating the smoking intervention information includes: In response to an input information operation of a second user, obtaining input information of the second user, and generating smoking intervention information according to the input information; Or in response to a selection operation of the second user, the smoking intervention information is determined from the preset intervention information sent by the monitoring terminal.
4. The method for monitoring the use record of electronic cigarettes according to claim 3, characterized in that: The generation process of the preset intervention information includes: The monitoring terminal calculates the user's smoking behavior degree value according to the electronic cigarette use record; When the smoking behavior level of the user is greater than the level threshold preset by the second user, generating preset intervention information including a usage time limit, a usage frequency limit or a usage prohibition command; When the smoking behavior level value of the user is less than the level threshold preset by the second user, preset intervention information including a use permission command is generated.
5. The method for monitoring the use record of electronic cigarettes according to claim 4, characterized in that: The monitoring terminal calculates the user's smoking behavior degree value according to the electronic cigarette use record, including: The smoking behavior level value is calculated by the following formula: in, The number of times the user smokes, indicating the number of times the user actually smokes within a period of time. is the influence coefficient of the number of smoking times on the degree of smoking behavior, is a constant, indicating the initial smoking behavior level when the number of smoking times is zero.
6. The method for monitoring the use record of electronic cigarettes according to claim 1, characterized in that: The first identity information includes a user identity ID or a device identification code of the first user, which is used by the monitoring terminal to uniquely identify the user.
7. The method for monitoring the use record of electronic cigarettes according to claim 1, characterized in that: After the second user terminal sends the smoking intervention information to the first user terminal, the method further includes: The second user terminal maintains a communication connection with the monitoring terminal, receives and displays the real-time electronic cigarette usage record of the first user; In response to the adjustment operation of the second user, the second user terminal adjusts the smoking intervention information according to the real-time electronic cigarette usage record.
8. A monitoring device system for recording electronic cigarette usage, characterized in that: include: A first user terminal, configured to obtain Bluetooth information of the electronic cigarette and establish a Bluetooth communication connection between the electronic cigarette and the first user terminal in response to an electronic cigarette link operation triggered by a first user; Acquire first identity information and electronic cigarette use records, and transmit the first identity information and the electronic cigarette use records to a monitoring terminal; issue a control instruction to the electronic cigarette according to the received smoking intervention information to control the use of the electronic cigarette; wherein the smoking intervention information includes limiting the use time, limiting the use frequency, prohibiting use commands, or allowing use commands; A monitoring terminal, configured to send a smoking reminder message to a second user terminal in response to a first user starting an electronic cigarette; wherein the second user terminal has established a communication connection with the monitoring terminal in advance; The second user terminal is used to establish a communication connection with the first user terminal within a preset time after the second user terminal receives the smoking reminder information sent by the monitoring terminal; and send the smoking intervention information to the first user terminal, so that the first user terminal issues a control instruction to the electronic cigarette according to the received smoking intervention information, thereby controlling the use of the electronic cigarette.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method for monitoring the electronic cigarette usage record according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for monitoring the electronic cigarette usage record according to any one of claims 1 to 7.
Citation Information
Cited By
Electronic cigarette automatic charging and discharging test equipment and method
CN121385505A
Electronic cigarette intelligent voice interaction and control system based on natural language understanding
CN121583246A
Electronic cigarette intelligent voice interaction and control system based on natural language understanding
CN121583246B