CN111248505A - Electronic cigarette anti-counterfeiting system and method based on built-in encryption chip - Google Patents

Electronic cigarette anti-counterfeiting system and method based on built-in encryption chip Download PDF

Info

Publication number
CN111248505A
CN111248505A CN202010114868.XA CN202010114868A CN111248505A CN 111248505 A CN111248505 A CN 111248505A CN 202010114868 A CN202010114868 A CN 202010114868A CN 111248505 A CN111248505 A CN 111248505A
Authority
CN
China
Prior art keywords
module
encryption
encryption chip
aes
mcu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010114868.XA
Other languages
Chinese (zh)
Inventor
彭世键
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mason Vap Technology Co ltd
Original Assignee
Shenzhen Mason Vap Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mason Vap Technology Co ltd filed Critical Shenzhen Mason Vap Technology Co ltd
Priority to CN202010114868.XA priority Critical patent/CN111248505A/en
Publication of CN111248505A publication Critical patent/CN111248505A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an electronic cigarette anti-counterfeiting system and method based on a built-in encryption chip, and particularly relates to the technical field of electronic cigarette anti-counterfeiting. According to the electronic cigarette anti-counterfeiting system provided by the invention, the encryption chip is arranged in the atomizer, data generated when the electronic cigarette anti-counterfeiting system is communicated with the MCU is randomly encrypted in hardware, the AES256 algorithm is adopted, the security level in the symmetric encryption algorithm is higher, the system is different from a software encryption mode, a key generated by hardware encryption is different every time, the key cannot be cracked by detecting a communication sequence diagram, an external common mechanism or an individual is difficult to crack, and the anti-counterfeiting level is high.

Description

Electronic cigarette anti-counterfeiting system and method based on built-in encryption chip
[ technical field ]
The invention relates to the technical field of electronic cigarettes, in particular to the technical field of electronic cigarette anti-counterfeiting.
[ background art ]
In the field of electronic cigarettes, the sales volume of electronic cigarettes in society is increasing year by year along with the popularization of electronic cigarettes. Electronic cigarettes with good quality and good brands are popular with consumers and occupy a large market share, and certain electronic cigarettes with poor quality have poor sales volume, so that atomizers which can possibly pretend and forge electronic cigarettes with good brands are supplied to consumers for alternative use, and the electronic cigarettes attract the consumers with low price. How to carry out anti-fake, certified products to the atomizer of electron cigarette and verify, prevent the use of bad substitute, present most electron cigarette implants memory chip in the atomizer, through prestoring some data in inside, then reads the data in the memory through electron cigarette host computer equipment and carries out true and false discernment, however this kind of method is cracked very easily, does not reach real anti-fake effect.
[ summary of the invention ]
In order to overcome the defects of the prior art, the anti-counterfeiting electronic cigarette system provided by the invention has high anti-counterfeiting level and is not easy to crack.
The utility model provides an electron cigarette anti-fake system based on built-in encryption chip, includes MCU module and atomizer module, its characterized in that, the atomizer module includes encryption chip, the MCU module includes encryption chip Library, communicate between encryption chip and the encryption chip Library.
Furthermore, the encryption chip comprises a hardware random transmitting module, an uplink AES decryption module A, a downlink AES encryption module A and a storage module, wherein the hardware random transmitting module is connected with the uplink AES decryption module A and the downlink AES encryption module A, and the storage module is connected with the uplink AES decryption module A and the downlink AES encryption module A.
Further, the encryption chip Library comprises an uplink AES decryption module B, a downlink AES encryption module B and an authentication module, wherein the downlink AES encryption module B is connected with the authentication module.
Furthermore, the atomizer module further comprises a heating wire, the MCU module further comprises a control module and a plaintext emission module, the plaintext trigger module is connected with the uplink AES encryption module B, and the control module is connected with the authentication module; the hardware random emitter module is connected with the uplink AES encryption module B and the downlink AES decryption module B, and the control module is connected with the heating wire.
Further, the communication mode between the encryption chip and the encryption chip Library is a single bus.
An electronic cigarette anti-counterfeiting method based on a built-in encryption chip comprises the anti-counterfeiting system, and is characterized by comprising the following steps:
step one, the MCU module judges whether the atomizer module is connected, if so, a plaintext trigger module in the MCU module sends plaintext command data to an uplink AES encryption module in an encryption chip Library to generate encrypted data through an AES256 algorithm;
secondly, sending the encrypted data to a hardware random transmitting module in an encryption chip built in the atomizer, decrypting the data in an uplink AES decryption module in the encryption chip, and sending the decrypted data to a storage module;
step three, after the storage module in the encryption chip receives the decryption command data, the data prestored in the chip is processed by a downlink AES encryption module to generate encrypted data according to the AES256 algorithm, the encrypted data is transmitted to the MCU module through a hardware random transmitting module in the encryption chip, and the encrypted data is decrypted by a downlink AES decryption module of the encryption chip Library;
and step four, the obtained decrypted data and the data prestored in the MCU are subjected to authenticity authentication, when the authentication is successful, a control module in the MCU module controls a heating wire in the atomizer module to work, and when the authentication is failed, a warning prompt is sent to prompt that smoking cannot be carried out.
Further, if the MCU module is not connected with the atomizer module, the MCU module judges whether to enter sleep time or not, judges whether the MCU module is awakened and triggered after entering sleep, returns to the previous step if the MCU module is awakened and continues to sleep if the MCU module is not awakened and triggered.
The invention has the beneficial effects that:
according to the electronic cigarette anti-counterfeiting system provided by the invention, the encryption chip is arranged in the atomizer, data generated when the electronic cigarette anti-counterfeiting system is communicated with the MCU is randomly encrypted in hardware, the AES256 algorithm is adopted, the security level in the symmetric encryption algorithm is higher, the system is different from a software encryption mode, a key generated by hardware encryption is different every time, the key cannot be cracked by detecting a communication sequence diagram, an external common mechanism or an individual is difficult to crack, and the anti-counterfeiting level is high.
[ description of the drawings ]
Fig. 1 is a schematic view of an electronic cigarette anti-counterfeiting system according to an embodiment of the invention;
figure 2 is a schematic diagram of an electronic cigarette circuit according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an atomizer circuit according to an embodiment of the present invention;
fig. 4 is a flowchart of the electronic cigarette anti-counterfeiting system according to the embodiment of the present invention.
[ detailed description of the invention ]
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present invention includes an MCU module and an atomizer module, wherein the atomizer module includes an encryption chip and a heater, the encryption chip includes a hardware random transmitter module, an uplink AES decrypter module a, a downlink AES encrypter module a and a memory module, wherein the MCU module includes an encryption chip Library, a control module and a plaintext transmitter module, and the encryption chip Library includes an uplink AES decrypter module B, a downlink AES encrypter module B and an authentication module. The encryption chip and the encryption chip Library are communicated through a single line, and the single line data transmission mode is simple and applicable to the plug-in replaceable cigarette cartridge electronic cigarette, and the cost can be reduced. A hardware random emitter module in the encryption chip is communicated with an uplink AES decryption module and a downlink AES encryption module, and a storage module is communicated with the uplink AES decryption module and the downlink AES encryption module in the encryption chip; and the downlink AES encryption module B in the encryption chip Library is communicated with the authentication module. A plaintext trigger module in the MCU module is communicated with an uplink AES encryption module in the encryption chip Library, a control module in the MCU module is communicated with an authentication module in the encryption chip Library, the control module controls a heating wire in the atomizer module, and a hardware random emitter module in the encryption chip is communicated with the uplink AES encryption module and the downlink AES decryption module in the encryption chip Library.
Fig. 2 is a schematic circuit diagram of the electronic cigarette device, in which U1 is an MCU, U2 is a charging chip, U3 is a lithium battery protection chip, Q1 is an MOS transistor, LED1 is an indicator light, and J1 is an air sensor. Fig. 3 is a schematic circuit diagram of the atomizer, U is an encryption chip, and W1 is a heater. When the electronic cigarette device works, the atomizer is connected through 3 electric signals, namely AT + ' and ' + ', ' AT-and ' - ', and ' G ' and ' S ', wherein ' + ' - ' is connected with the heating wire, and ' S ' is data communication single-wire transmission. The adopted electric signals are not more than three, and the structure is better realized.
As shown in fig. 4, in the work flow diagram of the above embodiment, the MCU is connected to the SDA in the encryption chip in the atomizer through an IO port SDA line having an internal pull-up function, and after the electronic cigarette device is connected to the atomizer and the MCU reads that the level signal of the LOAD port is low level, the MCU internally sends plaintext command data to the uplink AES encryption module in the encryption chip Library (MCU software built in the encryption algorithm software package of chip company) to generate an encrypted data through AES256 algorithm, and the encrypted data is sent to the hardware random transmission module in the encryption chip built in the atomizer through the SDA, then decrypted in the uplink AES decryption module in the encryption chip, and sent to the storage module; after receiving the decryption command data, a storage module in the encryption chip generates encrypted data through a downlink AES encryption module according to an AES256 algorithm, transmits the encrypted data to an MCU module through a hardware random transmitting module in the encryption chip and decrypts the encrypted data through a downlink AES decryption module of the encryption chip Library; and the obtained decrypted data and the data prestored in the MCU are subjected to authenticity authentication, when the authentication is successful, the control module in the MCU module controls the heating wire in the atomizer module to work, and when the authentication is failed, a warning prompt is sent to prompt that smoking cannot be performed. If the MCU module is not connected with the atomizer module, the MCU module judges whether to enter sleep time or not, judges whether the MCU module is awakened and triggered or not after entering sleep, returns to the previous step if the MCU module is not connected with the atomizer module, and continues sleeping if the MCU module is not connected with the atomizer module.
The existing electronic cigarette and atomizer anti-counterfeiting system is characterized in that a common storage chip is added in an atomizer, data are preset in the atomizer, and the data in the storage chip are read by an electronic cigarette device MCU to judge authenticity, so that the electronic cigarette and atomizer anti-counterfeiting system is easy to crack and does not really play an anti-counterfeiting effect. The encryption method of the embodiment randomly generates data through hardware, the encryption algorithm is solidified in a wafer in the early stage and cannot be read once being burned from a factory, the encryption algorithm adopts an AES256 algorithm, and the security level is high in a symmetric encryption algorithm.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiment, and all technical solutions belonging to the principle of the present invention belong to the protection scope of the present invention. Modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention.

Claims (7)

1. The utility model provides an electron cigarette anti-fake system based on built-in encryption chip, includes MCU module and atomizer module, its characterized in that, the atomizer module includes encryption chip, the MCU module includes encryption chip Library, communicate between encryption chip and the encryption chip Library.
2. The electronic cigarette anti-counterfeiting system with the built-in encryption chip as claimed in claim 1, wherein the encryption chip comprises a hardware random transmitter module, an uplink AES decryption module A, a downlink AES encryption module A and a storage module, the hardware random transmitter module is connected with the uplink AES decryption module A and the downlink AES encryption module A, and the storage module is connected with the uplink AES decryption module A and the downlink AES encryption module A.
3. The electronic cigarette anti-counterfeiting system with the built-in encryption chip as claimed in claim 1, wherein the encryption chip Library comprises an uplink AES decryption module B, a downlink AES encryption module B and an authentication module, and the downlink AES encryption module B is connected with the authentication module.
4. The electronic cigarette anti-counterfeiting system with the built-in encryption chip as claimed in any one of claims 1 to 3, wherein the atomizer module further comprises a heating wire, the MCU module further comprises a control module and a plaintext emission module, the plaintext trigger module is connected with the upstream AES encryption module B, and the control module is connected with the authentication module; the hardware random emitter module is connected with the uplink AES encryption module B and the downlink AES decryption module B, and the control module is connected with the heating wire.
5. The electronic cigarette anti-counterfeiting system with the built-in encryption chip as claimed in claim 1, wherein the encryption chip and the encryption chip Library are communicated in a single bus.
6. An electronic cigarette anti-counterfeiting method based on a built-in encryption chip, comprising the anti-counterfeiting system of any one of claims 1 to 5, and characterized by comprising the following steps:
step one, the MCU module judges whether the atomizer module is connected, if so, a plaintext trigger module in the MCU module sends plaintext command data to an uplink AES encryption module in an encryption chip Library to generate encrypted data through an AES256 algorithm;
secondly, sending the encrypted data to a hardware random transmitting module in an encryption chip built in the atomizer, decrypting the data in an uplink AES decryption module in the encryption chip, and sending the decrypted data to a storage module;
step three, after the storage module in the encryption chip receives the decryption command data, the data prestored in the chip is processed by a downlink AES encryption module to generate encrypted data according to the AES256 algorithm, the encrypted data is transmitted to the MCU module through a hardware random transmitting module in the encryption chip, and the encrypted data is decrypted by a downlink AES decryption module of the encryption chip Library;
and step four, the obtained decrypted data and the data prestored in the MCU are subjected to authenticity authentication, when the authentication is successful, a control module in the MCU module controls a heating wire in the atomizer module to work, and when the authentication is failed, a warning prompt is sent to prompt that smoking cannot be carried out.
7. The workflow of the electronic cigarette anti-counterfeiting system based on the built-in encryption chip as claimed in claim 6, wherein in the step one, if the MCU module is not connected with the atomizer module, the MCU module judges whether to enter a sleep time, judges whether the MCU module is awakened and triggered after entering the sleep time, if so, returns to the previous step, and if not, continues the sleep.
CN202010114868.XA 2020-02-25 2020-02-25 Electronic cigarette anti-counterfeiting system and method based on built-in encryption chip Pending CN111248505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010114868.XA CN111248505A (en) 2020-02-25 2020-02-25 Electronic cigarette anti-counterfeiting system and method based on built-in encryption chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010114868.XA CN111248505A (en) 2020-02-25 2020-02-25 Electronic cigarette anti-counterfeiting system and method based on built-in encryption chip

Publications (1)

Publication Number Publication Date
CN111248505A true CN111248505A (en) 2020-06-09

Family

ID=70941642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010114868.XA Pending CN111248505A (en) 2020-02-25 2020-02-25 Electronic cigarette anti-counterfeiting system and method based on built-in encryption chip

Country Status (1)

Country Link
CN (1) CN111248505A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111789307A (en) * 2020-07-03 2020-10-20 西安恩狄集成电路有限公司 Electronic cigarette encryption authentication method and system and electronic cigarette
CN112205677A (en) * 2020-11-04 2021-01-12 武汉瑞纳捷电子技术有限公司 Electronic cigarette cartridge encryption circuit
WO2022022037A1 (en) * 2020-07-28 2022-02-03 深圳雾芯科技有限公司 Atomization device and verification method therefor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170135402A1 (en) * 2014-06-27 2017-05-18 Fontem Holdings 1 B.V. Electronic smoking device and capsule system
CN107114825A (en) * 2017-06-30 2017-09-01 上海烟草集团有限责任公司 It is a kind of to be used to control the chip of electronic cigarette and the electronic cigarette comprising the chip
US20180060873A1 (en) * 2016-09-01 2018-03-01 Nuvoton Technology Corporation Electronic atomizer, anti-counterfeiting system and method thereof
CN109247623A (en) * 2018-10-13 2019-01-22 深圳市金致远科技有限公司 A kind of electronic cigarette anti-counterfeiting system and the electronic cigarette using the anti-counterfeiting system
CN110447972A (en) * 2019-08-30 2019-11-15 惠州市新泓威科技有限公司 With encryption chip anti-fake electronic cigarette and its method for anti-counterfeit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170135402A1 (en) * 2014-06-27 2017-05-18 Fontem Holdings 1 B.V. Electronic smoking device and capsule system
US20180060873A1 (en) * 2016-09-01 2018-03-01 Nuvoton Technology Corporation Electronic atomizer, anti-counterfeiting system and method thereof
CN107114825A (en) * 2017-06-30 2017-09-01 上海烟草集团有限责任公司 It is a kind of to be used to control the chip of electronic cigarette and the electronic cigarette comprising the chip
CN109247623A (en) * 2018-10-13 2019-01-22 深圳市金致远科技有限公司 A kind of electronic cigarette anti-counterfeiting system and the electronic cigarette using the anti-counterfeiting system
CN110447972A (en) * 2019-08-30 2019-11-15 惠州市新泓威科技有限公司 With encryption chip anti-fake electronic cigarette and its method for anti-counterfeit

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
方玲: "《新网络环境下企业信息系统安全技术运用能力提升策略研究》", 31 July 2019, 江苏大学出版社 *
郭建伟 等: "《密码技术对"双网"的安全保护》", 31 December 2018, 兵器工业出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111789307A (en) * 2020-07-03 2020-10-20 西安恩狄集成电路有限公司 Electronic cigarette encryption authentication method and system and electronic cigarette
CN111789307B (en) * 2020-07-03 2024-03-22 西安恩狄集成电路有限公司 Electronic cigarette encryption authentication method and system and electronic cigarette
WO2022022037A1 (en) * 2020-07-28 2022-02-03 深圳雾芯科技有限公司 Atomization device and verification method therefor
CN112205677A (en) * 2020-11-04 2021-01-12 武汉瑞纳捷电子技术有限公司 Electronic cigarette cartridge encryption circuit

Similar Documents

Publication Publication Date Title
CN111248505A (en) Electronic cigarette anti-counterfeiting system and method based on built-in encryption chip
US9774455B2 (en) RFID secure authentication
CN1913427B (en) System and method for encrypted smart card PIN entry
US7703676B2 (en) Encrypting the output of a card reader in a card authentication system
CN103209176A (en) System and method for building home domain by using smart card
CN106330856A (en) Hearing device and method of hearing device communication
EP1580663A1 (en) A method for realizing security data storage and algorithm storage by means of semiconductor memory device
JP2001066986A5 (en)
CN201387642Y (en) Single-phase electronic type multi-rate prepayment electric energy meter
CN112769758B (en) Credible Internet of things gas meter based on block chain and credible method of local and cloud
CN102521743B (en) Mobile phone safety payment method and system on basis of wireless channel
US10256980B2 (en) System and method for authentication for field replaceable units
CN112910100B (en) Credible power supply and receiving device and control method thereof
US7215781B2 (en) Creation and distribution of a secret value between two devices
KR101269086B1 (en) Data certification and acquisition method and system for vehicle
CN105083219B (en) Non-dismountable location monitoring system and its monitoring method with voice record function
US20090319791A1 (en) Electronic apparatus and copyright-protected chip
CN109802948A (en) Data processing equipment and transaction system
CN103324971A (en) Smart card system and dynamic key update authentication method of smart card system
JP3646055B2 (en) Time signature apparatus, signing method thereof, and time signature system
CN207367209U (en) From encryption hard-disk system
US20230089388A1 (en) Method and Intelligent Apparatus for Calling Permission Verification of Protected Intelligent Application
US8331565B2 (en) Message transmission method, preferably for an energy distribution network
US9584327B2 (en) System and method for authentication for transceivers
CN101783729A (en) Mini-tuner condition receiving system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200609