CN115222003A - Two-dimensional code coding management method based on basic information of reference entity - Google Patents

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

Info

Publication number
CN115222003A
CN115222003A CN202210875684.4A CN202210875684A CN115222003A CN 115222003 A CN115222003 A CN 115222003A CN 202210875684 A CN202210875684 A CN 202210875684A CN 115222003 A CN115222003 A CN 115222003A
Authority
CN
China
Prior art keywords
data
dimensional code
information
entity
basic information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210875684.4A
Other languages
Chinese (zh)
Other versions
CN115222003B (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 coding management method based on basic information of a test-participating entity, which relates to the technical field of integration of 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 basic information of reference entity
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 basic 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 basic information and two-dimensional codes of entities participating in test is also in due force, electronic management of basic information of some entities participating in test is more emphatic, the two-dimensional codes change our lives silently, people can read more data and information only by slightly scanning, the two-dimensional code management method brings great convenience to data management, meanwhile, safety and reliability of the data are guaranteed, and therefore development of management of basic information and two-dimensional codes of the entities participating in test is of great significance.
Traditional basic information management of participating entities, 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 relevant two-dimensional code label of examination entity and attach on should participating in the examination entity, directly obtain the information through scanning the two-dimensional code, 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't not be enough to the security of participating in examination entity information and play the assurance, there is the restriction factor when looking over data, it is inconvenient to carry, the data is not complete enough, easily lose, 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 basic 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 two-dimensional code coding management method based on the basic 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 basic information of a reference entity, which can effectively solve the defects of inconvenient carrying, incomplete data, easy loss and poor confidentiality of the conventional basic information management in the background technology.
In order to achieve the purpose, the invention adopts the technical scheme that: a method for managing two-dimensional code coding based on basic information of a reference entity 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) 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; so as to conveniently and quickly obtain basic information of the entity participating in the test;
s2, the PC terminal automatically imports basic 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 basic information of the entity to be tested as the original vector data D = { D } needing to be encrypted i } N Obtaining a preliminary encryption vector D '= { D' i } N (ii) a Wherein
Figure BDA0003762372720000021
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 preliminary encrypted data 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 H, observation sequence O = { O = 1 ,o 2 ,...,o T And (N-1) xN data in an observation probability matrix B, wherein N is the state number in an HMM model, and 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 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 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 are transmitted to a PVC printing mechanism of a printing device, the two-dimensional codes of the PVC cards are printed in batches, the generated two-dimensional codes of the PVC cards are clamped and hung on the entity to be tested, 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, basic information of the entity to be tested is more convenient and fast to manage through an electronic two-dimensional 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-dimensional code can be used for a long time after being manufactured, the entity basic information two-dimensional code to be tested is managed, the basic information to be tested is input, the data is modified, added, deleted and printed in an integrated scientific modern electronic management method, the efficiency is improved extremely, 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 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 And finally according to the original data D = { D = { (D) } i } N And obtaining basic 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 to determine the content represented by the matrix two-dimensional barcode through the arrangement and combination of points in the matrix two-dimensional Code, and the obtained graphic symbol is automatically read and processed by using computer image processing technology and combined coding principle as the basis
Preferably, in step S4, thermal printing paper or PVC cards of different sizes are selected to print the sizes of different two-dimensional codes, the two-dimensional codes have more than 40 sizes, 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 holding size of the two-dimensional codes, the position and 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 too large sizes is solved, and the positioning patterns effectively prevent the scanning situations;
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 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-assisted management performed on the two-dimensional code in step S5 includes operations of adding, modifying and deleting basic information of a reference entity, 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 basic information of the entity to be tested, information data of the entity to be tested is visually and clearly displayed, the basic information of the entity to be tested is convenient to operate, such as adding, modifying and deleting, 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) end, 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 basic information of the entity to be tested, the basic information of the entity to be tested is more convenient and fast to manage, the office work is efficient, the data security and confidentiality are strong, the entity to be tested is not easy to lose, the two-dimensional code is easier to maintain and update, the two-dimensional code can be manufactured and used for a long time, and the scientific modern electronic management method integrating the management method of the basic information of the entity to be tested, the entry of the basic information of the entity to be tested, the modification, the addition, the deletion and the printing of the data is realized, so that the efficiency is greatly improved, and the safety and the reliability of the data are ensured.
In the invention, an encryption unit is arranged in a management system, the encryption unit firstly establishes an HMM model and synchronously takes basic information of a test-participating entity as original vector data D = { D } to be encrypted i } N Obtaining a preliminary encryption vector D '= { D' i } N (ii) a Wherein
Figure BDA0003762372720000051
N is the state number in the HMM model, and K is a password obtained by the handheld device sending the HMM model; substitution of vector P by preliminary encrypted data vector α Let alpha T (i) = d' i; 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) xN data in an observation probability matrix B, wherein N is the state number in an 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 the 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 And observing (N-1) × N data in the probability matrix B, according to an initial state transition probability vector pi = (pi) given at random i ) N And password vectors randomly generated and stored in the connection establishing process are solved to obtain N unknown values in the observation probability matrix B, an HMM model lambda = (A, B, II) is determined, the determined HMM model is used as a ciphertext by the encryption unit, 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 entity information data to be tested is obtained by decryption according to an HMM forward algorithm and a passwordConditions are given randomly, and encryption and decryption are performed according to the conditions, so that data transmission is safer, and the information security of the entity participating in the test is guaranteed.
Drawings
FIG. 1 is a flowchart illustrating a two-dimension code management method based on basic information of a reference entity according to the present invention;
fig. 2 is a system block diagram of a two-dimensional code coding management method based on basic information of a reference entity 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 is to be noted that, unless otherwise explicitly specified or limited, 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, a two-dimensional code management method based on basic information of a reference entity provided by the present invention includes 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 uniformly inputs the PC terminal; so as to conveniently and quickly obtain basic information of the entity to be tested;
s2, automatically importing basic information of the entity to be tested by the PC 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 basic 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 BDA0003762372720000071
N is the state number in the HMM model, and K is a password obtained by the handheld device sending the HMM model; substitution of vector P by preliminary encrypted data vector α Let alpha be 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 Observation result V = { V = 1 ,v 2 ,...,v N An observation sequence O = { O = } 1 ,o 2 ,...o T And (N-1) xN data in the observation probability matrix BN is the number of states in the HMM model, and T is the length of an observation sequence; according to the randomly given initial state transition probability vector
Π=(π i ) N And password P randomly generated and stored in connection establishment process α ={α T (i)} N Solving the 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 And observing (N-1) × N data in the probability matrix B according to a randomly given initial state transition probability vector pi = (pi) i ) N And password vectors randomly generated and stored in the connection establishing process are solved to obtain N unknown values in the observation probability matrix B, an HMM model lambda = (A, B and II) is determined, the determined HMM model is used as a ciphertext by the encryption unit, 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 entity information data to be tested is obtained by decryption according to an HMM forward algorithm and a password.
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 are transmitted to a PVC printing mechanism of a printing device, the two-dimensional codes of the PVC cards are printed in batches, the generated two-dimensional codes of the PVC cards are clamped and hung on the entity to be tested, 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, the basic information of the entity to be tested is more convenient and fast to manage through an electronic two-dimensional 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-dimensional code can be used for a long time after being manufactured, the entity basic information two-dimensional code management method to be tested and the scientific modern electronic management method integrating data input, modification, addition, deletion and printing are extremely high in efficiency, 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 basic 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, thermosensitive 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, positioning patterns in the printed two-dimensional codes are used for marking the holding size of the two-dimensional codes, three positioning patterns can be used for marking and determining the position and direction of one two-dimensional code, the problem that the two-dimensional codes are easy to distort during scanning due to the fact that the sizes of the two-dimensional codes are too large 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 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 basic information of the entity to be tested, the two-dimensional code information is exported in a word form, scientific management on the basic information of the entity to be tested is realized by two-dimensional code management after the word is exported, information data of the entity to be tested is visually and clearly displayed, the basic information of the entity to be tested is convenient to carry out adding, modifying, deleting and other operations on the basic information of the entity to be tested, and the two-dimensional code can be printed on any printer on the basis that the printer is in communication connection with a PC (personal computer) terminal without limitation of a printing mode.
In actual use, 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 entities to be tested through the data template, and then the information is uniformly input into the PC end; then, the entered information of the entity to be tested is manually corrected, 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, and the information data of the walking chariot specifically comprises the carThe method comprises the following steps that card information, vehicle owner information of the number and driver information are used as basic information of a reference entity, an encryption unit is arranged in a management system, the encryption unit establishes a maximum entropy model and an HMM model, and the card information, the vehicle owner information of the number and the driver information are used as original vector data D = { D card information, D vehicle owner information of the number and D driver information }3 needing to be encrypted; obtaining a preliminary encryption vector D '= { D' i N; wherein
Figure BDA0003762372720000101
3, the state number in the HMM model is obtained, and K is a password obtained by the handheld device sending the HMM model; substituting vector P with preliminary encrypted data vector α Let alpha be 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 multiplied by 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 randomly given initial state transition probability vector
Π=(πi) N And password P alpha = { alpha) randomly generated and saved by the 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, 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, receiving an HMM (hidden Markov model) according to the encrypted ciphertext, and obtaining the HMM by using an HMM forward algorithmPrimary encryption vector D '= { D' i N; the receiving end decrypts according to the password saved in the connection establishing process to obtain the original data D = { D = { (D) } i N, then according to the original data D = { D = } i And (4) obtaining basic 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 features of the present invention, together with the 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 given by way of illustration of the principles of the present invention, but that various changes and modifications may be made without departing from the spirit and scope of the invention, and such changes and modifications are 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 method for managing two-dimensional code coding based on basic information of a reference entity 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 basic information of the entity to be tested, 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 basic information of a tested entity as original vector data D = { D } to be encrypted i } N Obtaining a preliminary encryption vector D '= { D' i } N (ii) a Wherein
Figure FDA0003762372710000011
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 preliminary encrypted data 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) xN data in an observation probability matrix B, wherein N is the state number in an HMM model, and 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 be printed is to thermal printing equipment, 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 and hanging the generated two-dimensional codes of the PVC cards on a reference 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 of claim 1, wherein the two-dimension code is used for code management based on basic information of the entity under test,the method is characterized in that 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 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 And finally according to the original data D = { D = { (D) } i } N And obtaining basic information of the entity to be tested.
3. The method for two-dimensional code coding management based on the basic information of the reference entity according to claim 2, characterized in that; 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 basic information of the reference entity as claimed in claim 3, wherein in step S3, the unique identification Code is generated by QR-Code technology, the content represented by the matrix type two-dimensional bar Code is determined by the arrangement and combination of the dots in the matrix type two-dimensional Code, and the graphic symbol obtained based on computer image processing technology and combined coding principle is automatically read and processed into a Code system.
5. The method for two-dimensional code coding management based on basic information of the entity under test of claim 4, wherein in step S4, different sizes of two-dimensional codes are printed by using different sizes of thermal printing paper or PVC cards, the positioning patterns in the two-dimensional codes are used for marking the holding size of the two-dimensional codes, and the three positioning patterns are used for marking and determining the position and direction of one two-dimensional code.
6. The method for two-dimensional code coding management based on the basic information of the reference entity according to claim 5, wherein: the printing device is provided with an adjusting unit and a previewing unit, wherein the adjusting unit is used for dynamically adjusting a two-dimensional code background picture, a two-dimensional margin 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 basic information of the reference entity according to claim 6, characterized in that: in the step S5, the information-aided management of the two-dimensional code includes operations of adding, modifying and deleting basic information of the entity to be tested, and the two-dimensional code information is derived 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 true CN115222003A (en) 2022-10-21
CN115222003B 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)

Cited By (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 (6)

* 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
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
CN104717056A (en) * 2013-12-11 2015-06-17 中国移动通信集团安徽有限公司 Two-dimensional code encryption and decryption method and encryption and decryption device
US20150347061A1 (en) * 2014-05-28 2015-12-03 Toshiba Tec Kabushiki Kaisha A 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
CN105843565A (en) * 2016-03-21 2016-08-10 西安航天动力试验技术研究所 Bar code printing management system and method
CN109325568A (en) * 2018-08-02 2019-02-12 北京三友恒瑞科技有限公司 Anti-fake two-dimension code and its modulation encryption method and identifying system

Patent Citations (6)

* 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
CN104717056A (en) * 2013-12-11 2015-06-17 中国移动通信集团安徽有限公司 Two-dimensional code encryption and decryption method and encryption and decryption device
US20150347061A1 (en) * 2014-05-28 2015-12-03 Toshiba Tec Kabushiki Kaisha A 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
CN105843565A (en) * 2016-03-21 2016-08-10 西安航天动力试验技术研究所 Bar code printing management system and method
CN109325568A (en) * 2018-08-02 2019-02-12 北京三友恒瑞科技有限公司 Anti-fake two-dimension code and its modulation encryption method and identifying system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴廷友等: "基于随机生成矩阵与二维码的防伪系统", 《贵州科学》 *

Cited By (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

Also Published As

Publication number Publication date
CN115222003B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
US20010034835A1 (en) Applied digital and physical signatures over telecommunications media
US8711393B2 (en) Printing device, printing system, program, and printing method for printing based on print data from a user authorized to issue a print instruction for the print data
EP3382587B1 (en) Identity authentication using a barcode
CN111581653A (en) Contract document signing method, device, equipment and computer readable storage medium
WO2014098136A1 (en) Information code, method for generating information code, device for reading information code, and system for using information code
US20060107068A1 (en) Method of generating access keys
US20060107040A1 (en) Setting up a security access system
US20030161475A1 (en) Encryption of digitized physical information based on physical tags
EP1846830B1 (en) Access keys
CN115222003B (en) Two-dimensional code coding management method based on reference entity information
US20060107041A1 (en) Assembling a security access system
US20060107315A1 (en) System that uses access keys
KR100991855B1 (en) System for Issuing and Verifying Electronic Document, Method for Issuing Electronic Document and Method for Verifying Electronic Document
CN107886306A (en) Document approvals method, medium, device and computing device
WO2019019627A1 (en) Status query method and device for electronic insurance policy, user terminal, and storage medium
DE112019001531T5 (en) Authentication of packaged products
US20060107065A1 (en) System that generates access keys
US11204902B2 (en) Method for archiving user data
JP5668805B2 (en) Information processing apparatus, information processing method, and program
JP2022535764A (en) certified text document
JP2015121830A (en) Information code use system, generation method for information code, information code, and information code reading device
CN109829527B (en) Water quality sample tracking method and system for surface water environment monitoring
US20080235236A1 (en) Secure Document Management System
US7120798B2 (en) System and method for the generation and verification of signatures associated with hardcopy documents
CN110020540A (en) A kind of certificate recognition methods and equipment based on two dimensional code

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