WO2021078057A1 - Electronic cigarette verification method, electronic cigarette chip, electronic cigarette, terminal device and storage medium - Google Patents

Electronic cigarette verification method, electronic cigarette chip, electronic cigarette, terminal device and storage medium Download PDF

Info

Publication number
WO2021078057A1
WO2021078057A1 PCT/CN2020/121150 CN2020121150W WO2021078057A1 WO 2021078057 A1 WO2021078057 A1 WO 2021078057A1 CN 2020121150 W CN2020121150 W CN 2020121150W WO 2021078057 A1 WO2021078057 A1 WO 2021078057A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic cigarette
activation code
cigarette
identity
user
Prior art date
Application number
PCT/CN2020/121150
Other languages
French (fr)
Chinese (zh)
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 WO2021078057A1 publication Critical patent/WO2021078057A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • 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/10Devices using liquid inhalable precursors
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce

Definitions

  • This application relates to the field of electronic cigarettes, and in particular to an electronic cigarette verification method, an electronic cigarette chip, an electronic cigarette, a terminal device and a computer-readable storage medium.
  • Electronic atomizer (English: VAPE or Electroniccigarette), commonly known as “electronic cigarette”, is a battery-powered atomizer that heats the e-liquid in the oil tank to turn it into steam for the user to smoke Of a product.
  • e-liquid is filled in the cartridge.
  • the e-liquid contains propylene glycol, vegetable glycerin, food flavor or nicotine. Since e-cigarettes do not need to be burned, they only produce "vapor" and no tar or carbon monoxide. Some medical professionals believe that they are potential nicotine substitutes. In theory, they can also reduce the impact of traditional cigarettes on the body and the effects of fires. Possibly, and let smokers who use e-cigarettes instead of cigarettes to stay away from the carcinogens in cigarettes.
  • an electronic cigarette verification method includes:
  • Another embodiment of the present application provides an electronic cigarette verification method, including:
  • the activation code is sent to the electronic cigarette to activate the electronic cigarette.
  • Another embodiment of the present application also provides an electronic cigarette verification method, including:
  • the activation code is sent to the electronic cigarette to activate the electronic cigarette.
  • the embodiment of the present application also provides an electronic cigarette chip, including:
  • Electronic cigarette communication module used to communicate with external devices
  • the electronic cigarette verification module is configured to verify the activation code received by the communication module from the external device, and perform an unlocking action when the activation code passes the verification.
  • the embodiment of the present application also provides an electronic cigarette, including an electronic cigarette chip, and the electronic cigarette chip includes:
  • Electronic cigarette communication module used to communicate with external devices
  • the electronic cigarette verification module is configured to verify the activation code received by the communication module from the external device, and perform an unlocking action when the activation code passes the verification.
  • the embodiment of the present application also provides a terminal device, which is characterized in that it includes:
  • the short-distance communication module is used to establish a communication connection with the electronic cigarette
  • the terminal acquisition module is used to acquire the identity data entered by the user
  • a verification module configured to verify the identity of the e-cigarette user according to the identity data
  • the terminal communication module is configured to obtain an activation code when the identity data is verified, and is configured to send the activation code to the electronic cigarette to activate the electronic cigarette.
  • the embodiment of the present application also provides a computer-readable storage medium storing a computer program, and the computer program stored in the computer-readable storage medium can implement the steps in any of the above-mentioned methods when being executed by a processor. .
  • the embodiment of the present application also provides a computing device, including: a memory and a processor, wherein:
  • the memory is used to store programs
  • the processor is coupled with the memory, and is configured to execute the program stored in the memory, so as to implement the steps in any of the foregoing methods.
  • FIG. 1 is a schematic diagram of communication between an electronic cigarette and an external device according to an embodiment of the present application
  • FIG. 2 is a flowchart of unlocking an electronic cigarette according to another embodiment of the present application.
  • FIG. 3 is a block diagram of a communication connection module of an electronic cigarette, a terminal device, and a server according to another embodiment of the present application;
  • FIG. 4 is a flowchart of identity verification of an electronic cigarette according to another embodiment of the present application.
  • FIG. 5 is a block diagram of a communication connection module of an electronic cigarette, a terminal device, and a server according to another embodiment of the present application;
  • FIG. 6 is a schematic diagram of communication between an electronic cigarette and an external device according to another embodiment of the present application.
  • Fig. 7 is a block diagram of a computing device according to an embodiment of the present application.
  • first, second, third, etc. may be used in the embodiments of the present application to describe certain components, these components should not be limited to these terms. These terms are only used to distinguish the components from each other.
  • first component may also be referred to as the second component, and similarly, the second component may also be referred to as the first component.
  • the embodiments of the present application provide an electronic cigarette verification method, an electronic cigarette chip, an electronic cigarette, a terminal device, and a computer-readable storage medium.
  • an electronic cigarette chip as shown in Figure 1, includes:
  • Electronic cigarette communication module used to communicate with external devices
  • the electronic cigarette verification module is used to verify the activation code received by the communication module from the external device, and perform an unlocking action when the activation code passes the verification.
  • the embodiment of the present application also provides an electronic cigarette, which includes the above electronic cigarette chip.
  • the electronic cigarette may also include an electronic cigarette working module connected to the electronic cigarette chip. When the electronic cigarette chip performs the unlocking action, the electronic cigarette working module can start to work, so as to heat the electronic cigarette cartridge.
  • the external device referred to may be a server, a terminal device for relay connection with the server, or only an independent terminal device.
  • the form and scale of external devices are not limited, as long as they can provide activation codes for e-cigarettes.
  • the opportunity for the activation code to be sent from the external device to the electronic cigarette chip can be to request the activation code through the electronic cigarette, or to actively send the activation code through the external device.
  • the characteristic data of the rod and cartridge of the electronic cigarette can be sent to the server through the electronic cigarette, so that the server can verify the authenticity.
  • the embodiment of the present application also provides an electronic cigarette verification method, which can be applied to the above-mentioned electronic cigarette chip. As shown in FIG. 2, the method includes:
  • the activation code in the above S11 may be calculated by using the information of the electronic cigarette.
  • the information of the electronic cigarette includes at least one of the following: an identification of the electronic cigarette, batch information, and flavor information of the electronic cigarette cartridge, and so on.
  • the identification of the electronic cigarette may be a unique ID number corresponding to the electronic cigarette chip.
  • the identification of the electronic cigarette includes the identification corresponding to the cigarette rod chip (or called the decoding chip) of the electronic cigarette.
  • the generation of the activation code is actually a kind of data encryption.
  • a preset encryption algorithm can be used to calculate the information of the electronic cigarette to obtain the activation code. This embodiment does not specifically limit the encryption algorithm.
  • the activated state is a state in which the electronic cigarette is in a normal working state, for example, the amount of smoke and the time of use can be set for the electronic cigarette.
  • the locked state is a state in which the electronic cigarette is in an unusable state or cannot be in a normal working state due to function restrictions, time restrictions, and the like.
  • the electronic cigarette communication module can be a communication module in various forms such as GSM, 3G, 4G, and 5G. It can realize wireless connection with external devices with the help of low power consumption narrowband IoT such as NB-IoT or LoRa. Of course, the electronic cigarette communication module can also access the Internet by means of WIFI.
  • the rod of the electronic cigarette can be provided with a mechanism for verifying the cartridge of the electronic cigarette. Every time a user intends to smoke, or every time a new cartridge is installed, a verification can be performed first, and the characteristic code of the cartridge can be sent to the server. If there is a possibility of counterfeiting the cartridge, the server does not return the activation code and the electronic cigarette cannot work, thereby protecting the health of the user.
  • the terminal device connected to the electronic cigarette can participate in the verification to extend the use time of the electronic cigarette.
  • the external device referred to in this application may be a server, an independent terminal device, or a terminal device connected to the server.
  • the embodiment of the present application also provides a terminal device, as shown in FIG. 3, including:
  • the short-distance communication module is used to establish a communication connection with the electronic cigarette
  • the verification module is used to obtain the activation code, and is used to send the activation code to the electronic cigarette through the short-range communication module to activate the electronic cigarette.
  • the terminal device of this application may be a fixed terminal or a mobile terminal.
  • the terminal device can provide the verification activation code, or it can communicate with the server to obtain the activation code from the server. When the activation code is obtained through the server, it can effectively prevent the local cracking of the terminal and improve the security.
  • the verification activation code is a set of operation codes that can be recognized by the main controller of the cigarette stick.
  • the cigarette stick is in the "locked" state before leaving the factory.
  • the user needs to log in to the personal e-cigarette account through the terminal device.
  • After binding the cigarette stick device perform the cigarette stick activation operation.
  • the server transmits the stored activation code of the corresponding cigarette stick (each cigarette has a uniquely specified activation code) to the terminal device through the 4G/5G/wireless network, and then transmits it to the corresponding cigarette stick to be activated through the Bluetooth of the terminal device on.
  • the embodiment of this application also provides an electronic cigarette verification method, including:
  • the activation code is sent to the electronic cigarette to activate the electronic cigarette.
  • the step of receiving the activation code sent by the external device includes:
  • the embodiment of the present application uses the provided terminal device to connect to the server and obtain the activation code, compared to the electronic cigarette directly connecting to the server, it only needs to bear the power consumption of the short-range communication, and its battery life will be significantly increased.
  • e-cigarettes can be connected to terminal devices through low-power Bluetooth or wired interfaces.
  • the terminal device can be, but is not limited to: a mobile phone, a tablet computer, a desktop computer, a notebook computer, a smart wearable device, and so on.
  • the above method may further include the following step: receiving the activation code generated and sent by the server for the information of the electronic cigarette.
  • the information of the electronic cigarette may include, but is not limited to: the identification of the electronic cigarette, batch information, the flavor information of the electronic cigarette cartridge, and so on. These information are calculated using a certain encryption algorithm (this embodiment does not specifically limit this) to obtain the activation code.
  • the activation code generated and sent with the information for the electronic cigarette has higher security.
  • the inventor of this application believes that the purchase channels, purchase paths, and usage scenarios of electronic cigarettes can be physically traced through technical means. In order to realize the real-name supervision of the purchase and use of electronic cigarettes.
  • FIG. 4 an electronic cigarette verification method, as shown in FIG. 4, including:
  • an unlocking action is performed to make the rod of the electronic cigarette enter a ready state.
  • verifying the activation code includes: determining whether the activation code is consistent with a pre-stored activation code, and if the activation code is consistent with the pre-stored activation code, determining that the activation code passes the verification.
  • the external device can be a terminal device or a server.
  • the embodiment of the present application also provides an electronic cigarette verification method, which is still shown in FIG. 4, including:
  • the terminal device that executes the above method steps may include but is not limited to at least one of the following: a camera, a keyboard, a touch screen, a fingerprint collector, a barcode reader, a document reader, and so on.
  • the terminal device is a mobile phone
  • the user can input identity data through the keyboard or touch screen on the mobile phone, and can also collect the user's ID card by taking pictures with a camera. It is assumed that the identity data includes the date of birth, name, ID number, ID photo, etc. entered by the user.
  • the above steps "verify the identity of the e-cigarette user based on the identity data” can be implemented in the following manner: the identification number is identified to determine whether the certificate holder is an adult; And perform facial recognition on the user's facial video collected by the camera (such as the user blinking video or turning head video) to compare the user's facial features collected by the camera with the facial features on the ID photo; to determine the current use of e-cigarettes based on the comparison results Whether the user of is the certificate holder. If it is determined that the certificate holder is an adult, and it is identified that the user currently using the electronic cigarette is the certificate holder, the identity verification is passed.
  • the verification method for electronic cigarettes also includes:
  • the electronic cigarette sends an activation request of the electronic cigarette through the terminal device, so that the terminal device sends the identity data of the electronic cigarette user to the server, and the server sends the information to the electronic cigarette user based on the identity verification data. Perform identity verification.
  • verifying the identity of the e-cigarette user based on the identity data includes:
  • the identity data and e-cigarette information are sent to the server, so that the server can verify the identity of the e-cigarette user based on the identity data.
  • the embodiments of the present application also provide an electronic cigarette chip, an electronic cigarette, and a terminal device, where, as shown in FIG. 5, the electronic cigarette chip includes:
  • Electronic cigarette communication module used to communicate with external devices
  • the electronic cigarette verification module is used to verify the activation code received by the communication module from the external device when the user of the electronic cigarette passes the identity verification, and when the activation code passes the verification, Perform unlock action.
  • Electronic cigarettes contain the above-mentioned electronic cigarette chips.
  • Terminal equipment also shown in Figure 5, includes:
  • the short-distance communication module is used to establish a communication connection with the electronic cigarette
  • the terminal acquisition module is used to acquire the identity data entered by the user
  • the verification module is used to verify the identity of the e-cigarette user according to the identity data, and is also used to obtain the activation code when the identity data is verified, and send the activation code to the e-cigarette through the short-range communication module to activate e-cigarette.
  • the identity data may include at least the age information of the user.
  • the conditions for passing the verification should include at least the age greater than or equal to the e-cigarette The legal age of majority at the place of sale, or the legal age at which nicotine products can be purchased.
  • the verification module can include:
  • the remote communication module is used to send identity data and electronic cigarette information to the server, so that the server can verify the identity of the electronic cigarette user based on the identity data.
  • the remote communication module may be a wired network card connected to the Internet, or a wireless network module based on mobile data communication network, WIFI, Bluetooth, NB-IoT/LoRa and other technologies.
  • the short-distance communication module corresponds to the long-distance communication module, and is responsible for communicating with the communication module of the electronic cigarette.
  • the short-range communication module refers to the "near-field” communication in a broad sense, and does not only refer to the "near-field communication module”.
  • the communication module of the present application may be a Bluetooth module, an NFC module, a WIFI module, and so on.
  • a Bluetooth module that can take into account both convenience and battery life is the preferred solution.
  • the terminal device mentioned in this application can be a handheld mobile device such as a smart phone or a smart watch for the user's own use, or a vending machine used to sell electronic cigarettes connected to a server through a remote communication module.
  • a handheld mobile device such as a smart phone or a smart watch for the user's own use
  • a vending machine used to sell electronic cigarettes connected to a server through a remote communication module.
  • a handheld mobile device such as a smart phone or a smart watch as an example.
  • the terminal device is a handheld mobile device
  • the user can perform identity verification through the handheld mobile device he carries at any time, which has very superior flexibility and convenience.
  • the terminal acquisition module may include a fingerprint recognition element of the smart phone, a camera, a touch screen, a microphone, and other devices.
  • the identity data can include fingerprints, voiceprints, facial recognition data, iris recognition data, and so on.
  • the verification module can forward the identity data acquired by the terminal acquisition module to the server for comparison with the identity data stored by the server, or it can be compared on the local machine. Through the comparison, the user's identity can be confirmed, and illegal users can be prevented from buying, obtaining, and using electronic cigarettes.
  • identity data may include:
  • the user’ s ID number and biometric data. By comparing the ID number with the biometric data, the user’s identity can be better confirmed to clarify the user’s qualifications.
  • the user matches the electronic cigarette communication module with the short-range communication module of the smart phone held by the user to establish a connection.
  • the smart phone After the connection is successful, the smart phone prompts the user to enter the identity data on the interactive interface. For example, the user can enter the ID number through the touch screen, keyboard, and take facial photos, or collect fingerprints and so on.
  • the smart phone After obtaining the identity data, the smart phone transmits the identity data to the server through the verification module.
  • the server performs identity data comparison and verification in the background, and after successful verification, returns an activation code to the smart phone.
  • the electronic cigarette communication module can also send its own characteristic data to the server through the smart phone, so that the server returns the activation code corresponding to the characteristic data.
  • the characteristic data may include the ID, batch, etc. of the electronic cigarette.
  • This activation code is sent to the verification module of the electronic cigarette through the terminal device.
  • the verification module passes the verification of the activation code, an unlocking action is performed, so that the electronic cigarette working module can work normally.
  • the server fails to verify the identity data, the activation code will not be returned. If an illegal user tries to crack the verification and the wrong activation code is returned, the verification of the e-cigarette verification module will not pass, which will make the e-cigarette work module unable to work.
  • the reasons for the authentication failure of the identity data may include: the user's age has not reached the legal age, the user's biometric data does not match, and so on.
  • verification can be performed only for the first use of e-cigarettes, or verification can be required each time the e-cigarette is used.
  • the former is more convenient and the latter is more secure.
  • the terminal device can automatically connect with the electronic cigarette and synchronize its usage data, which is very convenient.
  • users can create an account for themselves in the application of the terminal device, or use the associated account of a third-party application (such as WeChat, Alipay) to better maintain their own usage data.
  • the identity data includes the user’s biometric data
  • the verification of the identity of the e-cigarette user based on the identity data can include:
  • the user's biometric data is compared with the biometric data stored in the machine to determine whether the identity data is verified.
  • the terminal device can store biometric data on its own. In this way, there is no need to communicate with the cloud every time an identity is verified, which can significantly improve the efficiency of verification and improve the experience of using e-cigarettes. Especially for solutions that need to be verified every time an electronic cigarette is used, a more friendly use environment can be provided.
  • the user has already verified the identity of the electronic cigarette in hand, and its biometric data, such as fingerprints, has been stored in the user's handheld mobile device.
  • the handheld mobile device After taking out the electronic cigarette and turning on the power, the handheld mobile device prompts the user to unlock with a fingerprint.
  • the user enters the fingerprint to complete the unlocking action, and the e-cigarette is available.
  • the terminal device be verified with the biometric data stored in the machine, but optionally, the aforementioned step of verifying the identity of the e-cigarette user based on the identity data can also include:
  • the aforementioned verification module may include:
  • the association module is used to send the identity data and e-cigarette information to the associated application, so that the associated application verifies the identity of the e-cigarette user based on the identity data.
  • Associated applications referred to in this application generally refer to applications that have collected and verified user identity data due to payment, security, and other reasons.
  • these applications have often identified and verified the user's identity data. Therefore, when the electronic cigarette needs to verify the user's identity, it can directly make a request to the public API interface of these applications, and obtain the user's identity verification through the authorization of these applications.
  • the terminal device mentioned in this application can also be connected to a server through a remote communication module and used for vending machines for selling electronic cigarettes.
  • the terminal device is a vending machine.
  • the electronic cigarette When the terminal device is a vending machine, the electronic cigarette is set in the vending machine, and the electronic cigarette can also communicate with the vending machine in a variety of ways.
  • the specific connection method has been mentioned in the previous article, so I will not repeat it here.
  • E-cigarettes can verify whether the user's identity meets the requirements for using e-cigarettes before and after the purchase. Based on this, we take pre-purchase as an example and give another application scenario:
  • the electronic cigarette is set in the vending machine.
  • the vending machine After the user selects the electronic cigarette that he wants to buy in front of the vending machine, the vending machine gives a prompt requesting the collection and verification of the user's identity data.
  • the vending machine can be equipped with: an ID verification device, a camera, a fingerprint recognition component, and so on. Users can correspondingly verify their own identity by swiping ID card, facial recognition, fingerprint recognition, etc.
  • the vending machine After the user completes the verification of his identity and makes the payment, the vending machine spit out the electronic cigarette purchased by the user to complete the transaction. Among them, the unlocking steps of the electronic cigarette are the same as the foregoing scenario, and will not be described again.
  • this application also gives an application scenario:
  • the electronic cigarette is set in the vending machine.
  • the user can take out the purchased e-cigarette after payment.
  • users can also obtain purchased electronic cigarettes through other channels.
  • the user communicates and connects the electronic cigarette with the vending machine by operating the interactive interface of the vending machine, and makes a request to activate the electronic cigarette.
  • the vending machine gives a prompt requesting the collection and verification of the user's identity data.
  • the server background performs identity data comparison and verification, and after the verification is successful, an activation code is returned to the vending machine.
  • the vending machine uses the communication connection with the electronic cigarette to transmit the activation code to the electronic cigarette for verification by the electronic cigarette verification module. After the verification is successful, the working module of the electronic cigarette can work.
  • the electronic cigarette can also obtain the user's identity data by itself without resorting to external equipment.
  • an interactive element can also be provided on the electronic cigarette to obtain the user's identity data.
  • the foregoing method may further include:
  • the identity data is sent to the external device through the communication link established with the external device, so that the external device verifies the identity data.
  • the interactive components can also be: fingerprint recognition components, microphones, cameras, and so on.
  • the identity data may also include: user fingerprints, user voice, user avatar, and so on. No longer.
  • the inventor of the present application believes that the cartridge can be considered to be set to be verified by the cigarette rod.
  • the cartridge can also be verified locally only with the cigarette rod.
  • performing the unlocking action of the foregoing method may further include:
  • the foregoing method may also include:
  • the cigarette stick sends the protocol code to the cartridge connected to the cigarette stick in the electronic cigarette;
  • the cartridge receives the dynamic code sent by the cartridge
  • the cigarette stick determines that the dynamic code meets the second requirement, the cigarette stick sends a driving signal to make the electronic cigarette enter a working state.
  • the agreement password is the password preset before the cigarette stick and the cartridge. It can be generated from a dynamic password interval according to a preset encryption and decryption algorithm to prevent cracking.
  • the above-mentioned agreement password and dynamic password can be calculated using the same algorithm or different algorithms.
  • both the protocol password and the dynamic password can be calculated using an encryption and decryption algorithm based on the 64b its elliptic curve algorithm.
  • the cartridge If the cartridge successfully recognizes the protocol password and obtains the output result that meets the preset rules, it is determined that the protocol password meets the first requirement, and the cartridge can send the dynamic password to the cigarette stick through the anti-counterfeiting chip set in itself; after the cigarette stick receives the dynamic password , Use the locally stored verification algorithm to verify the dynamic password, and if the verification is passed, it is determined that the dynamic password meets the second requirement.
  • the password interval in the cigarette stick chip can be updated through the connection with the server. According to this, whenever a new batch of cartridges is on the market, the updated cartridge chip can realize two-way password authentication for this batch of cartridges, and thus has better security.
  • the password interval may be stored in the internal data area of the main controller of the cigarette stick chip (which may be the above-mentioned electronic cigarette verification module).
  • the stick chip can identify 100 flavors of cartridges ranging from 0 to 99 based on the original password interval.
  • the server can update the original password interval so that the cigarette stick chip can identify the 101st new cartridge based on the updated password interval.
  • the server can send the password interval update information to the client device (such as the user’s mobile phone, tablet, desktop/laptop or smart wearable device, etc.), and the client device sends the received password interval update information to The cigarette stick of the electronic cigarette bound to the client device, so that the cigarette stick of the electronic cigarette updates the local password interval based on the password interval update information with the anti-counterfeiting chip, and then the 101st new cigarette cartridge can be subsequently identified.
  • the server can also send the password interval update information to the e-cigarette vending device, and the e-cigarette vending device sends the received password interval update information to the cigarette sticks of the unsold e-cigarettes stored in the e-cigarette vending device for e-cigarette sales. Cigarette sticks update the local password interval based on the anti-counterfeiting chip based on the password interval update information, and then the 101st new cigarette cartridge can be identified subsequently.
  • the method may further include the following steps:
  • the use progress of the cartridge can be clarified. Further, when the count exceeds a preset threshold, the cartridges can be locked to prevent illegal users from refilling cartridges and the hidden safety hazards caused by the recycling of cartridge chips.
  • the electronic cigarette enters a working state until the cartridge is taken out. In this way, there is no need to repeatedly verify the cartridge under the premise that the cartridge has not been taken out, which saves the verification cost and improves the convenience. And because the verification frequency is reduced, the battery of the cigarette rod can be saved, and the battery life can be extended.
  • the agreed password does not meet the first requirement or the dynamic password does not meet the second requirement, count the number of times that the requirement is not met. Further optionally, if the counted number of times of non-compliance is greater than or equal to the preset number of failures, a lock signal is sent to the chip of the cartridge to lock the cartridge; or,
  • a lock signal is sent to the chip of the cartridge to lock the cartridge.
  • FIG. 7 Another embodiment of the present application also provides a computing device, as shown in FIG. 7, including: a memory 51 and a processor 52, where:
  • the memory 51 is used to store programs
  • the processor 52 is coupled with the memory 51, and is configured to execute a program stored in the memory 51 for:
  • the unlock action is executed.
  • FIG. 1 Another implementation manner of the present application also provides a computing device, including: a memory 51 and a processor 52, wherein,
  • the memory 51 is used to store programs
  • the processor 52 is coupled with the memory 51, and is configured to execute a program stored in the memory 51 for:
  • the aforementioned memory 51 may be configured to store other various data to support operations on the computing device. Examples of such data include instructions for any application or method operating on the computing device.
  • the memory 51 can be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable and Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable and Programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic disk or optical disk.
  • processor 52 executes the program in the memory 51, in addition to the above functions, it may also implement other functions. For details, please refer to the descriptions of the foregoing embodiments.
  • the computing device may further include: a communication component 43, a display 44, a power supply component 45, an audio component 46 and other components. Only some components are schematically shown in FIG. 7, which does not mean that the computing device only includes the components shown in FIG. 7.
  • another embodiment of the present application also provides a computer-readable storage medium storing a computer program.
  • the computer program stored in the computer-readable storage medium is executed by a processor, it can implement the aforementioned methods. Steps or functions.
  • the implementation of the present application can provide a better anti-counterfeiting verification function, and prevent illegal users from purchasing and using electronic cigarettes by verifying the user's identity, and also has good convenience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Storage Device Security (AREA)

Abstract

The present application relates to the field of electronic cigarettes. Provided are an electronic cigarette verification method, an electronic cigarette chip, an electronic cigarette, a terminal device and a storage medium. The electronic cigarette verification method comprises: in the case of identity verification for an electronic cigarette user succeeding, receiving an activation code sent by an external device; verifying the activation code; and in the case of the verification for the activation code succeeding, executing an unlocking action. The implementation mode of the present application can provide a better security authentication function.

Description

电子烟验证方法、电子烟芯片、电子烟、终端设备和存储介质Electronic cigarette verification method, electronic cigarette chip, electronic cigarette, terminal equipment and storage medium
交叉引用cross reference
本申请引用于2019年10月25日递交的名称为“电子烟验证方法、电子烟芯片、电子烟、终端设备和存储介质”的第2019110236634号中国专利申请,其全部内容通过引用结合在本申请中。This application refers to the Chinese patent application No. 2019110236634 entitled "E-cigarette verification method, e-cigarette chip, e-cigarette, terminal equipment, and storage medium" filed on October 25, 2019, the entire content of which is incorporated into this application by reference in.
技术领域Technical field
本申请涉及电子烟领域,特别涉及一种电子烟验证方法、电子烟芯片、电子烟、终端设备和计算机可读存储介质。This application relates to the field of electronic cigarettes, and in particular to an electronic cigarette verification method, an electronic cigarette chip, an electronic cigarette, a terminal device and a computer-readable storage medium.
背景技术Background technique
电子雾化器(英语:VAPE或Electroniccigarette),俗称“电子烟”,是一种以电池供电驱动雾化器,透过加热油舱中的烟油,使其变成蒸汽后,让使用者吸食的一种产品。Electronic atomizer (English: VAPE or Electroniccigarette), commonly known as "electronic cigarette", is a battery-powered atomizer that heats the e-liquid in the oil tank to turn it into steam for the user to smoke Of a product.
通常,电池、雾化器等结构设置于电子烟的烟杆中,而烟油则被加注于烟弹之中,烟油中有丙二醇、植物甘油、食用香精或尼古丁。由于电子烟无需燃烧,只会产生“蒸气”,亦无焦油及一氧化碳,使部分医学界人士认为其是有潜力的尼古丁替代品,理论上也可以减少部分传统纸烟对身体的影响、火灾发生的可能,并让以电子烟替代纸烟的吸烟人士远离纸烟中的致癌物质。Generally, structures such as batteries, atomizers, etc. are arranged in the rods of electronic cigarettes, and e-liquid is filled in the cartridge. The e-liquid contains propylene glycol, vegetable glycerin, food flavor or nicotine. Since e-cigarettes do not need to be burned, they only produce "vapor" and no tar or carbon monoxide. Some medical professionals believe that they are potential nicotine substitutes. In theory, they can also reduce the impact of traditional cigarettes on the body and the effects of fires. Possibly, and let smokers who use e-cigarettes instead of cigarettes to stay away from the carcinogens in cigarettes.
但是,现有技术中的电子烟缺乏有效、可控的防伪监控技术,假冒伪劣的电子烟很可能危害使用者的健康。However, electronic cigarettes in the prior art lack effective and controllable anti-counterfeiting monitoring technology, and counterfeit and inferior electronic cigarettes are likely to endanger the health of users.
发明内容Summary of the invention
为了解决上述问题或至少部分地解决上述技术问题,在本申请的一个 实施方式中,提供了一种电子烟验证方法。该电子烟验证方法包括:In order to solve the above-mentioned problems or at least partially solve the above-mentioned technical problems, in an embodiment of the present application, an electronic cigarette verification method is provided. The e-cigarette verification method includes:
接收外部设备发送的激活码;Receive the activation code sent by the external device;
对所述激活码进行校验;Verify the activation code;
所述激活码通过校验的情况下,执行解锁动作。If the activation code passes the verification, an unlocking action is executed.
本申请的另一个实施方式,提供了一种电子烟验证方法,包括:Another embodiment of the present application provides an electronic cigarette verification method, including:
与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
响应于使用者通过交互界面触发的数据输入事件,获取所述使用者在所述数据输入事件中输入的身份数据;In response to a data input event triggered by a user through an interactive interface, acquiring the identity data input by the user in the data input event;
根据所述身份数据对所述电子烟使用者的身份进行验证;Verifying the identity of the electronic cigarette user according to the identity data;
在所述身份数据通过验证的情况下,获取激活码;In the case where the identity data is verified, an activation code is obtained;
将所述激活码发送至所述电子烟,以激活所述电子烟。The activation code is sent to the electronic cigarette to activate the electronic cigarette.
本申请的另一个实施方式,同样提供了一种电子烟验证方法,包括:Another embodiment of the present application also provides an electronic cigarette verification method, including:
与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
获取激活码;obtain activation code;
将所述激活码发送至所述电子烟,以激活所述电子烟。The activation code is sent to the electronic cigarette to activate the electronic cigarette.
本申请的实施方式还提供了一种电子烟芯片,包括:The embodiment of the present application also provides an electronic cigarette chip, including:
电子烟通信模块,用于与外部设备通信连接;Electronic cigarette communication module, used to communicate with external devices;
电子烟校验模块,用于对所述通信模块从外部设备所接收的激活码进行校验,并在所述激活码通过校验的情况下,执行解锁动作。The electronic cigarette verification module is configured to verify the activation code received by the communication module from the external device, and perform an unlocking action when the activation code passes the verification.
本申请的实施方式还提供了一种电子烟,包括电子烟芯片,所述电子烟芯片包括:The embodiment of the present application also provides an electronic cigarette, including an electronic cigarette chip, and the electronic cigarette chip includes:
电子烟通信模块,用于与外部设备通信连接;Electronic cigarette communication module, used to communicate with external devices;
电子烟校验模块,用于对所述通信模块从外部设备所接收的激活码进行校验,并在所述激活码通过校验的情况下,执行解锁动作。The electronic cigarette verification module is configured to verify the activation code received by the communication module from the external device, and perform an unlocking action when the activation code passes the verification.
本申请的实施方式还提供了一种终端设备,其特征在于,包括:The embodiment of the present application also provides a terminal device, which is characterized in that it includes:
近距离通信模块,用于与电子烟建立通信连接;The short-distance communication module is used to establish a communication connection with the electronic cigarette;
终端获取模块,用于获取使用者输入的身份数据;The terminal acquisition module is used to acquire the identity data entered by the user;
验证模块,用于根据所述身份数据对所述电子烟使用者的身份进行验证;A verification module, configured to verify the identity of the e-cigarette user according to the identity data;
所述终端通信模块用于在所述身份数据通过验证的情况下,获取激活码,并用于将所述激活码发送至所述电子烟,以激活所述电子烟。The terminal communication module is configured to obtain an activation code when the identity data is verified, and is configured to send the activation code to the electronic cigarette to activate the electronic cigarette.
本申请的实施方式还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机可读存储介质所存储的计算机程序在被处理器执行时,能够实现上述任意一种方法中的步骤。The embodiment of the present application also provides a computer-readable storage medium storing a computer program, and the computer program stored in the computer-readable storage medium can implement the steps in any of the above-mentioned methods when being executed by a processor. .
本申请的实施方式还提供了一种计算设备,包括:存储器及处理器,其中,The embodiment of the present application also provides a computing device, including: a memory and a processor, wherein:
所述存储器,用于存储程序;The memory is used to store programs;
所述处理器,与所述存储器耦合,用于执行所述存储器中存储的所述程序,以用于实现上述任意一种方法中的步骤。The processor is coupled with the memory, and is configured to execute the program stored in the memory, so as to implement the steps in any of the foregoing methods.
附图说明Description of the drawings
为了更清楚地说明本申请实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单介绍。显而易见地,下面描述中的附图仅用于示意本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图中未提及的技术特征、连接关系乃至方法步骤。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only used to illustrate some embodiments of the present application. For those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings. Unmentioned technical features, connection relations and even method steps.
图1是本申请一实施方式的电子烟和外部设备的通信示意图;FIG. 1 is a schematic diagram of communication between an electronic cigarette and an external device according to an embodiment of the present application;
图2是本申请另一实施方式的电子烟的解锁流程图;FIG. 2 is a flowchart of unlocking an electronic cigarette according to another embodiment of the present application;
图3是本申请另一实施方式的电子烟、终端设备和服务器的通信连接模块框图;FIG. 3 is a block diagram of a communication connection module of an electronic cigarette, a terminal device, and a server according to another embodiment of the present application;
图4是本申请另一实施方式的电子烟的身份验证流程图;FIG. 4 is a flowchart of identity verification of an electronic cigarette according to another embodiment of the present application;
图5是本申请另一实施方式的电子烟、终端设备和服务器的通信连接模块框图;FIG. 5 is a block diagram of a communication connection module of an electronic cigarette, a terminal device, and a server according to another embodiment of the present application;
图6是本申请另一实施方式的电子烟和外部设备的通信示意图;FIG. 6 is a schematic diagram of communication between an electronic cigarette and an external device according to another embodiment of the present application;
图7是本申请实施方式的计算设备的模块框图。Fig. 7 is a block diagram of a computing device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施方式的目的、技术方案和优点更加清楚,下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整的描述,显然,所描述的实施方式是本申请一部分实施方式,而不是全部的实施方式。基于本申请中的实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施方式,都应当属于本申请保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the implementation of this application, but not all of the implementations. Based on the implementation in this application, all other implementations obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
应当理解,在本申请实施方式中使用的术语是仅仅出于描述特定实施方式的目的,而非旨在限制本申请。在本申请实施方式和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种,但是不排除包含至少一种的情况。It should be understood that the terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said" and "the" used in the embodiments of this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, "multiple" Generally, it contains at least two types, but it does not exclude the inclusion of at least one type.
应当理解,尽管在本申请实施方式中可能采用术语第一、第二、第三等来描述某些部件,但这些部件不应仅仅被限于定于这些术语中。这些术语仅用来将各部件彼此区分开。例如,在不脱离本申请实施方式范围的情况下,第一某某部件也可以被称为第二某某部件,类似地,第二某某部件也可以被称为第一某某部件。It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present application to describe certain components, these components should not be limited to these terms. These terms are only used to distinguish the components from each other. For example, without departing from the scope of the embodiments of the present application, the first component may also be referred to as the second component, and similarly, the second component may also be referred to as the first component.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者系统中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a commodity or system that includes a series of elements not only includes those elements, but also includes those elements that are not explicitly listed. Other elements of, or also include elements inherent to this kind of commodity or system. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the commodity or system that includes the element.
在上述的各实施方式中,尽管为使解释简单化将上述方法图示并描述为一系列动作,但是本领域的普通技术人员应理解并领会,这些方法不受动作的次序所限,因为根据一个或多个实施方式,一些动作可按不同次序 发生和/或与来自本文中图示和描述或本文中未图示和描述但本领域技术人员可以理解的其他动作并发地发生。In the above embodiments, although the above methods are illustrated and described as a series of actions to simplify the explanation, those of ordinary skill in the art should understand and appreciate that these methods are not limited by the order of actions, because according to In one or more embodiments, some actions may occur in a different order and/or concurrently with other actions illustrated and described herein or not illustrated and described herein but can be understood by those skilled in the art.
本领域技术人员将进一步领会,结合本文中所公开的实施方式来描述的各种解说性逻辑板块、模块、单元、电路、和算法步骤可实现为电子硬件、计算机软件、或这两者的组合。为清楚地解说硬件与软件的这一可互换性,各种解说性组件、框、模块、单元、电路、和步骤在上面是以其功能性的形式作一般化描述的。此类功能性是被实现为硬件还是软件取决于具体应用和施加于整体系统的设计约束。技术人员对于每种特定应用可用不同的方式来实现所描述的功能性,但这样的实现决策不应被解读成导致脱离了本申请的范围。Those skilled in the art will further understand that the various illustrative logic blocks, modules, units, circuits, and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or a combination of the two . In order to clearly explain the interchangeability of hardware and software, various illustrative components, blocks, modules, units, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. Technicians can implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope of this application.
本申请的发明人发现:在现有技术中,设计了一些针对电子烟的防伪验证方法,然而这些防伪方法通常局限于在电子烟本机,也就是烟杆和烟弹之间的防伪,密文容易被破解。The inventor of the present application found that: in the prior art, some anti-counterfeiting verification methods for electronic cigarettes have been designed, but these anti-counterfeiting methods are usually limited to the electronic cigarette machine, that is, the anti-counterfeiting and confidentiality between the cigarette stick and the cartridge. The text is easy to crack.
有鉴于此,本申请的实施方式提供了一种电子烟验证方法、电子烟芯片、电子烟、终端设备和计算机可读存储介质。In view of this, the embodiments of the present application provide an electronic cigarette verification method, an electronic cigarette chip, an electronic cigarette, a terminal device, and a computer-readable storage medium.
其中,一种电子烟芯片,参见图1所示,包括:Among them, an electronic cigarette chip, as shown in Figure 1, includes:
电子烟通信模块,用于与外部设备通信连接;Electronic cigarette communication module, used to communicate with external devices;
电子烟校验模块,用于对通信模块从外部设备所接收的激活码进行校验,并在激活码通过校验的情况下,执行解锁动作。The electronic cigarette verification module is used to verify the activation code received by the communication module from the external device, and perform an unlocking action when the activation code passes the verification.
本申请的实施方式还提供了一种电子烟,包含有上述的电子烟芯片。另外,电子烟还可以包含与电子烟芯片连接的电子烟工作模块。当电子烟芯片执行了解锁动作时,电子烟工作模块可以开始工作,以便对电子烟烟弹进行加热。The embodiment of the present application also provides an electronic cigarette, which includes the above electronic cigarette chip. In addition, the electronic cigarette may also include an electronic cigarette working module connected to the electronic cigarette chip. When the electronic cigarette chip performs the unlocking action, the electronic cigarette working module can start to work, so as to heat the electronic cigarette cartridge.
在本申请的实施方式中,所指的外部设备,可以是服务器、用于与服务器中继连接的终端设备,或仅为独立的终端设备。外部设备的形态、规模并不受限制,只要能够为电子烟提供激活码即可。In the embodiments of the present application, the external device referred to may be a server, a terminal device for relay connection with the server, or only an independent terminal device. The form and scale of external devices are not limited, as long as they can provide activation codes for e-cigarettes.
而激活码自外部设备发送给电子烟芯片的契机可以是通过电子烟来 请求激活码,也可以是通过外部设备主动发出激活码。当通过电子烟来请求激活码时,可以通过电子烟向服务器发送电子烟的烟杆、烟弹的特征数据,以便服务器校验真伪。The opportunity for the activation code to be sent from the external device to the electronic cigarette chip can be to request the activation code through the electronic cigarette, or to actively send the activation code through the external device. When an activation code is requested through an electronic cigarette, the characteristic data of the rod and cartridge of the electronic cigarette can be sent to the server through the electronic cigarette, so that the server can verify the authenticity.
本申请的实施方式还提供了一种电子烟验证方法,可应用于上述的电子烟芯片,参见图2所示,该方法包括:The embodiment of the present application also provides an electronic cigarette verification method, which can be applied to the above-mentioned electronic cigarette chip. As shown in FIG. 2, the method includes:
S11、接收外部设备发送的激活码;S11. Receive an activation code sent by an external device;
S12、对激活码进行校验;S12. Verify the activation code;
S13、激活码通过校验的情况下,执行解锁动作。S13. If the activation code passes the verification, perform an unlocking action.
上述S11中的激活码可以是利用电子烟的信息计算得到。所述电子烟的信息包括如下中的至少一种:所述电子烟的标识、批次信息、所述电子烟的烟弹口味信息等等。具体的,所述电子烟的标识可以是电子烟芯片对应的唯一ID号。所述电子烟的标识包括:电子烟的烟杆芯片(或称解码芯片)对应的标识。The activation code in the above S11 may be calculated by using the information of the electronic cigarette. The information of the electronic cigarette includes at least one of the following: an identification of the electronic cigarette, batch information, and flavor information of the electronic cigarette cartridge, and so on. Specifically, the identification of the electronic cigarette may be a unique ID number corresponding to the electronic cigarette chip. The identification of the electronic cigarette includes the identification corresponding to the cigarette rod chip (or called the decoding chip) of the electronic cigarette.
激活码的产生其实就是一种数据的加密。具体实现时,可采用预设的加密算法,对电子烟的信息进行计算,得到激活码。本实施例对该加密算法不作具体限定。电子烟在接收到该激活码后,若该激活码与电子烟本地预存的激活码一致,则可启动激活,以使自身处于激活状态。即上述步骤S12“对激活码进行校验”包括:The generation of the activation code is actually a kind of data encryption. In specific implementation, a preset encryption algorithm can be used to calculate the information of the electronic cigarette to obtain the activation code. This embodiment does not specifically limit the encryption algorithm. After the e-cigarette receives the activation code, if the activation code is consistent with the activation code pre-stored locally in the e-cigarette, the activation can be initiated to make itself in an activated state. That is, the above step S12 "check the activation code" includes:
确定所述激活码与预存的激活码是否一致,若所述激活码与所述预存的激活码一致,则确定所述激活码通过校验;若所述激活码与所述预存的激活码不一致,则确定所述激活码校验失败。Determine whether the activation code is consistent with the pre-stored activation code, if the activation code is consistent with the pre-stored activation code, determine that the activation code passes the verification; if the activation code is inconsistent with the pre-stored activation code , It is determined that the activation code verification fails.
激活状态为电子烟处于可正常工作的状态,例如可对电子烟进行烟量大小设置以及使用时间设置等。所述锁定状态为是电子烟处于不可以使用状态或者有功能限制、时间限制等无法处于正常工作的状态。The activated state is a state in which the electronic cigarette is in a normal working state, for example, the amount of smoke and the time of use can be set for the electronic cigarette. The locked state is a state in which the electronic cigarette is in an unusable state or cannot be in a normal working state due to function restrictions, time restrictions, and the like.
为了简化表述,参见图1所示,接下来以独立的外部设备为例,给出一个应用场景:In order to simplify the description, refer to Figure 1. Next, taking an independent external device as an example, an application scenario is given:
场景一scene one
使用者网购了一支电子烟到家。在家中打开电子烟的包装之后,开启电子烟的开关。此时电子烟尝试通过电子烟通信模块连接网络,获取激活码。若获取失败,则电子烟工作模块不工作,电子烟无法使用。若获取的激活码在电子烟芯片中得到了正确的校验,则电子烟工作模块可以工作,电子烟可以使用。The user bought an e-cigarette home online. After opening the e-cigarette package at home, turn on the switch of the e-cigarette. At this time, the electronic cigarette tries to connect to the network through the electronic cigarette communication module to obtain the activation code. If the acquisition fails, the electronic cigarette working module does not work, and the electronic cigarette cannot be used. If the obtained activation code is correctly verified in the electronic cigarette chip, the electronic cigarette working module can work and the electronic cigarette can be used.
其中,电子烟通信模块可以是GSM、3G、4G、5G等多种形式的通信模块。其可以借助于NB-IoT或LoRa这样的低功耗窄带物联网,实现与外部设备的无线连接。当然,电子烟通信模块也可以借助于WIFI接入互联网。Among them, the electronic cigarette communication module can be a communication module in various forms such as GSM, 3G, 4G, and 5G. It can realize wireless connection with external devices with the help of low power consumption narrowband IoT such as NB-IoT or LoRa. Of course, the electronic cigarette communication module can also access the Internet by means of WIFI.
在这一应用场景的基础上,电子烟的烟杆可以设置有验证电子烟的烟弹的机制。在每次使用者打算吸烟之时,或者每装上新的烟弹时,都可以先进行一次校验,将烟弹的特征码发送给服务器。若烟弹有伪造的可能性,则服务器不返回激活码,电子烟无法工作,从而保护使用者的健康。On the basis of this application scenario, the rod of the electronic cigarette can be provided with a mechanism for verifying the cartridge of the electronic cigarette. Every time a user intends to smoke, or every time a new cartridge is installed, a verification can be performed first, and the characteristic code of the cartridge can be sent to the server. If there is a possibility of counterfeiting the cartridge, the server does not return the activation code and the electronic cigarette cannot work, thereby protecting the health of the user.
值得一提的是,由于电子烟的电池容量相对较小,为了保证续航时间。电子烟上通常不需要设置过于复杂的电子结构。据此,可以通过与电子烟连接的终端设备参与验证,以延长电子烟的使用时间。而如前所述,本申请所指的外部设备可以是服务器,独立的终端设备,也可以是与服务器连接的终端设备。It is worth mentioning that due to the relatively small battery capacity of electronic cigarettes, in order to ensure battery life. There is usually no need to install an overly complicated electronic structure on an electronic cigarette. Accordingly, the terminal device connected to the electronic cigarette can participate in the verification to extend the use time of the electronic cigarette. As mentioned above, the external device referred to in this application may be a server, an independent terminal device, or a terminal device connected to the server.
基于上述考虑,本申请的实施方式还提供了一种终端设备,参见图3所示,包括:Based on the foregoing considerations, the embodiment of the present application also provides a terminal device, as shown in FIG. 3, including:
近距离通信模块,用于与电子烟建立通信连接;The short-distance communication module is used to establish a communication connection with the electronic cigarette;
验证模块,用于获取激活码,并用于将激活码通过所述近距离通信模块发送至电子烟,以激活电子烟。The verification module is used to obtain the activation code, and is used to send the activation code to the electronic cigarette through the short-range communication module to activate the electronic cigarette.
本申请的终端设备,可以是固定式的终端,也可以是可移动终端。终端设备可以提供验证激活码,也可以与服务器通信连接,从服务器获取激活码。当通过服务器获取激活码时,可以有效防止针对终端本地的破解,提高安全性。The terminal device of this application may be a fixed terminal or a mobile terminal. The terminal device can provide the verification activation code, or it can communicate with the server to obtain the activation code from the server. When the activation code is obtained through the server, it can effectively prevent the local cracking of the terminal and improve the security.
具体地,验证激活码是一组烟杆主控制器能识别的操作码,一般情况下,烟杆出厂前处于“锁定”状态,在解锁时,需要用户通过终端设备登录电子烟个人账户,在绑定完烟杆设备后,进行烟杆激活操作。此时服务器将已存储的对应烟杆的激活码(每根烟杆具有唯一指定的激活码)通过4G/5G/无线网络传输给终端设备,然后通过终端设备的蓝牙传输到对应待激活烟杆上。Specifically, the verification activation code is a set of operation codes that can be recognized by the main controller of the cigarette stick. Generally, the cigarette stick is in the "locked" state before leaving the factory. When unlocking, the user needs to log in to the personal e-cigarette account through the terminal device. After binding the cigarette stick device, perform the cigarette stick activation operation. At this time, the server transmits the stored activation code of the corresponding cigarette stick (each cigarette has a uniquely specified activation code) to the terminal device through the 4G/5G/wireless network, and then transmits it to the corresponding cigarette stick to be activated through the Bluetooth of the terminal device on.
对应于终端设备,本申请的实施方式还提供了一种电子烟验证方法,包括:Corresponding to the terminal device, the embodiment of this application also provides an electronic cigarette verification method, including:
与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
获取激活码;obtain activation code;
将所述激活码发送至所述电子烟,以激活所述电子烟。The activation code is sent to the electronic cigarette to activate the electronic cigarette.
也就是说,可选地,接收外部设备发送的激活码的步骤,包括:That is, optionally, the step of receiving the activation code sent by the external device includes:
通过终端设备接收服务器反馈的激活码;或者,Receive the activation code fed back by the server through the terminal device; or,
通过与外部设备建立的通信链路获取外部设备反馈的激活码。Acquire the activation code fed back by the external device through the communication link established with the external device.
由于本申请的实施方式通过所提供的终端设备来连接服务器并获取激活码,相比于电子烟直接连接服务器而言仅需要负担近距离通信的功耗,其续航时间将得到显著增加。具体说来,电子烟可以通过低功耗蓝牙,或有线接口的方式与终端设备进行连接。其中,终端设备可以是但不限于:手机、平板电脑、台式计算机、笔记本电脑、智能穿戴设备等等。Since the embodiment of the present application uses the provided terminal device to connect to the server and obtain the activation code, compared to the electronic cigarette directly connecting to the server, it only needs to bear the power consumption of the short-range communication, and its battery life will be significantly increased. Specifically, e-cigarettes can be connected to terminal devices through low-power Bluetooth or wired interfaces. Among them, the terminal device can be, but is not limited to: a mobile phone, a tablet computer, a desktop computer, a notebook computer, a smart wearable device, and so on.
当通过服务器获取激活码时,上述方法还可以包括如下步骤:接收服务器针对电子烟的信息生成并发送的激活码。When the activation code is obtained through the server, the above method may further include the following step: receiving the activation code generated and sent by the server for the information of the electronic cigarette.
其中,所述电子烟的信息可包括但不限于:所述电子烟的标识、批次信息、所述电子烟的烟弹口味信息等等。将这些信息采用一定的加密算法(本实施例对此不作具体限定)进行计算,便可得到所述激活码。采用针对电子烟的信息生成并发送的激活码具备更高的安全性。Wherein, the information of the electronic cigarette may include, but is not limited to: the identification of the electronic cigarette, batch information, the flavor information of the electronic cigarette cartridge, and so on. These information are calculated using a certain encryption algorithm (this embodiment does not specifically limit this) to obtain the activation code. The activation code generated and sent with the information for the electronic cigarette has higher security.
作为尼古丁类物质的替代品,电子烟具有一定的成瘾性。因此在各个国家基本将电子烟的可购买年龄限制为成年人。然而本申请的申请人发现, 现有技术中尚未涉及到针对电子烟的购买者的可行的身份验证技术方案,普遍地,未成年人依然可以很容易地买到电子烟。As a substitute for nicotine substances, e-cigarettes are addictive. Therefore, in various countries, the age at which e-cigarettes can be purchased is basically restricted to adults. However, the applicant of this application found that the prior art has not yet involved a feasible identification verification technical solution for the purchaser of electronic cigarettes. Generally, minors can still easily buy electronic cigarettes.
本申请的发明人认为,可以通过技术手段的方式,对电子烟的购买渠道、购买路径、使用场景进行物理追溯。以实现对电子烟的购买和使用的实名监管。The inventor of this application believes that the purchase channels, purchase paths, and usage scenarios of electronic cigarettes can be physically traced through technical means. In order to realize the real-name supervision of the purchase and use of electronic cigarettes.
据此,对电子烟而言,本申请的另一实施方式提供了一种电子烟验证方法,参见图4所示,包括:Accordingly, for electronic cigarettes, another embodiment of the present application provides an electronic cigarette verification method, as shown in FIG. 4, including:
在电子烟使用者通过身份验证的情况下,接收外部设备发送的激活码;When the e-cigarette user passes the identity verification, receive the activation code sent by the external device;
对所述激活码进行校验;Verify the activation code;
所述激活码通过校验的情况下,执行解锁动作,以使所述电子烟的烟杆进入可状态。When the activation code passes the verification, an unlocking action is performed to make the rod of the electronic cigarette enter a ready state.
具体地,对所述激活码进行校验包括:确定所述激活码与预存的激活码是否一致,若所述激活码与所述预存的激活码一致,则确定所述激活码通过校验。Specifically, verifying the activation code includes: determining whether the activation code is consistent with a pre-stored activation code, and if the activation code is consistent with the pre-stored activation code, determining that the activation code passes the verification.
据此,同样的,外部设备可以是终端设备或服务器,对终端设备而言,本申请的实施方式同样提供了一种电子烟验证方法,依然参见图4所示,包括:Accordingly, similarly, the external device can be a terminal device or a server. For the terminal device, the embodiment of the present application also provides an electronic cigarette verification method, which is still shown in FIG. 4, including:
与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
响应于使用者通过交互界面触发的数据输入事件,获取使用者在数据输入事件中输入的身份数据;In response to the data input event triggered by the user through the interactive interface, obtain the identity data input by the user in the data input event;
根据身份数据对电子烟使用者的身份进行验证;Verify the identity of the e-cigarette user based on the identity data;
在身份数据通过验证的情况下,获取激活码;When the identity data is verified, get the activation code;
将激活码发送至电子烟,以激活电子烟。Send the activation code to the e-cigarette to activate the e-cigarette.
具体实施时,上述方法步骤的执行主体终端设备可包括但不限于如下中的至少一种:摄像头、键盘、触摸屏、指纹采集器、读码器、证件读取器等等。比如,终端设备为手机,用户可通过手机上的键盘或触摸屏输入 身份数据,还可采用摄像头拍照的方式采集用户的身份证件等。假设身份数据包括用户输入的出生日期、姓名、身份证件号码、证件照片等。在一具体实现方案中上述步骤“根据身份数据对电子烟使用者的身份进行验证”可具体采用如下方式实现:对所述身份证件号码进行识别,以判定该证件持有者是否为成年人;并对摄像头采集到的用户面部视频(如用户眨眼视频或扭头视频)进行面部识别,以比对通过摄像头采集的用户面部特征与证件照片上的面部特征;以通过比对结果判定当前使用电子烟的用户是否为证件持有者。若判定证件持有者为成年人,且识别出当前使用电子烟的用户是证件持有者,则通过身份验证。During specific implementation, the terminal device that executes the above method steps may include but is not limited to at least one of the following: a camera, a keyboard, a touch screen, a fingerprint collector, a barcode reader, a document reader, and so on. For example, if the terminal device is a mobile phone, the user can input identity data through the keyboard or touch screen on the mobile phone, and can also collect the user's ID card by taking pictures with a camera. It is assumed that the identity data includes the date of birth, name, ID number, ID photo, etc. entered by the user. In a specific implementation scheme, the above steps "verify the identity of the e-cigarette user based on the identity data" can be implemented in the following manner: the identification number is identified to determine whether the certificate holder is an adult; And perform facial recognition on the user's facial video collected by the camera (such as the user blinking video or turning head video) to compare the user's facial features collected by the camera with the facial features on the ID photo; to determine the current use of e-cigarettes based on the comparison results Whether the user of is the certificate holder. If it is determined that the certificate holder is an adult, and it is identified that the user currently using the electronic cigarette is the certificate holder, the identity verification is passed.
身份验证可在终端设备本地进行,也可由服务器侧进行。如下提供的一具体方案中,在电子烟的验证方法中,还包括:Identity verification can be performed locally on the terminal device or on the server side. In a specific solution provided below, the verification method for electronic cigarettes also includes:
电子烟与所述终端设备建立通信连接;Establishing a communication connection between the electronic cigarette and the terminal device;
电子烟通过所述终端设备发送电子烟的激活请求,以便所述终端设备将所述电子烟使用者的身份数据发送至服务器,由所述服务器基于所述身份验证数据对所述电子烟使用者进行身份验证。The electronic cigarette sends an activation request of the electronic cigarette through the terminal device, so that the terminal device sends the identity data of the electronic cigarette user to the server, and the server sends the information to the electronic cigarette user based on the identity verification data. Perform identity verification.
而且可选地,根据身份数据对电子烟使用者的身份进行验证,包括:And optionally, verifying the identity of the e-cigarette user based on the identity data includes:
将身份数据及电子烟的信息发送至服务器,以便服务器基于身份数据对电子烟使用者的身份进行验证。The identity data and e-cigarette information are sent to the server, so that the server can verify the identity of the e-cigarette user based on the identity data.
基于上述考虑,本申请的实施方式还提供了一种电子烟芯片、电子烟以及终端设备,其中,参见图5所示,电子烟芯片包括:Based on the above considerations, the embodiments of the present application also provide an electronic cigarette chip, an electronic cigarette, and a terminal device, where, as shown in FIG. 5, the electronic cigarette chip includes:
电子烟通信模块,用于与外部设备通信连接;Electronic cigarette communication module, used to communicate with external devices;
电子烟校验模块,用于在电子烟使用者通过身份验证的情况下,对所述通信模块从外部设备所接收的激活码进行校验,并在所述激活码通过校验的情况下,执行解锁动作。The electronic cigarette verification module is used to verify the activation code received by the communication module from the external device when the user of the electronic cigarette passes the identity verification, and when the activation code passes the verification, Perform unlock action.
电子烟则包含上述的电子烟芯片。Electronic cigarettes contain the above-mentioned electronic cigarette chips.
终端设备,同样参见图5所示,包括:Terminal equipment, also shown in Figure 5, includes:
近距离通信模块,用于与电子烟建立通信连接;The short-distance communication module is used to establish a communication connection with the electronic cigarette;
终端获取模块,用于获取使用者输入的身份数据;The terminal acquisition module is used to acquire the identity data entered by the user;
验证模块,用于根据身份数据对电子烟使用者的身份进行验证,还用于在身份数据通过验证的情况下,获取激活码,并将激活码通过近距离通信模块发送至电子烟,以激活电子烟。The verification module is used to verify the identity of the e-cigarette user according to the identity data, and is also used to obtain the activation code when the identity data is verified, and send the activation code to the e-cigarette through the short-range communication module to activate e-cigarette.
对于本申请的实施方式而言,身份数据可以至少包括使用者的年龄信息,在根据身份数据对电子烟使用者的身份进行验证的过程中,验证通过的条件应至少包括年龄大于或等于电子烟销售地的法定成年年龄,或法定的可购买尼古丁类产品的年龄。For the implementation of this application, the identity data may include at least the age information of the user. In the process of verifying the identity of the e-cigarette user based on the identity data, the conditions for passing the verification should include at least the age greater than or equal to the e-cigarette The legal age of majority at the place of sale, or the legal age at which nicotine products can be purchased.
为了便于与远程服务器通信,验证模块可以包括:In order to facilitate communication with the remote server, the verification module can include:
远程通信模块,用于将身份数据及电子烟的信息发送至服务器,以便服务器基于身份数据对电子烟使用者的身份进行验证。The remote communication module is used to send identity data and electronic cigarette information to the server, so that the server can verify the identity of the electronic cigarette user based on the identity data.
其中,远程通信模块可以是与接入互联网的有线网卡,或是基于移动数据通信网络、WIFI、蓝牙、NB-IoT/LoRa等技术的无线网络模块。近距离通信模块与远程通信模块对应,负责与电子烟的通信模块进行通信。在本申请中,近距离通信模块指的是广义的“近距离”通信,而并不单指“近场通信模块”,也就是说本申请所指的“近距离”,主要是为了和负责与服务器通信的“远程”通信模块作出的区分而进行的命名。其通信原理可以与远程通信模块一致,也可以不一致。具体地,本申请通信模块可以是蓝牙模块、NFC模块、WIFI模块等等。通常以能够兼顾便利性和续航的蓝牙模块为优选方案。Among them, the remote communication module may be a wired network card connected to the Internet, or a wireless network module based on mobile data communication network, WIFI, Bluetooth, NB-IoT/LoRa and other technologies. The short-distance communication module corresponds to the long-distance communication module, and is responsible for communicating with the communication module of the electronic cigarette. In this application, the short-range communication module refers to the "near-field" communication in a broad sense, and does not only refer to the "near-field communication module". The naming made by the distinction made by the "remote" communication module of server communication. Its communication principle can be the same as that of the remote communication module, or it can be inconsistent. Specifically, the communication module of the present application may be a Bluetooth module, an NFC module, a WIFI module, and so on. Usually, a Bluetooth module that can take into account both convenience and battery life is the preferred solution.
另外,本申请所提及的终端设备可以是使用者自用的智能手机、智能手表等手持移动设备,也可以是通过远程通信模块连接服务器的,用于贩售电子烟的自动售货机。二者在具体实现上的技术方案有所不同,接下来将具体地进行举例说明。In addition, the terminal device mentioned in this application can be a handheld mobile device such as a smart phone or a smart watch for the user's own use, or a vending machine used to sell electronic cigarettes connected to a server through a remote communication module. The technical solutions for the specific implementation of the two are different, and a specific example will be given next.
首先,以智能手机或智能手表这样的手持移动设备为例进行说明。当终端设备为手持移动设备时,使用者可以通过自身随时携带的手持移动设备进行身份验证,具有非常优越的灵活性和便利性。First, take a handheld mobile device such as a smart phone or a smart watch as an example. When the terminal device is a handheld mobile device, the user can perform identity verification through the handheld mobile device he carries at any time, which has very superior flexibility and convenience.
例如,在利用智能手机作为终端设备时,终端获取模块可以包括智能手机的指纹识别元件、摄像头、触摸屏、麦克风等等器件。相应地,身份数据则可以包括:指纹、声纹、面部识别数据、虹膜识别数据等等。For example, when a smart phone is used as a terminal device, the terminal acquisition module may include a fingerprint recognition element of the smart phone, a camera, a touch screen, a microphone, and other devices. Correspondingly, the identity data can include fingerprints, voiceprints, facial recognition data, iris recognition data, and so on.
验证模块可以将终端获取模块所获取的身份数据转发给服务器,与服务器存储的身份数据进行比对,也可以在本机比对。通过比对能够确认使用者的身份,防止非法使用者购买、获得、使用电子烟。The verification module can forward the identity data acquired by the terminal acquisition module to the server for comparison with the identity data stored by the server, or it can be compared on the local machine. Through the comparison, the user's identity can be confirmed, and illegal users can be prevented from buying, obtaining, and using electronic cigarettes.
进一步地,身份数据可以包括:Further, the identity data may include:
使用者的证件号码和生物特征数据。利用证件号码和生物特征数据互相比对,能够更好地确认使用者的身份以明确使用者的使用资格。The user’s ID number and biometric data. By comparing the ID number with the biometric data, the user’s identity can be better confirmed to clarify the user’s qualifications.
接下来将以上述方案为基础给出另一个应用场景:Next, another application scenario will be given based on the above scheme:
场景二Scene two
使用者网购或到店购买了一支电子烟,回到家中。在家中打开电子烟的包装之后,开启电子烟的开关。The user bought an e-cigarette online or went to the store and returned home. After opening the e-cigarette package at home, turn on the switch of the e-cigarette.
根据说明书,使用者将电子烟通信模块与使用者所持有的智能手机的近距离通信模块相互匹配,建立连接。According to the instructions, the user matches the electronic cigarette communication module with the short-range communication module of the smart phone held by the user to establish a connection.
连接成功之后,该智能手机提示使用者在交互界面输入身份数据。例如,使用者可以通过触摸屏、键盘输入身份证号码,并拍摄面部照片,或是采集指纹等等。After the connection is successful, the smart phone prompts the user to enter the identity data on the interactive interface. For example, the user can enter the ID number through the touch screen, keyboard, and take facial photos, or collect fingerprints and so on.
智能手机在获取了身份数据之后,通过验证模块将身份数据传输给服务器。服务器在后台进行身份数据比对和验证,并在验证成功之后,向该智能手机返回一个激活码。After obtaining the identity data, the smart phone transmits the identity data to the server through the verification module. The server performs identity data comparison and verification in the background, and after successful verification, returns an activation code to the smart phone.
值得一提的是,电子烟通信模块还可以通过该智能手机向服务器发送自身的特征数据,以便该服务器返回与该特征数据所对应的激活码。其中,特征数据可以包括该电子烟的ID、批次等等。It is worth mentioning that the electronic cigarette communication module can also send its own characteristic data to the server through the smart phone, so that the server returns the activation code corresponding to the characteristic data. Among them, the characteristic data may include the ID, batch, etc. of the electronic cigarette.
这一激活码通过终端设备发送给电子烟的校验模块。当校验模块通过了激活码的验证时,执行解锁动作,使得电子烟工作模块可以正常工作。This activation code is sent to the verification module of the electronic cigarette through the terminal device. When the verification module passes the verification of the activation code, an unlocking action is performed, so that the electronic cigarette working module can work normally.
若服务器对身份数据的验证失败了,则激活码不会返回。而若非法使 用者尝试破解验证,返回的是错误的激活码,则电子烟校验模块的验证不会通过,这都将使得电子烟工作模块无法工作。If the server fails to verify the identity data, the activation code will not be returned. If an illegal user tries to crack the verification and the wrong activation code is returned, the verification of the e-cigarette verification module will not pass, which will make the e-cigarette work module unable to work.
其中,身份数据的验证失败的原因可以包括:使用者的年龄未达到法定年龄、使用者的生物特征数据不匹配等等。Among them, the reasons for the authentication failure of the identity data may include: the user's age has not reached the legal age, the user's biometric data does not match, and so on.
在上述场景二中,可以仅针对首次使用电子烟进行验证,也可以在每次使用电子烟时都要求验证。前者的便利性更好,后者的安全性则更佳。当所使用的电子烟已经经过绑定时,每次开启电子烟的电源,终端设备可以自动地与该电子烟连接,并同步其使用数据,十分方便。另外,使用者可以在终端设备的应用程序中,为自己建立账号,或采用第三方应用程序(如微信、支付宝)的关联账号,以更好地维护自身的使用数据。In the second scenario above, verification can be performed only for the first use of e-cigarettes, or verification can be required each time the e-cigarette is used. The former is more convenient and the latter is more secure. When the electronic cigarette used has been bound, every time the power of the electronic cigarette is turned on, the terminal device can automatically connect with the electronic cigarette and synchronize its usage data, which is very convenient. In addition, users can create an account for themselves in the application of the terminal device, or use the associated account of a third-party application (such as WeChat, Alipay) to better maintain their own usage data.
值得一提的是,当身份数据包括使用者的生物特征数据时,根据身份数据对电子烟使用者的身份进行验证,可以包括:It is worth mentioning that when the identity data includes the user’s biometric data, the verification of the identity of the e-cigarette user based on the identity data can include:
将使用者的生物特征数据与本机存储的生物特征数据相比对,以确定身份数据是否通过验证。The user's biometric data is compared with the biometric data stored in the machine to determine whether the identity data is verified.
也就是说,终端设备可以在本机存储生物特征数据。这样一来,就不需要每次验证身份时都与云端通信了,可以显著地提高验证效率,改善电子烟的使用体验。特别是对于每次使用电子烟时都需要验证的方案而言,能够提供更友好的使用环境。In other words, the terminal device can store biometric data on its own. In this way, there is no need to communicate with the cloud every time an identity is verified, which can significantly improve the efficiency of verification and improve the experience of using e-cigarettes. Especially for solutions that need to be verified every time an electronic cigarette is used, a more friendly use environment can be provided.
据此,我们给出了另一个应用场景:Based on this, we give another application scenario:
场景三Scene three
使用者已经对手头的电子烟做过了身份验证,其生物特征数据,例如指纹,已经被存储于使用者的手持移动设备中。The user has already verified the identity of the electronic cigarette in hand, and its biometric data, such as fingerprints, has been stored in the user's handheld mobile device.
使用者突然想要抽烟。在其取出电子烟,打开电源后,手持移动设备提示使用者需要指纹解锁。The user suddenly wants to smoke. After taking out the electronic cigarette and turning on the power, the handheld mobile device prompts the user to unlock with a fingerprint.
使用者输入指纹,即可完成解锁动作,电子烟可用。The user enters the fingerprint to complete the unlocking action, and the e-cigarette is available.
如此一来,由于每次吸烟之前都需要使用者的指纹进行识别,因此可 以防止电子烟被使用者身边的儿童、青少年取用。更好地提高了安全性。In this way, since the user's fingerprint is required for identification before each smoking, it is possible to prevent the electronic cigarette from being taken by children and young people around the user. Better improve safety.
特别值得一提的是,终端设备不但可以借助本机存储的生物特征数据进行验证,而且可选地,前述的根据身份数据对电子烟使用者的身份进行验证的步骤,还可以包括:It is particularly worth mentioning that not only can the terminal device be verified with the biometric data stored in the machine, but optionally, the aforementioned step of verifying the identity of the e-cigarette user based on the identity data can also include:
将身份数据及电子烟的信息发送至关联的应用程序,以便关联的应用程序基于身份数据对电子烟使用者的身份进行验证。Send the identity data and e-cigarette information to the associated application, so that the associated application can verify the identity of the e-cigarette user based on the identity data.
也就是说,前述验证模块可以包括:In other words, the aforementioned verification module may include:
关联模块,用于将身份数据及电子烟的信息发送至关联的应用程序,以便关联的应用程序基于身份数据对电子烟使用者的身份进行验证。The association module is used to send the identity data and e-cigarette information to the associated application, so that the associated application verifies the identity of the e-cigarette user based on the identity data.
本申请所指的关联应用程序,通常指的是因支付、安全等原因而已经采集并验证了使用者身份数据的应用程序。在现有技术中,存在一些装机量很大的“国民级”应用,例如支付宝、微信等等。这些应用为了提供安全的支付功能,往往已经对使用者的身份数据进行了识别和验证。因此当电子烟需要验证使用者身份时,可以直接向这些应用程序的公用API接口提出请求,并通过这些应用程序的授权以获得对使用者的身份验证。Associated applications referred to in this application generally refer to applications that have collected and verified user identity data due to payment, security, and other reasons. In the prior art, there are some "national-level" applications with a large installed capacity, such as Alipay, WeChat, and so on. In order to provide secure payment functions, these applications have often identified and verified the user's identity data. Therefore, when the electronic cigarette needs to verify the user's identity, it can directly make a request to the public API interface of these applications, and obtain the user's identity verification through the authorization of these applications.
利用关联应用程序来进行身份验证更好地保障用户身份数据的安全性,并节约验证资源。The use of associated applications for identity verification better protects the security of user identity data and saves verification resources.
前文提及,本申请所提及的终端设备也可以是通过远程通信模块连接服务器的,用于贩售电子烟的自动售货机。As mentioned above, the terminal device mentioned in this application can also be connected to a server through a remote communication module and used for vending machines for selling electronic cigarettes.
接下来将对终端设备为自动售货机的情况作出具体说明。Next, a specific description will be made on the case where the terminal device is a vending machine.
当终端设备为自动售货机时,电子烟被设置在自动售货机内,电子烟同样可以通过多种方式与自动售货机达成通信连接。具体的连接方式在前文已有涉及,在此不再予以赘述。When the terminal device is a vending machine, the electronic cigarette is set in the vending machine, and the electronic cigarette can also communicate with the vending machine in a variety of ways. The specific connection method has been mentioned in the previous article, so I will not repeat it here.
电子烟可以在被购买前和购买之后验证使用者的身份是否符合使用电子烟的要求。据此,我们以购买前为例,给出了另一个应用场景:E-cigarettes can verify whether the user's identity meets the requirements for using e-cigarettes before and after the purchase. Based on this, we take pre-purchase as an example and give another application scenario:
场景四Scene four
电子烟被设置在自动售货机内。The electronic cigarette is set in the vending machine.
使用者在自动售货机前选择好想要购买的电子烟之后,自动售货机给出提示,要求采集和验证使用者的身份数据。After the user selects the electronic cigarette that he wants to buy in front of the vending machine, the vending machine gives a prompt requesting the collection and verification of the user's identity data.
具体说来,自动售货机上可以设置有:身份证验证装置、摄像头、指纹识别元件等等。使用者可以对应地通过刷身份证、面部识别、指纹识别等等方式验证自身的身份。Specifically, the vending machine can be equipped with: an ID verification device, a camera, a fingerprint recognition component, and so on. Users can correspondingly verify their own identity by swiping ID card, facial recognition, fingerprint recognition, etc.
在使用者完成验证自身身份并付款后,自动售货机吐出使用者所购买的电子烟,完成交易。其中,对电子烟的解锁步骤与前述场景相同,同样不再赘述。After the user completes the verification of his identity and makes the payment, the vending machine spit out the electronic cigarette purchased by the user to complete the transaction. Among them, the unlocking steps of the electronic cigarette are the same as the foregoing scenario, and will not be described again.
通过在自动售货机上设置身份识别,可以在购买环节就对使用者的进行过滤,可以更有效地防止未成年人购买电子烟。By setting up identification on the vending machine, users can be filtered at the point of purchase, which can more effectively prevent minors from buying electronic cigarettes.
而以购买后的验证为例,本申请同样给出了一个应用场景:Taking the verification after purchase as an example, this application also gives an application scenario:
场景五Scene five
电子烟被设置在自动售货机内。使用者付款之后可以取出所购买的电子烟。当然,使用者也可以通过其他渠道获得已经购买好的电子烟。The electronic cigarette is set in the vending machine. The user can take out the purchased e-cigarette after payment. Of course, users can also obtain purchased electronic cigarettes through other channels.
使用者通过操作自动售货机的交互界面,将电子烟与自动售货机通信连接,并提出激活电子烟的请求。自动售货机给出提示,要求采集和验证使用者的身份数据。The user communicates and connects the electronic cigarette with the vending machine by operating the interactive interface of the vending machine, and makes a request to activate the electronic cigarette. The vending machine gives a prompt requesting the collection and verification of the user's identity data.
通过自动售货机所发出的身份数据,服务器后台进行身份数据比对和验证,并在验证成功之后,向该自动售货机返回一个激活码。自动售货机利用与电子烟的通信连接,将激活码传输给电子烟,以供电子烟校验模块校验。在校验成功后,电子烟的工作模块可以工作。Through the identity data sent by the vending machine, the server background performs identity data comparison and verification, and after the verification is successful, an activation code is returned to the vending machine. The vending machine uses the communication connection with the electronic cigarette to transmit the activation code to the electronic cigarette for verification by the electronic cigarette verification module. After the verification is successful, the working module of the electronic cigarette can work.
另外,在不借助外部设备的前提下,电子烟也能够通过自身来获取使用者的身份数据。也就是说,还可以在电子烟上设置交互元件以供获取使用者的身份数据。In addition, the electronic cigarette can also obtain the user's identity data by itself without resorting to external equipment. In other words, an interactive element can also be provided on the electronic cigarette to obtain the user's identity data.
因此可选地来说,前述方法还可以包括:Therefore, optionally, the foregoing method may further include:
响应于使用者在电子烟的交互元件上触发的数据输入事件,获取使用者输入的身份数据;In response to a data input event triggered by the user on the interactive element of the electronic cigarette, obtain the identity data input by the user;
通过与外部设备建立的通信链路将身份数据发送至外部设备,以由外部设备对身份数据进行验证。The identity data is sent to the external device through the communication link established with the external device, so that the external device verifies the identity data.
其中,交互元件同样可以是:指纹识别元件、麦克风、摄像头等等。相应的,身份数据同样可以包括:使用者指纹、使用者语音、使用者头像等等。不再赘述。Among them, the interactive components can also be: fingerprint recognition components, microphones, cameras, and so on. Correspondingly, the identity data may also include: user fingerprints, user voice, user avatar, and so on. No longer.
值得说明的是,在现有技术中,电子烟往往包括烟杆和烟弹。这两个部件是可能被分别购买的。在前文中,并未对烟杆和烟弹进行区分,仅笼统地提及“电子烟”或“电子烟芯片”。本领域普通技术人员应当理解,无论购买使用的是烟杆还是烟弹,还是完整的电子烟,上述的技术方法皆可适用。也就是说,可以在电子烟的烟杆、烟弹上是可以分别设置烟杆芯片和烟弹芯片的。而针对电子烟的烟杆、烟弹也可以分别进行防伪和身份验证。It is worth noting that in the prior art, electronic cigarettes often include cigarette sticks and cartridges. These two components may be purchased separately. In the previous article, no distinction was made between cigarette sticks and cartridges, and only “e-cigarettes” or “e-cigarette chips” were mentioned in general terms. Those of ordinary skill in the art should understand that the above-mentioned technical methods can be applied regardless of whether the cigarette stick or cartridge is purchased or used, or a complete electronic cigarette. In other words, the rod and the cartridge of the electronic cigarette can be respectively provided with a rod chip and a cartridge chip. The cigarette sticks and cartridges for e-cigarettes can also be used for anti-counterfeiting and identity verification respectively.
然而,在烟弹上设置电池、数据接口或无线芯片,其成本较为高昂。据此,本申请的发明人认为,烟弹可以考虑被设置为通过烟杆进行验证。However, it is relatively expensive to install a battery, a data interface or a wireless chip on the cartridge. Accordingly, the inventor of the present application believes that the cartridge can be considered to be set to be verified by the cigarette rod.
也就是说,每一枚新的烟弹被安装到烟杆上时,可以通过烟杆与服务器之间完成前述的通信,以实现上述验证过程。That is to say, when each new cartridge is installed on the cigarette stick, the aforementioned communication can be completed between the cigarette stick and the server to realize the above verification process.
此外,可选地,烟弹也可以通过本地验证的方式,仅与烟杆之间完成验证。具体参见图6所示,可选地,前述方法的执行解锁动作,还可以包括:In addition, optionally, the cartridge can also be verified locally only with the cigarette rod. For details, referring to FIG. 6, optionally, performing the unlocking action of the foregoing method may further include:
解锁电子烟的烟杆;Unlock the cigarette stick of the e-cigarette;
以及,前述方法还可以包括:And, the foregoing method may also include:
烟杆向电子烟中与烟杆连接的烟弹发送协定密码;The cigarette stick sends the protocol code to the cartridge connected to the cigarette stick in the electronic cigarette;
在烟弹判定协定密码符合第一要求时,烟杆接收烟弹发送的动态密码;When the cartridge determines that the protocol code meets the first requirement, the cartridge receives the dynamic code sent by the cartridge;
在烟杆判定动态密码符合第二要求时,烟杆发出驱动信号,以使电子烟进入可工作状态。When the cigarette stick determines that the dynamic code meets the second requirement, the cigarette stick sends a driving signal to make the electronic cigarette enter a working state.
其中,协定密码为烟杆与烟弹之前出厂预设的密码。其可以按照预设的加解密算法从动态的一个密码区间中生成,从而防止破解。Among them, the agreement password is the password preset before the cigarette stick and the cartridge. It can be generated from a dynamic password interval according to a preset encryption and decryption algorithm to prevent cracking.
具体实施时,上述协定密码和动态密码可采用相同的算法或不同算法计算得到。比如,协定密码和动态密码均可采用基于64b its椭圆形曲线演算法为基础的加解密算法计算得到。In specific implementation, the above-mentioned agreement password and dynamic password can be calculated using the same algorithm or different algorithms. For example, both the protocol password and the dynamic password can be calculated using an encryption and decryption algorithm based on the 64b its elliptic curve algorithm.
若烟弹成功识别协定密码,得到符合预设规则的输出结果,则判定协定密码符合第一要求,烟弹可通过设置于自身的防伪芯片向烟杆发送动态密码;烟杆接收到动态密码后,利用本地存储的验证算法对该动态密码进行校验,验证通过则判定该动态密码符合第二要求。If the cartridge successfully recognizes the protocol password and obtains the output result that meets the preset rules, it is determined that the protocol password meets the first requirement, and the cartridge can send the dynamic password to the cigarette stick through the anti-counterfeiting chip set in itself; after the cigarette stick receives the dynamic password , Use the locally stored verification algorithm to verify the dynamic password, and if the verification is passed, it is determined that the dynamic password meets the second requirement.
进一步地,烟杆芯片中的密码区间可以通过与服务器的连接得到更新。据此,每当新的一批烟弹上市时,经过更新的烟杆芯片可以实现对这一批烟弹的双向密码认证,进而具备更好的安全性。Further, the password interval in the cigarette stick chip can be updated through the connection with the server. According to this, whenever a new batch of cartridges is on the market, the updated cartridge chip can realize two-way password authentication for this batch of cartridges, and thus has better security.
在一些可选的实施例中,密码区间可存储在烟杆芯片的主控制器(可以为上述电子烟校验模块)的内部资料区。比如,烟杆出厂时,烟杆芯片基于原始的密码区间可识别0~99这100种口味的烟弹,但是当厂家推出第101种新烟弹时,烟杆将无法识别出第101种新烟弹。因此,当厂家推出第101种新烟弹后,服务器可对原始的密码区间进行更新,以使烟杆芯片基于更新后的密码区间,识别出第101种新烟弹。具体实施时,服务器可将密码区间更新信息发送至客户端设备(如用户的手机、平板电脑、台式/笔记本电脑或智能穿戴设备等),由客户端设备将接收到的密码区间更新信息发送至与客户端设备绑定的电子烟的烟杆,以便电子烟的烟杆将防伪芯片基于密码区间更新信息对本地密码区间进行更新,继而后续能识别出第101种新烟弹。服务器还可将密码区间更新信息发送至电子烟售卖设备,由电子烟售卖设备将接收到的密码区间更新信息发送至存储在电子烟售卖设备内未售出的电子烟的烟杆,以便电子烟的烟杆将防伪芯片基于密码区间更新 信息对本地密码区间进行更新,继而后续能识别出第101种新烟弹。In some optional embodiments, the password interval may be stored in the internal data area of the main controller of the cigarette stick chip (which may be the above-mentioned electronic cigarette verification module). For example, when the cigarette stick leaves the factory, the stick chip can identify 100 flavors of cartridges ranging from 0 to 99 based on the original password interval. However, when the manufacturer launches the 101st new cartridge, the cigarette stick will not be able to identify the 101st new cartridge. Smoke bomb. Therefore, when the manufacturer launches the 101st new cartridge, the server can update the original password interval so that the cigarette stick chip can identify the 101st new cartridge based on the updated password interval. During specific implementation, the server can send the password interval update information to the client device (such as the user’s mobile phone, tablet, desktop/laptop or smart wearable device, etc.), and the client device sends the received password interval update information to The cigarette stick of the electronic cigarette bound to the client device, so that the cigarette stick of the electronic cigarette updates the local password interval based on the password interval update information with the anti-counterfeiting chip, and then the 101st new cigarette cartridge can be subsequently identified. The server can also send the password interval update information to the e-cigarette vending device, and the e-cigarette vending device sends the received password interval update information to the cigarette sticks of the unsold e-cigarettes stored in the e-cigarette vending device for e-cigarette sales. Cigarette sticks update the local password interval based on the anti-counterfeiting chip based on the password interval update information, and then the 101st new cigarette cartridge can be identified subsequently.
值得一提的是,可以在首次通过验证之后,在烟弹芯片中写入数据,将该烟弹和烟杆绑定。如此一来,可以防止同一烟弹被重新装填后滥用于其他的烟杆,进一步地增加了安全性。作为配合,可选地,该方法还可以包括如下步骤:It is worth mentioning that after the first verification, data can be written in the cartridge chip to bind the cartridge and the cartridge. In this way, the same cartridge can be prevented from being abused with other cigarette sticks after being refilled, which further increases safety. As a cooperation, optionally, the method may further include the following steps:
统计使用者的吸取次数,并向烟弹芯片发送计数写入信号;Count the user's inhalation times, and send a count write signal to the cartridge chip;
响应于烟弹芯片根据计数结果所反馈的停止信号,停止加热烟弹。In response to the stop signal fed back by the cartridge chip according to the counting result, the cartridge is stopped from heating.
通过在烟弹芯片中对使用者的吸取次数进行计数,可以明确烟弹的使用进度。进一步地,当计数超过预设的阈值时,可以通过锁死烟弹,防止非法用户重新灌装烟弹,循环利用烟弹芯片所带来的安全隐患。By counting the number of times of inhalation by the user in the cartridge chip, the use progress of the cartridge can be clarified. Further, when the count exceeds a preset threshold, the cartridges can be locked to prevent illegal users from refilling cartridges and the hidden safety hazards caused by the recycling of cartridge chips.
进一步来说,可选的,若动态密码符合第二要求,则电子烟进入可工作状态,直至烟弹被取出。如此一来,在烟弹未被取出的前提下无需反复地对烟弹进行验证,节约了验证成本,提高了便利性。而且因为降低了验证频率,所以更可以节约烟杆的电池使用,延长续航时间。Further, optionally, if the dynamic password meets the second requirement, the electronic cigarette enters a working state until the cartridge is taken out. In this way, there is no need to repeatedly verify the cartridge under the premise that the cartridge has not been taken out, which saves the verification cost and improves the convenience. And because the verification frequency is reduced, the battery of the cigarette rod can be saved, and the battery life can be extended.
另外,可选地,若协定密码不符合第一要求或者动态密码不符合第二要求时,统计不符合要求的次数。进一步可选地,若所统计的不符合要求的次数大于或等于预设失败次数,则向烟弹的芯片发送锁定信号,以锁死烟弹;或者,In addition, optionally, if the agreed password does not meet the first requirement or the dynamic password does not meet the second requirement, count the number of times that the requirement is not met. Further optionally, if the counted number of times of non-compliance is greater than or equal to the preset number of failures, a lock signal is sent to the chip of the cartridge to lock the cartridge; or,
若相邻两次不符合要求的事件的间隔时间小于或等于预设失败时间,则向烟弹的芯片发送锁定信号,以锁死烟弹。If the interval between two consecutive events that do not meet the requirements is less than or equal to the preset failure time, a lock signal is sent to the chip of the cartridge to lock the cartridge.
针对烟弹和烟杆的芯片,非法用户有可能会采用暴力破解的手段尝试破解激活码、协定密码和动态密码。当借助暴力破解时,其往往在短时间内对芯片尝试大量输入随机数,并记录破解成功的数字为对应的破解密码。Regarding the chips of cigarette cartridges and cigarette sticks, illegal users may use brute force cracking methods to try to crack the activation code, agreement password and dynamic password. When using brute force to crack, it often tries to input a large number of random numbers to the chip in a short time, and records the successfully cracked number as the corresponding cracked password.
而在本申请中,借助于统计不符合要求的次数和频率,可以有针对性地对采取破解行为的用户锁死烟弹。而烟弹一旦锁死,将不再响应输入的任何信号,这样一来即可效地防止非法用户的破解行为。However, in this application, with the help of counting the number and frequency of non-compliance with the requirements, it is possible to lock the cartridges for users who take cracking actions in a targeted manner. Once the cartridge is locked, it will no longer respond to any input signal, which can effectively prevent illegal users from cracking.
本申请的又一实施方式还提供了一种计算设备,参见图7所示,包括:存储器51及处理器52,其中,Another embodiment of the present application also provides a computing device, as shown in FIG. 7, including: a memory 51 and a processor 52, where:
存储器51,用于存储程序;The memory 51 is used to store programs;
处理器52,与存储器51耦合,用于执行存储器51中存储的程序,以用于:The processor 52 is coupled with the memory 51, and is configured to execute a program stored in the memory 51 for:
在电子烟使用者通过身份验证的情况下,接收外部设备发送的激活码;When the e-cigarette user passes the identity verification, receive the activation code sent by the external device;
对激活码进行校验;Verify the activation code;
激活码通过校验的情况下,执行解锁动作。If the activation code passes the verification, the unlock action is executed.
以及,本申请的又一实施方式还提供了一种计算设备,包括:存储器51及处理器52,其中,And, another implementation manner of the present application also provides a computing device, including: a memory 51 and a processor 52, wherein,
存储器51,用于存储程序;The memory 51 is used to store programs;
处理器52,与存储器51耦合,用于执行存储器51中存储的程序,以用于:The processor 52 is coupled with the memory 51, and is configured to execute a program stored in the memory 51 for:
与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
响应于使用者通过交互界面触发的数据输入事件,获取使用者在数据输入事件中输入的身份数据;In response to the data input event triggered by the user through the interactive interface, obtain the identity data input by the user in the data input event;
根据身份数据对电子烟使用者的身份进行验证;Verify the identity of the e-cigarette user based on the identity data;
在身份数据通过验证的情况下,获取激活码;When the identity data is verified, get the activation code;
将激活码发送至电子烟,以激活电子烟。Send the activation code to the e-cigarette to activate the e-cigarette.
上述存储器51可被配置为存储其它各种数据以支持在计算设备上的操作。这些数据的示例包括用于在计算设备上操作的任何应用程序或方法的指令。存储器51可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The aforementioned memory 51 may be configured to store other various data to support operations on the computing device. Examples of such data include instructions for any application or method operating on the computing device. The memory 51 can be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable and Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
上述处理器52在执行存储器51中的程序时,除了上面的功能之外,还 可实现其它功能,具体可参见前面各实施方式的描述。When the above-mentioned processor 52 executes the program in the memory 51, in addition to the above functions, it may also implement other functions. For details, please refer to the descriptions of the foregoing embodiments.
进一步,如图7所示,计算设备还可以包括:通信组件43、显示器44、电源组件45、音频组件46等其它组件。图7中仅示意性给出部分组件,并不意味着计算设备只包括图7所示组件。Further, as shown in FIG. 7, the computing device may further include: a communication component 43, a display 44, a power supply component 45, an audio component 46 and other components. Only some components are schematically shown in FIG. 7, which does not mean that the computing device only includes the components shown in FIG. 7.
相应地,本申请的另一实施方式还提供了一种计算机可读存储介质,存储有计算机程序,计算机可读存储介质所存储的计算机程序在被处理器执行时,能够实现前述的各方法中的步骤或功能。Correspondingly, another embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program stored in the computer-readable storage medium is executed by a processor, it can implement the aforementioned methods. Steps or functions.
综上所述,本申请的实施方式能够提供更好的防伪验证功能,并通过验证使用者的身份防止非法用户购买和使用电子烟,而且还具有良好的便利性。In summary, the implementation of the present application can provide a better anti-counterfeiting verification function, and prevent illegal users from purchasing and using electronic cigarettes by verifying the user's identity, and also has good convenience.
最后应说明的是,本领域的普通技术人员可以理解,为了使读者更好地理解本申请,本申请的实施方式提出了许多技术细节。但是,即使没有这些技术细节和基于上述各实施方式的种种变化和修改,也可以基本实现本申请各权利要求所要求保护的技术方案。因此,在实际应用中,可以在形式上和细节上对上述实施方式作各种改变,而不偏离本申请的精神和范围。Finally, it should be noted that those of ordinary skill in the art can understand that, in order to enable readers to better understand this application, many technical details are proposed in the implementation of this application. However, even without these technical details and various changes and modifications based on the foregoing embodiments, the technical solutions required by the claims of this application can be basically realized. Therefore, in practical applications, various changes can be made to the above-mentioned embodiments in form and details without departing from the spirit and scope of the present application.

Claims (23)

  1. 一种电子烟验证方法,其特征在于,包括:An electronic cigarette verification method, which is characterized in that it comprises:
    接收外部设备发送的激活码;Receive the activation code sent by the external device;
    对所述激活码进行校验;Verify the activation code;
    所述激活码通过校验的情况下,执行解锁动作。If the activation code passes the verification, an unlocking action is executed.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    在电子烟使用者通过身份验证的情况下,接收外部设备发送的激活码。When the e-cigarette user passes the identity verification, the activation code sent by the external device is received.
  3. 根据权利要求2所述的方法,其特征在于,所述外部设备为终端设备,所述方法还包括:The method according to claim 2, wherein the external device is a terminal device, and the method further comprises:
    与所述终端设备建立通信连接;Establishing a communication connection with the terminal device;
    通过所述终端设备发送电子烟激活请求,以便所述终端设备将所述电子烟使用者的身份数据发送至服务器,由所述服务器基于所述身份验证数据对所述电子烟使用者进行身份验证。Send an e-cigarette activation request through the terminal device, so that the terminal device sends the identity data of the e-cigarette user to a server, and the server performs identity verification on the e-cigarette user based on the identity verification data .
  4. 根据权利要求1所述的方法,其特征在于,所述接收外部设备发送的激活码,包括:The method according to claim 1, wherein the receiving the activation code sent by the external device comprises:
    通过终端设备接收服务器反馈的所述激活码;或者Receiving the activation code fed back by the server through a terminal device; or
    通过与所述外部设备建立的通信链路获取所述外部设备反馈的所述激活码。Obtaining the activation code fed back by the external device through a communication link established with the external device.
  5. 根据权利要求1所述的方法,其特征在于,所述执行解锁动作,包括:The method according to claim 1, wherein the performing an unlocking action comprises:
    解锁所述电子烟的烟杆;Unlocking the rod of the electronic cigarette;
    所述方法还包括:The method also includes:
    所述烟杆向所述电子烟中与所述烟杆连接的烟弹发送协定密码;The cigarette stick sends an agreement code to the cartridge connected to the cigarette stick in the electronic cigarette;
    在所述烟弹判定所述协定密码符合第一要求时,所述烟杆接收所述烟弹发送的动态密码;When the cartridge determines that the agreement password meets the first requirement, the cigarette stick receives the dynamic password sent by the cartridge;
    在所述烟杆判定所述动态密码符合第二要求时,所述烟杆发出驱动信号,以使所述电子烟进入可工作状态。When the cigarette stick determines that the dynamic password meets the second requirement, the cigarette stick sends a driving signal to make the electronic cigarette enter a working state.
  6. 根据权利要求5所述的方法,其特征在于,若所述动态密码符合第二 要求,则所述电子烟进入可工作状态,直至所述烟弹被取出。The method according to claim 5, wherein if the dynamic password meets the second requirement, the electronic cigarette enters a working state until the cartridge is taken out.
  7. 根据权利要求5所述的方法,其特征在于,若所述协定密码不符合第一要求或者动态密码不符合第二要求时,统计不符合要求的次数。The method according to claim 5, wherein if the protocol password does not meet the first requirement or the dynamic password does not meet the second requirement, count the number of times that the requirement is not met.
  8. 根据权利要求7所述的方法,其特征在于,若所统计的不符合要求的次数大于或等于预设失败次数,则向所述烟弹的芯片发送锁定信号,以锁死所述烟弹;或者,The method according to claim 7, wherein if the counted number of non-conformances is greater than or equal to the preset number of failures, sending a lock signal to the chip of the cartridge to lock the cartridge; or,
    若相邻两次不符合要求的事件的间隔时间小于或等于预设失败时间,则向所述烟弹的芯片发送锁定信号,以锁死所述烟弹。If the interval between two consecutive non-compliant events is less than or equal to the preset failure time, a lock signal is sent to the chip of the cartridge to lock the cartridge.
  9. 一种电子烟验证方法,其特征在于,包括:An electronic cigarette verification method, which is characterized in that it comprises:
    与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
    响应于使用者通过交互界面触发的数据输入事件,获取所述使用者在所述数据输入事件中输入的身份数据;In response to a data input event triggered by a user through an interactive interface, acquiring the identity data input by the user in the data input event;
    根据所述身份数据对所述电子烟使用者的身份进行验证;Verifying the identity of the electronic cigarette user according to the identity data;
    在所述身份数据通过验证的情况下,获取激活码;In the case where the identity data is verified, an activation code is obtained;
    将所述激活码发送至所述电子烟,以激活所述电子烟。The activation code is sent to the electronic cigarette to activate the electronic cigarette.
  10. 根据权利要求9所述的方法,其特征在于,所述身份数据包括:The method according to claim 9, wherein the identity data comprises:
    使用者的证件号码和生物特征数据。The user’s ID number and biometric data.
  11. 根据权利要求9所述的方法,其特征在于,所述根据所述身份数据对所述电子烟使用者的身份进行验证,包括:The method according to claim 9, wherein the verifying the identity of the e-cigarette user according to the identity data comprises:
    将所述身份数据及所述电子烟的信息发送至服务器,以便所述服务器基于所述身份数据对所述电子烟使用者的身份进行验证。The identity data and the electronic cigarette information are sent to a server, so that the server verifies the identity of the electronic cigarette user based on the identity data.
  12. 根据权利要求9所述的方法,其特征在于,所述根据所述身份数据对所述电子烟使用者的身份进行验证,包括:The method according to claim 9, wherein the verifying the identity of the e-cigarette user according to the identity data comprises:
    将所述身份数据及所述电子烟的信息发送至关联的应用程序,以便所述关联的应用程序基于所述身份数据对所述电子烟使用者的身份进行验证。The identity data and the information of the electronic cigarette are sent to an associated application program, so that the associated application program verifies the identity of the electronic cigarette user based on the identity data.
  13. 根据权利要求9所述的方法,其特征在于,所述身份数据包括使用 者的生物特征数据,The method according to claim 9, wherein the identity data includes biometric data of the user,
    所述根据所述身份数据对所述电子烟使用者的身份进行验证,包括:The verifying the identity of the electronic cigarette user according to the identity data includes:
    将使用者的生物特征数据与本机存储的生物特征数据相比对,以确定所述身份数据是否通过验证。The user's biometric data is compared with the biometric data stored in the machine to determine whether the identity data passes the verification.
  14. 一种电子烟验证方法,其特征在于,包括:An electronic cigarette verification method, which is characterized in that it comprises:
    与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
    获取激活码;obtain activation code;
    将所述激活码发送至所述电子烟,以激活所述电子烟。The activation code is sent to the electronic cigarette to activate the electronic cigarette.
  15. 一种电子烟芯片,其特征在于,包括:An electronic cigarette chip, characterized in that it comprises:
    电子烟通信模块,用于与外部设备通信连接;Electronic cigarette communication module, used to communicate with external devices;
    电子烟校验模块,用于对所述通信模块从外部设备所接收的激活码进行校验,并在所述激活码通过校验的情况下,执行解锁动作。The electronic cigarette verification module is configured to verify the activation code received by the communication module from the external device, and perform an unlocking action when the activation code passes the verification.
  16. 一种电子烟,其特征在于,包括电子烟芯片,所述电子烟芯片包括:An electronic cigarette, characterized by comprising an electronic cigarette chip, the electronic cigarette chip comprising:
    电子烟通信模块,用于与外部设备通信连接;Electronic cigarette communication module, used to communicate with external devices;
    电子烟校验模块,用于对所述通信模块从外部设备所接收的激活码进行校验,并在所述激活码通过校验的情况下,执行解锁动作。The electronic cigarette verification module is configured to verify the activation code received by the communication module from the external device, and perform an unlocking action when the activation code passes the verification.
  17. 一种终端设备,其特征在于,包括:A terminal device, characterized in that it comprises:
    近距离通信模块,用于与电子烟建立通信连接;The short-distance communication module is used to establish a communication connection with the electronic cigarette;
    终端获取模块,用于获取使用者输入的身份数据;The terminal acquisition module is used to acquire the identity data entered by the user;
    验证模块,用于根据所述身份数据对所述电子烟使用者的身份进行验证;A verification module, configured to verify the identity of the e-cigarette user according to the identity data;
    所述终端通信模块用于在所述身份数据通过验证的情况下,获取激活码,并用于将所述激活码通过所述近距离通信模块发送至所述电子烟,以激活所述电子烟。The terminal communication module is used to obtain an activation code when the identity data is verified, and is used to send the activation code to the electronic cigarette through the short-range communication module to activate the electronic cigarette.
  18. 根据权利要求17所述的终端设备,其特征在于,所述验证模块包括:The terminal device according to claim 17, wherein the verification module comprises:
    远程通信模块,用于将所述身份数据及所述电子烟的信息发送至服务器, 以便所述服务器基于所述身份数据对所述电子烟使用者的身份进行验证。The remote communication module is configured to send the identity data and the information of the electronic cigarette to a server, so that the server verifies the identity of the electronic cigarette user based on the identity data.
  19. 根据权利要求17所述的终端设备,其特征在于,所述验证模块包括:The terminal device according to claim 17, wherein the verification module comprises:
    关联模块,用于将所述身份数据及所述电子烟的信息发送至关联的应用程序,以便所述关联的应用程序基于所述身份数据对所述电子烟使用者的身份进行验证。The association module is configured to send the identity data and the information of the electronic cigarette to an associated application program, so that the associated application program verifies the identity of the electronic cigarette user based on the identity data.
  20. 一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机可读存储介质所存储的计算机程序在被处理器执行时,能够实现如下步骤:A computer-readable storage medium storing a computer program, wherein the computer program stored in the computer-readable storage medium can implement the following steps when being executed by a processor:
    在电子烟使用者通过身份验证的情况下,接收外部设备发送的激活码;When the e-cigarette user passes the identity verification, receive the activation code sent by the external device;
    对所述激活码进行校验;Verify the activation code;
    所述激活码通过校验的情况下,执行解锁动作。If the activation code passes the verification, an unlocking action is executed.
  21. 一种计算机可读存储介质,存储有计算机程序,其特征在于,所述计算机可读存储介质所存储的计算机程序在被处理器执行时,能够实现如下步骤:A computer-readable storage medium storing a computer program, wherein the computer program stored in the computer-readable storage medium can implement the following steps when being executed by a processor:
    与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
    响应于使用者通过交互界面触发的数据输入事件,获取所述使用者在所述数据输入事件中输入的身份数据;In response to a data input event triggered by a user through an interactive interface, acquiring the identity data input by the user in the data input event;
    根据所述身份数据对所述电子烟使用者的身份进行验证;Verifying the identity of the electronic cigarette user according to the identity data;
    在所述身份数据通过验证的情况下,获取激活码;In the case where the identity data is verified, an activation code is obtained;
    将所述激活码发送至所述电子烟,以激活所述电子烟。The activation code is sent to the electronic cigarette to activate the electronic cigarette.
  22. 一种计算设备,包括:存储器及处理器,其中,A computing device, including: a memory and a processor, wherein,
    所述存储器,用于存储程序;The memory is used to store programs;
    所述处理器,与所述存储器耦合,用于执行所述存储器中存储的所述程序,以用于:The processor is coupled with the memory, and is configured to execute the program stored in the memory for:
    在电子烟使用者通过身份验证的情况下,接收外部设备发送的激活码;When the e-cigarette user passes the identity verification, receive the activation code sent by the external device;
    对所述激活码进行校验;Verify the activation code;
    所述激活码通过校验的情况下,执行解锁动作。If the activation code passes the verification, an unlocking action is executed.
  23. 一种计算设备,包括:存储器及处理器,其中,A computing device, including: a memory and a processor, wherein,
    所述存储器,用于存储程序;The memory is used to store programs;
    所述处理器,与所述存储器耦合,用于执行所述存储器中存储的所述程序,以用于:The processor is coupled with the memory, and is configured to execute the program stored in the memory for:
    与电子烟建立通信连接;Establish a communication connection with the electronic cigarette;
    响应于使用者通过交互界面触发的数据输入事件,获取所述使用者在所述数据输入事件中输入的身份数据;In response to a data input event triggered by a user through an interactive interface, acquiring the identity data input by the user in the data input event;
    根据所述身份数据对所述电子烟使用者的身份进行验证;Verifying the identity of the electronic cigarette user according to the identity data;
    在所述身份数据通过验证的情况下,获取激活码;In the case where the identity data is verified, an activation code is obtained;
    将所述激活码发送至所述电子烟,以激活所述电子烟。The activation code is sent to the electronic cigarette to activate the electronic cigarette.
PCT/CN2020/121150 2019-10-25 2020-10-15 Electronic cigarette verification method, electronic cigarette chip, electronic cigarette, terminal device and storage medium WO2021078057A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911023663.4A CN112712373B (en) 2019-10-25 2019-10-25 Electronic cigarette verification method, electronic cigarette chip, electronic cigarette, terminal equipment and storage medium
CN201911023663.4 2019-10-25

Publications (1)

Publication Number Publication Date
WO2021078057A1 true WO2021078057A1 (en) 2021-04-29

Family

ID=75540712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/121150 WO2021078057A1 (en) 2019-10-25 2020-10-15 Electronic cigarette verification method, electronic cigarette chip, electronic cigarette, terminal device and storage medium

Country Status (2)

Country Link
CN (1) CN112712373B (en)
WO (1) WO2021078057A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023012471A1 (en) * 2021-08-02 2023-02-09 Nicoventures Trading Limited Aerosol provision arrangement

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115299639A (en) * 2021-05-07 2022-11-08 常州市派腾电子技术服务有限公司 Cigarette cartridge and verification method, device and system of cigarette cartridge

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170093960A1 (en) * 2015-09-24 2017-03-30 Lunatech, Llc Vapor Device Ecosystem
CN107822208A (en) * 2017-12-11 2018-03-23 深圳市海派特光伏科技有限公司 Electronic cigarette and electronic cigarette activation system
CN109581937A (en) * 2019-01-04 2019-04-05 惠州市新泓威科技有限公司 The electronic cigarette and its control method controlled by cell phone software
CN110675167A (en) * 2019-09-24 2020-01-10 深圳市太美亚电子科技有限公司 Anti-counterfeiting system and method for electronic cigarette cartridge and background server
CN110959917A (en) * 2019-06-27 2020-04-07 深圳雾芯科技有限公司 Electronic atomizer device and method of operation

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2680224C2 (en) * 2013-05-20 2019-02-18 Сис Рисорсез, Лтд. Application development for network with electronic cigarette
EP3750583B1 (en) * 2014-10-14 2022-03-02 Fontem Holdings 1 B.V. Electronic smoking device and cartridge
CN105353653A (en) * 2015-09-28 2016-02-24 卓尔悦欧洲控股有限公司 Electronic cigarette control method, electronic cigarette control device, electronic cigarette control system and electronic cigarette
CN109963606B (en) * 2016-05-25 2022-10-14 尤尔实验室有限公司 Control of electronic vaporisers
CA3083248A1 (en) * 2017-11-22 2019-05-31 Juul Labs, Inc. Electronic vaporizer sessioning
CN109525571A (en) * 2018-11-07 2019-03-26 紫光测控有限公司 A kind of registration activation method and system of intelligent electronic device
CN109711142A (en) * 2018-11-28 2019-05-03 广东思格雷电子科技股份有限公司 A kind of electronic cigarette, electronic cigarette managing device and electronic cigarette management system
CN109717519B (en) * 2019-03-13 2021-07-27 常州市派腾电子技术服务有限公司 Electronic cigarette
CN110226778A (en) * 2019-06-27 2019-09-13 深圳雾芯科技有限公司 Electronic atomizer, electronic atomizer apparatus main body and electronic atomizer device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170093960A1 (en) * 2015-09-24 2017-03-30 Lunatech, Llc Vapor Device Ecosystem
CN107822208A (en) * 2017-12-11 2018-03-23 深圳市海派特光伏科技有限公司 Electronic cigarette and electronic cigarette activation system
CN109581937A (en) * 2019-01-04 2019-04-05 惠州市新泓威科技有限公司 The electronic cigarette and its control method controlled by cell phone software
CN110959917A (en) * 2019-06-27 2020-04-07 深圳雾芯科技有限公司 Electronic atomizer device and method of operation
CN110675167A (en) * 2019-09-24 2020-01-10 深圳市太美亚电子科技有限公司 Anti-counterfeiting system and method for electronic cigarette cartridge and background server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023012471A1 (en) * 2021-08-02 2023-02-09 Nicoventures Trading Limited Aerosol provision arrangement

Also Published As

Publication number Publication date
CN112712373A (en) 2021-04-27
CN112712373B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
CN110754702B (en) Method, smoking set and system for preventing minors from using electronic cigarette
US10715520B2 (en) Systems and methods for decentralized biometric enrollment
WO2021078057A1 (en) Electronic cigarette verification method, electronic cigarette chip, electronic cigarette, terminal device and storage medium
US9516010B1 (en) Authenticating a user while the user operates a client apparatus and possesses an electronic card
WO2021078055A1 (en) Verification method, chip, electronic cigarette, device, system and storage medium
TWI566564B (en) Virtual reality authentication circuit, system and electronic consumption method
WO2020107232A1 (en) Blockchain-based hardware wallet, transaction system, and storage medium
CN115715394A (en) Age and identity verification system
US20160104161A1 (en) Smart Credit Card with Enhanced Security Features
WO2021078053A1 (en) Electronic cigarette recycling method, sale and recycle machine, recycling system, storage medium and device
WO2021190119A1 (en) System for authorizing activation of electronic cigarette, and authorizing method therefor
WO2019144394A1 (en) Electronic cigarette and control method therefor, and apparatus and storage medium thereof
WO2022032759A1 (en) Atomization-type electronic cigarette system, information processing method, and device
US20230025261A1 (en) Method of Authentification of a Consumable for UES with an Aerosol-Generating Device
WO2016062200A1 (en) Fingerprint authentication method and apparatus, and server
WO2019047880A1 (en) Real person authentication method and apparatus
US11893591B2 (en) E-cigarette and authentication system and authentication method for e-cigarette
WO2022032758A1 (en) Electronic cigarette use method, electronic cigarette system, and client device
KR20180073550A (en) Method and system for parallel autonomous channel multiuser and multi-factor authentication based transaction authorization
EP3751878A1 (en) A method for managing a system with a smoking substitute device
WO2016029413A1 (en) Terminal, and anti-theft tracking method and apparatus therefor
CN112001250A (en) Control method and control device applied to electronic cigarette
CN213246912U (en) Electronic smoke tube system
CN112149075B (en) Information processing method, device, equipment and storage medium
JP2014514675A (en) Method and system for enabling access to a protected part of a web application

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20880043

Country of ref document: EP

Kind code of ref document: A1