A kind of labeling method and device of substrate
Technical field
The invention belongs to manufacturing technology field more particularly to the labeling methods and device of a kind of substrate.
Background technology
Substrate in process of production, is needed by multiple processes, and mobility is very big, in the case where number of substrates is more
The case where it is easy to appear batch mixings.
It is to use ink jet numbering machine spray printing coding information on substrate according to the existing coding method to substrate, then per procedure
All by being manually entered substrate number, the case where such way is possible to lead to occur substrate repeated encoding, i.e., one coding
It is possible that several pieces of different substrates can be corresponded to, or the reuse encoded, bring the entanglement of bigger, and bad inspection.
If substrate loses coding information in flow process, it can not trace, all process steps all must start over, but some processes
It is irreversible, can bring about serious quality accident.
It is easy to obscure in conclusion the labeling method of existing substrate exists, the low problem of labeling effciency.
Invention content
In view of this, an embodiment of the present invention provides a kind of labeling method of substrate and device, to solve in the prior art
The labeling method of substrate, which exists, to be easy to obscure, the low problem of labeling effciency.
The first aspect of the embodiment of the present invention provides a kind of labeling method of substrate, including:
Receive the coding information of substrate input by user;
It inquires and whether there is the coding information in server;
It is stored if it is not, the coding information is uploaded to the server, and the coding information is converted into two
Tie up code information, using laser by the 2 D code information marking on the substrate.
The second aspect of the embodiment of the present invention provides a kind of labelling apparatus of substrate, including:
Receiving module, the coding information for receiving substrate input by user;
Enquiry module whether there is the coding information for inquiring in server;
Marking module, for being stored if it is not, the coding information is uploaded to the server, and by the coding
Information is converted into 2 D code information, using laser by the 2 D code information marking on the substrate.
The third aspect of the embodiment of the present invention provides a kind of labelling apparatus of substrate, including memory, processor and
It is stored in the computer program that can be run in the memory and on the processor, which is characterized in that the processor is held
Following steps are realized when the row computer program:
Receive the coding information of substrate input by user;
It inquires and whether there is the coding information in server;
It is stored if it is not, the coding information is uploaded to the server, and the coding information is converted into two
Tie up code information, using laser by the 2 D code information marking on the substrate.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, which is characterized in that the computer program realizes following steps when being executed by processor:
Receive the coding information of substrate input by user;
It inquires and whether there is the coding information in server;
It is stored if it is not, the coding information is uploaded to the server, and the coding information is converted into two
Tie up code information, using laser by the 2 D code information marking on the substrate.
Marking Quick Response Code on substrate by using laser of the embodiment of the present invention, and 2 D code information and coding information one
One corresponds to, it can be ensured that the uniqueness of every piece of substrate coding information so that every piece of substrate has mark that can follow in process of production, energy
Enough the case where effectively avoiding the substrate occurred in production from obscuring, improve labeling effciency and production efficiency.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of the labeling method for the substrate that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of the labeling method of substrate provided by Embodiment 2 of the present invention;
Fig. 3 is the structure diagram of the labelling apparatus for the substrate that the embodiment of the present invention three provides;
Fig. 4 is the schematic diagram of the labelling apparatus for the substrate that the embodiment of the present invention four provides.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
Fig. 1 shows the implementation process schematic diagram of the labeling method for the substrate that the embodiment of the present invention one provides.Such as Fig. 1 institutes
Show, the labeling method of the substrate specifically comprises the following steps S101 to step S103.
Step S101:Receive the coding information of substrate input by user.
The coding information of substrate input by user is received on computers.Coding information can carry out certainly according to actual needs
Definition format, coding information can be following formats:Model+lot number+in batches number+sequence number.Wherein, model, lot number, in batches number
Coding information with set of serial numbers synthesis is a kind of mode for carrying out progressive classification to substrate to encode.Under same model,
There can be different lot numbers;Under same lot number, can have it is different in batches number;It is same in batches number under have different sequences
Number.
Illustratively, such as the coding information of substrate A is WX201702081002, wherein WX is model, and 201702 be batch
Number, 08 indicates in batches number, and 1002 indicate sequence numbers.It is understood that when the model of another substrate B, lot number and in batches number point
Not with the model of substrate A, lot number and number correspondence is identical in batches, and the sequence number of substrate B it is bigger than the sequence number of substrate A 1 when, it is clear that
The coding information of substrate B can add up on the basis of the coding information WX201702081002 of substrate A, that is, generate
Coding informations of the WX201702081003 as substrate B.Therefore, the coding mode of substrate can effectively improve in the present embodiment
The efficiency of coding.
Step S102:It inquires and whether there is the coding information in server.
It inquires and whether there is the coding information in server, and if so, show that the substrate has been completed to mark, nothing
Need repetitive operation.
Step S103:It is stored if it is not, the coding information is uploaded to the server, and by the coding information
Be converted into 2 D code information, using laser by the 2 D code information marking on the substrate.
If it is that the coding information is not present to inquire in server, the coding information is uploaded to the server
It is stored, and the coding information is converted into 2 D code information.It is alternatively possible to by two-dimension code generator by the volume
Code information is converted into 2 D code information.Finally utilize laser by the 2 D code information marking converted on the substrate.
Marking Quick Response Code on substrate by using laser of the embodiment of the present invention, and Quick Response Code and coding information one are a pair of
It answers, it can be ensured that the uniqueness of every piece of substrate coding information so that every piece of substrate has mark that can follow in process of production, Neng Gouyou
The case where effect avoids the substrate occurred in production from obscuring, improves labeling effciency and production efficiency.
Embodiment two
Fig. 2 shows the implementation process schematic diagrames of the labeling method of substrate provided by Embodiment 2 of the present invention.In embodiment
On the basis of one, as shown in Fig. 2, further including following steps S201 to step S203.
S201:By the 2 D code information of code reader reading marking on the substrate to obtain corresponding coding information,
The label information that whether there is the substrate is inquired according to the coding information in the server.
It is understood that needing first to determine whether labeled, need not be carried out again if being marked
Subsequent operation.The mode of confirmation can read marking 2 D code information on the substrate by code reader to obtain pair
The coding information answered inquires in the server label information that whether there is the substrate according to the coding information.
Preferably, wrong marking caused by malfunctioning in order to avoid laser index carving Quick Response Code.Marking is read by code reader to exist
2 D code information on the substrate includes to obtain corresponding coding information:
Detect whether the 2 D code information of the marking on the substrate can identify;
If the 2 D code information of the marking on the substrate can identify, judge the 2 D code information whether with institute
It is consistent to state coding information;
If the 2 D code information is consistent with the coding information, two of marking on the substrate are read by code reader
Code information is tieed up to obtain corresponding coding information.
As a preferred embodiment of the present embodiment, by reading two of marking on the substrate by code reader
The process for being detected and judging before dimension code information, further determined the accurate of the Quick Response Code that the laser marking comes out
Property.
S202:If the label information of the substrate is not present in the server, the base is obtained from the server
Plate gets data ready.
Wherein, it includes the related data got ready of every piece of substrate in process of production to get data ready, including in substrate normally
The data got ready and the data got ready extremely.
S203:The substrate is marked according to the data of getting ready of the substrate of acquisition, and label information is uploaded
To the server storage is associated with the coding information.
Further, according to the substrate of acquisition get ready data to the substrate be marked including:
Determine whether the substrate is qualified products according to the data of getting ready of the substrate of acquisition;
If the substrate is substandard product, by laser by the information marking of substandard product in the substrate
On;
If the substrate be qualified products, by laser by the information marking of qualified products on the substrate.
By the explanation of above-mentioned air exercise point data it is found that being contained in data in the substrate just corresponding to one piece of getting ready for substrate
The data often got ready and the data got ready extremely.Show that the substrate is to close if getting the data for not having to get ready extremely in data ready
Lattice product, then by laser by the information marking of qualified products on the substrate, illustratively, the information of qualified products can
It can also be symbol " √ " to be simplified Hanzi " qualification ", can also be other any marking methods with discrimination;It is corresponding
Ground shows that the substrate is substandard product if getting the data for existing in data and getting ready extremely ready, will not by laser
On the substrate, illustratively, the information of substandard product can be that simplified Hanzi " does not conform to for the information marking of qualified products
Lattice " can also be symbol "×", can also be other any marking methods with discrimination.
It, in the actual production process, can also be only by laser by the information of substandard product it should be noted that be
Marking is on the substrate.
The embodiment of the present invention reads the 2 D code information of marking on the substrate to obtain corresponding volume by code reader
Code information inquires in the server label information that whether there is the substrate according to the coding information, if marked
Subsequent operation need not just be carried out again by having remembered;If do not marked, then obtain and get data ready, label is determined according to data are got ready
Information so that the production status of every piece of substrate is accurately clear;In addition label information is uploaded to the server and the coding
Information is associated storage and ensure that label information and the one-to-one correspondence of coding information, convenient for being somebody's turn to do at any time according to coding information inquiry
The condition of production of the corresponding substrate of coding information.
Embodiment three
Referring to FIG. 3, it illustrates the structure diagrams of the labelling apparatus of the substrate of the offer of the embodiment of the present invention three.The base
The labelling apparatus 30 of plate includes:Receiving module 31 runs module 32 and marking module 33.Wherein, the concrete function of each module is such as
Under:
Receiving module 31, the coding information for receiving substrate input by user;
Enquiry module 32 whether there is the coding information for inquiring in server;
Marking module 33, for being stored if it is not, the coding information is uploaded to the server, and by the volume
Code information be converted into 2 D code information, using laser by the 2 D code information marking on the substrate.
Optionally, the labelling apparatus 30 of substrate further includes:
Read module, for reading the 2 D code information of marking on the substrate by code reader to obtain corresponding volume
Code information inquires in the server label information that whether there is the substrate according to the coding information;
Acquisition module is used for when the label information of the substrate is not present in the server, then from the server
Obtain the substrate gets data ready;
Mark memory module, the data of getting ready for the substrate according to acquisition that the substrate is marked, and will
Label information is uploaded to the server and is associated storage with the coding information.
Optionally, read module includes:
Detection unit, for detecting whether the 2 D code information of the marking on the substrate can identify;
Judging unit, for when the 2 D code information of the marking on the substrate can identify, judging described two
Whether consistent with the coding information tie up code information;
Reading unit, for when the 2 D code information is consistent with the coding information, marking to be read by code reader
2 D code information on the substrate is to obtain corresponding coding information.
Optionally, label memory module includes:
Determination unit, the data of getting ready for the substrate according to acquisition determine whether the substrate is qualified products;
First marking unit, for when the substrate is substandard product, then by laser by substandard product
Information marking is on the substrate;
Second marking unit, for when the substrate is substandard product, then by laser by the letter of qualified products
Cease marking on the substrate.
The embodiment of the present invention uses laser marking Quick Response Code on substrate, and Quick Response Code is corresponded with coding information,
It can ensure the uniqueness of every piece of substrate coding information so that every piece of substrate has mark that can follow in process of production, can be effective
The case where avoiding the substrate occurred in production from obscuring, improves labeling effciency and production efficiency.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Example IV
Fig. 4 is the schematic diagram of the labelling apparatus for the substrate that five embodiments of the invention provide.As shown in figure 4, the embodiment
The labelling apparatus 4 of substrate includes:It processor 40, memory 41 and is stored in the memory 41 and can be in the processor
The computer program 42 run on 40, for example, substrate labeling method program.The processor 40 executes the computer program
The step in the labeling method embodiment of above-mentioned each substrate, such as step S101 to S103 shown in FIG. 1 are realized when 42.Or
Person, the processor 40 realize the function of each unit in above-mentioned each device embodiment when executing the computer program 42, such as
The function of module 31 to 33 shown in Fig. 3.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 42 in the labelling apparatus 4 of the substrate is described.For example, the computer program 42 can
To be divided into receiving module, enquiry module and marking module, the concrete function of each module is as follows:
Receiving module, the coding information for receiving substrate input by user.
Enquiry module whether there is the coding information for inquiring in server.
Marking module, for being stored if it is not, the coding information is uploaded to the server, and by the coding
Information is converted into 2 D code information, using laser by the 2 D code information marking on the substrate.
The labelling apparatus 4 of the substrate can be the meters such as desktop PC, notebook, palm PC and cloud server
Calculate equipment.The labelling apparatus of the substrate may include, but be not limited only to, processor 40, memory 41.Those skilled in the art can
To understand, Fig. 4 is only the example of the labelling apparatus of substrate, does not constitute the restriction to the labelling apparatus of substrate, may include
Than illustrating more or fewer components, certain components or different components, such as the labelling apparatus of the substrate are either combined
Can also include input-output equipment, network access equipment, bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 41 can be the internal storage unit of the labelling apparatus 4 of the substrate, such as the label dress of substrate
Set 4 hard disk or memory.The memory 41 can also be the External memory equipment of the labelling apparatus 4 of the substrate, such as institute
State the plug-in type hard disk being equipped on the labelling apparatus 4 of substrate, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, the memory 41 can also both include
The internal storage unit of the labelling apparatus 4 of the substrate also includes External memory equipment.The memory 41 is described for storing
Other programs needed for the labelling apparatus of computer program and the substrate and data.The memory 41 can be also used for temporarily
When store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as
Multiple units or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality
Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed
Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.