Electronic cigarette encryption authentication method and system and electronic cigarette

文档序号:1079084 发布日期:2020-10-20 浏览:11次 中文

阅读说明:本技术 一种电子烟加密认证方法、系统及电子烟 (Electronic cigarette encryption authentication method and system and electronic cigarette ) 是由 焦继业 叶新华 赵尧主 于 2020-07-03 设计创作,主要内容包括:本发明公开了一种电子烟加密认证方法、系统及电子烟,该方法应用于烟杆设备时,包括:向烟弹设备供电,并监听是否接收到第一连接信息;响应于接收到所述第一连接信息,发送第一反馈消息至烟弹设备,以及,发送第一识别信息至所述烟弹设备以获取第二识别信息;响应于接收到所述第二识别信息,判断所述第二识别信息是否正确;响应于所述第二识别信息正确,向所述烟弹设备停止供电并点燃加热丝;其中,所述第二识别信息是对所述第一识别信息进行加密后得到的。该认证方法只有在认证成功后才进行点烟操作,从而能够便于用户认证当前使用的电子烟产品是否是正品,从而有效地避免了用户使用仿冒的电子烟产品,避免对用户产生不良健康影响。(The invention discloses an electronic cigarette encryption authentication method, an electronic cigarette encryption authentication system and an electronic cigarette, wherein when the method is applied to cigarette rod equipment, the method comprises the following steps: supplying power to the smoke bomb equipment and monitoring whether first connection information is received or not; in response to receiving the first connection information, sending a first feedback message to a cartridge device, and sending first identification information to the cartridge device to obtain second identification information; in response to receiving the second identification information, determining whether the second identification information is correct; in response to the second identification information being correct, ceasing to supply power to the cartridge device and igniting the heater wire; the second identification information is obtained by encrypting the first identification information. The authentication method can be used for lighting the cigarette only after the authentication is successful, so that the user can conveniently authenticate whether the currently used electronic cigarette product is a genuine product, the user can be effectively prevented from using counterfeit electronic cigarette products, and adverse health influence on the user can be avoided.)

1. An electronic cigarette encryption authentication method is applied to cigarette rod equipment and is characterized by comprising the following steps:

supplying power to the smoke bomb equipment and monitoring whether first connection information is received or not;

in response to receiving the first connection information, sending a first feedback message to a cartridge device, and sending first identification information to the cartridge device to obtain second identification information;

in response to receiving the second identification information, determining whether the second identification information is correct;

in response to the second identification information being correct, ceasing to supply power to the cartridge device and igniting the heater wire;

the second identification information is obtained by encrypting the first identification information.

2. The electronic cigarette encryption authentication method according to claim 1,

the first identification information comprises a plurality of bytes of random data;

the second identification information includes an identification code, a batch number, a check code, and a ciphertext generated from the random data.

3. The electronic cigarette encryption authentication method according to claim 2, wherein determining whether the second identification information is correct comprises:

reading a ciphertext in the second identification information;

and carrying out decryption operation on the ciphertext to obtain a plaintext, and judging whether the plaintext is matched with the random data.

4. An electronic cigarette encryption authentication method is applied to cigarette cartridge equipment and is characterized by comprising the following steps:

sending first connection information to the tobacco rod equipment to acquire first feedback information;

receiving first identification information sent by the cigarette rod equipment in response to receiving the first feedback message within a first set time;

and encrypting the first identification information to generate second identification information, and sending the second identification information to the tobacco rod equipment.

5. The electronic cigarette encryption authentication method according to claim 4,

the first identification information comprises a plurality of bytes of random data;

the second identification information includes an identification code, a batch number, a check code, and a ciphertext generated from the random data.

6. The electronic cigarette encryption authentication method according to claim 5, wherein generating second identification information by encrypting the first identification information comprises:

reading a plurality of bytes of random data in the first identification information;

encrypting the random data to obtain a ciphertext;

and generating second identification information by using the pre-stored identification code, batch number and check code together with the ciphertext.

7. The electronic cigarette encryption authentication method according to claim 4, further comprising: and in response to not receiving the first feedback message within a first set time, re-sending the first connection information to the tobacco rod equipment to acquire the first feedback message.

8. An electronic cigarette encryption authentication system, comprising:

the main control chip is arranged on the cigarette rod equipment and comprises a voltage source (VCC), a main power supply communication interface (IO1), a ground terminal (GND) and a resistor (R), wherein the resistor (R) is connected between the voltage source (VCC) and the main power supply communication interface (IO 1);

the auxiliary chip is arranged on the smoke bomb device and comprises a first power interface (Y1), a second power interface (Y2), an auxiliary power supply communication Interface (IO), a capacitor pin (CAP), a capacitor ground pin (CAP GND), a capacitor (C) and a heating wire (F), wherein the capacitor (C) is connected between the capacitor pin (CAP) and the capacitor ground pin (CAP GND), and the heating wire (F) is arranged between the first power interface (Y1) and the second power interface (Y2);

when the tobacco rod device is connected with the tobacco cartridge device, the first power interface (Y1) or the second power interface (Y2) is connected with the ground terminal (GND), and the main power supply communication interface (IO1) is connected with the slave power supply communication Interface (IO) to realize communication;

wherein, when the tobacco rod apparatus is connected with the cartridge apparatus, the tobacco rod apparatus is configured to:

supplying power to the smoke bomb equipment and monitoring whether first connection information is received or not;

in response to receiving the first connection information, sending a first feedback message to the cartridge device, and sending first identification information to the cartridge device to obtain second identification information, wherein the second identification information is obtained by encrypting the first identification information;

in response to receiving the second identification information, determining whether the second identification information is correct;

in response to the second identification information being correct, stopping the supply of power to the cartridge device and igniting a heating wire (F);

when the tobacco rod apparatus is connected with the cartridge apparatus, the cartridge apparatus is configured to:

sending first connection information to the tobacco rod equipment to acquire first feedback information;

receiving first identification information sent by the cigarette rod equipment in response to receiving the first feedback message within a first set time;

and encrypting the first identification information to generate second identification information, and sending the second identification information to the tobacco rod equipment.

9. The electronic cigarette encryption authentication system according to claim 8, wherein when the communication signal of the master power supply communication interface (IO1) and the slave power supply communication Interface (IO) is high level, the voltage source (VCC) supplies power to the slave chip and the capacitor (C);

when the communication signals of the master power supply communication interface (IO1) and the slave power supply communication Interface (IO) are at a low level, the capacitor (C) supplies power to the slave chip.

10. An electronic cigarette, characterized in that it comprises an electronic cigarette cryptographic authentication system according to any one of claims 8-9.

Technical Field

The invention belongs to the technical field of electronic cigarettes, and particularly relates to an electronic cigarette encryption authentication method and system and an electronic cigarette.

Background

The electronic cigarette generally comprises an atomizer and a battery pack, the electronic cigarette atomizes the tobacco juice through heating of the atomizer to generate electronic smoke for a smoker to smoke, and the electronic cigarette does not contain tobacco tar in the tobacco juice, so that the smoke emitted by the electronic cigarette is sucked, the harm of the tobacco tar to the human body is reduced to a certain extent by the electronic cigarette, and the electronic cigarette is gradually used for replacing cigarettes.

Along with the popularization of the electronic cigarette, the sales volume of the electronic cigarette in society is also increased year by year. 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.

However, most of the electronic cigarettes on the market currently have complicated communication circuits between the cigarette rod and the cigarette cartridge and are not universal; the cigarette bullet must be connected with the cigarette rod in a specific direction, which brings inconvenience to the use; moreover, there is no authentication process between the tobacco rod and the cartridge, so that the tobacco rod can adapt to various cartridges, the mixed use can not be avoided from the source, counterfeit and shoddy products can be counterfeited, serious damage to merchants, serious damage to the health of users and the like can be caused.

Disclosure of Invention

In order to solve the problems in the prior art, the invention provides an electronic cigarette encryption authentication method, an electronic cigarette encryption authentication system and an electronic cigarette. The technical problem to be solved by the invention is realized by the following technical scheme:

the embodiment of the invention provides an electronic cigarette encryption authentication method, which is applied to cigarette rod equipment and comprises the following steps:

supplying power to the smoke bomb equipment and monitoring whether first connection information is received or not;

in response to receiving the first connection information, sending a first feedback message to a cartridge device, and sending first identification information to the cartridge device to obtain second identification information;

in response to receiving the second identification information, determining whether the second identification information is correct;

in response to the second identification information being correct, ceasing to supply power to the cartridge device and igniting the heater wire;

the second identification information is obtained by encrypting the first identification information.

In one embodiment, the first identification information includes a number of bytes of random data;

the second identification information includes an identification code, a batch number, a check code, and a ciphertext generated from the random data.

In one embodiment, the determining whether the second identification information is correct includes:

reading a ciphertext in the second identification information;

and carrying out decryption operation on the ciphertext to obtain a plaintext, and judging whether the plaintext is matched with the random data.

The invention also provides an electronic cigarette encryption authentication method, which is applied to cigarette cartridge equipment and comprises the following steps:

sending first connection information to the tobacco rod equipment to acquire first feedback information;

receiving first identification information sent by the cigarette rod equipment in response to receiving the first feedback message within a first set time;

and encrypting the first identification information to generate second identification information, and sending the second identification information to the tobacco rod equipment.

In one embodiment, the first identification information includes a number of bytes of random data;

the second identification information includes an identification code, a batch number, a check code, and a ciphertext generated from the random data.

In one embodiment, encrypting the first identification information to generate second identification information includes:

reading a plurality of bytes of random data in the first identification information;

encrypting the random data to obtain a ciphertext;

and generating second identification information by using the pre-stored identification code, batch number and check code together with the ciphertext.

In one embodiment, the electronic cigarette encryption authentication method further includes: and in response to not receiving the first feedback message within a first set time, re-sending the first connection information to the tobacco rod equipment to acquire the first feedback message.

The invention also provides an electronic cigarette encryption and authentication system, which comprises:

the main control chip is arranged on the cigarette rod equipment and comprises a voltage source VCC, a main power supply communication interface IO1, a ground terminal GND and a resistor R, wherein the resistor R is connected between the voltage source VCC and the main power supply communication interface IO 1;

the slave chip is arranged on the smoke cartridge device and comprises a first power interface Y1, a second power interface Y2, a slave power supply communication interface IO, a capacitor pin CAP, a capacitor ground pin CAPGND, a capacitor C and a heating wire F, wherein the capacitor C is connected between the capacitor pin CAP and the capacitor ground pin CAPGND, and the heating wire F is arranged between the first power interface Y1 and the second power interface Y2;

when the tobacco rod equipment is connected with the cigarette bullet equipment, the first power interface Y1 or the second power interface Y2 is connected with the ground end GND, and the main power supply communication interface IO1 is connected with the slave power supply communication interface IO to realize communication;

wherein, when the tobacco rod apparatus is connected with the cartridge apparatus, the tobacco rod apparatus is configured to:

supplying power to the smoke bomb equipment and monitoring whether first connection information is received or not;

in response to receiving the first connection information, sending a first feedback message to the cartridge device, and sending first identification information to the cartridge device to obtain second identification information, wherein the second identification information is obtained by encrypting the first identification information;

in response to receiving the second identification information, determining whether the second identification information is correct;

in response to the second identification information being correct, stopping power supply to the cartridge device and igniting a heater wire F;

when the tobacco rod apparatus is connected with the cartridge apparatus, the cartridge apparatus is configured to:

sending first connection information to the tobacco rod equipment to acquire first feedback information;

receiving first identification information sent by the cigarette rod equipment in response to receiving the first feedback message within a first set time;

and encrypting the first identification information to generate second identification information, and sending the second identification information to the tobacco rod equipment.

In a specific embodiment, when a communication signal between the master power supply communication interface IO1 and the slave power supply communication interface IO is at a high level, the voltage source VCC supplies power to the slave chip and the capacitor C;

when the communication signal of the master power supply communication interface IO1 and the slave power supply communication interface IO is at a low level, the capacitor C supplies power to the slave chip.

The invention also provides an electronic cigarette which comprises the electronic cigarette encryption and authentication system.

Compared with the prior art, the invention has the beneficial effects that:

1. according to the electronic cigarette encryption authentication method, after the connection is powered on, the cigarette rod carries out encryption authentication on the cigarette cartridge, whether the cigarette cartridge is a genuine product matched with the cigarette rod can be known, the cigarette lighting operation is carried out only after the authentication is successful, and the user can conveniently authenticate whether the currently used electronic cigarette product is the genuine product, so that the user is effectively prevented from using a counterfeit electronic cigarette product, and the adverse health influence on the user is avoided.

2. The electronic cigarette encryption and authentication system has a simple circuit structure, can effectively save chip IO ports, occupies a small area, can be designed more reasonably in the aspects of volume and appearance of a cigarette cartridge, can realize 'positive and negative insertion' of a master machine and a slave machine, and is convenient to use.

3. The electronic cigarette encryption authentication system adopts one IO port between the master machine and the slave machine to carry out single-line power supply and signal transmission, and has the advantages of good performance, low power consumption, simple circuit and strong compatibility.

Drawings

Fig. 1 is a flowchart of a cigarette end of an electronic cigarette encryption authentication method according to an embodiment of the present invention;

fig. 2 is a diagram illustrating an embodiment of a cigarette end of an electronic cigarette encryption authentication method according to an embodiment of the present invention;

fig. 3 is a flow chart of a smoke cartridge end of an electronic cigarette encryption authentication method according to an embodiment of the present invention;

fig. 4 is a diagram illustrating an embodiment of a smoke cartridge end of an electronic cigarette encryption authentication method according to an embodiment of the present invention;

fig. 5 is a schematic circuit structure diagram of an electronic cigarette encryption and authentication system according to an embodiment of the present invention;

fig. 6 is a schematic circuit diagram of another electronic cigarette encryption and authentication system according to an embodiment of the present invention;

fig. 7 is a schematic circuit structure diagram of another electronic cigarette encryption and authentication system according to an embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to specific examples, but the embodiments of the present invention are not limited thereto.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电子烟控制装置、电子烟及控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!