CN110427163B - Product identification printing method and related equipment - Google Patents
Product identification printing method and related equipment Download PDFInfo
- Publication number
- CN110427163B CN110427163B CN201910696514.8A CN201910696514A CN110427163B CN 110427163 B CN110427163 B CN 110427163B CN 201910696514 A CN201910696514 A CN 201910696514A CN 110427163 B CN110427163 B CN 110427163B
- Authority
- CN
- China
- Prior art keywords
- product
- printing
- identifier
- product identifier
- identification
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1208—Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1229—Printer resources management or printer maintenance, e.g. device status, power levels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/128—Direct printing, e.g. sending document file, using memory stick, printing from a camera
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The application discloses a product identification printing method and related equipment, which are applied to management equipment in a product identification printing system, wherein the product identification printing system also comprises a plurality of printing equipment, different equipment identifications are bound by different printing equipment, and the method comprises the following steps: generating at least one product identifier of a first product, wherein each generated product identifier is associated with a first equipment identifier; determining whether at least one product identifier has been printed or not, in case a product identifier print request carrying a first device identifier is detected, the product identifier print request being for requesting a first printing device associated with the first device identifier to print the at least one product identifier, the plurality of printing devices including the first printing device; in the event that the at least one product identifier is not printed, marking the at least one product identifier as printed, and controlling the first printing device to print the at least one product identifier. By adopting the embodiment of the application, the probability of repeatedly printing the product identifier can be reduced.
Description
Technical Field
The application relates to the technical field of electronics, in particular to a product identification printing method and related equipment.
Background
In the production of products, in order to track the process information of each product, a product identifier attached with the product information needs to be attached to the product. At present, in the process of printing product identifiers, a plurality of printing devices are often used for printing product identifiers of the same type of products, so that repeated generation of the product identifiers can occur, and the same product identifiers are repeatedly printed.
Disclosure of Invention
The embodiment of the application provides a product identifier printing method and related equipment, which are used for reducing the probability of repeatedly printing product identifiers.
In a first aspect, an embodiment of the present application provides a product identifier printing method, which is applied to a management device in a product identifier printing system, where the product identifier printing system further includes a plurality of printing devices, and different printing devices bind different device identifiers, and the method includes:
generating at least one product identifier of a first product, wherein each generated product identifier is associated with a first equipment identifier;
determining whether at least one product identifier has been printed or not in the case that a product identifier print request carrying the first device identifier is detected, wherein the product identifier print request is used for requesting a first printing device associated with the first device identifier to print the at least one product identifier, and the plurality of printing devices comprise the first printing device;
marking the at least one product identifier as printed if the at least one product identifier is not printed, and controlling the first printing device to print the at least one product identifier.
In a second aspect, an embodiment of the present application provides a product identifier printing apparatus, which is applied to a management device in a product identifier printing system, where the product identifier printing system further includes a plurality of printing devices, and different printing devices bind different device identifiers, and the apparatus includes:
the product identification generation unit is used for generating at least one product identification of the first product, and each generated product identification is associated with the first equipment identification;
a determining unit, configured to determine, when a product identifier print request carrying the first device identifier is detected, where the product identifier print request is used to request a first printing device associated with the first device identifier to print at least one product identifier, whether the at least one product identifier has been printed, where the plurality of printing devices includes the first printing device;
and the printing control unit is used for marking the at least one product identifier as printed under the condition that the at least one product identifier is not printed, and controlling the first printing device to print the at least one product identifier.
In a third aspect, embodiments of the present application provide a management apparatus, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing steps in the method described in the first aspect of the embodiments of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to perform some or all of the steps described in the method according to the first aspect of the embodiments of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that in the embodiment of the present application, at least one product identifier of a first product is first generated, each product identifier generated is associated with a first device identifier, a first printing device associated with the first device identifier is a printing device that desires to print the generated at least one product identifier, and because different printing devices bind different device identifiers, the generated product identifier is not repeated, in addition, before the generated at least one product identifier is printed, whether the generated at least one product identifier is printed is first determined, if not, printing is performed, and thus the probability of repeatedly printing the product identifier is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a product identification printing system provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a product identifier printing method according to an embodiment of the present application;
FIG. 3 is a flow chart of another method for printing product identifiers according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a management device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a product identifier printing device according to an embodiment of the present application.
Detailed Description
The terminology used in the description section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application. The terms "first," "second," "third," and "fourth" and the like in the description and in the claims of this application and in the drawings, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
Referring to fig. 1, fig. 1 is a schematic diagram of a architecture of a product identifier printing system provided in an embodiment of the present application, where the product identifier printing system includes a management device and a plurality of printing devices, and different printing devices bind different device identifiers (e.g., a device identifier of a number 1 printing device binding is 001,2, a device identifier of a number 002, etc. for example, a device identifier of a number 1 printing device binding is a, and a device identifier of a number 2 printing device binding is B, etc.). As shown in fig. 1, the management device may communicate with the printing device. The form and number of management apparatuses and printing apparatuses shown in fig. 1 are merely for example, and do not constitute a limitation of the embodiments of the present application.
The management device is a device for providing a computing service, and can be an industrial control computer (Industrial Personal Computer, IPC), a common computer, or other devices capable of providing a computing service.
The printing device is one of output devices of a computer, and is used for printing the computer processing result on a relevant medium, and may be a printer or other devices with printing functions.
Referring to fig. 2, fig. 2 is a flowchart of a product identifier printing method provided in an embodiment of the present application, which is applied to a management device in a product identifier printing system, where the product identifier printing system further includes a plurality of printing devices, and different printing devices bind different device identifiers, and the method includes:
step 201: the management device generates at least one product identification of the first product, each product identification generated being associated with the first device identification.
The product identifier comprises one of a bar code, a two-dimensional code, a serial number and a batch number.
The generated product identifier is generated based on related work order information, model information, version information and the like of the first product.
The first product is, for example, a printed circuit board (Printed Circuit Board, PCB), a PCB board, or other product that is manufactured through the entire process (Printed Circuit Board Assembly, PCBA) of SMT pick-up or DIP card.
Further, each of the generated product identifications is associated with a first device identification, including: each product identifier generated includes a first device identifier. For example, assuming the product identification is a serial number, if the first device identification is 001, each serial number generated includes 001, such as 00001-001, 00002-001, 00003-001, 00004-001, and so forth.
Alternatively, each of the generated product identifications is associated with a first device identification, including: the information generated for each product identification record includes a first device identification. For example, assuming that one of the generated product identification codes is a two-dimensional code, information recorded by the two-dimensional code is obtained by scanning the two-dimensional code, and the information recorded by the two-dimensional code includes a first equipment identification.
In an implementation of the present application, before step 201, the method further includes:
the management equipment displays a product identifier generation interface, wherein the product identifier generation interface comprises a plurality of printing equipment icons, and the printing equipment icons are in one-to-one correspondence with the printing equipment icons;
upon detecting a click operation for a first printing device icon, step 201 is performed, the first printing device icon corresponding to a printing device associated with the first device identification.
The print device icon may be a pattern of the print device, an icon generated by a device identifier corresponding to the print device, an icon generated by combining the pattern of the print device and the device identifier corresponding to the print device, or the like.
In an implementation of the present application, after step 201, the method further includes:
the management device generates a first product identification generating record comprising the first device identification and the at least one product identification.
In an implementation of the present application, after step 201, the method further includes:
the management device records the generated at least one product identification in a product identification record table, which is shown in table 1.
TABLE 1
Product identification | Printing marks |
Product identification 1 | Unprinted |
Product identification 2 | Unprinted |
Product identification 3 | Unprinted |
...... | ...... |
Step 202: the management device determines whether at least one product identifier is printed or not under the condition that a product identifier printing request carrying the first device identifier is detected, wherein the product identifier printing request is used for requesting a first printing device associated with the first device identifier to print the at least one product identifier, and the plurality of printing devices comprise the first printing device.
Wherein between step 202 and step 201, the management device jumps to a print interface including a print icon, the product identifying that the print request is triggered upon detecting a click operation for the print icon.
Alternatively, the product identification print request is automatically triggered upon detecting that the execution of step 201 is complete, and the print interface is automatically skipped upon triggering the product identification print request.
Wherein the management device determining whether the at least one product identification has been printed comprises: the management equipment acquires the printing mark of the at least one product identifier; if the printing mark of the at least one product identifier is not printed, determining that the at least one product identifier is not printed, otherwise, determining that the at least one product identifier is printed.
Step 203: in the case where the at least one product identifier is not printed, the management device marks the at least one product identifier as printed, and controls the first printing device to print the at least one product identifier.
Wherein the management device marks the at least one product identification as printed, comprising: the management device changes the print mark of the at least one product identifier to printed.
Wherein the management device controls the first printing device to print the at least one product identifier, comprising: the management device sends a print request to the first printing device, wherein the print request carries the at least one product identifier, and the print request is used for requesting the first printing device to print the at least one product identifier.
In an implementation manner of the present application, the method further includes:
and under the condition that the at least one product identifier is printed, the management equipment outputs first prompt information and returns a product identifier generation interface, wherein the first prompt information is used for prompting that the product identifier is printed in error and prompting that the at least one product identifier is printed.
The first prompt information may be output by voice, or may be output by displaying text, or may be output by voice+output by displaying text.
It can be seen that in the embodiment of the present application, at least one product identifier of a first product is first generated, each product identifier generated is associated with a first device identifier, a first printing device associated with the first device identifier is a printing device that desires to print the generated at least one product identifier, and because different printing devices bind different device identifiers, the generated product identifier is not repeated, in addition, before the generated at least one product identifier is printed, whether the generated at least one product identifier is printed is first determined, if not, printing is performed, and thus the probability of repeatedly printing the product identifier is reduced.
In an implementation of the present application, before the managing device marks the at least one product identifier as printed and controls the first printing device to print the at least one product identifier, the method further includes: the management device determines that the number of the at least one product identifier corresponds to a first print number, which is the number of product identifiers printed at one time by the first printing device.
Wherein the first number of prints is determined based on the first device identification; or the first number of prints is determined based on the first device identification and a current time of day.
In an implementation of the present application, the first print quantity is determined based on the first device identification, including: the first printing quantity is determined based on the first equipment identifier and a first mapping relation, wherein the first mapping relation is the mapping relation between the printing quantity and the equipment identifier. The first mapping relationship is shown in table 2, and as shown in table 2, the number of prints corresponding to different device identifiers may be the same or different.
TABLE 2
Device identification | Number of prints |
Device identification 1 | 100 |
Device identification 2 | 100 |
Device identification 3 | 150 |
...... | ...... |
In an implementation of the present application, the first print quantity is determined based on the first device identifier and a current time, including: the first printing quantity is determined based on the first equipment identifier, the current time and a second mapping relation, and the second mapping relation is a mapping relation of the printing quantity, the printing period and the equipment identifier. The second mapping relationship is shown in table 3, and as shown in table 3, the number of prints corresponding to the same equipment identifier in different printing periods may be the same or different; the printing periods of the different device identifications may be the same or different; the number of prints corresponding to different device identifications may be the same or different, corresponding to the same print period.
TABLE 3 Table 3
In an implementation manner of the present application, the method further includes:
and under the condition that the quantity of the at least one product identifier is inconsistent with the first printing quantity, the management equipment outputs second prompt information and returns to the product identifier generation interface, wherein the second prompt information is used for prompting the printing errors of the product identifier and prompting that the printing quantity is inconsistent.
The mode of outputting the second prompt information may be voice output, text output, voice output+text output, etc.
It can be seen that in the embodiment of the present application, before at least one product identifier generated by printing is not printed, it is further determined whether the number of the generated at least one product identifier is consistent with the number of product identifiers printed by the first printing device at a time, and if so, printing is performed, so that the probability of repeatedly printing the product identifier is further reduced.
In an implementation of the present application, before the managing device determines whether the at least one product identifier has been printed, the method further includes: the management device determines that there is a product identification generation record associated with the first device identification.
In an implementation manner of the present application, the method further includes:
and under the condition that the product identifier generation record associated with the first equipment identifier does not exist, the management equipment outputs third prompt information and returns to the product identifier generation interface, wherein the third prompt information is used for prompting the printing error of the product identifier and prompting that the product identifier generation record does not exist.
The mode of outputting the third prompting information may be voice output, text output, voice output+text output, and the like.
It can be seen that in the embodiment of the present application, before determining whether the generated at least one product identifier is printed, whether there is a product identifier generation record associated with the first device identifier is determined, so that the probability of repeatedly printing the product identifier can be further reduced.
In an implementation manner of the present application, before the management device determines that there is a product identifier generation record associated with the first device identifier, the method further includes: the management device determines that a first device identification set comprises the first device identification, and each printing device associated with the device identification comprised in the first device identification set allows printing of the product identification of the first product.
In an implementation manner of the present application, the method further includes:
and under the condition that the first equipment identifier set does not comprise the first equipment identifier, the management equipment outputs fourth prompt information and returns a product identifier generation interface, wherein the fourth prompt information is used for prompting a product identifier to print wrong and prompting the first printing equipment not to allow the printing of the product identifier of the first product.
The mode of outputting the fourth prompting information may be voice output, text output, voice output+text output, or the like.
It can be seen that in the embodiment of the present application, before determining whether the first device identifier is associated with the product identifier generating record, whether the first printing device allows printing the product identifier of the first product is determined, so that the probability of repeatedly printing the product identifier can be further reduced.
In an implementation of the present application, before the managing device marks the at least one product identifier as printed and controls the first printing device to print the at least one product identifier, the method further includes:
the management device determines that the period of time during which the product identification of the first product is permitted to be printed includes a current time.
In an implementation manner of the present application, the method further includes:
and under the condition that the period of allowing the printing of the product identifier of the first product does not comprise the current time, the management equipment outputs fifth prompt information and returns to the product identifier generation interface, wherein the fifth prompt information is used for prompting the printing error of the product identifier and prompting that the current time is not in the period of allowing the printing of the product identifier of the first product.
The mode of outputting the fifth prompting information may be voice output, text output, voice output+text output, or the like.
It can be seen that in the embodiment of the present application, before at least one product identifier generated by printing is not printed, whether the period of time for which the product identifier of the first product is allowed to be printed includes the current time is further determined, so that the probability of repeatedly printing the product identifier can be further reduced.
In one implementation of the present application, after managing the returned product identification generation interface, the method further includes:
the management device marks the printing device icon associated with the first device identifier.
Further, the managing device marks the printing device icon associated with the first device identifier, including: the management device changes the color of the printing device icon associated with the first device identifier to a specific color, or the management device adds specific coincidence on the printing device icon associated with the first device identifier.
Among them, specific colors are, for example, red, black, gray, and the like.
Wherein specific icons are, for example, exclamation marks, question marks, etc.
Further, after the management device marks the printing device icon associated with the first device identifier, the method further includes:
after detecting clicking operation of the printing device icon related to the first device identifier, the management device outputs sixth prompt information, where the sixth prompt information is used to prompt a reason of a printing device printing error corresponding to the printing device icon last time.
It can be seen that, in the embodiment of the present application, after the product identifier is returned to the product identifier generating interface due to the printing error of the product identifier, the printing device icon associated with the first device identifier is marked so as to represent the printing error of the printing device corresponding to the last printing device icon.
Referring to fig. 3, fig. 3 is a schematic flow chart of a product identifier printing method according to an embodiment of the present application, which is applied to a management device in a product identifier printing system, where the product identifier printing system further includes a plurality of printing devices, and different printing devices bind different device identifiers, and the method includes:
step 301: the management device generates at least one product identification of the first product, each product identification generated being associated with the first device identification.
Step 302: in the case that a product identifier printing request carrying the first device identifier is detected, wherein the product identifier printing request is used for requesting a first printing device associated with the first device identifier to print at least one product identifier, the management device determines whether a first device identifier set comprises the first device identifier, and each printing device associated with the device identifier included in the first device identifier set allows the product identifier of the first product to be printed.
If yes, go to step 303.
If not, step 307 is performed.
Step 303: the management device determines whether there is a product identification generation record associated with the first device identification.
If yes, go to step 304.
If not, go to step 308.
Step 304: a management device determines whether the at least one product identification has been printed, the plurality of printing devices including the first printing device.
If yes, go to step 305.
If not, go to step 309.
Step 305: the management device determines whether the number of the at least one product identifier corresponds to a first print number, which is the number of product identifiers printed at one time by the first printing device.
If yes, go to step 306.
If not, step 310 is performed.
Step 306: the management device marks the at least one product identification as printed and controls the first printing device to print the at least one product identification.
Step 307: the management device outputs fourth prompt information, wherein the fourth prompt information is used for prompting that the product identifier is printed incorrectly and prompting that the first printing device does not allow the product identifier of the first product to be printed. Step 311 is performed after step 307 is performed.
Step 308: the management equipment outputs third prompt information, wherein the third prompt information is used for prompting that the product identification is printed in error and prompting that no product identification generates a record. Step 311 is performed after step 308 is performed.
Step 309: the management device outputs first prompt information, wherein the first prompt information is used for prompting that the product identifier is printed incorrectly and prompting that the at least one product identifier is printed. After the execution of step 309, step 311 is executed.
Step 310: the management equipment outputs second prompt information, wherein the second prompt information is used for prompting the printing errors of the product identifiers and prompting the inconsistent printing quantity. Step 311 is performed after step 310 is performed.
Step 311: and the management equipment returns to the product identifier generation interface.
It should be noted that, the specific implementation process of this embodiment may refer to the specific implementation process described in the foregoing method embodiment, which is not described herein.
In accordance with the embodiments shown in fig. 2 and 3, referring to fig. 4, fig. 4 is a schematic structural diagram of a management device provided in an embodiment of the present application, as shown in the fig. 4, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps:
generating at least one product identifier of a first product, wherein each generated product identifier is associated with a first equipment identifier;
determining whether at least one product identifier has been printed or not in the case that a product identifier print request carrying the first device identifier is detected, wherein the product identifier print request is used for requesting a first printing device associated with the first device identifier to print the at least one product identifier, and the plurality of printing devices comprise the first printing device;
marking the at least one product identifier as printed if the at least one product identifier is not printed, and controlling the first printing device to print the at least one product identifier.
It can be seen that in the embodiment of the present application, at least one product identifier of a first product is first generated, each product identifier generated is associated with a first device identifier, a first printing device associated with the first device identifier is a printing device that desires to print the generated at least one product identifier, and because different printing devices bind different device identifiers, the generated product identifier is not repeated, in addition, before the generated at least one product identifier is printed, whether the generated at least one product identifier is printed is first determined, if not, printing is performed, and thus the probability of repeatedly printing the product identifier is reduced.
In an implementation of the present application, before marking the at least one product identification as printed and controlling the first printing device to print the at least one product identification, the program comprises instructions for further performing the steps of:
determining that the number of the at least one product identifier corresponds to a first print number, the first print number being the number of product identifiers printed at one time by the first printing device.
In an implementation of the present application, the first number of prints is determined based on the first device identification; alternatively, the first number of prints is determined based on the first device identification and a current time of day.
In one implementation of the present application, the program includes instructions for, prior to determining whether the at least one product identification has been printed, further performing the steps of:
and determining that the first equipment identifier is associated with a product identifier generation record.
In an implementation of the present application, before determining that there is a product identifier generation record associated with the first device identifier, the program includes instructions for further performing the steps of:
determining that a first set of device identifications includes the first device identification, a printing device associated with each device identification included in the first set of device identifications allowing printing of a product identification of the first product.
In an implementation of the present application, before marking the at least one product identification as printed and controlling the first printing device to print the at least one product identification, the program comprises instructions for further performing the steps of:
determining a period of time that allows printing of a product identification of the first product includes a current time.
In an implementation manner of the present application, the product identifier includes one of a bar code, a two-dimensional code, a serial number, and a batch number.
It should be noted that, the specific implementation process of this embodiment may refer to the specific implementation process described in the foregoing method embodiment, which is not described herein.
Referring to fig. 5, fig. 5 is a product identifier printing apparatus provided in an embodiment of the present application, which is applied to a management device in a product identifier printing system, where the product identifier printing system further includes a plurality of printing devices, and different printing devices bind different device identifiers, and the apparatus includes:
a product identifier generating unit 501, configured to generate at least one product identifier of a first product, where each generated product identifier is associated with a first device identifier;
a determining unit 502, configured to determine, when a product identifier print request carrying the first device identifier is detected, where the product identifier print request is used to request a first printing device associated with the first device identifier to print at least one product identifier, whether the at least one product identifier has been printed, and the plurality of printing devices includes the first printing device;
a print control unit 503 for marking the at least one product identifier as printed, and controlling the first printing apparatus to print the at least one product identifier, in case the at least one product identifier is not printed.
It can be seen that in the embodiment of the present application, at least one product identifier of a first product is first generated, each product identifier generated is associated with a first device identifier, a first printing device associated with the first device identifier is a printing device that desires to print the generated at least one product identifier, and because different printing devices bind different device identifiers, the generated product identifier is not repeated, in addition, before the generated at least one product identifier is printed, whether the generated at least one product identifier is printed is first determined, if not, printing is performed, and thus the probability of repeatedly printing the product identifier is reduced.
In an implementation manner of the present application, the determining unit 502 is further configured to determine, before marking the at least one product identifier as printed and controlling the first printing device to print the at least one product identifier, that the number of the at least one product identifier is consistent with a first print number, where the first print number is the number of product identifiers printed at one time by the first printing device.
In an implementation of the present application, the first number of prints is determined based on the first device identification; alternatively, the first number of prints is determined based on the first device identification and a current time of day.
In an implementation manner of the present application, the determining unit 502 is further configured to determine, before determining whether the at least one product identifier has been printed, that a product identifier generation record associated with the first device identifier is associated.
In an implementation manner of the present application, the determining unit 502 is further configured to determine, before determining that the first device identifier associated product identifier generates the record, that the first device identifier set includes the first device identifier, where each device identifier associated printing device included in the first device identifier set allows printing of the product identifier of the first product.
In an implementation manner of the present application, the determining unit 502 is further configured to determine, before marking the at least one product identifier as printed, and controlling the first printing device to print the at least one product identifier, that a period of time during which the product identifier of the first product is allowed to be printed includes a current time.
In an implementation manner of the present application, the product identifier includes one of a bar code, a two-dimensional code, a serial number, and a batch number.
Note that the product identifier generation unit 501, the determination unit 502, and the print control unit 503 may be realized by a processor.
The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform some or all of the steps described in the management apparatus in the above method embodiment.
Embodiments of the present application also provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the management apparatus in the above method. The computer program product may be a software installation package.
The steps of a method or algorithm described in the embodiments of the present application may be implemented in hardware, or may be implemented by executing software instructions by a processor. The software instructions may be comprised of corresponding software modules that may be stored in random access Memory (Random Access Memory, RAM), flash Memory, read Only Memory (ROM), erasable programmable Read Only Memory (Erasable Programmable ROM), electrically Erasable Programmable Read Only Memory (EEPROM), registers, hard disk, a removable disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in an access network device, a target network device, or a core network device. It is of course also possible that the processor and the storage medium reside as discrete components in an access network device, a target network device, or a core network device.
Those of skill in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application may be implemented, in whole or in part, in software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a digital video disc (Digital Video Disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing embodiments have been provided for the purpose of illustrating the embodiments of the present application in further detail, and it should be understood that the foregoing embodiments are merely illustrative of the embodiments of the present application and are not intended to limit the scope of the embodiments of the present application, and any modifications, equivalents, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application are included in the scope of the embodiments of the present application.
Claims (10)
1. A product identification printing method, characterized by being applied to a management device in a product identification printing system, the product identification printing system further comprising a plurality of printing devices, different printing devices binding different device identifications, the method comprising:
generating at least one product identifier of a first product, wherein each generated product identifier is associated with a first equipment identifier;
determining whether at least one product identifier has been printed or not in the case that a product identifier print request carrying the first device identifier is detected, wherein the product identifier print request is used for requesting a first printing device associated with the first device identifier to print the at least one product identifier, and the plurality of printing devices comprise the first printing device;
marking the at least one product identifier as printed if the at least one product identifier is not printed, and controlling the first printing device to print the at least one product identifier;
the method further comprises, before generating at least one product identifier of the first product, each product identifier generated being associated with the first device identifier:
displaying a product identifier generation interface, wherein the product identifier generation interface comprises a plurality of printing equipment icons, and the plurality of printing equipment icons are in one-to-one correspondence with the plurality of printing equipment;
and when the clicking operation aiming at the first printing equipment icon is detected, executing the step of generating at least one product identifier of the first product, wherein each generated product identifier is associated with the first equipment identifier, and the first printing equipment icon corresponds to the printing equipment associated with the first equipment identifier.
2. The method of claim 1, wherein the marking the at least one product identifier as printed and controlling the first printing device to print the at least one product identifier is preceded by:
determining that the number of the at least one product identifier corresponds to a first print number, the first print number being the number of product identifiers printed at one time by the first printing device.
3. The method of claim 2, wherein the first number of prints is determined based on the first device identification; alternatively, the first number of prints is determined based on the first device identification and a current time of day.
4. A method according to any one of claims 1-3, wherein prior to said determining whether said at least one product identification has been printed, the method further comprises:
and determining that the first equipment identifier is associated with a product identifier generation record.
5. The method of claim 4, wherein prior to said determining that there is a product identification generation record associated with the first device identification, the method further comprises:
determining that a first set of device identifications includes the first device identification, a printing device associated with each device identification included in the first set of device identifications allowing printing of a product identification of the first product.
6. The method of any of claims 1-5, wherein the marking the at least one product identifier as printed and controlling the first printing device to print the at least one product identifier are preceded by:
determining a period of time that allows printing of a product identification of the first product includes a current time.
7. The method of any one of claims 1-6, wherein the product identification comprises one of a bar code, a two-dimensional code, a serial number, a lot number.
8. A product identification printing apparatus, characterized by being applied to a management device in a product identification printing system, the product identification printing system further comprising a plurality of printing devices, different printing devices binding different device identifications, the apparatus comprising:
the product identification generation unit is used for generating at least one product identification of the first product, and each generated product identification is associated with the first equipment identification;
a determining unit, configured to determine, when a product identifier print request carrying the first device identifier is detected, where the product identifier print request is used to request a first printing device associated with the first device identifier to print at least one product identifier, whether the at least one product identifier has been printed, where the plurality of printing devices includes the first printing device;
a print control unit configured to mark the at least one product identifier as printed, and control the first printing apparatus to print the at least one product identifier, if the at least one product identifier is not printed;
the display unit is used for displaying a product identifier generation interface, wherein the product identifier generation interface comprises a plurality of printing equipment icons, and the plurality of printing equipment icons are in one-to-one correspondence with the plurality of printing equipment;
when a clicking operation for a first printing device icon is detected, the product identifier generating unit generates at least one product identifier of a first product, each generated product identifier is associated with a first device identifier, and the first printing device icon corresponds to a printing device associated with the first device identifier.
9. A management device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910696514.8A CN110427163B (en) | 2019-07-30 | 2019-07-30 | Product identification printing method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910696514.8A CN110427163B (en) | 2019-07-30 | 2019-07-30 | Product identification printing method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110427163A CN110427163A (en) | 2019-11-08 |
CN110427163B true CN110427163B (en) | 2023-05-26 |
Family
ID=68411467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910696514.8A Active CN110427163B (en) | 2019-07-30 | 2019-07-30 | Product identification printing method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110427163B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375716A (en) * | 2010-08-26 | 2012-03-14 | 北大方正集团有限公司 | Variable data printing method and system |
CN104679459A (en) * | 2015-02-13 | 2015-06-03 | 新石器龙码(北京)科技有限公司 | Order printing system and order printing method |
CN105303715A (en) * | 2015-10-30 | 2016-02-03 | 深圳泓数科技有限公司 | Print media output control method and device for medical self-service terminal |
CN106610798A (en) * | 2015-10-26 | 2017-05-03 | 山东新北洋信息技术股份有限公司 | Control method, device and system for batch printing of bills |
CN108388408A (en) * | 2018-02-05 | 2018-08-10 | 元镁信息技术服务(上海)有限公司 | A kind of print out task management method and equipment |
CN108446079A (en) * | 2018-01-25 | 2018-08-24 | 宜春小马快印科技有限公司 | Internet print method, system, readable storage medium storing program for executing and computer equipment |
CN108572802A (en) * | 2017-03-13 | 2018-09-25 | 山东新北洋信息技术股份有限公司 | Prevent the method, apparatus and print system of page duplicate printing |
CN109240626A (en) * | 2018-09-14 | 2019-01-18 | 北京铂阳顶荣光伏科技有限公司 | label printing method and system |
CN109542368A (en) * | 2018-11-19 | 2019-03-29 | 深圳前海百递网络有限公司 | A kind of method and control equipment of printing express delivery list |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9001347B2 (en) * | 2012-12-11 | 2015-04-07 | International Business Machines Corporation | Application management of printing requests through induced analytics |
-
2019
- 2019-07-30 CN CN201910696514.8A patent/CN110427163B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375716A (en) * | 2010-08-26 | 2012-03-14 | 北大方正集团有限公司 | Variable data printing method and system |
CN104679459A (en) * | 2015-02-13 | 2015-06-03 | 新石器龙码(北京)科技有限公司 | Order printing system and order printing method |
CN106610798A (en) * | 2015-10-26 | 2017-05-03 | 山东新北洋信息技术股份有限公司 | Control method, device and system for batch printing of bills |
CN105303715A (en) * | 2015-10-30 | 2016-02-03 | 深圳泓数科技有限公司 | Print media output control method and device for medical self-service terminal |
CN108572802A (en) * | 2017-03-13 | 2018-09-25 | 山东新北洋信息技术股份有限公司 | Prevent the method, apparatus and print system of page duplicate printing |
CN108446079A (en) * | 2018-01-25 | 2018-08-24 | 宜春小马快印科技有限公司 | Internet print method, system, readable storage medium storing program for executing and computer equipment |
CN108388408A (en) * | 2018-02-05 | 2018-08-10 | 元镁信息技术服务(上海)有限公司 | A kind of print out task management method and equipment |
CN109240626A (en) * | 2018-09-14 | 2019-01-18 | 北京铂阳顶荣光伏科技有限公司 | label printing method and system |
CN109542368A (en) * | 2018-11-19 | 2019-03-29 | 深圳前海百递网络有限公司 | A kind of method and control equipment of printing express delivery list |
Also Published As
Publication number | Publication date |
---|---|
CN110427163A (en) | 2019-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105930109B (en) | Document printing method, system and terminal | |
US10216840B2 (en) | Asset tag template creation from readable elements | |
CN104135520B (en) | A kind of method and device for identifying android terminal | |
US9483220B2 (en) | Image processing system, management system, image processing apparatus and method of proofreading document | |
CN111694644A (en) | Message processing method and device based on robot operating system and computer equipment | |
CN101840316B (en) | Print management apparatus, and printer system | |
CN108388408A (en) | A kind of print out task management method and equipment | |
CN111414739A (en) | Excel data entry component, entry method and device | |
CN111232726B (en) | Printing robot and printing delivery method | |
CN110427163B (en) | Product identification printing method and related equipment | |
CN112948902B (en) | Asset information confirmation method, system and medium | |
CN111124908B (en) | Interface testing method and device and computer readable storage medium | |
CN111232727B (en) | Printed file dispatching method and dispatching robot | |
US20150262313A1 (en) | Multiplicative incentive mechanisms | |
CN112433783A (en) | Configuration method and related equipment | |
CN111932178A (en) | Method, device, server and system for processing product logistics information | |
CN116303250A (en) | Accounting archive data management method and device, electronic equipment and medium | |
CN114489523A (en) | Method and device for controlling multiple printing devices, electronic device and storage medium | |
CN111045996B (en) | Nuclear power station file management method, device, terminal equipment and medium | |
CN114529269A (en) | Invalid operation range processing method and device, electronic equipment and storage medium | |
CN109359384B (en) | Method and device for calling silk-screen mark into printed circuit board | |
JP2020087071A (en) | Form scale calculation device | |
CN110674249A (en) | Information processing method and device | |
CN109799763A (en) | A kind of data processing method being directed to ECU, apparatus and system | |
CN105654583A (en) | Boarding pass electronization method, apparatus and system |
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 |