CN113867740A - Cigarette cartridge encryption burning method and system - Google Patents

Cigarette cartridge encryption burning method and system Download PDF

Info

Publication number
CN113867740A
CN113867740A CN202110985618.8A CN202110985618A CN113867740A CN 113867740 A CN113867740 A CN 113867740A CN 202110985618 A CN202110985618 A CN 202110985618A CN 113867740 A CN113867740 A CN 113867740A
Authority
CN
China
Prior art keywords
burning
state
connecting piece
cartridge
information
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
CN202110985618.8A
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 Time Yaa Electronic Technology Co ltd
Original Assignee
Shenzhen Time Yaa Electronic 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 Time Yaa Electronic Technology Co ltd filed Critical Shenzhen Time Yaa Electronic Technology Co ltd
Priority to CN202110985618.8A priority Critical patent/CN113867740A/en
Publication of CN113867740A publication Critical patent/CN113867740A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application discloses a method and a system for burning encrypted cigarette cartridges, which belong to the technical field of electronic cigarettes, wherein a burning jig is provided with a plurality of connecting pieces, and the burning method comprises the following steps: acquiring the state of each connecting piece, wherein the state of each connecting piece comprises a smoke cartridge and a smoke-free cartridge; starting burning, modifying the state of the connecting piece with the smoke cartridge into a state to be burned, and sending a burning request signal to an upper computer; responding to the query request, and sending the state information of all the connecting pieces to an upper computer; and responding to the received burning command, analyzing the burning command, and controlling the burning chip to burn the encrypted serial numbers of the smoke cartridges on the corresponding connecting pieces one by one. This application has the effect that improves the efficiency and the accurate nature of cigarette bullet burning record.

Description

Cigarette cartridge encryption burning method and system
Technical Field
The application relates to the technical field of electronic cigarettes, in particular to a method and a system for encrypting and burning a cigarette cartridge.
Background
The electronic cigarette as an electronic product simulating cigarettes has the appearance, taste and feeling similar to those of the traditional cigarettes, and the electronic cigarette is healthier, so the electronic cigarette industry is developed rapidly, and the use amount of users is increased gradually.
Generally, when the electronic cigarette is produced, a secret key of a cigarette cartridge is burnt into a cigarette rod; meanwhile, the same key is used for burning the information of the cigarette cartridge into the encryption IC of the cigarette cartridge. When the cigarette rod is connected into the cigarette cartridge, the key is used for reading the information of the cigarette cartridge, if the information cannot be read or the information is read wrongly, the cigarette cartridge belongs to a pirated cigarette cartridge, and the cigarette rod does not act during smoking so as to achieve the anti-counterfeiting effect. However, when the cigarette cartridge is burned, usually after one cigarette cartridge is burned, the cigarette cartridge is taken down from the burning jig, and another cigarette cartridge is placed on the burning jig for burning, so that the burning efficiency is low.
Disclosure of Invention
In order to improve the efficiency of burning the cigarette cartridge, the application provides a method and a system for burning the cigarette cartridge in an encrypted manner.
In a first aspect, the present application provides a method for burning encrypted cigarette cartridges, which is used for burning a jig end, and adopts the following technical scheme:
a method for burning encrypted cigarette cartridges is applied to a burning jig, a plurality of connecting pieces are arranged on the burning jig, and the method comprises the following steps:
acquiring the state of each connecting piece, wherein the state of each connecting piece comprises a smoke cartridge and a smoke-free cartridge;
starting burning, modifying the state of the connecting piece with the smoke cartridge into a state to be burned, and sending a burning request signal to an upper computer;
responding to the query request, and sending the state information of all the connecting pieces to an upper computer;
and responding to the received burning command, analyzing the burning command, and controlling the burning chip to burn the encrypted serial numbers of the smoke cartridges on the corresponding connecting pieces one by one.
Through adopting above-mentioned technical scheme, peg graft the cigarette bullet on the connecting piece one by one, burn the record tool and through discerning which connecting pieces have the cigarette bullet, then receive the record instruction of host computer, burn one by one to the cigarette bullet on the corresponding connecting piece, can burn in a batch of cigarette bullet in succession, and then improved the efficiency that the cigarette bullet was burnt in a batch. Meanwhile, the burning accuracy can be improved by identifying the position information of the connecting piece.
Optionally, after the response to the received burning command and the analysis of the burning command are performed to control the burning chip to burn the encrypted serial number of the cartridge on the corresponding connecting piece one by one, the method further includes:
updating the state of the connecting piece which is successfully burned into the state of successful burning, and updating the state of the connecting piece which fails to burn into the state of failure;
and sending the updated state information of the connecting piece to an upper computer.
Through adopting above-mentioned technical scheme, record the burning record state of cigarette bullet on the connecting piece, the staff of being convenient for knows the burning record condition of cigarette bullet.
Optionally, the obtaining of the state of each connector, where the state of the connector includes a smoke cartridge and a smokeless cartridge, includes:
reading version information of the encrypted IC of the cigarette cartridge on each connecting piece one by one;
if the version information of the encrypted IC is read, the state of the connecting piece is marked as a smoke cartridge, and the serial number of the connecting piece is stored;
if the version information of the encrypted IC is not read, the state of the connector is marked as no smoke cartridge, and the number of the connector is saved.
Through adopting above-mentioned technical scheme, read the version information of encrypting IC smoothly, show that there is the cigarette bullet on this connecting piece, simultaneously, show that the encrypting IC of this cigarette bullet can normally work, can burn and record, can acquire the state of connecting piece, can inspect problematic cigarette bullet again, and every cigarette bullet of being convenient for can both burn smoothly.
In a second aspect, the present application provides a method for encrypting and burning a cartridge, which is used at an upper computer end and adopts the following technical scheme:
a method for encrypting and burning a cigarette cartridge is applied to an upper computer and comprises the following steps:
sending an inquiry request about the state of the connecting piece to the burning jig in response to the received burning request signal;
receiving the state information, analyzing the state information to obtain the number of the connecting pieces to be burned, and sending the smoke cartridge information to a background server;
receiving an encrypted serial number generated by the background server according to the information of the smoke cartridge;
and generating a burning command and sending the burning command to the burning jig, wherein the burning command comprises the position information of the connecting piece and the encrypted serial number.
By adopting the technical scheme, the upper computer acquires the connecting piece to be burnt, then sends the burning command to the burning jig, and the burning jig burns the cigarette cartridges on the connecting piece to be burnt one by one, so that the burning efficiency of the cigarette cartridges can be improved. Meanwhile, the burning accuracy can be improved by identifying the position information of the connecting piece.
Optionally, the generating of the burning command and the sending of the burning command to the burning jig further include:
and receiving the updated state information of the connecting pieces, and respectively displaying the state of each connecting piece on the interface.
By adopting the technical scheme, the burning state of the cigarette cartridge on the connecting piece is displayed in real time, so that the working personnel can visually know the burning condition of the cigarette cartridge.
Optionally, the cartridge information includes the number of cartridges, the serial number of cartridges, the manufacturer number, the production date, the fixture number, and the taste of cartridges.
Through adopting above-mentioned technical scheme, the staff of being convenient for knows the information of cigarette bullet, can trace back the cigarette bullet.
In a third aspect, the present application provides a system for encrypting and burning a cartridge, which adopts the following technical scheme:
a system for encrypted burning of cartridges, comprising:
burn a cigarette bullet and encrypt burning system, its characterized in that, including burning record tool, host computer and backstage server, wherein:
the burning jig is provided with a burning chip, an MCU and a plurality of connecting pieces, wherein the burning chip and the connecting pieces are respectively connected with the MCU, and the connecting pieces are used for inserting the cigarette cartridges;
when burning, the burning jig is used for:
acquiring the state of each connecting piece, wherein the state of each connecting piece comprises a smoke cartridge and a smoke-free cartridge;
starting burning, modifying the state of the connecting piece with the smoke cartridge into a state to be burned, and sending a burning request signal to an upper computer;
responding to the query request, and sending the state information of all the connecting pieces to an upper computer;
analyzing the burning command in response to the received burning command, and controlling the burning chip to burn the encrypted serial numbers of the smoke cartridges on the corresponding connecting pieces one by one;
wherein, the host computer is connected with MCU, and during the burn record, the host computer is used for:
sending an inquiry request about the state of the connecting piece to the burning jig in response to the received burning request signal;
receiving the state information, analyzing the state information to obtain the number of the connecting pieces to be burned, and sending the smoke cartridge information to a background server;
receiving an encrypted serial number generated by the background server according to the information of the smoke cartridge;
generating a burning command and sending the burning command to a burning jig, wherein the burning command comprises position information of a connecting piece and an encrypted serial number;
wherein, backend server and host computer connection, during the burn record, backend server is used for:
the method comprises the steps of receiving information of the cigarette cartridge from an upper computer, generating corresponding number of encryption serial numbers of the information of the cigarette cartridge through a preset encryption algorithm, and sending the encryption serial numbers to the upper computer.
By adopting the technical scheme, the cigarette cartridge is arranged on the connecting piece, the burning is started, the burning jig modifies the state of the connecting piece with the cigarette cartridge into the state to be burned, and the state information is sent to the upper computer; the host computer analyzes the state information, the quantity of the smoke cartridge is obtained, the position information of the connecting piece is recorded, then the host computer sends the smoke cartridge information to the background server, the background server generates an encrypted serial number of a corresponding quantity according to the smoke cartridge information, the encrypted serial number is sent to the host computer, the host computer generates a burning command consisting of the position information and the encrypted serial number of the connecting piece, the burning command is sent to the burning jig, the burning jig analyzes the burning command, the position information and the encrypted serial number of the burning connecting piece are obtained, the encrypted serial number is burned into the smoke cartridge on the corresponding connecting piece one by one, until the burning of all the smoke cartridges to be burned is completed, and the burning efficiency of the smoke cartridge can be improved.
Optionally, a magnet and a bullet needle are arranged in the socket of the connecting piece, the bullet needle is electrically connected with the MCU, the bullet needle is used for burning data, and the magnet is used for adsorbing the smoke cartridge.
Through adopting above-mentioned technical scheme, the cigarette bullet is connected through the chip electricity of bullet needle and burning record tool, and the adsorbable cigarette bullet of magnet makes the connection of cigarette bullet and connecting piece more stable.
Optionally, the elastic needle includes a first elastic needle, a second elastic needle and a third elastic needle, the first elastic needle and the third elastic needle are symmetrically disposed on two sides of the second elastic needle, the first elastic needle and the third elastic needle are connected to a ground pin of the MCU, and the second elastic needle is connected to a DATA pin of the MCU.
Through adopting above-mentioned technical scheme, first bullet needle, third bullet needle are located the both sides of second bullet needle, and the cigarette bullet is pegged graft on the connecting piece, and first bullet needle, third bullet needle are located the both sides of second bullet needle, make the cigarette bullet openly peg graft or reverse side peg graft all can, improve the convenience of burning record.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the efficiency of burning the cigarette cartridge can be improved by continuously burning the cigarette cartridge;
2. by identifying the position information of the connecting piece, the burning accuracy can be improved;
3. the burning state of the cigarette cartridge is displayed in real time, so that the working personnel can know the burning condition of the cigarette cartridge conveniently.
Drawings
Fig. 1 is a schematic flowchart of a method for encrypting and burning a cartridge according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a burning fixture;
FIG. 3 is a schematic diagram of a host computer interface;
FIG. 4 is a block diagram of a system for encrypting and burning a cartridge;
fig. 5 is a schematic diagram of the connection of the MCU, the connector and the encryption IC.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to fig. 1-5 and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application discloses a method for burning encrypted smoke cartridges, which is applied to a burning jig, wherein the burning jig is provided with a plurality of connectors, and the burning method includes the following steps:
s10: and acquiring the state of each connecting piece, wherein the state of each connecting piece comprises a smoke cartridge and a smoke-free cartridge.
Specifically, the cigarette bullet is equipped with independent power, and the cigarette bullet that will have encrypted IC pegs graft on the connecting piece, and the encryption IC of cigarette bullet realizes the electricity with the MCU of burning record tool and connects, and the power on the burning record tool supplies power to encrypting IC through the circular telegram interface, makes encryption IC ability normal work, encrypts IC and is used for preserving the encryption serial number of cigarette bullet.
S11: and starting the burning, modifying the state of the connecting piece with the smoke cartridge into a state to be burned, and sending a burning request signal to the upper computer.
Specifically, a burning key on the burning jig is pressed, a burning chip is connected with the MCU, the burning chip starts a burning program, wherein the MCU is connected with the upper computer through a USB data line, and the MCU establishes communication with the upper computer through an HID communication protocol. For example, the MCU sends a 0x01 command to the host computer, the command contains no other data, and the command is defined as a burning request signal in the protocol.
S12: and responding to the query request, and sending the state information of all the connecting pieces to the upper computer.
Specifically, for example, the upper computer sends a 0x03 command to the MCU, where the command does not contain other data, and the command is defined as a query request of status information of the connection element in the protocol; the MCU acquires the state information of all the connecting pieces, packs and caches the data of the state information in the memory to obtain a state data packet, and the MCU receives a 0x03 instruction and directly sends the state data packet to the upper computer.
The status packet has a plurality of bytes of valid data, wherein, for example, the first byte is fixed to 0x03, indicating that the packet is status information; the second byte after indicates the status of connection number 1, the third byte indicates the status of connection number 2, the fourth byte indicates the status of connection number 3, and so on.
S13: and responding to the received burning command, analyzing the burning command, and controlling the burning chip to burn the encrypted serial numbers of the smoke cartridges on the corresponding connecting pieces one by one.
Specifically, the MCU receives a burning data packet sent by the upper computer, the burning data packet has a plurality of burning data, the burning data has a plurality of bytes of valid data, wherein, for example, the first byte is fixed to 0x02, which indicates that the data is a burning command; the second byte is the burned position information, for example, 0002 represents the connector No. 2; the third byte and the following data are the encrypted serial numbers to be burned.
If the MCU recognizes 0x02, the data is determined to be a recording command, and then recognizes 0002 to obtain recording position information, for example, the number 2 connector is connected to pin 2 of the MCU, and the recording chip can record the encrypted serial number into the cartridge on the number 2 connector through the pin 2 channel of the MCU. The burning chip does not have address information, the MCU analyzes the address, the encrypted serial number is burnt into the cigarette cartridges on different connecting pieces through different pins of the MCU, one cigarette cartridge is burnt, and the burning of the next cigarette cartridge is carried out by switching to another channel.
Optionally, after step S13, the method further includes:
s14: and updating the state of the connecting piece which is successfully burned into the state of successfully burned connecting piece, and updating the state of the connecting piece which fails to be burned into the state of failing to burn.
Specifically, in the status packet of the connection, different statuses are represented by different bytes, for example: 0000 represents no cartridge, 0001 represents a cartridge, 0002 represents a to-be-recorded state, 0003 represents a recording state, 0004 represents a recording completion state, and 0005 represents a recording failure state.
In the program, the burning is serial, and whether the burning is finished or not can be known after the burning is finished. After the current cigarette cartridge is burned, a secret key is stored in the MCU, the MCU reads burning data of the cigarette cartridge through the internal secret key, the read burning data is compared with the encrypted serial number, if the burning data is completely the same as the encrypted serial number, burning is successful, and the state of a corresponding connecting piece is updated and stored; if the burning data encryption serial numbers are not identical, the burning fails, and the state of the corresponding connecting piece is updated and stored; the non-identical data may be unread data, incomplete read data, or some bytes in the data different from the corresponding part of the encrypted serial number.
S15: and sending the updated state information of the connecting piece to an upper computer.
Specifically, after all the cartridges are burnt, the MCU updates the state information of the connecting piece and packs and sends the state information to the upper computer.
Optionally, in step S10, the following sub-steps are included:
s101: the version information of the encrypted IC of the cartridge on each connector is read one by one.
S102: if the version information of the encrypted IC is read, the state of the connecting piece is marked as a smoke cartridge, and the serial number of the connecting piece is stored.
S103: if the version information of the encrypted IC is not read, the state of the connector is marked as no smoke cartridge, and the number of the connector is saved.
Specifically, the burning jig and the connecting pieces on the burning jig have unique numbers, the MCU stores secret keys, the MCU is connected to each connecting piece by using a data line of multipath communication, each connecting piece is connected with different pins of the MCU, version information of the encrypted IC is read by scanning through the MCU, if the version information of the encrypted IC is read, the connecting piece is connected with a smoke bomb, and the number of the connecting piece is recorded and stored; if the version information of the encrypted IC is not read, no bomb is left on the connecting piece, and the serial number of the connecting piece is recorded and stored.
Referring to fig. 2, the embodiment of the application discloses a method for encrypting and burning a cigarette cartridge, which is applied to an upper computer and comprises the following steps:
s20: and responding to the received burning request signal, and sending an inquiry request about the state of the connecting piece to the burning jig.
Specifically, if the upper computer receives the command 0x01 and the command does not contain other data, the upper computer receives the recording request signal. The upper computer sends a 0x03 instruction to the MCU, the instruction does not contain other data, namely the upper computer sends a query request to the burning jig.
S21: and receiving the state information, analyzing the state information to acquire the number of the connecting pieces to be burned, and sending the smoke cartridge information to the background server.
Specifically, referring to fig. 2, in the present embodiment, for example, the number of the connectors on the burning jig is set to 20, 20 connectors are arranged on the burning jig in an arrangement of 5 × 4, and the 20 connectors are numbered by 1 to 20.
The upper computer receives the data packet, recognizes that the first byte of the data packet is 0x03, and if other data exists after 0x03, the data packet is a status data packet, and the status information of each connector is obtained by recognizing the second byte and the following bytes of the data packet. For example, if the second byte is identified as 0000, the state of the connection No. 1 is no smoke bomb; if the third byte is 0002, the state of the connector No. 2 is to be burned.
The information of the cartridge includes the number of cartridges, the serial number of cartridges, the manufacturer number, the production date, the fixture number, and the taste of cartridges, where the number of cartridges is the number of 0002 identified in the status data packet, for example, if the number of 0002 is 15, the number of cartridges is 15. The serial number of the cartridge is the serial number of the sequence of the burning cartridge, for example, the number of the cartridges is 15, the serial number of the cartridge is from 01 to 15, the serial number of the first burning cartridge is 01, the serial number of the second burning cartridge is 02, and so on.
Before burning, information such as manufacturer numbers and cigarette cartridge tastes are well set on the upper computer, for example, the cigarette cartridge tastes, options of the pull-down frame are arranged on the upper computer, and workers can select corresponding cigarette cartridge tastes according to actual conditions. The production date is the date of burning in the same day, and the tool serial number is the serial number of burning the tool, and through writing the serial number of each burning tool into the backstage of host computer, when host computer and burning tool are connected, the host computer can acquire the serial number of burning the tool.
S22: and receiving an encrypted serial number generated by the background server according to the information of the smoke cartridge.
Specifically, the upper computer establishes communication with the background server through an HTTP protocol, the background server receives information of the smoke cartridge, the background server analyzes the information of the smoke cartridge, for example, if the number of the smoke cartridge is 15, the background server generates 15 serial numbers, wherein, a manufacturer A uses a No. 1 jig to produce a No. 5 smoke cartridge in 1 month and 3 days of 2021 year, the taste of the smoke cartridge is strawberry flavor, the taste number of the strawberry flavor is 005, the serial number is A2101030105005, then the serial number is encrypted through an encryption algorithm preset by the background server to obtain an encrypted serial number, and the background server sends the 15 encrypted serial numbers to the upper computer, wherein the encryption algorithm can adopt an asymmetric encryption RSA algorithm or a symmetric encryption AES algorithm. The 15 cigarette cartridges are the same batch of cigarette cartridges, and the manufacturer numbers, the production dates, the fixture numbers and the cigarette cartridge tastes of the same batch of cigarette cartridges are the same.
S23: and generating a burning command and sending the burning command to the burning jig, wherein the burning command comprises the position information of the connecting piece and the encrypted serial number.
Specifically, the upper computer allocates the encryption serial numbers to each batch of cartridges in sequence, for example, if 15 cartridges are provided, the upper computer receives the 15 encryption serial numbers. The number of the 15 smoke bombs is distributed on the number 1-15 connecting pieces of the number 1 burning jig, and during burning, burning is performed from the number 1 connecting piece to the number 15 connecting piece in sequence, so that the number 1 connecting piece corresponds to the number A2101030101005 when the number is not encrypted, the number 2 connecting piece corresponds to the number A2101030102005 when the number is not encrypted, and so on.
And the upper computer generates burning data by the encrypted serial number and the serial number of the connecting piece, and packs and sends the burning data to the MCU. The first byte of the burning data is fixed to be 0x02, the second byte is burning position information, and the third byte and the following data are encrypted serial numbers to be burned. For example, the first byte of the burning data burned on the connector No. 1 is 0x02, the second byte is 0001, and the third byte and the following data are the corresponding encrypted serial numbers a 2101030101005; the first byte of the burning data burned on the connector 2 is 0x02, the second byte is 0002, the third byte and the following data are the encrypted serial numbers corresponding to a2101030102005, and so on.
Optionally, after step S23, the method further includes:
s24: and receiving the updated state information of the connecting pieces, and respectively displaying the state of each connecting piece on the interface.
Specifically, referring to fig. 3, the operation interface of the upper computer is provided with display areas having the same number as the number of the connectors, in this embodiment, the number of the display areas is 20, and the 20 display areas are arranged on the display interface of the upper computer in a manner of 5 × 4 and are consistent with the numbers of the 20 connectors. The display area displays in the form of serial number, characters and background color, and different states correspond to different characters and colors. For example, the state of the No. 1 connecting piece is a smokeless bomb, the middle part of the No. 1 display area displays the 'No. 1' and the 'smokeless bomb', and meanwhile, the background color of the No. 1 display area is grey white; the state of the No. 2 connecting piece is a cigarette bullet, the middle part of the No. 2 display area displays the No. 2 display area and the cigarette bullet, meanwhile, the background color of the No. 2 display area is blue, if the state of the No. 2 connecting piece is changed to be burnt, the middle part of the No. 2 display area displays the No. 2 display area and the cigarette bullet to be burnt, and at the moment, the background color of the No. 2 display area is orange.
Referring to fig. 4 and 5, an embodiment of the present application discloses a cigarette cartridge encryption burning system, including a burning jig, an upper computer and a background server, wherein:
the burning jig is provided with a burning chip, an MCU and a plurality of connecting pieces, wherein the burning chip and the connecting pieces are respectively connected with the MCU, and the connecting pieces are used for inserting the cigarette cartridges.
Optionally, in order to make the connection of cigarette bullet and connecting piece more stable, in this embodiment, be provided with bullet needle and magnet in the socket of connecting piece, bullet needle and MCU electricity are connected, and the bullet needle is used for burning record data, and magnet is used for adsorbing the cigarette bullet. When the cigarette bullet is inserted into the connector, the contact of the encryption IC is contacted with the bullet needle.
The elastic needle comprises a first elastic needle, a second elastic needle and a third elastic needle, the first elastic needle and the third elastic needle are symmetrically arranged on two sides of the second elastic needle, the first elastic needle and the third elastic needle are connected with a grounding pin of the MCU, and the second elastic needle is connected with a DATA pin of the MCU. And two magnets are arranged, wherein one magnet is positioned on one side of the first elastic needle away from the second elastic needle, and the other magnet is positioned on one side of the third elastic needle away from the second elastic needle. The second elastic pin is used as a burning contact, and the MCU is in single-bus DATA communication with the encryption IC through a DATA DATA line; the first elastic needle and the third elastic needle are used as ground wire contacts, and the two ground wire contacts enable the smoke cartridge to be positively and negatively connected to the connecting piece to normally carry out data communication.
When burning, the burning jig is used for:
s10: and acquiring the state of each connecting piece, wherein the state of each connecting piece comprises a smoke cartridge and a smoke-free cartridge.
S11: and starting the burning, modifying the state of the connecting piece with the smoke cartridge into a state to be burned, and sending a burning request signal to the upper computer.
S12: and responding to the query request, and sending the state information of all the connecting pieces to the upper computer.
S13: and responding to the received burning command, analyzing the burning command, and controlling the burning chip to burn the encrypted serial numbers of the smoke cartridges on the corresponding connecting pieces one by one.
Optionally, the burning jig is further configured to:
s14: and updating the state of the connecting piece which is successfully burned into the state of successfully burned connecting piece, and updating the state of the connecting piece which fails to be burned into the state of failing to burn.
S15: and sending the updated state information of the connecting piece to an upper computer.
Wherein, the host computer is connected with MCU, and during the burn record, the host computer is used for:
s20: and responding to the received burning request signal, and sending an inquiry request about the state of the connecting piece to the burning jig.
S21: and receiving the state information, analyzing the state information to acquire the number of the connecting pieces to be burned, and sending the smoke cartridge information to the background server.
S22: and receiving an encrypted serial number generated by the background server according to the information of the smoke cartridge.
S23: and generating a burning command and sending the burning command to the burning jig, wherein the burning command comprises the position information of the connecting piece and the encrypted serial number.
Optionally, the upper computer is further configured to:
s24: and receiving the updated state information of the connecting pieces, and respectively displaying the state of each connecting piece on the interface.
Wherein, backend server and host computer connection, during the burn record, backend server is used for:
s30: the method comprises the steps of receiving information of the cigarette cartridge from an upper computer, generating corresponding number of encryption serial numbers of the information of the cigarette cartridge through a preset encryption algorithm, and sending the encryption serial numbers to the upper computer.
The foregoing is a preferred embodiment of the present application and is not intended to limit the scope of the application in any way, and any features disclosed in this specification (including the abstract and drawings) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.

Claims (9)

1. A cigarette cartridge encryption burning method is characterized by being applied to a burning jig which is provided with a plurality of connecting pieces, and comprises the following steps:
acquiring the state of each connecting piece, wherein the state of each connecting piece comprises a smoke cartridge and a smoke-free cartridge;
starting burning, modifying the state of the connecting piece with the smoke cartridge into a state to be burned, and sending a burning request signal to an upper computer;
responding to the query request, and sending the state information of all the connecting pieces to an upper computer;
and responding to the received burning command, analyzing the burning command, and controlling the burning chip to burn the encrypted serial numbers of the smoke cartridges on the corresponding connecting pieces one by one.
2. The method as claimed in claim 1, wherein after the burning command is analyzed in response to the received burning command and the burning chip is controlled to burn the encrypted serial numbers of the cartridges one by one, the method further comprises:
updating the state of the connecting piece which is successfully burned into the state of successful burning, and updating the state of the connecting piece which fails to burn into the state of failure;
and sending the updated state information of the connecting piece to an upper computer.
3. The method for encrypting and burning the cigarette cartridge according to claim 1, wherein the obtaining of the state of each connector comprises:
reading version information of the encrypted IC of the cigarette cartridge on each connecting piece one by one;
if the version information of the encrypted IC is read, the state of the connecting piece is marked as a smoke cartridge, and the serial number of the connecting piece is stored;
if the version information of the encrypted IC is not read, the state of the connector is marked as no smoke cartridge, and the number of the connector is saved.
4. A method for encrypting and burning a cigarette cartridge is applied to an upper computer and comprises the following steps:
sending an inquiry request about the state of the connecting piece to the burning jig in response to the received burning request signal;
receiving the state information, analyzing the state information to obtain the number of the connecting pieces to be burned, and sending the smoke cartridge information to a background server;
receiving an encrypted serial number generated by the background server according to the information of the smoke cartridge;
and generating a burning command and sending the burning command to the burning jig, wherein the burning command comprises the position information of the connecting piece and the encrypted serial number.
5. The method of claim 4, wherein the generating and sending the burning command to the burning tool, wherein the burning command includes the position information of the connector and the encrypted serial number, and further comprising:
and receiving the updated state information of the connecting pieces, and respectively displaying the state of each connecting piece on the interface.
6. The method as claimed in claim 4, wherein the information of the cartridge includes the number of cartridges, serial numbers of cartridges, manufacturer numbers, production dates, fixture numbers and the tastes of cartridges.
7. The utility model provides a cigarette bullet encryption burns record system which characterized in that, includes burns record tool, host computer and backstage server, wherein:
the burning jig is provided with a burning chip, an MCU and a plurality of connecting pieces, wherein the burning chip and the connecting pieces are respectively connected with the MCU, and the connecting pieces are used for inserting the cigarette cartridges;
when burning, the burning jig is used for:
acquiring the state of each connecting piece, wherein the state of each connecting piece comprises a smoke cartridge and a smoke-free cartridge;
starting burning, modifying the state of the connecting piece with the smoke cartridge into a state to be burned, and sending a burning request signal to an upper computer;
responding to the query request, and sending the state information of all the connecting pieces to an upper computer;
analyzing the burning command in response to the received burning command, and controlling the burning chip to burn the encrypted serial numbers of the smoke cartridges on the corresponding connecting pieces one by one;
wherein, the host computer is connected with MCU, and during the burn record, the host computer is used for:
sending an inquiry request about the state of the connecting piece to the burning jig in response to the received burning request signal;
receiving the state information, analyzing the state information to obtain the number of the connecting pieces to be burned, and sending the smoke cartridge information to a background server;
receiving an encrypted serial number generated by the background server according to the information of the smoke cartridge;
generating a burning command and sending the burning command to a burning jig, wherein the burning command comprises position information of a connecting piece and an encrypted serial number;
wherein, backend server and host computer connection, during the burn record, backend server is used for:
the method comprises the steps of receiving information of the cigarette cartridge from an upper computer, generating corresponding number of encryption serial numbers of the information of the cigarette cartridge through a preset encryption algorithm, and sending the encryption serial numbers to the upper computer.
8. The system of claim 7, wherein a magnet and a pogo pin are disposed in the socket of the connector, the pogo pin is electrically connected to the MCU, the pogo pin is used for burning data, and the magnet is used for adsorbing the cigarette cartridge.
9. The system of claim 8, wherein the pogo pins comprise a first pogo pin, a second pogo pin and a third pogo pin, the first pogo pin and the third pogo pin are symmetrically arranged on two sides of the second pogo pin, the first pogo pin and the third pogo pin are connected to a ground pin of the MCU, and the second pogo pin is connected to a DATA pin of the MCU.
CN202110985618.8A 2021-08-26 2021-08-26 Cigarette cartridge encryption burning method and system Pending CN113867740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110985618.8A CN113867740A (en) 2021-08-26 2021-08-26 Cigarette cartridge encryption burning method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110985618.8A CN113867740A (en) 2021-08-26 2021-08-26 Cigarette cartridge encryption burning method and system

Publications (1)

Publication Number Publication Date
CN113867740A true CN113867740A (en) 2021-12-31

Family

ID=78988449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110985618.8A Pending CN113867740A (en) 2021-08-26 2021-08-26 Cigarette cartridge encryption burning method and system

Country Status (1)

Country Link
CN (1) CN113867740A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279918A (en) * 2018-01-16 2018-07-13 深圳市太美亚电子科技有限公司 A kind of firmware burning method, system and terminal based on USB
CN109656583A (en) * 2018-12-28 2019-04-19 北京深思数盾科技股份有限公司 Method for burning chip, host computer and chip burn-recording system
CN110226778A (en) * 2019-06-27 2019-09-13 深圳雾芯科技有限公司 Electronic atomizer, electronic atomizer apparatus main body and electronic atomizer device
CN110226779A (en) * 2019-06-27 2019-09-13 深圳雾芯科技有限公司 Electronic atomizer and electronic atomizer device
CN110226777A (en) * 2019-06-27 2019-09-13 深圳雾芯科技有限公司 Electronic atomizer, electronic atomizer apparatus main body and electronic atomizer device
CN110279155A (en) * 2019-06-27 2019-09-27 深圳雾芯科技有限公司 Electronic atomizer device, electronic atomizer apparatus main body and operating method
CN110279156A (en) * 2019-06-27 2019-09-27 深圳雾芯科技有限公司 Electronic atomizer device, electronic atomizer apparatus main body and operating method
CN110279157A (en) * 2019-06-27 2019-09-27 深圳雾芯科技有限公司 Electronic atomizer device, electronic atomizer apparatus main body and operating method
CN110675167A (en) * 2019-09-24 2020-01-10 深圳市太美亚电子科技有限公司 Anti-counterfeiting system and method for electronic cigarette cartridge and background server
CN111789307A (en) * 2020-07-03 2020-10-20 西安恩狄集成电路有限公司 Electronic cigarette encryption authentication method and system and electronic cigarette
CN112401310A (en) * 2019-08-21 2021-02-26 深圳市新宜康科技股份有限公司 Encrypted cigarette cartridge identification method and device
CN112998329A (en) * 2021-05-14 2021-06-22 深圳市太美亚电子科技有限公司 Dual anti-counterfeiting system for electronic cigarette cartridge

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279918A (en) * 2018-01-16 2018-07-13 深圳市太美亚电子科技有限公司 A kind of firmware burning method, system and terminal based on USB
CN109656583A (en) * 2018-12-28 2019-04-19 北京深思数盾科技股份有限公司 Method for burning chip, host computer and chip burn-recording system
CN110226778A (en) * 2019-06-27 2019-09-13 深圳雾芯科技有限公司 Electronic atomizer, electronic atomizer apparatus main body and electronic atomizer device
CN110226779A (en) * 2019-06-27 2019-09-13 深圳雾芯科技有限公司 Electronic atomizer and electronic atomizer device
CN110226777A (en) * 2019-06-27 2019-09-13 深圳雾芯科技有限公司 Electronic atomizer, electronic atomizer apparatus main body and electronic atomizer device
CN110279155A (en) * 2019-06-27 2019-09-27 深圳雾芯科技有限公司 Electronic atomizer device, electronic atomizer apparatus main body and operating method
CN110279156A (en) * 2019-06-27 2019-09-27 深圳雾芯科技有限公司 Electronic atomizer device, electronic atomizer apparatus main body and operating method
CN110279157A (en) * 2019-06-27 2019-09-27 深圳雾芯科技有限公司 Electronic atomizer device, electronic atomizer apparatus main body and operating method
CN112401310A (en) * 2019-08-21 2021-02-26 深圳市新宜康科技股份有限公司 Encrypted cigarette cartridge identification method and device
CN110675167A (en) * 2019-09-24 2020-01-10 深圳市太美亚电子科技有限公司 Anti-counterfeiting system and method for electronic cigarette cartridge and background server
CN111789307A (en) * 2020-07-03 2020-10-20 西安恩狄集成电路有限公司 Electronic cigarette encryption authentication method and system and electronic cigarette
CN112998329A (en) * 2021-05-14 2021-06-22 深圳市太美亚电子科技有限公司 Dual anti-counterfeiting system for electronic cigarette cartridge

Similar Documents

Publication Publication Date Title
CN210869895U (en) Intelligent electronic cigarette with cigarette cartridge recognition function and cigarette cartridge recognition system of electronic cigarette
CN101452745B (en) Programmer and programming method thereof
EP2709737B1 (en) Video game with concurrent processing of game-related physical objects
CN111789307B (en) Electronic cigarette encryption authentication method and system and electronic cigarette
CN106131687A (en) Data burning method and device
CN108279918A (en) A kind of firmware burning method, system and terminal based on USB
CN105653456A (en) Application program performance testing method, device and system
TW589583B (en) Portable information memory medium and the authorization method
CN110675167A (en) Anti-counterfeiting system and method for electronic cigarette cartridge and background server
JP2016174941A (en) Game system, control method used for the same, and computer program
CN102522119A (en) Method and digital device for intelligently burning HDCP (High-bandwidth Digital-content Copy Protection) KEY
CN107770161A (en) The method and device of brush present is prevented in a kind of live platform
CN110547513A (en) Automatic discernment cigarette bullet is true and false anti-fake system
CN113867740A (en) Cigarette cartridge encryption burning method and system
CN109614118B (en) SPI Flash firmware burning method and device
CN107509072A (en) A kind of automated testing method of automatic Memory test path
CN100437534C (en) Drive tracking system for removable media
JP5957485B2 (en) GAME SYSTEM, CONTROL METHOD AND COMPUTER PROGRAM USED FOR THE SAME
TWI310914B (en)
CN116088880A (en) Information burning method, device, equipment and storage medium
JP5943962B2 (en) GAME SYSTEM, CONTROL METHOD AND COMPUTER PROGRAM USED FOR THE SAME
KR20050109548A (en) Test device and setting method
JP4612663B2 (en) Extended display recognition data management method
EP4036743A1 (en) Information reading system and method
CN107341064A (en) Anti-misplug system based on vehicle Variable flow control unit sub-circuit board

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