Search

CN-122021687-A - Two-dimensional code verification management system and method

CN122021687ACN 122021687 ACN122021687 ACN 122021687ACN-122021687-A

Abstract

The invention relates to the technical field of information, and particularly discloses a two-dimensional code verification management system and method. The two-dimensional code verification management method comprises the following steps of 1, classifying input information into fixed values and change values, 2, determining the input information, converting the input information into corresponding codes and determining product codes, 3, converting the product codes into two-dimensional codes, associating the two-dimensional codes with the products, counting the times of converting the product codes into the two-dimensional codes, reporting errors when the times are greater than 1, 4, repeating the steps 2 to 3 from a second product when the number of products with the same fixed value is greater than 1, and only determining the change values in the fixed values again when the step 2 is repeated until the fixed values of the products change. The two-dimensional code verification management system and the two-dimensional code verification management method solve the problem of repeated coding.

Inventors

  • LIU JUN
  • YANG YANG
  • Mo Rongyuan

Assignees

  • 重庆赛帕斯汽车零部件股份有限公司

Dates

Publication Date
20260512
Application Date
20260130

Claims (7)

  1. 1. The two-dimensional code verification management method is characterized by comprising the following steps of: Step 1, classifying input information into a fixed value and a change value, wherein the change value comprises a production date and a product serial number, and the change value is changed along with a product; step 2, determining input information, converting the input information into corresponding codes, and determining a product code; Step 3, converting the product code into a two-dimensional code, associating the two-dimensional code with the product, counting the times of converting the product code into the two-dimensional code, and reporting errors when the times are more than 1; And 4, when the number of the products with the same fixed value is greater than 1, repeating the steps 2 to 3 from the second product, and when the step 2 is repeated, only determining the change value in the fixed value again until the fixed value of the product changes.
  2. 2. The two-dimensional code verification management system according to claim 1, further comprising step 5, starting after a fixed value of a product is changed, and repeating steps 1 to 3.
  3. 3. The two-dimensional code verification management system of claim 2, wherein the fixed value comprises any one or more of a material code, a color code, and a vendor code.
  4. 4. The two-dimensional code verification management system according to claim 3, wherein the change of any one of the fixed values is determined to be a change of the fixed value.
  5. 5. The two-dimensional code verification management system of claim 1, wherein the fixed value in step 1 is manually input.
  6. 6. The two-dimensional code verification management system is characterized by comprising a product code generation system and a two-dimensional code generation system, wherein the product code generation system comprises a change value generation module and a product code generation module, the change value generation module is used for counting workpieces, taking a counting result as a product serial number and corresponding to the products one by one; the product code generating module stores a product code template, and after receiving the change value output by the change value generating module, the product code generating module splices the change value with a fixed value according to the product code template to generate a product code, and transmits the product code to the two-dimensional code generating system, and the two-dimensional code generating system generates a two-dimensional code for output.
  7. 7. The two-dimensional code verification management system of claim 6, wherein the two-dimensional code generation system comprises a storage module, wherein the storage module is used for associating the two-dimensional code with the product code and storing the two-dimensional code after the two-dimensional code is generated by the two-dimensional code generation system, the two-dimensional code generation system is used for comparing the two-dimensional code with the product code already generated by the two-dimensional code in the storage module when the two-dimensional code is generated, counting the times of generating the two-dimensional code by the same product code, and reporting errors when the times are larger than 1.

Description

Two-dimensional code verification management system and method Technical Field The invention relates to the technical field of information, in particular to a two-dimensional code verification management system and method. Background In order to facilitate the purchaser to know the information of the product, such as the kind, source, supplier of the raw material, color, model, date of production, etc., the purchaser needs to paste the code to the product after the product is produced, the purchaser needs to scan the code through a special code scanning device to know the stored information in the traditional bar code pasting mode. However, in practical implementation, the bar code is more limited in that the bar code can store less information, and is difficult to record a plurality of information from raw materials to production and inspection stages completely, and secondly, when the bar code scanning device is not matched with the bar code, a purchaser cannot obtain the information even if the bar code scanning device is adopted. Secondly, the traditional bar codes are automatically distributed by the system, but the system faults exist in the practical application, so that the condition that the same bar code is distributed for two or more products cannot be realized, namely the credibility of information inquired by a purchaser on the bar codes is reduced. After that, a two-dimensional code traceability management system shown as a publication number CN108428142A appears, a system that the two-dimensional code replaces the traditional bar code is adopted, compared with the bar code, the two-dimensional code has larger data volume, and the two-dimensional code can be scanned through various devices, so that the stored information of the two-dimensional code is obtained. However, in practical implementation, the situation that the same two-dimensional code is given to different products due to system faults cannot be avoided. Secondly, when the information increases, the amount of computation for converting the information into the two-dimensional code is also large. Disclosure of Invention The invention aims to provide a two-dimensional code verification management system and method for solving the problem of repeated coding. In order to achieve the purpose, the two-dimensional code verification management method adopts the following technical scheme that the two-dimensional code verification management method comprises the following steps: Step 1, classifying input information into a fixed value and a change value, wherein the change value comprises a production date and a product serial number, and the change value is changed along with a product; step 2, determining input information, converting the input information into corresponding codes, and determining a product code; Step 3, converting the product code into a two-dimensional code, associating the two-dimensional code with the product, counting the times of converting the product code into the two-dimensional code, and reporting errors when the times are more than 1; And 4, when the number of the products with the same fixed value is greater than 1, repeating the steps 2 to 3 from the second product, and when the step 2 is repeated, only determining the change value in the fixed value again until the fixed value of the product changes. The beneficial effect of this scheme is: 1. the information forming the product code is divided into a fixed value and a change value, the fixed value is designed relative to the change value, the fixed value refers to the same information of a plurality of products in the same batch, such as raw materials, suppliers, models and the like for producing or assembling the product, the change value comprises information corresponding to the products one by one, such as a product serial number and the like, so that the product code can be changed by changing any change value in actual operation, and the product code can still realize one-object one-code with the product. Compared with regeneration of each code of each product code, the method only changes the operation of the change value, so that the amount of data to be changed is smaller, the space required by the system operation is smaller, the reaction is quicker, and the error is less prone to occur. 2. And 3, when the two-dimensional code is generated, counting the times of converting the product code into the two-dimensional code, checking whether the product code is repeatedly used or not, further realizing one-object-one code, avoiding repeated code assignment, ensuring one-to-one correspondence between the two-dimensional code and the product, and effectively improving the credibility of the two-dimensional code. Further, when the fixed value of the product is changed, the process is started, and the steps 1 to 3 are repeated. The method has the advantages that for producing a plurality of identical products by adopting the same raw materials, after the f