CN117291218B - Application method and device of manufacturing anti-counterfeiting code and electronic equipment - Google Patents

Application method and device of manufacturing anti-counterfeiting code and electronic equipment Download PDF

Info

Publication number
CN117291218B
CN117291218B CN202311244549.0A CN202311244549A CN117291218B CN 117291218 B CN117291218 B CN 117291218B CN 202311244549 A CN202311244549 A CN 202311244549A CN 117291218 B CN117291218 B CN 117291218B
Authority
CN
China
Prior art keywords
target
code
counterfeiting
initial
codes
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
CN202311244549.0A
Other languages
Chinese (zh)
Other versions
CN117291218A (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.)
Guangdong Longan Digital Technology Co ltd
Original Assignee
Guangdong Longan Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Longan Digital Technology Co ltd filed Critical Guangdong Longan Digital Technology Co ltd
Priority to CN202311244549.0A priority Critical patent/CN117291218B/en
Publication of CN117291218A publication Critical patent/CN117291218A/en
Application granted granted Critical
Publication of CN117291218B publication Critical patent/CN117291218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/06046Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application method of the manufacturing anti-counterfeiting code comprises the steps of determining initial anti-counterfeiting codes of the same batch corresponding to target project production requirements based on the target project production requirements sent by target manufacturers, preset function code definition rules and preset sequence code definition rules; encrypting the initial anti-counterfeiting code based on a preset encryption algorithm, and determining a check code corresponding to the initial anti-counterfeiting code; determining a target anti-counterfeiting code of a batch of the target project corresponding to the production requirement and a label corresponding to the target anti-counterfeiting code based on each check code and each initial anti-counterfeiting code; and establishing a label library according to the labels. According to the method and the device, automatic batch binding of the anti-counterfeiting codes is achieved, accuracy of the target anti-counterfeiting codes in the application process is improved, traceability of the target anti-counterfeiting codes is improved, cost of target anti-counterfeiting code generation and automatic transformation difficulty of enterprises are reduced, and then digital transformation efficiency of the enterprises is improved.

Description

Application method and device of manufacturing anti-counterfeiting code and electronic equipment
Technical Field
The application relates to the technical field of anti-counterfeiting code application, in particular to an application method and device of manufacturing anti-counterfeiting codes and electronic equipment.
Background
With the development of society and the advancement of technology, more and more manufacturers begin to paste anti-counterfeiting codes on products produced during the process of producing the products for marking the products produced by themselves, however, the traditional generation modes of the anti-counterfeiting codes mainly have two modes: generating use and batch generation authorization one by one on a production line, wherein the combination mode comprises sequential codes and random codes, wherein the random generation mode is random generation and random and is not regular and circulated, the method requires instant binding with product information when in use, and a label printer is required to be deployed on the production line for the mode generated one by one on the production line to print labels in real time; for batch generation, label scanning equipment needs to be deployed on a production line to scan the binding product information in real time. For random code generation, when the number of random non-repeated codes used is increased, the time and server cost for generating a random code are increased along with the number of codes. In any mode, additional equipment is required to be added on a production line to generate anti-counterfeiting codes, label printing or label scanning is required to bind products, and the anti-counterfeiting codes are required to be matched with a plurality of equipment and systems, so that the cost or labor cost of an automatic assembly line can be greatly increased, further, the automation transformation of an enterprise is more difficult, and the digitalized transformation process of the enterprise is hindered.
Disclosure of Invention
In view of this, the purpose of this application is to provide an application method, device and electronic equipment of manufacturing anti-fake code, and this application has realized the binding to the automation batch of anti-fake code, has promoted the target anti-fake code when the accuracy of application in-process, has improved the traceability of target anti-fake code, has reduced the cost that the target anti-fake code generated, has reduced the degree of difficulty of enterprise's automation transformation, improves the efficiency of enterprise's digital transformation.
The embodiment of the application provides an application method of manufacturing anti-counterfeiting codes, which comprises the following steps:
determining an initial anti-counterfeiting code of the same batch corresponding to the target project production demand based on the target project production demand and a preset function code definition rule, a preset sequence code definition rule and a preset random code definition rule sent by a target manufacturer, wherein the target project production demand comprises geographic position information of the target manufacturer and yield information of the target manufacturer on target commodities in a preset time period;
encrypting the initial anti-counterfeiting codes based on a preset encryption algorithm for any initial anti-counterfeiting code in the batch, and determining a check code corresponding to the initial anti-counterfeiting code;
Determining a target anti-counterfeiting code of the batch of the production requirement corresponding to the target project and a label corresponding to the target anti-counterfeiting code based on each check code and each initial anti-counterfeiting code;
and binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library to realize the application of the target anti-counterfeiting code in the target machine.
Further, the determining the initial anti-counterfeiting code of the same batch corresponding to the target item production requirement based on the target item production requirement and a preset function code definition rule, a preset sequence code definition rule and a preset random code definition rule sent by a target manufacturer includes:
determining an initial function code of the same batch corresponding to the target project production demand according to the target project production demand sent by a target manufacturer and a preset function code definition rule;
determining an initial sequence code of the same batch corresponding to the target item production demand according to the target item production demand and a preset sequence code definition rule sent by a target manufacturer;
determining an initial random code of the same batch corresponding to the target project production demand according to the target project production demand sent by a target manufacturer and a preset random code definition rule;
And arranging and combining the initial sequence codes, the initial function codes and the initial random codes of the batches according to a preset sequence, and determining initial anti-counterfeiting codes of the same batch corresponding to the production requirements of the target items.
Further, the initial function code is composed of letters and numbers.
Further, the initial sequence code is composed of letters.
Further, the initial random code is composed of letters, numbers and special characters.
Further, the determining, based on each of the check codes and each of the initial anti-counterfeiting codes, the target anti-counterfeiting code of the lot and the label corresponding to the target anti-counterfeiting code of the production requirement corresponding to the target item includes:
adding each check code between each initial sequence code and each initial random code of each initial anti-counterfeiting code, and determining the target anti-counterfeiting code of the corresponding production requirement of a target item;
marking a first target anti-counterfeiting code and a last target anti-counterfeiting code in the target anti-counterfeiting codes as labels corresponding to the target anti-counterfeiting codes.
Further, the initial function code further includes warehouse-in information of a target commodity, warehouse-out information of the target commodity and rewarding information, and after binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, a label library is established to realize application of the target anti-counterfeiting code in the target machine, the application method of the manufacturing anti-counterfeiting code further includes:
And determining the residual yield of the target project corresponding to the production requirement of the target project according to a scanning request of the preset stock code scanning equipment for the target anti-counterfeiting code so as to remind an operator of recording.
The embodiment of the application also provides an application device of the manufacturing anti-counterfeiting code, which comprises:
the first determining module is used for determining initial anti-counterfeiting codes of the same batch corresponding to the target project production requirements based on the target project production requirements and preset function code definition rules, the preset sequence code definition rules and the preset random code definition rules which are sent by a target manufacturer, wherein the target project production requirements comprise geographic position information of the target manufacturer and yield information of the target manufacturer on target commodities in a preset time period;
the second determining module is used for encrypting the initial anti-counterfeiting codes based on a preset encryption algorithm for any initial anti-counterfeiting code in the batch, and determining a check code corresponding to the initial anti-counterfeiting codes;
the third determining module is used for determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target project and the label corresponding to the target anti-counterfeiting code based on each check code and each initial anti-counterfeiting code;
The establishing module is used for binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library so as to realize the application of the target anti-counterfeiting code in the target machine.
The embodiment of the application also provides electronic equipment, which comprises: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device runs, and the machine-readable instructions are executed by the processor to execute the steps of the method for applying the manufacturing anti-counterfeiting code.
Embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of applying manufacturing anti-counterfeiting code as described above.
Compared with the generation method of the anti-counterfeiting codes in the prior art, the application method, the device and the electronic equipment of the manufacturing anti-counterfeiting codes, provided by the embodiment of the application, determine the initial anti-counterfeiting codes of the same batch corresponding to the production requirements of the target project through the production requirements of the target project, the definition rules of the preset functional codes, the definition rules of the preset sequence codes and the definition rules of the preset random codes, encrypt the initial anti-counterfeiting codes based on the preset encryption algorithm aiming at any initial anti-counterfeiting code in the batch, and determine the check codes corresponding to the initial anti-counterfeiting codes; based on each check code and each initial anti-counterfeiting code, determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target item and the label corresponding to the target anti-counterfeiting code, binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library, so that the automatic batch binding of the anti-counterfeiting code is realized, the accuracy of the target anti-counterfeiting code in the application process is improved, the traceability of the target anti-counterfeiting code is improved, and the efficiency of generating the target anti-counterfeiting code is reduced.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows one of the flowcharts of an application method of manufacturing anti-counterfeiting codes provided in an embodiment of the present application;
FIG. 2 is a second flowchart of an application method of manufacturing anti-counterfeit codes according to an embodiment of the present application;
FIG. 3 is a block diagram of an apparatus for applying manufacturing anti-counterfeiting codes according to an embodiment of the present application;
FIG. 4 is a second block diagram of an apparatus for applying manufacturing anti-counterfeiting codes according to an embodiment of the present disclosure;
fig. 5 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
In the figure:
300-application device of manufacturing anti-counterfeiting code; 310-a first determination module; 320-a second determination module; 330-a third determination module; 340-establishing a module; 350-a fourth determination module; 500-an electronic device; 510-a processor; 520-memory; 530-bus.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment that a person skilled in the art would obtain without making any inventive effort is within the scope of protection of the present application.
First, application scenarios applicable to the present application will be described. The method and the device can be applied to the technical field of anti-fake code application.
The research shows that the traditional anti-counterfeiting code generation mode mainly comprises two modes: generating use and batch generation authorization one by one on a production line, wherein the combination mode comprises sequential codes and random codes, wherein the random generation mode is random generation and random and is not regular and circulated, the method requires instant binding with product information when in use, and a label printer is required to be deployed on the production line for the mode generated one by one on the production line to print labels in real time; for batch generation, label scanning equipment needs to be deployed on a production line to scan the binding product information in real time. For random code generation, when the number of random non-repeated codes used is increased, the time and server cost for generating a random code are increased along with the number of codes. In any mode, additional equipment is required to be added on a production line to generate anti-counterfeiting codes, label printing or label scanning is required to bind products, and the anti-counterfeiting codes are required to be matched with a plurality of equipment and systems, so that the cost or labor cost of an automatic assembly line can be greatly increased, further, the automation transformation of an enterprise is more difficult, and the digitalized transformation process of the enterprise is hindered.
Based on the above, the embodiment of the application provides an application method, an application device and electronic equipment of manufacturing anti-counterfeiting codes, which realize automatic batch binding of the anti-counterfeiting codes, improve the accuracy of the target anti-counterfeiting codes in the application process, improve the traceability of the target anti-counterfeiting codes, reduce the cost of generating the target anti-counterfeiting codes, reduce the difficulty of automatic transformation of enterprises and improve the efficiency of digital transformation of enterprises.
Referring to fig. 1, fig. 1 is a flowchart of an application method of manufacturing anti-counterfeiting code according to an embodiment of the present application. As shown in fig. 1, an application method of manufacturing anti-counterfeiting codes provided in an embodiment of the present application includes the following steps:
s101, determining initial anti-counterfeiting codes of the same batch corresponding to target project production requirements based on the target project production requirements and preset function code definition rules, preset sequence code definition rules and preset random code definition rules sent by a target manufacturer, wherein the target project production requirements comprise geographic position information of the target manufacturer and yield information of the target manufacturer on target commodities in a preset time period.
In this step, the step S101 includes the following substeps:
In the substep 1011, according to the target project production requirement sent by the target manufacturer and the preset function code definition rule, the initial function code of the same batch corresponding to the target project production requirement is determined.
In this step, the number of bits of the initial function code may be set to different numbers of bits according to different production requirements of the target item, for example, the number of bits of the initial function code in the embodiment provided in the application is set to 4 numbers of bits.
Thus, the initial function code is composed of letters and numbers, and the initial function code comprises geographic position information of a target manufacturer, names of the target manufacturer, annual output information of the target manufacturer, a unique unit serial number of the target manufacturer and year information of production requirements of target projects sent by the target manufacturer.
Here, the initial function code in the embodiments provided herein may be used to verify dynamic information changes online.
In step 1012, according to the target project production requirement and the preset sequence code definition rule sent by the target manufacturer, the initial sequence code of the same batch corresponding to the target project production requirement is determined, and the corresponding batch code is recorded in the background database.
In this step, the preset sequence code definition rule in the embodiment provided in the present application defines the time of the target item corresponding to the target item production requirement or the yield of the target commodity determined according to the target item production requirement.
Here, the initial sequence code in the embodiments provided herein may be composed of letters and numbers; or may consist of a pure number or a pure letter, where it is assumed that the initial sequence code in the embodiments provided herein is a sequence consisting of a pure letter, such as: AAAAA, AAAAB, — zzzzzz.
Step 1013, determining an initial random code of the same batch corresponding to the target project production requirement according to the target project production requirement sent by the target manufacturer and a preset random code definition rule, and recording the corresponding batch code in a background database.
In this step, the initial random code in the embodiment provided by the application is used to prevent the bar code from being guessed, and the initial random code in the embodiment provided by the application can be adjusted in length in a self-defined manner according to the production requirements of the target item in different application scenes.
In this embodiment, when obtaining the production requirement of the target project sent by the target manufacturer, the method first establishes a corresponding preset book code library and a corresponding preset sequence code library according to the specific regional division and the division of the administrative organization.
Thus, the initial random code is composed of letters, numbers and special characters.
And a sub-step 1014 of arranging and combining the initial sequence code, the initial function code and the initial random code of the batch according to a preset sequence, determining initial anti-counterfeiting codes of the same batch corresponding to the production requirement of the target project, and recording the corresponding batch codes in a background database.
In this step, in the embodiment provided in the present application, the preset sequence permutation and combination performed on the initial sequence code, the initial function code, and the initial random code may be ordered in a customized manner according to different application scenarios and use requirements, and supposing that the preset sequence permutation and combination performed on the initial sequence code, the initial function code, and the initial random code in the embodiment provided in the present application may be specifically: initial function code-initial sequence code-initial random code.
S102, encrypting the initial anti-counterfeiting code based on a preset encryption algorithm aiming at any initial anti-counterfeiting code in the batch, and determining a check code corresponding to the initial anti-counterfeiting code.
In the step, after the initial anti-counterfeiting code is determined, the initial anti-counterfeiting code is encrypted according to a preset encryption algorithm, and the encrypted check code is placed in a preset initial sequence code and an initial random code, so that the ordered of the target anti-counterfeiting code in disorder is realized, and adjacent disorder check codes can be found through logic.
S103, determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target item and the label corresponding to the target anti-counterfeiting code based on each check code and each initial anti-counterfeiting code.
In this step, embodiments provided herein follow the determination of each of the check codes and each of the initial security codes. The method comprises the steps of determining a target anti-counterfeiting code of a batch corresponding to production requirements of a target item, performing printing production on the generated target anti-counterfeiting code, and determining whether the generated target anti-counterfeiting code is damaged or has a problem in the printing process in a tolerant mode of printing; and in the strict mode of printing, selecting the target anti-counterfeiting codes with damage or problems in the printing process, carrying out complementary printing and unbroken number, and then determining the labels with unbroken numbers corresponding to all the target anti-counterfeiting codes printed in the batch.
Optionally, the step S103 includes the following substeps:
and step 1031, adding each check code between each initial sequence code and each initial random code of each initial anti-counterfeiting code, and determining the batch of target anti-counterfeiting codes and the target anti-counterfeiting codes of the production requirements corresponding to the target items.
In a sub-step 1032, the first target anti-counterfeiting code and the last target anti-counterfeiting code in the target anti-counterfeiting codes are marked as labels corresponding to the target anti-counterfeiting codes.
In this step, the label corresponding to the target security code in the embodiment provided by the application includes the first target security code and the last target security code, and is also marked with the production date of printing the batch of target security codes.
S104, binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library to realize application of the target anti-counterfeiting code in the target machine.
In the step, after the label is determined, how the device scans the first target anti-counterfeiting code and the last target anti-counterfeiting code of the label, then scans the machine number or the pipeline to bind the target anti-counterfeiting code, and then imports the target anti-counterfeiting code list of the post-problem after printing to determine a label library.
Here, after the tag library is determined, the target commodity on the pipeline is bound with any tag in the tag library, which does not need to scan and print nodes such as front section and intermediate node on the pipeline and does not need to calculate by itself to obtain a unique automatic code compared with the traditional automatic pipeline.
The target anti-counterfeiting code in the embodiment provided by the application can generate a certain number of labels according to the production requirement of a target item, and submits a label list to a third party company for batch printing (the cost of batch printing is saved by more than 30% compared with that of enterprise self-printing), after the printing of a corresponding production line/assembly line, a machine table, order information and the like is bound according to the managed dimension when the printing is finished, compared with the traditional scheme, the method has the advantages that the corresponding scanning equipment and printing equipment are not required to be specially installed at the final outlet position on the production line, the hardware investment of the automatic production line and the final maintenance of the automatic production line are greatly reduced, the related target commodity and production information of the target anti-counterfeiting code are scanned, the popularization is convenient, and the target manufacturer does not need to construct an own anti-counterfeiting system, and can activate and bind the corresponding target commodity after purchasing the label with low cost, so that the source tracing management of the target commodity is carried out.
In this way, after the machine label is bound, the interface starts to convert the first target anti-counterfeiting code and the last target anti-counterfeiting code of the label into 10 digits by using ASCII codes respectively, and the 10 digits are transmitted to the machine PLC and the metering PLC.
For old PLCs, the number of label conversions-6000000000, that is, the ASCII code of the first data, needs to be uniformly subtracted 60 to meet the address interval (a=67, z=90) due to address length problem, and the metered logic is synchronously modified.
Compared with the method for determining the manufacturing anti-counterfeiting code in the prior art, the method for applying the manufacturing anti-counterfeiting code in the embodiment of the application determines the initial anti-counterfeiting code of the same batch corresponding to the production requirement of the target project through the target project production requirement and the definition rule of the preset functional code, the definition rule of the preset sequence code and the definition rule of the preset random code, encrypts the initial anti-counterfeiting code based on the preset encryption algorithm aiming at any initial anti-counterfeiting code in the batch, and determines the check code corresponding to the initial anti-counterfeiting code; based on each check code and each initial anti-counterfeiting code, determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target project and the label corresponding to the target anti-counterfeiting code, binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library, so that the automatic batch binding of the anti-counterfeiting code is realized, the accuracy of the target anti-counterfeiting code in the application process is improved, the traceability of the target anti-counterfeiting code is improved, the cost of the target anti-counterfeiting code generation and the automatic transformation difficulty of enterprises are reduced, and the digital transformation efficiency of the enterprises is further improved.
Referring to fig. 2, fig. 2 is a second flowchart of an application method of manufacturing anti-counterfeit codes according to an embodiment of the present application. As shown in fig. 2, the application method of manufacturing anti-counterfeiting codes provided in the embodiment of the application includes the following steps:
s201, determining initial anti-counterfeiting codes of the same batch corresponding to the target project production demand based on the target project production demand and a preset function code definition rule, a preset sequence code definition rule and a preset random code definition rule sent by a target manufacturer, wherein the target project production demand comprises geographic position information of the target manufacturer and yield information of the target manufacturer on target commodities in a preset time period.
S202, encrypting the initial anti-counterfeiting code based on a preset encryption algorithm aiming at any initial anti-counterfeiting code in the batch, and determining a check code corresponding to the initial anti-counterfeiting code.
S203, determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target item and the label corresponding to the target anti-counterfeiting code based on each check code and each initial anti-counterfeiting code.
S204, binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library to realize application of the target anti-counterfeiting code in the target machine.
S205, determining the remaining yield of the target project corresponding to the production requirement of the target project according to a scanning request of the preset stock code scanning equipment for the target anti-counterfeiting code so as to remind operators of recording.
In the step, after the target anti-counterfeiting code is determined, a scanning request of the stock code scanning equipment for the target anti-counterfeiting code is preset, the number of successful scanning of the produced target commodity is determined, and then the remaining yield of the target commodity corresponding to the production requirement of the target commodity is determined according to the production requirement of the target commodity and the number of the target commodity which is successful in scanning.
Here, the embodiment can also determine the warehousing quantity of the target commodity according to the warehousing scanning request of the preset inventory code scanning equipment to the target anti-counterfeiting code; and determining the ex-warehouse quantity of the target commodity according to an ex-warehouse scanning request of the preset stock code scanning equipment for the target anti-counterfeiting code.
The embodiment can also obtain the red package rewards by scanning the target anti-counterfeiting codes, and the red package rewards are used for obtaining red package cashback in retail industry.
The descriptions of S201 to S204 may refer to the descriptions of S101 to S104, and the same technical effects can be achieved, which will not be described in detail.
Compared with the method for determining the manufacturing anti-counterfeiting code in the prior art, the method for applying the manufacturing anti-counterfeiting code provided by the embodiment of the invention determines the initial anti-counterfeiting code of the same batch corresponding to the production requirement of the target item through the production requirement of the target item, the definition rule of the preset functional code, the definition rule of the preset sequence code and the definition rule of the preset random code, encrypts the initial anti-counterfeiting code based on a preset encryption algorithm aiming at any initial anti-counterfeiting code in the batch, and determines the check code corresponding to the initial anti-counterfeiting code; based on each check code and each initial anti-counterfeiting code, determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target project and the label corresponding to the target anti-counterfeiting code, binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library, so that the automatic batch binding of the anti-counterfeiting code is realized, the accuracy of the target anti-counterfeiting code in the application process is improved, the traceability of the target anti-counterfeiting code is improved, the cost of the target anti-counterfeiting code generation and the automatic transformation difficulty of enterprises are reduced, and the digital transformation efficiency of the enterprises is further improved.
Referring to fig. 3 and fig. 4, fig. 3 is a block diagram of an application device for manufacturing anti-counterfeit codes according to an embodiment of the present application, and fig. 4 is a block diagram of a second block diagram of an application device for manufacturing anti-counterfeit codes according to an embodiment of the present application. As shown in fig. 3, the application apparatus 300 of manufacturing anti-counterfeiting code includes:
the first determining module 310 is configured to determine an initial anti-counterfeiting code of the same batch corresponding to the target project production requirement based on the target project production requirement and a preset function code definition rule, a preset sequence code definition rule, and a preset random code definition rule sent by a target manufacturer, where the target project production requirement includes geographic location information of the target manufacturer and yield information of the target manufacturer on a target commodity in a preset time period.
Further, in the first determining module 310, determining an initial anti-counterfeiting code of the same batch corresponding to the target project production requirement based on the target project production requirement and a preset function code definition rule, a preset sequence code definition rule, and a preset random code definition rule sent by a target manufacturer includes:
and determining the initial function code of the same batch corresponding to the target item production demand according to the target item production demand sent by a target manufacturer and a preset function code definition rule.
Optionally, the initial function code is composed of letters and numbers.
And determining the initial sequence code of the same batch corresponding to the target item production demand according to the target item production demand sent by a target manufacturer and a preset sequence code definition rule.
Optionally, the initial sequence code is composed of letters.
And determining the initial random codes of the same batch corresponding to the target project production requirements according to the target project production requirements sent by a target manufacturer and a preset random code definition rule.
Optionally, the initial random code is composed of letters, numbers and special characters.
And arranging and combining the initial sequence codes, the initial function codes and the initial random codes of the batches according to a preset sequence, and determining initial anti-counterfeiting codes of the same batch corresponding to the production requirements of the target items.
The second determining module 320 is configured to encrypt, for any one of the initial security codes in the batch, the initial security code based on a preset encryption algorithm, and determine a check code corresponding to the initial security code.
A third determining module 330, configured to determine, based on each of the check codes and each of the initial anti-counterfeiting codes, a target anti-counterfeiting code of the lot and a label corresponding to the target anti-counterfeiting code, where the target project corresponds to a production requirement.
Optionally, the third determining module 330 is specifically configured to:
and adding each check code between each initial sequence code and each initial random code of each initial anti-counterfeiting code, and determining the batch of target anti-counterfeiting codes and the target anti-counterfeiting codes of the production requirements corresponding to the target items.
Marking a first target anti-counterfeiting code and a last target anti-counterfeiting code in the target anti-counterfeiting codes as labels corresponding to the target anti-counterfeiting codes.
The establishing module 340 is configured to bind the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the tag, and establish a tag library to implement application of the target anti-counterfeiting code in the target machine.
Compared with the determining device of the anti-counterfeit code in the prior art, the applying device 300 of the manufacturing anti-counterfeit code provided by the embodiment of the application determines the initial anti-counterfeit code of the same batch corresponding to the production requirement of the target project through the definition rule of the target project and the preset function code, the definition rule of the preset sequence code and the definition rule of the preset random code, and encrypts the initial anti-counterfeit code based on the preset encryption algorithm aiming at any initial anti-counterfeit code in the batch to determine the check code corresponding to the initial anti-counterfeit code; based on each check code and each initial anti-counterfeiting code, determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target project and the label corresponding to the target anti-counterfeiting code, binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library, so that the automatic batch binding of the anti-counterfeiting code is realized, the accuracy of the target anti-counterfeiting code in the application process is improved, the traceability of the target anti-counterfeiting code is improved, the cost of the target anti-counterfeiting code generation and the automatic transformation difficulty of enterprises are reduced, and the digital transformation efficiency of the enterprises is further improved.
Further, as shown in fig. 4, the application apparatus 300 for manufacturing anti-counterfeiting code includes:
the first determining module 310 is configured to determine an initial anti-counterfeiting code of the same batch corresponding to the target project production requirement based on the target project production requirement and a preset function code definition rule, a preset sequence code definition rule, and a preset random code definition rule sent by a target manufacturer, where the target project production requirement includes geographic location information of the target manufacturer and yield information of the target manufacturer on a target commodity in a preset time period.
The second determining module 320 is configured to encrypt, for any one of the initial security codes in the batch, the initial security code based on a preset encryption algorithm, and determine a check code corresponding to the initial security code.
A third determining module 330, configured to determine, based on each of the check codes and each of the initial anti-counterfeiting codes, a target anti-counterfeiting code of the lot and a label corresponding to the target anti-counterfeiting code, where the target project corresponds to a production requirement.
The establishing module 340 is configured to bind the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the tag, and establish a tag library to implement application of the target anti-counterfeiting code in the target machine.
The fourth determining module 350 is configured to determine, according to a scan request of the preset inventory code scanning device for the target anti-pseudo code, a remaining yield to be produced of the target item corresponding to the production requirement of the target item, so as to remind an operator to record.
Compared with the determining device of the anti-counterfeit code in the prior art, the applying device 300 of the manufacturing anti-counterfeit code provided by the embodiment of the application determines the initial anti-counterfeit code of the same batch corresponding to the production requirement of the target project through the definition rule of the target project and the preset function code, the definition rule of the preset sequence code and the definition rule of the preset random code, and encrypts the initial anti-counterfeit code based on the preset encryption algorithm aiming at any initial anti-counterfeit code in the batch to determine the check code corresponding to the initial anti-counterfeit code; based on each check code and each initial anti-counterfeiting code, determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target project and the label corresponding to the target anti-counterfeiting code, binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library, so that the automatic batch binding of the anti-counterfeiting code is realized, the accuracy of the target anti-counterfeiting code in the application process is improved, the traceability of the target anti-counterfeiting code is improved, the cost of the target anti-counterfeiting code generation and the automatic transformation difficulty of enterprises are reduced, and the digital transformation efficiency of the enterprises is further improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, and a bus 530.
The memory 520 stores machine-readable instructions executable by the processor 510, when the electronic device 500 is running, the processor 510 communicates with the memory 520 through the bus 530, and when the machine-readable instructions are executed by the processor 510, the steps of the method for applying the manufacturing anti-counterfeiting code in the method embodiments shown in fig. 1 and fig. 2 can be executed, and detailed description thereof will be omitted.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for applying the manufacturing anti-pseudo code in the method embodiments shown in fig. 1 and fig. 2 can be executed, and a specific implementation manner may refer to the method embodiments and will not be repeated herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (7)

1. The application method of the manufacturing anti-counterfeiting code is characterized by comprising the following steps of:
determining an initial anti-counterfeiting code of the same batch corresponding to the target project production demand based on the target project production demand and a preset function code definition rule, a preset sequence code definition rule and a preset random code definition rule sent by a target manufacturer, wherein the target project production demand comprises geographic position information of the target manufacturer and yield information of the target manufacturer on target commodities in a preset time period;
encrypting the initial anti-counterfeiting codes based on a preset encryption algorithm for any initial anti-counterfeiting code in the batch, and determining a check code corresponding to the initial anti-counterfeiting code;
determining a target anti-counterfeiting code of the batch of the production requirement corresponding to the target project and a label corresponding to the target anti-counterfeiting code based on each check code and each initial anti-counterfeiting code;
binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library to realize the application of the target anti-counterfeiting code in the target machine;
The determining the initial anti-counterfeiting code of the same batch corresponding to the target project production requirement based on the target project production requirement sent by a target manufacturer, a preset function code definition rule, a preset sequence code definition rule and a preset random code definition rule comprises the following steps:
determining an initial function code of the same batch corresponding to the target project production demand according to the target project production demand sent by a target manufacturer and a preset function code definition rule;
determining an initial sequence code of the same batch corresponding to the target item production demand according to the target item production demand and a preset sequence code definition rule sent by a target manufacturer;
determining an initial random code of the same batch corresponding to the target project production demand according to the target project production demand sent by a target manufacturer and a preset random code definition rule;
the initial sequence codes, the initial function codes and the initial random codes of the batches are arranged and combined according to a preset sequence, and initial anti-counterfeiting codes of the same batch corresponding to the production requirements of the target items are determined;
the determining, based on each check code and each initial anti-counterfeiting code, a target anti-counterfeiting code of the batch of the production requirement corresponding to the target item and a label corresponding to the target anti-counterfeiting code includes:
Adding each check code between each initial sequence code and each initial random code of each initial anti-counterfeiting code, and determining a target anti-counterfeiting code of a target item corresponding to production requirements;
marking a first target anti-counterfeiting code and a last target anti-counterfeiting code in the target anti-counterfeiting codes as labels corresponding to the target anti-counterfeiting codes;
the initial function code is composed of letters and numbers.
2. The method of claim 1, wherein the initial sequential code is comprised of letters and numbers.
3. The method of claim 1, wherein the initial random code is composed of letters, numbers, and special characters.
4. The method for applying the manufacturing anti-counterfeiting code according to claim 1, wherein the initial function code further includes warehouse-in information of a preset target commodity, warehouse-out information of the target commodity and rewarding information, and after the target anti-counterfeiting code of the batch is bound with a target machine for producing the target commodity according to the label, a label library is established to realize application of the target anti-counterfeiting code in the target machine, the method for applying the manufacturing anti-counterfeiting code further includes:
And determining the residual yield of the target project corresponding to the production requirement of the target project according to a scanning request of the preset stock code scanning equipment for the target anti-counterfeiting code so as to remind an operator of recording.
5. An application device of manufacturing anti-counterfeiting codes is characterized in that the application device of the manufacturing anti-counterfeiting codes comprises:
the first determining module is used for determining initial anti-counterfeiting codes of the same batch corresponding to the target project production requirements based on the target project production requirements and preset function code definition rules, the preset sequence code definition rules and the preset random code definition rules which are sent by a target manufacturer, wherein the target project production requirements comprise geographic position information of the target manufacturer and yield information of the target manufacturer on target commodities in a preset time period; the initial function code is composed of letters and numbers;
the second determining module is used for encrypting the initial anti-counterfeiting codes based on a preset encryption algorithm for any initial anti-counterfeiting code in the batch, and determining a check code corresponding to the initial anti-counterfeiting codes;
the third determining module is used for determining the target anti-counterfeiting code of the batch of the production requirement corresponding to the target project and the label corresponding to the target anti-counterfeiting code based on each check code and each initial anti-counterfeiting code;
The establishing module is used for binding the target anti-counterfeiting code of the batch with a target machine for producing the target commodity according to the label, and establishing a label library so as to realize the application of the target anti-counterfeiting code in the target machine;
the device is also for:
determining an initial function code of the same batch corresponding to the target project production demand according to the target project production demand sent by a target manufacturer and a preset function code definition rule;
determining an initial sequence code of the same batch corresponding to the target item production demand according to the target item production demand and a preset sequence code definition rule sent by a target manufacturer;
determining an initial random code of the same batch corresponding to the target project production demand according to the target project production demand sent by a target manufacturer and a preset random code definition rule;
the initial sequence codes, the initial function codes and the initial random codes of the batches are arranged and combined according to a preset sequence, and initial anti-counterfeiting codes of the same batch corresponding to the production requirements of the target items are determined;
the determining, based on each check code and each initial anti-counterfeiting code, a target anti-counterfeiting code of the batch of the production requirement corresponding to the target item and a label corresponding to the target anti-counterfeiting code includes:
Adding each check code between each initial sequence code and each initial random code of each initial anti-counterfeiting code, and determining a target anti-counterfeiting code of a target item corresponding to production requirements;
marking a first target anti-counterfeiting code and a last target anti-counterfeiting code in the target anti-counterfeiting codes as labels corresponding to the target anti-counterfeiting codes.
6. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via the bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the method of applying manufacturing anti-counterfeiting code according to any one of the preceding claims 1-3.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the method of applying manufacturing anti-counterfeit code as claimed in any of the preceding claims 1-3.
CN202311244549.0A 2023-09-22 2023-09-22 Application method and device of manufacturing anti-counterfeiting code and electronic equipment Active CN117291218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311244549.0A CN117291218B (en) 2023-09-22 2023-09-22 Application method and device of manufacturing anti-counterfeiting code and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311244549.0A CN117291218B (en) 2023-09-22 2023-09-22 Application method and device of manufacturing anti-counterfeiting code and electronic equipment

Publications (2)

Publication Number Publication Date
CN117291218A CN117291218A (en) 2023-12-26
CN117291218B true CN117291218B (en) 2024-03-29

Family

ID=89247539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311244549.0A Active CN117291218B (en) 2023-09-22 2023-09-22 Application method and device of manufacturing anti-counterfeiting code and electronic equipment

Country Status (1)

Country Link
CN (1) CN117291218B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7089420B1 (en) * 2000-05-24 2006-08-08 Tracer Detection Technology Corp. Authentication method and system
CN106548353A (en) * 2016-09-30 2017-03-29 昆明理工大学 A kind of commodity counterfeit prevention code is generated and verification method
US10217114B1 (en) * 2018-08-27 2019-02-26 Ennoventure, Inc. Methods and systems for providing labels to prevent counterfeiting of products
CN113902456A (en) * 2021-11-11 2022-01-07 北京福通互联科技集团有限公司 Product anti-counterfeiting method and device
WO2022077135A1 (en) * 2020-10-15 2022-04-21 江苏图码信息科技有限公司 Anti-counterfeiting tracing system and application component for associated customized graphic code
CN114781979A (en) * 2022-06-16 2022-07-22 广东龙眼数字科技有限公司 Warehouse operation management method and device, electronic equipment and storage medium
CN115994769A (en) * 2018-04-16 2023-04-21 盈多伙伴(北京)科技有限公司 Anti-counterfeiting method and device for commodity identification and verification method and device for commodity authenticity
CN116029745A (en) * 2023-02-02 2023-04-28 艾斯芸防伪科技(福建)有限公司 Digital label anti-counterfeiting tracing method, device and system based on blockchain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9076024B2 (en) * 2013-03-07 2015-07-07 Authentag, Llc Anti-counterfeiting system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7089420B1 (en) * 2000-05-24 2006-08-08 Tracer Detection Technology Corp. Authentication method and system
CN106548353A (en) * 2016-09-30 2017-03-29 昆明理工大学 A kind of commodity counterfeit prevention code is generated and verification method
CN115994769A (en) * 2018-04-16 2023-04-21 盈多伙伴(北京)科技有限公司 Anti-counterfeiting method and device for commodity identification and verification method and device for commodity authenticity
US10217114B1 (en) * 2018-08-27 2019-02-26 Ennoventure, Inc. Methods and systems for providing labels to prevent counterfeiting of products
WO2022077135A1 (en) * 2020-10-15 2022-04-21 江苏图码信息科技有限公司 Anti-counterfeiting tracing system and application component for associated customized graphic code
CN113902456A (en) * 2021-11-11 2022-01-07 北京福通互联科技集团有限公司 Product anti-counterfeiting method and device
CN114781979A (en) * 2022-06-16 2022-07-22 广东龙眼数字科技有限公司 Warehouse operation management method and device, electronic equipment and storage medium
CN116029745A (en) * 2023-02-02 2023-04-28 艾斯芸防伪科技(福建)有限公司 Digital label anti-counterfeiting tracing method, device and system based on blockchain

Also Published As

Publication number Publication date
CN117291218A (en) 2023-12-26

Similar Documents

Publication Publication Date Title
CN109345264B (en) Wine product traceability anti-counterfeiting system and method based on block chain
EP3262785B1 (en) Tracking unitization occurring in a supply chain
JP2020074513A (en) Cryptographic verification of source in supply chain
US20220311599A1 (en) Digital Ledger For Unique Item IDs With Ownership
AU2014268621B2 (en) Method and system for product authentication
CN103020682B (en) Books Quick Response Code identification generation apparatus, Quick Response Code identification recognition device and system
CN104040567A (en) Genuine product certification label, genuine product certification terminal using same, device for outputting genuine product certification label, and system and method for certifying genuine product
CN1987914A (en) Method for managing hardware device
CN110543787A (en) Storage and acquisition method, storage system and acquisition device for commodity traceability data
CN116029745A (en) Digital label anti-counterfeiting tracing method, device and system based on blockchain
CN114140132B (en) Anti-counterfeiting tracing system
CN111461737A (en) Product source tracing anti-counterfeiting and anti-channel conflict method based on block chain
CN117291218B (en) Application method and device of manufacturing anti-counterfeiting code and electronic equipment
WO2013036228A1 (en) Generating an incremental information object
US20140027515A1 (en) Grayscale Incremental Information Object
EP2628131A1 (en) A system for generating an incrementally completed security mark
US8857711B2 (en) Tracking customer loyalty information using an incremental information object
CN113919848A (en) Furniture traceability system based on two-dimensional code
CN105550912A (en) SAP platform-based electronic invoice processing method and device
CN104573784A (en) Traceable free-range chicken dispatching ticket
US20220414946A1 (en) Systems and Methods for Distributed Entity Tracking
US20150154485A1 (en) System for Generating an Incrementally Completed Security Mark
CN114022263A (en) Tax label management method, system, computer device and storage medium
CN105243571A (en) Implementing method for F2O source tracing marketing
RU23009U1 (en) AUTOMATED SYSTEM OF IDENTIFICATION AND ACCOUNTING OF LABELED OBJECTS

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