CN115222003B - Two-dimensional code coding management method based on reference entity information - Google Patents

Two-dimensional code coding management method based on reference entity information Download PDF

Info

Publication number
CN115222003B
CN115222003B CN202210875684.4A CN202210875684A CN115222003B CN 115222003 B CN115222003 B CN 115222003B CN 202210875684 A CN202210875684 A CN 202210875684A CN 115222003 B CN115222003 B CN 115222003B
Authority
CN
China
Prior art keywords
information
dimensional code
data
entity
code
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.)
Active
Application number
CN202210875684.4A
Other languages
Chinese (zh)
Other versions
CN115222003A (en
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.)
Chinese People's Liberation Army Aviation College
Original Assignee
Chinese People's Liberation Army Aviation College
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 Chinese People's Liberation Army Aviation College filed Critical Chinese People's Liberation Army Aviation College
Priority to CN202210875684.4A priority Critical patent/CN115222003B/en
Publication of CN115222003A publication Critical patent/CN115222003A/en
Application granted granted Critical
Publication of CN115222003B publication Critical patent/CN115222003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • 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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • G06F21/608Secure printing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1256User feedback, e.g. print preview, test print, proofing, pre-flight checks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a two-dimension code management method based on basic information of a test-participating entity, which relates to the technical field of integrating information input, two-dimension code generation and printing, and comprises the steps of obtaining the basic information of the test-participating entity; the PC end automatically imports basic information of the entity to be tested; generating a unique two-dimensional code label according to the input information; printing the two-dimensional code; and managing the two-dimension code information. The invention relates to a two-dimension code coding management method based on basic information of a test-participating entity, which has the advantages of convenience, rapidness, safety, confidentiality, easy maintenance and updating, good two-dimension code manufacture, durability, visual and clear checking of the basic information of the test-participating entity and high economy.

Description

Two-dimensional code coding management method based on reference entity information
Technical Field
The invention relates to the technical field of integrating information input, two-dimension code generation and printing, in particular to a method for managing two-dimension code codes based on information of a reference entity.
Background
With the fact that management of electronic basic information is emphasized by troops in recent years, two-dimensional codes are widely applied, management of two-dimensional codes of entity information to be tested also comes up, electronic management of some entity information to be tested is more and more emphasized, the two-dimensional codes change our lives silently, and people can read more data and information only by slightly scanning.
Traditional participation entity basic information management, such as paper data, but workers are inconvenient to acquire information, and the efficiency is very low; when the mode that adopts the two-dimensional code is managed, will participate in the two-dimensional code label that the entity is correlated with of trying on attached to should participating in the entity of trying on, through scanning the two-dimensional code and directly obtaining information, perhaps carry out simple password verification through two-dimensional code equipment and obtain power equipment's information, this kind of mode, though obtain improving in efficiency, the staff need not go to the assigned position and look up the information, however, this kind of mode can not enough be played the assurance to the security of participating in the entity information of trying on, there is the restriction factor when looking over data, it is inconvenient to carry, the data is not complete enough, easily lose, it is especially outstanding. Therefore, research and development of an electronic two-dimensional code technology which adopts a PC and a handheld terminal becomes an effective solution for the information management of the entity participating in the test at present.
The existing basic information management has the defects of inconvenient carrying, incomplete data, easy loss and poor confidentiality, and therefore a method for two-dimensional code coding management based on the information of the entity to be tested is provided.
Disclosure of Invention
The invention mainly aims to provide a two-dimensional code coding management method based on information of a reference entity, which can effectively solve the defects of inconvenient carrying, incomplete data, easy loss and poor confidentiality of the existing basic information management in the background technology.
In order to achieve the purpose, the invention adopts the technical scheme that: a two-dimension code coding management method based on reference entity information comprises the following steps:
s1, setting a management system, wherein the management system firstly generates a data template in advance through a PC (personal computer) end, a user downloads an electronic template or prints a paper template, and inputs entity information to be tested on the electronic template or the paper template, and then uniformly inputs the PC end; so as to conveniently and quickly acquire the information of the entity participating in the test;
s2, the PC end automatically imports the information of the entity to be tested, the imported information data support data in an xls format and an xlsx format, the data are verified and checked, personnel information and equipment information are distinguished, and repeated data or abnormal data are highlighted;
s3, the management system generates a special two-dimensional code label according to the input information, and the specific steps are as follows:
s31: the management system is provided with an encryption unit, the encryption unit firstly establishes an HMM model and synchronously takes the information of the entity to be tested as original vector data D = { D } needing to be encrypted i } N Obtaining a preliminary encryption vector D '= { D' i } N (ii) a Wherein
Figure GDA0004066498600000021
N is the state number in the HMM model, and K is a password obtained by the handheld device sending the HMM model; substituting vector P with a preliminary encrypted vector α Let alpha T (i)=d' i (ii) a Wherein, P α Is composed of alpha T (i) Constructed vector, P α ={α T (i)} N ,P α Randomly given a state transition matrix A = [ a ] for a password randomly generated and saved by a handheld device ij ] N×N And observation result V = { V = { V = 1 ,v 2 ,...,v N An observation sequence O = { O = } 1 ,o 2 ,...o T And (N-1) × N data in the observation probability matrix B, N being the number of states in the HMM model, T being the observation sequence length; according to a randomly given initial state transition probability vector pi = (pi) i ) N And password P randomly generated and stored in connection establishment process α ={α T (i)} N Solving to obtain N unknown values in the observation probability matrix B, and determining an HMM model lambda = (A, B, II); the encryption unit takes the HMM model as an encryption ciphertext;
s32, obtaining a unique identification Code according to the encrypted ciphertext, generating a matrix type two-dimensional Code by utilizing a QR-Code technology according to the displacement Code, and finally obtaining a two-dimensional Code label;
s4, the management system passes through the PC end is connected with printing device, printing device is used for the two-dimensional code to print, printing device provides the two-dimensional code of many materials and prints, includes wherein: printing thermal paper: data transmission to the thermal printing equipment that will print prints in batches, generates the thermal-sensitive two-dimensional code that can paste, conveniently pastes in the entity department of participating in the examination, and the handheld terminal of being convenient for scans, and the swift convenient information data who acquires the entity of participating in the examination, PVC prints: the data to be printed is transmitted to a PVC printing mechanism of a printing device, the two-dimensional codes of the PVC cards are printed in batch, the generated two-dimensional codes of the PVC cards are clamped and hung on a participating entity, and the PVC cards have the effects of color diversity, individuation, bright color of patterns and the like;
s5, the management system performs information auxiliary management according to the two-dimension code of the entity to be tested, the information of the entity to be tested is more convenient and fast to manage through an electronic two-dimension code technology, the office work is efficient, the data security and confidentiality are strong, the entity to be tested is not easy to lose, the maintenance and the updating are easier, the two-dimension code can be used for a long time after being manufactured, the two-dimension code management method of the entity to be tested and the scientific modern electronic management method integrating data input, data modification, data addition, data deletion and data printing are achieved, the efficiency is improved extremely high, and the safety and the reliability of the data are guaranteed.
Preferably, the handheld device is mainly configured to scan and identify the two-dimensional code, read each encrypted ciphertext in the two-dimensional code tag, and obtain a preliminary encrypted vector D ' = { D ' by using an HMM forward algorithm after receiving an HMM model according to the encrypted ciphertext ' i } N (ii) a The receiving end decrypts according to the password saved in the connection establishing process to obtain the original data D = { D = { (D) } i } N And finally according to the original data D = { D = { (D) } i } N And obtaining the information of the entity to be tested.
Preferably, in step S2, the PC displays the repeated data or the abnormal data and simultaneously performs a prompt to display the number information of the data; after the abnormal data is confirmed manually, the system establishes a database and database protection measures, automatically stores the data without abnormality into the database, and encrypts and stores the database through the database protection measures, so that the data entry is more efficient, faster and safer.
Preferably, in step S3, the unique identification Code is generated by using QR-Code technology, the content represented by the matrix two-dimensional barcode is determined by the arrangement and combination of dots in the matrix two-dimensional Code, and the obtained graphic symbol automatic reading processing Code system is based on computer image processing technology and combined coding principle
Preferably, in the step S4, thermal printing paper or PVC cards with different sizes are selected to print different sizes of the two-dimensional code, the two-dimensional code has more than 40 sizes, so that the printed size is selected when printing, the two-dimensional code is printed, the positioning pattern in the printed two-dimensional code is used for marking the size of the rectangle of the two-dimensional code, the position and the direction of one two-dimensional code can be identified and determined by using three positioning patterns, the problem that the two-dimensional code is easy to distort during scanning due to too large size is solved, and the positioning patterns effectively prevent the scanning situation;
preferably, the printing device is provided with an adjusting unit and a previewing unit, wherein the adjusting unit is used for dynamically adjusting the two-dimensional code background image, the two-dimensional code margin and the style of the two-dimensional code font; the preview unit previews the two-dimensional code and adjusts the two-dimensional code in real time, the effect of beauty is achieved through optimization, functional data exist in all sizes and store formatted data information, the data content is divided into data codes and error correction codes for the remaining storage data content, the data codes are subjected to rechecking and error correction through the data codes and the error correction codes, the correctness of the data codes is further improved, and the accuracy of a two-dimensional code management system is further improved.
Preferably, the information-aided management performed on the two-dimensional code in step S5 includes operations of adding, modifying, and deleting the information of the entity to be tested, and meanwhile, the two-dimensional code information is exported in a word form. The two-dimension code management after the word is exported realizes scientific management of the information of the entity to be tested, the information data of the entity to be tested is visually and clearly displayed, the information of the entity to be tested is convenient to carry out operations such as addition, modification and deletion, and the two-dimension code can be printed on any printer on the basis that the printer is in communication connection with a PC (personal computer) terminal, and is not limited by a printing mode.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, by the provided method for managing the two-dimensional code based on the entity information to be tested, the entity information to be tested is more convenient and fast to manage, the office work is efficient, the data security and confidentiality are strong, the entity information to be tested is not easy to lose, the entity information to be tested is easier to maintain and update, the two-dimensional code can be manufactured and can be used for a long time, the entity information to be tested is managed, the entity information to be tested is input, the data is modified, newly added, deleted and printed in an integrated scientific modern electronic management method, the efficiency is improved extremely high, and the safety and the reliability of the data are guaranteed.
In the invention, an encryption unit is arranged in a management system, the encryption unit firstly establishes an HMM model and synchronously takes the information of a tested entity as original vector data D = { D } required to be encrypted i } N Obtaining a preliminary encryption vector D '= { D' i } N (ii) a Wherein
Figure GDA0004066498600000051
N is the state number in the HMM model, and K is a password obtained by the handheld device sending the HMM model; substituting vector P with a preliminary encrypted vector α Let alpha T (i) = d' i; wherein, P α Is composed of alpha T (i) Constructed vector, P α ={α T (i)} N ,P α Randomly given a state transition matrix A = [ a ] for a password randomly generated and saved by a handheld device ij ] N×N And observation result V = { V = { V = 1 ,v 2 ,...,v N H, observation sequence O = { O = 1 ,o 2 ,...o T (N-1) N data in the observation probability matrix B, wherein N is the state number in the HMM model, and T is the length of an observation sequence; according to a randomly given initial state transition probability vector pi = (pi) i ) N And password P randomly generated and stored in connection establishment process α ={α T (i)} N Solving to obtain N unknown values in the observation probability matrix B, and determining an HMM model lambda = (A, B, II); the encryption unit takes HMM model asEncrypting the ciphertext; firstly, simply and preliminarily encrypting original data to obtain a group of result vectors, then constructing an HMM model by using the vectors, and randomly giving a state transition matrix A = [ a ] in the HMM model ij ] N×N And observation result V = { V = { V = 1 ,v 2 ,...,v N An observation sequence O = { O = } 1 ,o 2 ,...o T And (N-1) N data in the observation probability matrix B are solved according to a randomly given initial state transition probability vector N = (pi i) N and a password vector randomly generated and stored in the connection establishment process to obtain N unknown values in the observation probability matrix B, an HMM model lambda = (A, B, pi) is determined, the encryption unit takes the determined HMM model as a ciphertext, a corresponding two-dimensional code is generated according to the ciphertext, the handheld device scans the two-dimensional code to obtain the ciphertext, and the original reference entity information data are obtained through decryption according to an HMM forward algorithm and a password.
Drawings
Fig. 1 is a flowchart illustrating a two-dimensional code management method based on test-participating entity information according to the present invention;
fig. 2 is a system block diagram of a two-dimensional code management method based on the reference entity information according to the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further described with the specific embodiments.
In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "front", "rear", "both ends", "one end", "the other end", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly stated or limited otherwise, the terms "mounted," "disposed," "connected," and the like are to be construed broadly, such as "connected," which may be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Referring to fig. 1-2, the present invention is a method for two-dimensional code management based on reference entity information, including the following steps:
s1, setting a management system, wherein the management system firstly generates a data template in advance through a PC (personal computer) end, a user downloads an electronic template or prints a paper template, and inputs entity information to be tested on the electronic template or the paper template, and then uniformly inputs the PC end; so as to conveniently and rapidly obtain the information of the entity participating in the test;
s2, automatically importing entity information to be tested by a PC (personal computer) terminal, wherein the imported information data supports data in an xls format and an xlsx format, verifying and checking the data, distinguishing personnel information and equipment information, and highlighting repeated data or abnormal data;
s3, the management system generates a special two-dimensional code label according to the input information, and the specific steps are as follows:
s31: the management system is provided with an encryption unit, the encryption unit firstly establishes an HMM model and synchronously takes the information of the entity to be tested as the original vector data D = { D } to be encrypted i } N Obtaining a preliminary encryption vector D '= { D' i } N (ii) a Wherein
Figure GDA0004066498600000071
N is the state number in the HMM model, and K is a password obtained by the handheld device sending the HMM model; substituting vector P with a preliminary encrypted vector α Let alpha T (i)=d' i (ii) a Wherein, P α Is composed of alpha T (i) Constructed vector, P α ={α T (i)} N ,P α Randomly giving a state transition matrix A = [ a ] for passwords randomly generated and saved for handheld devices ij ] N×N And observation result V = { V = { V = 1 ,v 2 ,...,v N An observation sequence O = { O = } 1 ,o 2 ,...o T And (N-1) × N data in the observation probability matrix B, N being the number of states in the HMM model, T being the observation sequence length; according to an initial state transition probability vector pi = (pi) given at random i ) N And password P randomly generated and stored in connection establishment process α ={α T (i)} N Solving to obtain N unknown values in the observation probability matrix B, and determining an HMM model lambda = (A, B, II); the encryption unit takes the HMM model as an encryption ciphertext; firstly, simply and preliminarily encrypting original data to obtain a group of result vectors, then constructing an HMM model by using the vectors, and randomly giving a state transition matrix A = [ a ] in the HMM model ij ] N×N And observation result V = { V = { V = 1 ,v 2 ,...,v N An observation sequence O = { O = } 1 ,o 2 ,...o T According to an initial state transition probability vector N = (pi i) N given at random and a password vector generated and stored randomly in the connection establishment process, solving to obtain N unknown values in the observation probability matrix B, determining an HMM model lambda = (A, B, pi), using the determined HMM model as a ciphertext by an encryption unit, generating a corresponding two-dimensional code according to the ciphertext, scanning the two-dimensional code by a handheld device to obtain the ciphertext, and decrypting according to an HMM forward algorithm and a password to obtain original reference entity information dataThe condition is randomly given, and encryption and decryption are carried out according to the condition, so that data transmission is safer.
S32, obtaining a unique identification Code according to the encrypted ciphertext, generating a matrix type two-dimensional Code by utilizing a QR-Code technology according to the displacement Code, and finally obtaining a two-dimensional Code label;
s4, management system is connected with printing device through the PC end, and printing device is used for the two-dimensional code to print, and printing device provides the two-dimensional code of many materials and prints, includes wherein: printing by using thermal paper: data transmission to the thermal printing equipment that will print prints in batches, generates the thermal-sensitive two-dimensional code that can paste, conveniently pastes in the entity department of participating in the examination, and the handheld terminal of being convenient for scans, and the swift convenient information data who acquires the entity of participating in the examination, PVC prints: the data to be printed is transmitted to a PVC printing mechanism of a printing device, the two-dimensional codes of the PVC cards are printed in batch, the generated two-dimensional codes of the PVC cards are clamped and hung on a participating entity, and the PVC cards have the effects of color diversity, individuation, bright color of patterns and the like;
s5, the management system performs information auxiliary management according to the entity two-dimensional code to be tested, through an electronic two-dimensional code technology, the entity information to be tested is more convenient to manage, the office work is efficient, the data security and confidentiality are strong, the entity information to be tested is not easy to lose, the entity information to be tested is easier to maintain and update, the two-dimensional code can be manufactured and used for a long time, the entity information to be tested is managed by the entity information to be tested, the entity information to be tested is input, data is modified, added, deleted and printed in an integrated scientific modern electronic management method, the efficiency is improved extremely high, and the safety and the reliability of the data are guaranteed.
The handheld device is mainly used for scanning and identifying the two-dimensional code, reading each encrypted ciphertext in the two-dimensional code label, and obtaining a primary encrypted vector D ' = { D ' by using an HMM forward algorithm after receiving an HMM model according to the encrypted ciphertext ' i } N (ii) a The receiving end decrypts according to the password saved in the connection establishing process to obtain the original data D = { D = { (D) } i } N And finally according to the original data D = { D = { (D) } i } N And obtaining the information of the entity to be tested.
In the step S2, the PC terminal displays repeated data or abnormal data and simultaneously prompts the data, and displays the number information of the data; after the abnormal data is confirmed manually, the system establishes a database and database protection measures, automatically stores the data without abnormality into the database, and encrypts and stores the database through the database protection measures, so that the data entry is more efficient, faster and safer.
In step S3, the unique identification Code is generated into a matrix type two-dimensional Code by utilizing a QR-Code technology, the content represented by the matrix type two-dimensional Code is determined by the arrangement and combination of points, and the obtained graphic symbol automatic reading processing Code system is based on a computer image processing technology and a combined coding principle
In the step S4, thermal printing paper or PVC cards with different sizes are selected to print the sizes of different two-dimensional codes, the sizes of the two-dimensional codes are more than 40, so that the printed sizes are selected during printing, the two-dimensional codes are printed, the positioning patterns in the printed two-dimensional codes are used for marking the size of a two-dimensional code rectangle, the position and the direction of one two-dimensional code can be identified and determined by using three positioning patterns, the problem that the two-dimensional codes are easy to distort during scanning due to overlarge sizes is solved, and the positioning patterns effectively prevent the scanning conditions;
the printing device is provided with an adjusting unit and a previewing unit, wherein the adjusting unit is used for dynamically adjusting the two-dimensional code background image, the two-dimensional code margin and the style of the two-dimensional code font; the preview unit previews the two-dimensional code and adjusts the two-dimensional code in real time, the effect of beauty is achieved through optimization, functional data exist in all sizes and store formatted data information, the data content is divided into data codes and error correction codes for the remaining storage data content, the data codes are subjected to rechecking and error correction through the data codes and the error correction codes, the correctness of the data codes is further improved, and the accuracy of a two-dimensional code management system is further improved.
In the step S5, the two-dimensional code is subjected to information auxiliary management including adding, modifying and deleting operations on the entity information to be tested, the two-dimensional code information is exported in a word form, scientific management of the entity information to be tested is realized through two-dimensional code management after the word is exported, information data of the entity to be tested is visually and clearly displayed, the entity information to be tested can be conveniently subjected to adding, modifying, deleting and other operations, and the two-dimensional code can be printed on any printer on the basis of the PC end in communication connection with the printer, and is not limited by a printing mode.
In actual use, firstly, a management system is set, firstly, a data template is generated in advance through a PC (personal computer) end in the management system, a user inputs information of a test entity through the data template, and then the information is uniformly input into the PC end; then, manual proofreading is carried out on the input information of the entity to be tested, repeated data is removed, and error data is corrected, for example, a walking chariot is used as a sample of the entity to be tested, the information data of the walking chariot specifically comprises license plate information, vehicle owner number information and driver information, the information is used as the information of the entity to be tested, an encryption unit is arranged in the management system, the encryption unit is used for establishing a maximum entropy model and an HMM model, and the license plate information, the vehicle owner number information and the driver information are used as original vector data D = { D license plate information, D vehicle owner number information and D driver information }3 needing to be encrypted; obtaining a preliminary encryption vector D '= { D' i N; wherein
Figure GDA0004066498600000101
3, the state number in the HMM model, and K is a password obtained by the handheld device sending the HMM model; substituting vector P with a preliminary encrypted vector α Let alpha T (i)=d' i (ii) a Wherein, P α Is composed of alpha T (i) Constructed vector, P α ={α T (i)} N ,P α Randomly giving a state transition matrix A = [ a ] for passwords randomly generated and saved for handheld devices ij ] N×N And observation result V = { V = { V = 1 ,v 2 ,...,v N An observation sequence O = { O = } 1 ,o 2 ,...o T And observing 2 × 3 data in the probability matrix B, wherein 3 is the state number in the HMM model, and T is the length of an observation sequence; according to the random given initial state transition probability vector pi = (pi i) N And a password randomly generated and saved by the connection establishment processPα={α T (i)} N Solving to obtain N unknown values in the observation probability matrix B, and determining an HMM model lambda = (A, B, II); the encryption unit takes the HMM model as an encryption ciphertext, obtains a unique identification code according to the encryption ciphertext, generates a matrix type two-dimensional code according to the unique identification code, and finally obtains a two-dimensional code label; the handheld device is mainly used for scanning and identifying the two-dimensional code, reading each encrypted ciphertext in the two-dimensional code label, and obtaining a primary encrypted vector D ' = { D ' by using an HMM forward algorithm after receiving an HMM model according to the encrypted ciphertext ' i N; the receiving end saves the connection according to the connection establishment process the password of (2) is decrypted to obtain the original data D = { D = { D } i N, then according to the original data D = { D = } i And (4) obtaining the information of the entity to be tested, and finally carrying out information auxiliary management by the management system according to the two-dimensional code of the entity to be tested.
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (7)

1. A two-dimensional code coding management method based on entity information to be tested is characterized by comprising the following steps:
s1, setting a management system, wherein the management system firstly generates a data template in advance through a PC (personal computer) terminal, a user downloads an electronic template or prints a paper template, and inputs entity information to be tested on the electronic template or the paper template, and then inputs the entity information to the PC terminal in a unified manner;
s2, the PC end automatically imports the information of the entity to be tested, the imported information data support data in an xls format and an xlsx format, the data are verified and checked, personnel information and equipment information are distinguished, and repeated data or abnormal data are highlighted;
s3, the management system generates a special two-dimensional code label according to the input information, and the specific steps are as follows:
s31: the management system is provided with an encryption unit, the encryption unit firstly establishes an HMM model and synchronously takes the information of the entity to be tested as the original vector data D = { D } required to be encrypted i } N Obtaining a preliminary encryption vector D '= { D' i } N (ii) a Wherein
Figure QLYQS_1
N is the state number in the HMM model, and K is a password obtained by the handheld device sending the HMM model; substituting vector P with a preliminary encrypted vector α Let alpha T (i)=d' i (ii) a Wherein, P α Is composed of alpha T (i) Constructed vector, P α ={α T (i)} N ,P α Randomly giving a state transition matrix A = [ a ] for passwords randomly generated and saved for handheld devices ij ] N×N And observation result V = { V = { V = 1 ,v 2 ,...,v N An observation sequence O = { O = } 1 ,o 2 ,...o T And (N-1) N data in the observation probability matrix B, wherein T is the length of an observation sequence; according to an initial state transition probability vector pi = (pi) given at random i ) N And password P randomly generated and stored in connection establishment process α ={α T (i)} N Solving to obtain N unknown values in the observation probability matrix B, and determining an HMM model lambda = (A, B, II); the encryption unit takes the HMM model as an encryption ciphertext;
s32, obtaining a unique identification Code according to the encrypted ciphertext, generating a matrix type two-dimensional Code by utilizing a QR-Code technology according to the unique Code, and finally obtaining a two-dimensional Code label;
s4, the management system passes through the PC end is connected with printing device, printing device is used for the two-dimensional code to print, printing device provides the two-dimensional code of many materials and prints, includes wherein: printing by using thermal paper: data transmission to the temperature sensing printing apparatus that will print prints in batches, generates the temperature sensing two-dimensional code that can paste, and the PVC is printed: transmitting the data to be printed to a PVC printing mechanism of a printing device, printing two-dimensional codes of PVC cards in batches, and clamping the generated two-dimensional codes of the PVC cards on a participating entity;
and S5, the management system performs information auxiliary management according to the two-dimension code of the entity to be tested.
2. The method as claimed in claim 1, wherein the handheld device is mainly configured to scan and identify the two-dimensional code, read each encrypted ciphertext in the two-dimensional code tag, and obtain the preliminary encrypted vector D ' = { D ' by using an HMM forward algorithm according to the content of the encrypted ciphertext after receiving the HMM model ' i } N (ii) a The receiving end randomly generates and stores a password P according to the connection establishment process α ={α T (i)} N Decrypting to obtain original data D = { D = } i } N And finally according to the original data D = { D = { (D) } i } N And obtaining the information of the entity to be tested.
3. The method for two-dimension code coding management based on the information of the entity under test according to claim 2, wherein the code is a code of the entity under test; in the step S2, the PC terminal displays the repeated data or the abnormal data and simultaneously prompts, displays the number information of the data, establishes a database and database protection measures after the abnormal data is confirmed manually, automatically stores the data without abnormality into the database and encrypts and stores the database through the database protection measures.
4. The method for two-dimensional Code coding management based on the information of the entity under test of claim 3, wherein in step S3, a matrix two-dimensional Code is generated by using a QR-Code technique for a unique identification Code, the content represented by the matrix two-dimensional Code is determined by the arrangement and combination of points, and a graphic symbol automatic recognition processing Code system is obtained by combining a computer image processing technique and a combined coding principle basis.
5. The method for two-dimensional code coding management based on the information of the entity to be tested according to claim 4, wherein in the step S4, the thermal printing paper or PVC card with different sizes is selected to print the sizes of the two-dimensional codes, the positioning pattern in the two-dimensional codes is used for marking the size of the rectangle of the two-dimensional codes, and the three positioning patterns are used for identifying and determining the position and the direction of one two-dimensional code.
6. The method for two-dimensional code coding management based on the reference entity information as claimed in claim 5, wherein: the printing device is provided with an adjusting unit and a previewing unit, the adjusting unit is used for dynamically adjusting a two-dimensional code background image, a two-dimensional code edge distance and the style of a two-dimensional code font, the previewing unit previews the two-dimensional code and adjusts the two-dimensional code in real time to optimize the two-dimensional code, functional data in the two-dimensional code exist in all sizes and store formatted data information, data content is the rest part, and the stored data content is divided into the data code and an error correcting code.
7. The method for two-dimensional code coding management based on the reference entity information as claimed in claim 6, wherein: in the step S5, the information-aided management of the two-dimensional code includes operations of adding, modifying and deleting the information of the entity to be tested, and the two-dimensional code information is exported in a word form.
CN202210875684.4A 2022-07-25 2022-07-25 Two-dimensional code coding management method based on reference entity information Active CN115222003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210875684.4A CN115222003B (en) 2022-07-25 2022-07-25 Two-dimensional code coding management method based on reference entity information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210875684.4A CN115222003B (en) 2022-07-25 2022-07-25 Two-dimensional code coding management method based on reference entity information

Publications (2)

Publication Number Publication Date
CN115222003A CN115222003A (en) 2022-10-21
CN115222003B true CN115222003B (en) 2023-03-21

Family

ID=83614019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210875684.4A Active CN115222003B (en) 2022-07-25 2022-07-25 Two-dimensional code coding management method based on reference entity information

Country Status (1)

Country Link
CN (1) CN115222003B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115958888A (en) * 2022-12-27 2023-04-14 苏州世祥生物纤维有限公司 Code printing tracking system and method for vortex spinning

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020682A (en) * 2012-11-30 2013-04-03 中企永联数据交换技术(北京)有限公司 Two-dimension code identification generating device, two-dimension code identification recognition device and two-dimension code identification system of book
CN105843565A (en) * 2016-03-21 2016-08-10 西安航天动力试验技术研究所 Bar code printing management system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717056A (en) * 2013-12-11 2015-06-17 中国移动通信集团安徽有限公司 Two-dimensional code encryption and decryption method and encryption and decryption device
US9235362B2 (en) * 2014-05-28 2016-01-12 Toshiba Tec Kabushiki Kaisha Printer converts print data into one or two dimensional code is capable of carrying out printing again based on the one or two dimensional code
CN104636929A (en) * 2015-01-26 2015-05-20 川渝中烟工业有限责任公司 Information management system based on two-dimensional code and information management method based on two-dimensional code
CN109325568B (en) * 2018-08-02 2021-06-01 北京三友恒瑞科技有限公司 Anti-counterfeiting two-dimensional code and modulation encryption method and identification system thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020682A (en) * 2012-11-30 2013-04-03 中企永联数据交换技术(北京)有限公司 Two-dimension code identification generating device, two-dimension code identification recognition device and two-dimension code identification system of book
CN105843565A (en) * 2016-03-21 2016-08-10 西安航天动力试验技术研究所 Bar code printing management system and method

Also Published As

Publication number Publication date
CN115222003A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
DE112019001531B4 (en) Method of manufacturing an authenticated packaged product and system for verifying the authenticity of a packaged product
US20010034835A1 (en) Applied digital and physical signatures over telecommunications media
WO2014098136A1 (en) Information code, method for generating information code, device for reading information code, and system for using information code
CN104680077B (en) Method for encrypting picture, method for viewing picture, system and terminal
CN111581653A (en) Contract document signing method, device, equipment and computer readable storage medium
CN101159800B (en) Image processing apparatus
EP3382587A1 (en) Identity authentication using a barcode
CN115222003B (en) Two-dimensional code coding management method based on reference entity information
US20060107040A1 (en) Setting up a security access system
EP1846830B1 (en) Access keys
US20060107041A1 (en) Assembling a security access system
CN103189886B (en) Electronic receipt system, terminal installation, the offer method of electronic receipt and program
US20030140232A1 (en) Method and apparatus for secure encryption of data
JP2015121830A (en) Information code use system, generation method for information code, information code, and information code reading device
CN106203566A (en) Logistics data processing method and device
JP5668805B2 (en) Information processing apparatus, information processing method, and program
CN109829527B (en) Water quality sample tracking method and system for surface water environment monitoring
WO2021005405A1 (en) A method and system for generating and validating documents and document holder using machine readable barcode
CN110020540A (en) A kind of certificate recognition methods and equipment based on two dimensional code
CN108364042A (en) A kind of invoice management method, device and business platform
JP2003029629A (en) Device for signing on paper medium document, device for verifying signature on paper medium document
CN110968275A (en) The anti-counterfeiting tracing system and method for the printed document
US20030051141A1 (en) Method and a system for generating and handling documents
CN115150150B (en) Information recording method based on block chain technology
CN105187404A (en) Method and device for anti-fake inquiry of file based on cloud server

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
GR01 Patent grant
GR01 Patent grant