[go: up one dir, main page]

WO2025148003A1 - Electronic cigarette-based intelligent application system and control method therefor - Google Patents

Electronic cigarette-based intelligent application system and control method therefor

Info

Publication number
WO2025148003A1
WO2025148003A1 PCT/CN2024/072008 CN2024072008W WO2025148003A1 WO 2025148003 A1 WO2025148003 A1 WO 2025148003A1 CN 2024072008 W CN2024072008 W CN 2024072008W WO 2025148003 A1 WO2025148003 A1 WO 2025148003A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic cigarette
intelligent
module
smart
app
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.)
Pending
Application number
PCT/CN2024/072008
Other languages
French (fr)
Chinese (zh)
Inventor
李明军
李现力
李现雄
刘峥嵘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Wangtuxi Technology Co Ltd
Original Assignee
Dongguan Wangtuxi Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Dongguan Wangtuxi Technology Co Ltd filed Critical Dongguan Wangtuxi Technology Co Ltd
Publication of WO2025148003A1 publication Critical patent/WO2025148003A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/65Devices with integrated communication means, e.g. wireless communication means
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/40Constructional details, e.g. connection of cartridges and battery parts
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/40Constructional details, e.g. connection of cartridges and battery parts
    • A24F40/49Child proofing
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/50Control or monitoring
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/60Devices with integrated user interfaces

Definitions

  • the present application relates to the technical field of electronic cigarettes, and in particular to an intelligent application system based on electronic cigarettes and a control method thereof.
  • Electronic cigarettes can be divided into atomizing electronic cigarettes (also known as steam electronic cigarettes) and heat-not-burn electronic cigarettes according to their principles. They have become the preferred tobacco products for many smokers and have better met their smoking needs. Among them, atomizing electronic cigarettes heat and atomize liquid substances (also known as tobacco oil) or paste substances to emit aerosols or smoke for users to inhale; heat-not-burn electronic cigarettes heat tobacco or tobacco to a certain temperature to emit smoke for users to inhale. Compared with traditional tobacco, electronic cigarettes do not burn with open flames, which reduces or avoids the production of tar and many harmful particles. Therefore, electronic cigarettes are gradually becoming popular.
  • Traditional electronic cigarettes are generally composed of atomizing components, heating components, batteries, main boards, material (liquid, tobacco or other tobacco products) containers, mouthpieces, charging ports, power indicators, material indicators, shells, air dynamic switches, etc.
  • the air dynamic switches or devices with similar functions can detect the user's smoking actions and smoking duration to count data such as the duration, frequency, and number of each smoking.
  • e-cigarettes As a carry-on item for e-cigarette enthusiasts, e-cigarettes currently only play the role of satisfying people's smoking needs, and other functions are rare. Although some patents add wireless communication modules and microcontroller modules to e-cigarettes, enabling them to communicate with smart terminal devices (such as mobile phones, computers, etc.), these functions are limited to statistics related to the smoking function, such as the number of times smoked and the duration of smoking.
  • the electronic cigarette application APP determines that the unique identification code of the electronic cigarette intelligent module is legal, the electronic cigarette application APP encrypts the current user ID of the electronic cigarette application APP and the unique identification code using a preset encryption and decryption algorithm to obtain an encrypted data packet, and sends the encrypted data packet to the server;
  • the user adds a target friend by inputting the target friend's attribute information in the electronic cigarette application APP, wherein the attribute information includes one or any combination of mobile phone number, user name, location, hobbies and favorite electronic cigarette characteristics;
  • Online meeting reservation The user reserves an online meeting through the electronic cigarette application APP, and sends the meeting number and meeting link of the scheduled meeting to other target persons who have installed the electronic cigarette application APP;
  • File sharing The user transfers the file to be shared to the target object or target storage space through the electronic cigarette application APP.
  • the present application discloses an intelligent application system based on electronic cigarettes and a control method thereof, wherein the intelligent application system is configured by configuring an intelligent electronic cigarette, a server and an electronic cigarette application APP installed on an intelligent terminal; the intelligent electronic cigarette is configured by adding an electronic cigarette intelligent module and a wireless communication module, and the electronic cigarette intelligent module is enabled to perform two-way communication with the electronic cigarette application APP on the intelligent terminal through the wireless communication module; the electronic cigarette application APP is connected to the server through a public network, and/or the electronic cigarette intelligent module is connected to the public network through a wireless communication module to directly communicate with the server; and the electronic cigarette intelligent module is configured by configuring a main control unit, a human-computer interaction unit and an application function unit, thereby effectively expanding the use functions of traditional electronic cigarettes, making the electronic cigarette functions diversified and intelligent.
  • FIG1 is a schematic diagram of the structure of an electronic cigarette-based intelligent application system in an embodiment of the present application
  • FIG. 2 is a flow chart of a control method of an electronic cigarette-based intelligent application system in an embodiment of the present application.
  • all functional units in the embodiments of the present application may be integrated into one processor, or each unit may be a separate device, or two or more units may be integrated into one device; each functional unit in the embodiments of the present application may be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the aforementioned program instructions can be stored in a computer-readable storage medium.
  • the aforementioned storage medium includes various media that can store program codes, such as mobile storage devices, read-only memories (ROM), magnetic disks or optical disks.
  • first and second are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features. In the description of this application, “multiple” and “several” mean two or more, unless otherwise clearly and specifically defined.
  • the smart electronic cigarette 1 realizes human-computer interaction between the user and the smart electronic cigarette 1 through the human-computer interaction unit 112 of the electronic cigarette smart module 11.
  • the main control unit 111 receives the input information of the human-computer interaction unit 112 and transmits it to the electronic cigarette smart APP and/or server 2 through the wireless communication module 12.
  • the main control unit 111 also controls the human-computer interaction module to display corresponding information according to the instructions sent by the electronic cigarette smart APP and/or server 2.
  • the electronic cigarette smart module 11 communicates bidirectionally with the electronic cigarette application APP3 on the smart terminal 100 through the wireless communication module 12, thereby completing the data interaction between the two.
  • the electronic cigarette application APP3 and the server 2 complete the data interaction through the public network connection.
  • the smart electronic cigarette 1 can also communicate with the server 2 after connecting to the public network through the wireless communication module 12, thereby realizing the data interaction between the smart electronic cigarette 1 and the server 2.
  • the electronic cigarette intelligent application system of this embodiment is provided with an intelligent electronic cigarette 1, a server 2 and an electronic cigarette application APP3 installed on the intelligent terminal 100.
  • the intelligent electronic cigarette 1 is provided with an electronic cigarette intelligent module 11 and a wireless communication module 12, and the electronic cigarette intelligent module 11 is enabled to communicate bidirectionally with the electronic cigarette application APP3 on the intelligent terminal 100 through the wireless communication module 12.
  • the electronic cigarette application APP3 is connected to the server 2 through a public network, and/or the electronic cigarette intelligent module 11 is connected to the public network through the wireless communication module 12 to directly communicate with the server 2.
  • the electronic cigarette intelligent module 11 is provided with a main control unit 111, a human-computer interaction unit 112 and an application function unit 113.
  • the electronic cigarette intelligent system of this embodiment can realize the functions of alarm clock, stopwatch, weather check, sports step counting, health monitoring, intelligent question and answer, social networking, etc. through data interaction among the intelligent electronic cigarette 1, the server 2 and the electronic cigarette application APP3 installed on the intelligent terminal 100, in conjunction with the corresponding software program, so as to effectively expand the use functions of traditional electronic cigarettes and make the electronic cigarette functions diversified and intelligent.
  • the electronic cigarette intelligent module 11 of the present application can be integrated with the traditional electronic cigarette in the following two ways to obtain the intelligent electronic cigarette 1 of the present application:
  • the electronic cigarette intelligent module 11 adopts a relatively independent assembly method, and has functional units/devices such as the main control unit 111, the human-computer interaction unit 112 and the application function unit 113 that realize the functions described in this application.
  • functional units/devices such as the main control unit 111, the human-computer interaction unit 112 and the application function unit 113 that realize the functions described in this application.
  • a certain space and interface are left for the electronic cigarette intelligent module 11.
  • the electronic cigarette intelligent module 11 can be inserted into the space. It is relatively independent of the original electronic cigarette device and does not interfere with each other.
  • the electronic cigarette intelligent module 11 and the original electronic cigarette device can share a battery and a motherboard.
  • the main control unit 111 in this embodiment adopts an ARM chip, which has digital computing capabilities and can be programmed to complete various tasks by controlling other peripherals.
  • the main control chip can integrate the control circuit of the traditional electronic cigarette in the form of a peripheral to control the electronic cigarette's inhalation switch, the amount of oil produced each time, and other parameters.
  • the application function unit 113 includes one or any combination of an image acquisition module 1131, a fingerprint acquisition module 1132, an NFC module 1133, a ranging module 1134, a gyroscope 1135, a positioning module 1136, a vibration motor 1137, a Hall sensor 1138 and a magnet, a health monitoring module 1130 and a memory 1139, and the image acquisition module 1131, the fingerprint acquisition module 1132, the NFC module 1133, the ranging module 1134, the gyroscope 1135, the positioning module 1136, the vibration motor 1137, the Hall sensor 1138, the health monitoring module 1130 and the memory 1139 are respectively connected to the main control unit 111.
  • each functional module of the application function unit 113 is introduced as follows:
  • Image acquisition module 1131 used to acquire images or videos, and assist in realizing functions such as taking photos, taking videos, video calls, and unlocking the electronic cigarette inhalation switch by face recognition.
  • the image acquisition module 1131 uses a micro camera;
  • Fingerprint collection module 1132 used to collect fingerprints to implement fingerprint locking protection to prevent others from smoking your electronic cigarette;
  • NFC module 1133 used to enable the electronic cigarette to realize NFC payment function (such as swiping bus cards, subway cards, etc.);
  • Distance measuring module 1134 used to enable the electronic cigarette to realize distance measuring function.
  • Distance measuring module 1134 can specifically adopt TOF sensor or ultrasonic sensor;
  • Gyroscope 1135 used to enable the electronic cigarette to realize functions such as step counting and posture detection;
  • Positioning module 1136 used to enable the electronic cigarette to realize the positioning function.
  • the positioning module 1136 can specifically adopt a GPS module;
  • Vibration motor 1137 used to enable the electronic cigarette to achieve the vibration function, and to remind the user through the vibration mode when the user is in a meeting or other occasions where it is inconvenient to make a sound;
  • Hall sensor 1138 and magnet used to enable the electronic cigarette to detect the presence or absence of another electronic cigarette at a close distance.
  • the wireless communication module 12 includes one or any combination of a Bluetooth chip 121, a WiFi chip 122, a mobile communication device 123 and a satellite communication device 124, and the Bluetooth chip 121, the WiFi chip 122, the mobile communication device 123 and the satellite communication device 124 are respectively connected to the main control unit 111.
  • each communication chip/device of the wireless communication module 12 is described as follows:
  • Bluetooth chip 121 used to enable the electronic cigarette to conveniently communicate with the smart terminal 100 (such as a mobile phone, tablet computer, laptop computer, etc.) installed with the electronic cigarette application APP3;
  • WiFi chip 122 used to enable the electronic cigarette to connect to the Internet by relying on the WiFi hotspot of a nearby smart terminal 100 (such as a mobile phone, tablet computer, laptop computer, etc.) or the relay of a nearby wireless router;
  • Mobile communication device 123 used to enable the electronic cigarette to directly connect to the mobile communication base station, so that the electronic cigarette can also connect to the Internet when it is far away from the smart terminal 100.
  • the mobile communication device 123 can specifically adopt a 2G communication device, a 3G communication device, a 4G communication device, a 5G communication device, etc.;
  • Satellite communication device 124 used to enable the electronic cigarette to access the public communication network when it is far away from the smart terminal 100 and the mobile communication base station to achieve emergency communication.
  • the functions of the touch screen 1121, the microphone 1122 and the speaker 1123 in the human-computer interaction unit 112 are known in the art and will not be described in detail herein.
  • the earphone interface 1124 can be used by the user to plug in wired earphones.
  • Target application functions include:
  • the APP When a user opens the APP for the first time, the APP will remind the user to register.
  • users log in When users log in, they can use a variety of methods, including but not limited to: mobile phone number + SMS, mobile phone number + password, email + password, username + password, face recognition, third-party indirect login, etc. Sometimes, these methods can be used in combination. For example, when an abnormality is detected in the login environment, when using username + password to log in, the user's mobile phone number will also be verified to enhance security.
  • the user When changing the password, the user needs to enter the old password for verification. If an abnormality is detected in the environment, the user needs to enter the mobile phone number and SMS verification code for verification, or enter the email address and email verification code for verification, or use face recognition for verification after obtaining the user's consent.
  • the password can only be changed after successful verification.
  • the unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP, where the unique identification code is composed of the global unique identification code GUID and the product production information of the electronic cigarette intelligent module (such as manufacturer identification, serial number of the electronic cigarette intelligent module, etc.) according to a preset combination method; specifically, according to different confidentiality requirements, this unique identification code can be encrypted (encryption algorithms such as AES and RSA can be used), and only the electronic cigarette application APP or authorized party can decrypt it.
  • A4 decrypt the encrypted data packet using a preset encryption and decryption algorithm through the server to obtain the current user ID and unique identification code of the electronic cigarette application APP;
  • the server when the server determines that the unique identification code of the electronic cigarette intelligent module is legal, the server obtains the historical binding information of the unique identification code; specifically, the server can obtain the historical binding information of the unique identification code by querying its own database to see whether the unique identification code has been bound.
  • the server establishes the binding relationship between the current user identity ID of the electronic cigarette application APP and the unique identification code according to the preset binding process based on the current user identity ID, the unique identification code and the historical binding information of the unique identification code of the electronic cigarette application APP.
  • a digital password or pattern password can be set on the APP or on the touch screen of the electronic cigarette smart module. Once the password is set, the user must enter the correct password on the touch screen of the electronic cigarette smart module before smoking the electronic cigarette;
  • the user enters the smart question and answer interaction page on the e-cigarette application APP and clicks the smart question and answer button to start the smart question and answer interaction process;
  • the server calls the corresponding artificial intelligence model to analyze and process the problem data packet to obtain a response data packet, and sends the response data packet to the electronic cigarette application APP;
  • step S2 managing the social function of the smart electronic cigarette includes:
  • the shared smoking location information includes one or any combination of the following information:
  • Smoking location information opening hours, surrounding description information, smoking location photos, and smoking location videos.
  • the method for viewing the usage status information of the smart electronic cigarette is as follows:
  • the usage status information can also be viewed on the screen.
  • the electronic cigarette smart module transmits the command to the APP, and the APP recognizes it by itself or transfers it to the server for recognition. After successful recognition, the APP replies through the electronic cigarette smart module "OK, I'll call you in 5 minutes", and then the APP sets an alarm that will sound in 5 minutes.
  • the electronic cigarette intelligent module happens to be in the user's hand, the user can lightly press the power button (or other physical button), and the electronic cigarette intelligent module immediately enters the normal power consumption mode.
  • the electronic cigarette intelligent module If the electronic cigarette intelligent module is not in the user's hand or is in the user's hand, the user can send a wake-up word (such as "Dami Dami", "Xiao Ai classmate", etc., the specific choice of wake-up word can be set or customized on the APP), and the electronic cigarette intelligent module can enter the normal power consumption mode after receiving the corresponding voice signal.
  • a wake-up word such as "Dami Dami", "Xiao Ai classmate", etc., the specific choice of wake-up word can be set or customized on the APP
  • the electronic cigarette intelligent module can enter the normal power consumption mode after receiving the corresponding voice signal.
  • a wake-up word such as "Dami Dami", "Xiao Ai classmate", etc., the specific choice of wake-up word can be set or customized on the APP
  • the electronic cigarette intelligent module can enter the normal power consumption mode after receiving the corresponding voice signal.
  • the APP After the APP receives the voice wake-up signal sent by the electronic cigarette intelligent module, it will send the data to the server after slight processing (such as compression, encryption, etc.), and the server will tell the APP the results, and the APP will forward them to the electronic cigarette intelligent module.
  • slight processing such as compression, encryption, etc.
  • the electronic cigarette intelligent module of the present invention has an intelligent dialogue function
  • the intelligent electronic cigarette can be used as an intelligent companion of the user to a certain extent
  • the wake-up word can be used as the name of the electronic cigarette intelligent module.
  • the user can define a favorite name for the electronic cigarette intelligent module, such as "Afu”, “Afu Afu”, “Tiedan”, etc.
  • a favorite name for the electronic cigarette intelligent module such as "Afu”, “Afu Afu”, “Tiedan”, etc.
  • the user can wake up or call the electronic cigarette intelligent module with this name, for example, "Afu, what time is it now?"
  • the user can customize or select the timbre of the voice emitted by the electronic cigarette intelligent module.
  • the system provides some standard timbres, such as standard male voice, Cantonese female voice, etc. After the user selects a standard timbre, the electronic cigarette intelligent module will use this timbre to make a voice response. Users can also customize their favorite timbre.
  • the customization process is: the user uploads a favorite voice to the background server, and the background server calculates the acoustic features of the voice (such as sound intensity, pitch, gene frequency, etc.), and then the electronic cigarette intelligent module can use the sound synthesized based on the acoustic features to make a voice response.
  • Users can add friends in the APP through various methods such as mobile phone number, user name, area search, interest search, and search by the characteristics of favorite e-cigarettes (such as brand, flavor, etc.).
  • Users can post their latest updates (such as experiences, pictures, videos, etc.) in the APP, set which friends can see them, and friends can click to like and comment.
  • latest updates such as experiences, pictures, videos, etc.
  • Users can find friends in the APP with whom they want to start a chat or reply to a chat, and reply to friends by text, voice, voice-to-text, files, photos, real-time images or videos, etc. Users can forward messages sent by themselves or friends, delete communication records with friends, and withdraw content sent within 24 hours (the APP operator can set other durations, or set different durations according to the user's membership level, for example, junior members are only allowed to withdraw messages sent within 5 minutes, and senior members can withdraw messages sent within 24 hours). Users can initiate real-time voice chats or video chats.
  • the APP Since the APP is closely integrated with the electronic cigarette intelligent module, you can also chat with friends, check messages, reply to messages, delete messages, withdraw messages, real-time voice chat, real-time video chat, etc. on the electronic cigarette intelligent module equipped with a touch screen.
  • the system will give a meeting number and a link, and then send the link and number to relevant personnel.
  • relevant personnel can click the link in their respective APPs to have a voice conference or turn on the camera for a video conference.
  • the meeting initiator can set the meeting to only allow people who receive the meeting invitation to join, and forwarding is invalid.
  • the system allocates a fixed-size network disk space to each group.
  • everyone in the group can upload some files, which can be seen by others.
  • the auxiliary function parameter setting of the smart electronic cigarette includes the following aspects:
  • the electronic cigarette smart module is bound to the mobile phone, then when someone calls the mobile phone, the user can answer the call on the electronic cigarette smart module.
  • the phone when the phone is connected, the other party's voice is transmitted to the mobile phone, and then transferred to the electronic cigarette smart module through wireless communication.
  • the sound-generating device of the electronic cigarette smart module plays the sound; when the user speaks through the electronic cigarette smart module, the electronic cigarette smart module collects the user's voice and sends it to the mobile phone, and the mobile phone sends it to the other party.
  • This function is particularly convenient in certain situations. For example, if the mobile phone is in the bedroom and the user is holding an e-cigarette in the living room or toilet, when someone calls, the user can answer the call directly.
  • the user can either tap the physical button on it or give a voice command, such as "Dami dami, answer the call.”
  • the electronic cigarette intelligent module is independently installed with a mobile communication device that can make calls, it has an independent phone number, and others can also directly dial this phone number; in this case, the electronic cigarette intelligent module does not need to maintain a wireless connection with the mobile phone.
  • the user can click the call button on the touch screen, then enter the other party's name or phone number, or speak the other party's name or phone number, and finally press the call button to make a call.
  • the block sends the phone number to be dialed to the APP, and the APP calls the system function of the mobile phone to make the phone make a call.
  • the electronic cigarette smart module If the electronic cigarette smart module is not equipped with a touch screen, the user can make a call by pressing a physical button or voice command, such as the user saying "Call Zhang San". After receiving the voice command, the APP will identify it. If the identification is successful and it is found that there is only one Zhang San in the mobile phone address book, and Zhang San has only one number, the APP will send the result to the electronic cigarette smart module. The electronic cigarette smart module will ask the user "Do you want to call Zhang San 1591210xxxx?" If the user answers "yes", the APP will call the mobile phone system function to make a call. If it is found that there are multiple Zhang Sans on the mobile phone, or Zhang San has multiple numbers, the electronic cigarette smart module will ask the user multiple times, and then make a call after confirmation.
  • a physical button or voice command such as the user saying "Call Zhang San”.
  • the electronic cigarette intelligent module is independently installed with a mobile communication device that can make calls, it has an independent phone number and can directly dial other people's phone numbers; in this case, the electronic cigarette intelligent module does not need to maintain a wireless connection with the mobile phone.
  • the distance can be measured. After the distance is measured, it can be displayed on the screen of the electronic cigarette smart module.
  • social software such as WeChat has the function of adding friends by shaking, and its operation steps are also relatively many, such as first unlocking the mobile phone screen, then opening WeChat, then opening the shake page of WeChat, and then performing the shake operation and other operations.
  • Both electronic cigarette intelligent modules to be operated are equipped with gyroscopes.
  • the two electronic cigarettes are in a specific posture (such as both are in a vertical upward posture, which will be described below), and then lightly collide with each other head-on, and then proceed to the next step.
  • a specific state the posture of the user holding the electronic cigarette is relatively casual.
  • the electronic cigarette may collide with obstacles (such as tables, bowls, door frames, falls, etc.) in various postures.
  • the gyroscope will detect this collision, but for the touch-and-pay to add friends, this collision is an invalid collision.
  • this application stipulates that only when two electronic cigarettes collide in a specific posture, it is considered a valid collision.
  • the vertical upward head-on collision posture is a preferred posture, because unintentional collisions rarely occur in this posture; for electronic cigarettes with strange shapes, a horizontal posture may be a preferred posture.
  • the electronic cigarette intelligent module detects the three-axis acceleration and three-axis angular velocity output by the gyroscope to determine whether the bump operation described in this application has been performed.
  • the judgment process is: a) before the collision, whether the electronic cigarette is generally in a vertical upward posture (characterized by the three-axis angular velocity being generally 0, the horizontal x-axis and y-axis acceleration being generally 0, and the vertical z-axis acceleration being generally equivalent to a gravity acceleration); b) at the moment of collision, the acceleration of the axis perpendicular to the front (it may be assumed that this axis is the y-axis, and of course it can be set as the x-axis) has a large change (a threshold value obtained through statistical experiments will be set before leaving the factory), while the acceleration of other axes does not change much; c) if both a) and b) give affirmative answers, it can be determined that this is a valid collision.
  • the electronic cigarette smart module itself or through the APP broadcasts the message that it has just detected a valid collision (including the collision time and its own unique identifier and other data) to nearby electronic cigarette smart modules or APPs via Bluetooth. At the same time, it will also receive valid collision messages sent by other electronic cigarette smart modules or APPs. Bumping news.
  • the electronic cigarette smart module After detecting a valid collision and receiving a valid collision data packet from other electronic cigarette smart modules or APPs, and detecting that the collision time sent by the other party is not much different from its own collision time (the specific threshold can be determined by statistical experiments before leaving the factory, generally speaking, it can be set to 500ms), the electronic cigarette smart module lights up the screen and pops up a page to ask whether to add the other party as a friend. If the user chooses yes, the electronic cigarette smart module will send its own unique identifier, the other party's unique identifier and the collision time to the server, indicating that a friend is to be added. If the other party also makes a similar action, the server determines that the two are added as friends. If one party chooses no, adding a friend is unsuccessful.
  • the specific threshold can be determined by statistical experiments before leaving the factory, generally speaking, it can be set to 500ms
  • this function requires the disclosure of a unique identifier to the other user's APP or electronic cigarette smart module. Although the other party cannot directly know this unique identifier, someone with ulterior motives can obtain the unique identifier through technical means and may use it for illegal purposes. Therefore, this application turns off this function by default on the APP and electronic cigarette smart module. When the user needs to turn on this function, a page will pop up to inform the user of the risks. This function can only be turned on when the user is aware of and agrees.
  • Both electronic cigarette intelligent modules to be operated are equipped with gyroscopes.
  • Both electronic cigarettes are in a basically static state (in the static state, the acceleration of the horizontal x and y axes of the gyroscope is approximately 0, the acceleration of the vertical z axis is approximately the acceleration of gravity, and the angular velocity of the three axes is approximately 0).
  • the user starts to shake the electronic cigarette with a large amplitude, and the duration exceeds a certain threshold (for example, 2 seconds, the specific value can be determined through statistical experiments before leaving the factory).
  • a certain threshold for example, 2 seconds, the specific value can be determined through statistical experiments before leaving the factory.
  • the gyroscope detects a relatively violent change, and the electronic cigarette smart module broadcasts the shake message it has just detected (including the start time and duration of the shake and its own unique identifier and other data) to nearby electronic cigarette smart modules or apps through Bluetooth. At the same time, it will also receive shake messages sent by other electronic cigarette smart modules or apps.
  • the electronic cigarette smart module After detecting the shake message and receiving the shake data packet sent by other electronic cigarette smart modules or APPs, and detecting that the start and end time intervals of the shake sent by the other party are not much different from their own (the specific threshold can be determined by statistical experiments before leaving the factory. Generally speaking, the two intervals should have an intersection, and the intersection length can be set to 500ms), the electronic cigarette smart module lights up the screen and pops up a page to ask whether to add the other party as a friend. If the user chooses yes, the electronic cigarette smart module will send its own unique identifier, the other party's unique identifier, and the shake time and duration to the server, indicating that a friend is to be added. If the other party also makes a similar action, the server determines that the two are added as friends. If one party chooses no, adding a friend is unsuccessful.
  • the shake operation can be limited to adding friends within a short distance (for Bluetooth, this distance is about 10 meters), but can be expanded to a larger physical distance (such as 500 meters or more). distance) or the entire operating platform.
  • the electronic cigarette smart module After detecting an obstacle distance less than the threshold and receiving a distance message from other electronic cigarette smart modules or APPs, and the distance detection time sent by the other party is not much different from its own (the specific threshold can be determined by statistical experiments before leaving the factory, such as 500ms), the electronic cigarette smart module lights up the screen and pops up a page to ask whether to add the other party as a friend. If the user chooses yes, the electronic cigarette smart module will send its own unique identifier, the other party's unique identifier, the distance detection time and the distance value to the server, indicating that a friend is to be added. If the other party also makes a similar action, the server determines that the two are added as friends. If one party chooses no, adding a friend is unsuccessful.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Child & Adolescent Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

An electronic cigarette-based intelligent application system, comprising an intelligent electronic cigarette (1), a server (2), and an electronic cigarette application APP (3) installed on an intelligent terminal (100), wherein the intelligent electronic cigarette (1) comprises an electronic cigarette intelligent module (11) and a wireless communication module (12); the electronic cigarette intelligent module (11) communicates bidirectionally with the electronic cigarette application APP (3) on the intelligent terminal (100) by means of a wireless communication module (12), and the electronic cigarette application APP (3) is communicatively connected to the server (2) by means of a public network; the electronic cigarette intelligent module (11) accesses the public network by means of the wireless communication module (12) to directly communicate with the server (2); and the electronic cigarette intelligent module (11) comprises a main control unit (111), a human-machine interaction unit (112) and an application function unit (113). Human-machine interaction is realized by means of the human-machine interaction unit (112) of the electronic cigarette intelligent module (11), the main control unit (111) receives input information of the human-machine interaction unit (112) and transmits the input information to an electronic cigarette intelligent APP and/or the server (2) by means of the wireless communication module (12), the main control unit (111) further controls, on the basis of an instruction sent by the electronic cigarette intelligent APP and the server (2), the human-machine interaction module to display corresponding information, and the electronic cigarette intelligent module (11) communicates bidirectionally with the electronic cigarette application APP (3) on the intelligent terminal (100) by means of the wireless communication module (12).

Description

一种基于电子烟的智能应用系统及其控制方法An intelligent application system based on electronic cigarette and control method thereof 技术领域Technical Field

本申请涉及电子烟技术领域,特别是涉及一种基于电子烟的智能应用系统及其控制方法。The present application relates to the technical field of electronic cigarettes, and in particular to an intelligent application system based on electronic cigarettes and a control method thereof.

背景技术Background Art

电子烟按原理可分为雾化电子烟(也称为蒸汽电子烟)和加热不燃烧电子烟,其已经成为很多烟民的首选烟草制品,较好地满足了他们的吸烟需求。其中,雾化电子烟将液体物质(也称为烟油)或膏状物质进行加热雾化,发出气溶胶或烟雾,供用户吸食使用;加热不燃烧电子烟将烟丝或烟草加热到一定温度,使之发出烟雾,供用户吸食使用。与传统烟草相比,电子烟没有明火燃烧,减少或避免了烟焦油和很多有害颗粒的产生,因此,电子烟逐渐受到应用普及。Electronic cigarettes can be divided into atomizing electronic cigarettes (also known as steam electronic cigarettes) and heat-not-burn electronic cigarettes according to their principles. They have become the preferred tobacco products for many smokers and have better met their smoking needs. Among them, atomizing electronic cigarettes heat and atomize liquid substances (also known as tobacco oil) or paste substances to emit aerosols or smoke for users to inhale; heat-not-burn electronic cigarettes heat tobacco or tobacco to a certain temperature to emit smoke for users to inhale. Compared with traditional tobacco, electronic cigarettes do not burn with open flames, which reduces or avoids the production of tar and many harmful particles. Therefore, electronic cigarettes are gradually becoming popular.

传统电子烟一般由雾化部件、加热部件、电池、主板、物料(烟油、烟丝或其他烟草类制品)容器、烟嘴、充电口、电量指示器、物料指示器、外壳、空气动力开关等组成,其中空气动力开关或类似功能的器件可以检测用户的吸烟动作以及吸烟时长,以统计每次吸烟时长、频率、次数等数据。Traditional electronic cigarettes are generally composed of atomizing components, heating components, batteries, main boards, material (liquid, tobacco or other tobacco products) containers, mouthpieces, charging ports, power indicators, material indicators, shells, air dynamic switches, etc. The air dynamic switches or devices with similar functions can detect the user's smoking actions and smoking duration to count data such as the duration, frequency, and number of each smoking.

电子烟作为电子烟爱好者的随身携带物品,目前仅发挥了满足人们吸烟需求的功能,其他功能很少见。虽然一些专利给电子烟添加了无线通信模块和微控制模块,使之具备与智能终端设备(如手机、计算机等)通讯的功能,但这些功能仅限于统计与吸烟功能相关的信息,如吸烟次数、吸烟时长等。As a carry-on item for e-cigarette enthusiasts, e-cigarettes currently only play the role of satisfying people's smoking needs, and other functions are rare. Although some patents add wireless communication modules and microcontroller modules to e-cigarettes, enabling them to communicate with smart terminal devices (such as mobile phones, computers, etc.), these functions are limited to statistics related to the smoking function, such as the number of times smoked and the duration of smoking.

因此,如何提升电子烟的智能化程度,是目前本领域亟待解决的问题。Therefore, how to improve the intelligence level of electronic cigarettes is a problem that needs to be solved urgently in this field.

发明内容Summary of the invention

为解决上述技术问题,本申请提供一种基于电子烟的智能应用系统及其控制方法,有效提升了电子烟的智能化程度。In order to solve the above technical problems, the present application provides an intelligent application system based on electronic cigarettes and a control method thereof, which effectively improves the intelligence level of electronic cigarettes.

本申请的第一个目的为提供一种基于电子烟的智能应用系统。The first purpose of this application is to provide an intelligent application system based on electronic cigarettes.

本申请的上述申请目的一是通过以下技术方案得以实现的:The above-mentioned application objective 1 of the present application is achieved through the following technical solutions:

一种基于电子烟的智能应用系统,包括智能电子烟、服务器以及安装于智能终端的电子烟应用APP,所述智能电子烟包括电子烟智能模块和无线通信模块; An intelligent application system based on an electronic cigarette, comprising an intelligent electronic cigarette, a server and an electronic cigarette application APP installed on an intelligent terminal, wherein the intelligent electronic cigarette comprises an electronic cigarette intelligent module and a wireless communication module;

所述电子烟智能模块通过所述无线通信模块与所述智能终端上的电子烟应用APP进行双向通信,所述电子烟应用APP通过公网与所述服务器通信连接;和/或The electronic cigarette intelligent module performs two-way communication with the electronic cigarette application APP on the intelligent terminal through the wireless communication module, and the electronic cigarette application APP is connected to the server through the public network; and/or

所述电子烟智能模块通过所述无线通信模块接入公网以直接与所述服务器通信;The electronic cigarette intelligent module is connected to the public network through the wireless communication module to directly communicate with the server;

其中,in,

所述电子烟智能模块包括主控单元、人机交互单元和应用功能单元,所述人机交互单元、应用功能单元和无线通信模块分别与所述主控单元连接。The electronic cigarette intelligent module comprises a main control unit, a human-computer interaction unit and an application function unit, and the human-computer interaction unit, the application function unit and the wireless communication module are respectively connected to the main control unit.

优选地,所述应用功能单元包括图像采集模块、指纹采集模块、NFC模块、测距模块、陀螺仪、定位模块、震动马达、霍尔传感器和磁铁、健康监测模块以及存储器之一或任意组合,所述图像采集模块、指纹采集模块、NFC模块、测距模块、陀螺仪、定位模块、震动马达、霍尔传感器、健康监测模块和存储器分别与所述主控单元连接。Preferably, the application function unit includes one or any combination of an image acquisition module, a fingerprint acquisition module, an NFC module, a ranging module, a gyroscope, a positioning module, a vibration motor, a Hall sensor and a magnet, a health monitoring module and a memory, and the image acquisition module, the fingerprint acquisition module, the NFC module, the ranging module, the gyroscope, the positioning module, the vibration motor, the Hall sensor, the health monitoring module and the memory are respectively connected to the main control unit.

优选地,所述无线通信模块包括蓝牙芯片、WiFi芯片、移动通信器件和卫星通信器件之一或任意组合,所述蓝牙芯片、WiFi芯片、移动通信器件和卫星通信器件分别与所述主控单元连接。Preferably, the wireless communication module includes one or any combination of a Bluetooth chip, a WiFi chip, a mobile communication device and a satellite communication device, and the Bluetooth chip, the WiFi chip, the mobile communication device and the satellite communication device are respectively connected to the main control unit.

优选地,所述人机交互单元包括触控屏、拾音器、扬声器和耳机接口,所述触控屏、拾音器、扬声器和耳机接口分别与所述主控单元连接。Preferably, the human-computer interaction unit comprises a touch screen, a microphone, a speaker and an earphone interface, and the touch screen, the microphone, the speaker and the earphone interface are respectively connected to the main control unit.

本申请的第二个目的为提供一种上述第一个目的中任一项所述的电子烟智能应用系统的控制方法。The second object of the present application is to provide a control method for an electronic cigarette intelligent application system as described in any one of the first objects above.

本申请的上述申请目的二是通过以下技术方案得以实现的:The second application objective of the present application is achieved through the following technical solutions:

一种基于上述第一个目的中任一项所述的电子烟智能应用系统的控制方法,所述方法包括如下步骤:A control method for an electronic cigarette intelligent application system based on any one of the first objectives above, the method comprising the following steps:

基于所述电子烟智能模块的唯一标识码按照预设的绑定方式将所述智能电子烟与所述电子烟应用APP建立绑定关系;Establishing a binding relationship between the smart electronic cigarette and the electronic cigarette application APP based on the unique identification code of the electronic cigarette smart module in a preset binding manner;

基于所述智能电子烟与所述电子烟应用APP之间建立的绑定关系,通过所述电子烟应用APP对所述智能电子烟进行目标应用功能管理,其中,Based on the binding relationship established between the smart electronic cigarette and the electronic cigarette application APP, the target application function management of the smart electronic cigarette is performed through the electronic cigarette application APP, wherein:

所述目标应用功能包括:The target application functions include:

对所述智能电子烟进行加锁保护、查看所述智能电子烟的使用状态信息、按照需求对所述智能电子烟进行应用功能属性设置、对所述智能电子烟进行定位和追踪、与所述智能电子烟进行智能交互、对所述智能电子烟进行社交功能管理、对所述智能电子烟进行辅助功能参数设置,以及通过所述智能电子烟接打电话。Lock and protect the smart electronic cigarette, view the usage status information of the smart electronic cigarette, set the application function attributes of the smart electronic cigarette as needed, locate and track the smart electronic cigarette, interact with the smart electronic cigarette intelligently, manage the social functions of the smart electronic cigarette, set auxiliary function parameters of the smart electronic cigarette, and make and receive calls through the smart electronic cigarette.

优选地,所述基于所述电子烟智能模块的唯一标识码按照预设的绑定方式将所述智能电子烟与所述电子烟应用APP建立绑定关系包括: Preferably, the establishing of a binding relationship between the smart electronic cigarette and the electronic cigarette application APP in a preset binding manner based on the unique identification code of the electronic cigarette smart module includes:

通过所述电子烟应用APP获取所述电子烟智能模块的唯一标识码,其中,所述唯一标识码由全局唯一标识码和电子烟智能模块的产品生产信息按照预设的组合方式组合而成;Obtaining a unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP, wherein the unique identification code is composed of a global unique identification code and product production information of the electronic cigarette intelligent module in a preset combination mode;

通过所述电子烟应用APP判断所述电子烟智能模块的唯一标识码的合法性;Determine the legitimacy of the unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP;

当所述电子烟应用APP判断所述电子烟智能模块的唯一标识码合法,通过所述电子烟应用APP将所述电子烟应用APP的当前用户身份ID和所述唯一标识码采用预设的加解密算法进行加密,得到加密数据包,并将所述加密数据包发送至所述服务器;When the electronic cigarette application APP determines that the unique identification code of the electronic cigarette intelligent module is legal, the electronic cigarette application APP encrypts the current user ID of the electronic cigarette application APP and the unique identification code using a preset encryption and decryption algorithm to obtain an encrypted data packet, and sends the encrypted data packet to the server;

通过所述服务器采用预设的加解密算法对所述加密数据包进行解密,得到所述电子烟应用APP的当前用户身份ID和所述唯一标识码;The server uses a preset encryption and decryption algorithm to decrypt the encrypted data packet to obtain the current user ID and the unique identification code of the electronic cigarette application APP;

通过所述服务器进一步判断所述电子烟智能模块的唯一标识码的合法性;Further determining the legitimacy of the unique identification code of the electronic cigarette intelligent module through the server;

当所述服务器判断所述电子烟智能模块的唯一标识码合法,通过所述服务器获取所述唯一标识码的历史绑定信息;When the server determines that the unique identification code of the electronic cigarette intelligent module is legal, the historical binding information of the unique identification code is obtained through the server;

通过所述服务器基于所述电子烟应用APP的当前用户身份ID、所述唯一标识码和所述唯一标识码的历史绑定信息,按照预设的绑定流程建立所述电子烟应用APP的当前用户身份ID和所述唯一标识码之间的绑定关系。The server establishes a binding relationship between the current user identity ID of the electronic cigarette application APP and the unique identification code according to a preset binding process based on the current user identity ID of the electronic cigarette application APP, the unique identification code and the historical binding information of the unique identification code.

优选地,所述通过所述电子烟应用APP获取所述电子烟智能模块的唯一标识码包括:Preferably, the obtaining the unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP includes:

通过所述电子烟应用APP扫描所述智能电子烟外壳上的或所述智能电子烟的电子烟智能模块开机后在屏幕上显示的二维码或条形码,或者将所述智能电子烟外壳上的数字串或所述智能电子烟的电子烟智能模块开机后在屏幕上显示的数字串输入到所述电子烟应用APP中,得到所述电子烟智能模块的唯一标识码;Scan the QR code or barcode on the shell of the smart electronic cigarette or displayed on the screen after the smart module of the smart electronic cigarette is turned on through the electronic cigarette application APP, or input the digital string on the shell of the smart electronic cigarette or the digital string displayed on the screen after the smart module of the smart electronic cigarette is turned on into the electronic cigarette application APP to obtain the unique identification code of the electronic cigarette smart module;

或者or

在所述电子烟智能模块上电后,所述电子烟智能模块自动发出一个蓝牙连接标识信号,其中,所述蓝牙连接标识信号携带有所述电子烟智能模块的蓝牙连接标识符;After the electronic cigarette intelligent module is powered on, the electronic cigarette intelligent module automatically sends a Bluetooth connection identification signal, wherein the Bluetooth connection identification signal carries the Bluetooth connection identifier of the electronic cigarette intelligent module;

用户在安装有所述电子烟应用APP的智能终端上打开蓝牙连接开关;The user turns on the Bluetooth connection switch on the smart terminal installed with the electronic cigarette application APP;

用户在安装有所述电子烟应用APP的智能终端上搜索所述电子烟智能模块的蓝牙连接标识符,并发起连接和配对;The user searches for the Bluetooth connection identifier of the electronic cigarette smart module on the smart terminal installed with the electronic cigarette application APP, and initiates connection and pairing;

当所述电子烟应用APP与电子烟智能模块的蓝牙配对连接后,所述电子烟智能模块将内部储存的所述唯一标识码发送给所述电子烟应用APP。When the electronic cigarette application APP is paired with the electronic cigarette intelligent module via Bluetooth, the electronic cigarette intelligent module sends the unique identification code stored internally to the electronic cigarette application APP.

优选地,所述对所述智能电子烟进行加锁保护包括:Preferably, the locking and protecting of the smart electronic cigarette includes:

用户在所述电子烟应用APP上进入加锁保护功能页面,点击加锁保护按钮以启动 电子烟加锁保护功能,其中,在电子烟加锁保护功能开启时,所述智能电子烟的雾化器处于锁定状态;The user enters the lock protection function page on the electronic cigarette application APP and clicks the lock protection button to start The electronic cigarette locking protection function, wherein when the electronic cigarette locking protection function is turned on, the atomizer of the smart electronic cigarette is in a locked state;

所述电子烟应用APP监听是否接收到解锁请求;The electronic cigarette application APP monitors whether an unlock request is received;

当所述电子烟应用APP接收到解锁请求时,判断所述解锁请求携带的解锁信息是否满足预设条件;When the electronic cigarette application APP receives an unlock request, it determines whether the unlock information carried in the unlock request meets a preset condition;

当所述解锁请求携带的解锁信息满足预设条件时,所述电子烟应用APP发送解锁指令至所述电子烟智能模块;When the unlocking information carried by the unlocking request meets the preset conditions, the electronic cigarette application APP sends an unlocking instruction to the electronic cigarette intelligent module;

通过所述电子烟智能模块根据所述解锁指令生成电子烟启动触发信号,以控制所述智能电子烟的雾化器解锁进入正常工作模式。The electronic cigarette intelligent module generates an electronic cigarette start trigger signal according to the unlocking instruction to control the atomizer of the intelligent electronic cigarette to unlock and enter a normal working mode.

优选地,所述与所述智能电子烟进行智能交互包括在所述电子烟应用APP上发起智能问答的交互流程和在所述智能电子烟上发起智能问答的交互流程,其中,Preferably, the intelligent interaction with the smart electronic cigarette includes initiating an interactive process of intelligent question and answer on the electronic cigarette application APP and initiating an interactive process of intelligent question and answer on the smart electronic cigarette, wherein:

在所述电子烟应用APP上发起智能问答的交互流程如下:The interactive process of initiating intelligent question and answer on the electronic cigarette application APP is as follows:

用户在电子烟应用APP上进入智能问答交互页面,点击智能问答按钮以开启智能问答交互流程;The user enters the smart question and answer interaction page on the e-cigarette application APP and clicks the smart question and answer button to start the smart question and answer interaction process;

用户在电子烟应用APP上输入问题内容;The user enters the question content on the e-cigarette application APP;

电子烟应用APP对输入的问题内容进行预处理形成问题数据包,并将所述问题数据包发送至所述服务器;The electronic cigarette application APP pre-processes the input question content to form a question data packet, and sends the question data packet to the server;

服务器调用相应的人工智能模型对所述问题数据包进行分析处理得到应答数据包,并将所述应答数据包发送至电子烟应用APP;The server calls the corresponding artificial intelligence model to analyze and process the problem data packet to obtain a response data packet, and sends the response data packet to the electronic cigarette application APP;

电子烟应用APP对所述应答数据包进行解析得到问题答案,并将所述问题答案展示在所述智能问答交互页面上;The electronic cigarette application APP parses the response data packet to obtain the answer to the question, and displays the answer to the question on the intelligent question-answering interactive page;

在所述智能电子烟上发起智能问答的交互流程如下:The interactive process of initiating intelligent question and answer on the intelligent electronic cigarette is as follows:

建立电子烟应用APP与所述智能电子烟的电子烟智能模块之间的无线通信连接;Establishing a wireless communication connection between the electronic cigarette application APP and the electronic cigarette intelligent module of the intelligent electronic cigarette;

用户在智能电子烟的触控屏上点击智能问答按钮或按压智能电子烟上的智能问答物理按键,以开启智能问答流程;The user clicks the smart question and answer button on the touch screen of the smart electronic cigarette or presses the smart question and answer physical button on the smart electronic cigarette to start the smart question and answer process;

用户通过所述智能电子烟的人机交互模块输入问题内容;The user inputs the question content through the human-computer interaction module of the smart electronic cigarette;

智能电子烟的电子烟智能模块将输入的问题内容发送至电子烟应用APP;The electronic cigarette intelligent module of the smart electronic cigarette sends the input question content to the electronic cigarette application APP;

电子烟应用APP对所述问题内容进行预处理形成问题数据包,并将所述问题数据包发送至所述服务器;The electronic cigarette application APP pre-processes the problem content to form a problem data packet, and sends the problem data packet to the server;

服务器调用相应的人工智能模型对所述问题数据包进行分析处理得到应答数据包,并将所述应答数据包发送至电子烟应用APP; The server calls the corresponding artificial intelligence model to analyze and process the problem data packet to obtain a response data packet, and sends the response data packet to the electronic cigarette application APP;

电子烟应用APP对所述应答数据包进行解析得到问题答案,并将所述问题答案发送给所述电子烟智能模块,以通过所述电子烟智能模块展示所述问题答案。The electronic cigarette application APP parses the response data packet to obtain the answer to the question, and sends the answer to the electronic cigarette intelligent module to display the answer to the question through the electronic cigarette intelligent module.

优选地,所述对所述智能电子烟进行社交功能管理包括:Preferably, the social function management of the smart electronic cigarette includes:

共享吸烟地点:Shared smoking areas:

用户通过所述电子烟应用APP发布吸烟地点共享信息,其中,所述吸烟地点共享信息包括如下信息之一或任意组合:The user publishes the smoking location sharing information through the electronic cigarette application APP, wherein the smoking location sharing information includes one or any combination of the following information:

吸烟地点位置信息、开放时间、周边描述信息、吸烟地点照片、吸烟地点视频;Location information, opening hours, surrounding description information, photos and videos of smoking places;

好友设置:用户通过所述电子烟应用APP对好友功能进行个性化设置,其中所述个性化设置至少包括如下一项:Friend settings: Users personalize the friend function through the electronic cigarette application APP, where the personalized settings include at least one of the following:

是否愿意被别人添加好友;Are you willing to be added as a friend by others?

是否允许别人用手机号/用户名/吸食的电子烟类型/区域搜索方式添加好友;Whether to allow others to add friends by mobile phone number/user name/type of e-cigarette smoked/region search method;

朋友圈权限设置;Friends circle permission settings;

期待的好友属性设置,其中,所述好友属性包括年龄、性别、学历、电子烟爱好之一或任意组合;Expected friend attribute settings, wherein the friend attributes include one or any combination of age, gender, education level, and e-cigarette hobbies;

添加好友:用户通过在所述电子烟应用APP中输入目标好友的属性信息添加目标好友,其中,所述属性信息包括手机号、用户名、所在区域、兴趣爱好和爱好的电子烟的特征之一或任意组合;Adding friends: The user adds a target friend by inputting the target friend's attribute information in the electronic cigarette application APP, wherein the attribute information includes one or any combination of mobile phone number, user name, location, hobbies and favorite electronic cigarette characteristics;

线上会议预定:用户通过所述电子烟应用APP预定线上会议,并把预定会议的会议号和会议连接发给其他安装有所述电子烟应用APP的目标人员;Online meeting reservation: The user reserves an online meeting through the electronic cigarette application APP, and sends the meeting number and meeting link of the scheduled meeting to other target persons who have installed the electronic cigarette application APP;

文件共享:用户通过所述电子烟应用APP将待分享文件传输至目标对象或目标存储空间。File sharing: The user transfers the file to be shared to the target object or target storage space through the electronic cigarette application APP.

综上所述,本申请公开了一种基于电子烟的智能应用系统及其控制方法,其中,智能应用系统通过设置智能电子烟、服务器以及安装于智能终端的电子烟应用APP,智能电子烟通过增设电子烟智能模块和无线通信模块,并使电子烟智能模块通过无线通信模块与智能终端上的电子烟应用APP进行双向通信,电子烟应用APP通过公网与所述服务器通信连接,和/或电子烟智能模块通过无线通信模块接入公网以直接与服务器通信,且电子烟智能模块通过设置主控单元、人机交互单元和应用功能单元,有效扩展了传统电子烟的使用功能,使得电子烟功能多样化、智能化。In summary, the present application discloses an intelligent application system based on electronic cigarettes and a control method thereof, wherein the intelligent application system is configured by configuring an intelligent electronic cigarette, a server and an electronic cigarette application APP installed on an intelligent terminal; the intelligent electronic cigarette is configured by adding an electronic cigarette intelligent module and a wireless communication module, and the electronic cigarette intelligent module is enabled to perform two-way communication with the electronic cigarette application APP on the intelligent terminal through the wireless communication module; the electronic cigarette application APP is connected to the server through a public network, and/or the electronic cigarette intelligent module is connected to the public network through a wireless communication module to directly communicate with the server; and the electronic cigarette intelligent module is configured by configuring a main control unit, a human-computer interaction unit and an application function unit, thereby effectively expanding the use functions of traditional electronic cigarettes, making the electronic cigarette functions diversified and intelligent.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will describe the embodiments or the prior art. The drawings required for use in the technical description are briefly introduced. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1为本申请实施例中一种基于电子烟的智能应用系统的结构示意图;FIG1 is a schematic diagram of the structure of an electronic cigarette-based intelligent application system in an embodiment of the present application;

图2为本申请实施例中一种基于电子烟的智能应用系统的控制方法的流程示意图。FIG. 2 is a flow chart of a control method of an electronic cigarette-based intelligent application system in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为了使本领域的技术人员更好地理解本申请中的技术方案,下面将对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

在本申请所提供的实施例中,应该理解到,所揭露的方法和系统,可以通过其它的方式实现。以下所描述的系统实施例仅仅是示意性的,例如,单元和模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或模块可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the embodiments provided in the present application, it should be understood that the disclosed methods and systems can be implemented in other ways. The system embodiments described below are merely schematic. For example, the division of units and modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or modules can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

另外,在本申请各实施例中的各功能单元可以全部集成在一个处理器中,也可以是各单元分别单独作为一个器件,也可以两个或两个以上单元集成在一个器件中;本申请各实施例中的各功能单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, all functional units in the embodiments of the present application may be integrated into one processor, or each unit may be a separate device, or two or more units may be integrated into one device; each functional unit in the embodiments of the present application may be implemented in the form of hardware or in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现下述方法实施例的全部或部分步骤可以通过程序指令及相关的硬件来完成,前述的程序指令可以存储于计算机可读取存储介质中,该程序指令在执行时,执行包括下述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps of the following method embodiments can be accomplished by program instructions and related hardware. The aforementioned program instructions can be stored in a computer-readable storage medium. When the program instructions are executed, the steps of the following method embodiments are executed. The aforementioned storage medium includes various media that can store program codes, such as mobile storage devices, read-only memories (ROM), magnetic disks or optical disks.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多该特征。在本申请的描述中,“多个”、“若干个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "multiple" and "several" mean two or more, unless otherwise clearly and specifically defined.

如图1所示,本申请实施例提供一种基于电子烟的智能应用系统,包括智能电子 烟1、服务器2以及安装于智能终端100的电子烟应用APP3,智能电子烟1包括电子烟智能模块11和无线通信模块12;电子烟智能模块11通过无线通信模块12与智能终端100上的电子烟应用APP3进行双向通信,电子烟应用APP3通过公网与服务器2通信连接;和/或电子烟智能模块11通过无线通信模块12接入公网以直接与服务器2通信;其中,电子烟智能模块11包括主控单元111、人机交互单元112和应用功能单元113,人机交互单元112、应用功能单元113和无线通信模块12分别与主控单元111连接。As shown in FIG1 , the embodiment of the present application provides an intelligent application system based on an electronic cigarette, including an intelligent electronic The electronic cigarette 1, the server 2 and the electronic cigarette application APP3 installed on the smart terminal 100, the smart electronic cigarette 1 includes an electronic cigarette intelligent module 11 and a wireless communication module 12; the electronic cigarette intelligent module 11 performs two-way communication with the electronic cigarette application APP3 on the smart terminal 100 through the wireless communication module 12, and the electronic cigarette application APP3 is connected to the server 2 through the public network; and/or the electronic cigarette intelligent module 11 is connected to the public network through the wireless communication module 12 to directly communicate with the server 2; wherein the electronic cigarette intelligent module 11 includes a main control unit 111, a human-computer interaction unit 112 and an application function unit 113, and the human-computer interaction unit 112, the application function unit 113 and the wireless communication module 12 are respectively connected to the main control unit 111.

本实施例中,电子烟智能应用系统的工作原理如下:In this embodiment, the working principle of the electronic cigarette intelligent application system is as follows:

智能电子烟1通过电子烟智能模块11的人机交互单元112实现用户与智能电子烟1之间的人机交互,主控单元111接收人机交互单元112的输入信息并将其通过无线通信模块12传输至电子烟智能APP和/或服务器2,主控单元111还根据电子烟智能APP和/服务器2发送的指令控制人机交互模块展示相应信息,电子烟智能模块11通过无线通信模块12与智能终端100上的电子烟应用APP3进行双向通信,从而完成二者之间的数据交互,电子烟应用APP3与服务器2之间通过公网连接完成数据交互,智能电子烟1还可以通过无线通信模块12连接公网后与服务器2通信,实现智能电子烟1与服务器2之间的数据交互。The smart electronic cigarette 1 realizes human-computer interaction between the user and the smart electronic cigarette 1 through the human-computer interaction unit 112 of the electronic cigarette smart module 11. The main control unit 111 receives the input information of the human-computer interaction unit 112 and transmits it to the electronic cigarette smart APP and/or server 2 through the wireless communication module 12. The main control unit 111 also controls the human-computer interaction module to display corresponding information according to the instructions sent by the electronic cigarette smart APP and/or server 2. The electronic cigarette smart module 11 communicates bidirectionally with the electronic cigarette application APP3 on the smart terminal 100 through the wireless communication module 12, thereby completing the data interaction between the two. The electronic cigarette application APP3 and the server 2 complete the data interaction through the public network connection. The smart electronic cigarette 1 can also communicate with the server 2 after connecting to the public network through the wireless communication module 12, thereby realizing the data interaction between the smart electronic cigarette 1 and the server 2.

本实施例的电子烟智能应用系统通过设置智能电子烟1、服务器2以及安装于智能终端100的电子烟应用APP3,智能电子烟1通过增设电子烟智能模块11和无线通信模块12,并使电子烟智能模块11通过无线通信模块12与智能终端100上的电子烟应用APP3进行双向通信,电子烟应用APP3通过公网与所述服务器2通信连接,和/或电子烟智能模块11通过无线通信模块12接入公网以直接与服务器2通信,且电子烟智能模块11通过设置主控单元111、人机交互单元112和应用功能单元113,本实施例的电子烟智能系统通过智能电子烟1、服务器2以及安装于智能终端100的电子烟应用APP3之间的数据交互,配合相应软件程序,可以使电子烟实现闹钟、秒表、查天气、运动计步、健康监测、智能问答、社交等功能,有效扩展了传统电子烟的使用功能,使得电子烟功能多样化、智能化。The electronic cigarette intelligent application system of this embodiment is provided with an intelligent electronic cigarette 1, a server 2 and an electronic cigarette application APP3 installed on the intelligent terminal 100. The intelligent electronic cigarette 1 is provided with an electronic cigarette intelligent module 11 and a wireless communication module 12, and the electronic cigarette intelligent module 11 is enabled to communicate bidirectionally with the electronic cigarette application APP3 on the intelligent terminal 100 through the wireless communication module 12. The electronic cigarette application APP3 is connected to the server 2 through a public network, and/or the electronic cigarette intelligent module 11 is connected to the public network through the wireless communication module 12 to directly communicate with the server 2. The electronic cigarette intelligent module 11 is provided with a main control unit 111, a human-computer interaction unit 112 and an application function unit 113. The electronic cigarette intelligent system of this embodiment can realize the functions of alarm clock, stopwatch, weather check, sports step counting, health monitoring, intelligent question and answer, social networking, etc. through data interaction among the intelligent electronic cigarette 1, the server 2 and the electronic cigarette application APP3 installed on the intelligent terminal 100, in conjunction with the corresponding software program, so as to effectively expand the use functions of traditional electronic cigarettes and make the electronic cigarette functions diversified and intelligent.

具体地,本申请的电子烟智能模块11可以通过如下两种方式与传统电子烟进行集成得到本申请的智能电子烟1:Specifically, the electronic cigarette intelligent module 11 of the present application can be integrated with the traditional electronic cigarette in the following two ways to obtain the intelligent electronic cigarette 1 of the present application:

集成方式1:在传统电子烟的主板上,增加电子烟智能模块11所需的主控单元111、人机交互单元112和应用功能单元113等功能单元/器件,以满足本申请所述的闹钟、秒表、查天气、运动计步、健康监测、智能问答、社交等功能的需求。 Integration method 1: On the main board of the traditional electronic cigarette, functional units/devices such as the main control unit 111, the human-computer interaction unit 112 and the application function unit 113 required by the electronic cigarette intelligent module 11 are added to meet the requirements of the alarm clock, stopwatch, weather check, sports pedometer, health monitoring, intelligent question and answer, social networking and other functions described in this application.

集成方式2:电子烟智能模块11采用相对独立的组装方式,其内部有实现本申请所述功能的主控单元111、人机交互单元112和应用功能单元113等功能单元/器件,在设计电子烟外壳时给电子烟智能模块11留下一定的空间和接口,电子烟智能模块11插入该空间即可,它与原电子烟设备的工作相对独立,互不干扰。Integration method 2: The electronic cigarette intelligent module 11 adopts a relatively independent assembly method, and has functional units/devices such as the main control unit 111, the human-computer interaction unit 112 and the application function unit 113 that realize the functions described in this application. When designing the electronic cigarette shell, a certain space and interface are left for the electronic cigarette intelligent module 11. The electronic cigarette intelligent module 11 can be inserted into the space. It is relatively independent of the original electronic cigarette device and does not interfere with each other.

当然,为减少电子烟设备的重量和降低成本,电子烟智能模块11与原电子烟设备可以共用电池,也可以共用主板。Of course, in order to reduce the weight of the electronic cigarette device and reduce the cost, the electronic cigarette intelligent module 11 and the original electronic cigarette device can share a battery and a motherboard.

具体地,本实施例中的主控单元111采用ARM芯片,它具备数字运算能力,可以被编程写入程序,通过控制其他外设来完成各种任务,该主控芯片能以外设的方式集成传统电子烟的控制电路,以控制电子烟的吸食开关、每次吸食的出油量等参数。Specifically, the main control unit 111 in this embodiment adopts an ARM chip, which has digital computing capabilities and can be programmed to complete various tasks by controlling other peripherals. The main control chip can integrate the control circuit of the traditional electronic cigarette in the form of a peripheral to control the electronic cigarette's inhalation switch, the amount of oil produced each time, and other parameters.

具体地,在本实施例中,应用功能单元113包括图像采集模块1131、指纹采集模块1132、NFC模块1133、测距模块1134、陀螺仪1135、定位模块1136、震动马达1137、霍尔传感器1138和磁铁、健康监测模块1130以及存储器1139之一或任意组合,图像采集模块1131、指纹采集模块1132、NFC模块1133、测距模块1134、陀螺仪1135、定位模块1136、震动马达1137、霍尔传感器1138、健康监测模块1130和存储器1139分别与主控单元111连接。Specifically, in this embodiment, the application function unit 113 includes one or any combination of an image acquisition module 1131, a fingerprint acquisition module 1132, an NFC module 1133, a ranging module 1134, a gyroscope 1135, a positioning module 1136, a vibration motor 1137, a Hall sensor 1138 and a magnet, a health monitoring module 1130 and a memory 1139, and the image acquisition module 1131, the fingerprint acquisition module 1132, the NFC module 1133, the ranging module 1134, the gyroscope 1135, the positioning module 1136, the vibration motor 1137, the Hall sensor 1138, the health monitoring module 1130 and the memory 1139 are respectively connected to the main control unit 111.

本实施例中,应用功能单元113的各功能模块的相应作用介绍如下:In this embodiment, the corresponding functions of each functional module of the application function unit 113 are introduced as follows:

图像采集模块1131:用于采集图像或视频,辅助实现拍摄照片、拍摄视频、视频通话、人脸识别解锁电子烟吸食开关等功能,图像采集模块1131采用微型摄像头;Image acquisition module 1131: used to acquire images or videos, and assist in realizing functions such as taking photos, taking videos, video calls, and unlocking the electronic cigarette inhalation switch by face recognition. The image acquisition module 1131 uses a micro camera;

指纹采集模块1132:用于采集指纹,以实现指纹加锁保护,避免其他人吸食用自己的电子烟;Fingerprint collection module 1132: used to collect fingerprints to implement fingerprint locking protection to prevent others from smoking your electronic cigarette;

NFC模块1133:用于使电子烟实现NFC支付功能(如刷公交卡、地铁卡等);NFC module 1133: used to enable the electronic cigarette to realize NFC payment function (such as swiping bus cards, subway cards, etc.);

测距模块1134:用于使电子烟实现测距功能,测距模块1134具体可采用TOF传感器或超声波传感器;Distance measuring module 1134: used to enable the electronic cigarette to realize distance measuring function. Distance measuring module 1134 can specifically adopt TOF sensor or ultrasonic sensor;

陀螺仪1135:用于使电子烟实现运动计步、姿态检测等功能;Gyroscope 1135: used to enable the electronic cigarette to realize functions such as step counting and posture detection;

定位模块1136:用于使电子烟实现定位功能,定位模块1136具体可采用GPS模块;Positioning module 1136: used to enable the electronic cigarette to realize the positioning function. The positioning module 1136 can specifically adopt a GPS module;

震动马达1137:用于使电子烟实现震动功能,在用户处于开会或其他不便发出声音的场合中,通过震动模式提醒用户;Vibration motor 1137: used to enable the electronic cigarette to achieve the vibration function, and to remind the user through the vibration mode when the user is in a meeting or other occasions where it is inconvenient to make a sound;

霍尔传感器1138和磁铁:用于使电子烟实现检测另一个近距离的电子烟的存在与否的功能。Hall sensor 1138 and magnet: used to enable the electronic cigarette to detect the presence or absence of another electronic cigarette at a close distance.

存储器1139:用于使电子烟能够存储较多的数据,存储器1139具体可以采用NOR  Flash闪存、NAND Flash闪存、TF(Trans-flash Card)卡或SD(Secure Digital Memory Card)卡。Memory 1139: used to enable the electronic cigarette to store more data. Memory 1139 can specifically use NOR Flash memory, NAND Flash memory, TF (Trans-flash Card) card or SD (Secure Digital Memory Card) card.

健康监测模块1130:用于检测电子烟使用者的体征参数。具体地,所述健康监测模块包括心率传感器、血压传感器和血氧传感器,通过心率传感器、血压传感器和血氧传感器分别检测用户心率、血压和血氧,方便电子烟使用者可以监测自身的一些身体健康参数。Health monitoring module 1130: used to detect the physical parameters of the electronic cigarette user. Specifically, the health monitoring module includes a heart rate sensor, a blood pressure sensor and a blood oxygen sensor, which detect the user's heart rate, blood pressure and blood oxygen respectively, so that the electronic cigarette user can monitor some of his own physical health parameters.

具体地,在本实施例中,无线通信模块12包括蓝牙芯片121、WiFi芯片122、移动通信器件123和卫星通信器件124之一或任意组合,蓝牙芯片121、WiFi芯片122、移动通信器件123和卫星通信器件124分别与主控单元111连接。Specifically, in this embodiment, the wireless communication module 12 includes one or any combination of a Bluetooth chip 121, a WiFi chip 122, a mobile communication device 123 and a satellite communication device 124, and the Bluetooth chip 121, the WiFi chip 122, the mobile communication device 123 and the satellite communication device 124 are respectively connected to the main control unit 111.

本实施例中,无线通信模块12的各通信芯片/器件的相应作用介绍如下:In this embodiment, the corresponding functions of each communication chip/device of the wireless communication module 12 are described as follows:

蓝牙芯片121:用于使电子烟方便地与安装有电子烟应用APP3的智能终端100(如手机、平板电脑、笔记本电脑等)通讯;Bluetooth chip 121: used to enable the electronic cigarette to conveniently communicate with the smart terminal 100 (such as a mobile phone, tablet computer, laptop computer, etc.) installed with the electronic cigarette application APP3;

WiFi芯片122:用于使电子烟能够依赖于附近的智能终端100(如手机、平板电脑、笔记本电脑等)的WiFi热点或附近的无线路由器的中转来连接互联网时;WiFi chip 122: used to enable the electronic cigarette to connect to the Internet by relying on the WiFi hotspot of a nearby smart terminal 100 (such as a mobile phone, tablet computer, laptop computer, etc.) or the relay of a nearby wireless router;

移动通信器件123:用于使电子烟能够直连移动通信基站,从而使得电子在远离智能终端100时也能够连接互联网,移动通信器件123具体可采用2G通信器件、3G通信器件、4G通信器件、5G通信器件等;Mobile communication device 123: used to enable the electronic cigarette to directly connect to the mobile communication base station, so that the electronic cigarette can also connect to the Internet when it is far away from the smart terminal 100. The mobile communication device 123 can specifically adopt a 2G communication device, a 3G communication device, a 4G communication device, a 5G communication device, etc.;

卫星通信器件124:用于使电子烟在远离智能终端100和移动通信基站时也能接入公用通信网络,实现应急通信。Satellite communication device 124: used to enable the electronic cigarette to access the public communication network when it is far away from the smart terminal 100 and the mobile communication base station to achieve emergency communication.

具体地,在本实施例中,人机交互单元112包括触控屏1121、拾音器1122、扬声器1123和耳机接口1124,触控屏1121、拾音器1122、扬声器1123和耳机接口1124分别与主控单元111连接。Specifically, in this embodiment, the human-computer interaction unit 112 includes a touch screen 1121 , a microphone 1122 , a speaker 1123 and an earphone interface 1124 , and the touch screen 1121 , the microphone 1122 , the speaker 1123 and the earphone interface 1124 are respectively connected to the main control unit 111 .

上述人机交互单元112中的触控屏1121、拾音器1122和扬声器1123的功能属于现有技术,在此不再赘述。耳机接口1124可以供用户插接有线耳机。The functions of the touch screen 1121, the microphone 1122 and the speaker 1123 in the human-computer interaction unit 112 are known in the art and will not be described in detail herein. The earphone interface 1124 can be used by the user to plug in wired earphones.

需要说明的是,智能电子烟1还可以通过无线通信模块12连接无线耳机(如蓝牙耳机)。It should be noted that the smart electronic cigarette 1 can also be connected to a wireless headset (such as a Bluetooth headset) through the wireless communication module 12.

如图2所示,本申请实施例提供一种基于电子烟的智能应用系统的控制方法,该控制方法基于上述任一实施例的电子烟智能应用系统实现,该控制方法包括如下步骤:As shown in FIG. 2 , an embodiment of the present application provides a control method based on an intelligent application system of an electronic cigarette. The control method is implemented based on the intelligent application system of an electronic cigarette in any of the above embodiments. The control method includes the following steps:

S1,基于电子烟智能模块的唯一标识码按照预设的绑定方式将智能电子烟与电子烟应用APP建立绑定关系;S1, establishing a binding relationship between the smart electronic cigarette and the electronic cigarette application APP according to a preset binding method based on the unique identification code of the electronic cigarette smart module;

S2,基于智能电子烟与电子烟应用APP之间建立的绑定关系,通过电子烟应用APP 对智能电子烟进行目标应用功能管理,其中,S2, based on the binding relationship established between the smart electronic cigarette and the electronic cigarette application APP, through the electronic cigarette application APP Manage the target application functions of smart electronic cigarettes, including:

目标应用功能包括:Target application functions include:

对智能电子烟进行加锁保护、查看智能电子烟的使用状态信息、按照需求对智能电子烟进行应用功能属性设置、对智能电子烟进行定位和追踪、与智能电子烟进行智能交互、对智能电子烟进行社交功能管理、对智能电子烟进行辅助功能参数设置,以及通过智能电子烟接打电话。Lock and protect smart electronic cigarettes, view the usage status information of smart electronic cigarettes, set the application function attributes of smart electronic cigarettes as needed, locate and track smart electronic cigarettes, interact with smart electronic cigarettes intelligently, manage the social functions of smart electronic cigarettes, set auxiliary function parameters of smart electronic cigarettes, and make and receive calls through smart electronic cigarettes.

需要说明的是,要实现智能电子烟与电子烟应用APP之间的绑定,首先需要在智能终端能上安装电子烟应用APP和在APP上注册用户ID,其流程如下:It should be noted that to achieve the binding between the smart e-cigarette and the e-cigarette application APP, you first need to install the e-cigarette application APP on the smart terminal and register the user ID on the APP. The process is as follows:

1、APP下载与安装1. APP download and installation

用户在智能终端上使用浏览器打开指定网页地址(该地址可以是张贴于电子烟上的二维码或印刷于电子烟上的明文地址或者是电子烟屏幕上呈现的二维码),或者在应用商店(如谷歌应用商店、苹果应用商店、微软应用商店、小米应用商店等)里搜索APP,或者搜索APP运营方的官网,都可以下载APP,然后进行安装。Users can use a browser on a smart terminal to open a specified web address (the address can be a QR code posted on the e-cigarette or a plain text address printed on the e-cigarette, or a QR code displayed on the screen of the e-cigarette), or search for the APP in an app store (such as Google App Store, Apple App Store, Microsoft App Store, Xiaomi App Store, etc.), or search for the official website of the APP operator, and then download the APP and install it.

2、用户注册与登录2. User registration and login

用户首次打开APP时,APP会提醒用户进行注册。When a user opens the APP for the first time, the APP will remind the user to register.

用户注册时,可以使用多种方式进行注册,包括但不限于:手机号+短信验证码+密码、邮箱+验证码+密码、用户名+密码、第三方间接注册(如用微信扫码注册)等方式。有时候,这些方式可以组合起来,比如在使用用户名+密码注册时,可以要求用户输入手机号和短信验证码来进一步确认用户的身份。APP也提供基于人脸识别的注册功能,在获得用户同意的情况下,可以使用人脸识别叠加手机号或邮箱的方式进行注册。When users register, they can use a variety of methods to register, including but not limited to: mobile phone number + SMS verification code + password, email + verification code + password, username + password, third-party indirect registration (such as registering by scanning a WeChat code), etc. Sometimes, these methods can be combined. For example, when registering with a username + password, the user can be required to enter a mobile phone number and SMS verification code to further confirm the user's identity. The APP also provides a registration function based on face recognition. With the user's consent, face recognition can be used to superimpose a mobile phone number or email address for registration.

用户登录时,可以使用多种方式进行登录,包括但不限于:手机号+短信、手机号+密码、邮箱+密码、用户名+密码、人脸识别、第三方间接登录等方式。有时候,这些方式可以组合起来使用,比如检测到登录环境有异常时,在使用用户名+密码登录时,还会验证用户的手机号,以增强安全性。When users log in, they can use a variety of methods, including but not limited to: mobile phone number + SMS, mobile phone number + password, email + password, username + password, face recognition, third-party indirect login, etc. Sometimes, these methods can be used in combination. For example, when an abnormality is detected in the login environment, when using username + password to log in, the user's mobile phone number will also be verified to enhance security.

3、用户修改密码和重置密码3. User changes and resets password

用户在修改密码时,需要输入旧密码以进行验证。如果检测到环境有异常,则需要输入手机号和短信验证码进行验证,也可以输入邮箱和邮箱验证码进行验证,也可以在获得用户同意后使用人脸识别进行验证,验证成功后才可以修改密码。When changing the password, the user needs to enter the old password for verification. If an abnormality is detected in the environment, the user needs to enter the mobile phone number and SMS verification code for verification, or enter the email address and email verification code for verification, or use face recognition for verification after obtaining the user's consent. The password can only be changed after successful verification.

用户在忘记密码时需要重置密码,输入手机号和短信验证码进行验证,也可以输入邮箱和邮箱验证码进行验证,也可以在获得用户同意后使用人脸识别进行验证,验 证成功后可以重置密码。When a user forgets his password, he needs to reset it and enter his mobile phone number and SMS verification code for verification. He can also enter his email address and email verification code for verification. He can also use face recognition for verification after obtaining the user's consent. You can reset your password after successful authentication.

在一个实施例中,步骤S1中,基于电子烟智能模块的唯一标识码按照预设的绑定方式将智能电子烟与电子烟应用APP建立绑定关系包括:In one embodiment, in step S1, establishing a binding relationship between the smart electronic cigarette and the electronic cigarette application APP according to a preset binding method based on the unique identification code of the electronic cigarette smart module includes:

A1,通过电子烟应用APP获取电子烟智能模块的唯一标识码,其中,唯一标识码由全局唯一标识码GUID和电子烟智能模块的产品生产信息(如生产商标识、电子烟智能模块的序列号等)按照预设的组合方式组合而成;具体地,根据不同保密程度的要求,可以对这个唯一标识码进行加密(可以采用如AES、RSA等加密算法),只有该电子烟应用APP或授权方才能解密。A1. Obtain the unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP, where the unique identification code is composed of the global unique identification code GUID and the product production information of the electronic cigarette intelligent module (such as manufacturer identification, serial number of the electronic cigarette intelligent module, etc.) according to a preset combination method; specifically, according to different confidentiality requirements, this unique identification code can be encrypted (encryption algorithms such as AES and RSA can be used), and only the electronic cigarette application APP or authorized party can decrypt it.

A2,通过电子烟应用APP判断电子烟智能模块的唯一标识码的合法性;具体地,此步骤中,不合法的表现有:格式不正确、校验码(可以采用奇偶校验、CRC校验等)错误等现象,若不合法,则弹出窗体提醒用户。A2, determine the legitimacy of the unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP; specifically, in this step, illegal manifestations include: incorrect format, error in check code (parity check, CRC check, etc.) and other phenomena. If it is illegal, a window will pop up to remind the user.

A3,当电子烟应用APP判断电子烟智能模块的唯一标识码合法,通过电子烟应用APP将电子烟应用APP的当前用户身份ID和唯一标识码采用预设的加解密算法进行加密,得到加密数据包,并将加密数据包发送至服务器;A3, when the electronic cigarette application APP determines that the unique identification code of the electronic cigarette intelligent module is legal, the electronic cigarette application APP encrypts the current user ID and the unique identification code of the electronic cigarette application APP using a preset encryption and decryption algorithm to obtain an encrypted data packet, and sends the encrypted data packet to the server;

A4,通过服务器采用预设的加解密算法对加密数据包进行解密,得到电子烟应用APP的当前用户身份ID和唯一标识码;A4, decrypt the encrypted data packet using a preset encryption and decryption algorithm through the server to obtain the current user ID and unique identification code of the electronic cigarette application APP;

通过服务器进一步判断电子烟智能模块的唯一标识码的合法性;具体地,次步骤中,不合法的表现有:唯一标识码里的厂商有关信息错误等,若不合法,则弹出窗体提醒用户,流程中止。The legitimacy of the unique identification code of the electronic cigarette smart module is further determined by the server; specifically, in this step, illegal performance includes: incorrect manufacturer-related information in the unique identification code, etc. If it is illegal, a window will pop up to remind the user and the process will be terminated.

A5,当服务器判断电子烟智能模块的唯一标识码合法,通过服务器获取唯一标识码的历史绑定信息;具体地,服务器可以通过在自身数据库查询该唯一标识码是否已经被绑定过,得到该唯一标识码的历史绑定信息。通过服务器基于电子烟应用APP的当前用户身份ID、唯一标识码和唯一标识码的历史绑定信息,按照预设的绑定流程建立电子烟应用APP的当前用户身份ID和唯一标识码之间的绑定关系。A5, when the server determines that the unique identification code of the electronic cigarette intelligent module is legal, the server obtains the historical binding information of the unique identification code; specifically, the server can obtain the historical binding information of the unique identification code by querying its own database to see whether the unique identification code has been bound. The server establishes the binding relationship between the current user identity ID of the electronic cigarette application APP and the unique identification code according to the preset binding process based on the current user identity ID, the unique identification code and the historical binding information of the unique identification code of the electronic cigarette application APP.

具体地,该唯一标识码的历史绑定信息有几种可能性:①尚未被绑定过;②已经被当前用户绑定;③已经被其他用户绑定;④被当前用户绑定过但已经解绑;⑤被其他用户绑定过但已经解绑。Specifically, there are several possibilities for the historical binding information of the unique identification code: ① not yet bound; ② already bound by the current user; ③ already bound by other users; ④ bound by the current user but unbound; ⑤ bound by other users but unbound.

对于②,APP提示用户已经绑定过该电子烟智能模块,无需多次绑定,流程结束。对于③,APP提示用户该电子烟智能模块已经被他人绑定,流程结束。对于④,APP提示用户重新绑定成功,流程结束。对于⑤,APP提示用户绑定成功,但该电子烟智能模块曾经被其他用户绑定过,流程结束。对于①,流程进入下一步,即如果厂商信 息正确,则根据相关配置(例如,是否需要关联生产商进行检查),服务器可能会进一步申请访问指定厂商的数据库,以确认该唯一标识码是否是该厂商发布的,若查询结果表明该唯一标识码是该厂商发布的且该厂商并未发出特定通知(如厂商发现该电子烟智能模块所在批次出现重大故障,需要召回或建议停用),则在数据库里,将当前电子烟智能模块的唯一标识码绑定到当前用户名下,流程结束,否则弹出窗体提醒用户,流程中止。这一步骤可以有效地防止冒牌货,维护厂商的利益和用户的权益,也可以帮助厂商及时处理有问题的产品批次。For ②, the APP prompts the user that the electronic cigarette smart module has been bound before, and there is no need to bind multiple times, and the process ends. For ③, the APP prompts the user that the electronic cigarette smart module has been bound by others, and the process ends. For ④, the APP prompts the user that the re-binding is successful, and the process ends. For ⑤, the APP prompts the user that the binding is successful, but the electronic cigarette smart module has been bound by other users, and the process ends. For ①, the process enters the next step, that is, if the manufacturer believes that If the information is correct, then according to the relevant configuration (for example, whether the associated manufacturer needs to be checked), the server may further apply to access the database of the specified manufacturer to confirm whether the unique identification code is issued by the manufacturer. If the query result shows that the unique identification code is issued by the manufacturer and the manufacturer has not issued a specific notification (such as the manufacturer finds that the batch of the electronic cigarette smart module has a major fault and needs to be recalled or recommended to be discontinued), then in the database, the unique identification code of the current electronic cigarette smart module is bound to the current user name, and the process ends. Otherwise, a window pops up to remind the user and the process is terminated. This step can effectively prevent counterfeits, safeguard the interests of manufacturers and users, and help manufacturers deal with problematic product batches in a timely manner.

在一个实施例中,通过电子烟应用APP获取电子烟智能模块的唯一标识码可以采用如下两种方式之一:In one embodiment, the unique identification code of the electronic cigarette intelligent module can be obtained through the electronic cigarette application APP in one of the following two ways:

方式1:Method 1:

通过电子烟应用APP扫描智能电子烟外壳上的或智能电子烟的电子烟智能模块开机后在屏幕上显示的二维码或条形码,或者将智能电子烟外壳上的数字串或智能电子烟的电子烟智能模块开机后在屏幕上显示的数字串输入到电子烟应用APP中,得到电子烟智能模块的唯一标识码。Scan the QR code or barcode on the smart electronic cigarette shell or displayed on the screen after the smart electronic cigarette smart module of the smart electronic cigarette is turned on through the electronic cigarette application APP, or input the digital string on the smart electronic cigarette shell or the digital string displayed on the screen after the smart electronic cigarette smart module of the smart electronic cigarette is turned on into the electronic cigarette application APP to obtain the unique identification code of the electronic cigarette smart module.

方式2:Method 2:

B1,在电子烟智能模块上电后,电子烟智能模块自动发出一个蓝牙连接标识信号,其中,蓝牙连接标识信号携带有电子烟智能模块的蓝牙连接标识符;B1, after the electronic cigarette intelligent module is powered on, the electronic cigarette intelligent module automatically sends a Bluetooth connection identification signal, wherein the Bluetooth connection identification signal carries the Bluetooth connection identifier of the electronic cigarette intelligent module;

B2,用户在安装有电子烟应用APP的智能终端上打开蓝牙连接开关;B2, the user turns on the Bluetooth connection switch on the smart terminal installed with the e-cigarette application APP;

B3,用户在安装有电子烟应用APP的智能终端上搜索电子烟智能模块的蓝牙连接标识符,并发起连接和配对;B3, the user searches for the Bluetooth connection identifier of the electronic cigarette smart module on the smart terminal installed with the electronic cigarette application APP, and initiates connection and pairing;

B4,当电子烟应用APP与电子烟智能模块的蓝牙配对连接后,电子烟智能模块将内部储存的唯一标识码发送给电子烟应用APP。B4, when the electronic cigarette application APP is paired with the electronic cigarette intelligent module via Bluetooth, the electronic cigarette intelligent module sends the unique identification code stored internally to the electronic cigarette application APP.

在一个实施例中,步骤S2中,对智能电子烟进行加锁保护包括:In one embodiment, in step S2, locking the smart electronic cigarette for protection includes:

C1,用户在电子烟应用APP上进入加锁保护功能页面,点击加锁保护按钮以启动电子烟加锁保护功能,其中,在电子烟加锁保护功能开启时,智能电子烟的雾化器处于锁定状态;具体地,用户可以采用如下加锁方式之一对智能电子烟进行加锁保护:C1. The user enters the lock protection function page on the electronic cigarette application APP and clicks the lock protection button to start the electronic cigarette lock protection function. When the electronic cigarette lock protection function is turned on, the atomizer of the smart electronic cigarette is in a locked state; specifically, the user can use one of the following locking methods to lock the smart electronic cigarette:

1、如果电子烟智能模块配备了触控屏,那么可以在APP上或在电子烟智能模块的触控屏上设置数字密码或图案密码,一旦设置密码,用户在吸食电子烟前就必须在电子烟智能模块触控屏上输入正确的密码;1. If the electronic cigarette smart module is equipped with a touch screen, a digital password or pattern password can be set on the APP or on the touch screen of the electronic cigarette smart module. Once the password is set, the user must enter the correct password on the touch screen of the electronic cigarette smart module before smoking the electronic cigarette;

2、如果电子烟智能模块配备了图像采集模块(即摄像头),那么可以在APP上或在电子烟智能模块上设置人脸识别保护,然后启动电子烟智能模块上的摄像头,录入 人脸以收集人脸特征并保存,下次用户在吸食电子烟前,就必须在电子烟智能模块的摄像头上采集人脸数据,匹配成功后,才能吸食;2. If the electronic cigarette smart module is equipped with an image acquisition module (i.e. camera), you can set up face recognition protection on the APP or on the electronic cigarette smart module, then start the camera on the electronic cigarette smart module and record the face recognition information. The face is used to collect and save facial features. The next time the user smokes the e-cigarette, he must collect facial data on the camera of the e-cigarette smart module. Only after the match is successful can he smoke;

3、如果电子烟智能模块配备了指纹采集模块,那么可以在APP上或电子烟智能模块上设置指纹保护,然后启动电子烟智能模块上的指纹采集模块,录入指纹以收集指纹特征并保存,下次用户在吸食电子烟前,就必须在电子烟智能模块的指纹采集模块上采集指纹数据,匹配成功后,才能吸食;3. If the electronic cigarette smart module is equipped with a fingerprint collection module, you can set up fingerprint protection on the APP or on the electronic cigarette smart module, then start the fingerprint collection module on the electronic cigarette smart module, enter the fingerprint to collect fingerprint features and save them. The next time the user smokes the electronic cigarette, he must collect fingerprint data on the fingerprint collection module of the electronic cigarette smart module. Only after the match is successful can he smoke;

4、如果电子烟智能模块没有配备触控屏、图像采集模块和指纹采集模块,那么可以在APP上设定禁止使用开关,一旦启动该开关,那么电子烟就无法吸食,除非用户在APP上关闭该开关。4. If the electronic cigarette intelligent module is not equipped with a touch screen, image acquisition module and fingerprint acquisition module, a prohibition switch can be set on the APP. Once the switch is activated, the electronic cigarette cannot be smoked unless the user turns off the switch on the APP.

C2,电子烟应用APP监听是否接收到解锁请求;具体地,解锁请求可以是在APP上发起,也可以是在电子烟智能模块上发起,例如,当用户采用的加锁保护方式为人脸识别保护,那么,用户可以通过在APP或电子烟智能模块上采集人脸图像来发送解锁请求。C2, the electronic cigarette application APP monitors whether an unlock request is received; specifically, the unlock request can be initiated on the APP or on the electronic cigarette intelligent module. For example, when the user adopts face recognition protection as the locking protection method, the user can send an unlock request by collecting a face image on the APP or the electronic cigarette intelligent module.

C3,当电子烟应用APP接收到解锁请求时,判断解锁请求携带的解锁信息是否满足预设条件;具体地,解锁请求携带的解锁信息可以是通过指纹采集模块输入的指纹、通过图像采集模块输入的人脸图像或通过APP输入的解锁图案等,APP将解锁信息和预设的加锁加锁信息进行比较,如果解锁信息和加锁信息能匹配上(例如加锁信息为用户人脸图像,解锁信息为同一用户输入的人脸图像),则表明解锁信息满足预设条件。C3, when the electronic cigarette application APP receives an unlock request, it determines whether the unlock information carried in the unlock request meets the preset conditions; specifically, the unlock information carried in the unlock request can be a fingerprint input through a fingerprint acquisition module, a face image input through an image acquisition module, or an unlock pattern input through the APP, etc. The APP compares the unlock information with the preset lock information. If the unlock information and the lock information match (for example, the lock information is a user's face image, and the unlock information is a face image input by the same user), it indicates that the unlock information meets the preset conditions.

C4,当解锁请求携带的解锁信息满足预设条件时,电子烟应用APP发送解锁指令至电子烟智能模块;C4, when the unlocking information carried by the unlocking request meets the preset conditions, the electronic cigarette application APP sends an unlocking instruction to the electronic cigarette intelligent module;

C5,通过电子烟智能模块根据解锁指令生成电子烟启动触发信号,以控制智能电子烟的雾化器解锁进入正常工作模式。C5, the electronic cigarette intelligent module generates an electronic cigarette start trigger signal according to the unlocking instruction to control the atomizer of the intelligent electronic cigarette to unlock and enter the normal working mode.

通过加锁保护,能够有效避免儿童或他人吸食自己的电子烟。Locking protection can effectively prevent children or others from inhaling your e-cigarettes.

在一个实施例中,步骤S2中,与智能电子烟进行智能交互包括在电子烟应用APP上发起智能问答的交互流程和在智能电子烟上发起智能问答的交互流程。In one embodiment, in step S2, the intelligent interaction with the smart electronic cigarette includes initiating an interactive process of intelligent question and answer on the electronic cigarette application APP and initiating an interactive process of intelligent question and answer on the smart electronic cigarette.

具体地,在电子烟应用APP上发起智能问答的交互流程如下:Specifically, the interactive process of initiating intelligent question and answer on the e-cigarette application APP is as follows:

D1,用户在电子烟应用APP上进入智能问答交互页面,点击智能问答按钮以开启智能问答交互流程;D1, the user enters the smart question and answer interaction page on the e-cigarette application APP and clicks the smart question and answer button to start the smart question and answer interaction process;

D2,用户在电子烟应用APP上输入问题内容;具体地,用户可以采用如下方式之一输入问题内容: D2, the user enters the question content on the electronic cigarette application APP; specifically, the user can enter the question content in one of the following ways:

①在APP的键盘上用纯本文输入;②在APP上导入图片或语音文件或视频文件作为问题输入;③在APP上按下录音按钮,录下用户嘴巴发出的提问作为输入;④在APP上按下录像按钮,录下周边的视频作为输入;⑤这些方式的组合,例如导入图片后,发出一些文本作为问题说明。① Input pure text on the APP keyboard; ② Import pictures, voice files or video files on the APP as question input; ③ Press the record button on the APP to record the questions asked by the user as input; ④ Press the record button on the APP to record the surrounding video as input; ⑤ A combination of these methods, such as importing pictures and then sending some text as question instructions.

D3,电子烟应用APP对输入的问题内容进行预处理形成问题数据包,并将问题数据包发送至服务器;具体地,所述预处理可以是对问题内容的数据进行压缩、加密等。对于问题数据包的发送,这里有两种发送方式:①如果用户使用的是APP运营方的API接口,那么APP将数据包发给APP运营方的服务器,该服务器再将数据包转发给人工智能服务基础设施提供方;②如果用户使用的是用户自行从人工智能服务基础设施提供方拿到的API接口,那么APP将数据包发给人工智能服务基础设施提供方。不过,为了对操作记录做统计(比如统计用户消耗的资费,以便定期对账),对于方式②,APP会将本次问答的摘要数据(如主题、时间等)发给APP运营方服务器。D3, the e-cigarette application APP pre-processes the input question content to form a question data packet, and sends the question data packet to the server; specifically, the pre-processing can be to compress and encrypt the data of the question content. There are two ways to send the question data packet: ① If the user uses the API interface of the APP operator, the APP will send the data packet to the server of the APP operator, and the server will forward the data packet to the artificial intelligence service infrastructure provider; ② If the user uses the API interface that the user obtains from the artificial intelligence service infrastructure provider, the APP will send the data packet to the artificial intelligence service infrastructure provider. However, in order to make statistics on the operation records (such as statistics on the charges consumed by users for regular reconciliation), for method ②, the APP will send the summary data of this question and answer (such as topic, time, etc.) to the APP operator's server.

D4,服务器调用相应的人工智能模型对问题数据包进行分析处理得到应答数据包,并将应答数据包发送至电子烟应用APP;需要说明的是,采用工人工智能模型对问题数据包进行分析处理属于现有技术,在此不再赘述。对于应答数据包的发送,这里有两种发送方式:①如果用户使用的是APP运营方的API接口,那么人工智能服务基础设施提供方将回答数据包发给APP运营方的服务器,该服务器再将数据包转发给APP;②如果用户使用的是用户自行从人工智能服务基础设施提供方拿到的API接口,人工智能服务基础设施提供方直接将回答数据包发给APP。不过,为了对操作记录做统计(比如统计用户消耗的资费,以便定期对账),对于方式②,APP会将本次问答的摘要数据(如主题、时间等)发给APP运营方服务器。D4, the server calls the corresponding artificial intelligence model to analyze and process the question data packet to obtain a response data packet, and sends the response data packet to the e-cigarette application APP; it should be noted that the use of artificial intelligence models to analyze and process the question data packet belongs to the existing technology and will not be repeated here. For the sending of the response data packet, there are two ways to send it: ① If the user uses the API interface of the APP operator, the artificial intelligence service infrastructure provider will send the answer data packet to the server of the APP operator, and the server will forward the data packet to the APP; ② If the user uses the API interface obtained by the user from the artificial intelligence service infrastructure provider, the artificial intelligence service infrastructure provider will directly send the answer data packet to the APP. However, in order to make statistics on the operation records (such as statistics on the charges consumed by users for regular reconciliation), for method ②, the APP will send the summary data of this question and answer (such as subject, time, etc.) to the APP operator's server.

D5,电子烟应用APP对应答数据包进行解析得到问题答案,并将问题答案展示在智能问答交互页面上。D5, the electronic cigarette application APP parses the response data packet to obtain the answer to the question, and displays the answer to the question on the intelligent question and answer interactive page.

具体地,在智能电子烟上发起智能问答的交互流程如下:Specifically, the interactive process of initiating intelligent question and answer on the smart electronic cigarette is as follows:

E1,建立电子烟应用APP与智能电子烟的电子烟智能模块之间的无线通信连接;具体地,电子烟应用APP与智能电子烟的电子烟智能模块可以通过蓝牙、WiFi等无线通信方式连接,连接后,将电子烟智能模块放于智能终端的附近,这个距离可以比较大,只需要在无线通讯的有效范围(比如蓝牙一般支持10米以内的通讯)内即可。这就给用户带来了极大的便利,比如手机在一个屋里充电,用户拿着电子烟在另一个屋里坐着,此时用户仍然可以发起智能问答。E1, establish a wireless communication connection between the electronic cigarette application APP and the electronic cigarette smart module of the smart electronic cigarette; specifically, the electronic cigarette application APP and the electronic cigarette smart module of the smart electronic cigarette can be connected through wireless communication methods such as Bluetooth and WiFi. After the connection, the electronic cigarette smart module is placed near the smart terminal. The distance can be relatively large, and it only needs to be within the effective range of wireless communication (for example, Bluetooth generally supports communication within 10 meters). This brings great convenience to users. For example, the mobile phone is charging in one room, and the user is sitting in another room with an electronic cigarette. At this time, the user can still initiate intelligent questions and answers.

E2,用户在智能电子烟的触控屏上点击智能问答按钮或按压智能电子烟上的智能 问答物理按键,以开启智能问答流程;E2, the user clicks the smart question and answer button on the touch screen of the smart electronic cigarette or presses the smart Q&A physical button to start the intelligent Q&A process;

E3,用户通过智能电子烟的人机交互模块输入问题内容;具体地,用户可以通过如下输入方式之一输入问题内容:①用户对着电子烟智能模块的声音采集器件提问,声音采集器件收集声音信号并进行降噪,然后将处理过的声音信号传给APP;②用户在电子烟智能模块的触屏上输入文字,然后发给APP;③用户打开电子烟智能模块上的摄像头采集图像或视频,然后发给APP;④用户也可以采用这些方式的组合,例如使用摄像头采集图像并传给APP后,紧接着发出一段语音或文字,以补充说明。E3, the user inputs the question content through the human-computer interaction module of the smart electronic cigarette; specifically, the user can input the question content through one of the following input methods: ① The user asks questions to the sound collection device of the electronic cigarette smart module, the sound collection device collects the sound signal and performs noise reduction, and then transmits the processed sound signal to the APP; ② The user inputs text on the touch screen of the electronic cigarette smart module, and then sends it to the APP; ③ The user turns on the camera on the electronic cigarette smart module to capture images or videos, and then sends them to the APP; ④ The user can also use a combination of these methods, for example, after using the camera to capture images and transmit them to the APP, a voice or text is sent immediately to supplement the explanation.

E4,智能电子烟的电子烟智能模块将输入的问题内容发送至电子烟应用APP;E4, the electronic cigarette intelligent module of the intelligent electronic cigarette sends the input question content to the electronic cigarette application APP;

E5,电子烟应用APP对问题内容进行预处理形成问题数据包,并将问题数据包发送至服务器;E5, the electronic cigarette application APP pre-processes the problem content to form a problem data packet, and sends the problem data packet to the server;

E6,服务器调用相应的人工智能模型对问题数据包进行分析处理得到应答数据包,并将应答数据包发送至电子烟应用APP;E6, the server calls the corresponding artificial intelligence model to analyze and process the problem data packet to obtain a response data packet, and sends the response data packet to the electronic cigarette application APP;

E7,电子烟应用APP对应答数据包进行解析得到问题答案,并将问题答案发送给电子烟智能模块,以通过电子烟智能模块展示问题答案。具体地,问题答案的展示方式可以采用如下展示方式之一:①如果回答内容是文本,则将其显示在屏幕上;②如果回答内容是语音,则用喇叭播放出来;③如果回答内容是图片或视频,则将其播放在屏幕上;④如果回答内容既有文本也有语音、图片或视频,那么采用①、②和③的结合方式。E7, the electronic cigarette application APP parses the response data packet to obtain the answer to the question, and sends the answer to the electronic cigarette intelligent module to display the answer to the question through the electronic cigarette intelligent module. Specifically, the display method of the answer to the question can adopt one of the following display methods: ① If the answer content is text, it will be displayed on the screen; ② If the answer content is voice, it will be played out by the speaker; ③ If the answer content is a picture or video, it will be played on the screen; ④ If the answer content has both text and voice, picture or video, then a combination of ①, ② and ③ is adopted.

在一个实施例中,步骤S2中,对智能电子烟进行社交功能管理包括:In one embodiment, in step S2, managing the social function of the smart electronic cigarette includes:

用户通过电子烟应用APP发布吸烟地点共享信息,其中,吸烟地点共享信息包括如下信息之一或任意组合:Users publish shared smoking location information through the electronic cigarette application APP, where the shared smoking location information includes one or any combination of the following information:

吸烟地点位置信息、开放时间、周边描述信息、吸烟地点照片、吸烟地点视频。Smoking location information, opening hours, surrounding description information, smoking location photos, and smoking location videos.

在一些城市里,密闭的公共空间是不允许吸烟的,因此寻找一个可行的吸烟地点,是烟民们经常有的需求。通过本申请,用户找到一个可行的吸烟地点后,可以在APP上共享出来,附近的烟民可以在APP上看到附近共享的吸烟地点和距离等信息,从而有助于附近的烟民更加快速便捷地找到可吸烟地点。In some cities, smoking is not allowed in enclosed public spaces, so finding a feasible smoking location is a common need for smokers. Through this application, after users find a feasible smoking location, they can share it on the APP, and nearby smokers can see the shared smoking locations and distance information on the APP, which helps nearby smokers find a smoking location more quickly and conveniently.

具体地,通过电子烟应用APP对智能电子烟进行目标应用功能管理时,查看智能电子烟的使用状态信息方法如下:Specifically, when the target application function of the smart electronic cigarette is managed through the electronic cigarette application APP, the method for viewing the usage status information of the smart electronic cigarette is as follows:

用户可以在APP上查看电子烟设备的各种使用状态信息,如果电子烟智能模块配备了显示屏,也可以在屏幕上查看使用状态信息。Users can view various usage status information of the electronic cigarette device on the APP. If the electronic cigarette smart module is equipped with a display screen, the usage status information can also be viewed on the screen.

具体地,通过电子烟应用APP对智能电子烟进行目标应用功能管理时,按照需求 对智能电子烟进行应用功能属性设置方法如下:Specifically, when managing the target application functions of smart electronic cigarettes through the electronic cigarette application APP, according to the needs The method for setting the application function attributes of the smart electronic cigarette is as follows:

1、电子烟智能模块可以上传许多使用状态信息,这种上传无需用户主动触发,而是由电子烟智能模块内部的程序自动定期将使用状态信息上传给APP,以便进行统计。前述使用状态信息包括:剩余电量、剩余物料量、GPS定位轨迹、吸烟次数、吸烟时刻、吸烟时长、运动计步数据、内部温度等数据。有些数据需要用户主动触发上传流程,如心率和血氧数据,当用户将身体某部位(通常是指腹,即用于测指纹的那个位置,也可以是手腕或其他部位)贴近智能电子烟上的心率血氧传感器时,传感器收到数据后,就会发送给APP。用户可以在APP上设置哪些数据不上传给APP,也可以设置上传频率。这些状态信息默认会上传给服务器,但用户可以设置哪些数据不予上传,以保护用户的隐私。1. The electronic cigarette smart module can upload a lot of usage status information. This upload does not require the user to actively trigger it. Instead, the program inside the electronic cigarette smart module automatically and regularly uploads the usage status information to the APP for statistics. The aforementioned usage status information includes: remaining power, remaining material volume, GPS positioning trajectory, number of smoking times, smoking time, smoking duration, exercise step data, internal temperature and other data. Some data require users to actively trigger the upload process, such as heart rate and blood oxygen data. When the user puts a part of the body (usually the fingertips, that is, the position used to measure fingerprints, or the wrist or other parts) close to the heart rate and blood oxygen sensor on the smart electronic cigarette, the sensor will send the data to the APP after receiving it. Users can set which data will not be uploaded to the APP on the APP, and can also set the upload frequency. These status information will be uploaded to the server by default, but users can set which data will not be uploaded to protect user privacy.

2、用户可以在APP上设置电子烟的多种属性和功能,例如每次吸食剂量、预热温度、闹钟、秒表、倒计时、息屏时长等属性和功能。如果电子烟智能模块配备了触控屏,也可以在电子烟智能模块上进行设置。不过,由于电子烟智能模块性能有限,有些设置无法在电子烟智能模块上进行,只能在APP上进行。用户也可以用语音给电子烟智能模块下达命令,如“大米大米,5分钟后叫我”(这里的“大米大米”只是用于举例的唤醒词,实际应用时APP运营方可以定制其他的唤醒词),电子烟智能模块将该命令传给APP,APP自己识别或转给服务器识别,识别成功后,APP通过电子烟智能模块回复“好的,5分钟后我叫你”,然后APP设定一个5分钟后响起的闹钟。2. Users can set various properties and functions of the electronic cigarette on the APP, such as the dose per inhalation, preheating temperature, alarm, stopwatch, countdown, screen off time and other properties and functions. If the electronic cigarette smart module is equipped with a touch screen, it can also be set on the electronic cigarette smart module. However, due to the limited performance of the electronic cigarette smart module, some settings cannot be performed on the electronic cigarette smart module and can only be performed on the APP. Users can also use voice to give commands to the electronic cigarette smart module, such as "Rice, rice, call me in 5 minutes" (the "Rice, Rice" here is just a wake-up word for example. In actual application, the APP operator can customize other wake-up words). The electronic cigarette smart module transmits the command to the APP, and the APP recognizes it by itself or transfers it to the server for recognition. After successful recognition, the APP replies through the electronic cigarette smart module "OK, I'll call you in 5 minutes", and then the APP sets an alarm that will sound in 5 minutes.

具体地,通过电子烟应用APP对智能电子烟进行目标应用功能管理时,对智能电子烟进行定位和追踪方法如下:Specifically, when the target application function of the smart electronic cigarette is managed through the electronic cigarette application APP, the method for locating and tracking the smart electronic cigarette is as follows:

用户如果忘记了电子烟智能模块放在哪里,则可以在APP上启动定位和追踪功能。If the user forgets where the e-cigarette smart module is placed, the user can activate the positioning and tracking function on the APP.

如果电子烟智能模块在用户身边不远处,则用户可以在APP上播放一首音乐,电子烟智能模块发出对应的声音和马达震动,用户可以循着声音和震动找到它。如果电子烟智能模块安装了移动通信器件(如手机的SIM卡),则用户可以在手机上拨打该移动通信器件的电话号码,电子烟智能模块的声音就会响起,用户可以循着声音或马达震动找到它;对于这种情形而言,APP与电子烟智能模块的蓝牙连接可以是断开的。但是,如果电子烟智能模块已关机或调成了静音且无震动,那么无法通过这里的方法找到电子烟智能模块。If the electronic cigarette smart module is not far from the user, the user can play a piece of music on the APP, and the electronic cigarette smart module will emit a corresponding sound and motor vibration, and the user can find it by following the sound and vibration. If the electronic cigarette smart module is installed with a mobile communication device (such as a SIM card of a mobile phone), the user can dial the phone number of the mobile communication device on the mobile phone, and the sound of the electronic cigarette smart module will sound, and the user can find it by following the sound or motor vibration; in this case, the Bluetooth connection between the APP and the electronic cigarette smart module can be disconnected. However, if the electronic cigarette smart module has been turned off or muted and has no vibration, the electronic cigarette smart module cannot be found by the method here.

如果电子烟智能模块不在用户身边附近,那么用户可以在APP上查看电子烟智能模块最近的定位轨迹,然后配合大脑的回忆,或许用户可以找到电子烟智能模块。If the electronic cigarette intelligent module is not near the user, the user can check the recent positioning track of the electronic cigarette intelligent module on the APP, and then with the help of the brain's memory, the user may be able to find the electronic cigarette intelligent module.

如果电子烟智能模块已被别人捡到且被别人尝试过绑定别人的APP(当然,如果 用户已绑定且未解绑该电子烟智能模块,那么别人绑定会失败),那么用户可以在APP上查看别人对该电子烟智能模块的绑定尝试历史,然后向系统提出找回申请,后台工作人员可以进行协助。If the electronic cigarette smart module has been picked up by someone else and someone has tried to bind it to someone else's APP (of course, if If the user has bound and not unbound the electronic cigarette smart module, then other people's binding will fail), the user can view the history of other people's binding attempts to the electronic cigarette smart module on the APP, and then submit a retrieval application to the system, and the backend staff can assist.

用户如果忘记手机放在哪里且手机未关机且手机距离电子烟智能模块不太远,且手机与电子烟智能模块未断开蓝牙连接,则用户可以在电子烟智能模块上发起寻找手机的操作,手机就会响起来或震动,用户就可以循着声音或震动找到手机。如果电子烟智能模块安装了移动通信器件(如手机的SIM卡),则用户可以通过移动通信器件的电话号码拨打手机,手机的声音就会响起,用户可以循着声音或手机的马达震动找到它;对于这种情形而言,APP与电子烟智能模块的蓝牙连接可以是断开的。但是,如果手机已关机或调成了静音且无震动,那么这个方法就无效了。If the user forgets where the phone is and the phone is not turned off and the phone is not too far from the electronic cigarette smart module, and the phone and the electronic cigarette smart module are not disconnected from the Bluetooth connection, the user can initiate the operation of finding the phone on the electronic cigarette smart module, and the phone will ring or vibrate, and the user can find the phone by following the sound or vibration. If the electronic cigarette smart module is installed with a mobile communication device (such as a SIM card for a mobile phone), the user can call the phone through the phone number of the mobile communication device, and the phone will sound, and the user can find it by following the sound or the vibration of the phone's motor; in this case, the Bluetooth connection between the APP and the electronic cigarette smart module can be disconnected. However, if the phone is turned off or set to silent and no vibration, then this method is invalid.

具体地,通过电子烟应用APP对智能电子烟进行目标应用功能管理时,与智能电子烟进行智能交互之前,需要进行人工智能服务注册,注册方式有如下两种:Specifically, when managing the target application functions of smart electronic cigarettes through the electronic cigarette application APP, it is necessary to register the artificial intelligence service before intelligently interacting with the smart electronic cigarette. There are two ways to register:

第一种人工智能服务注册流程如下:The first AI service registration process is as follows:

1、APP的运营方(也即运营APP的公司)向人工智能服务基础设施提供方(比如百度公司、OpenAI、腾讯公司、或者APP运营方自己等)申请,支付相关费用后,获得人工智能服务的API接口调用权限。这种调用权限一般以app key、app secret、token等形式来表示。1. The operator of the APP (that is, the company that operates the APP) applies to the provider of the AI service infrastructure (such as Baidu, OpenAI, Tencent, or the APP operator itself), and after paying the relevant fees, obtains the API interface call permission for the AI service. This call permission is generally expressed in the form of app key, app secret, token, etc.

2、电子烟智能模块的用户在APP注册后,通过APP向APP运营方申请所需要的人工智能服务,APP运营方的服务器向该用户开通接口。2. After the user of the electronic cigarette intelligent module registers on the APP, he applies to the APP operator for the required artificial intelligence service through the APP, and the APP operator's server opens an interface to the user.

3、电子烟智能模块的用户通过APP支付相关费用,按需使用相关的人工智能服务。3. Users of the electronic cigarette intelligent module pay relevant fees through the APP and use related artificial intelligence services on demand.

第二种人工智能服务注册流程如下:The second AI service registration process is as follows:

1、电子烟智能模块的用户自行在人工智能服务基础设施提供方(比如百度公司、OpenAI、腾讯公司、或者APP运营方自己等)申请个人版的人工智能服务账号,支付相关费用后,获得人工智能服务的API接口调用权限。这种调用权限一般以app key、app secret、token等形式来表示。1. Users of electronic cigarette smart modules apply for a personal version of an AI service account from an AI service infrastructure provider (such as Baidu, OpenAI, Tencent, or the APP operator itself), and after paying relevant fees, obtain the API interface call permission for AI services. This call permission is generally expressed in the form of app key, app secret, token, etc.

2、电子烟智能模块的用户在APP注册后,在申请使用人工智能服务时,选择自行提供接口,然后输入他/她自己获取的人工智能服务基础设施提供方颁发的API接口凭证,之后他/她可以在APP上用自己的凭证来使用相关的人工智能服务。2. After the user of the electronic cigarette intelligent module registers on the APP, when applying to use the artificial intelligence service, he/she chooses to provide the interface by himself/herself, and then enters the API interface certificate issued by the artificial intelligence service infrastructure provider obtained by him/her. After that, he/she can use the relevant artificial intelligence services on the APP with his/her own certificate.

具体地,与智能电子烟进行智能交互还包括对电子烟智能模块的唤醒操作,具体操作方法如下:Specifically, the intelligent interaction with the smart electronic cigarette also includes the awakening operation of the electronic cigarette smart module. The specific operation method is as follows:

在用户长时间(比如30秒、1分钟等,具体数值可以在APP上设置。若电子烟智 能模块带触控屏幕,也可以在电子烟智能模块的触控屏幕上设置)未操作电子烟智能模块后,为了节省电源,电子烟智能模块会进入低功耗待唤醒模式。(当然,电子烟智能模块也可以一直处于正常功耗模式,随时准备与用户交互,以提供更好的便利性)When the user takes a long time (such as 30 seconds, 1 minute, etc.), the specific value can be set on the APP. The electronic cigarette smart module has a touch screen, and can also be set on the touch screen of the electronic cigarette smart module) After the electronic cigarette smart module is not operated, in order to save power, the electronic cigarette smart module will enter a low-power standby mode. (Of course, the electronic cigarette smart module can also be in normal power consumption mode all the time, ready to interact with the user at any time to provide better convenience)

如果电子烟智能模块正好在用户手上,那么用户可以轻按一下电源键(或其他实体键),电子烟智能模块立即进入正常功耗模式。If the electronic cigarette intelligent module happens to be in the user's hand, the user can lightly press the power button (or other physical button), and the electronic cigarette intelligent module immediately enters the normal power consumption mode.

如果电子烟智能模块不在用户手上或者在用户手上,那么用户可以发出唤醒词(如“大米大米”、“小艾同学”等,具体选择何种唤醒词,可以在APP上进行设置或定制),电子烟智能模块收到对应的语音信号后,即可进入正常功耗模式。对于唤醒词这种简短的语音信号,可以有多种识别方式:①在电子烟智能模块内部内置相关的语音识别算法,对唤醒词进行识别;②在APP上安装相关的语音识别算法,对唤醒词进行识别,然后APP将结果告诉电子烟智能模块;③在服务器上安装相关的语音识别算法,APP收到电子烟智能模块发来的语音唤醒信号后,略作处理(如压缩、加密等)后将数据发给服务器,服务器将结果告诉APP,APP再转发给电子烟智能模块。If the electronic cigarette intelligent module is not in the user's hand or is in the user's hand, the user can send a wake-up word (such as "Dami Dami", "Xiao Ai classmate", etc., the specific choice of wake-up word can be set or customized on the APP), and the electronic cigarette intelligent module can enter the normal power consumption mode after receiving the corresponding voice signal. For short voice signals such as wake-up words, there are many ways to identify them: ① Built-in relevant voice recognition algorithms inside the electronic cigarette intelligent module to identify the wake-up words; ② Install relevant voice recognition algorithms on the APP to identify the wake-up words, and then the APP tells the electronic cigarette intelligent module the results; ③ Install relevant voice recognition algorithms on the server. After the APP receives the voice wake-up signal sent by the electronic cigarette intelligent module, it will send the data to the server after slight processing (such as compression, encryption, etc.), and the server will tell the APP the results, and the APP will forward them to the electronic cigarette intelligent module.

由于本发明的电子烟智能模块具有智能对话功能,因此一定程度上智能电子烟可以作为用户的一个智能伴侣,而唤醒词可以作为电子烟智能模块的名称,通过设置拟人化的唤醒词,可以给用户带来独特的情绪价值,具体介绍如下:Since the electronic cigarette intelligent module of the present invention has an intelligent dialogue function, the intelligent electronic cigarette can be used as an intelligent companion of the user to a certain extent, and the wake-up word can be used as the name of the electronic cigarette intelligent module. By setting an anthropomorphic wake-up word, it can bring unique emotional value to the user, which is specifically introduced as follows:

①用户可以为自己定义一个名字,如“主人”、“我的乖乖”。在以后用户与电子烟智能模块的对话过程中,电子烟智能模块发出的语音响应就会以诸如“主人,您找我何事?”的形式出现。① The user can define a name for himself, such as "Master", "My dear". In the future, when the user talks to the electronic cigarette intelligent module, the voice response from the electronic cigarette intelligent module will appear in the form of "Master, what do you want from me?"

②用户可以为电子烟智能模块定义一个喜欢的名字,如“阿福”、“阿福阿福”、“铁蛋”等。在以后用户与电子烟智能模块的互动过程中,用户就能以这个名字唤醒或称呼电子烟智能模块,例如,“阿福,现在几点了?”② The user can define a favorite name for the electronic cigarette intelligent module, such as "Afu", "Afu Afu", "Tiedan", etc. In the future, when the user interacts with the electronic cigarette intelligent module, the user can wake up or call the electronic cigarette intelligent module with this name, for example, "Afu, what time is it now?"

③用户可以定制或选择电子烟智能模块发出语音的音色。系统提供一些标准音色,如标准男声、粤语女声等,用户选择某个标准音色后,电子烟智能模块就会用这种音色来发出语音响应。用户也可以定制自己喜欢的音色,定制流程为:用户将自己喜欢的一段语音上传给后台服务器,后台服务器计算出该段语音的声学特征(如声强、音高、基因频率等),然后电子烟智能模块就可以使用基于该声学特征合成的声音来做语音响应。③ The user can customize or select the timbre of the voice emitted by the electronic cigarette intelligent module. The system provides some standard timbres, such as standard male voice, Cantonese female voice, etc. After the user selects a standard timbre, the electronic cigarette intelligent module will use this timbre to make a voice response. Users can also customize their favorite timbre. The customization process is: the user uploads a favorite voice to the background server, and the background server calculates the acoustic features of the voice (such as sound intensity, pitch, gene frequency, etc.), and then the electronic cigarette intelligent module can use the sound synthesized based on the acoustic features to make a voice response.

④用户可以打开声纹识别开关,即仅当电子烟智能模块“听”到当前用户(而非其他人)的声音后,才做出正确的响应,否则不予响应或发出“您是哪位,我好像不认识您呢”之类的响应。具体来说,用户自己录制一段语音并提交给系统,系统计算 出用户的声纹特征并保存起来,以后电子烟智能模块就可以用这个声纹特征来判断当前说话人的声音是否来自正确的用户。本功能可以在一定程度上防止电子烟智能模块被合法用户以外的人未经授权的使用,从而保障合法用户的权益。④ The user can turn on the voiceprint recognition switch, that is, the electronic cigarette intelligent module will only make a correct response when it "hears" the voice of the current user (not others), otherwise it will not respond or respond with "Who are you? I don't seem to know you". Specifically, the user records a voice and submits it to the system, and the system calculates The user's voiceprint feature is obtained and saved. In the future, the electronic cigarette intelligent module can use this voiceprint feature to determine whether the voice of the current speaker comes from the correct user. This function can prevent the electronic cigarette intelligent module from being used without authorization by people other than legal users to a certain extent, thereby protecting the rights and interests of legal users.

⑤按照上述机制,用户在唤醒电子烟智能模块或与后者语音交互时,就可以喊出自己给后者定制的名字,必然会感到一种亲切感或者其他情绪感受,从而享受到本发明提供的独特情绪价值。举例来说,用户有一个很喜欢的宠物叫“阿福”,但因为某种原因(如走丢、送人或其他原因)阿福不在身边,用户却很想念它,这个时候,如果用户说“阿福”、“阿福阿福”或其他与“阿福”二字有关的名字,或说出“阿福,唱一首生日快乐歌”有关的命令,电子烟智能模块就能以用户喜欢的自我称呼和音色做出语音响应,例如用粤语女声发出“主人,我现在给您唱一首生日快乐歌”的语音响应。在这个交互过程中,用户必然能感受到独特的情绪价值。⑤ According to the above mechanism, when the user wakes up the electronic cigarette intelligent module or interacts with the latter by voice, he can shout out the name he customized for the latter, and he will inevitably feel a sense of intimacy or other emotional feelings, so as to enjoy the unique emotional value provided by the present invention. For example, the user has a favorite pet named "Afu", but for some reason (such as getting lost, giving away or other reasons), Afu is not around, but the user misses it very much. At this time, if the user says "Afu", "Afu Afu" or other names related to the word "Afu", or says a command related to "Afu, sing a happy birthday song", the electronic cigarette intelligent module can respond with the user's favorite self-name and timbre, such as a Cantonese female voice to issue a voice response of "Master, I will sing a happy birthday song for you now". In this interactive process, the user will inevitably feel the unique emotional value.

具体地,对智能电子烟进行社交功能管理还包括如下几个方面:Specifically, the social function management of smart electronic cigarettes also includes the following aspects:

1、好友设置1.Friends settings

用户可以在APP里对好友功能进行多种设置,如是否愿意被别人添加好友、是否允许别人用手机号/用户名/吸食的电子烟类型/区域搜索等方式添加好友、朋友圈权限、期待的好友属性(如年龄、性别、学历、电子烟爱好等)等设置。Users can make various settings for the friend function in the APP, such as whether they are willing to be added as a friend by others, whether to allow others to add friends by mobile phone number/user name/type of e-cigarettes smoked/area search, etc., circle of friends permissions, expected friend attributes (such as age, gender, education, e-cigarette hobbies, etc.), etc.

2、添加好友2. Add friends

用户可以在APP里通过手机号、用户名、区域搜索、兴趣搜索、爱好的电子烟的特征(如品牌、口味等)搜索等多种方式,添加好友。Users can add friends in the APP through various methods such as mobile phone number, user name, area search, interest search, and search by the characteristics of favorite e-cigarettes (such as brand, flavor, etc.).

由于APP与电子烟智能模块结合紧密,因此在安装有触控屏的电子烟智能模块上,用户也可以搜索和添加附近好友,例如,用户拿起电子烟摇一摇,就可以摇到附近的好友,然后选择是否添加。Since the APP is closely integrated with the electronic cigarette intelligent module, users can also search and add nearby friends on the electronic cigarette intelligent module equipped with a touch screen. For example, users can pick up the electronic cigarette and shake it to shake nearby friends, and then choose whether to add them.

3、拉黑好友和删除好友3. Block friends and delete friends

用户可以在APP里将部分好友拉黑或删除。拉黑好友后双方无法继续聊天,除非用户解除拉黑。删除好友后,双方无法继续聊天,以前的聊天记录默认会被清空,但用户可以选择不清空。Users can block or delete some friends in the APP. After blocking a friend, the two parties cannot continue to chat unless the user unblocks them. After deleting a friend, the two parties cannot continue to chat, and the previous chat history will be cleared by default, but the user can choose not to clear it.

4、朋友圈4. Friends circle

用户可以在APP里发出自己的近况(比如心得体会、图片、视频等),设置哪些朋友可见,朋友可以点击点赞和评论。Users can post their latest updates (such as experiences, pictures, videos, etc.) in the APP, set which friends can see them, and friends can click to like and comment.

由于APP与电子烟智能模块结合紧密,因此在安装有触控屏的电子烟智能模块上,也可以发朋友圈,简单的流程是:①用户在电子烟智能模块触控屏上点击发朋友圈的 按钮,然后进入发送页面,②用户可以输入语音,或者可使用语音转文本技术将语音转成文字,也可以打开摄像头拍摄附近图像(如自拍、拍摄景物等)或视频,③然后点击发送即可。Since the APP is closely integrated with the electronic cigarette smart module, you can also post to Moments on the electronic cigarette smart module equipped with a touch screen. The simple process is: ① The user clicks on the touch screen of the electronic cigarette smart module to post to Moments. button, and then enter the sending page, ② users can input voice, or use voice-to-text technology to convert voice into text, or open the camera to capture nearby images (such as selfies, shooting scenery, etc.) or videos, ③ then click Send.

5、聊天5. Chat

用户在APP里找到要发起聊天或回复聊天的好友,以文本、语音、语音转文本、文件、照片、实时拍摄图像或视频等方式,回复好友。可以转发自己发出的消息或好友发来的消息,可以删除与好友的通信记录,也可以撤回24(APP运营方可以设置成其他时长,也可以根据用户的会员等级设置不同时长,例如初级会员只允许撤回5分钟内发出的消息,高级会员可以撤回24小时内发出的消息)小时内发送的内容。用户可以发起实时语音聊天或视频聊天。Users can find friends in the APP with whom they want to start a chat or reply to a chat, and reply to friends by text, voice, voice-to-text, files, photos, real-time images or videos, etc. Users can forward messages sent by themselves or friends, delete communication records with friends, and withdraw content sent within 24 hours (the APP operator can set other durations, or set different durations according to the user's membership level, for example, junior members are only allowed to withdraw messages sent within 5 minutes, and senior members can withdraw messages sent within 24 hours). Users can initiate real-time voice chats or video chats.

由于APP与电子烟智能模块结合紧密,因此在安装有触控屏的电子烟智能模块上,也可以与好友进行聊天、查看消息、回复消息、删除消息、撤回消息、实时语音聊天、实时视频聊天等。Since the APP is closely integrated with the electronic cigarette intelligent module, you can also chat with friends, check messages, reply to messages, delete messages, withdraw messages, real-time voice chat, real-time video chat, etc. on the electronic cigarette intelligent module equipped with a touch screen.

6、群聊群发6. Group chat and group messaging

用户在发送消息、转发消息时,可以同时选择多个目标好友,然后进行发送。When sending or forwarding messages, users can select multiple target friends at the same time and then send the messages.

目前,大多数聊天软件都不支持群发消息的定制化,比如要发送中秋节祝福消息“老朋友,中秋快乐,身体健康”,收到群发消息的朋友看到“老朋友,中秋快乐,身体健康”后,一眼就知道这很可能是群发消息,心里就可能会觉得没有得到消息发送者的优待。本发明提供一种格式化群发消息的功能,允许用户针对每个好友设置一个特殊称呼,比如针对张三设置“张老师”、针对李四设置“老兄”、针对王五设置“我最喜欢的老五”等称呼,然后在群发消息时,在消息内部使用“{nn}”(表示nickname,也可以用其他标识符),那么每个消息接收者都会看到针对自己的称呼。比如,针对群发消息“{nn},中秋快乐,身体健康”,张三收到的是“张老师,中秋快乐,身体健康”,李四收到的是“老兄,中秋快乐,身体健康”,王五收到的是“我最喜欢的老五,中秋快乐,身体健康”。At present, most chat software do not support the customization of group messages. For example, if you want to send a Mid-Autumn Festival blessing message "Old friend, happy Mid-Autumn Festival, good health", the friends who receive the group message will know at a glance that this is probably a group message after seeing "Old friend, happy Mid-Autumn Festival, good health", and they may feel that they have not received preferential treatment from the message sender. The present invention provides a function of formatting group messages, allowing users to set a special title for each friend, such as setting "Teacher Zhang" for Zhang San, setting "Brother" for Li Si, and setting "My favorite Old Five" for Wang Wu. Then, when sending group messages, "{nn}" (indicating nickname, other identifiers can also be used) is used inside the message, so that each message recipient will see the title for himself. For example, for the group message "{nn}, happy Mid-Autumn Festival, good health", Zhang San receives "Teacher Zhang, happy Mid-Autumn Festival, good health", Li Si receives "Brother, happy Mid-Autumn Festival, good health", and Wang Wu receives "My favorite Old Five, happy Mid-Autumn Festival, good health".

用户可以为一个专门的目的,组建一个包含指定好友的群,可以设置该群的属性(如拉人进群的权限、发言权限等),群里好友发送的消息,群里的好友都能看见。Users can create a group containing designated friends for a specific purpose, and can set the group's properties (such as the authority to invite people to the group, speaking authority, etc.). Messages sent by friends in the group can be seen by all friends in the group.

7、线上会议7. Online meetings

用户可以在APP上预定一个线上会议,系统给一个会议号和会议链接,然后把会议链接和会议号发给相关人员,相关人员在预定的时间点在各自APP里点击该会议链接,就可以一起语音开会,也可以打开摄像头进行视频会议。在会议里的相关人员不 必是好友或一个群里的人。为了防止无关人员进入会议,会议发起者可以设置仅接收会议邀请的人才能入会,转发无效。Users can book an online meeting on the APP. The system will give a meeting number and a link, and then send the link and number to relevant personnel. At the scheduled time, relevant personnel can click the link in their respective APPs to have a voice conference or turn on the camera for a video conference. To prevent irrelevant people from entering the meeting, the meeting initiator can set the meeting to only allow people who receive the meeting invitation to join, and forwarding is invalid.

由于APP与电子烟智能模块结合紧密,因此在安装有触控屏的电子烟智能模块上,用户也可以在电子烟智能模块里进入会议。Since the APP is closely integrated with the electronic cigarette intelligent module, users can also enter the meeting in the electronic cigarette intelligent module installed with a touch screen.

8、文件共享8. File Sharing

APP上有多种文件共享方式:There are multiple ways to share files on the APP:

用户可以将文件群发给指定好友。Users can send files to designated friends in groups.

系统给每个群分配一个固定大小的网盘空间,群里每个人都可以上传一些文件,其他人可以看到。The system allocates a fixed-size network disk space to each group. Everyone in the group can upload some files, which can be seen by others.

用户可以将文件上传到系统分配的网盘空间,系统给一个文件下载链接和提取码,然后用户将下载链接和提取码发给好友,好友即可据此下载文件。Users can upload files to the network disk space allocated by the system. The system will give a file download link and extraction code. The user can then send the download link and extraction code to friends, who can then download the file accordingly.

具体地,对智能电子烟进行辅助功能参数设置包括如下几个方面:Specifically, the auxiliary function parameter setting of the smart electronic cigarette includes the following aspects:

1、接电话1. Answer the phone

如果电子烟智能模块与手机已经绑定,那么当有人给这个手机打电话时,用户可以在电子烟智能模块上接通电话。其实质是,手机上接通了电话,对方的声音传到手机后,通过无线通讯转到了电子烟智能模块上,电子烟智能模块的发声器件将声音播放出来;用户通过电子烟智能模块说话时,电子烟智能模块采集了用户的声音,发给手机,手机再发送给对方。If the electronic cigarette smart module is bound to the mobile phone, then when someone calls the mobile phone, the user can answer the call on the electronic cigarette smart module. In essence, when the phone is connected, the other party's voice is transmitted to the mobile phone, and then transferred to the electronic cigarette smart module through wireless communication. The sound-generating device of the electronic cigarette smart module plays the sound; when the user speaks through the electronic cigarette smart module, the electronic cigarette smart module collects the user's voice and sends it to the mobile phone, and the mobile phone sends it to the other party.

这种功能在特定场合下尤其方便,比如手机在卧室,用户手持电子烟在客厅或厕所,有人来电时,用户就可以直接接电话。This function is particularly convenient in certain situations. For example, if the mobile phone is in the bedroom and the user is holding an e-cigarette in the living room or toilet, when someone calls, the user can answer the call directly.

用户在使用电子烟智能模块接电话时,既可以轻按上面的实体按键,也可以用语音下达命令,比如“大米大米,接通电话”。When using the electronic cigarette smart module to answer a call, the user can either tap the physical button on it or give a voice command, such as "Dami dami, answer the call."

如果电子烟智能模块配备了震动马达,那么用户可以设置来电提醒时关闭声音但开启震动,这对于特殊场合(如开会中)遇到来电时非常重要。If the electronic cigarette smart module is equipped with a vibration motor, the user can set the incoming call reminder to turn off the sound but turn on the vibration, which is very important for special occasions (such as meetings) when encountering incoming calls.

如果电子烟智能模块独立安装了可以通话的移动通信器件,那么它有独立的电话号码,则别人也可以直接拨打这个电话号码;对于这种情况,电子烟智能模块无需与手机保持无线连接状态。If the electronic cigarette intelligent module is independently installed with a mobile communication device that can make calls, it has an independent phone number, and others can also directly dial this phone number; in this case, the electronic cigarette intelligent module does not need to maintain a wireless connection with the mobile phone.

2、打电话2. Make a phone call

如果电子烟智能模块与手机已经绑定,且电子烟智能模块配备了触控屏,那么用户可以在触控屏上点击打电话按钮,然后输入对方名字或电话号码,或者用语音说出对方名字或电话号码,最后按下拨打按钮,即可打出电话。其实质是,电子烟智能模 块将需要拨打的电话号码发送到APP,APP调用手机的系统功能,使手机拨打电话。If the electronic cigarette smart module is already bound to the mobile phone and is equipped with a touch screen, the user can click the call button on the touch screen, then enter the other party's name or phone number, or speak the other party's name or phone number, and finally press the call button to make a call. The block sends the phone number to be dialed to the APP, and the APP calls the system function of the mobile phone to make the phone make a call.

这种功能在特定场合下尤其方便,比如手机在卧室,用户手持电子烟在客厅或厕所,用户就可以直接使用电子烟智能模块给他人打电话。This function is particularly convenient in certain situations. For example, if the mobile phone is in the bedroom and the user is holding an e-cigarette in the living room or toilet, the user can directly use the e-cigarette smart module to call others.

如果电子烟智能模块配备的不是触控屏,那么用户可以通过按压实体按键或语音命令来打电话,比如用户口述“给张三打电话”。APP收到语音命令后,进行识别,若识别成功且发现手机通讯录里只有一个张三,且张三只有一个号码,APP就会将结果发给电子烟智能模块,电子烟智能模块会询问用户“是要拨打给张三1591210xxxx这个号码吗?”,如果用户回答“是”,APP就会调用手机系统功能,拨出电话。如果发现手机有多个张三,或张三有多个号码,那么电子烟智能模块会询问用户多次,然后在确认后才拨打出电话。If the electronic cigarette smart module is not equipped with a touch screen, the user can make a call by pressing a physical button or voice command, such as the user saying "Call Zhang San". After receiving the voice command, the APP will identify it. If the identification is successful and it is found that there is only one Zhang San in the mobile phone address book, and Zhang San has only one number, the APP will send the result to the electronic cigarette smart module. The electronic cigarette smart module will ask the user "Do you want to call Zhang San 1591210xxxx?" If the user answers "yes", the APP will call the mobile phone system function to make a call. If it is found that there are multiple Zhang Sans on the mobile phone, or Zhang San has multiple numbers, the electronic cigarette smart module will ask the user multiple times, and then make a call after confirmation.

如果电子烟智能模块独立安装了可以通话的移动通信器件,那么它有独立的电话号码,则可以直接拨打别人的电话号码;对于这种情况,电子烟智能模块无需与手机保持无线连接状态。If the electronic cigarette intelligent module is independently installed with a mobile communication device that can make calls, it has an independent phone number and can directly dial other people's phone numbers; in this case, the electronic cigarette intelligent module does not need to maintain a wireless connection with the mobile phone.

3、NFC支付3. NFC Payment

用户打开APP,进入NFC支付设置页面。The user opens the APP and enters the NFC payment settings page.

用户绑定已有的公交卡或其他卡。Users bind existing bus cards or other cards.

APP将绑定信息转给电子烟智能模块。The APP transfers the binding information to the electronic cigarette intelligent module.

以后就可以用电子烟智能模块发起NFC支付。In the future, you can use the e-cigarette smart module to initiate NFC payment.

4、心率血氧测量4. Heart rate and blood oxygen measurement

心脑血管的状态可以反应人的健康状态,是当前很多电子手表都具备的功能。对于电子烟烟民来说,其心脑血管的状态可能更需要关注。本发明在电子烟智能模块上安装心率和血氧传感器,可以帮助电子烟烟民及时查看自己或身边亲朋的心率和血氧,以做参考。心率传感器和血氧传感器可以是两个独立的传感器,也可以是合二为一的一个传感器。用户在电子烟智能模块上测试心率和血氧之后,电子烟智能模块将相关数据传给APP,APP再将数据上传给后台服务器,后台服务器可以根据用户的相关历史数据以及相关的算法,给出用户的健康报告,供用户参考。The cardiovascular and cerebrovascular status can reflect a person's health status, and it is a function that many current electronic watches have. For e-cigarette smokers, their cardiovascular and cerebrovascular status may need more attention. The present invention installs heart rate and blood oxygen sensors on the electronic cigarette intelligent module, which can help e-cigarette smokers to check their own heart rate and blood oxygen or that of their relatives and friends in time for reference. The heart rate sensor and the blood oxygen sensor can be two independent sensors, or they can be a sensor combined into one. After the user tests the heart rate and blood oxygen on the electronic cigarette intelligent module, the electronic cigarette intelligent module transmits the relevant data to the APP, and the APP uploads the data to the background server. The background server can give the user a health report based on the user's relevant historical data and related algorithms for the user's reference.

5、距离测量5. Distance measurement

日常生活中,有时候需要测量一些距离,比如桌子到地面的高度、站立处到对面楼栋的距离等。In daily life, sometimes we need to measure some distances, such as the height from a table to the ground, the distance from where you are standing to the opposite building, etc.

若在电子烟智能模块中安装了TOF传感器、超声波距离传感器或其他距离似传感器,就可以测量距离。测量距离后,就可以显示在电子烟智能模块的屏幕上。 If a TOF sensor, ultrasonic distance sensor or other distance-like sensor is installed in the electronic cigarette smart module, the distance can be measured. After the distance is measured, it can be displayed on the screen of the electronic cigarette smart module.

6、便捷加好友6. Add friends easily

电子烟是一种很好的社交工具,为此本申请为添加好友提供一些更加便利的方案。目前市场上一些手表具有碰一碰加好友的功能,其操作是两个用户在各自手表上打开指定的页面,然后将两个手表靠近,后台再通过特殊的算法来识别这两个正在靠近的手表,最后在手表上弹出是否添加好友的确认页面。这个方法有一个不足,即用户需要先唤醒屏幕,然后打开指定的页面,再让两个手表靠近,才可以弹出是否添加好友的确认页面,这个操作所需步骤较多,比较繁琐。另外,像微信这类社交软件,有摇一摇添加好友的功能,其操作步骤也比较多,比如先解除手机屏幕锁定状态,然后打开微信,再打开微信的摇一摇页面,再去做摇一摇操作和其他操作。Electronic cigarettes are a good social tool, and for this reason, this application provides some more convenient solutions for adding friends. At present, some watches on the market have the function of adding friends by touching. The operation is that two users open the specified page on their respective watches, and then bring the two watches close together. The background uses a special algorithm to identify the two approaching watches, and finally pops up a confirmation page on the watch to confirm whether to add friends. This method has a shortcoming, that is, the user needs to wake up the screen first, then open the specified page, and then bring the two watches close together before the confirmation page for adding friends can pop up. This operation requires many steps and is relatively cumbersome. In addition, social software such as WeChat has the function of adding friends by shaking, and its operation steps are also relatively many, such as first unlocking the mobile phone screen, then opening WeChat, then opening the shake page of WeChat, and then performing the shake operation and other operations.

本申请提供多种便捷添加好友的方法,如下所述:This application provides a variety of convenient ways to add friends, as described below:

1、碰一碰加好友1. Add friends by tapping

前提:待操作的两个电子烟智能模块都安装了陀螺仪。Prerequisite: Both electronic cigarette intelligent modules to be operated are equipped with gyroscopes.

两个电子烟通过特定的姿态(如都是竖直向上的姿态,下文以此姿态讲述),正面轻轻碰撞一下,然后转入下一步。这里解释一下为何是特定的状态:用户手握电子烟的姿势是比较随意的,日常生活中电子烟可能以各种姿态碰撞到障碍物(如桌子、碗、门框、跌落等),陀螺仪会检测到这种碰撞,但是对于碰一碰加好友而言,这种碰撞是无效碰撞。为了过滤掉这种无效碰撞,本申请设定两个电子烟以特定姿态碰撞时,才算有效碰撞。至于何种姿态才算是最好的特定姿态,这与电子烟的形状有关系。例如,对于大多数电子烟来说,竖直向上的正面碰撞姿态是一个优选姿态,因为无意间的误碰撞很少是这种姿态;对于怪异形状的电子烟来说,水平姿态可能是一个优选姿态。The two electronic cigarettes are in a specific posture (such as both are in a vertical upward posture, which will be described below), and then lightly collide with each other head-on, and then proceed to the next step. Here is an explanation of why it is a specific state: the posture of the user holding the electronic cigarette is relatively casual. In daily life, the electronic cigarette may collide with obstacles (such as tables, bowls, door frames, falls, etc.) in various postures. The gyroscope will detect this collision, but for the touch-and-pay to add friends, this collision is an invalid collision. In order to filter out such invalid collisions, this application stipulates that only when two electronic cigarettes collide in a specific posture, it is considered a valid collision. As for what posture is the best specific posture, this is related to the shape of the electronic cigarette. For example, for most electronic cigarettes, the vertical upward head-on collision posture is a preferred posture, because unintentional collisions rarely occur in this posture; for electronic cigarettes with strange shapes, a horizontal posture may be a preferred posture.

电子烟智能模块检测到陀螺仪输出的三轴加速度三轴角速度,判断是否进行了本申请所述的碰一碰操作。判断流程是:a)在碰撞前,电子烟是否大体上处于竖直向上姿态(其特征是,三轴角速度大体为0,水平方向的x轴和y轴加速度大体为0,竖直方向的z轴加速度大体上相当于一个重力加速度);b)在碰撞瞬间,垂直于正面的轴(不妨假设这个轴为y轴,当然设为x轴也可以)的加速度有较大变化(在出厂前会设定一个通过统计实验得到的阈值),而其他轴的加速度变化不大;c)如果a)和b)都给出肯定回答,则可以判断这是一次有效碰撞。The electronic cigarette intelligent module detects the three-axis acceleration and three-axis angular velocity output by the gyroscope to determine whether the bump operation described in this application has been performed. The judgment process is: a) before the collision, whether the electronic cigarette is generally in a vertical upward posture (characterized by the three-axis angular velocity being generally 0, the horizontal x-axis and y-axis acceleration being generally 0, and the vertical z-axis acceleration being generally equivalent to a gravity acceleration); b) at the moment of collision, the acceleration of the axis perpendicular to the front (it may be assumed that this axis is the y-axis, and of course it can be set as the x-axis) has a large change (a threshold value obtained through statistical experiments will be set before leaving the factory), while the acceleration of other axes does not change much; c) if both a) and b) give affirmative answers, it can be determined that this is a valid collision.

检测到有效碰撞以后,电子烟智能模块自身或通过APP向附近的电子烟智能模块或APP,通过蓝牙广播自己刚刚检测到有效碰撞的消息(内容包括碰撞时间以及自己的唯一标识符等数据)。同时,它也会收到其他电子烟智能模块或APP发来的有效碰 撞消息。After detecting a valid collision, the electronic cigarette smart module itself or through the APP broadcasts the message that it has just detected a valid collision (including the collision time and its own unique identifier and other data) to nearby electronic cigarette smart modules or APPs via Bluetooth. At the same time, it will also receive valid collision messages sent by other electronic cigarette smart modules or APPs. Bumping news.

检测到有效碰撞且收到其他电子烟智能模块或APP发来的有效碰撞数据包后,且检测到对方发来的碰撞时间与自己的碰撞时间差别不大(具体阈值可以在出厂前通过统计实验来确定,一般来说,可以设为500ms),电子烟智能模块亮屏,弹出页面,是否添加对方为好友。如果用户选是,则电子烟智能模块会将自身唯一标识符、对方唯一标识符和碰撞时间发给服务器,表示要添加好友。对方如果也做类似的动作,则服务器判断两人加为好友。若有一方选择否,则加好友不成功。After detecting a valid collision and receiving a valid collision data packet from other electronic cigarette smart modules or APPs, and detecting that the collision time sent by the other party is not much different from its own collision time (the specific threshold can be determined by statistical experiments before leaving the factory, generally speaking, it can be set to 500ms), the electronic cigarette smart module lights up the screen and pops up a page to ask whether to add the other party as a friend. If the user chooses yes, the electronic cigarette smart module will send its own unique identifier, the other party's unique identifier and the collision time to the server, indicating that a friend is to be added. If the other party also makes a similar action, the server determines that the two are added as friends. If one party chooses no, adding a friend is unsuccessful.

注意,本功能需要向对方用户的APP或电子烟智能模块透露唯一标识符。虽然对方本人无法直接得知这个唯一标识符,但有心之人可以通过技术手段拿到该唯一标识符且可能将其用于非法目的,因此本申请在APP和电子烟智能模块上默认是关闭本功能的。当用户需要开启本功能时,会弹出一个页面告知用户风险所在,仅当用户知悉且同意时,才能开启本功能。Note that this function requires the disclosure of a unique identifier to the other user's APP or electronic cigarette smart module. Although the other party cannot directly know this unique identifier, someone with ulterior motives can obtain the unique identifier through technical means and may use it for illegal purposes. Therefore, this application turns off this function by default on the APP and electronic cigarette smart module. When the user needs to turn on this function, a page will pop up to inform the user of the risks. This function can only be turned on when the user is aware of and agrees.

2、摇一摇加好友2. Shake to add friends

前提:待操作的两个电子烟智能模块都安装了陀螺仪。Prerequisite: Both electronic cigarette intelligent modules to be operated are equipped with gyroscopes.

两个电子烟都处于基本静止的状态(静止状态下,陀螺仪的水平两轴x、y的加速度大体为0,竖直z轴加速度大体为一个重力加速度,三轴角速度大体为0)。Both electronic cigarettes are in a basically static state (in the static state, the acceleration of the horizontal x and y axes of the gyroscope is approximately 0, the acceleration of the vertical z axis is approximately the acceleration of gravity, and the angular velocity of the three axes is approximately 0).

用户开始以较大幅度晃动电子烟,持续时间超过某个阈值(比如2秒,具体值可以在出厂前通过统计实验确定)。The user starts to shake the electronic cigarette with a large amplitude, and the duration exceeds a certain threshold (for example, 2 seconds, the specific value can be determined through statistical experiments before leaving the factory).

在短时间内,陀螺仪检测到比较猛烈的变化,电子烟智能模块自身或通过APP向附近的电子烟智能模块或APP,通过蓝牙广播自己刚刚检测到的摇一摇消息(内容包括摇一摇开始时间和时长以及自己的唯一标识符等数据)。同时,它也会收到其他电子烟智能模块或APP发来的摇一摇消息。In a short period of time, the gyroscope detects a relatively violent change, and the electronic cigarette smart module broadcasts the shake message it has just detected (including the start time and duration of the shake and its own unique identifier and other data) to nearby electronic cigarette smart modules or apps through Bluetooth. At the same time, it will also receive shake messages sent by other electronic cigarette smart modules or apps.

检测到摇一摇消息且收到其他电子烟智能模块或APP发来的摇一摇数据包后,且检测到对方发来的摇一摇起止时间区间与自己的差别不大(具体阈值可以在出厂前通过统计实验来确定,一般来说,两个区间应该有交集,交集长度可以设为500ms),电子烟智能模块亮屏,弹出页面,是否添加对方为好友。如果用户选是,则电子烟智能模块会将自身唯一标识符、对方唯一标识符和摇一摇时间和时长发给服务器,表示要添加好友。对方如果也做类似的动作,则服务器判断两人加为好友。若有一方选择否,则加好友不成功。After detecting the shake message and receiving the shake data packet sent by other electronic cigarette smart modules or APPs, and detecting that the start and end time intervals of the shake sent by the other party are not much different from their own (the specific threshold can be determined by statistical experiments before leaving the factory. Generally speaking, the two intervals should have an intersection, and the intersection length can be set to 500ms), the electronic cigarette smart module lights up the screen and pops up a page to ask whether to add the other party as a friend. If the user chooses yes, the electronic cigarette smart module will send its own unique identifier, the other party's unique identifier, and the shake time and duration to the server, indicating that a friend is to be added. If the other party also makes a similar action, the server determines that the two are added as friends. If one party chooses no, adding a friend is unsuccessful.

根据不同的设置,摇一摇操作也可以不限于添加附近短距离内(对于蓝牙来说,则这个距离大概10米)的好友,而是可以扩大到更大的物理距离(比如500米或其他 距离)或整个运营平台。具体流程是:a)电子烟智能模块检测到摇一摇后,将摇一摇的起止时间和唯一标识符上传给APP;b)APP将这些数据以及GPS定位数据预处理后发给服务器;c)服务器根据收到的数据,判断给定距离内哪些人的摇一摇有时间上的交集,将有时间交集的人的用户名发给APP;d)APP收到服务器发来的数据包并转发给电子烟智能模块;e)电子烟智能模块显示给定距离内有哪些人同时操作了摇一摇,用户翻看这个人员列表,选择一个或几个添加好友,等待对方答复,对方若同意,则添加好友成功。对于e),用户也可以在APP上操作。Depending on the settings, the shake operation can be limited to adding friends within a short distance (for Bluetooth, this distance is about 10 meters), but can be expanded to a larger physical distance (such as 500 meters or more). distance) or the entire operating platform. The specific process is: a) After the electronic cigarette intelligent module detects the shake, it uploads the start and end time of the shake and the unique identifier to the APP; b) The APP pre-processes these data and GPS positioning data and sends them to the server; c) The server determines which people's shakes have time intersections within a given distance based on the received data, and sends the user names of the people with time intersections to the APP; d) The APP receives the data packet sent by the server and forwards it to the electronic cigarette intelligent module; e) The electronic cigarette intelligent module displays which people within a given distance have operated the shake at the same time. The user looks through the list of people, selects one or several to add as friends, and waits for the other party to reply. If the other party agrees, the friend is added successfully. For e), users can also operate on the APP.

注意,本功能需要向对方用户的APP或电子烟智能模块透露唯一标识符。虽然对方本人无法直接得知这个唯一标识符,但有心之人可以通过技术手段拿到该唯一标识符且可能将其用于非法目的,因此本申请在APP和电子烟智能模块上默认是关闭本功能的。当用户需要开启本功能时,会弹出一个页面告知用户风险所在,仅当用户知悉且同意时,才能开启本功能。Note that this function requires the disclosure of a unique identifier to the other user's APP or electronic cigarette smart module. Although the other party cannot directly know this unique identifier, someone with ulterior motives can obtain the unique identifier through technical means and may use it for illegal purposes. Therefore, this application turns off this function by default on the APP and electronic cigarette smart module. When the user needs to turn on this function, a page will pop up to inform the user of the risks. This function can only be turned on when the user is aware of and agrees.

3、通过距离传感器感应加好友3. Add friends through distance sensor

前提:电子烟智能模块配备了一个距离传感器,如TOF传感器或超声波传感器等。Prerequisite: The electronic cigarette smart module is equipped with a distance sensor, such as a TOF sensor or an ultrasonic sensor.

两个用户拿着各自的电子烟相互靠拢,让距离传感器对着对方的电子烟,则自己的距离传感器会检测到障碍物和对应的距离。Two users hold their own e-cigarettes and move close to each other, with the distance sensor facing each other's e-cigarettes. Then their own distance sensors will detect obstacles and corresponding distances.

当检测的距离小于某个阈值(比如3厘米)时,电子烟智能模块自身或通过APP向附近的电子烟智能模块或APP,通过蓝牙广播自己刚刚检测到的距离消息(内容包括距离数值、检测时间以及自己的唯一标识符等数据)。同时,它也会收到其他电子烟智能模块或APP发来的距离消息。When the detected distance is less than a certain threshold (such as 3 cm), the electronic cigarette smart module itself or through the APP broadcasts the distance message it has just detected (including distance value, detection time, and its own unique identifier and other data) to nearby electronic cigarette smart modules or APPs via Bluetooth. At the same time, it will also receive distance messages sent by other electronic cigarette smart modules or APPs.

检测到小于阈值的障碍物距离且收到其他电子烟智能模块或APP发来的距离消息后,且对方发来的距离检测时间与自己的差别不大(具体阈值可以在出厂前通过统计实验来确定,比如500ms),电子烟智能模块亮屏,弹出页面,是否添加对方为好友。如果用户选是,则电子烟智能模块会将自身唯一标识符、对方唯一标识符和距离检测时间和距离数值发给服务器,表示要添加好友。对方如果也做类似的动作,则服务器判断两人加为好友。若有一方选择否,则加好友不成功。After detecting an obstacle distance less than the threshold and receiving a distance message from other electronic cigarette smart modules or APPs, and the distance detection time sent by the other party is not much different from its own (the specific threshold can be determined by statistical experiments before leaving the factory, such as 500ms), the electronic cigarette smart module lights up the screen and pops up a page to ask whether to add the other party as a friend. If the user chooses yes, the electronic cigarette smart module will send its own unique identifier, the other party's unique identifier, the distance detection time and the distance value to the server, indicating that a friend is to be added. If the other party also makes a similar action, the server determines that the two are added as friends. If one party chooses no, adding a friend is unsuccessful.

注意,本功能需要向对方用户的APP或电子烟智能模块透露唯一标识符。虽然对方本人无法直接得知这个唯一标识符,但有心之人可以通过技术手段拿到该唯一标识符且可能将其用于非法目的,因此本申请在APP和电子烟智能模块上默认是关闭本功能的。当用户需要开启本功能时,会弹出一个页面告知用户风险所在,仅当用户知悉且同意时,才能开启本功能。 Note that this function requires the disclosure of a unique identifier to the other user's APP or electronic cigarette smart module. Although the other party cannot directly know this unique identifier, someone with ulterior motives can obtain the unique identifier through technical means and may use it for illegal purposes. Therefore, this application turns off this function by default on the APP and electronic cigarette smart module. When the user needs to turn on this function, a page will pop up to inform the user of the risks. This function can only be turned on when the user is aware of and agrees.

4、通过霍尔传感器感应加好友4. Add friends through Hall sensor

前提:电子烟智能模块配备了霍尔传感器和一块小磁铁,它们的优选布局是:霍尔传感器和小磁铁都安装在电子烟的正面(或都安装在背面),且它们俩的左右方向上是固定布局,例如霍尔传感器固定装置正面的左侧(或右侧),而小磁铁固定安装于右侧(或左侧)。为了方便不同型号的电子烟能够相互感应,霍尔传感器与小磁铁的间距应该较为固定,比如1.5厘米左右。Premise: The electronic cigarette smart module is equipped with a Hall sensor and a small magnet. Their preferred layout is: the Hall sensor and the small magnet are both installed on the front of the electronic cigarette (or both installed on the back), and they are fixed in the left and right directions, for example, the Hall sensor is fixed on the left side (or right side) of the front of the device, and the small magnet is fixed on the right side (or left side). In order to facilitate the mutual induction of different models of electronic cigarettes, the distance between the Hall sensor and the small magnet should be relatively fixed, such as about 1.5 cm.

两个用户拿着各自的电子烟相互靠拢,让安装有霍尔传感器的一面相互面对,这样每个电子烟的霍尔传感器都会检测到对方的小磁铁。Two users hold their e-cigarettes close to each other, with the sides equipped with Hall sensors facing each other, so that the Hall sensor of each e-cigarette will detect the other's small magnet.

当霍尔传感器检测到另一个电子烟的小磁铁后,电子烟智能模块自身或通过APP向附近的电子烟智能模块或APP,通过蓝牙广播自己刚刚检测到的磁铁检测消息(内容包括检测时间以及自己的唯一标识符等数据)。同时,它也会收到其他电子烟智能模块或APP发来的磁铁检测消息。When the Hall sensor detects another small magnet of an electronic cigarette, the electronic cigarette smart module itself or through the APP broadcasts the magnet detection message it has just detected (including the detection time and its own unique identifier and other data) to nearby electronic cigarette smart modules or APPs via Bluetooth. At the same time, it will also receive magnet detection messages sent by other electronic cigarette smart modules or APPs.

当电子烟智能模块收或APP自己检测到磁铁消息,在收到其他电子烟智能模块或APP发来的距离消息后,若对方发来的距离检测时间与自己的差别不大(具体阈值可以在出厂前通过统计实验来确定,比如500ms),电子烟智能模块亮屏,弹出页面,是否添加对方为好友。如果用户选是,则电子烟智能模块会将自身唯一标识符、对方唯一标识符和距离检测时间和距离数值发给服务器,表示要添加好友。对方如果也做类似的动作,则服务器判断两人加为好友。若有一方选择否,则加好友不成功。When the electronic cigarette smart module receives or the APP detects the magnet message, after receiving the distance message sent by other electronic cigarette smart modules or APPs, if the distance detection time sent by the other party is not much different from its own (the specific threshold can be determined by statistical experiments before leaving the factory, such as 500ms), the electronic cigarette smart module lights up the screen and pops up a page to ask whether to add the other party as a friend. If the user chooses yes, the electronic cigarette smart module will send its own unique identifier, the other party's unique identifier, the distance detection time and the distance value to the server, indicating that a friend is to be added. If the other party also makes a similar action, the server determines that the two are added as friends. If one party chooses no, adding a friend is unsuccessful.

注意,本功能需要向对方用户的APP或电子烟智能模块透露唯一标识符。虽然对方本人无法直接得知这个唯一标识符,但有心之人可以通过技术手段拿到该唯一标识符且可能将其用于非法目的,因此本申请在APP和电子烟智能模块上默认是关闭本功能的。当用户需要开启本功能时,会弹出一个页面告知用户风险所在,仅当用户知悉且同意时,才能开启本功能。Note that this function requires the disclosure of a unique identifier to the other user's APP or electronic cigarette smart module. Although the other party cannot directly know this unique identifier, someone with ulterior motives can obtain the unique identifier through technical means and may use it for illegal purposes. Therefore, this application turns off this function by default on the APP and electronic cigarette smart module. When the user needs to turn on this function, a page will pop up to inform the user of the risks. This function can only be turned on when the user is aware of and agrees.

7、校时7. Time calibration

电子烟智能模块的一些功能(比如碰一碰检测、电子烟智能模块屏幕上的表盘)非常依赖于时间的准确性,因此,它要经常进行校时。本发明会同时采用两种校时方案,如下所述:Some functions of the electronic cigarette smart module (such as touch detection and the dial on the screen of the electronic cigarette smart module) are very dependent on the accuracy of time, so it is necessary to calibrate the time frequently. The present invention will adopt two time calibration schemes at the same time, as described below:

1)电子烟智能模块每次与手机建立蓝牙通讯时,都要进行校时,使得时间与手机一致。此后,电子烟智能模块与手机要按照一定时间间隔(比如每5分钟一次)进行时间校准。1) Every time the electronic cigarette intelligent module establishes Bluetooth communication with the mobile phone, it must calibrate the time to make it consistent with the mobile phone. After that, the electronic cigarette intelligent module and the mobile phone must calibrate the time at a certain time interval (for example, once every 5 minutes).

2)由于不同用户可能处于不同时区或不同用户的手机时间有差别,他们的APP 之间或他们的电子烟智能模块之间进行通讯时,就会存在一些不方便。因此,本发明会根据运营方的服务器时间(采用国际标准时间,具体来说,是UTC/GMT+0时间),进行第二种校时。APP开启后第一次与服务器通信时,APP会根据服务器进行校时,并记录下手机的时间与服务器时间的差值,然后APP会把服务器时间传给电子烟智能模块,电子烟智能模块会记录下自身时间(这个时间与手机时间校准过)与服务器时间的差值。此后,每隔一定时间(如5分钟),APP都会与服务器进行校时。在涉及到一些与时间有重要关系的操作(如碰一碰检测、摇一摇等)时,服务器会综合考虑当前APP的时间、当前电子烟智能模块的时间以及服务器的时间。2) Since different users may be in different time zones or their mobile phone times may be different, their APP There will be some inconvenience when communicating between them or between their electronic cigarette intelligent modules. Therefore, the present invention will perform the second time calibration according to the operator's server time (using international standard time, specifically, UTC/GMT+0 time). When the APP communicates with the server for the first time after it is turned on, the APP will calibrate the time according to the server and record the difference between the mobile phone time and the server time. Then the APP will pass the server time to the electronic cigarette intelligent module, and the electronic cigarette intelligent module will record the difference between its own time (this time is calibrated with the mobile phone time) and the server time. Thereafter, the APP will calibrate the time with the server at regular intervals (such as 5 minutes). When it comes to some operations that are closely related to time (such as touch detection, shake, etc.), the server will comprehensively consider the current APP time, the current electronic cigarette intelligent module time and the server time.

8、重复连通时的数据上传8. Data upload during repeated connections

有时候,当电子烟智能模块正在与APP传输数据时,因为一些意外情况(比如蓝牙信号突然减弱、蓝牙连接突然断开、手机没电关机、电子烟没电关机等),数据传输会中断。为此,APP和电子烟智能模块都可以采取一些措施(比如将传输进度等数据保存至非易失性存储器中),当连接恢复时,可以从原来的进度位置继续上传。Sometimes, when the electronic cigarette intelligent module is transmitting data with the APP, the data transmission will be interrupted due to some unexpected circumstances (such as the Bluetooth signal suddenly weakened, the Bluetooth connection suddenly disconnected, the mobile phone is out of power and turned off, the electronic cigarette is out of power and turned off, etc.). To this end, both the APP and the electronic cigarette intelligent module can take some measures (such as saving the transmission progress and other data in non-volatile memory), and when the connection is restored, the upload can continue from the original progress position.

9、连接外部声音播放器9. Connect an external sound player

电子烟智能模块可以通过人机交互单元的耳机接口插接有线耳机,也可以通过无线通信模块连接无线耳机(例如蓝牙耳机),从而将声音用耳机而非扬声器的方式传递给用户。例如,当用户使用电子烟智能模块播放音乐时,用户并不想音乐声影响其他人(例如用户在地铁中),那么用户可以给电子烟智能模块连接一个蓝牙耳机或有线耳机。The electronic cigarette intelligent module can be connected to a wired headset through the headset interface of the human-computer interaction unit, or it can be connected to a wireless headset (such as a Bluetooth headset) through the wireless communication module, so that the sound is transmitted to the user through the headset instead of the speaker. For example, when the user uses the electronic cigarette intelligent module to play music, the user does not want the music to affect other people (such as the user in the subway), so the user can connect a Bluetooth headset or a wired headset to the electronic cigarette intelligent module.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内 存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中The steps of the methods or algorithms described in the embodiments disclosed herein may be implemented directly using hardware, software modules executed by a processor, or a combination of the two. The software modules may be placed in a random access memory (RAM), internal memory, or a processor. memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

一种基于电子烟的智能应用系统,其特征在于,包括智能电子烟、服务器以及安装于智能终端的电子烟应用APP,所述智能电子烟包括电子烟智能模块和无线通信模块;An intelligent application system based on an electronic cigarette, characterized in that it comprises an intelligent electronic cigarette, a server and an electronic cigarette application APP installed on an intelligent terminal, wherein the intelligent electronic cigarette comprises an electronic cigarette intelligent module and a wireless communication module; 所述电子烟智能模块通过所述无线通信模块与所述智能终端上的电子烟应用APP进行双向通信,所述电子烟应用APP通过公网与所述服务器通信连接;和/或The electronic cigarette intelligent module performs two-way communication with the electronic cigarette application APP on the intelligent terminal through the wireless communication module, and the electronic cigarette application APP is connected to the server through the public network; and/or 所述电子烟智能模块通过所述无线通信模块接入公网以直接与所述服务器通信;The electronic cigarette intelligent module is connected to the public network through the wireless communication module to directly communicate with the server; 其中,in, 所述电子烟智能模块包括主控单元、人机交互单元和应用功能单元,所述人机交互单元、应用功能单元和无线通信模块分别与所述主控单元连接。The electronic cigarette intelligent module comprises a main control unit, a human-computer interaction unit and an application function unit, and the human-computer interaction unit, the application function unit and the wireless communication module are respectively connected to the main control unit. 根据权利要求1所述的基于电子烟的智能应用系统,其特征在于,所述应用功能单元包括图像采集模块、指纹采集模块、NFC模块、测距模块、陀螺仪、定位模块、震动马达、霍尔传感器和磁铁、健康监测模块以及存储器之一或任意组合,所述图像采集模块、指纹采集模块、NFC模块、测距模块、陀螺仪、定位模块、震动马达、霍尔传感器、健康监测模块和存储器分别与所述主控单元连接。The electronic cigarette-based intelligent application system according to claim 1 is characterized in that the application function unit includes one or any combination of an image acquisition module, a fingerprint acquisition module, an NFC module, a ranging module, a gyroscope, a positioning module, a vibration motor, a Hall sensor and a magnet, a health monitoring module and a memory, and the image acquisition module, the fingerprint acquisition module, the NFC module, the ranging module, the gyroscope, the positioning module, the vibration motor, the Hall sensor, the health monitoring module and the memory are respectively connected to the main control unit. 根据权利要求1或2所述的基于电子烟的智能应用系统,其特征在于,所述无线通信模块包括蓝牙芯片、WiFi芯片、移动通信器件和卫星通信器件之一或任意组合,所述蓝牙芯片、WiFi芯片、移动通信器件和卫星通信器件分别与所述主控单元连接。The electronic cigarette-based intelligent application system according to claim 1 or 2 is characterized in that the wireless communication module includes one or any combination of a Bluetooth chip, a WiFi chip, a mobile communication device and a satellite communication device, and the Bluetooth chip, the WiFi chip, the mobile communication device and the satellite communication device are respectively connected to the main control unit. 根据权利要求1或2所述的基于电子烟的智能应用系统,其特征在于,所述人机交互单元包括触控屏、拾音器、扬声器和耳机接口,所述触控屏、拾音器、扬声器和耳机接口分别与所述主控单元连接。The electronic cigarette-based intelligent application system according to claim 1 or 2 is characterized in that the human-computer interaction unit includes a touch screen, a microphone, a speaker and an earphone interface, and the touch screen, the microphone, the speaker and the earphone interface are respectively connected to the main control unit. 一种权利要求1-4任一项所述的基于电子烟的智能应用系统的控制方法,其特征在于,所述方法包括如下步骤:A control method for an electronic cigarette-based intelligent application system according to any one of claims 1 to 4, characterized in that the method comprises the following steps: 基于所述电子烟智能模块的唯一标识码按照预设的绑定方式将所述智能电子烟与所述电子烟应用APP建立绑定关系;Establishing a binding relationship between the smart electronic cigarette and the electronic cigarette application APP based on the unique identification code of the electronic cigarette smart module in a preset binding manner; 基于所述智能电子烟与所述电子烟应用APP之间建立的绑定关系,通过所述电子烟应用APP对所述智能电子烟进行目标应用功能管理,其中,Based on the binding relationship established between the smart electronic cigarette and the electronic cigarette application APP, the target application function management of the smart electronic cigarette is performed through the electronic cigarette application APP, wherein: 所述目标应用功能包括:The target application functions include: 对所述智能电子烟进行加锁保护、查看所述智能电子烟的使用状态信息、按照需求对所述智能电子烟进行应用功能属性设置、对所述智能电子烟进行定位和追踪、与所述智能电子烟进行智能交互、对所述智能电子烟进行社交功能管理、对所述智能电子烟进行辅助功能参数设置,以及通过所述智能电子烟接打电话。 Lock and protect the smart electronic cigarette, view the usage status information of the smart electronic cigarette, set the application function attributes of the smart electronic cigarette as needed, locate and track the smart electronic cigarette, interact with the smart electronic cigarette intelligently, manage the social functions of the smart electronic cigarette, set auxiliary function parameters of the smart electronic cigarette, and make and receive calls through the smart electronic cigarette. 根据权利要求5所述的基于电子烟的智能应用系统的控制方法,其特征在于,所述基于所述电子烟智能模块的唯一标识码按照预设的绑定方式将所述智能电子烟与所述电子烟应用APP建立绑定关系包括:The control method of the electronic cigarette-based intelligent application system according to claim 5 is characterized in that the establishing of a binding relationship between the intelligent electronic cigarette and the electronic cigarette application APP according to a preset binding method based on the unique identification code of the electronic cigarette intelligent module comprises: 通过所述电子烟应用APP获取所述电子烟智能模块的唯一标识码,其中,所述唯一标识码由全局唯一标识码和电子烟智能模块的产品生产信息按照预设的组合方式组合而成;Obtaining a unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP, wherein the unique identification code is composed of a global unique identification code and product production information of the electronic cigarette intelligent module in a preset combination mode; 通过所述电子烟应用APP判断所述电子烟智能模块的唯一标识码的合法性;Determine the legitimacy of the unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP; 当所述电子烟应用APP判断所述电子烟智能模块的唯一标识码合法,通过所述电子烟应用APP将所述电子烟应用APP的当前用户身份ID和所述唯一标识码采用预设的加解密算法进行加密,得到加密数据包,并将所述加密数据包发送至所述服务器;When the electronic cigarette application APP determines that the unique identification code of the electronic cigarette intelligent module is legal, the electronic cigarette application APP encrypts the current user ID of the electronic cigarette application APP and the unique identification code using a preset encryption and decryption algorithm to obtain an encrypted data packet, and sends the encrypted data packet to the server; 通过所述服务器采用预设的加解密算法对所述加密数据包进行解密,得到所述电子烟应用APP的当前用户身份ID和所述唯一标识码;The server uses a preset encryption and decryption algorithm to decrypt the encrypted data packet to obtain the current user ID and the unique identification code of the electronic cigarette application APP; 通过所述服务器进一步判断所述电子烟智能模块的唯一标识码的合法性;Further determining the legitimacy of the unique identification code of the electronic cigarette intelligent module through the server; 当所述服务器判断所述电子烟智能模块的唯一标识码合法,通过所述服务器获取所述唯一标识码的历史绑定信息;When the server determines that the unique identification code of the electronic cigarette intelligent module is legal, the historical binding information of the unique identification code is obtained through the server; 通过所述服务器基于所述电子烟应用APP的当前用户身份ID、所述唯一标识码和所述唯一标识码的历史绑定信息,按照预设的绑定流程建立所述电子烟应用APP的当前用户身份ID和所述唯一标识码之间的绑定关系。The server establishes a binding relationship between the current user identity ID of the electronic cigarette application APP and the unique identification code according to a preset binding process based on the current user identity ID of the electronic cigarette application APP, the unique identification code and the historical binding information of the unique identification code. 根据权利要求6所述的基于电子烟的智能应用系统的控制方法,其特征在于,所述通过所述电子烟应用APP获取所述电子烟智能模块的唯一标识码包括:The control method based on the electronic cigarette intelligent application system according to claim 6 is characterized in that the obtaining of the unique identification code of the electronic cigarette intelligent module through the electronic cigarette application APP comprises: 通过所述电子烟应用APP扫描所述智能电子烟外壳上的或所述智能电子烟的电子烟智能模块开机后在屏幕上显示的二维码或条形码,或者将所述智能电子烟外壳上的数字串或所述智能电子烟的电子烟智能模块开机后在屏幕上显示的数字串输入到所述电子烟应用APP中,得到所述电子烟智能模块的唯一标识码;Scan the QR code or barcode on the shell of the smart electronic cigarette or displayed on the screen after the smart module of the smart electronic cigarette is turned on through the electronic cigarette application APP, or input the digital string on the shell of the smart electronic cigarette or the digital string displayed on the screen after the smart module of the smart electronic cigarette is turned on into the electronic cigarette application APP to obtain the unique identification code of the electronic cigarette smart module; 或者or 在所述电子烟智能模块上电后,所述电子烟智能模块自动发出一个蓝牙连接标识信号,其中,所述蓝牙连接标识信号携带有所述电子烟智能模块的蓝牙连接标识符;After the electronic cigarette intelligent module is powered on, the electronic cigarette intelligent module automatically sends a Bluetooth connection identification signal, wherein the Bluetooth connection identification signal carries the Bluetooth connection identifier of the electronic cigarette intelligent module; 用户在安装有所述电子烟应用APP的智能终端上打开蓝牙连接开关;The user turns on the Bluetooth connection switch on the smart terminal installed with the electronic cigarette application APP; 用户在安装有所述电子烟应用APP的智能终端上搜索所述电子烟智能模块的蓝牙连接标识符,并发起连接和配对;The user searches for the Bluetooth connection identifier of the electronic cigarette smart module on the smart terminal installed with the electronic cigarette application APP, and initiates connection and pairing; 当所述电子烟应用APP与电子烟智能模块的蓝牙配对连接后,所述电子烟智能模 块将内部储存的所述唯一标识码发送给所述电子烟应用APP。When the electronic cigarette application APP is paired with the Bluetooth of the electronic cigarette intelligent module, the electronic cigarette intelligent module The block sends the unique identification code stored internally to the electronic cigarette application APP. 根据权利要求5-7任一项所述的基于电子烟的智能应用系统的控制方法,其特征在于,所述对所述智能电子烟进行加锁保护包括:The control method of the intelligent application system based on the electronic cigarette according to any one of claims 5 to 7 is characterized in that the locking protection of the intelligent electronic cigarette comprises: 用户在所述电子烟应用APP上进入加锁保护功能页面,点击加锁保护按钮以启动电子烟加锁保护功能,其中,在电子烟加锁保护功能开启时,所述智能电子烟的雾化器处于锁定状态;The user enters the lock protection function page on the electronic cigarette application APP and clicks the lock protection button to start the electronic cigarette lock protection function, wherein when the electronic cigarette lock protection function is turned on, the atomizer of the smart electronic cigarette is in a locked state; 所述电子烟应用APP监听是否接收到解锁请求;The electronic cigarette application APP monitors whether an unlock request is received; 当所述电子烟应用APP接收到解锁请求时,判断所述解锁请求携带的解锁信息是否满足预设条件;When the electronic cigarette application APP receives an unlock request, it determines whether the unlock information carried in the unlock request meets a preset condition; 当所述解锁请求携带的解锁信息满足预设条件时,所述电子烟应用APP发送解锁指令至所述电子烟智能模块;When the unlocking information carried by the unlocking request meets the preset conditions, the electronic cigarette application APP sends an unlocking instruction to the electronic cigarette intelligent module; 通过所述电子烟智能模块根据所述解锁指令生成电子烟启动触发信号,以控制所述智能电子烟的雾化器解锁进入正常工作模式。The electronic cigarette intelligent module generates an electronic cigarette start trigger signal according to the unlocking instruction to control the atomizer of the intelligent electronic cigarette to unlock and enter a normal working mode. 根据权利要求5-7任一项所述的基于电子烟的智能应用系统的控制方法,其特征在于,所述与所述智能电子烟进行智能交互包括在所述电子烟应用APP上发起智能问答的交互流程和在所述智能电子烟上发起智能问答的交互流程,其中,The control method of the intelligent application system based on electronic cigarette according to any one of claims 5 to 7 is characterized in that the intelligent interaction with the intelligent electronic cigarette includes initiating an interactive process of intelligent question and answer on the electronic cigarette application APP and initiating an interactive process of intelligent question and answer on the intelligent electronic cigarette, wherein: 在所述电子烟应用APP上发起智能问答的交互流程如下:The interactive process of initiating intelligent question and answer on the electronic cigarette application APP is as follows: 用户在电子烟应用APP上进入智能问答交互页面,点击智能问答按钮以开启智能问答交互流程;The user enters the smart question and answer interaction page on the e-cigarette application APP and clicks the smart question and answer button to start the smart question and answer interaction process; 用户在电子烟应用APP上输入问题内容;The user enters the question content on the e-cigarette application APP; 电子烟应用APP对输入的问题内容进行预处理形成问题数据包,并将所述问题数据包发送至所述服务器;The electronic cigarette application APP pre-processes the input question content to form a question data packet, and sends the question data packet to the server; 服务器调用相应的人工智能模型对所述问题数据包进行分析处理得到应答数据包,并将所述应答数据包发送至电子烟应用APP;The server calls the corresponding artificial intelligence model to analyze and process the problem data packet to obtain a response data packet, and sends the response data packet to the electronic cigarette application APP; 电子烟应用APP对所述应答数据包进行解析得到问题答案,并将所述问题答案展示在所述智能问答交互页面上;The electronic cigarette application APP parses the response data packet to obtain the answer to the question, and displays the answer to the question on the intelligent question-answering interactive page; 在所述智能电子烟上发起智能问答的交互流程如下:The interactive process of initiating intelligent question and answer on the intelligent electronic cigarette is as follows: 建立电子烟应用APP与所述智能电子烟的电子烟智能模块之间的无线通信连接;Establishing a wireless communication connection between the electronic cigarette application APP and the electronic cigarette intelligent module of the intelligent electronic cigarette; 用户在智能电子烟的触控屏上点击智能问答按钮或按压智能电子烟上的智能问答物理按键,以开启智能问答流程;The user clicks the smart question and answer button on the touch screen of the smart electronic cigarette or presses the smart question and answer physical button on the smart electronic cigarette to start the smart question and answer process; 用户通过所述智能电子烟的人机交互模块输入问题内容; The user inputs the question content through the human-computer interaction module of the smart electronic cigarette; 智能电子烟的电子烟智能模块将输入的问题内容发送至电子烟应用APP;The electronic cigarette intelligent module of the smart electronic cigarette sends the input question content to the electronic cigarette application APP; 电子烟应用APP对所述问题内容进行预处理形成问题数据包,并将所述问题数据包发送至所述服务器;The electronic cigarette application APP pre-processes the problem content to form a problem data packet, and sends the problem data packet to the server; 服务器调用相应的人工智能模型对所述问题数据包进行分析处理得到应答数据包,并将所述应答数据包发送至电子烟应用APP;The server calls the corresponding artificial intelligence model to analyze and process the problem data packet to obtain a response data packet, and sends the response data packet to the electronic cigarette application APP; 电子烟应用APP对所述应答数据包进行解析得到问题答案,并将所述问题答案发送给所述电子烟智能模块,以通过所述电子烟智能模块展示所述问题答案。The electronic cigarette application APP parses the response data packet to obtain the answer to the question, and sends the answer to the electronic cigarette intelligent module to display the answer to the question through the electronic cigarette intelligent module. 根据权利要求5-7任一项所述的基于电子烟的智能应用系统的控制方法,其特征在于,所述对所述智能电子烟进行社交功能管理包括:The control method of the intelligent application system based on the electronic cigarette according to any one of claims 5 to 7 is characterized in that the social function management of the intelligent electronic cigarette comprises: 共享吸烟地点:用户通过所述电子烟应用APP发布吸烟地点共享信息,其中,所述吸烟地点共享信息包括如下信息之一或任意组合:Sharing smoking locations: Users publish smoking location sharing information through the electronic cigarette application APP, wherein the smoking location sharing information includes one or any combination of the following information: 吸烟地点位置信息、开放时间、周边描述信息、吸烟地点照片、吸烟地点视频;Location information, opening hours, surrounding description information, photos and videos of smoking places; 好友设置:用户通过所述电子烟应用APP对好友功能进行个性化设置,其中所述个性化设置至少包括如下一项:Friend settings: Users personalize the friend function through the electronic cigarette application APP, where the personalized settings include at least one of the following: 是否愿意被别人添加好友;Are you willing to be added as a friend by others? 是否允许别人用手机号/用户名/吸食的电子烟类型/区域搜索方式添加好友;Whether to allow others to add friends by mobile phone number/user name/type of e-cigarette smoked/region search method; 朋友圈权限设置;Friends circle permission settings; 期待的好友属性设置,其中,所述好友属性包括年龄、性别、学历、电子烟爱好之一或任意组合;Expected friend attribute settings, wherein the friend attributes include one or any combination of age, gender, education level, and e-cigarette hobbies; 添加好友:用户通过在所述电子烟应用APP中输入目标好友的属性信息添加目标好友,其中,所述属性信息包括手机号、用户名、所在区域、兴趣爱好和爱好的电子烟的特征之一或任意组合;Adding friends: The user adds a target friend by inputting the target friend's attribute information in the electronic cigarette application APP, wherein the attribute information includes one or any combination of mobile phone number, user name, location, hobbies and favorite electronic cigarette characteristics; 线上会议预定:用户通过所述电子烟应用APP预定线上会议,并把预定会议的会议号和会议连接发给其他安装有所述电子烟应用APP的目标人员;Online meeting reservation: The user reserves an online meeting through the electronic cigarette application APP, and sends the meeting number and meeting link of the scheduled meeting to other target persons who have installed the electronic cigarette application APP; 文件共享:用户通过所述电子烟应用APP将待分享文件传输至目标对象或目标存储空间。 File sharing: The user transfers the file to be shared to the target object or target storage space through the electronic cigarette application APP.
PCT/CN2024/072008 2024-01-10 2024-01-12 Electronic cigarette-based intelligent application system and control method therefor Pending WO2025148003A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410041910.8 2024-01-10
CN202410041910.8A CN117652732A (en) 2024-01-10 2024-01-10 Intelligent application system based on electronic cigarette and control method thereof

Publications (1)

Publication Number Publication Date
WO2025148003A1 true WO2025148003A1 (en) 2025-07-17

Family

ID=90075259

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/072008 Pending WO2025148003A1 (en) 2024-01-10 2024-01-12 Electronic cigarette-based intelligent application system and control method therefor

Country Status (2)

Country Link
CN (1) CN117652732A (en)
WO (1) WO2025148003A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117652732A (en) * 2024-01-10 2024-03-08 东莞网途希技术有限公司 Intelligent application system based on electronic cigarette and control method thereof
EP4625067A1 (en) * 2024-03-27 2025-10-01 Philip Morris Products S.A. Verifying a device time value by satellite signal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140107815A1 (en) * 2011-09-14 2014-04-17 The Safe Cig, Llc Electronically augmented container for storing and interfacing with vapor delivery devices
CN106880084A (en) * 2017-03-27 2017-06-23 云南中烟工业有限责任公司 A kind of Intelligent electronic cigarette system and its control method based on radio communication
CN107018490A (en) * 2017-03-20 2017-08-04 常州市派腾电子技术服务有限公司 Electronic cigarette management method, mobile terminal and electronic cigarette
WO2023085974A1 (en) * 2021-11-09 2023-05-19 Плонк Дмсс Smart system for combating nicotine dependence
WO2023096530A1 (en) * 2021-11-26 2023-06-01 Плонк Дмсс Electronic cigarette
CN117652732A (en) * 2024-01-10 2024-03-08 东莞网途希技术有限公司 Intelligent application system based on electronic cigarette and control method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140107815A1 (en) * 2011-09-14 2014-04-17 The Safe Cig, Llc Electronically augmented container for storing and interfacing with vapor delivery devices
CN107018490A (en) * 2017-03-20 2017-08-04 常州市派腾电子技术服务有限公司 Electronic cigarette management method, mobile terminal and electronic cigarette
US20200093180A1 (en) * 2017-03-20 2020-03-26 Changzhou Patent Electronic Technology Co., Ltd. Electronic cigarette management method, mobile terminal and electronic cigarette
CN106880084A (en) * 2017-03-27 2017-06-23 云南中烟工业有限责任公司 A kind of Intelligent electronic cigarette system and its control method based on radio communication
WO2023085974A1 (en) * 2021-11-09 2023-05-19 Плонк Дмсс Smart system for combating nicotine dependence
WO2023096530A1 (en) * 2021-11-26 2023-06-01 Плонк Дмсс Electronic cigarette
CN117652732A (en) * 2024-01-10 2024-03-08 东莞网途希技术有限公司 Intelligent application system based on electronic cigarette and control method thereof

Also Published As

Publication number Publication date
CN117652732A (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN105009556B (en) Intention engine for the enhancing response in interactive remote communication
WO2025148003A1 (en) Electronic cigarette-based intelligent application system and control method therefor
CN104767807B (en) A kind of information transmitting methods and relevant device based on wearable device
CN109698856A (en) Secure Device-to-Device Communication Channel
US10205814B2 (en) Wireless earpiece with walkie-talkie functionality
US20150135284A1 (en) Automatic electronic device adoption with a wearable device or a data-capable watch band
US20150196057A1 (en) Electronic atomization device
US20120317024A1 (en) Wearable device data security
US20150137994A1 (en) Data-capable band management in an autonomous advisory application and network communication data environment
CN109791762A (en) Noise reduction for voice interface devices
CN106504390A (en) Door lock control method, device and system
CN206948586U (en) A kind of intelligent sound box equipment
TWI574256B (en) Interactive beat effect system and method for processing interactive beat effect
WO2021179821A1 (en) Intelligent application system for electronic cigarette, and control method therefor
CN107562952A (en) The method, apparatus and terminal that music matching plays
CN108574515A (en) A data sharing method, device and system based on smart speaker equipment
CN105075173A (en) Secure data sharing with publicly accessible computing nodes
CN118945564A (en) Noise Cancelling Interruptions on Audio Devices
WO2015178070A1 (en) Information processing system, storage medium, and information processing method
CN113555134B (en) A medical message processing system and method, storage medium and electronic device
EP2718805A1 (en) Wearable device data security
CN111599134A (en) Status reminder, setting method and system, smart wearable device and mobile terminal
CN112305927A (en) Equipment control method and device
CN113342095A (en) Intelligent mirror control system based on raspberry group
CN114495921A (en) A voice processing method, device and computer storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24916072

Country of ref document: EP

Kind code of ref document: A1