CN109677151A - The printing of MAC label and method for burn-recording based on server admin - Google Patents
The printing of MAC label and method for burn-recording based on server admin Download PDFInfo
- Publication number
- CN109677151A CN109677151A CN201811422231.6A CN201811422231A CN109677151A CN 109677151 A CN109677151 A CN 109677151A CN 201811422231 A CN201811422231 A CN 201811422231A CN 109677151 A CN109677151 A CN 109677151A
- Authority
- CN
- China
- Prior art keywords
- mac address
- printing
- label
- mac
- 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.)
- Granted
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41M—PRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
- B41M5/00—Duplicating or marking methods; Sheet materials for use therein
- B41M5/26—Thermography ; Marking by high energetic means, e.g. laser otherwise than by burning, and characterised by the material used
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41M—PRINTING, DUPLICATING, MARKING, OR COPYING PROCESSES; COLOUR PRINTING
- B41M3/00—Printing processes to produce particular kinds of printed work, e.g. patterns
- B41M3/14—Security printing
Landscapes
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Labeling Devices (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The present invention discloses a kind of MAC label printing based on server admin and method for burn-recording, includes the following steps: to send the amount requests of MAC Address quantity M for needing to print;The MAC Address quantity N in MAC Address pond is inquired, the MAC Address quantity M that prints is needed when the MAC Address quantity N in MAC Address pond is greater than or equal to, then returns to MAC Address section;Each of MAC Address section MAC Address is taken out, sequence sends pre-print MAC Address and printed to label machine;After printing pre-print MAC Address to Product labelling, " printing finishes " signal is sent.The present invention secondary can judge whether to meet preset MAC Address, and then the reliability of printing and burning can be improved, prevent same MAC Address duplicate printing, repetition is burnt in different products, so that the MAC Address being burned onto product can be more acurrate, and then avoids repeating to do over again, production efficiency is improved, and the process employs secondary anti-repetitions, operate safer, more reliable.
Description
Technical field
The present invention relates to device management method fields, print more particularly to a kind of MAC label based on server admin
With method for burn-recording.
Background technique
In today that Internet of Things flourishes, more and more products be unable to do without network, and all network equipments all have
There is MAC Address, and the MAC Address of each network equipment must keep global unique, not allow to repeat, generally in production process
It is middle to need to stick MAC Address label on product again, its corresponding MAC Address of MAC Address label is burnt to the storage of the product
In device.
However in current production, places one's entire reliance upon labor management to the control of MAC label printing, manually manage in this way
Control, will lead to two problems.1, MAC Address label duplicate printing, for example have printed 7CB232000001 today and arrive
7CB23200FF00 may be printed since 7CB23200FE00, be just repeated from source in this way, possible today next time
It is this people printing, tomorrow is that others prints, and there is no join two people, it is also possible to cause printing to repeat, there are also today
It is this computerized print tomorrow may be other computerized print, different computerized prints also easilys lead to duplicate printing.2,MAC
Label printing is fuzzy, cannot detect automatically when printing, in time complement again, will lead to after this label is attached to product and exists
The station of burn recording MAC address could be found when can not scanning, and be difficult to know the corresponding MAC Address of the label at that time, be removed
Non- you can count the other all MAC Address labels of this batch, but if there is the label that multiple this printings obscure, that will
It can not know.So can only generally give up this MAC Address, one is labeled again, but so you will be unable to according to MAC
Location number statistical goes out the number of product.Also it is difficult to count accurate product rejection rate in this way.
Summary of the invention
The purpose of the present invention is overcoming shortcoming in the prior art, a kind of high reliablity is provided, is avoided that repetition is beaten
Print, the MAC label based on server admin for improving production efficiency print and method for burn-recording.
The purpose of the present invention is achieved through the following technical solutions:
A kind of printing of MAC label and method for burn-recording based on server admin, includes the following steps:
S110, the amount requests for needing the MAC Address quantity M printed are sent;
S120, after receiving the amount requests, the MAC Address quantity N in MAC Address pond is inquired, when the MAC Address pond
Interior MAC Address quantity N is greater than or equal to the MAC Address quantity M for needing to print, then returns to MAC Address section;
S130, the MAC Address section is received, and takes out each of MAC Address section MAC Address, sequence is sent out
Pre-print MAC Address is sent to be printed to label machine;
S140, after printing the pre-print MAC Address to Product labelling, send " printing finishes " signal;
" printing finishes " signal described in S150, reception, the Product labelling of scanning and printing, when on the Product labelling
MAC Address is identical as the pre-print MAC Address, then label printing terminates;
S160, the label that printing terminates is labelled on product, scans the Product labelling on the product, and obtain the product mark
The MAC Address signed;
S170, judge to print in the whether described MAC Address section of the MAC Address on the Product labelling and finish
MAC Address, if so, the MAC Address is burned onto product;
S180, the MAC Address for reading burning in the product, judge the burning MAC Address whether with it is described
The MAC Address on Product labelling is identical, if they are the same, then burning success.
The MAC Address section in the step of S120 includes a continuous MAC Address section in one of the embodiments,
Or multiple discontinuous MAC Address sections.
It further include in one of the embodiments, following steps in the operation of the S120: when in the MAC Address pond
When MAC Address quantity N is less than the MAC Address quantity M for needing to print, then finally printable MAC Address quantity N is issued.
Further include following steps in one of the embodiments, after the operation for returning to MAC Address section:
S121, unprinted MAC Address quantity and available MAC Address section in MAC Address pond are updated;
S122, MAC Address state table is established, each of return MAC Address section MAC Address is inserted into institute one by one
It states in MAC Address state table, also, the corresponding status information of each MAC Address is labeled as " printing ".
In one of the embodiments, in the operation of the S130, sequence sends pre-print MAC Address to label machine
After the step of being printed, further comprise the steps of:
S1301, print command is called, and sends the print command, carry out printing.
In one of the embodiments, in the operation of the S150, when the MAC Address on the Product labelling and described pre- beat
When printing MAC Address difference, then following steps are executed:
S1501, the unqualified signal of the Product labelling printing is sent, sends back-off signal instruction;
S1502, the back-off signal instruction is received, " unqualified " will printed to the Product labelling.
It is described in one of the embodiments, to receive the back-off signal instruction, it " unqualified " will print to the product mark
Further include following steps after the operation signed:
It sends " unqualified " label and has printed the signal finished;
The signal for printing and finishing is received, and sends the pre-print MAC Address printed not successfully, return executes step
Rapid S1301.
Further include following steps in one of the embodiments, after the step S150:
The MAC Address sent on Product labelling prints successful signal, and updates corresponding in the MAC Address state table
MAC Address status information, by its status modifier be " printing finishes ".
The call back function for monitoring the label machine in real time is further comprised the steps of: in one of the embodiments, wherein
The call back function is used to receive the message of label machine.
In one of the embodiments, it is described judge the Product labelling on MAC Address and the pre-print MAC Address not
With operation, specific steps include: when Product labelling printing is fuzzy, when the Product labelling identifies mistake or work as institute
When stating Product labelling can not scan, then it is assumed that the MAC Address on the Product labelling is different from the pre-print MAC Address.
The present invention compared with the prior art the advantages of and have the beneficial effect that:
The present invention is a kind of MAC label printing based on server admin and method for burn-recording, has been beaten by rescan
Print the Product labelling completed, and identify the MAC Address on the Product labelling, so as to it is secondary judge whether to meet it is preset
MAC Address, and then the reliability of printing and burning can be improved, same MAC Address duplicate printing is prevented, repetition is burnt to not
In same product, so that the MAC Address being burned onto product can be more acurrate, and then avoids repeating to do over again, production is improved
Efficiency, and the process employs secondary anti-repetitions, operate safer, more reliable.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the flow chart of MAC the label printing and method for burn-recording based on server admin of an embodiment of the present invention.
Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing
Give better embodiment of the invention.But the invention can be realized in many different forms, however it is not limited to herein
Described embodiment.On the contrary, the purpose of providing these embodiments is that making to understand more the disclosure
Add thorough and comprehensive.
It should be noted that it can directly on the other element when element is referred to as " being fixed on " another element
Or there may also be elements placed in the middle.When an element is considered as " connection " another element, it, which can be, is directly connected to
To another element or it may be simultaneously present centering elements.Term as used herein " vertical ", " horizontal ", " left side ",
" right side " and similar statement for illustrative purposes only, are not meant to be the only embodiment.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more
Any and all combinations of relevant listed item.
Referring to Fig. 1, a kind of printing of MAC label and method for burn-recording based on server admin, includes the following steps:
S110, the amount requests for needing the MAC Address quantity M printed are sent;It should be noted that label printing first is objective
Family end issues the amount requests for needing the MAC Address quantity M printed, issues and requests to server, and Tell server needs to print
Quantity.
S120, after receiving the amount requests, the MAC Address quantity N in MAC Address pond is inquired, when the MAC Address pond
Interior MAC Address quantity N is greater than or equal to the MAC Address quantity M for needing to print, then returns to MAC Address section.It needs to illustrate
It is, after server receives the amount requests of MAC Address quantity M, then with needing to calculate the unprinted MAC in MAC Address pond
The quantity of location illustrates if the quantity of the unprinted MAC Address is greater than the quantity that client issues the printing of MAC Address demand
Printing can be directly carried out, otherwise, server needs to inform the MAC Address that label print client can at most print
Quantity.
S130, the MAC Address section is received, and takes out each of MAC Address section MAC Address, sequence is sent out
Pre-print MAC Address is sent to be printed to label machine;It should be noted that server issues the MAC Address that can be printed
Section gives label print client, and the label print client is then sequentially printed.
S140, after printing the pre-print MAC Address to Product labelling, send " printing finishes " signal.It needs
Illustrate, after MAC Address is printed to Product labelling, then updates print state and MAC Address state.
" printing finishes " signal described in S150, reception, the Product labelling of scanning and printing, when on the Product labelling
MAC Address is identical as the pre-print MAC Address, then label printing terminates;It should be noted that judging product mark by setting
The MAC Address signed is identical as the pre-print MAC Address, then secondary can judge whether to meet preset MAC Address, in turn
The reliability that printing and burning can be improved prevents same MAC Address duplicate printing.
S160, the label that printing terminates is labelled on product, scans the Product labelling on the product, and obtain the product mark
The MAC Address signed;It should be noted that when label printing after the completion of, then can carry out the process of burning, burning when
It waits, needs to read the MAC Address on Product labelling.
S170, judge to print in the whether described MAC Address section of the MAC Address on the Product labelling and finish
MAC Address, if so, the MAC Address is burned onto product;It should be noted that judging the product mark by setting
The MAC Address signed whether be the step of printing the MAC Address finished in the MAC Address section, can secondary judgement be
It is no to meet preset MAC Address, same MAC Address duplicate printing is prevented, repetition is burnt in different products, so that burning
The MAC Address recorded into product can be more acurrate, and then avoids repeating to do over again, raising production efficiency, and the process employs
Secondary anti-repetition operates safer, more reliable.
S180, the MAC Address for reading burning in the product, judge the burning MAC Address whether with it is described
The MAC Address on Product labelling is identical, if they are the same, then burning success.It should be noted that after burning is completely correct,
Just finally confirmation burning success, further increases the reliability of burning.
In this way, having printed the Product labelling of completion by rescan, and with identifying the MAC on the Product labelling
Location judges whether to meet preset MAC Address, and then the reliability of printing and burning can be improved so as to secondary, prevents
Only same MAC Address duplicate printing, repetition is burnt in different products, so that the MAC Address being burned onto product can
With more acurrate, and then avoid repeating to do over again, improve production efficiency, and the process employs secondary anti-repetition, operate it is safer,
It is more reliable.
It should be noted that the MAC Address section in the step of S120 includes a continuous MAC Address section or multiple
Discontinuous MAC Address section.In this way, the address field of printing can not be limited, the amount of having of address field is improved.
It should be noted that further including following steps in the operation of the S120: as the MAC in the MAC Address pond
When location quantity N is less than the MAC Address quantity M for needing to print, then finally printable MAC Address quantity N is issued.In this way, can be with
Determine that the quantity that can be printed finally confirmed limits the quantity of printing so that label print client can also be informed.
It should be noted that further including following steps after the operation for returning to MAC Address section:
S121, unprinted MAC Address quantity and available MAC Address section in MAC Address pond are updated;
S122, MAC Address state table is established, each of return MAC Address section MAC Address is inserted into institute one by one
It states in MAC Address state table, also, the corresponding status information of each MAC Address is labeled as " printing ".In this way, can
With the status information for marking MAC Address to print, it can be the process of subsequent printing and burning, carry out retrospect inquiry, avoid the occurrence of
The case where duplicate printing and repetition burning.
It should be noted that sequence sends pre-print MAC Address and is beaten to label machine in the operation of the S130
After the step of print, further comprises the steps of: S1301, calls print command, and send the print command, carry out printing.Such as
This, server calls print command sends the print command to the label print client, and label print client receives
After print command, then printing is carried out.
It should be noted that in the operation of the S150, when the MAC Address and the pre-print MAC on the Product labelling
When the difference of address, then following steps are executed:
S1501, the unqualified signal of the Product labelling printing is sent, sends back-off signal instruction;
S1502, the back-off signal instruction is received, " unqualified " will printed to the Product labelling.
In this way, underproof product labelling can be come out, inconsistent product is excluded, reduces the error of subsequent product
Rate improves the quality of product.
It should be noted that described receive the back-off signal instruction, " unqualified " will print to the Product labelling
Further include following steps after operation: sending " unqualified " label and printed the signal finished;Receive what the printing finished
Signal, and the pre-print MAC Address printed not successfully is sent, return to step S1301.
It should be noted that further including following steps after the step S150: sending the MAC Address on Product labelling
Successful signal is printed, and updates the status information of corresponding MAC Address in the MAC Address state table, by its status maintenance
It is changed to " printing finishes ".In this way, the status information of MAC Address can be marked, facilitate the retrospect for carrying out product, reduces Product labelling
The error rate of burning and printing.
It should be noted that further comprising the steps of: the call back function for monitoring the label machine in real time, wherein described time
Letter of transfer number is used to receive the message of label machine.Server also needs to monitor in real time the signal of label machine, so as to
It judges and control action in time.
It should be noted that the behaviour for judging that the MAC Address on the Product labelling is different from the pre-print MAC Address
Make, specific steps include: when Product labelling printing is fuzzy, when the Product labelling identifies mistake or when the product
When label can not scan, then it is assumed that the MAC Address on the Product labelling is different from the pre-print MAC Address.By product mark
The MAC Address the signed MAC Address different from the pre-print MAC Address filters out, improve printing MAC Address accuracy and can
By degree.
It is appreciated that during the printing of MAC label, it is possible to there is the fuzzy situation of printing, and if without and
When check, then directly fuzzy MAC Address label may be attached in corresponding equipment, can not be verified so as to cause subsequent
The equipment is what model and MAC Address.Occur fuzzy label in order to prevent to paste on product, leads to that production cannot be detected
The problem of product MAC Address, meanwhile, the problem of duplicating burning, duplicate printing in order to prevent, causes to increase the product report produced
The problem of useless rate and production cost, in order to improve the accuracy rate of burning and improve the reliability of burning;For example, an embodiment
In, the label that printing terminates is labelled on product by the step, scans the Product labelling on the product, and obtain the Product labelling
On MAC Address operation in, specifically comprise the following steps: S1701, scan the MAC Address on the Product labelling, send inquiry
The status information request of the MAC Address;S1702, reception and the status information request for responding the MAC Address, inquiry MAC
The status information of the MAC Address of this in the state table of location;S1703, the status information for judging the MAC Address, if not inquiring
The state of state or the MAC Address to the MAC Address is to print, then illustrates that the MAC Address is not at this
It is printed in system, the MAC Address is labeled as " illegal label ", and send " illegal label " information;Otherwise, it holds
Row step S1705;" illegal label " information described in S1704, reception and response, issues destruction notice and destruction instructs;By pipe
Reason personnel destroy this " illegal label ";S1705, the status information for judging the MAC Address, if the state of the MAC Address
It is finished for printing, then shows that the MAC Address can be used for burning;Otherwise, the state for showing the MAC Address is burning,
Execute step S1707;S1706, the MAC Address is burned onto product, i.e., the MAC Address is burned onto the storage of product
In device;S1707, obtain the MAC Address, judge the MAC Address whether with the MAC Address phase on the Product labelling
Together, if so, illustrating that the module has completed burning, burning is wirelessly repeated;Otherwise, step S1708 is executed;S1708, it then says
Bright MAC Address label and other MAC Address labels repeat, and send " illegal label " information;S1709, it receives simultaneously
" illegal label " information described in response issues and destroys notice and destruction instruction;This " illegal label " is destroyed by administrative staff.
The MAC Address for reading burning in the product, judge the burning MAC Address whether on the Product labelling
The identical operation of the MAC Address in, specifically further include following steps: S1801, the MAC for obtaining burning in the product
Address, if the MAC Address is identical as the MAC Address on the Product labelling, burning is completed, with sending the MAC
The message that location burning is completed;S1802, reception simultaneously respond the message that the MAC Address burning is completed, and update the MAC Address shape
The state of the corresponding MAC Address of state table is " burning ".It pastes on product, leads in this way, fuzzy label can be prevented
Cause is unable to the problem of testing product MAC Address, meanwhile, the problem of repetition burning, duplicate printing can be prevented, cause to increase
The problem of product rejection rate and production cost of production, can be improved the accuracy rate of burning and improve the reliability of burning.
Further, the label that printing terminates is labelled on product by the step, scans the Product labelling on the product, and
In the operation for obtaining the MAC Address on the Product labelling, specifically comprise the following steps:
S1701, MAC Address on the Product labelling is scanned, sends the status information request for inquiring the MAC Address;It needs
It is noted that client programming system scans the MAC Address on the Product labelling, and the product mark is sent to the server
The MAC Address signed, while requesting the status information of the MAC Address.
It is described to inquire this in MAC Address state table for S1702, reception and the status information request for responding the MAC Address
The status information of MAC Address;It should be noted that server inquires the state letter of the MAC Address in MAC Address state table
Breath.
S1703, the status information for judging the MAC Address, if not inquiring the state or described of the MAC Address
The state of MAC Address is to print, then illustrates that the MAC Address is not to print within the system, by the MAC Address mark
It is denoted as " illegal label ", and sends " illegal label " information;Otherwise, step S1705 is executed;Illegal label is rejected,
The accuracy of product MAC Address can be improved.
" illegal label " information described in S1704, reception and response, issues destruction notice and destruction instructs;By administrator
Member destroys this " illegal label ";And destroy and then destroyed by administrative staff, " illegal mark can be shown in the host computer of system
Label " information.
S1705, the status information for judging the MAC Address show if the state of the MAC Address is that printing finishes
The MAC Address can be used for burning;Otherwise, the state for showing the MAC Address is burning, executes step S1707;Such as
This can learn whether MAC Address is programmed by judging the status information of MAC Address, if to print, if be
Illegal label, thus making corresponding movement.
S1706, the MAC Address is burned onto product, i.e., the MAC Address is burned onto the memory of product;
If MAC Address is correct, needs to carry out burning operation, MAC Address is burned onto the memory of product, so as to be subsequent
It is read out MAC Address.
S1707, obtain the MAC Address, judge the MAC Address whether with the MAC Address on the Product labelling
It is identical, if so, illustrating that the module has completed burning, wirelessly repeat burning;Otherwise, step S1708 is executed;In this way, can
Whether it is correct address with the secondary MAC Address for judging burning, improves the validity of burning, reduces production cost.
S1708, then illustrate that MAC Address label and other MAC Address labels repeat, and send " illegal label "
Information;Judge illegal label, destruction operation can be carried out.
" illegal label " information described in S1709, reception and response, issues destruction notice and destruction instructs;By administrator
Member destroys this " illegal label ".Wrong label is operated in this way, can destroy, reduces the scrappage of product, improves product MAC
The burning validity of address.
The MAC Address for reading burning in the product, judge the burning MAC Address whether with the production
Specifically further include following steps in the identical operation of the MAC Address on product label: S1801, obtaining and burnt in the product
The MAC Address of record, if the MAC Address is identical as the MAC Address on the Product labelling, burning is completed, and sends institute
State the message of MAC Address burning completion;S1802, reception simultaneously respond the message that the MAC Address burning is completed, and update the MAC
The state of the corresponding MAC Address of address state table is " burning ".In this way, can prevent fuzzy label pastes product
On, cause the problem of being unable to testing product MAC Address, meanwhile, it the problem of repetition burning, duplicate printing can be prevented, leads
The problem of increasing the product rejection rate and production cost of production is caused, the accuracy rate of burning can be improved and improves the reliable of burning
Degree.
Specifically, process is printed:
Client print system all will need to print MAC Address to server request when each request printing
Whether number possesses so most target MAC (Media Access Control) address in the MAC Address pond in server Test database, if not enough, calculated
Out can only at most print how much, client print system is returned to, if so, by the starting of its MAC Address and the MAC that terminates
Location is sent to client print system, if the MAC Address in MAC Address pond is discontinuous, multiple sections may be returned to, by JSON number
Group mode returns to each section of starting MAC Address and terminates MAC Address.It simultaneously can with MAC in server update MAC Address pond
Location section;And MAC Address state table is established in the database, will distribute to just now the MAC Address of client print system one by one
It is inserted into the table, and shows that the state of these MAC Address is all to print.Client print system receives MAC Address section
Afterwards, each address is taken out from section, is transferred to printer, starts to print, while client print system monitors printer
State, when printing finishes, print system will listen to printer and finish signal, before the printing go out scanner alignment printer
Paper mouth waits MAC Address label to be scanned, finishes signal when listening to printer printing, starting scanner is scanned, scans through
Finish, detection scanning result shows to print if the MAC Address scanned is consistent with the MAC Address for issuing printer when printing
If success shows that print label is fuzzy scanning caused to malfunction inconsistent, and client print system is initiated back to printer at this time
Signal instruction is moved back, its paper is allowed to return back to position of last time when not beating, is then printed sending instructions to printer on label
Greatly " unqualified " printed words, so just now cannot scan label be just labeled as it is unqualified, then proceed to printing do not had just now
Successful MAC Address is printed, if scanning is consistent with the MAC Address for sending printing, this MAC is uploaded to server service
Device, state of changing in MAC Address state table are that printing finishes, and client transmission at the same time is next with will printing MAC
The instruction of location starts to printer to be printed.So circulation is finished until printing.
Burning process:
After module sticks MAC label, the station of burn recording MAC address is entered, client programming system first scans MAC
Then the MAC Address scanned is sent to the state of the server requestor MAC Address by address tag, if inquiry less than
This MAC Address or this MAC Address state are to print, and show that this MAC Address label is printed by client print system
Out, show that this MAC Address label is illegal, which cannot use, it is necessary to destroy.When the MAC Address of inquiry is printing
It finishes, it at this time just will be in the memory of this MAC Address burning module.Burning finishes, if then again read module MAC Address
It is inconsistent with writing, show burning exception, burning again, until burning is correct for this purpose, this MAC Address is sent to server
It burns and informs that MAC Address record finishes, server updates its state and finishes for burning after receiving, when with inquiring MAC before burning
Location state is burning, at this time the MAC Address for reading module judge the MAC Address in this MAC Address and label whether one
It causes, if unanimously showing that this module repeats burning, if it is not, showing that the MAC Address label and other label repeat, it is necessary to sell
Ruin this label.
The present invention compared with the prior art the advantages of and have the beneficial effect that:
The present invention is a kind of MAC label printing based on server admin and method for burn-recording, has been beaten by rescan
Print the Product labelling completed, and identify the MAC Address on the Product labelling, so as to it is secondary judge whether to meet it is preset
MAC Address, and then the reliability of printing and burning can be improved, same MAC Address duplicate printing is prevented, repetition is burnt to not
In same product, so that the MAC Address being burned onto product can be more acurrate, and then avoids repeating to do over again, production is improved
Efficiency, and the process employs secondary anti-repetitions, operate safer, more reliable.
Only several embodiments of the present invention are expressed for embodiment described above, and the description thereof is more specific and detailed, but
It cannot be construed as a limitation to the scope of the present invention.It should be pointed out that for the ordinary skill people of this field
For member, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to of the invention
Protection scope.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of printing of MAC label and method for burn-recording based on server admin, which comprises the steps of:
S110, the amount requests for needing the MAC Address quantity M printed are sent;
S120, after receiving the amount requests, the MAC Address quantity N in MAC Address pond is inquired, when in the MAC Address pond
MAC Address quantity N is greater than or equal to the MAC Address quantity M for needing to print, then returns to MAC Address section;
S130, the MAC Address section is received, and takes out each of MAC Address section MAC Address, sequence sends pre-
Printing MAC Address is printed to label machine;
S140, after printing the pre-print MAC Address to Product labelling, send " printing finishes " signal;
" printing finishes " signal described in S150, reception, the Product labelling of scanning and printing, as the MAC on the Product labelling
Location is identical as the pre-print MAC Address, then label printing terminates;
S160, the label that printing terminates is labelled on product, scans the Product labelling on the product, and obtain on the Product labelling
MAC Address;
S170, judge the MAC Address on the Product labelling whether be in the MAC Address section with printing the MAC finished
Location, if so, the MAC Address is burned onto product;
S180, the MAC Address for reading burning in the product, judge the burning MAC Address whether with the product
The MAC Address on label is identical, if they are the same, then burning success.
2. the printing of MAC label and method for burn-recording according to claim 1 based on server admin, which is characterized in that institute
MAC Address section in the step of stating S120 includes a continuous MAC Address section or multiple discontinuous MAC Address sections.
3. the printing of MAC label and method for burn-recording according to claim 1 based on server admin, which is characterized in that institute
State further includes following steps in the operation of S120: when the MAC Address quantity N in the MAC Address pond is less than the MAC for needing to print
When number of addresses M, then finally printable MAC Address quantity N is issued.
4. the printing of MAC label and method for burn-recording according to claim 1 based on server admin, which is characterized in that
Further include following steps after the operation for returning to MAC Address section:
S121, unprinted MAC Address quantity and available MAC Address section in MAC Address pond are updated;
S122, establish MAC Address state table, each of return MAC Address section MAC Address is inserted into one by one described in
In MAC Address state table, also, the corresponding status information of each MAC Address is labeled as " printing ".
5. the printing of MAC label and method for burn-recording according to claim 1 based on server admin, which is characterized in that institute
It states in the operation of S130, further includes step after sequence sends the step of pre-print MAC Address is printed to label machine
It is rapid:
S1301, print command is called, and sends the print command, carry out printing.
6. the printing of MAC label and method for burn-recording according to claim 5 based on server admin, which is characterized in that institute
It states in the operation of S150, when the MAC Address on the Product labelling is with the pre-print MAC Address difference, then executes following step
It is rapid:
S1501, the unqualified signal of the Product labelling printing is sent, sends back-off signal instruction;
S1502, the back-off signal instruction is received, " unqualified " will printed to the Product labelling.
7. the printing of MAC label and method for burn-recording according to claim 6 based on server admin, which is characterized in that institute
It states and receives the back-off signal instruction, " unqualified " will print to the operation on the Product labelling, and further include following steps:
It sends " unqualified " label and has printed the signal finished;
The signal for printing and finishing is received, and sends the pre-print MAC Address printed not successfully, is returned to step
S1301。
8. the printing of MAC label and method for burn-recording according to claim 4 based on server admin, which is characterized in that institute
Further include following steps after stating step S150:
The MAC Address sent on Product labelling prints successful signal, and updates corresponding in the MAC Address state table
Its status modifier is " printing finishes " by the status information of MAC Address.
9. the printing of MAC label and method for burn-recording described according to claim 1~any one of 8 based on server admin,
It is characterized in that, further comprising the steps of: the call back function for monitoring the label machine in real time, wherein the call back function is used for
Receive the message of label machine.
10. the printing of MAC label and method for burn-recording according to claim 6 based on server admin, which is characterized in that institute
The operation for judging that the MAC Address on the Product labelling is different from the pre-print MAC Address is stated, specific steps include: when described
When Product labelling printing is fuzzy, when the Product labelling identifies mistake or when the Product labelling can not scan, then it is assumed that
MAC Address on the Product labelling is different from the pre-print MAC Address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811422231.6A CN109677151B (en) | 2018-11-27 | 2018-11-27 | MAC label printing and burning method based on server management |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811422231.6A CN109677151B (en) | 2018-11-27 | 2018-11-27 | MAC label printing and burning method based on server management |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109677151A true CN109677151A (en) | 2019-04-26 |
CN109677151B CN109677151B (en) | 2021-02-05 |
Family
ID=66185949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811422231.6A Active CN109677151B (en) | 2018-11-27 | 2018-11-27 | MAC label printing and burning method based on server management |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109677151B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6722563B1 (en) * | 2000-10-17 | 2004-04-20 | Pitney Bowes Inc. | Method for printing a label pair with information-based indicia program (IBIP) indicia |
CN102045591A (en) * | 2009-10-10 | 2011-05-04 | 上海广联电子有限公司 | Method for recording media access control (MAC) address and K code of set top box of disposable recorder |
CN102750983A (en) * | 2011-04-19 | 2012-10-24 | 上海博泰悦臻电子设备制造有限公司 | Method and system for production test burning |
CN104156796A (en) * | 2014-06-23 | 2014-11-19 | 福建二菱电子有限公司 | Method and system for managing production line of MAC (Media Access Control) address on Internet set top box |
CN106293826A (en) * | 2016-08-05 | 2017-01-04 | 浪潮电子信息产业股份有限公司 | A kind of methods, devices and systems that burning/recording chip is marked |
CN107426669A (en) * | 2017-04-01 | 2017-12-01 | 杭州九爱科技有限公司 | Intelligent terminal and the quick binding method of intelligent wearable equipment, device and system |
-
2018
- 2018-11-27 CN CN201811422231.6A patent/CN109677151B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6722563B1 (en) * | 2000-10-17 | 2004-04-20 | Pitney Bowes Inc. | Method for printing a label pair with information-based indicia program (IBIP) indicia |
CN102045591A (en) * | 2009-10-10 | 2011-05-04 | 上海广联电子有限公司 | Method for recording media access control (MAC) address and K code of set top box of disposable recorder |
CN102750983A (en) * | 2011-04-19 | 2012-10-24 | 上海博泰悦臻电子设备制造有限公司 | Method and system for production test burning |
CN104156796A (en) * | 2014-06-23 | 2014-11-19 | 福建二菱电子有限公司 | Method and system for managing production line of MAC (Media Access Control) address on Internet set top box |
CN106293826A (en) * | 2016-08-05 | 2017-01-04 | 浪潮电子信息产业股份有限公司 | A kind of methods, devices and systems that burning/recording chip is marked |
CN107426669A (en) * | 2017-04-01 | 2017-12-01 | 杭州九爱科技有限公司 | Intelligent terminal and the quick binding method of intelligent wearable equipment, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN109677151B (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110711945B (en) | Laser coding method and device and laser marking machine | |
CN106327605B (en) | A kind of method for inspecting | |
US6381509B1 (en) | Automatic manufacturing monitoring and tracking | |
DE10214108B4 (en) | Systems, methods and database for using printing device data in a service center | |
CN109669705B (en) | Method and system for programming firmware | |
CN110210708A (en) | The management method that barcode scanning based on mobile terminal is reported for repairment | |
US7171380B2 (en) | Method and system for processing return product | |
US4348739A (en) | Terminal providing communication system information output | |
CN105139060A (en) | Generation and testing method and system of bar codes based on a plurality of print devices | |
CN110189432A (en) | Car networking platform automatic registration method and system | |
CN108122014A (en) | A kind of detection in real time of bar code printing and only wrong method, storage medium and printing terminal | |
CN108055422A (en) | imaging method, imaging device and imaging system | |
US20100238462A1 (en) | System and method for image quality analysis and diagnostics | |
CN109677151A (en) | The printing of MAC label and method for burn-recording based on server admin | |
CN109189410B (en) | Burning method, device and equipment | |
US11379701B2 (en) | Server and non-transitory computer-readable storage medium storing control program | |
US6968783B2 (en) | Method for printing security documents using sheets with identifiers | |
US10331390B2 (en) | Collaborative remote maintenance of printing devices | |
US20060126106A1 (en) | System and method for remote proof printing and verification | |
CN105868832A (en) | Work order processing method and apparatus | |
CN207882986U (en) | Electromechanical equipment patrolling and checking management system | |
CN110531718A (en) | The method for inspecting and cruising inspection system of equipment in a kind of petrochemical industry production line | |
CN109102232A (en) | It is a kind of informationization aluminium ingot go out Input System and out storage method | |
CN109308506A (en) | A kind of turbine production process data management system for tracking and its method | |
CN100499457C (en) | Service providing apparatus, data processing apparatus, information providing method, program and storage medium |
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 |