CN108255946A - Coding management method and device, equipment and the storage medium of a kind of laser carving equipment - Google Patents

Coding management method and device, equipment and the storage medium of a kind of laser carving equipment Download PDF

Info

Publication number
CN108255946A
CN108255946A CN201711326596.4A CN201711326596A CN108255946A CN 108255946 A CN108255946 A CN 108255946A CN 201711326596 A CN201711326596 A CN 201711326596A CN 108255946 A CN108255946 A CN 108255946A
Authority
CN
China
Prior art keywords
coding
serial number
database
laser carving
written
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
Application number
CN201711326596.4A
Other languages
Chinese (zh)
Other versions
CN108255946B (en
Inventor
冉龙云
刘昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Austrian Sea Polytron Technologies Inc Dongguan
Original Assignee
Austrian Sea Polytron Technologies Inc Dongguan
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Austrian Sea Polytron Technologies Inc Dongguan filed Critical Austrian Sea Polytron Technologies Inc Dongguan
Priority to CN201711326596.4A priority Critical patent/CN108255946B/en
Publication of CN108255946A publication Critical patent/CN108255946A/en
Application granted granted Critical
Publication of CN108255946B publication Critical patent/CN108255946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations

Abstract

The present invention provides coding management method and device, equipment and the storage medium of a kind of laser carving equipment;By the coding solicited message and encoding format information that obtain laser carving equipment;Judge that the encoding format information meets pre-arranged code form, it is no, then return to error message to the laser carving equipment;It is then to search the maximum serial number coding for meeting the pre-arranged code form in the database, the maximum serial number is encoded according to pre-arranged code rule, obtains new coding;The database is written into for major key by serial number in new serial number coding, when the database success is written, the laser carving equipment is sent to by newly encoded;Database can be uniquely written in the product coding of more laser carving equipment laser carvings by the method, be uniformly managed, avoided artificial allocated code mistake and repeated encoding.

Description

Coding management method and device, equipment and the storage medium of a kind of laser carving equipment
Technical field
The present invention relates to manufacturing equipment management domain more particularly to the coding management methods and dress of a kind of laser carving equipment It puts, equipment and storage medium.
Background technology
Laser engraving machine carves out the permanent marking using radium-shine light beam inside material surface or transparency material, widely should For the production line that manufacturing industry is produced in enormous quantities, encoded for marked product.Under normal circumstances, there are one only for each product needs One coding, in order to manage and trace.Usually in production and processing, laser engraving machine is dispersed in each workshop, respective absolute coding, It artificially distributes each laser engraving machine start code and termination encodes, the coding of laser engraving machine laser etching product is not managed collectively;When multiple When workshop is produced with a product simultaneously, the product quantity of production is very big, in fact it could happen that artificial allocated code mistake causes The mess of laser engraving machine repeated encoding.
Invention content
The technical problems to be solved by the invention are the deficiencies for the coding management of above-mentioned laser engraving machine, provide a kind of laser carving and set Standby coding management method and device.
This method is achieved in that first aspect present invention provides a kind of coding management method of laser carving equipment, packet Include following steps:
Step A. obtains the coding solicited message and encoding format information of laser carving equipment;
Step B. judges that the encoding format information meets pre-arranged code form, no, then performs step C, be, then perform step Rapid D;
Step C. returns to error message to the laser carving equipment;
Step D. searches the maximum serial number coding for meeting the pre-arranged code form in the database, according to pre-arranged code Rule encodes the maximum serial number, obtains new serial number coding;
The database is written for major key by serial number in new serial number coding by step E., as the write-in data Kucheng During work(, the laser carving equipment is sent to by newly encoded.
Further, it is further included after step E:
For step F. when the write-in database is unsuccessful, unsuccessful number is written in record;
Step G. recodes according to pre-arranged code rule to unsuccessful serial number coding is written, after recodification Serial number coding write-in database;
Step H. is when the database success is written in the serial number coding after recoding, by the serial number after recodification Coding is sent to the laser carving equipment.
Step I. returns to the step F and holds when the serial number coding write-in database after recoding is unsuccessful Row.
Further, it is further included after step F:
Step J. returns to the step G and starts to perform when record is written unsuccessful number and is not up to preset times;When When the unsuccessful number of record write-in reaches preset times, encode and fail to the laser carving device prompts.
Further, step A is further included:Obtain laser carving equipment work order quantity information;
It is further included after the step D:Judge whether new serial number coding is more than the work order quantity, is then to perform The step E, it is no, then perform the step E.
Further, step A is further included:Obtain the additional information of laser carving equipment;
The step E includes:By serial number the database is written into, while by described in for major key in new serial number coding Additional information corresponds to write-in database;When database success is written, newly encoded the laser carving equipment is sent to by described.
Further, step A is further included:Obtain laser carving equipment serial number binary information;
The step D includes:
The maximum serial number coding for meeting the pre-arranged code form is searched in the database, when judgement binary information is not When giving tacit consent to system, by the maximum serial number code conversion into the acquiescence system, according to pre-arranged code rule to transformed Maximum serial number is encoded, and obtains new serial number coding, then by the new code conversion to meet the flowing water The coding of number system.
Further, step A is further included:Obtain character to be removed in laser carving equipment serial number;
It is to meet the coding of the serial number system to further include by the new code conversion in the step D:
According to character to be removed in the serial number, removal includes the coding of character to be removed.
Second aspect of the present invention also provides a kind of coding managing device of laser carving equipment, including:
Laser carving EM equipment module, for sending out coding solicited message, encoding format information;
Application server module, judges whether the encoding format information meets pre-arranged code form, no, then to the radium It carves equipment and returns to error message;It is then to perform to search the maximum serial number volume for meeting the pre-arranged code form in the database Code encodes the maximum serial number according to pre-arranged code rule, obtains new coding;New serial number is encoded The database is written for major key by serial number, when the database success is written, is sent to the laser carving by newly encoded and sets It is standby;
Database module, for receiving the request of application server newly encoded write-in database;To be written newly encoded is No successful information returns to application server.
Third aspect present invention provides a kind of terminal device, including memory, processor and stores in memory simultaneously The computer program that can be run on a processor, processor are realized when performing computer program such as first aspect present invention method Step.
Fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, computer-readable recording medium storage There is computer program, realized when computer program is executed by processor such as the step of first aspect present invention method.
The present invention provides coding management method and device, equipment and the storage medium of a kind of laser carving equipment;By obtaining radium Carve the coding solicited message and encoding format information of equipment;Judge that the encoding format information meets pre-arranged code form, it is no, then Error message is returned to the laser carving equipment;It is then to search the maximum flowing water for meeting the pre-arranged code form in the database Number coding, encodes the maximum serial number according to pre-arranged code rule, obtains new coding;By new serial number The database is written for major key by serial number in coding, and when the database success is written, the radium is sent to by newly encoded Carve equipment;Database can be uniquely written in the product coding of more laser carving equipment laser carvings by the method, be uniformly managed, avoided Artificial allocated code mistake and repeated encoding.
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 a kind of flow chart of the coding management method and step for laser carving equipment that the embodiment of the present invention 1 is applied;
Fig. 2 is a kind of flow chart of the coding management method and step for laser carving equipment that the embodiment of the present invention 2 is applied;
Fig. 3 is a kind of flow chart of the coding management method and step for laser carving equipment that the embodiment of the present invention 3 is applied;
Fig. 4 is a kind of flow chart of the coding management method and step for laser carving equipment that the embodiment of the present invention 4 is applied;
Fig. 5 is a kind of flow chart of the coding management method and step for laser carving equipment that the embodiment of the present invention 5 is applied;
Fig. 6 is a kind of flow chart of the coding management method and step for laser carving equipment that the embodiment of the present invention 6 is applied;
Fig. 7 is a kind of flow chart of the coding management method and step for laser carving equipment that the embodiment of the present invention 7 is applied;
Fig. 8 is a kind of schematic diagram of the coding management apparatus structure for laser carving equipment that the embodiment of the present invention 8 is applied;
Fig. 9 is the structure diagram for the terminal device that the embodiment of the present invention 9 provides.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Embodiment 1
The embodiment of the present invention provides a kind of coding management method of laser carving equipment, in order to make it easy to understand, please referring to Fig.1.
A kind of coding management method of laser carving equipment provided in an embodiment of the present invention, coding management method include:
Step S10:Obtain the coding solicited message and encoding format information of laser carving equipment;
In step slo, laser carving equipment proposes that coding solicited message is encoded application server to application server, It is proposed that encoding format information makes application server return meet the coding of the encoding format information to application server;For example, it obtains The coding request of laser carving equipment 1 is got, while a kind of coded format of laser carving equipment offer is provided and is:ABC (5) 123, wherein, " ABC " represents Fixed CP, and " (5) " represent 5 serial numbers, the value range of the serial number in 1-99999, be defaulted as 10 into System mends 0 when default number digit is less than 5 in anteposition, and " 123 " are fixed suffix, gets the coding request of laser carving equipment 2, Getting another coded format that laser carving equipment provides is:101 (5) [D], wherein, " 101 " be Fixed CP, " (5) " Represent 5 serial numbers, value range is defaulted as 10 systems in 1-99999, mends 0 in anteposition during 5 bit value digit deficiency, " D " table Show 6 dates.
Step S20:If the encoding format information meets pre-arranged code form, no, then step S30 is performed, is, then is held Row step S40;
In step S20, pre-arranged code form can be user's pre-stored coded format in the application server, example Such as set pre-arranged code form as:It must include parenthesized serial number digit, the coded format of acquisition is judged, if The encoding format information does not include serial number digit, then performs step S30, if met, perform step S40;
Step S30:Error message is returned to the laser carving equipment;Wait for coding request next time.
In step s 30, such as encoding format information does not meet pre-arranged code form:" parenthesized serial number should be included Digit ";And there is no parenthesized serial number digit in the form that laser carving equipment provides, at this time mistake is returned to the laser carving equipment Information is:Serial number digit is undefined.
Step S40:The maximum serial number coding for meeting the pre-arranged code form is searched in the database, according to default volume Code rule carries out coding to the maximum serial number coding and obtains new serial number encoding;
In step s 40, if meeting coded format, according to pre-arranged code rule, in the database search meet prefix, The maximum serial number of serial number digit and suffix encodes;For example, pre-arranged code form is:It must include parenthesized serial number position Number, the form ABC (5) 123 that laser carving equipment 1 provides meet pre-arranged code rule, are provided in the database according to laser carving equipment 1 What coded format found the coding rule of maximum serial number is encoded to ABC00365123;The coded format that laser carving equipment 2 provides [D] also complies with pre-arranged code form for 101 (5), and the coded format provided according to laser carving equipment 2 finds the coding of maximum serial number Rule is encoded to 10100565171201;On maximum serial number basis of coding is found, the new coding rule of acquiescence is preset For:Prefix and suffix are constant, and 1 is added on the basis of a upper serial number, obtain new serial number coding and are respectively ABC00366123、10100566171201。
Step S50:The database is written into for major key by serial number in new serial number coding, when the write-in database During success, the laser carving equipment is sent to by newly encoded.
In step s 50, database is written for major key by serial number in ABC00366123,10100566171201, when writing When entering newly encoded, newly encoded serial number is checked automatically, the serial number weight of the serial number for not allowing this newly encoded and other codings It is multiple;After newly encoded success is written in database, coding ABC00366123,10100566171201 are sent to respectively request coding Laser carving equipment;Laser carving equipment receives newly encoded, beginning laser etching product;After the completion of laser carving, coding request and coding are sent again Rule arrives application server, cycle operation.
A kind of coding management method of laser carving equipment provided in this embodiment asks letter by the coding for obtaining laser carving equipment Breath and encoding format information;Judge that the encoding format information meets pre-arranged code form, it is no, then it is returned to the laser carving equipment Error message;It is the maximum serial number coding for meeting the pre-arranged code form then to be searched in the database, according to pre-arranged code Rule encodes the maximum serial number, obtains new coding;It is major key that new serial number coding is pressed serial number The database is written, when the database success is written, the laser carving equipment is sent to by newly encoded;The method can be more Database is uniquely written in the product coding of platform laser carving equipment laser carving, is uniformly managed, avoid artificial allocated code mistake and Repeated encoding.
Embodiment 2
In embodiment 1, when more laser carving equipment produce same product simultaneously, there may be more laser carving equipment hairs The coding rule for playing coding request and providing is also identical;Such as more than the 3 same product laser carving equipment of production is initiated to compile simultaneously Code request, application server, which runs 3 threads and searches in the database respectively, to be met the maximum of coding rule and is encoded to ABC00365123;What is calculated is next newly encoded for ABC00366123, and 3 threads of application server operation are all to database Newly encoded ABC00366123 is written in request, but only can ask to be written successfully there are one thread, it is therefore desirable to more laser carvings When equipment asks coding simultaneously, the application server request write-in unsuccessful situation of database accounts for.
In order to make it easy to understand, please referring to Fig.2, on the basis of above-described embodiment 1, coding management method further includes:
For step S60. when the write-in database is unsuccessful, unsuccessful number is written in record;
In S60, when there are multiple threads that newly encoded ABC00366123 all is written to database request simultaneously, one is only had A thread is written successfully;When coding has been written to database, when causing to be written unsuccessful, unsuccessful number is written in record.
Step S70. recodes according to pre-arranged code rule to unsuccessful serial number coding is written, after recodification Serial number coding write-in database;
In S70, it is upper once calculate it is newly encoded on the basis of calculate again according to coding rule it is next newly encoded ABC00367123 asks write-in database again.
Step S80. is when the database success is written in the serial number coding after recoding, by the flowing water after recodification Number coding is sent to the laser carving equipment.
In S80, if coding ABC00367123 request write-in database successes, coding ABC00367123 is sent To the laser carving equipment for sending out coding request.
When the serial number coding write-in database after recoding is unsuccessful, return to step S60 is held step S90. Row;
In step S90., when ABC00367123 write-in databases are unsuccessful, back to step S60:Record its write-in Unsuccessful number is 2;Then it is ABC00368123, and database is written to perform S70 and recode;Then S80 is performed, If ABC00368123 is successfully written database success, send newly encoded to laser carving equipment;If this ABC00368123 It is unsuccessful that database is written, again returns to step S60, re-executes, recycled with this, until encoding successfully.
The present embodiment passes through step:Be written the database it is unsuccessful when, unsuccessful number is written in record;According to pre- If coding rule is recoded to unsuccessful serial number coding is written, by the serial number coding write-in data after recodification Library;When the database success is written in the serial number coding after recoding, the serial number coding after recodification is sent to The laser carving equipment;When the serial number coding write-in database after recoding is unsuccessful, returns to the step S60 and hold Row;I.e. after first encoding request failure, repetitive requests, the method for repeated encoding, solves more on the basis of being encoded in last time When laser carving equipment initiates coding request simultaneously, the unsuccessful problem of database is written.
Embodiment 3
In order to make it easy to understand, it please refers to Fig.3.
After step S60., step S100 is further included, on the basis of above-described embodiment 1, coding management method further includes
Step S100. is held when record is written unsuccessful number and is not up to preset times since the step S70 Row;When unsuccessful number, which is written, in record reaches preset times, encodes and fail to the laser carving device prompts.
Step S100:When performing step S60, ABC00366123 is not successfully written database, when record write-in not into The number of work(is 1, without departing from preset times 100, then performs S70:On the basis of ABC00366123, according to coding rule again It is secondary to carry out coding ABC00367123, database is written again;If be written again it is unsuccessful, return again to perform step S60 hold Row, unsuccessful number are 2, without departing from preset times 100, perform S70 again:It is encoded again according to coding rule Database is written in ABC00368123, again request;Until performing the newly encoded ABC00368123 of S80 is successfully written to database; If newly encoded write-in database is unsuccessful, it will is recycled with this, database is successfully written to until newly encoded.
In the step s 100, it is 101 when recording it unsuccessful number is written, it is newly encoded beyond preset times 100 When ABC00465123 cannot still be successfully written to database, it may be possible to other reasons cause database that success cannot be written, Such as Network Abnormal, database are in off-mode etc., even if continue repetitive requests can not be written it is newly encoded;At this moment application clothes Business device prompting failure cause, exits this coding request.
The step of whether unsuccessful number of write-in reaches preset times judged by increasing, avoids applying for the present embodiment Server is constantly asked newly encoded, and database persistently not successfully writes newly encoded situation;It is not more that can exclude in time The request simultaneously of platform laser carving causes write-in database unsuccessful, so as to make a concrete analysis of the write-in unsuccessful reason of database, excludes event Barrier.
Embodiment 4
In order to make it easy to understand, it please refers to Fig.4.
On the basis of embodiment 1, step S10 further includes the work order quantity information for obtaining laser carving equipment, in step S40. Afterwards, it further includes and judges whether new serial number coding is more than work order quantity, be to perform S30, it is no, then perform the step S50.
Such as ABC (5) 123QT30000, represent that work order total amount is 30000, the serial number in newly encoded ABC00366123 It is 366, without departing from then by the newly encoded write-in database ABC00366123QT30000 compared with total amount 30000.
Assuming that after production continues for some time, the newly encoded of application server calculating is ABC30001123, with order total amount 30000 compared to having exceeded, then returns to error message " beyond order total amount " to laser carving equipment, wait for coding request next time.
The present embodiment effectively prevents excess by increasing the step of being compared the serial number of coding and work order total amount Production.
Embodiment 5
In order to make it easy to understand, please refer to Fig. 5.
On the basis of embodiment 1, step S10 is further included:Obtain the additional information of laser carving equipment;
Step S50 is further included:By serial number the database is written into, while by described in for major key in new serial number coding Additional information corresponds to write-in database;When the database success is written, the laser carving equipment is sent to by newly encoded.
After the completion of laser etching product, it is sometimes desirable to which the information such as the work order of product, batch, total amount, market, client are chased after It traces back, only number is not enough to record these information;It can simultaneously be carried when laser carving equipment sends out coding request to application server For additional information, such as the work order number of ERP system, the information such as batch, total amount.
As a kind of embodiment, the additional information that laser carving equipment provides can be located in encoding format information;Such as it compiles Code format information is (5) 123@GD222 of ABC, represents that product belongs to work order GD222, searches meet coding rule in the database Maximum serial number coding ABC00365123;Obtain it is newly encoded for ABC00366123, will be described newly encoded when database is written Simultaneously by additional information and newly encoded corresponding write-in ABC00365123@GD222.Data base querying can also be passed through at any time in this way The current production quantity situation of arbitrary order can also easily know that the product belongs to that batch of order by coding.
The step of the present embodiment by additional information correspondence by being stored in database, can provide system for later stage work order data Function is counted, tracing information is provided for product.
Embodiment 6
In order to make it easy to understand, please refer to Fig. 6.
On the basis of embodiment 1, step S10 further includes the serial number binary information for obtaining laser carving equipment;
Step S40 is specifically included:
The maximum serial number coding for meeting the pre-arranged code form is searched in the database, when judgement binary information is not When giving tacit consent to system, by the maximum serial number code conversion into the acquiescence system, according to pre-arranged code rule to transformed Maximum serial number is encoded, and obtains new serial number coding, then by the new code conversion to meet the flowing water The coding of number system.
In step slo, as a kind of embodiment, the serial number binary information that laser carving equipment provides can be located at coding In format information, for example, when the coded format that laser carving equipment provides is ABC (5) 123 { 36 }, wherein, { 36 } are serial number system Information gets 36 system of use of serial number from { 36 };It finds in the database and meets coded format ABC (5) 123 { 36 } maximum is encoded to ABC0000K123, and it is not acquiescence system to judge system, then by the maximum serial number code conversion into 10 systems of acquiescence
ABC00020123, acquisition is next to be encoded to ABC00021123, then be converted into 36 systems ABC0000L123, then database is written into for major key by serial number in it, when the database success is written, by newly encoded hair Give laser carving equipment.
The step of the present embodiment is by judging system and conversion system, can meet the different demands to serial number system.
Embodiment 7
In order to make it easy to understand, please refer to Fig. 7.
On the basis of embodiment 6, S10 steps further include:Obtain character to be removed in laser carving equipment serial number.
It is to meet the coding of the serial number system to further include by new code conversion in S40 steps:
According to character to be removed in the serial number, removal includes the coding of character to be removed.
As a kind of embodiment, the serial number binary information that laser carving equipment provides further includes character to be removed, works as radium It is ABC (5) 123 { 36-O } to carve the coded format that equipment provides, wherein, " O " is character to be removed in serial number, in database In the maximum that finds be encoded to ABC0000N123, it is not acquiescence system to judge system, newly encoded according to pre-arranged code rule to be ABC0000O123, since " O " is character to be removed in serial number, so removing this character;It, can as a kind of embodiment To postpone on the basis of the English character using character late, it is encoded to for example, postponing using next ABC0000P123;Regular expression can also be used, such as " Number Like'[A-Z] ' and Number like'^O' ", by word It accords with " O " to exclude, so as to obtain next coding ABC0000P123;Database is written for major key by serial number by newly encoded again, when When the database success is written, laser carving equipment is sent to by newly encoded.
The step of the present embodiment is removed by the flowing water sign character removed to needs, applied to in flowing water sign character Digital " 0 " and alphabetical " O ", digital " 1 " and alphabetical " I " etc. easily obscure needs remove coding middle part shunting water sign character or its His situation needs to remove the situation of coding middle part shunting water sign character.
Embodiment 8
The present embodiment provides a kind of coding managing device of laser carving equipment, as shown in figure 8, including:
Laser carving EM equipment module, for sending out coding solicited message, encoding format information to application server module;
Application server module judges that the encoding format information that laser carving EM equipment module is sent out meets pre-arranged code form, no, Then error message is returned to the laser carving equipment;It is then to perform to search in the database to meet the pre-arranged code form most Big serial number coding encodes the maximum serial number according to pre-arranged code rule, obtains new coding;It will be new The database is written for major key by serial number in serial number coding, when the database success is written, is sent to newly encoded The laser carving equipment;
Database module, for receiving the request of application server newly encoded write-in database;To be written newly encoded is No successful information returns to application server.
Laser carving EM equipment module may include the more laser carving equipment for being distributed in factory's difference workshop, laser carving equipment and application service Device is connected, and current laser carving equipment and technology can meet using Socket sockets and Mutli-thread Programming Technology, and use TCP/IP realizes communication;Application server module may include multiple servers end, be connect with laser carving equipment and database server; 2008 versions of SQL Server or more server can be used in database module, this server can meet more than one hundred million row data-levels Fast reaction requirement.
The specific work process of module in above device can refer to the corresponding process in preceding method embodiment, herein It repeats no more.
Embodiment 9
Another embodiment of the application provides a kind of computer readable storage medium, is stored on the computer readable storage medium There is computer-readable instruction, which realizes the volume of the laser carving equipment in above-described embodiment when being executed by processor Code management method is repeated to avoid, and which is not described herein again.Alternatively, on being realized when the computer-readable instruction is executed by processor The function of each module/unit in the coding managing device of laser carving equipment in embodiment is stated, is repeated to avoid, which is not described herein again.
Fig. 9 is the schematic diagram of terminal device in the present embodiment.As shown in figure 9, terminal device 6 includes processor 60, storage Device 61 and it is stored in the computer-readable instruction 62 that can be run in memory 61 and on processor 60.Processor 60 performs meter Each step of the coding management method of laser carving equipment in above-described embodiment is realized during calculation machine readable instruction 62, such as shown in Fig. 1 Step S10, S20, S30, S40 and S50.Alternatively, processor 60 realizes above-described embodiment when performing computer-readable instruction 62 The function of each module/unit of coding managing device of middle laser carving equipment, laser carving EM equipment module as shown in Figure 8, application server The function of module and database module.
Illustratively, computer-readable instruction 62 can be divided into one or more module/units, one or more Module/unit is stored in memory 61, and is performed by processor 60, to complete the data handling procedure of the application.One Or multiple module/units can be the series of computation machine readable instruction section that can complete specific function, which is used to retouch State implementation procedure of the computer-readable instruction 62 in terminal device 6.For example, computer-readable instruction 62 can be divided into radium Carve EM equipment module, application server module and database module.
The terminal device 6 can be the computing devices such as desktop PC, notebook, palm PC and cloud server. Terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 9 is only The example of terminal device 6 does not form the restriction to terminal device 6, can include than illustrate more or fewer components or Combine certain components or different components, for example, terminal device can also include input-output equipment, network access equipment, Bus etc..
Alleged processor 60 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.
Memory 61 can be the internal storage unit of terminal device 6, such as the hard disk or memory of terminal device 6.Storage Device 61 can also be the plug-in type hard disk being equipped on the External memory equipment of terminal device 6, such as terminal device 6, intelligent storage Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc.. Further, memory 61 can also both include the internal storage unit of terminal device 6 or including External memory equipment.Memory 61 other programs and data for storing computer-readable instruction and needed for terminal device.Memory 61 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 To be that each unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated 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 not limited to the protection domain of the application also only to facilitate mutually distinguish.Above system The specific work process of middle unit, module can refer to the corresponding process in preceding 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 each exemplary lists described with reference to the embodiments described herein 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 performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, 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 can have other dividing mode in actual implementation, such as Multiple units or component may be combined or can be integrated into another system or some features can be ignored or does not perform.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or the INDIRECT COUPLING of unit or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to 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 application can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a 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 realized in the form of SFU software functional unit and be independent product sale or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete by computer-readable instruction, described Computer-readable instruction can be stored in a computer readable storage medium, which holds by processor During row, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer-readable instruction includes computer-readable instruction Code, the computer-readable instruction code can be source code form, object identification code form, executable file or certain centres Form etc..The computer-readable medium can include:Can carry the computer-readable instruction code any entity or Device, recording medium, USB flash disk, mobile hard disk, magnetic disc, 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 the content that includes of the computer-readable medium can be according to making laws in jurisdiction Appropriate increase and decrease is carried out with the requirement of patent practice, such as in certain jurisdictions, according to legislation and patent practice, computer It is electric carrier signal and telecommunication signal that readable medium, which does not include,.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to aforementioned reality Example is applied the application is described 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 modifies or carries out equivalent replacement to which part technical characteristic;And these are changed Or replace, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Within the protection domain of the application.

Claims (10)

1. a kind of coding management method of laser carving equipment, which is characterized in that the coding management method includes the following steps:
Step A. obtains the coding solicited message and encoding format information of laser carving equipment;
Step B. judges that the encoding format information meets pre-arranged code form, no, then performs step C, be, then perform step D;
Step C. returns to error message to the laser carving equipment;
Step D. searches the maximum serial number coding for meeting the pre-arranged code form in the database, according to pre-arranged code rule The maximum serial number is encoded, obtains new serial number coding;
The database is written for major key by serial number in new serial number coding by step E., when the write-in database success When, it is sent to the laser carving equipment by newly encoded.
2. coding management method according to claim 1, which is characterized in that further included after the step E:
For step F. when the write-in database is unsuccessful, unsuccessful number is written in record;
Step G. recodes according to pre-arranged code rule to unsuccessful serial number coding is written, by the flowing water after recodification Number coding write-in database;
Step H. encodes the serial number after recodification when the database success is written in the serial number coding after recoding It is sent to the laser carving equipment.
Step I. returns to the step F and performs when the serial number coding write-in database after recoding is unsuccessful.
3. coding management method according to claim 2, which is characterized in that further included after the step F:
Step J. returns to the step G and starts to perform when record is written unsuccessful number and is not up to preset times;Work as record When unsuccessful number is written reaching preset times, encode and fail to the laser carving device prompts.
4. coding management method according to claim 1, which is characterized in that the step A is further included:Obtain laser carving equipment Work order quantity information;
It is further included after the step D:
Judge whether new serial number coding is more than the work order quantity, is then to perform the step E, it is no, then perform the step Rapid E.
5. coding management method according to claim 1, which is characterized in that the step A is further included:Obtain laser carving equipment Additional information;
The step E includes:
By serial number the database is written into for major key, while the additional information is corresponded to write-in number in new serial number coding According to library;When database success is written, newly encoded the laser carving equipment is sent to by described.
6. coding management method according to claim 1, which is characterized in that the step A is further included:Obtain laser carving equipment Serial number binary information;
The step D includes:
The maximum serial number coding for meeting the pre-arranged code form is searched in the database, when judgement binary information is not acquiescence During system, by the maximum serial number code conversion into the acquiescence system, according to pre-arranged code rule to transformed maximum Serial number is encoded, and obtains new serial number coding, then by the new code conversion for meet the serial number into The coding of system.
7. coding management method according to claim 6, which is characterized in that the step A is further included:Obtain laser carving equipment Character to be removed in serial number;
It is to meet the coding of the serial number system to further include by the new code conversion in the step D:
According to character to be removed in the serial number, removal includes the coding of character to be removed.
8. a kind of coding managing device of laser carving equipment, which is characterized in that including with lower module:
Laser carving EM equipment module, for sending out coding solicited message, encoding format information;
Application server module, judges whether the encoding format information meets pre-arranged code form, no, then is set to the laser carving It is standby to return to error message;It is then to perform to search the maximum serial number coding for meeting the pre-arranged code form, root in the database The maximum serial number is encoded according to pre-arranged code rule, obtains new coding;By new serial number coding by stream The database is written for major key in water number, and when the database success is written, the laser carving equipment is sent to by newly encoded;
Database module, for receiving the request of application server newly encoded write-in database;To be written it is newly encoded whether into The information of work(returns to application server.
9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 8 when performing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 8 the method.
CN201711326596.4A 2017-12-13 2017-12-13 Code management method and device of laser etching equipment, equipment and storage medium Active CN108255946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711326596.4A CN108255946B (en) 2017-12-13 2017-12-13 Code management method and device of laser etching equipment, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711326596.4A CN108255946B (en) 2017-12-13 2017-12-13 Code management method and device of laser etching equipment, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108255946A true CN108255946A (en) 2018-07-06
CN108255946B CN108255946B (en) 2020-08-14

Family

ID=62722673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711326596.4A Active CN108255946B (en) 2017-12-13 2017-12-13 Code management method and device of laser etching equipment, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108255946B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111985185A (en) * 2019-05-21 2020-11-24 广州汽车集团股份有限公司 Circuit board code generation method and device, computer equipment and storage medium
CN113642938A (en) * 2021-10-13 2021-11-12 江苏宽程装备科技有限公司 Intelligent production management method and system
CN113723915A (en) * 2021-08-19 2021-11-30 中核武汉核电运行技术股份有限公司 Nuclear power plant business form encoding method, device, equipment and readable storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047715A (en) * 2007-01-18 2007-10-03 宝丽雅智能系统(深圳)有限公司 Data communication coding method
CN101226609A (en) * 2007-01-18 2008-07-23 中国科学院自动化研究所 Multi-information segmenting electronic encoding method
CN101414351A (en) * 2008-11-03 2009-04-22 章毅 Fingerprint recognition system and control method
CN101795342A (en) * 2010-02-23 2010-08-04 深圳市公共防伪技术与材料科学研究院 Screen coding anti-counterfeiting method
CN101826087A (en) * 2009-03-02 2010-09-08 中兴通讯股份有限公司 Configuration device and method of coding information data
CN101950305A (en) * 2010-09-30 2011-01-19 浙江工商大学 Method and system for organizing business demonstration data of supply chain network
CN102098175A (en) * 2011-01-26 2011-06-15 浪潮通信信息系统有限公司 Alarm association rule obtaining method of mobile internet
CN102279847A (en) * 2011-08-17 2011-12-14 瑞斯康达科技发展股份有限公司 Method and device for internationalizing software system
CN102602127A (en) * 2012-03-09 2012-07-25 方平 Blue-violet laser carving system and engraving method thereof
US20140209686A1 (en) * 2011-10-06 2014-07-31 AI Cure Technologies, Inc. Method and Apparatus for Identification
CN105183794A (en) * 2015-08-24 2015-12-23 用友网络科技股份有限公司 Business serial number generation apparatus and method
CN105894182A (en) * 2016-03-29 2016-08-24 信码互通(北京)科技有限公司 Method for detecting identification code tagging quality of large-breadth printing material
US20160351508A1 (en) * 2015-05-27 2016-12-01 Texas Instruments Incorporated Creating Unique Device Identification For Semiconductor Devices
CN106274070A (en) * 2015-05-29 2017-01-04 大族激光科技产业集团股份有限公司 A kind of utilize the laser technology device and method to glass feeding bottle labelling
CN107426591A (en) * 2017-07-11 2017-12-01 深圳前海茂佳软件科技有限公司 Video management method, TV and computer-readable recording medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047715A (en) * 2007-01-18 2007-10-03 宝丽雅智能系统(深圳)有限公司 Data communication coding method
CN101226609A (en) * 2007-01-18 2008-07-23 中国科学院自动化研究所 Multi-information segmenting electronic encoding method
CN101414351A (en) * 2008-11-03 2009-04-22 章毅 Fingerprint recognition system and control method
CN101826087A (en) * 2009-03-02 2010-09-08 中兴通讯股份有限公司 Configuration device and method of coding information data
CN101795342A (en) * 2010-02-23 2010-08-04 深圳市公共防伪技术与材料科学研究院 Screen coding anti-counterfeiting method
CN101950305A (en) * 2010-09-30 2011-01-19 浙江工商大学 Method and system for organizing business demonstration data of supply chain network
CN102098175A (en) * 2011-01-26 2011-06-15 浪潮通信信息系统有限公司 Alarm association rule obtaining method of mobile internet
CN102279847A (en) * 2011-08-17 2011-12-14 瑞斯康达科技发展股份有限公司 Method and device for internationalizing software system
US20140209686A1 (en) * 2011-10-06 2014-07-31 AI Cure Technologies, Inc. Method and Apparatus for Identification
CN102602127A (en) * 2012-03-09 2012-07-25 方平 Blue-violet laser carving system and engraving method thereof
US20160351508A1 (en) * 2015-05-27 2016-12-01 Texas Instruments Incorporated Creating Unique Device Identification For Semiconductor Devices
CN106274070A (en) * 2015-05-29 2017-01-04 大族激光科技产业集团股份有限公司 A kind of utilize the laser technology device and method to glass feeding bottle labelling
CN105183794A (en) * 2015-08-24 2015-12-23 用友网络科技股份有限公司 Business serial number generation apparatus and method
CN105894182A (en) * 2016-03-29 2016-08-24 信码互通(北京)科技有限公司 Method for detecting identification code tagging quality of large-breadth printing material
CN107426591A (en) * 2017-07-11 2017-12-01 深圳前海茂佳软件科技有限公司 Video management method, TV and computer-readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111985185A (en) * 2019-05-21 2020-11-24 广州汽车集团股份有限公司 Circuit board code generation method and device, computer equipment and storage medium
CN113723915A (en) * 2021-08-19 2021-11-30 中核武汉核电运行技术股份有限公司 Nuclear power plant business form encoding method, device, equipment and readable storage medium
CN113642938A (en) * 2021-10-13 2021-11-12 江苏宽程装备科技有限公司 Intelligent production management method and system
CN113642938B (en) * 2021-10-13 2021-12-10 江苏宽程装备科技有限公司 Intelligent production management method and system

Also Published As

Publication number Publication date
CN108255946B (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN106777644B (en) Automatic generation method and device for power plant identification system code
CN108255946A (en) Coding management method and device, equipment and the storage medium of a kind of laser carving equipment
CN111599013B (en) Method for quickly constructing three-dimensional scene of transformer substation and related device
CN109508355A (en) A kind of data pick-up method, system and terminal device
CN111124917B (en) Method, device, equipment and storage medium for managing and controlling public test cases
CN109697109A (en) A kind of method, system, device and the storage medium of Division identification conflict virtual machine
CN112669110A (en) Server label management method and related equipment
CN108376171A (en) Method, apparatus, terminal device and the storage medium that big data quickly introduces
CN109684033A (en) Cloud platform bare machine management method, storage medium, electronic equipment and system
CN115329759B (en) Information processing method, device, equipment and storage medium
CN107885781A (en) A kind of method for edition management and system
CN109271564B (en) Policy query method and device
JP2004021411A (en) Access right supervising device and access right management program
CN113695752A (en) Marking control method and device, nonvolatile storage medium and processor
CN109885555B (en) User information management method and device
CN110266825A (en) A kind of virtual-number generation method and device
CN112433783A (en) Configuration method and related equipment
CN111026705A (en) Building engineering file management method, system and terminal equipment
CN108595924A (en) A kind of service authority management method, device, computer equipment and storage medium
CN113434359B (en) Data traceability system construction method and device, electronic device and readable storage medium
CN115658968A (en) Service data number making method and device, electronic equipment and readable storage medium
CN114785847B (en) Network control software development configuration method, terminal and storage medium
CN108255490A (en) A kind of processing method and processing device of hard coded
CN115936600A (en) Intelligent design task approval method and device
CN111754207A (en) Process instance management method and device, computer equipment and readable 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