WO2023045588A1 - 一种气溶胶生成装置、终端及其配对方法 - Google Patents

一种气溶胶生成装置、终端及其配对方法 Download PDF

Info

Publication number
WO2023045588A1
WO2023045588A1 PCT/CN2022/110299 CN2022110299W WO2023045588A1 WO 2023045588 A1 WO2023045588 A1 WO 2023045588A1 CN 2022110299 W CN2022110299 W CN 2022110299W WO 2023045588 A1 WO2023045588 A1 WO 2023045588A1
Authority
WO
WIPO (PCT)
Prior art keywords
aerosol generating
generating device
terminal
pairing
paired
Prior art date
Application number
PCT/CN2022/110299
Other languages
English (en)
French (fr)
Inventor
邱伟华
Original Assignee
常州市派腾电子技术服务有限公司
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 常州市派腾电子技术服务有限公司 filed Critical 常州市派腾电子技术服务有限公司
Publication of WO2023045588A1 publication Critical patent/WO2023045588A1/zh

Links

Images

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/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/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/65Devices with integrated communication means, e.g. wireless communication means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M11/00Sprayers or atomisers specially adapted for therapeutic purposes
    • A61M11/04Sprayers or atomisers specially adapted for therapeutic purposes operated by the vapour pressure of the liquid to be sprayed or atomised

Definitions

  • the invention belongs to the field of aerosol generating device control, and in particular relates to an aerosol generating device, a terminal and a matching method thereof.
  • Aerosol generating devices including baking equipment, atomizing equipment, or drug smoking devices, usually smoke shredded tobacco by roasting it, or heat and atomize liquid or pasty substances such as medicine and smoke liquid to produce gas
  • the sol or smoke is for users to inhale. Since the smoke emitted by the aerosol generating device is not directly burned by an open flame like tobacco, it avoids the generation of smoke tar and many harmful particles, so the application of the aerosol generating device is popularized. With the advancement of medical technology, some drugs can be dissolved It is made into a liquid and atomized for absorption and use, so the drug smoking device is gradually applied.
  • the invention provides an aerosol generating device, a terminal and a pairing method thereof, which are used to solve the problem in the prior art that it is difficult for the aerosol generating device to prevent teenagers from being contacted by the user end.
  • the basic solution of the present invention is: a terminal control method paired with an aerosol generating device, comprising the following steps:
  • the selected aerosol generating device If the selected aerosol generating device is not paired with other terminals, send a pairing request signal to the aerosol generating device, and receive a confirmation pairing signal sent by the aerosol generating device to complete the pairing.
  • the aerosol generating device will send information with its own identification to all terminals within its coverage.
  • the terminal will receive the identification sent by all aerosol generating devices within the communication range, and display the identifications of all aerosol generating devices that meet the preset conditions; then select the identification of the aerosol generating device; according to The identification determines whether the corresponding aerosol generating device has been paired with other terminals, so as to ensure that the paired aerosol generating device is not paired with other terminals, and the paired aerosol generating device and the terminal are unique to each other.
  • the terminal is set up, and the remote control of the aerosol generating device is realized through the unique cooperation with the aerosol generating device. Even if teenage users come into contact with the aerosol generating device, the user can still remotely control the aerosol generating device to avoid misuse by young people.
  • the displaying the identifications of all aerosol generating devices meeting the preset conditions includes the following steps:
  • the logo of the aerosol generating device displays a first display state
  • the logo of the aerosol generating device displays a second display state.
  • the identification of the aerosol generating device is displayed separately, so that the user can judge whether the corresponding aerosol generating device has been matched with the current aerosol generating device. Terminal pairing to avoid repeated pairing.
  • the pairing information is sent to the server, and the server stores the pairing information, and the pairing information includes the identification of the paired aerosol generating device and the identification of the current terminal paired with the aerosol generating device.
  • the receiving the pairing request instruction and displaying the identifications of all the aerosol generating devices meeting the preset conditions includes the following steps:
  • the aerosol generating device If the aerosol generating device is turned on, when a reconnection instruction is received, the main interface is displayed;
  • the aerosol generating device when receiving a pairing request instruction, display the identifications of all aerosol generating devices meeting the preset conditions.
  • the aerosol generating device is prohibited from lighting a cigarette to output.
  • the terminal When the terminal disconnects the wireless connection with the aerosol generating device, the terminal receives a wireless connection disconnection notification, and records the location information of the terminal at this time.
  • the terminal displays real-time positioning information of the terminal
  • the aerosol generating device and the terminal are automatically wirelessly reconnected.
  • the aerosol generating device When the terminal receives a device search instruction, the aerosol generating device sends out prompt information.
  • the aerosol generating device When the terminal receives an instruction to search for equipment, but the aerosol generating device does not issue a prompt message,
  • the terminal displays all location information of the terminal when the current terminal is disconnected from the aerosol generating device.
  • the present invention also provides a method for controlling an aerosol generating device paired with a terminal, comprising the following steps:
  • the aerosol generating device is used to send an identification to the terminal, so that the terminal that receives the pairing request instruction displays the identifications of all aerosol generating devices that meet the preset conditions;
  • the selected aerosol generating device If the selected aerosol generating device is not paired with other terminals other than the current terminal, receive the pairing information sent by the terminal, and send a pairing confirmation signal to the terminal, so that the terminal can receive the aerosol generation
  • the pairing confirmation signal sent by the device is used to complete the pairing; the selected aerosol generating device is the aerosol generating device that has received the pairing confirmation signal sent by the terminal.
  • the present invention also provides a terminal paired with an aerosol generating device, including:
  • a pairing request unit configured to receive a pairing request instruction
  • a display unit configured to display the identifications of all aerosol generating devices meeting preset conditions
  • the logo selection unit is used to receive and select instructions for the logo of the aerosol generating device
  • the first control unit is configured to prohibit pairing of the aerosol generating device with the current terminal if the selected aerosol generating device has been paired with other terminals, and if the selected aerosol generating device is not paired with other terminals
  • For pairing send a pairing request signal to the aerosol generating device through the first signal transceiving unit, and receive a confirmation pairing signal sent by the aerosol generating device through the first signal transceiving unit to complete the pairing.
  • the present invention also provides an aerosol generating device paired with a terminal, including:
  • the identification sending unit has the ability to send the identification to the terminal
  • the pairing verification unit if the aerosol generating device is already paired with other terminals, prohibits the aerosol generating device from pairing with the terminal; if the aerosol generating device is not paired with other terminals, then through the second
  • the signal transceiving unit receives the pairing request signal sent by the terminal, and sends a pairing confirmation signal to the terminal.
  • the present invention also provides a terminal, including a memory and a processor
  • the memory is used to store executable program code
  • the processor is used to call the executable program code in the memory, and execute any one of the above-mentioned terminal control methods paired with the aerosol generating device.
  • the present invention also provides an aerosol generating device, which is characterized in that it includes a memory and a processor;
  • the memory is used to store executable program code
  • the processor is used to call the executable program code in the memory to execute the above-mentioned method for controlling the aerosol generating device paired with the terminal.
  • Fig. 1 is a flow chart of a terminal control method paired with an aerosol generating device provided in the first embodiment of the present invention
  • Fig. 2 is the flowchart after the execution of step S103 in Fig. 1;
  • Fig. 3 is a flow chart of a method for controlling an aerosol generating device paired with a terminal provided in the second embodiment of the present invention
  • FIG. 4 is a block diagram of a terminal paired with an aerosol generating device provided in the third embodiment of the present invention.
  • FIG. 5 is a block diagram of an aerosol generating device paired with a terminal provided in the fourth embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal provided in a fifth embodiment of the present invention.
  • Fig. 7 is a schematic structural diagram of an aerosol generating device provided by the sixth embodiment of the present invention.
  • a server is a computer or device that provides and manages network resources on the network
  • a terminal may refer to various types of devices, including (but not limited to) wireless phones, wireless communication personal computers, multimedia wireless devices, external or internal modem, etc.
  • a terminal may be any data device that communicates with an aerosol-generating device and/or a server via a wireless channel and/or via a wired channel (eg, fiber optic or coaxial cable).
  • a terminal may have many names such as mobile station, mobile device, mobile unit, mobile phone, remote station, remote terminal, remote unit, hand-held device, and the like. Different terminals can be incorporated into one system, terminals can be mobile or fixed, and can be dispersed throughout a communication network.
  • the first embodiment of the present invention provides a terminal control method paired with an aerosol generating device, and the terminal control method is applied to terminal control.
  • the terminal control method includes: receiving a pairing request instruction, and displaying the logos of all aerosol generating devices that meet the preset conditions; receiving an instruction to select the logo of the aerosol generating device; if the selected aerosol generating device has been connected with other terminal pairing, prohibit the aerosol generating device from pairing with the current terminal; if the selected aerosol generating device is not paired with other terminals, send a pairing request signal to the aerosol generating device and receive the aerosol generating device A confirmation pairing signal sent by the sol generating device to complete the pairing.
  • receiving an instruction to select an aerosol generating device identifier refers to receiving an instruction to select one of the aerosol generating device identifiers satisfying a preset condition.
  • prohibiting the pairing of the aerosol generating device with the current terminal means that if the selected aerosol generating device identifies the corresponding aerosol If the aerosol generating device has been paired with a terminal other than the current terminal, the pairing of the aerosol generating device with the current terminal is prohibited.
  • the selected aerosol generating device is not paired with other terminals, it means
  • the selected aerosol generating device identifies that the corresponding aerosol generating device has been paired with a terminal other than the current terminal.
  • the aerosol generating device will send information with its own identification to all terminals within its coverage.
  • the terminal will receive the identifications sent by all aerosol generating devices within the communication range, and display the identifications of all aerosol generating devices that meet the preset conditions; then the user selects the identification of the aerosol generating device; According to the identification, it is judged whether the corresponding aerosol generating device has been paired with other terminals other than the current terminal, so as to ensure that the paired aerosol generating device is not paired with other terminals, and the paired aerosol generating device and the terminal are unique to each other.
  • the unique cooperation with the aerosol generating device is realized, preventing the situation that teenagers use other terminals to pair with the aerosol generating device for inhalation.
  • S101 Receive a pairing request instruction, and display the identifications of all aerosol generating devices meeting preset conditions.
  • step S101 includes the following two steps:
  • the source of the pairing request instruction is generated by the terminal; for example, the user presses the connection button of the terminal, and after the connection button is triggered, the terminal receives the pairing request instruction.
  • the setting here is: all aerosol generating devices will send identifications to all terminals within their own communication range, so each terminal will receive the identifications sent by all aerosol generating devices within its own communication range. That is to say, there are multiple identifiers received by the terminal, and each identifier represents an aerosol generating device.
  • the first round of screening is performed on these identifications, that is, those that meet the preset conditions among all the identifications of the aerosol generating devices received by the terminal itself are displayed, and then the identifications of the screened aerosol generating devices are screened. show.
  • the preset conditions are conditions set by the user (such as communication range limitation), and different users can set different preset conditions according to their own preferences and needs.
  • the preset condition refers to that the server reads out the identity mark and sends the identification signal to the terminal, specifically, each aerosol generating device has one identity mark, and each identity mark They are all pre-stored in the server.
  • the terminal searches for all the identities within the surrounding communication range, and sends the searched identities to the server.
  • the server recognizes the identities, it will send the identities to the terminal.
  • Identity mark the identity mark also refers to the identity of the aerosol generating device, in a specific embodiment, the identity mark is a string of decimal numbers, or a string of binary numbers, or a string of ASCII codes, etc. limited.
  • the preset condition cannot be changed after step S101-1 is executed.
  • step 101-2 includes the following steps: if the aerosol generating device is in a pairing state with the current terminal, the logo of the aerosol generating device displays the first display state; if the aerosol generating device If both the aerosol generating device and the current terminal are in an unpaired state, the logo of the aerosol generating device displays a second display state.
  • the logo of the aerosol generating device is displayed separately, so that the user can judge whether the corresponding aerosol generating device has been paired with the current terminal through the display status of the logo of the aerosol generating device, Avoid duplicate pairings.
  • step S101 includes the following steps: S101-3, after the aerosol generating device disconnects the wireless connection with the current terminal, if the aerosol generating device is in the power-on state, when receiving the reconnection When the command is issued, the main interface is displayed; if the aerosol generating device is turned off, when the pairing request command is received, step S101-2 is executed, that is, the identifications of all aerosol generating devices meeting the preset conditions are displayed.
  • the terminal sends a reconnection instruction to the aerosol generating device. If the aerosol generating device is turned on, the aerosol generating device will send a confirmation pairing signal back to the terminal after receiving the reconnection instruction, so that the terminal can complete the re-pairing after receiving the pairing confirmation signal.
  • the terminal will display the main interface, which is used for the user to remotely control the aerosol generating device to execute the corresponding operations of the various instructions in the main interface.
  • S102 Receive an instruction for selecting an aerosol generating device identifier.
  • the source of the instruction for selecting the logo of the aerosol generating device is generated by the user through the terminal, and the implementation process of step S102 is that the user sees the logos of all aerosol generating devices connected to the terminal after going through step 101, and then By means of inputting/pressing, etc., a selection instruction is issued, and the selection instruction is an instruction to select all the identifications of the aerosol generating devices received by the terminal.
  • the aerosol generating device sends a pairing request signal, and receives a confirmation pairing signal sent by the aerosol generating device to complete the pairing.
  • step S102 if the aerosol generating device selected in step S102 has been paired with other terminals, prohibit the pairing of the aerosol generating device with the current terminal; delete the identification of the aerosol generating device, and return to step S102. If the aerosol generating device selected in step S102 is not paired with other terminals, then send a pairing request signal to the aerosol generating device; A communication connection is established between the generating devices, so that the terminal can remotely control the aerosol generating device.
  • step S103 when step S103 is executed, the following steps are further included: when the selected aerosol generating device is in a pairing state with the current terminal, enter the main interface; when the selected aerosol generating device When the device is not paired with the current terminal, it sends a pairing request signal to the aerosol generating device, and receives a confirmation pairing signal sent by the aerosol generating device to complete the pairing.
  • the selected aerosol generating device refers to the aerosol generating device selected in step S102
  • the selected aerosol generating device refers to the aerosol generating device selected
  • the aerosol generating device and the current terminal are in a pairing state" means that the pairing between the terminal and the aerosol generating device is completed, and then a communication network is established, and the terminal can remotely control the aerosol generating device.
  • the terminal will display the main interface, which is used for the user to remotely control the aerosol generating device to execute the corresponding operations of the instructions in the main interface.
  • the selected aerosol generating device is in an unpaired state with the current terminal means that the terminal has not completed the pairing process with the aerosol generating device, and the subsequent "send to the aerosol generating device pairing request signal, and receive the confirmation pairing signal sent by the aerosol generating device to complete the pairing” means to execute the execution between the terminal and the aerosol generating device, that is, the content of the original step S103 above.
  • step S104 is also executed.
  • the pairing information is sent to the server, and the server stores the pairing information, and the pairing information includes the identification of the paired aerosol generating device and the identification of the current terminal.
  • each terminal has a unique terminal identifier
  • each aerosol generating device also has a unique aerosol generating device identifier; the identifier of the paired aerosol generating device has been sent to the paired terminal, then the paired The terminal will have the identification of the paired terminal and the identification of the aerosol generating device at the same time.
  • Each terminal sends the identification of the paired aerosol generating device and the identification of the current terminal to the server for storage.
  • the current terminal can find out from the server whether it is pairing with other terminals according to the identification of the aerosol generating device, so that in step S103 "the selected aerosol generating device has been paired with other terminals" and " The selected aerosol generating device is not paired with other terminals".
  • step S105 is also executed. Step S105, calculating the relative distance between the currently paired terminal and the aerosol generating device, if the relative distance exceeds a preset threshold, or if the aerosol generating device disconnects the wireless connection with the current terminal, prohibit the aerosol generating device from The smoke output of the sol generating device.
  • the way of "calculating the relative distance between the currently paired terminal and the aerosol generating device” is to calculate the RSSI value of the confirmation pairing signal sent by the aerosol generating device, so as to calculate the distance between the terminal and the aerosol generating device.
  • the "preset threshold” is usually pre-set. It can be an unchangeable value set by the designer, or a changeable value input by the user. The preset threshold is usually smaller than the current terminal and the gas.
  • the RSSI value Receiveived Signal Strength Indication
  • the RSSI value refers to the received strength value of the Bluetooth feedback signal.
  • the RSSI value indicates the distance between the signal point and the receiving point measured by the strength of the received signal, and then the positioning calculation is performed based on the corresponding data.
  • the terminal is equipped with a BLE Bluetooth chip (such as CC2540), and the positioning engine of the BLE Bluetooth chip uses the RSSI value to detect the distance between the terminal and the aerosol generating device.
  • the aerosol generating device According to the relative distance between the terminal and the body of the aerosol generating device, whether the aerosol generating device enters the self-locking mode is controlled.
  • the aerosol generating device enters the self-locking mode, that is, in this mode, the aerosol generating device always stops the cigarette output. It is realized that when the distance between the user carrying the terminal and the corresponding aerosol generating device exceeds, if the user forgets the aerosol generating device paired with the terminal, the terminal controls the self-locking of the aerosol generating device paired with the terminal to avoid unrelated personnel Use an aerosol generating device.
  • step S106 when the terminal disconnects the wireless connection with the aerosol generating device, the terminal receives a wireless connection disconnection notification, and records the location information of the terminal at this time. It is beneficial for the staff to judge the location of the aerosol generating device previously connected to the terminal by checking whether to reconnect after returning the positioning information, so as to facilitate the retrieval of the aerosol generating device.
  • the terminal has a built-in positioning component, which is optionally a Beidou positioning component or a GPS positioning component. After positioning, the positioning component sends the position information to the first control unit of the terminal.
  • step S107 is also executed.
  • the terminal displays real-time location information of the terminal, and when the actual relative distance between the aerosol generating device and the terminal is less than or equal to a preset threshold, the first control unit controls the aerosol generating device and The terminal automatically reconnects wirelessly.
  • step S108 is also executed. Step S108, when the terminal receives a device search instruction, the aerosol generating device sends a prompt message.
  • the source of the "search device instruction" in “the terminal receives the device search instruction” is usually triggered by the user by pressing a button for the terminal to obtain.
  • the specific process of the realization of step S108 is: the terminal receives the command to find the device, and then sends the corresponding control command to the aerosol generating device paired with it.
  • the control command is related to the "find device command”, and then the The aerosol generating device receives the control instruction, and sends out prompt information by itself.
  • the user can press the button that can trigger the search device command through the terminal, and the aerosol generating device connected to the terminal will prompt, so that the user can find the location of the aerosol generating device connected to the current terminal, and avoid forgetting the aerosol generating device.
  • the "device” in “the terminal receives an instruction to search for a device” refers to an aerosol generating device.
  • step S109 is also executed.
  • Step S109 when the terminal receives an instruction to search for equipment, but the aerosol generating device does not send out a prompt message, if it receives an instruction to view historical location information, the terminal displays all the information of the current terminal and the aerosol generating device The location information of the terminal when the wireless connection is disconnected.
  • the source of the "find device command” is triggered by the user using the button on the terminal;
  • the terminal gives feedback, or the command sent by the terminal to the aerosol generating device fails to communicate successfully (such as the aerosol generating device does not receive the command, the aerosol generating device is closed, the signal receiving part of the aerosol generating device is broken, the aerosol generating device failure of the communication connection with the current terminal, etc.);
  • the source of the "instruction to view historical location information” is triggered by the user using a button on the terminal, or by the aforementioned "when the terminal receives the instruction to find the device, but The aerosol generating device did not issue a prompt message "automatically triggered.
  • the aerosol generating device does not receive effective feedback during the execution phase of the search device command, and it will further display that all the current terminals are disconnected from the aerosol generating device under the control of the viewing history positioning command
  • the location information of the terminal at that time is used for the user to find the location information of the lost connection with the aerosol generating device, so as to facilitate the user to find the forgotten aerosol generating device.
  • this step S109 is often performed together with step S108 and/or step S107.
  • the present invention provides a method for controlling an aerosol generating device paired with a terminal, as shown in FIG. 3 , comprising the following steps:
  • the aerosol generating device is configured to send an identification to a terminal, so that the terminal receiving the pairing request instruction displays the identifications of all aerosol generating devices meeting preset conditions.
  • the aerosol generating device will send its own identity to all terminals within its own communication range.
  • the user can initiate a pairing request signal through the terminal, and the terminal sends the pairing request signal to the aerosol generating device through the network.
  • the aerosol generating device receives the pairing request signal sent by the terminal.
  • the format of the pairing request signal will include information representing the unique identity of the terminal. For example, each terminal has a unique client number, and the pairing request signal includes the client number corresponding to the sent terminal.
  • Step S202 is specifically, "the aerosol generating device selected by the terminal” refers to the aerosol generating device that can receive the pairing request signal sent by the terminal, that is, the aerosol generating device receives the pairing request signal sent by the terminal. request signal, it will send a confirmation pairing signal to the terminal according to the pairing situation between itself and other terminals to complete the pairing. To ensure that the aerosol generating device is uniquely paired with the terminal.
  • the terminal When in use, the terminal sends a pairing request signal in the following situations:
  • connection button of the terminal presses the connection button of the terminal, and when the connection button is triggered, the terminal sends a pairing request signal; if the connection button is not triggered, the terminal does not send a pairing request signal.
  • the body of the aerosol generating device is provided with a positioning module, and the positioning module sends out the current position information at all times.
  • the terminal receives the current position information sent by the body of the aerosol generating device, and combines the position of the terminal itself to calculate the distance between the terminal and The distance k between the aerosol generating device bodies, if the distance k is less than the preset distance value k', the terminal will send a pairing request signal outward; if the distance k is greater than or equal to the preset distance value k', the terminal will not Send a pairing request signal.
  • the positioning module in the aerosol generating device body uses the GPRS positioning module for positioning, and the obtained positioning information is B, and the position of the terminal itself is also positioned through the GPRS positioning module, and the positioning information is A; , use the self-positioning information A and the positioning information B of the aerosol generating device body to calculate the distance
  • the value k' is compared to control whether the terminal sends a pairing request signal to the aerosol generating device corresponding to the location information B of the aerosol generating device body.
  • the positioning module in the aerosol generating device body is always working, and the aerosol generating device body will send positioning information B to all nearby terminals; the preset distance k' cannot be changed, and the manufacturing of the terminal /Preset by the designer; the format of positioning information A and positioning information B is longitude, latitude, and altitude, and the value of
  • the essence is that when the distance k between the terminal and the aerosol generating device reaches the communication distance (ie, the preset distance k'), the terminal actively sends a pairing request signal for communication connection to the aerosol generating device. It is beneficial for the terminal to leave the communication distance and then return to the communication distance to communicate with the aerosol generating device again.
  • step S202 may also be: S202-1, acquire the pairing request signal sent by the terminal; S202-2, compare the pairing request signal with the preset standard application information; When the pairing request signal is consistent with the standard application information, send a confirmation pairing signal representing successful pairing to the terminal, so that the terminal receives the confirmation pairing signal sent by the aerosol generating device to complete the pairing; the standard application information is the first connection The pairing request signal sent by the terminal.
  • the terminal that connects to the main body of the aerosol generating device for the first time is set as the client corresponding to the standard application information of the aerosol generating device; the user establishes a communication connection with the main body of the aerosol generating device through the terminal, and the pairing request sent by the terminal
  • the signal is consistent with the standard application information stored in the aerosol generating device body
  • it is determined that the current terminal is the terminal bound to the aerosol generating device body, and then sends a confirmation pairing signal to the terminal for feedback, so that the terminal receives the aerosol generating device body.
  • the main body of the aerosol generating device can identify whether the terminal currently sending the pairing request signal is matched with this machine, and has an automatic matching function, which prevents teenagers from using other people's terminals to control the main body of the aerosol generating device, and further prevents young users from using aerosols by mistake.
  • the condition of the generating device is not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to control the main body of the aerosol generating device.
  • S202-2-2 use the pairing request signal received in S1 as standard application information, and execute S202-2-3;
  • step S202-2-2 the terminal connected to the aerosol generating device body for the first time is set as the terminal corresponding to the standard application information of the aerosol generating device body, that is, the aerosol generating device body receives the pairing information sent by the terminal.
  • the terminal connected to the aerosol generating device body for the first time is set as the terminal corresponding to the standard application information of the aerosol generating device body, that is, the aerosol generating device body receives the pairing information sent by the terminal.
  • step S202 subsequent terminals that want to establish a communication connection with the main body of the aerosol generating device need to perform identity verification in steps S202-2-3 and S202-2-4, since the pairing request signal contains Therefore, the example realizes the locking of the communication connection between the terminal and the aerosol generating device. That is, only the specified terminal can establish a communication connection with the aerosol generating device body, and the specified terminal is the terminal corresponding to the standard application information.
  • step S203 is performed when the aerosol generating device and the terminal are successfully paired and a communication connection is established in step S202. Also include the following:
  • the aerosol generating device body calculates the relative distance h between itself and the terminal according to the RSSI value of the signal received by itself, and when the distance exceeds the preset distance value h', controls the aerosol generating device to maintain Cigarette lighting output interrupt status.
  • the RSSI value is used to calculate the distance between the aerosol generating device body and the terminal, and then control whether the aerosol generating device is lit according to the distance, so that the distance between the terminal and the aerosol generating device body exceeds the preset
  • the aerosol generating device automatically switches to the self-locking mode, that is, the cigarette lighting module of the aerosol generating device is always closed.
  • the aerosol generating device According to the distance between the terminal and the body of the aerosol generating device, it is controlled whether the aerosol generating device enters the self-locking mode.
  • the aerosol generating device enters the self-locking mode, that is, in this mode, the aerosol generating device always stops the output of cigarette lighting. It is realized that when the distance between the user carrying the terminal and the corresponding aerosol generating device exceeds, if the user forgets the aerosol generating device, the aerosol generating device will be self-locked to prevent unrelated personnel from using the aerosol generating device.
  • the way for the aerosol generating device to send out the prompt information may be to activate the alarm unit on the aerosol generating device, or to collect the location information of the aerosol generating device and send it to the current terminal.
  • the method of calculating the relative distance between the aerosol generating device body and the terminal is the same as in the above step S203-1.
  • the distance d between the aerosol generating device and the terminal is calculated by the RSSI value of the control command sent by the terminal.
  • the alarm frequency of the control alarm unit is specifically: the alarm module includes at least one of an LED indicator light, a vibration motor or a buzzer, the higher the alarm frequency of the alarm module, the faster the flashing of the LED indicator light, that is The time interval between two adjacent lightings is shortened, the operating frequency of the vibration motor is higher, the vibration frequency of the aerosol generating device body becomes faster, and the time interval between two sounds of the buzzer is shorter.
  • the alarm frequency of the alarm unit changes with the relative distance.
  • the user of this solution can simply and conveniently calculate the distance between the current terminal and the aerosol generating device body by specifying the alarm frequency of the alarm module.
  • the user can activate the positioning unit of the aerosol generating device through the operation module of the terminal, collect the positioning information B of the location of the aerosol generating device body, and then send the positioning information B to the terminal for display.
  • the user of the handheld terminal it is beneficial for the user of the handheld terminal to find the corresponding aerosol generating device body; on the other hand, it is also beneficial for the user to know the location of the aerosol generating device.
  • the manner in which the terminal displays the positioning information B may be to directly display the latitude, longitude and altitude of the positioning information B, or to directly mark the position corresponding to the positioning information B on a pre-stored map.
  • the aerosol generating device when the connection between the aerosol generating device and the terminal is disconnected, stores the positioning information of its own location, so that it will be convenient for later communication between the aerosol generating device body and the terminal when the communication connection is re-established.
  • step S204 after step S202 is OK, acquire the attitude information of the aerosol generating device, and control the alarm unit to stop the alarm when the attitude information changes.
  • the essence of the posture change is that the user touches the body of the aerosol generating device and changes the posture of the aerosol generating device. At this time, there is a high probability that the user has found the body of the aerosol generating device, so the alarm unit can be controlled to stop the alarm.
  • the reference numerals in accompanying drawing 4 are terminal 30, aerosol generating device 31, server 32, pairing request unit 301, display unit 302, identification selection unit 303, first control unit 304, first signal transceiving unit 305, second A calculation unit 306 , a first positioning unit 307 , and an operation unit 308 .
  • a terminal paired with an aerosol generating device as shown in FIG. 4 , includes:
  • a pairing request unit 301 configured to receive a pairing request instruction
  • a display unit 302 configured to display the identifications of all aerosol generating devices 31 that meet the preset conditions
  • a logo selection unit 303 configured to receive and select an instruction for the logo of the aerosol generating device
  • the first control unit 304 is configured to prohibit pairing of the aerosol generating device 31 with the current terminal 30 if the selected aerosol generating device 31 has been paired with other terminals, and if the selected aerosol generating device 31 is not paired with other terminals 30, then send a pairing request signal to the aerosol generating device 31 through the first signal transceiving unit 305, and receive the confirmation pairing signal sent by the aerosol generating device 31 through the first signal transceiving unit 305 to complete the pairing.
  • the first control unit 304 is further configured to control the first signal transceiving unit 305 to send the pairing information to the server 32 after the pairing is completed, and the pairing information includes the paired aerosol generating device ID and the ID of the current terminal .
  • the first control unit 304 is further configured to control the first computing unit 306 to start after the pairing is completed;
  • the first calculation unit 306 is configured to calculate the relative distance between the currently paired terminal and the aerosol generating device
  • the first control unit 304 is also used to control the first transceiver unit 305 to send the aerosol generating device 305 to the aerosol generating
  • the device 31 sends a control command representing the prohibition of cigarette lighting, so that the aerosol generating device 31 prohibits the output of cigarette lighting.
  • the first control module 304 is also configured to automatically reconnect the aerosol generating device 31 with the terminal 30 when the relative distance sent by the first calculating unit 306 is less than or equal to a preset threshold.
  • the aerosol generating device 31 and the terminal 30 are automatically wirelessly reconnected, which may be to control the first transceiver unit 305 to send a pairing request signal to the aerosol generating device 31 .
  • the first control unit 304 is further configured to, after the pairing is completed, when the terminal 30 disconnects the wireless connection with the aerosol generating device 31, the terminal 30 receives a wireless connection disconnection notification, and controls the first A positioning unit 307 starts;
  • the first positioning unit 307 is configured to locate the terminal 30 where it is located, and obtain positioning information.
  • the display unit 302 is also configured to display the positioning information sent by the first positioning unit 307 .
  • the first control unit 304 is further configured to control the first transceiver unit 305 to send a message representing "search device command" to the aerosol generating device when the first transceiver unit 305 senses the search device command after the pairing is completed. Control instruction.
  • the first control unit 304 controls the first transceiving unit 305 to send a control command representing "search device command" to the aerosol generating device
  • the first transceiving unit 305 receives a feedback that the aerosol generating device 31 has not issued a prompt message
  • control the display unit 302 to terminally display the location information of the first location unit 307 when all the current terminals 30 and the aerosol generating device 31 are disconnected from the wireless connection.
  • an operation unit 308 is further included, and the operation unit is configured to send a control instruction representing a "search device instruction" to the first transceiving unit 305 .
  • this embodiment is an embodiment of the device corresponding to the first embodiment, and this embodiment can be implemented in cooperation with the first embodiment.
  • the relevant technical details mentioned in the first embodiment are still valid in this embodiment, and will not be repeated here in order to reduce repetition.
  • the relevant technical details mentioned in this implementation manner can also be applied in the first implementation manner.
  • modules involved in this embodiment are logical modules.
  • a logical unit can be a physical unit, or a part of a physical unit, or multiple physical units. Combination of units.
  • units that are not closely related to solving the technical problems proposed by the present invention are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
  • aerosol generating device 40 terminal 41, identification sending unit 401, pairing verification unit 402, second signal transceiving unit 403, second control unit 405, second computing unit 406, alarm unit 407 , a second positioning unit 408 , and an attitude sensing unit 409 .
  • the fourth embodiment of the present invention provides an aerosol generating device paired with a terminal, as shown in FIG. 5 , including:
  • the identification sending unit 401 is capable of sending the identification to the terminal 41;
  • the pairing verification unit 402 if the aerosol generating device 40 has been paired with other terminals 41, prohibit the pairing of the aerosol generating device 40 with the terminal 41; if the aerosol generating device 40 is paired with other terminals 41 If not paired, the pairing request signal sent by the terminal 41 is received through the second signal transceiving unit 403, and a pairing confirmation signal is sent to the terminal 41;
  • the second control unit 405 is configured to perform corresponding actions according to the control execution sent by the first transceiver unit of the paired terminal 41 and received by the second transceiver unit 403 .
  • a second calculation unit 406 is also included;
  • the second calculation unit 406 is used to calculate the relative distance to the terminal according to the RSSI value of the pairing request signal of the terminal 41, or according to the RSSI value of the control command sent by the terminal through the operation module;
  • the second control unit 405 is configured to receive the relative distance sent by the second computing unit 406, and if the relative distance exceeds the preset threshold, or the aerosol generating device 40 disconnects the wireless connection with the current terminal 41, prohibit The aerosol generating device 40 lights a cigarette and outputs, and the aerosol generating device 40 stops smoking and outputting.
  • an alarm unit 407 and a second positioning unit 408 are also included;
  • the second control unit 405 is configured to control the activation of the alarm unit 407 according to the control instruction received by the second transceiver unit 403, and the second transceiver unit 403 sends the positioning information detected by the second positioning unit 408 to the paired terminal.
  • attitude sensing unit 409 is also included.
  • the second control unit 405 is configured to control the start of the attitude sensing unit 409 after the start of the control alarm unit 407, and control the turn off of the alarm unit 407 when the attitude information sent by the attitude sensing unit 409 changes.
  • this embodiment is a device embodiment corresponding to the second embodiment, and this embodiment can be implemented in cooperation with the second embodiment.
  • the relevant technical details mentioned in the second embodiment are still valid in this embodiment, and will not be repeated here to reduce repetition.
  • the relevant technical details mentioned in this embodiment mode can also be applied in the second embodiment mode.
  • modules involved in this embodiment are logical modules.
  • a logical unit can be a physical unit, or a part of a physical unit, or multiple physical units. Combination of units.
  • units that are not closely related to solving the technical problems proposed by the present invention are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
  • the communication between the first transceiver unit of the terminal and the second transceiver unit of the aerosol generating device body adopts Bluetooth communication; when producing the aerosol generating device, a Bluetooth module is added or an integrated device with a Bluetooth module is used. MCU.
  • the fifth embodiment of the present invention also provides a terminal, including a memory 501 and a processor 502; the memory 501 is used to store executable program code; and the processor 502 is used to call the The executable program code executes the terminal control method paired with the aerosol generating device in the first embodiment.
  • the memory 502 and the processor 501 are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors 501 and various circuits of the memory 502 together.
  • the bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein.
  • the bus interface provides an interface between the bus and the transceivers.
  • a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium.
  • the data processed by the processor 501 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 501 .
  • Processor 501 is responsible for managing the bus and general processing, and may also provide various functions including timing, peripheral interface, voltage regulation, power management and other control functions. And the memory 502 may be used to store data used by the processor 501 when performing operations.
  • the sixth embodiment of the present invention provides an aerosol generating device, including a memory 601 and a processor 602; the memory 601 is used to store executable program code; and the processor 602 is used to call all The executable program code is used to execute the method for controlling the aerosol generating device paired with the terminal described in the second embodiment.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Anesthesiology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Hematology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供气溶胶生成装置控制领域,针对气溶胶生成装置难以从用户端杜绝青少年接触的问题,提出一种气溶胶生成装置、终端及其配对方法,所述与气溶胶生成装置配对的终端控制方法,包括以下步骤:接收配对请求指令,并显示所有满足预设条件的气溶胶生成装置的标识;接收选择气溶胶生成装置标识的指令;如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对;如果被选择的所述气溶胶生成装置与其它终端未配对,则向所述气溶胶生成装置发送配对请求信号,并接收所述气溶胶生成装置发送的确认配对信号以完成配对。

Description

一种气溶胶生成装置、终端及其配对方法 技术领域
本发明属于气溶胶生成装置控制领域,具体涉及一种气溶胶生成装置、终端及其配对方法。
背景技术
气溶胶生成装置,包括烘烤型设备、雾化设备或药物发烟装置,通常是将烟丝烘烤出烟雾,或将液体物质或膏状物质如药物、烟液等经过加热雾化而发出气溶胶或烟雾供用户吸食使用。由于气溶胶生成装置发出的烟雾不像烟草那样由明火直接燃烧发出,避免了烟焦油和很多有害颗粒的产生,故气溶胶生成装置的应用受到普及,随着医疗技术的进步,部分药物可溶解成药液并进行雾化后吸收使用,故药物发烟装置也逐渐得到应用。
现有的气溶胶生成装置,通常只是单一使用,气溶胶生成装置的控制和管理,集中于气溶胶生成装置本身内部的控制单元,用户在使用中可以得到的气溶胶生成装置的使用信息很少,更不能对其进行多样化的个性设置和使用限制。随着气溶胶生成装置的推广,越来越多的人群均可以接触到气溶胶生成装置,尽管政策、销售渠道上可以杜绝青少年购买气溶胶生成装置,但是当成年用户家里有青少年时,如何在用户端杜绝青少年接触气溶胶生成装置产品是继续解决的问题。
发明内容
本发明提供一种气溶胶生成装置、终端及其配对方法,用于解决现有技术中,气溶胶生成装置难以从用户端杜绝青少年接触的问题。
本发明的基础方案是:一种与气溶胶生成装置配对的终端控制方法,包括以下步骤:
接收配对请求指令,并显示所有满足预设条件的气溶胶生成装置的标识;
接收选择气溶胶生成装置标识的指令;
如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对;
如果被选择的所述气溶胶生成装置与其它终端未配对,则向所述气溶胶生成装置发送配 对请求信号,并接收所述气溶胶生成装置发送的确认配对信号以完成配对。
有益效果:本方案中,气溶胶生成装置会向自身所覆盖范围内的所有终端均发送带有自身标识的信息。对于单个终端而言,终端会接收到通信范围内所有气溶胶生成装置所发送的标识,并将所有满足预设条件的气溶胶生成装置的标识显示出来;随后选择气溶胶生成装置的标识;根据该标识判断对应的气溶胶生成装置是否已经和其他终端配对,从而保证配对的气溶胶生成装置未与其他终端配对,配对的气溶胶生成装置与终端相互唯一。本方案设置终端,通过与气溶胶生成装置的唯一性配合实现,对于气溶胶生成装置的远程控制。即便青少年用户接触到气溶胶生成装置,用户仍然可以远程遥控该气溶胶生成装置,避免青少年误用。
进一步,所述显示所有满足预设条件的气溶胶生成装置的标识,包括以下步骤:
如果所述气溶胶生成装置与当前终端正处于配对状态,则所述气溶胶生成装置的标识显示第一显示状态;
如果所述气溶胶生成装置与当前终端均处于非配对状态,则所述气溶胶生成装置的标识显示第二显示状态。
有益效果:通过根据气溶胶生成装置的配对状态,将气溶胶生成装置的标识分别进行显示,使得用户可以通过气溶胶生成装置的标识显示状况,来判断对应的气溶胶生成装置是不是已经与当前终端配对,避免重复配对。
进一步,在所述接收选择气溶胶生成装置标识的指令之后,包括以下步骤;
当被选择的所述气溶胶生成装置与当前终端正处于配对状态,则进入主界面;
当被选择的所述气溶胶生成装置与当前终端处于非配对状态,则向所述气溶胶生成装置发送配对请求信号,并接收所述气溶胶生成装置发送的确认配对信号以完成配对。
进一步,在所述完成配对之后,还包括以下步骤:
将配对信息发送给服务器,服务器存储所述配对信息,所述配对信息包括配对的所述气溶胶生成装置标识以及与所述气溶胶生成装置配对的所述当前终端的标识。
进一步,所述接收配对请求指令,并显示所有满足预设条件的气溶胶生成装置的标识,包括以下步骤:
当所述气溶胶生成装置与当前终端断开无线连接后,
如果所述气溶胶生成装置处于开机状态,则当接收重新连接指令时,则显示主界面;
如果所述气溶胶生成装置处于关机状态,则当接收配对请求指令时,并显示所有满足预设条件的气溶胶生成装置的标识。
进一步,还包括以下步骤:
计算当前终端与所述当前终端配对的所述气溶胶生成装置的相对距离;
如果所述相对距离超出预设的阈值,或者所述气溶胶生成装置与所述当前终端断开无线连接,则禁止所述气溶胶生成装置点烟输出。
进一步,还包括以下步骤:
当所述终端与所述气溶胶生成装置断开无线连接时,所述终端接收断开无线连接通知,并记录此时所述终端的定位信息。
进一步,还包括以下步骤:
所述终端显示所述终端的实时定位信息;
当所述所述气溶胶生成装置与所述终端的实际相对距离小于或者等于预设阈值时,所述气溶胶生成装置与所述终端重新自动无线连接。
进一步,还包括以下步骤:
当所述终端接收查找设备指令时,所述气溶胶生成装置发出提示信息。
进一步,还包括以下步骤:
当所述终端接收查找设备指令时,但所述气溶胶生成装置未发出提示信息时,
如果接收到查看历史定位信息指令,则终端显示所有所述当前终端与所述气溶胶生成装置断开无线连接时的所述终端的定位信息。
本发明还提供一种与终端配对的气溶胶生成装置控制方法,包括以下步骤:
所述气溶胶生成装置用于向终端发送标识,以供收到配对请求指令的终端显示所有满足预设条件的气溶胶生成装置的标识;
如果被选择的所述气溶胶生成装置已经与当前终端以外的其它终端配对,则禁止所述气溶胶生成装置与所述当前终端配对;
如果被选择的所述气溶胶生成装置与当前终端以外的其它终端未配对,接收所述终端发 送的配对信息,并向所述终端发送配对确认信号,以供所述终端接收所述气溶胶生成装置发送的确认配对信号以完成配对;所述被选择的气溶胶生成装置是收到所述终端发送的确认配对信号的气溶胶生成装置。
本发明还提供一种与气溶胶生成装置配对的终端,包括:
配对请求单元,用于接收配对请求指令;
显示单元,用于显示所有满足预设条件的气溶胶生成装置的标识;
标识选择单元,用于接收、选择气溶胶生成装置标识的指令;
第一控制单元,用于如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对,如果被选择的所述气溶胶生成装置与其它终端未配对,则通过第一信号收发单元向所述气溶胶生成装置发送配对请求信号,并通过第一信号收发单元接收所述气溶胶生成装置发送的确认配对信号以完成配对。
本发明还提供一种与终端配对的的气溶胶生成装置,包括:
标识发送单元,拥有向终端发送标识;
配对验证单元,如果所处的气溶胶生成装置已经与其他终端配对,则禁止所述气溶胶生成装置与所述终端配对;如果所处的气溶胶生成装置与其它终端未配对,则通过第二信号收发单元接收所述终端所发送的配对请求信号,并向所述终端发送配对确认信号。
本发明还提供一种终端,包括存储器及处理器;
所述存储器用于存储可执行程序代码;以及,
所述处理器用于调用所述存储器中的所述可执行程序代码,执行如上述任意一项与气溶胶生成装置配对的终端控制方法。
本发明还提供一种气溶胶生成装置,其特征在于,包括存储器及处理器;
所述存储器用于存储可执行程序代码;以及
所述处理器用于调用所述存储器中的所述可执行程序代码,执行上述的与终端配对的气溶胶生成装置控制方法。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定。
图1为本发明第一实施方式所提供的一种与气溶胶生成装置配对的终端控制方法的流程图;
图2为图1中步骤S103执行后的流程图;
图3为本发明第二实施方式所提供的一种与终端配对的气溶胶生成装置控制方法的流程图;
图4为本发明第三实施方式所提供的一种与气溶胶生成装置配对的终端的模块示意图;
图5为本发明第四实施方式所提供的一种与终端配对的的气溶胶生成装置的模块示意图;
图6为本发明第五实施方式所提供的一种终端的结构示意图;
图7为本发明第六实施方式所提供一种气溶胶生成装置的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。
在本发明中,服务器是在网络上提供、管理网络资源的一个计算机或设备,终端可指各种类型的装置,包括(但不限于)无线电话、无线通信个人计算机、多媒体无线装置、外部或内部调制解调器等。终端可为任何经由无线信道和/或经由有线信道(例如,光线或同轴电缆)与气溶胶生成装置和/或服务器通信的数据装置。终端可具有多种名称,例如移动台、移动装置、移动单元、移动电话、远程站、远程终端机、远程单元、手持式装置等。不同终端可并入一个系统中,终端可为移动的或固定的,且可分散遍及一个通信网络。
第一实施方式:
本发明的第一实施方式提供一种与气溶胶生成装置配对的终端控制方法,该终端控制方法应用于终端的控制。
所述终端控制方法包括:接收配对请求指令,并显示所有满足预设条件的气溶胶生成装置的标识;接收选择气溶胶生成装置标识的指令;如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对;如果被选择的所述气溶胶生成装置与其它终端未配对,则向所述气溶胶生成装置发送配对请求信号,并接收所述气溶胶生 成装置发送的确认配对信号以完成配对。
需要说明的是,接收选择气溶胶生成装置标识的指令是指接收选择所述所有满足预设条件的气溶胶生成装置标识中的一个的指令。
需要说明的是,如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对是指如果被选择的所述气溶胶生成装置标识所对应的气溶胶生成装置已经与当前终端以外的其它终端配对,则禁止所述气溶胶生成装置与所述当前终端配对。
需要说明的是,如果被选择的所述气溶胶生成装置与当其它终端未配对,是指
如果被选择的所述气溶胶生成装置标识所对应的气溶胶生成装置已经与当前终端以外的其它终端配对。
气溶胶生成装置会向自身所覆盖范围内的所有终端均发送带有自身标识的信息。对于单个终端而言,终端会接收到通信范围内所有气溶胶生成装置所发送的标识,并将所有满足预设条件的气溶胶生成装置的标识显示出来;随后用户选择气溶胶生成装置的标识;根据该标识判断对应的气溶胶生成装置是否已经和当前终端以外的其他终端配对,从而保证配对的气溶胶生成装置未与其他终端配对,配对的气溶胶生成装置与终端相互唯一。通过设置终端,与气溶胶生成装置的唯一性配合实现,防止出现青少年用其它终端配对该气溶胶生成装置进行抽吸的情况。
下面对本实施方式的种与气溶胶生成装置配对的终端控制方法的实现细节进行具体的说明,如图1和图2所示,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须,本实施方式应用于与气溶胶生成装置配对的终端。
包括以下步骤:
S101,接收配对请求指令,并显示所有满足预设条件的气溶胶生成装置的标识。
具体而言,步骤S101的执行包括如下两个步骤:
S101-1,接收配对请求指令。
该步骤S101-1中,配对请求指令的来源是终端所产生的;例如,用户按下终端的连接按键,连接按键被触发后,终端遂接收到配对请求指令。
S101-2,显示所有满足预设条件的气溶胶生成装置的标识。
这里设定是:所有的气溶胶生成装置都会向自身通信范围内的所有终端发送标识,故,每一个终端均会接收到自身通信范围内的所有气溶胶生成装置所发送的标识。也就是说,终端所收到的标识具有多个,且每个标识代表了一个气溶胶生成装置。该步骤S101-2,对这些标识进行首轮筛选,即显示出终端自身所接收到的所有气溶胶生成装置的标识中符合预设条件的这些,随后将筛选出的气溶胶生成装置的标识进行显示。值得注意的是,预设条件为用户自行设定的条件(如通信范围限制),不同的用户可以根据自身偏好和需求设置不同的预设条件。在一个实施方式中,所述预设条件指的是服务器读出身份标识并发送给终端识别信号,具体为,每个气溶胶生成装置均带有一个所述身份标识,每个所述身份标识均在服务器中预先存储,在配对时,终端搜寻周围通信范围内的所有身份标识,并将搜寻到的所述身份标识发送给服务器,当服务器识别出该身份标识,则才会向终端发送该身份标识,所述身份标识也指气溶胶生成装置的标识,在一个具体实施方式中,所述身份标识为一串十进制数值号码,或者一串二进制数字号码,或者一串ASCII码等等并不限定。且该预设条件在步骤S101-1执行后不可更改。
在一些示例中,步骤101-2的执行,包括以下步骤:如果所述气溶胶生成装置与当前终端正处于配对状态,则所述气溶胶生成装置的标识显示第一显示状态;如果所述气溶胶生成装置与当前终端均处于非配对状态,则所述气溶胶生成装置的标识显示第二显示状态。
通过根据气溶胶生成装置的配对状态,将气溶胶生成装置的标识分别进行显示,使得用户可以通过气溶胶生成装置的标识显示状况,来判断对应的气溶胶生成装置是不是已经与当前终端配对,避免重复配对。
在一些示例中,步骤S101的执行,包括以下步骤:S101-3,当所述气溶胶生成装置与当前终端断开无线连接后,如果所述气溶胶生成装置处于开机状态,则当接收重新连接指令时,则显示主界面;如果所述气溶胶生成装置处于关机状态,则当接收配对请求指令时,并执行S101-2步骤,即,显示所有满足预设条件的气溶胶生成装置的标识。
该示例中,“所述气溶胶生成装置”与“当前终端”之间配对后通信连接的,在连接断开后,终端向所述气溶胶生成装置发送重新连接指令。气溶胶生成装置若处于开机状态,则气溶胶生成装置接收到重新连接指令后,向终端反馈发送确认配对信号,以供终端收到该确认配对信号后,重新配对完成。终端与所述气溶胶生成装置之间的通信连接重新建立时,终 端则会显示出主界面,该主界面用于供用户远程控制气溶胶生成装置执行主界面中各个指令的对应操作。
S102,接收选择气溶胶生成装置标识的指令。
具体而言,选择气溶胶生成装置标识的指令的来源是用户通过终端所产生,步骤S102的实现过程是,用户在经过步骤101后看到所有与该终端连接的气溶胶生成装置的标识,随后通过输入/按压等等方式,发出选择的指令,该选择的指令是对所在终端所接收到的所有气溶胶生成装置的标识进行选择的指令。
S103,如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对;如果被选择的所述气溶胶生成装置与其它终端未配对,则向所述气溶胶生成装置发送配对请求信号,并接收所述气溶胶生成装置发送的确认配对信号以完成配对。
具体而言,如果步骤S102选择的气溶胶生成装置已经与其他终端相配对,则禁止所述气溶胶生成装置与当前终端配对;删除所述气溶胶生成装置的标识,重新回到步骤S102处。如果步骤S102选择的气溶胶生成装置没有与其他终端配对,则向所述气溶胶生成装置发送配对请求信号;当接收到气溶胶生成装置发送的确认配对信号,则将本终端与所述气溶胶生成装置之间构建通信连接,使得本终端能够远程控制所述气溶胶生成装置。
在一些示例中,进一步的,步骤S103执行时,还包括以下步骤:当被选择的所述气溶胶生成装置与当前终端正处于配对状态,则进入主界面;当被选择的所述气溶胶生成装置与当前终端处于非配对状态,则向所述气溶胶生成装置发送配对请求信号,并接收所述气溶胶生成装置发送的确认配对信号以完成配对。
该示例中,“当前终端”是指本具体实施方式的实施所依赖的终端,“被选择的所述气溶胶生成装置”是指步骤S102中所选择的气溶胶生成装置,“被选择的所述气溶胶生成装置与当前终端正处于配对状态”则代表了本终端与气溶胶生成装置之间配对完成,随后搭建了通信网络,本终端可以远程控制气溶胶生成装置。终端与所述气溶胶生成装置之间的通信连接建立时,终端则会显示出主界面,该主界面用于供用户远程控制气溶胶生成装置执行主界面中各个指令的对应操作。同样地,“被选择的所述气溶胶生成装置与当前终端处于非配对状态”,则代表了本终端还没有与气溶胶生成装置完成配对的过程,随后的“向所述气溶胶生成装置发送配对请求信号,并接收所述气溶胶生成装置发送的确认配对信号以完成配对” 则代表了,执行本终端与所述气溶胶生成装置的执行,即上述原先的步骤S103的内容。
在一些示例中,步骤S103执行完成后,还会执行步骤S104。步骤S104,将配对信息发送给服务器,服务器存储所述配对信息,所述配对信息包括,配对的所述气溶胶生成装置标识与当前终端的标识。
该示例中,每个终端均具有唯一的终端标识,每个气溶胶生成装置也具有唯一的气溶胶生成装置标识;配对完成的气溶胶生成装置的标识已经发送到了配对的终端中,那么配对的终端中就会同时具有配对完成的终端标识和气溶胶生成装置标识。每个终端将相互配对的气溶胶生成装置标识和当前终端的标识均发送给服务器存储。该示例实施时,当前终端可以根据气溶胶生成装置标识从服务器中查找出其是否正与其他终端进行配对,便于步骤S103中“被选择的所述气溶胶生成装置已经与其它终端配对”和“被选择的所述气溶胶生成装置与其它终端未配对”的判断。
在一些示例中,在步骤S103执行完成后,还会执行步骤S105。步骤S105,计算当前配对的终端与所述气溶胶生成装置的相对距离,如果所述相对距离超出预设的阈值,或者所述气溶胶生成装置与当前终端断开无线连接,则禁止所述气溶胶生成装置点烟输出。
该示例中,“计算当前配对的终端与所述气溶胶生成装置的相对距离”所用的方式是,计算气溶胶生成装置所发送的确认配对信号的RSSI值,从而计算出本终端与所述气溶胶生成装置之间的相对距离。“预设的阈值”通常是预先设定的,可以是设计人员设定后不可更改的数值,也可以是用户自行输入的可更改数值,预设阈值的大小通常是小于当前终端与所述气溶胶生成装置之间的通讯距离的。需要说明的是,RSSI值(Received Signal StrengthIndication)是指蓝牙反馈信号的接收强度值。该RSSI值表示通过接收到的信号强弱测定信号点与接收点的距离,进而根据相应数据进行定位计算。在一个具体实施例中,终端配置有BLE蓝牙芯片(例如CC2540),该BLE蓝牙芯片的定位引擎即采用RSSI值检测终端与气溶胶生成装置之间的距离。
根据终端与气溶胶生成装置本体之间的相对距离,控制气溶胶生成装置是否进入自锁模式。气溶胶生成装置进入自锁模式,即在该模式下,气溶胶生成装置始终停止点烟输出。实现了当携带终端的用户与对应的气溶胶生成装置之间距离超过时,如用户遗忘与所述终端配对的气溶胶生成装置,终端控制与其配对的气溶胶生成装置进行自锁,避免无关人员使用气 溶胶生成装置。
在一些示例中,在步骤S103执行完成后,还会执行步骤S106。步骤S106,当所述终端与所述气溶胶生成装置断开无线连接时,所述终端接收断开无线连接通知,并记录此时所述终端的定位信息。有利于工作人员返回所述定位信息后通过是否重新连接,判断之前与所述终端连接的气溶胶生成装置所在方位,便于寻回所述气溶胶生成装置。在一些实施方式中,所述终端内置有定位组件,可选的,为北斗定位组件或者GPS定位组件,定位组件进行定位后,并将位置信息发送给终端的第一控制单元。
在一些示例中,在步骤S103执行完成后,还会执行步骤S107。步骤S107,所述终端显示所述终端的实时定位信息,当所述气溶胶生成装置与所述终端的实际相对距离小于或者等于预设阈值时,第一控制单元控制所述气溶胶生成装置与所述终端重新自动无线连接。本示例中,有利于之前断开的气溶胶生成装置和终端重新建立连接,通常是与步骤S105一起执行。
在一些示例中,在步骤S103执行完成后,还会执行步骤S108。步骤S108,当所述终端接收查找设备指令时,所述气溶胶生成装置发出提示信息。
本示例中,“所述终端接收查找设备指令”中“查找设备指令”的来源通常是用户通过按键来触发,供终端来获取。步骤S108的实现其具体过程是:终端接收查找设备的指令,随后将向与其配对的气溶胶生成装置发送对应的控制指令,该控制指令是“查找设备指令”相关,随后,与该终端配对的气溶胶生成装置接收到所述控制指令,自身发出提示信息。实现了用户通过终端按下能够触发查找设备指令的按键,与该终端连接的气溶胶生成装置进行提示,便于用户查找到与当前终端连接的气溶胶生成装置所在位置,避免气溶胶生成装置遗忘。需要说明的是,“所述终端接收查找设备指令”中“设备”是指气溶胶生成装置。
在一些示例中,在步骤S103执行完成后,还会执行步骤S109。步骤S109,当所述终端接收查找设备指令时,但所述气溶胶生成装置未发出提示信息时,如果接收到查看历史定位信息指令,则终端显示所有所述当前终端与所述气溶胶生成装置断开无线连接时的所述终端的定位信息。
本示例中,“查找设备指令”的来源是由用户使用终端上按键所触发的;“气溶胶生成装置未发出提示信息”这一判断是缘自,气溶胶生成装置在一段时间内没有给本终端以反馈,或终端向气溶胶生成装置所发送的指令没有通信成功(如气溶胶生成装置没有接收到指令, 气溶胶生成装置的关闭,气溶胶生成装置的信号接收部分断裂,气溶胶生成装置与当前终端之间的通信连接出现故障,等);“查看历史定位信息指令”的来源是用户使用终端上的按键所触发的,或者由前述的“当所述终端接收查找设备指令时,但所述气溶胶生成装置未发出提示信息”自动触发。本示例中,查找设备指令在执行阶段,气溶胶发生装置没有得到有效的反馈,则会进一步在查看历史定位指令的控制下,显示所有所述当前终端与所述气溶胶生成装置断开无线连接时的所述终端的定位信息,以供用户找到与气溶胶发生装置失联位置的定位信息,从而便于用户找到遗忘的气溶胶发生装置。在具体实施时,本步骤S109往往是与步骤S108和/或步骤S107一起执行。
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本发明的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在本发明的保护范围内。
第二实施方式:
本发明提供一种与终端配对的气溶胶生成装置控制方法,如图3所示,包括以下步骤:
S201,所述气溶胶生成装置用于向终端发送标识,以供收到配对请求指令的终端显示所有满足预设条件的气溶胶生成装置的标识。
具体而言,气溶胶生成装置会向自身通讯范围内所有终端发送自身的标识。用户可以通过终端发起配对请求信号,终端通过网络向气溶胶生成装置发送配对请求信号,在本步骤中,气溶胶生成装置接收终端所发送的配对请求信号。在配对请求信号的格式中会涵盖代表终端唯一身份的信息,例如,每个终端均有唯一的客户端编号,配对请求信号中包含有所发终端对应的客户端编号。
S202,如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对;如果被选择的所述气溶胶生成装置与其它终端未配对,接收所述终端的确认指令,并向所述终端发送配对确认信号,以供终端接收所述气溶胶生成装置发送的确认配对信号以完成配对。
步骤S202具体为,“被所述终端选择的气溶胶生成装置”是指能够收到终端所发送的配 对请求信号的气溶胶生成装置,也就是说,气溶胶生成装置收到终端所发送的配对请求信号,则会根据自身与与其他终端的配对情况来向所述终端发送确认配对信号以完成配对。以保证气溶胶生成装置与终端进行唯一配对。
在使用时,终端发送配对请求信号的情况有以下几种:
a.用户按下终端的连接按键,连接按键被触发后终端遂向外发送配对请求信号;连接按键未被触发,则终端便不会向外发送配对请求信号。
b.气溶胶生成装置本体中设置有定位模块,定位模块时刻向外发送当前位置信息,终端接收到气溶胶生成装置本体所发送的当前位置信息,结合终端自身所处位置,计算得出终端与气溶胶生成装置本体之间的距离k,若距离k小于预设距离值k’,则终端向外发送配对请求信号;若距离k大于或等于预设距离值k’,则终端不会向外发送配对请求信号。
其中,气溶胶生成装置本体中的定位模块是采用GPRS定位模块来进行定位的,所得的定位信息为B,终端自身所处位置也是通过GPRS定位模块来进行定位的,该定位信息为A;终端中,使用自身定位信息A和气溶胶生成装置本体的定位信息B,计算出自身与气溶胶生成装置本体之间的距离|AB|,并将距离|AB|作为距离k,将其与预设距离值k’进行对比,从而控制终端是否想气溶胶生成装置本体定位信息B所对应的气溶胶生成装置发送配对请求信号。在该案例中,气溶胶生成装置本体中的定位模块是始终工作的,气溶胶生成装置本体则会向所有附近的终端发送定位信息B;预设距离k’是不可以更改的,终端的制造/设计人员预先设置的;定位信息A和定位信息B的格式为经度、纬度、高度,根据该三维则可以轻易计算出|AB|的数值。
在上述情况b中,其实质是,终端与气溶胶生成装置之间的距离k达到通讯距离(即预设距离k’)时,终端主动向气溶胶生成装置发送通信连接的配对请求信号。有利于终端离开通讯距离,再次返回到通讯距离后的再一次与气溶胶生成装置的通信连接。
在一些示例中,步骤S202的执行,还可以是:S202-1,获取终端所发送的配对请求信号;S202-2,将所述配对请求信号与预设的标准申请信息进行对比;在所述配对请求信号与标准申请信息一致时,向终端发送用于代表配对成功的确认配对信号,以供终端接收所述气溶胶生成装置发送的确认配对信号以完成配对;所述标准申请信息为首次连接的终端所发送的配对请求信号。
本示例,将首次连接气溶胶生成装置本体的终端设定为该气溶胶生成装置的标准申请信息对应的客户端;用户通过终端与气溶胶生成装置本体建立通信连接,在终端所发送的配对请求信号与气溶胶生成装置本体所存储的标准申请信息一致时,判定当前终端是气溶胶生成装置本体所绑定的终端,进而通过向所述终端发送确认配对信号,进行反馈,使得终端接收所述气溶胶生成装置发送的确认配对信号以完成配对。气溶胶生成装置本体能够识别当前发出配对请求信号的终端是否为本机所匹配的,具有自动匹配功能,避免青少年使用他人的终端控制本次气溶胶生成装置本体,进一步避免青少年用户误使用气溶胶生成装置的情况。
具体的,上述步骤S202-2中,
S202-2-1,检测气溶胶生成装置本体中是否存在标准申请信息,若没有,则执行S202-2-2;若有,则执行S2-3;
S202-2-2,将S1中所收到的配对请求信号作为标准申请信息,并执行S202-2-3;
S202-2-3,将S1中所接收到的配对请求信号与预设的标准申请信息进行对比,在所述配对请求信号与标准申请信息一致时,执行S202-2-4;
S202-2-4,向终端发送用于控制操作模块解锁的确认配对信号。
步骤S202-2-2中,将首次连接气溶胶生成装置本体的终端设定为该气溶胶生成装置本体的标准申请信息对应的终端,即,所述气溶胶生成装置本体接收到终端发送的配对请求信号后,检测气溶胶生成装置本体的存储模块中是否存储有标准申请信息,若气溶胶生成装置本体的存储模块中没有标准申请信息,则将首次接收到终端发送的配对请求信号作为标准申请信息。
在步骤S202中,后续想要与气溶胶生成装置本体建立通信连接的终端均需要进行步骤S202-2-3和S202-2-4的身份验证,由于配对请求信号中含有代表了所述终端,故示例实现了终端与气溶胶生成装置之间通信连接的锁定。即只有指定的终端才能够与气溶胶生成装置本体之间建立通信连接,指定的终端即为标准申请信息所对应的终端。
S203,根据与所述气溶胶生成装置所配对的终端发送的控制指令,执行对应操作。
具体而言,步骤S203是在步骤S202气溶胶生成装置与终端配对成功并建立通信连接的情况下进行的。还包括以下内容:
S203-1,根据终端的配对请求信号的RSSI值,或,根据终端通过操作模块发送的控制指令的RSSI值,计算与终端之间的相对距离,如果所述相对距离超出预设的阈值,或者所述气溶胶生成装置与当前终端断开无线连接,则禁止所述气溶胶生成装置点烟输出,气溶胶生成装置停止点烟输出。
具体而言,气溶胶生成装置本体根据自身所接收到的信号的RSSI值,推算出自身与终端之间的相对距离h,并在距离超过预设距离值h’时,控制气溶胶生成装置保持点烟输出中断状态。根据信号的强度,采用RSSI值计算气溶胶生成装置本体与终端之间的距离,随后根据距离控制气溶胶生成装置是否点烟行为,实现在终端与气溶胶生成装置本体之间的距离超过预设值时,气溶胶生成装置自动切换到自锁模式,即气溶胶生成装置的点烟模块始终处于关闭状态。
根据终端与气溶胶生成装置本体之间的距离,控制气溶胶生成装置是否进入自锁模式。气溶胶生成装置进入自锁模式,即,在该模式下,气溶胶生成装置始终停止点烟输出。实现了当携带终端的用户与对应的气溶胶生成装置之间距离超过时,如用户遗忘气溶胶生成装置,气溶胶生成装置进行自锁,避免无关人员使用气溶胶生成装置。
S203-2,接收当前配对的终端所发送的控制指令,该控制指令与“查找设备指令”相关,气溶胶生成装置发出提示信息。
具体而言,气溶胶生成装置发出提示信息的方式,可以是,气溶胶生成装置上的告警单元启动,也可以是采集气溶胶生成装置的定位信息并发送给当前终端。
1)当气溶胶生成方式的提示方式是告警单元时:根据所述终端所发送的控制指令,计算与终端之间的相对距离,根据所述相对距离,控制告警单元随着相对距离的大小调整告警频率。
计算气溶胶生成装置本体与终端之间相对距离的方式与上述步骤S203-1中相同,通过终端所发送的控制指令的RSSI值,计算气溶胶生成装置与终端之间的距离d。根据相对距离d,控制告警单元的告警频率,具体为:告警模块包括LED指示灯、振动电机或蜂鸣器中至少一种,告警模块的告警频率越高,LED指示灯的闪烁越快,即相邻两次点亮之间的时间间隔各变短,振动电机的工作频率更高,气溶胶生成装置本体的振动频率变快,蜂鸣器发出两次声音之间的时间间隔越小。告警单元的告警频率随着相对距离的变化而变化,例如,相对距离 越大,告警模块的告警频率越小;或者,相对距离越大,告警模块的告警频率越大。因此,本方案用户通过明确告警模块的告警频率,进而可以简单便捷地推算出当前终端与气溶胶生成装置本体之间的距离。
2)当气溶胶生成方式的提示方式是将定位信息发送给当前终端时:
用户可以通过终端的操作模块来促使气溶胶生成装置的定位单元启动,采集气溶胶生成装置本体所处位置的定位信息B,随后将该定位信息B发送给终端进行显示。一方面,有利于手持终端的用户找到对应气溶胶生成装置本体;另一方面也有利于用户明确气溶胶生成装置所在位置。终端显示定位信息B的方式可以是,直接显示定位信息B的经纬度和高度,也可以是在预存的地图上直接标志定位信息B所对应的位置。
S203-3,获取气溶胶生成装置与所述终端之间的连接状态,当所述连接状态为断开连接后恢复连接时,将连接状态为断开期间采集到的气溶胶生成装置本体的定位信息送给终端。
具体而言,在气溶胶生成装置与终端之间连接断开时,气溶胶生成装置将自身所处位置的定位信息进行存储,从而便于后期气溶胶生成装置本体与终端之间通信连接重新建立后,将最近一次的气溶胶生成装置所处位置的定位信息发送给终端,供用户了解上次使用时气溶胶生成装置所处位置,有利于用户对气溶胶生成装置的位置进行追踪,避免气溶胶生成装置遗漏;也有利于终端重新回到通信距离以内后,知晓在通信连接断开器件的气溶胶生成装置本体所出现的移动路线,有利于寻找气溶胶生成装置与终端通信连接断开的事故方。
S204,在步骤S202还行后,获取气溶胶生成装置的姿态信息,在所述姿态信息出现变化时,控制告警单元停止告警。
姿态出现变化的实质是,用户接触到了气溶胶生成装置本体,将气溶胶生成装置的姿态改变,此时大概率为用户已经找到了气溶胶生成装置本体,故而可以控制告警单元停止告警。
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本发明的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在本发明的保护范围内。
第三实施方式:
附图4中的附图标记为,终端30、气溶胶生成装置31、服务器32、配对请求单元301、显示单元302、标识选择单元303、第一控制单元304、第一信号收发单元305、第一计算单元306、第一定位单元307、操作单元308。
本发明的第三实施方式,一种与气溶胶生成装置配对的终端,如图4所示,包括:
配对请求单元301,用于接收配对请求指令;
显示单元302,用于显示所有满足预设条件的气溶胶生成装置31的标识;
标识选择单元303,用于接收、选择气溶胶生成装置标识的指令;
第一控制单元304,用于如果被选择的所述气溶胶生成装置31已经与其它终端配对,则禁止所述气溶胶生成装置31与当前终端30配对,如果被选择的所述气溶胶生成装置31与其它终端30未配对,则通过第一信号收发单元305向所述气溶胶生成装置31发送配对请求信号,并通过第一信号收发单元305接收所述气溶胶生成装置31发送的确认配对信号以完成配对。
在一些示例中,第一控制单元304,还用于完成配对后,控制第一信号收发单元305将配对信息发送给服务器32,配对信息包括配对的所述气溶胶生成装置标识与当前终端的标识。
在一些示例中,第一控制单元304,还用于完成配对后,控制第一计算单元306启动;
第一计算单元306,用于计算当前配对的终端与所述气溶胶生成装置的相对距离;
第一控制单元304,还用于在所述相对距离超出预设的阈值、或所述气溶胶生成装置31与当前终端30断开无线连接时,控制第一收发单元305向所述气溶胶生成装置31发送代表禁止点烟的控制指令,以使得所述气溶胶生成装置31禁止点烟输出。
进一步,第一控制模块304,还用于当所述第一计算单元306所发送的相对距离小于或者等于预设阈值时,所述气溶胶生成装置31与所述终端30重新自动无线连接。所述气溶胶生成装置31与所述终端30重新自动无线连接,可以是,控制第一收发单元305向所述气溶胶生成装置31发送配对请求信号。
在一些示例中,第一控制单元304,还用于完成配对后,当所述终端30与所述气溶胶生成装置31断开无线连接时,所述终端30接收断开无线连接通知,控制第一定位单元307启动;
第一定位单元307,用于对所处的终端30进行定位,得到定位信息。
进一步,所述显示单元302,还用于显示所述第一定位单元307所发送的定位信息。
在一些示例中,第一控制单元304,还用于完成配对后,在第一收发单元305感应到查找设备指令时,控制第一收发单元305向气溶胶生成装置发出代表“查找设备指令”的控制指令。
进一步,第一控制单元304,在控制第一收发单元305向气溶胶生成装置发出代表“查找设备指令”的控制指令后,第一收发单元305收到气溶胶生成装置31未发出提示信息的反馈和接收到查看历史定位信息指令,控制所述显示单元302终端显示第一定位单元307在所有所述当前终端30与所述气溶胶生成装置31断开无线连接时的所述终端的定位信息。
在一些示例中,还包括操作单元308,所述操作单元用于向第一收发单元305发送代表“查找设备指令”的控制指令。
不难发现,本实施方式为与第一实施方式相对应的装置实施例,本实施方式可与第一实施方式互相配合实施。第一实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式中。
值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。
第四实施方式:
附图5中的附图标记为,气溶胶生成装置40、终端41、标识发送单元401、配对验证单元402、第二信号收发单元403、第二控制单元405、第二计算单元406、告警单元407、第二定位单元408、姿态感应单元409。
本发明的第四实施方式提供一种与终端配对的的气溶胶生成装置,如图5所示,包括:
标识发送单元401,拥有向终端41发送标识;
配对验证单元402,如果所处的气溶胶生成装置40已经与其他终端41配对,则禁止所述气溶胶生成装置40与所述终端41配对;如果所处的气溶胶生成装置40与其它终端41未配对,则通过第二信号收发单元403接收所述终端41所发送的配对请求信号,并向所述终端 41发送配对确认信号;
第二控制单元405,用于根据第二收发单元403所接收的源自配对的终端41的第一收发单元所发送的控制执行,执行对应行为。
在一些示例中,还包括第二计算单元406;
第二计算单元406,用于终端41的配对请求信号的RSSI值,或,根据终端通过操作模块发送的控制指令的RSSI值,计算与终端之间的相对距离;
第二控制单元405,用于接收第二计算单元406所发送的相对距离,如果所述相对距离超出预设的阈值,或者所述气溶胶生成装置40与当前终端41断开无线连接,则禁止所述气溶胶生成装置40点烟输出,气溶胶生成装置40停止点烟输出。
在一些示例中,还包括告警单元407和第二定位单元408;
第二控制单元405,用于根据第二收发单元403所接收的控制指令,控制告警单元407的启动,以及第二收发单元403将第二定位单元408所检测的定位信息发送给配对的终端的第一收发单元。
进一步,还包括姿态感应单元409;
第二控制单元405,用于在控制告警单元407启动后,控制姿态感应单元409启动,在姿态感应单元409所发送的姿态信息发送变化时,控制告警单元407关闭。
不难发现,本实施方式为与第二实施方式相对应的装置实施例,本实施方式可与第二实施方式互相配合实施。第二实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第二实施方式中。
值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。
其中,所述终端的第一收发单元与气溶胶生成装置本体的第二收发单元之间的通信,均采用蓝牙通信;在生产气溶胶生成装置的时候添加蓝牙模块或者使用带有蓝牙模块的集成MCU。
第五实施方式:
本发明的第五实施方式还提供一种终端,包括存储器501及处理器502;所述存储器501用于存储可执行程序代码;以及所述处理器502用于调用所述存储器501中的所述可执行程序代码,执行第一实施方式中与气溶胶生成装置配对的终端控制方法。
其中,存储器502和处理器501采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器501和存储器502的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器501处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器501。
处理器501负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器502可以被用于存储处理器501在执行操作时所使用的数据。
第六实施方式:
本发明的第六实施方式提供一种气溶胶生成装置,包括存储器601及处理器602;所述存储器601用于存储可执行程序代码;以及所述处理器602用于调用所述存储器中的所述可执行程序代码,执行第二实施方式所述的与终端配对的气溶胶生成装置控制方法。
以上所述的仅是本发明的实施例,方案中公知的具体结构及特性等常识在此未作过多描述,所属领域普通技术人员知晓申请日或者优先权日之前发明所属技术领域所有的普通技术知识,能够获知该领域中所有的现有技术,并且具有应用该日期之前常规实验手段的能力,所属领域普通技术人员可以在本申请给出的启示下,结合自身能力完善并实施本方案,一些典型的公知结构或者公知方法不应当成为所属领域普通技术人员实施本申请的障碍。应当指出,对于本领域的技术人员来说,在不脱离本发明结构的前提下,还可以作出若干变形和改进,这些也应该视为本发明的保护范围,这些都不会影响本发明实施的效果和专利的实用性。本申请要求的保护范围应当以其权利要求的内容为准,说明书中的具体实施方式等记载可以用于解释权利要求的内容。

Claims (15)

  1. 一种与气溶胶生成装置配对的终端控制方法,其特征在于,包括以下步骤:
    接收配对请求指令,并显示所有满足预设条件的气溶胶生成装置的标识;
    接收选择气溶胶生成装置标识的指令;
    如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对;
    如果被选择的所述气溶胶生成装置与其它终端未配对,则向所述气溶胶生成装置发送配对请求信号,并接收所述气溶胶生成装置发送的确认配对信号以完成配对。
  2. 如权利要求1所述与气溶胶生成装置配对的终端控制方法,其特征在于,所述显示所有满足预设条件的气溶胶生成装置的标识,包括以下步骤:
    如果所述气溶胶生成装置与所述当前终端正处于配对状态,则所述气溶胶生成装置的标识显示第一显示状态;
    如果所述气溶胶生成装置与当前终端均处于非配对状态,则所述气溶胶生成装置的标识显示第二显示状态。
  3. 如权利要求1所述与气溶胶生成装置配对的终端控制方法,其特征在于,在所述接收选择气溶胶生成装置标识的指令之后,包括以下步骤;
    当被选择的所述气溶胶生成装置与当前终端正处于配对状态,则进入主界面;
    当被选择的所述气溶胶生成装置与当前终端处于非配对状态,则向所述气溶胶生成装置发送配对请求信号,并接收所述气溶胶生成装置发送的确认配对信号以完成配对。
  4. 如权利要求1所述与气溶胶生成装置配对的终端控制方法,其特征在于,在所述完成配对之后,还包括以下步骤:
    将配对信息发送给服务器,所述服务器存储所述配对信息,所述配对信息包括;配对的所述气溶胶生成装置标识以及与所述气溶胶生成装置配对的所述当前终端的标识。
  5. 如权利要求1所述与气溶胶生成装置配对的终端控制方法,其特征在于,所述接收配对请求指令,并显示所有满足预设条件的气溶胶生成装置的标识,包括以下步骤:
    当所述气溶胶生成装置与当前终端断开无线连接后,
    如果所述气溶胶生成装置处于开机状态,则当接收重新连接指令时,则显示主界面;
    如果所述气溶胶生成装置处于关机状态,则当接收配对请求指令时,并显示所有满足预设条件的气溶胶生成装置的标识。
  6. 如权利要求1所述与气溶胶生成装置配对的终端控制方法,其特征在于,还包括以下步骤:
    计算当前终端与所述当前终端配对的所述气溶胶生成装置的相对距离;
    如果所述相对距离超出预设的阈值,或者所述气溶胶生成装置与所述当前终端断开无线连接,则禁止所述气溶胶生成装置点烟输出。
  7. 如权利要求1所述与气溶胶生成装置配对的终端控制方法,其特征在于,还包括以下步骤:
    当所述终端与所述气溶胶生成装置断开无线连接时,所述终端接收断开无线连接通知,并记录此时所述终端的定位信息。
  8. 如权利要求1所述与气溶胶生成装置配对的终端控制方法,其特征在于,还包括以下步骤:
    所述终端显示所述终端的实时定位信息;
    当所述气溶胶生成装置与所述终端的实际相对距离小于或者等于预设阈值时,所述气溶胶生成装置与所述终端重新自动无线连接。
  9. 如权利要求8所述的终端与气溶胶生成装置配对的终端控制方法,其特征在于,还包括以下步骤:
    当所述终端接收查找设备指令时,所述气溶胶生成装置发出提示信息。
  10. 如权利要求9所述的终端与气溶胶生成装置配对的终端控制方法,其特征在于,还包括以下步骤:
    当所述终端接收查找设备指令时,但所述气溶胶生成装置未发出提示信息时,
    如果接收到查看历史定位信息指令,则所述终端显示所有所述当前终端与所述气溶胶生成装置断开无线连接时的所述终端的定位信息。
  11. 一种与终端配对的气溶胶生成装置控制方法,其特征在于,包括以下步骤:
    所述气溶胶生成装置用于向终端发送标识,以供收到配对请求指令的终端显示所有满足预设条件的气溶胶生成装置的标识;
    如果被选择的所述气溶胶生成装置已经与当前终端以外的其它终端配对,则禁止所述气溶胶生成装置与所述当前终端配对;
    如果被选择的所述气溶胶生成装置与所述当前终端以外的其它终端未配对,接收所述终端发送的配对信息,并向所述终端发送配对确认信号,以供所述终端接收所述气溶胶生成装置发送的确认配对信号以完成配对。
  12. 一种与气溶胶生成装置配对的终端,其特征在于,包括:
    配对请求单元,用于接收配对请求指令;
    显示单元,用于显示所有满足预设条件的气溶胶生成装置的标识;
    标识选择单元,用于接收、选择气溶胶生成装置标识的指令;
    第一控制单元,用于如果被选择的所述气溶胶生成装置已经与其它终端配对,则禁止所述气溶胶生成装置与当前终端配对,如果被选择的所述气溶胶生成装置与其它终端未配对,则通过第一信号收发单元向所述气溶胶生成装置发送配对请求信号,并通过第一信号收发单元接收所述气溶胶生成装置发送的确认配对信号以完成配对。
  13. 一种与终端配对的的气溶胶生成装置,其特征在于,包括:
    标识发送单元,拥有向终端发送标识;
    配对验证单元,如果所处的气溶胶生成装置已经与其他终端配对,则禁止所述气溶胶生成装置与所述终端配对;如果所处的气溶胶生成装置与其它终端未配对,则通过第二信号收发单元接收所述终端所发送的配对请求信号,并向所述终端发送配对确认信号。
  14. 一种终端,其特征在于,包括存储器及处理器;
    所述存储器用于存储可执行程序代码;以及
    所述处理器用于调用所述存储器中的所述可执行程序代码,执行如权利要求1-10任意一项与气溶胶生成装置配对的终端控制方法。
  15. 一种气溶胶生成装置,其特征在于,包括存储器及处理器;
    所述存储器用于存储可执行程序代码;以及
    所述处理器用于调用所述存储器中的所述可执行程序代码,执行如权利要求11所述的与终端配对的气溶胶生成装置控制方法。
PCT/CN2022/110299 2021-09-23 2022-08-04 一种气溶胶生成装置、终端及其配对方法 WO2023045588A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111119828.5A CN115844057A (zh) 2021-09-23 2021-09-23 一种气溶胶生成装置、终端及其配对方法
CN202111119828.5 2021-09-23

Publications (1)

Publication Number Publication Date
WO2023045588A1 true WO2023045588A1 (zh) 2023-03-30

Family

ID=85652480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/110299 WO2023045588A1 (zh) 2021-09-23 2022-08-04 一种气溶胶生成装置、终端及其配对方法

Country Status (2)

Country Link
CN (1) CN115844057A (zh)
WO (1) WO2023045588A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184502A (zh) * 2014-08-28 2014-12-03 许磊 一种蓝牙配对装置及方法
CN106880084A (zh) * 2017-03-27 2017-06-23 云南中烟工业有限责任公司 一种基于无线通信的智能电子烟系统及其控制方法
CN108632796A (zh) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 蓝牙连接方法、装置、终端及计算机可读存储介质
CN108968167A (zh) * 2018-10-22 2018-12-11 王远航 一种无线控制电子烟的移动控制平台
CN112602080A (zh) * 2018-06-27 2021-04-02 尤尔实验室有限公司 连接的蒸发器装置系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184502A (zh) * 2014-08-28 2014-12-03 许磊 一种蓝牙配对装置及方法
CN106880084A (zh) * 2017-03-27 2017-06-23 云南中烟工业有限责任公司 一种基于无线通信的智能电子烟系统及其控制方法
CN108632796A (zh) * 2018-04-16 2018-10-09 Oppo广东移动通信有限公司 蓝牙连接方法、装置、终端及计算机可读存储介质
CN112602080A (zh) * 2018-06-27 2021-04-02 尤尔实验室有限公司 连接的蒸发器装置系统
CN108968167A (zh) * 2018-10-22 2018-12-11 王远航 一种无线控制电子烟的移动控制平台

Also Published As

Publication number Publication date
CN115844057A (zh) 2023-03-28

Similar Documents

Publication Publication Date Title
CN103748863B (zh) 用于无线网络访问的附件的配置
EP3681179B1 (en) Control method and apparatus for electronic cigarette
WO2015149340A1 (zh) 应用于电子烟的信息交互方法及系统
KR101410988B1 (ko) 위치 관리 시스템
WO2015149326A1 (zh) 应用于电子烟的信息交互方法及系统
US11974190B2 (en) Tracking device functionality restriction in a lost context
EP4294111A1 (en) Bluetooth device pairing connection method, electronic device, bluetooth device and terminal system
JP2017536709A (ja) ウェアラブルデバイスの位置決め方法及び装置、プログラム及び記録媒体
TWI585283B (zh) Blue door lock system with emergency notification function and its operation method
CN105933852A (zh) 一种通过蓝牙设备实现的远程通信系统及方法
WO2014040406A1 (zh) 一种安全提示的方法和系统
US11800326B2 (en) Issuing remote commands to tracking devices
WO2018141170A1 (zh) 无人机认证方法及装置
SE1551022A1 (sv) Access control method, and associated proxy device and access control system
JP5635381B2 (ja) 認証方法、管理装置及び認証システム
WO2023045588A1 (zh) 一种气溶胶生成装置、终端及其配对方法
WO2018027335A1 (zh) 一种待机方法、解除终端锁定的方法、通信方法及系统
CN115544464A (zh) 针对微控制芯片的固件烧录方法、装置、系统及存储介质
KR101512745B1 (ko) 피어-투-피어 통신 방식의 플러그 앤 플레이 센서 네트워크 시스템 및 이를 이용한 응용 서비스 제공 방법
KR20220018872A (ko) 전자 장치의 위치 알람 서비스를 제공하는 방법 및 그 장치
KR20120071491A (ko) 리모컨에서 제어 가능한 디바이스에 대한 페어링을 수행하기 위한 장치 및 방법
JP6650845B2 (ja) 通信システム及びコンピュータプログラム
KR102366857B1 (ko) 블루투스 장치를 지원하는 인터넷 통신 장치
CN110660192A (zh) 一种防走失系统
CN204010263U (zh) 手机的安全装置

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: 22871646

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE