Marking method and device for substrate
Technical Field
The invention belongs to the technical field of production and manufacturing, and particularly relates to a marking method and device for a substrate.
Background
In the production process of the substrate, a plurality of processes are needed, the flowability is very high, and the mixing is easy to occur under the condition that the number of the substrates is large.
According to the existing coding method for the substrate, a code spraying machine is used for spraying and printing coding information on the substrate, and then the substrate number is manually input in each process, so that the situation of substrate repeated coding can be caused, namely, one code can possibly correspond to a plurality of different substrates, or the code is repeatedly used, so that larger disorder is brought, and the inspection is not easy. If the substrate loses the coded information in the flowing process, the coded information cannot be traced, all the processes must be restarted, but some processes are irreversible, and serious quality accidents are caused.
As described above, the conventional substrate marking method has problems of easy confusion and low marking efficiency.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for marking a substrate, so as to solve the problems of confusion and low marking efficiency in the substrate marking method in the prior art.
A first aspect of an embodiment of the present invention provides a method for marking a substrate, including:
receiving the encoded information of the substrate input by a user;
inquiring whether the coded information exists in a server or not;
if not, uploading the coded information to the server for storage, converting the coded information into two-dimensional code information, and marking the two-dimensional code information on the substrate by using a laser.
A second aspect of an embodiment of the present invention provides a marking apparatus for a substrate, including:
the receiving module is used for receiving the coding information of the substrate input by a user;
the query module is used for querying whether the coding information exists in the server or not;
and the marking module is used for uploading the coded information to the server for storage if the coded information is not stored in the server, converting the coded information into two-dimensional code information, and marking the two-dimensional code information on the substrate by using a laser.
A third aspect of the embodiments of the present invention provides a marking apparatus for a substrate, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
receiving the encoded information of the substrate input by a user;
inquiring whether the coded information exists in a server or not;
if not, uploading the coded information to the server for storage, converting the coded information into two-dimensional code information, and marking the two-dimensional code information on the substrate by using a laser.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of:
receiving the encoded information of the substrate input by a user;
inquiring whether the coded information exists in a server or not;
if not, uploading the coded information to the server for storage, converting the coded information into two-dimensional code information, and marking the two-dimensional code information on the substrate by using a laser.
According to the embodiment of the invention, the two-dimensional code is marked on the substrate by adopting the laser, and the two-dimensional code information corresponds to the coded information one by one, so that the uniqueness of the coded information of each substrate can be ensured, each substrate can be traced in the production process, the substrate confusion condition in the production can be effectively avoided, and the marking efficiency and the production efficiency are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a marking method for a substrate according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a marking method for a substrate according to a second embodiment of the present invention;
fig. 3 is a block diagram of a marking apparatus for a substrate according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a marking device of a substrate according to a fourth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1 is a schematic flow chart illustrating an implementation of a marking method for a substrate according to an embodiment of the present invention. As shown in fig. 1, the method for marking a substrate specifically includes the following steps S101 to S103.
Step S101: and receiving the encoded information of the substrate input by a user.
And receiving the encoded information of the substrate input by a user on the computer. The coding information can be in a self-defined format according to actual needs, and the coding information can be in the following format: model + batch + serial number. The coded information formed by combining the model number, the batch number and the serial number is a mode for coding the substrate by progressive classification. Different batch numbers can be provided under the same model; under the same batch number, different batch numbers can be provided; with different serial numbers under the same batch number.
Illustratively, the encoded information of the substrate a is WX 201702082081002, where WX is a model number, 201702 is a batch number, 08 indicates a batch number, and 1002 indicates a serial number. It can be understood that when the model, the batch number and the batch number of another substrate B correspond to the model, the batch number and the batch number of the substrate a respectively and are the same, and the serial number of the substrate B is 1 greater than the serial number of the substrate a, it is obvious that the encoded information of the substrate B can be accumulated on the basis of the encoded information WX201702081002 of the substrate a, that is, WX201702081003 is generated as the encoded information of the substrate B. Therefore, the coding mode of the substrate in the embodiment can effectively improve the coding efficiency.
Step S102: and inquiring whether the coded information exists in the server or not.
And inquiring whether the coded information exists in the server, if so, indicating that the substrate is marked, and repeating the operation.
Step S103: if not, uploading the coded information to the server for storage, converting the coded information into two-dimensional code information, and marking the two-dimensional code information on the substrate by using a laser.
If the server is inquired that the coding information does not exist, the coding information is uploaded to the server to be stored, and the coding information is converted into two-dimensional code information. Alternatively, the encoded information may be converted into two-dimensional code information by a two-dimensional code generator. And finally, marking the converted two-dimensional code information on the substrate by using a laser.
According to the embodiment of the invention, the two-dimensional code is marked on the substrate by adopting laser, and the two-dimensional code corresponds to the coded information one by one, so that the uniqueness of the coded information of each substrate can be ensured, each substrate can be traced in the production process, the substrate confusion condition in the production can be effectively avoided, and the marking efficiency and the production efficiency are improved.
Example two
Fig. 2 is a schematic flow chart illustrating an implementation of the marking method for a substrate according to the second embodiment of the present invention. In addition to the first embodiment, as shown in fig. 2, the method further includes the following steps S201 to S203.
S201: reading the two-dimensional code information marked on the substrate through a code scanner to obtain corresponding coding information, and inquiring whether the marking information of the substrate exists in the server or not according to the coding information.
It will be appreciated that it is necessary to first determine whether a mark has been made, and if so, subsequent operations are not necessary. The confirmation mode may be that a code scanner reads the two-dimensional code information marked on the substrate to obtain corresponding encoded information, and whether the marking information of the substrate exists in the server is queried according to the encoded information.
Preferably, the error marking caused by the error of the laser marking of the two-dimensional code is avoided. Reading, by a scanner, two-dimensional code information marked on the substrate to obtain corresponding encoded information includes:
detecting whether the two-dimensional code information marked on the substrate can be identified or not;
if the two-dimensional code information marked on the substrate can be identified, judging whether the two-dimensional code information is consistent with the coding information;
and if the two-dimensional code information is consistent with the coding information, reading the two-dimensional code information marked on the substrate through a code scanner to obtain corresponding coding information.
As a preferred embodiment of this embodiment, the accuracy of the two-dimensional code marked by the laser is further determined through the process of detection and judgment before the two-dimensional code information marked on the substrate is read by the code scanner.
S202: and if the marking information of the substrate does not exist in the server, obtaining dotting data of the substrate from the server.
The dotting data comprise relevant data of dotting of each substrate in the production process, and comprise data of normal dotting and data of abnormal dotting in the substrate.
S203: marking the substrate according to the obtained dotting data of the substrate, uploading marking information to the server, and storing the marking information in association with the coding information.
Further, marking the substrate according to the obtained dotting data of the substrate includes:
determining whether the substrate is a qualified product according to the obtained dotting data of the substrate;
if the substrate is an unqualified product, marking the information of the unqualified product on the substrate through a laser;
and if the substrate is a qualified product, marking the information of the qualified product on the substrate through a laser.
As is clear from the above description of the dotting data, the dotting data corresponding to one substrate includes data of normal dotting and data of abnormal dotting in the substrate. If the substrate is qualified product if no abnormal dotting data exists in the dotting data, marking the information of the qualified product on the substrate by a laser, wherein the information of the qualified product can be simplified Chinese character 'qualified', can also be a symbol '√' as an example, and can also be any other marking method with distinguishing degree; correspondingly, if abnormal dotting data exists in the dotting data, the substrate is indicated to be an unqualified product, and information of the unqualified product is marked on the substrate through a laser.
It should be noted that, in the actual production process, information of the defective product may be marked on the substrate only by the laser.
The embodiment of the invention reads the two-dimensional code information marked on the substrate through the code scanner to obtain the corresponding code information, inquires whether the mark information of the substrate exists in the server according to the code information, and if the mark information exists, subsequent operation is not needed; if no mark exists, dotting data is obtained, and marking information is determined according to the dotting data, so that the production state of each substrate is accurate and clear; in addition, the marking information is uploaded to the server and is stored in association with the coding information, so that the one-to-one correspondence between the marking information and the coding information is ensured, and the production condition of the substrate corresponding to the coding information can be conveniently inquired at any time according to the coding information.
EXAMPLE III
Referring to fig. 3, a block diagram of a marking apparatus for a substrate according to a third embodiment of the present invention is shown. The marking device 30 of the substrate comprises: a receiving module 31, an operating module 32 and a marking module 33. The specific functions of each module are as follows:
a receiving module 31, configured to receive encoded information of a substrate input by a user;
the query module 32 is used for querying whether the coded information exists in the server;
and the marking module 33 is configured to upload the encoded information to the server for storage if the encoded information is not stored in the server, convert the encoded information into two-dimensional code information, and mark the two-dimensional code information on the substrate by using a laser.
Optionally, the marking device 30 of the substrate further comprises:
the reading module is used for reading the two-dimensional code information marked on the substrate through a code scanner to obtain corresponding code information, and inquiring whether the mark information of the substrate exists in the server or not according to the code information;
an obtaining module, configured to obtain dotting data of the substrate from the server when the marking information of the substrate does not exist in the server;
and the mark storage module is used for marking the substrate according to the acquired dotting data of the substrate, uploading mark information to the server and storing the mark information in association with the coding information.
Optionally, the reading module comprises:
the detection unit is used for detecting whether the two-dimensional code information marked on the substrate can be identified or not;
the judging unit is used for judging whether the two-dimensional code information marked on the substrate is consistent with the coding information or not when the two-dimensional code information can be identified;
and the reading unit is used for reading the two-dimensional code information marked on the substrate through a code scanner to obtain corresponding code information when the two-dimensional code information is consistent with the code information.
Optionally, the tag storage module comprises:
the determining unit is used for determining whether the substrate is a qualified product according to the acquired dotting data of the substrate;
the first marking unit is used for marking the information of the unqualified product on the substrate through a laser when the substrate is the unqualified product;
and the second marking unit is used for marking the information of the qualified product on the substrate through a laser when the substrate is an unqualified product.
According to the embodiment of the invention, the two-dimensional code is marked on the substrate by adopting the laser, and the two-dimensional code corresponds to the coded information one by one, so that the uniqueness of the coded information of each substrate can be ensured, each substrate can be traced in the production process, the substrate confusion condition in the production can be effectively avoided, and the marking efficiency and the production efficiency are improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example four
Fig. 4 is a schematic diagram of a marking device for a substrate according to a fifth embodiment of the present invention. As shown in fig. 4, the marking device 4 of the substrate of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40, such as a marking method program for a substrate. The processor 40, when executing the computer program 42, implements the steps in the above-described embodiments of the substrate marking method, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the units in the device embodiments, such as the functions of the modules 31 to 33 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the marking device 4 of the substrate. For example, the computer program 42 may be divided into a receiving module, a querying module and a marking module, and the specific functions of each module are as follows:
and the receiving module is used for receiving the coding information of the substrate input by the user.
And the query module is used for querying whether the coding information exists in the server or not.
And the marking module is used for uploading the coded information to the server for storage if the coded information is not stored in the server, converting the coded information into two-dimensional code information, and marking the two-dimensional code information on the substrate by using a laser.
The marking device 4 of the substrate may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The marking device of the substrate may include, but is not limited to, a processor 40 and a memory 41. It will be understood by those skilled in the art that fig. 4 is merely an example of a marking device of a substrate and does not constitute a limitation of the marking device of a substrate, and may include more or less components than those shown, or combine some components, or different components, for example, the marking device of the substrate may also include input and output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the marking device 4 of the substrate, such as a hard disk or a memory of the marking device 4 of the substrate. The memory 41 may also be an external storage device of the marking device 4 of the substrate, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the marking device 4 of the substrate. Further, the memory 41 may also include both an internal storage unit and an external storage device of the marking device 4 of the substrate. The memory 41 is used for storing the computer program and other programs and data required by the marking device of the substrate. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.