Tobacco information acquisition system

By converting multiple QR codes into one QR code in the tobacco information collection system and performing encryption processing, the problem of low query efficiency in the existing technology is solved, the rapid query and security of tobacco data are realized, and the efficiency is improved. Staff efficiency.

CN118734332AInactive Publication Date: 2024-10-01HEBEI BAISHA TOBACCO
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410741821.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing tobacco control system, multiple QR codes exist on a box of tobacco, which leads to inefficiency in querying during large-scale supply chain traceability and affects staff experience and efficiency.

Method used

Design a tobacco information collection system, including information entry module, query statistics module, early warning monitoring module, data export module and security design module. Through the QR code generation, encryption and conversion module, multiple QR codes are converted into a QR code. QR code, and improve the image quality through dither processing and error diffusion processing, use the algorithm processing module to encrypt and decrypt, and generate the corresponding QR code scanning solution for different staff to quickly query the required information.

Benefits of technology

Through the encrypted and converted QR code, the time for staff to search for information is reduced, the query efficiency is improved, the security and efficiency of tobacco data are ensured, and it is suitable for identity authentication and information query of different staff.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734332A_ABST
    Figure CN118734332A_ABST
Patent Text Reader

Abstract

The invention discloses a tobacco information acquisition system, which relates to the field of information acquisition and comprises an information input module, a query statistics module, an early warning monitoring module, a data export module, a security design module, an identity authentication module and a database module. According to the tobacco information acquisition system, the two-dimensional code is encrypted through the arrangement of the security design module, so that the data security of tobacco can be ensured, and different data information can be analyzed through different decryption schemes for the encrypted two-dimensional code; and different tobacco information can be checked when the same two-dimensional code is scanned by different two-dimensional code scanning devices through different two-dimensional code scanning schemes, so that different workers can quickly query required messages, the time of searching the tobacco information by the workers is shortened, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to information collection technology, and in particular to a tobacco information collection system. Background Art

[0002] Since my country has implemented a tobacco monopoly system and has implemented strict supervision on the sale of tobacco, tobacco sellers need to apply for pre-orders from relevant departments, or have tobacco company sales staff register pre-order information at their doorsteps, and then the tobacco company will distribute the tobacco. For tobacco industrial and commercial enterprises, collecting tobacco sales information is very important. On the one hand, enterprises can obtain sales traces of various cigarette brands in various regional markets based on sales information, and obtain the market development trend of brands from the changes in sales traces such as sales volume, inventory and price, so as to conduct macro-control of brands at a deeper level.

[0003] At present, QR code traceability technology is generally used in tobacco control to achieve tobacco market supervision, production management, tracking and information transparency. However, there are multiple QR codes on a box of tobacco. When conducting QR code traceability, staff need to find a matching QR code. Moreover, with the increase in data volume, especially in large-scale supply chain traceability, the database may contain millions or even billions of entries, which will greatly reduce the speed of querying the required messages and affect the staff experience and query efficiency. Summary of the invention

[0004] The purpose of the present invention is to provide a tobacco information collection system to solve the above-mentioned deficiencies in the prior art.

[0005] In order to achieve the above object, the present invention provides the following technical solution: a tobacco information collection system, comprising:

[0006] An information entry module, which is used to enter tobacco leaf information, cigarette information, sales record information, and cigarette transportation information;

[0007] A query and statistics module, which is used for information query, sales statistics, and inventory statistics;

[0008] An early warning monitoring module, which is used for abnormal behavior monitoring and inventory alarm;

[0009] A data export module, which is used to export reports and data;

[0010] A security design module, which is used to ensure the security and efficiency of tobacco information collection;

[0011] An identity authentication module, which is used by the system to authenticate personnel identity information, including production personnel, sales personnel, and quality inspection personnel, and sends the identity authentication to the security design module to generate a QR code scanning solution corresponding to the identity information;

[0012] A database module is used for exchanging system data.

[0013] Furthermore, the safety design module includes:

[0014] A two-dimensional code generation module, the two-dimensional code generation module is used to generate multiple two-dimensional codes, the multiple two-dimensional codes include a tobacco leaf information two-dimensional code, a cigarette production information two-dimensional code, a sales record information two-dimensional code and a cigarette transportation information two-dimensional code;

[0015] A two-dimensional code conversion module, the two-dimensional code conversion module is used to convert the multiple two-dimensional codes encrypted by the two-dimensional code encryption module into one two-dimensional code;

[0016] A two-dimensional code encryption module, which is used to encrypt the multiple two-dimensional codes generated by the two-dimensional code generation module in different encryption modes;

[0017] A two-dimensional code scanning device is used to receive a two-dimensional code scanning solution generated by an identity authentication module and send the two-dimensional code scanning solution to a corresponding two-dimensional code scanning device.

[0018] Furthermore, the two-dimensional code encryption module includes:

[0019] A two-dimensional code data processing module, the two-dimensional code data processing module is used to write the data information entered by the information entry module into the corresponding two-dimensional code generated by the two-dimensional code generation module;

[0020] A jitter processing module, the jitter processing module is used to perform jitter processing on the two-dimensional code processed by the two-dimensional code data processing module through a jitter processing algorithm;

[0021] An error diffusion processing module, wherein the error diffusion processing module is used to perform error diffusion processing on pixels of the two-dimensional code image after the dithering processing is completed;

[0022] The algorithm processing module includes an encryption algorithm and a decryption algorithm. The encryption algorithm is used to encrypt data of a two-dimensional code image after error diffusion processing, and the decryption algorithm is used to decrypt the encrypted two-dimensional code image.

[0023] Furthermore, the two-dimensional code encryption module specifically includes the following working steps:

[0024] A1, writing the data information entered by the information entry module into the corresponding QR code generated by the QR code generation module, specifically including writing tobacco leaf information into the tobacco leaf information QR code, writing cigarette information into the cigarette production information QR code, writing sales record information into the sales record information QR code, and writing cigarette transportation information into the cigarette transportation information QR code;

[0025] A2, the QR code after the information is written is subjected to dithering processing by a dithering processing module;

[0026] A3, performing error diffusion processing on the two-dimensional code after the dithering processing to ensure the image quality of the two-dimensional code image;

[0027] A4, encrypting the two-dimensional code after the dithering process by using different encryption algorithms in the algorithm processing module;

[0028] A5, sending the decryption algorithm corresponding to each encrypted QR code to the QR code scanning device of the corresponding user.

[0029] Furthermore, the two-dimensional code conversion module specifically includes the following working steps:

[0030] B1, label the encrypted set of multiple QR codes, assuming that the tobacco leaf information QR code is A, the cigarette production information QR code is B, the sales record information QR code is C, and the cigarette transportation information QR code is D;

[0031] B2, adjust the resolution of multiple QR codes to ensure that different QR codes in the same group have the same resolution. Let the adjusted tobacco leaf information QR code be A1, the adjusted cigarette production information QR code be B1, the adjusted sales record information QR code be C1, and the adjusted cigarette transportation information QR code be D1;

[0032] B3, collect the pixel points containing data information in each QR code after adjustment, assuming that the pixel points containing data information in the adjusted tobacco leaf information QR code are a1, the pixel points containing data information in the adjusted cigarette production information QR code are b1, the pixel points containing data information in the adjusted sales record information QR code are c1, and the pixel points containing data information in the adjusted cigarette transportation information QR code are d1;

[0033] B4, numbering the pixels of each QR code, wherein the numbering standard is whether there are overlapped points with the pixels of other QR codes containing data information, assuming that the pixels of the tobacco leaf information QR code that do not overlap with the pixels of other QR codes containing data information are numbered a11, the pixels of the tobacco leaf information QR code that overlap with the pixels of other QR codes containing data information are numbered a10, the pixels of the cigarette production information QR code that do not overlap with the pixels of other QR codes containing data information are numbered b11, the pixels of the cigarette production information QR code that overlap with the pixels of other QR codes containing data information are numbered b10, the pixels of the sales record information QR code that do not overlap with the pixels of other QR codes containing data information are numbered c11, the pixels of the sales record information QR code that overlap with the pixels of other QR codes containing data information are numbered c10, the pixels of the cigarette transportation information QR code that do not overlap with the pixels of other QR codes containing data information are numbered d11, and the pixels of the cigarette transportation information QR code that overlap with the pixels of other QR codes containing data information are numbered d10;

[0034] B5, generating a blank QR code and labeling the blank QR code as E;

[0035] B6, write the pixel numbered a11 in the tobacco leaf information QR code, the pixel numbered b11 in the cigarette production information QR code, the pixel numbered c11 in the sales record information QR code, and the pixel numbered d11 in the cigarette transportation information QR code into the blank QR code E;

[0036] B7, collect unoccupied pixels in the blank QR code E, and number the blank pixels as E1;

[0037] B8, grouping the blank pixels into groups including E1a, E1b, E1c and E1d;

[0038] B9, the E1a is used to write the tobacco information QR code pixel points numbered a10, the E1b is used to write the cigarette production information QR code pixel points numbered b10, the E1c is used to write the sales record information QR code pixel points numbered c10, and the E1d is used to write the cigarette transportation information QR code pixel points numbered d10.

[0039] Furthermore, the two-dimensional code scanning device comprises:

[0040] A user login module, which is used by staff to log in to the QR code scanning device;

[0041] An algorithm receiving module, the algorithm receiving module is used to receive different QR code decryption algorithms according to the staff identity information authenticated by the identity authentication module;

[0042] A two-dimensional code scanning module is used by staff to scan two-dimensional codes.

[0043] Furthermore, the information entry module includes:

[0044] A tobacco leaf information input module, which is used to input tobacco leaf information;

[0045] A cigarette information input module, which is used to input cigarette production information;

[0046] A sales record information entry module, which is used to enter historical cigarette sales records;

[0047] A cigarette transportation information input module, wherein the cigarette transportation information input module is used to input historical cigarette transportation information.

[0048] Furthermore, the tobacco information collection system includes the following working steps:

[0049] S1, input tobacco leaf information, cigarette information, sales record information and cigarette transportation information through the information input module;

[0050] S2, receiving the staff identity information authenticated by the identity authentication module and the tobacco data information entered by the information entry module through the security design module;

[0051] S3, generating multiple QR codes through a QR code generation module in the security design module, wherein the multiple QR codes include a tobacco leaf information QR code, a cigarette production information QR code, a sales record information QR code, and a cigarette transportation information QR code;

[0052] S4, encrypting the multiple QR codes generated by the QR code generation module in accordance with different encryption methods through the QR code encryption module;

[0053] S5, converting the multiple QR codes encrypted by the QR code encryption module into one QR code through a QR code conversion module;

[0054] S6, the staff logs in to the QR code scanning device through the user login module in the security design module;

[0055] S7, reading the personnel identity information of the identity authentication module, and the algorithm receiving module receives the corresponding QR code decryption algorithm;

[0056] S8, the staff scans the QR code through the QR code scanning module;

[0057] S9, by performing algorithm decryption on the pixels containing data information in the blank two-dimensional code E, the corresponding data information can be parsed out through different decryption algorithms.

[0058] Compared with the prior art, the tobacco information collection system provided by the present invention can ensure the data security of tobacco by encrypting the QR code through the setting of the security design module. Different data information can be parsed from the encrypted QR code through different decryption schemes, and different QR code scanning devices can view different tobacco information when scanning the same QR code through different QR code scanning schemes. This setting makes it easy for different staff members to quickly query the required information, reduces the time for staff members to find tobacco information, and increases work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0060] Figure 1 A schematic diagram of the overall structure provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings.

[0062] See also Figure 1 , a tobacco information collection system, comprising:

[0063] An information entry module, which is used to enter tobacco leaf information, cigarette information, sales record information, and cigarette transportation information;

[0064] A query and statistics module, which is used for information query, sales statistics, and inventory statistics;

[0065] An early warning monitoring module, which is used for abnormal behavior monitoring and inventory alarm;

[0066] A data export module, which is used to export reports and data;

[0067] A security design module, which is used to ensure the security and efficiency of tobacco information collection;

[0068] An identity authentication module, which is used by the system to authenticate personnel identity information, including production personnel, sales personnel, and quality inspection personnel, and sends the identity authentication to the security design module to generate a QR code scanning solution corresponding to the identity information;

[0069] A database module is used for exchanging system data.

[0070] In this way, tobacco leaf information, cigarette information, sales record information and cigarette transportation information are entered through the information entry module, and the corresponding traceability QR code is set through the security design module. Different tobacco information is collected by different staff members and transmitted to the query and statistics module, thereby increasing the system working speed. At the same time, data query and statistical alarms can be realized through the early warning monitoring module, and reports can be generated and data can be exported through the data export module.

[0071] The safety design modules include:

[0072] A QR code generation module, which is used to generate multiple QR codes, including a tobacco leaf information QR code, a cigarette production information QR code, a sales record information QR code, and a cigarette transportation information QR code;

[0073] A two-dimensional code conversion module, which is used to convert multiple two-dimensional codes encrypted by the two-dimensional code encryption module into one two-dimensional code;

[0074] The QR code encryption module is used to encrypt the multiple QR codes generated by the QR code generation module in different encryption modes. This setting can ensure the data security of tobacco by encrypting the QR code. Different data information can be parsed by using different decryption schemes for the encrypted QR code. This setting facilitates different staff to quickly query the required information, reduces the time for staff to find tobacco information, and increases work efficiency.

[0075] A QR code scanning device, the QR code scanning device is used to receive the QR code scanning solution generated by the identity authentication module, and send the QR code scanning solution to the corresponding QR code scanning device. The purpose of this setting is that different QR code scanning devices can view different tobacco information when scanning the same QR code through different QR code scanning solutions. For example, production personnel can view tobacco leaf information by scanning the QR code, sales personnel can view the sales plan and sales area of ​​cigarettes by scanning the QR code, and can sell cigarettes in a targeted manner. Quality inspectors can view the current cigarette production line and production personnel by scanning the QR code, which is convenient for quality inspectors to discover production line problems in time.

[0076] The QR code encryption module includes:

[0077] A two-dimensional code data processing module, which is used to write the data information entered by the information entry module into the corresponding two-dimensional code generated by the two-dimensional code generation module;

[0078] A jitter processing module, which is used to perform jitter processing on the two-dimensional code processed by the two-dimensional code data processing module through a jitter processing algorithm;

[0079] An error diffusion processing module, which is used to perform error diffusion processing on pixels of the two-dimensional code image after the dithering processing;

[0080] The algorithm processing module includes an encryption algorithm and a decryption algorithm. The encryption algorithm is used to encrypt the data of the two-dimensional code image after the error diffusion processing, and the decryption algorithm is used to decrypt the encrypted two-dimensional code image.

[0081] The specific working steps of the QR code encryption module include the following:

[0082] A1, writing the data information entered by the information entry module into the corresponding QR code generated by the QR code generation module, specifically including writing tobacco leaf information into the tobacco leaf information QR code, writing cigarette information into the cigarette production information QR code, writing sales record information into the sales record information QR code, and writing cigarette transportation information into the cigarette transportation information QR code;

[0083] A2, the QR code after the information is written is subjected to dithering processing by a dithering processing module;

[0084] A3, performing error diffusion processing on the two-dimensional code after the dithering processing to ensure the image quality of the two-dimensional code image;

[0085] A4, encrypting the two-dimensional code after the dithering process by using different encryption algorithms in the algorithm processing module;

[0086] A5, sending the decryption algorithm corresponding to each encrypted QR code to the QR code scanning device of the corresponding user.

[0087] The QR code conversion module specifically includes the following working steps:

[0088] B1, label the encrypted set of multiple QR codes, assuming that the tobacco leaf information QR code is A, the cigarette production information QR code is B, the sales record information QR code is C, and the cigarette transportation information QR code is D;

[0089] B2, adjust the resolution of multiple QR codes to ensure that different QR codes in the same group have the same resolution. Let the adjusted tobacco leaf information QR code be A1, the adjusted cigarette production information QR code be B1, the adjusted sales record information QR code be C1, and the adjusted cigarette transportation information QR code be D1;

[0090] B3, collect the pixel points containing data information in each QR code after adjustment, assuming that the pixel points containing data information in the adjusted tobacco leaf information QR code are a1, the pixel points containing data information in the adjusted cigarette production information QR code are b1, the pixel points containing data information in the adjusted sales record information QR code are c1, and the pixel points containing data information in the adjusted cigarette transportation information QR code are d1;

[0091] B4, numbering the pixels of each QR code, wherein the numbering standard is whether there are overlapped points with the pixels of other QR codes containing data information, assuming that the pixels of the tobacco leaf information QR code that do not overlap with the pixels of other QR codes containing data information are numbered a11, the pixels of the tobacco leaf information QR code that overlap with the pixels of other QR codes containing data information are numbered a10, the pixels of the cigarette production information QR code that do not overlap with the pixels of other QR codes containing data information are numbered b11, the pixels of the cigarette production information QR code that overlap with the pixels of other QR codes containing data information are numbered b10, the pixels of the sales record information QR code that do not overlap with the pixels of other QR codes containing data information are numbered c11, the pixels of the sales record information QR code that overlap with the pixels of other QR codes containing data information are numbered c10, the pixels of the cigarette transportation information QR code that do not overlap with the pixels of other QR codes containing data information are numbered d11, and the pixels of the cigarette transportation information QR code that overlap with the pixels of other QR codes containing data information are numbered d10;

[0092] B5, generate a blank QR code and label the blank QR code as E;

[0093] B6, write the pixel numbered a11 in the tobacco leaf information QR code, the pixel numbered b11 in the cigarette production information QR code, the pixel numbered c11 in the sales record information QR code, and the pixel numbered d11 in the cigarette transportation information QR code into the blank QR code E;

[0094] B7, collect unoccupied pixels in the blank QR code E, and number the blank pixels as E1;

[0095] B8, grouping the blank pixels into groups including E1a, E1b, E1c and E1d;

[0096] B9, E1a is used to write the tobacco leaf information QR code pixel points numbered a10, E1b is used to write the cigarette production information QR code pixel points numbered b10, E1c is used to write the sales record information QR code pixel points numbered c10, and E1d is used to write the cigarette transportation information QR code pixel points numbered d10.

[0097] The purpose of this setting is to convert multiple QR codes into one QR code through the QR code conversion module, thereby reducing the number of QR codes on the packaging box and the time cost of staff looking for corresponding QR codes when tracing information. At the same time, different QR code scanning devices can view different tobacco information when scanning the same QR code through different QR code scanning schemes. For example, production personnel can view tobacco leaf information by scanning the QR code, sales personnel can view the sales plan and sales area of ​​cigarettes by scanning the QR code, and can sell cigarettes in a targeted manner. Quality inspectors can view the current cigarette production line and production personnel by scanning the QR code, which is convenient for quality inspectors to discover production line problems in time, and for different staff to quickly query the required information, reducing the time staff spend looking for tobacco information and increasing work efficiency.

[0098] The two-dimensional code scanning device comprises:

[0099] User login module, which is used by staff to log in to the QR code scanning device;

[0100] An algorithm receiving module, the algorithm receiving module is used to receive different QR code decryption algorithms according to the staff identity information authenticated by the identity authentication module;

[0101] The QR code scanning module is used by staff to scan QR codes.

[0102] The information entry module includes:

[0103] Tobacco leaf information input module, the tobacco leaf information input module is used to input tobacco leaf information;

[0104] Cigarette information input module, the cigarette information input module is used to input cigarette production information;

[0105] Sales record information entry module, the sales record information entry module is used to enter historical cigarette sales records;

[0106] The cigarette transportation information entry module is used to enter the historical transportation information of cigarettes.

[0107] The tobacco information collection system includes the following working steps:

[0108] S1, input tobacco leaf information, cigarette information, sales record information and cigarette transportation information through the information input module;

[0109] S2, receiving the staff identity information authenticated by the identity authentication module and the tobacco data information entered by the information entry module through the security design module;

[0110] S3, generating multiple QR codes through a QR code generation module in the security design module, wherein the multiple QR codes include a tobacco leaf information QR code, a cigarette production information QR code, a sales record information QR code, and a cigarette transportation information QR code;

[0111] S4, encrypting the multiple QR codes generated by the QR code generation module in different encryption modes respectively by using the QR code encryption module;

[0112] S5, converting the multiple QR codes encrypted by the QR code encryption module into one QR code through a QR code conversion module;

[0113] S6, the staff logs in to the QR code scanning device through the user login module in the security design module;

[0114] S7, reading the personnel identity information of the identity authentication module, and the algorithm receiving module receives the corresponding QR code decryption algorithm;

[0115] S8, the staff scans the QR code through the QR code scanning module;

[0116] S9, by performing algorithmic decryption on the pixels containing data information in the blank QR code E, the corresponding data information can be parsed through different decryption algorithms, so that different staff can quickly query the required information, reduce the time for staff to find tobacco information, and increase work efficiency.

[0117] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.

Claims

1. A tobacco information collection system, characterized in that: include: An information entry module, which is used to enter tobacco leaf information, cigarette information, sales record information, and cigarette transportation information; A query and statistics module, which is used for information query, sales statistics, and inventory statistics; An early warning monitoring module, which is used for abnormal behavior monitoring and inventory alarm; A data export module, which is used to export reports and data; A security design module, which is used to ensure the security and efficiency of tobacco information collection; An identity authentication module, which is used by the system to authenticate personnel identity information, including production personnel, sales personnel, and quality inspection personnel, and sends the identity authentication to the security design module; A database module is used for exchanging system data.

2. A tobacco information collection system according to claim 1, characterized in that: The safety design module includes: A two-dimensional code generation module, the two-dimensional code generation module is used to generate multiple two-dimensional codes, the multiple two-dimensional codes include a tobacco leaf information two-dimensional code, a cigarette production information two-dimensional code, a sales record information two-dimensional code and a cigarette transportation information two-dimensional code; A two-dimensional code conversion module, the two-dimensional code conversion module is used to convert the multiple two-dimensional codes encrypted by the two-dimensional code encryption module into one two-dimensional code; A two-dimensional code encryption module, which is used to encrypt the multiple two-dimensional codes generated by the two-dimensional code generation module in different encryption modes; A two-dimensional code scanning device is used to receive a two-dimensional code scanning solution generated by an identity authentication module and send the two-dimensional code scanning solution to a corresponding two-dimensional code scanning device.

3. A tobacco information collection system according to claim 2, characterized in that: The two-dimensional code encryption module includes: A two-dimensional code data processing module, the two-dimensional code data processing module is used to write the data information entered by the information entry module into the corresponding two-dimensional code generated by the two-dimensional code generation module; A jitter processing module, the jitter processing module is used to perform jitter processing on the two-dimensional code processed by the two-dimensional code data processing module through a jitter processing algorithm; An error diffusion processing module, wherein the error diffusion processing module is used to perform error diffusion processing on pixels of the two-dimensional code image after the dithering processing is completed; The algorithm processing module includes an encryption algorithm and a decryption algorithm. The encryption algorithm is used to encrypt data of a two-dimensional code image after error diffusion processing, and the decryption algorithm is used to decrypt the encrypted two-dimensional code image.

4. A tobacco information collection system according to claim 1, characterized in that: The two-dimensional code encryption module specifically includes the following working steps: A1, writing the data information entered by the information entry module into the corresponding QR code generated by the QR code generation module, specifically including writing tobacco leaf information into the tobacco leaf information QR code, writing cigarette information into the cigarette production information QR code, writing sales record information into the sales record information QR code, and writing cigarette transportation information into the cigarette transportation information QR code; A2, the QR code after the information is written is subjected to dithering processing by a dithering processing module; A3, performing error diffusion processing on the two-dimensional code after the dithering processing to ensure the image quality of the two-dimensional code image; A4, encrypting the two-dimensional code after the dithering process by using different encryption algorithms in the algorithm processing module; A5, sending the decryption algorithm corresponding to each encrypted QR code to the QR code scanning device of the corresponding user.

5. A tobacco information collection system according to claim 1, characterized in that: The two-dimensional code conversion module specifically includes the following working steps: B1, label the encrypted set of multiple QR codes, assuming that the tobacco leaf information QR code is A, the cigarette production information QR code is B, the sales record information QR code is C, and the cigarette transportation information QR code is D; B2, adjust the resolution of multiple QR codes to ensure that different QR codes in the same group have the same resolution. Let the adjusted tobacco leaf information QR code be A1, the adjusted cigarette production information QR code be B1, the adjusted sales record information QR code be C1, and the adjusted cigarette transportation information QR code be D1; B3, collect the pixel points containing data information in each QR code after adjustment, assuming that the pixel points containing data information in the adjusted tobacco leaf information QR code are a1, the pixel points containing data information in the adjusted cigarette production information QR code are b1, the pixel points containing data information in the adjusted sales record information QR code are c1, and the pixel points containing data information in the adjusted cigarette transportation information QR code are d1; B4, numbering the pixels of each QR code, wherein the numbering standard is whether there are overlapped points with the pixels of other QR codes containing data information, assuming that the pixels of the tobacco leaf information QR code that do not overlap with the pixels of other QR codes containing data information are numbered a11, the pixels of the tobacco leaf information QR code that overlap with the pixels of other QR codes containing data information are numbered a10, the pixels of the cigarette production information QR code that do not overlap with the pixels of other QR codes containing data information are numbered b11, the pixels of the cigarette production information QR code that overlap with the pixels of other QR codes containing data information are numbered b10, the pixels of the sales record information QR code that do not overlap with the pixels of other QR codes containing data information are numbered c11, the pixels of the sales record information QR code that overlap with the pixels of other QR codes containing data information are numbered c10, the pixels of the cigarette transportation information QR code that do not overlap with the pixels of other QR codes containing data information are numbered d11, and the pixels of the cigarette transportation information QR code that overlap with the pixels of other QR codes containing data information are numbered d10; B5, generating a blank QR code and labeling the blank QR code as E; B6, write the pixel numbered a11 in the tobacco leaf information QR code, the pixel numbered b11 in the cigarette production information QR code, the pixel numbered c11 in the sales record information QR code, and the pixel numbered d11 in the cigarette transportation information QR code into the blank QR code E; B7, collect unoccupied pixels in the blank QR code E, and number the blank pixels as E1; B8, grouping the blank pixels into groups including E1a, E1b, E1c and E1d; B9, the E1a is used to write the tobacco information QR code pixel points numbered a10, the E1b is used to write the cigarette production information QR code pixel points numbered b10, the E1c is used to write the sales record information QR code pixel points numbered c10, and the E1d is used to write the cigarette transportation information QR code pixel points numbered d10.

6. A tobacco information collection system according to claim 1, characterized in that: The two-dimensional code scanning device comprises: A user login module, which is used by staff to log in to the QR code scanning device; An algorithm receiving module, the algorithm receiving module is used to receive different QR code decryption algorithms according to the staff identity information authenticated by the identity authentication module; A two-dimensional code scanning module is used by staff to scan two-dimensional codes.

7. A tobacco information collection system according to claim 1, characterized in that: The information entry module includes: A tobacco leaf information input module, which is used to input tobacco leaf information; A cigarette information input module, which is used to input cigarette production information; A sales record information entry module, which is used to enter historical cigarette sales records; A cigarette transportation information input module, wherein the cigarette transportation information input module is used to input historical cigarette transportation information.

8. A tobacco information collection system according to claim 1, characterized in that: The tobacco information collection system includes the following working steps: S1, input tobacco leaf information, cigarette information, sales record information and cigarette transportation information through the information input module; S2, receiving the staff identity information authenticated by the identity authentication module and the tobacco data information entered by the information entry module through the security design module; S3, generating multiple QR codes through a QR code generation module in the security design module, wherein the multiple QR codes include a tobacco leaf information QR code, a cigarette production information QR code, a sales record information QR code, and a cigarette transportation information QR code; S4, encrypting the multiple QR codes generated by the QR code generation module in accordance with different encryption methods through the QR code encryption module; S5, converting the multiple QR codes encrypted by the QR code encryption module into one QR code through a QR code conversion module; S6, the staff logs in to the QR code scanning device through the user login module in the security design module; S7, reading the personnel identity information of the identity authentication module, and the algorithm receiving module receives the corresponding QR code decryption algorithm; S8, the staff scans the QR code through the QR code scanning module; S9, by performing algorithm decryption on the pixels containing data information in the blank two-dimensional code E, the corresponding data information can be parsed out through different decryption algorithms.

Citation Information

Cited By

  • Image-text order cloud printing information rapid query and charging method based on encrypted two-dimensional code

    CN118941250A