CN109062587A - The burning management method and device of programming system and its server - Google Patents

The burning management method and device of programming system and its server Download PDF

Info

Publication number
CN109062587A
CN109062587A CN201810896914.9A CN201810896914A CN109062587A CN 109062587 A CN109062587 A CN 109062587A CN 201810896914 A CN201810896914 A CN 201810896914A CN 109062587 A CN109062587 A CN 109062587A
Authority
CN
China
Prior art keywords
burning
identity
client
server
identity coding
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.)
Pending
Application number
CN201810896914.9A
Other languages
Chinese (zh)
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.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information Technology Co Ltd
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 Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN201810896914.9A priority Critical patent/CN109062587A/en
Publication of CN109062587A publication Critical patent/CN109062587A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of burning management method and its device based on programming system server, programming system includes server, client and cd-rom recorder;This method comprises: saving the burning firmware for being used to control burning process to the firmware databases of server;Several identity codings to burning are successively saved to the identity database of server;After receiving the burning request that client is sent, burning firmware is run;It calls corresponding identity coding to be sent to client, identity coding is sent to cd-rom recorder for client and carries out equipment burning.The case where present invention automatically selects identity coding by server foundation client request the case where being sent to client, reduce identity coding input error as far as possible and misses ID number, improves the accuracy of equipment burning, reduces the loss of client.The invention also discloses a kind of programming systems based on the above method.

Description

The burning management method and device of programming system and its server
Technical field
The present invention relates to equipment burning technical fields, more particularly to a kind of burning management based on programming system server Method and device thereof.The invention further relates to a kind of programming systems.
Background technique
With the development of cloud, more and more equipment need to connect the application to realize cloud service with cloud platform, Equipment connect cloud platform when, cloud platform needs to verify whether the equipment is legitimate device, and determine whether legitimate device according to According to being that whether burning has true ID number in the equipment, with this condition, equipment is wanted then to be required to if connection cloud platform Carry out the burning of ID number.
And the mode of the burning of current equipment, it is to connect cd-rom recorder with client, burning will be placed in recording device In device, the ID number to burning is manually entered in client later.Under this mode, manual record and input ID number are needed, no Only burning low efficiency, and the case where there are input errors or situations such as missing ID number, error rate is high, causes the loss of client.
Therefore, how to provide a kind of low error rate, high-efficient burning management method based on programming system server and Its device and a kind of programming system are the current problems to be solved of those skilled in the art.
Summary of the invention
The object of the present invention is to provide a kind of burning management methods and its device based on programming system server, by servicing The case where device automatically selects identity coding according to client request and is sent to client, reduces identity coding input error as far as possible And the case where missing ID number, the accuracy of equipment burning is improved, the loss of client is reduced;It is another object of the present invention to mention For a kind of programming system based on the above method.
In order to solve the above technical problems, the present invention provides a kind of burning management method based on programming system server, The programming system includes server, client and cd-rom recorder;The described method includes:
The burning firmware for being used to control burning process is saved to the firmware databases of the server;
Several identity codings to burning are successively saved to the identity database of the server;
After receiving the burning request that the client is sent, the burning firmware is run;
It calls corresponding identity coding to be sent to the client, the identity coding is sent to institute for the client It states cd-rom recorder and carries out equipment burning.
It preferably, include ID number and sequencing numbers in the identity coding;
Several described identity codings to burning are in the identity database according to self-contained sequencing numbers Sequence successively saves.
Preferably, it is stored to several described identity codings of burning in the identity database with tabular form.
Preferably, the identity coding is corresponding with number state, and the number state includes shape in non-program state, burning State and program state.
Preferably, further includes:
The identity coding of burning is periodically transferred to burning to complete in database.
Preferably, the identity coding to burning is saved to before the server further include:
It inquires in the identity database and whether preserves body identical with ID number in current identity coding to be saved Part coding, and if it exists, it then abandons storing the current identity coding to be saved, it if it does not exist, will be described current to be saved Identity coding is saved to the identity database.
Preferably, the ID number is specially ID number.
In order to solve the above technical problems, the present invention also provides a kind of, the burning management based on programming system server is filled It sets, the programming system includes server, client and cd-rom recorder;Described device includes:
Firmware import modul, for saving the burning firmware for being used to control burning process to the firmware number of the server According in library;
Identity import modul, for successively saving several identity codings to burning to the identity number of the server According in library;
Receiving module runs the burning firmware after receiving the burning request that the client is sent;
Sending module, for calling corresponding identity coding to be sent to the client, for the client by the body Part coding is sent to the cd-rom recorder and carries out equipment burning.
In order to solve the above technical problems, the present invention also provides a kind of programming system, including server, client and burning Record device;The server includes:
Memory, for storing computer program;
Processor realizes the step of the burning management method as described in any of the above item when for executing the computer program Suddenly.
The present invention provides a kind of burning management method and its device based on programming system server, wrapped in programming system Include server, client and cd-rom recorder, server saves firmware for controlling burning process and more in own database It is a after the identity coding of burning, once the burning of the client received is requested, then select a non-burning identity coding It is sent to client, cd-rom recorder is sent it to by client and carries out burning.As long as it can be seen that the present invention by identity coding save to After server, server can automatically select identity coding according to the request of client and be sent to client, and then to the body Part coding carries out burning, and staff is no longer needed to input the identity coding to burning in client manually every time, reduces The workload of staff, improves work efficiency;Also, artificial mode is compared, server selects identity coding to send Mode, the case where reducing identity coding input error as far as possible and the case where miss ID number, improve equipment burning Accuracy reduces the loss of client as far as possible.The present invention also provides a kind of programming systems based on the above method, it may have Above-mentioned advantage, details are not described herein.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of structural schematic diagram of programming system provided by the invention;
Fig. 2 is a kind of flow chart of the process of the burning management method based on programming system server provided by the invention;
Fig. 3 is a kind of process of the process of the parallel programming management method based on programming system server provided by the invention Figure;
Fig. 4 is the process of the process of another burning management method based on programming system server provided by the invention Figure;
Fig. 5 is a kind of flow chart of the process of the approaches to IM based on programming system server provided by the invention;
Fig. 6 is a kind of flow chart of the process of the burning management method based on programming system client provided by the invention;
Fig. 7 is a kind of flow chart of the process of the test method of programming system provided by the invention;
Fig. 8 is a kind of structural schematic diagram of the burning managing device based on programming system server provided by the invention.
Specific embodiment
Core of the invention is to provide a kind of burning management method and its device based on programming system server, by servicing The case where device automatically selects identity coding according to client request and is sent to client, reduces identity coding input error as far as possible And the case where missing ID number, the accuracy of equipment burning is improved, the loss of client is reduced;Another core of the invention is to mention For a kind of programming system based on the above method.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It include server, client and cd-rom recorder the present invention provides a kind of programming system.Shown in Figure 1, Fig. 1 is A kind of structural schematic diagram of programming system provided by the invention.
Wherein, cd-rom recorder 20 is the device for carrying out burning to equipment, will be placed into cd-rom recorder 20 to recording device 10 Afterwards, by cd-rom recorder 20 by identity coding be burned onto in recording device 10 and display burning result.
30 both ends of client are separately connected cd-rom recorder 20 and server 40, and client 30 is in connection cd-rom recorder 20 Afterwards, it sends burning to request to obtain identity coding to server 40, the identity coding that server 40 returns is sent to burning later Device 20 is recorded, is burned by cd-rom recorder 20 in recording device 10.
Rear end of the server 40 as programming system, storage inside have the firmware for controlling entire burning process and several A identity coding, for server 40 for being managed to the identity coding that it is stored, specific management process, which is included in, receives visitor After the burning request that family end 30 is sent, the identity coding of non-burning is selected to be sent to client 30.
Server 40 includes:
Memory 402, for storing computer program;
Processor 401, when for executing computer program below realization the step of any burning management method.
Based on the programming system, in large number of equipment when burning, staff does not need artificially to input identity one by one It numbers to client 30, but the identity coding of the non-burning prestored can be obtained out of server 40 automatically by client 30, no Workload is only reduced, and is avoided as much as possible error when artificial input, improves the accuracy and efficiency of equipment burning.
Based on above-mentioned programming system, burning management method provided by the invention is as follows.
Shown in Figure 2, Fig. 2 is a kind of mistake of the burning management method based on programming system server provided by the invention The flow chart of journey.The method comprising the steps of s101 to step s104.
Step s101: the burning firmware for being used to control burning process is saved to the firmware databases of server 40.
It is understood that needing to preset burning firmware in order to control entire burning process, being saved in burning firmware There is the program for controlling burning process.
Step s102: several identity codings to burning are successively saved to the identity database of server 40.
Identity coding to burning is pre-saved to identity database, be in order to make subsequent burning during, receive visitor It after family end 30 is requested, can call directly, and staff is no longer needed to be manually entered every time, to improve subsequent burning The efficiency of process.
Also, if uniformly being saved identity coding, staff can be facilitated uniformly to look into identity coding It tests, reduces identity coding and leak the possibility deposited.
Step s103: after receiving the burning request that client 30 is sent, burning firmware is run.
Burning firmware is only run, burning program just will start, and server 40 just will do it subsequent action.And client 30 only connection cd-rom recorder 20, and on cd-rom recorder 20 connection after recording device 10, client 30 can just send burning request to Server 40.
Step s104: calling corresponding identity coding to be sent to client 30, is sent to identity coding for client 30 Cd-rom recorder 20 carries out equipment burning.
Client 30 is connected with cd-rom recorder 20, is connected on cd-rom recorder 20 to recording device 10, cd-rom recorder 20 receives visitor Family end 30 return identity coding after, identity coding can be burned onto itself connection on recording device 10.
Wherein, client 30 can be set are as follows: detect that connected cd-rom recorder 20 is placed with after recording device 10 i.e. It is automatic to send burning and request to server 40, or may be alternatively provided as sending burning request after user's triggering, the present invention to this not It limits.
In another embodiment, " creation task " and " uploading identity coding " two can also be set on server 40 A button triggers two buttons by user to generate corresponding instruction, to trigger burning process when needing to carry out burning. Its detailed process are as follows: user needs burning identity coding, then firstly the need of click " uploading identity coding ", then server 40 can be rung Should after the click commands in server 40 create identity database come save user upload several identity coding contents, User clicks " creation task " again later, and the quantity of the identity coding of required burning is arranged, and select " no in firmware type Burning firmware ".Certainly, if it is desired to when burning identity coding, identity database has been had existed in server 40, then it can be direct It clicks " creation task " and no longer needs to carry out identity coding upload operation.In addition, in partial picture, user may need by In the firmware burning to equipment saved in server 40, firmware burning is carried out at this time, then can click " creation task ", and solid " burning firmware " is selected in part type, then server 40 can be in response to leading to the firmware saved in server 40 after the click commands It crosses client 30 and is sent to the progress burning of cd-rom recorder 20.
It is understood that since identity coding may manage for convenience, comprising many types preferably by inhomogeneity The identity coding of type is saved respectively into different data pools.
In this case, in an advantageous embodiment, when client 30 sends burning and requests to server 40, service Device 40 can select the data pool of a certain type first, and after receiving burning request, always from this selected data pool In take identity coding, until in the data pool after the completion of identity coding whole burning, the another type of number of 40 reselection of server According to pond, or wait new identity coding to be uploaded.
In this embodiment, since whole identity codings in same type of data pool are carried out continuously burning, because This its recordable time is successively ranked up, in this case, server 40 to the burning details of each identity coding into After row record, when staff carries out record queries, the whole burning situation in each data pool can be more easily learnt, with And in each data pool each identity coding burning situation, more convenient staff is managed.
Preferably, it is stored to several identity codings of burning in identity database with tabular form.
It is understood that using tabular form since each identity coding is individually present, being saved in each table If one identity coding, not only facilitate the calling of identity coding, and conveniently identity coding is ranked up, screen and is searched. Certainly, in other embodiments, can also carry out storage identity coding, such as textual form with alternative document, the present invention to this not It is particularly limited.
In addition, being counted for convenience, settable identity coding statistical form, for counting identity when saving identity coding The sum of coding and the number of non-burning.And since identity coding is there is also multiple types, carrying out above-mentioned statistics When can also be counted respectively according to the type of identity coding.For example, if identity coding is ID number, the type packet of ID number Include mac, id2, fogid, sds, aws, IOT external member, fly swallow ID etc., then it is exemplified by Table 1, table 1 is in a kind of specific embodiment Identity coding statistical form:
Identity coding statistical form in a kind of specific embodiment of table 1
Statistics mac id2 fogid sds aws IOT external member Fly swallow ID
Sum 0 0 4 50 0 0 0
Remainder 0 0 0 50 0 0 0
Certainly, the above is only a kind of specific embodiment, the present invention does not limit the concrete type and identity of identity coding The specific format of encoding statistics table.
Further, in a preferred embodiment, it is arranged on the identity coding statistical form that can also be arranged in server 40 The export button for corresponding respectively to every kind of identity coding, when recording device 10 exist at one's side type of coding require when, can be by work Make personnel by triggering corresponding export button, come control server 40 send corresponding types non-burning identity coding to visitor Family end 30 carries out burning for cd-rom recorder 20.For example, if requiring the identity coding of only burning sds type to recording device 10, this When staff can trigger the corresponding export button of sds type, later server 40 in response to user trigger, one can be selected The identity coding of the non-burning of sds type is sent to client 30.In this way, staff can be facilitated to exist in client When specific demand, identity coding transmitted by artificial control server 40.
Also, due in practical applications, in fact it could happen that 30 failure of client leads to cd-rom recorder 20, client 30 and service Communication goes wrong between device 40, so that certain identity codings can not determine whether burning success in server 40, at this In the preferred embodiment of invention, in this case, server 40 can be enabled to suspend the transmission of these identity codings, server 40 is next After receiving burning request, the identity coding that these identity codings send other non-burnings can be skipped, in order to avoid these identity The waste of coding, the present invention can pass through export mentioned above after staff confirms the burning situation of these identity codings Button, the artificial identity coding by wherein non-burning are sent in client 30, are burnt, are subtracted so as to avoid the leakage of identity coding Small cost waste.
Preferably, this method further include:
The identity coding of burning is periodically transferred to burning to complete in database.
It is understood that in large numbers of situations of identity coding in identity database, every time from identity data It selects to be required to largely search screening operation when identity coding in library, influences replication rate, and periodically by burning After identity coding is transferred to burning completion database, as the identity coding quantity in identity database can be avoided excessive as possible, from And the screening time of identity coding is shortened to a certain extent.
The present invention provides a kind of burning management methods based on programming system server, and server is in own database It saves for controlling the firmware of burning process and multiple after the identity coding of burning, once the burning of the client received Request then selects the identity coding of a non-burning to be sent to client, sends it to cd-rom recorder by client and carries out burning. As long as server can be automatically selected according to the request of client as it can be seen that the present invention saves identity coding to server Identity coding is sent to client, and then carries out burning to the identity coding, and no longer needs staff every time manually in visitor Identity coding of the input to burning, reduces the workload of staff, improves work efficiency in the end of family;Also, compare people The mode of work, the mode that server selects identity coding to send, the case where reducing identity coding input error as far as possible and The case where missing ID number improves the accuracy of equipment burning, reduces the loss of client as far as possible.
Exist largely when recording device 10, completes again the mode of another equipment of burning according to a burning Words, then can make burning process duration too long, and in order to improve burning efficiency, the present invention provides one kind to be taken based on programming system The parallel programming method of business device 40, i.e. more clients 30 are all connected with server 40, and it is indefinite that every client 30 is connected with quantity Cd-rom recorder 20, to reduce whole recordable time.Shown in Figure 3, Fig. 3 is provided by the invention a kind of based on programming system The flow chart of the process of the parallel programming management method of server;This method comprises:
The process of step s103 specifically:
Step s103A: the burning request that each client 30 is sent successively is received, and runs burning firmware;
During parallel programming, usual server 40 is connected with multiple servers 40.
The process of step s104 specifically:
Step s104A: it according to the sequencing for receiving burning request, successively calls out of identity database and does not burn accordingly The identity coding of record is sent to each client 30;Corresponding identity coding is sent in cd-rom recorder 20 for client 30 and is carried out Equipment burning.
It is understood that if server 40 is simultaneously using the burning request of multiple task parallelisms processing client 30 Words, it is possible that the case where same identity coding of 40 simultaneous selection of server is sent to client 30, makes multiple to burning In equipment 10 the case where burning same identity coding, i.e. reheating, the reliability of burning is influenced.Therefore, it is necessary to successively call not The identity coding of burning is sent to each client 30.
It is further known that 20 numbers of cd-rom recorder docked in burning request request comprising client 30;It is burnt correspondingly, receiving After record request, the identity coding of the non-burning of quantity identical as 20 numbers of cd-rom recorder is called to be sent to client out of identity database End 30.
It is understood that in the present embodiment, 20 numbers of the cd-rom recorder of parallel programming, allow every in order to further increase Multiple cd-rom recorders 20 are connected in a client 30, i.e. cd-rom recorder 20 in client 30 is also parallel programming, this setup The quantity of client 30 can be reduced as far as possible, to reduce burning system while guaranteeing multiple 20 parallel programmings of cd-rom recorder The overall cost of system.
But, due to the limitation that 30 memory size of client and interface are arranged, client 30 unconfined cannot increase The number of the cd-rom recorder 20 of itself connection, the number for the cd-rom recorder 20 that each client 30 connects need to be no more than in itself carrying Limit, and the number of the cd-rom recorder 20 of the connection of each client 30 can be the same or different, the present invention does not limit each client The number of the cd-rom recorder 20 of 30 connection of end.
When carrying out equipment burning, each identity coding is required to client and pays the bill to buy, and therefore, (has body if leakage occur and burning Part coding is not burned onto equipment) and the case where reheating (same identity coding is burned onto multiple equipment), then not only can The loss of client is caused, and the equipment that will lead to burning completion also can not normally log in cloud platform.
The case where reheating leakage is burnt in order to prevent, based on above each embodiment, the present invention also provides a kind of specific implementations Example, the identity coding are corresponding with number state, and the number state includes non-burning, burning neutralization burning.Institute referring to fig. 4 Show, Fig. 4 is the flow chart of the process of another burning management method based on programming system server provided by the invention;
In the embodiment, after selecting the identity coding of non-burning to be sent to client 30, further includes:
Step s105: being in burning by the status modifier of the identity coding of calling in own database;
Step s106: it receives cd-rom recorder 20 and passes through the burning result that client 30 returns;
Step s107: if burning result counts itself according to the identity coding carried in burning result for burning success Status modifier according to the respective identity coding in library is burning;If burning result is burning failure, according in burning result The identity coding of carrying, the status modifier by the respective identity coding in own database is non-burning.Wherein, in burning result Carry the identity coding of institute's burning.
Wherein, when saving identity coding to server 40, the original state of each identity coding is non-burning. Be sent to client 30 identity coding must non-burning because each equipment should be unique corresponding with identity coding , it is unable to the identity coding of burning other equipment burning.Therefore by the way that non-program state is arranged on identity coding, can use up can It is avoided that same ID number is burned onto the reheating situation of multiple equipment.
In addition, the state of corresponding identity coding is changed in burning during burning, and after burning success, The state of the successful identity coding of burning is changed to burning, be in order to it is subsequent receive again burning request after, server 40 only can selection in the identity coding of never program state, be in burning or the identity coding of burning without reselection state It is sent to client 30, to be avoided as much as possible the reheating situation of the same identity coding of multiple equipment burning.
And in burning failure, it changes back the state of the identity coding of burning failure to non-burning, is due to the identity coding Since burning failure, then show that the identity coding is not burned onto equipment, i.e., substantially and be not used by, therefore, in order to It avoids identity coding leakage from burning, causes client to lose, need to change back its state into non-burning at this time, facilitate and subsequent reuse the body Part coding is sent to client 30 and carries out burning.
In addition, in an advantageous embodiment, receiving the burning that client 30 is sent on the basis of above-mentioned parallel method After request, the identity coding of non-burning is selected to be sent to before client 30, the invention also includes:
Step s1031: the number of identity coding that judgement is currently in burning, if the number beyond it is preset it is parallel on Limit directly returns to the client 30 that response to the currently transmitted burning of pause burning is requested, and suspends the identity for calling non-burning Coding.
It is understood that due to resource constraints such as the memory size of server 40 and processes, it is impossible to unlimited calling Identity coding is sent to client 30, if the identity coding being currently in burning is excessive, may result in the operation of server 40 Slowly, lead to not be updated according to burning result in time, result even in program state modification mistake.Therefore, this implementation Example is provided with a parallel upper limit, once the number for the identity coding being currently in burning exceeds the parallel upper limit, then suspends clothes Business device 40 calls the service of identity coding, to reduce the load pressure of server 40, guarantees 40 reliability of operation of server.
In one embodiment, after selecting the identity coding of non-burning to be sent to client 30, by selected identity The status modifier of coding be burning in front of, further includes:
After calling the identity coding of non-burning to be sent to client 30, the reception for waiting client 30 to return is responded;
If receiving the reception response of the return of client 30 within a preset period of time, the identity of the non-burning of calling is compiled The state of code is revised as in burning by non-burning;It receives in response including the identity coding and client 30 of the non-burning called It receives successfully or the status indicator of reception failure.
It is understood that waiting the reception response of client 30 after sending identity coding to client 30, being in order to true Recognize whether client 30 is successfully received the identity coding, if client 30 does not return to reception response at this time, shows objective at this time There are failure (such as client 30 are collapsed) at family end 30, and client 30 is likely to and is unsuccessfully received identity coding and will at this time It is sent to cd-rom recorder 20, therefore, in order to avoid identity coding waste, at this time the state of corresponding identity coding still keep for Non- burning, client 30 are also similarly when returning to the response for receiving identification.After only client 30 returns to the successful response of reception, The status modifier of corresponding identity coding is, to reduce the case where avoiding leakage from burning appearance, to reduce visitor in burning by 40 ability of server Family loss.
Preferably, step s105 further include: when starting timer after sending identity coding to client 30;
Step s107 further include: do not received after preset time client 30 return burning as a result, if itself is counted Status modifier according to the identity coding in library is non-burning.
It is understood that the time needed for 20 burning of cd-rom recorder is usually fixed, it, will not be poor even if slightly floating It is not excessive, and if if client 30 is normal, send identity coding from server 40 and returned to client 30 to client 30 Time needed for burning result is generally without departing from preset time, if time-out does not receive the burning result of the return of client 30 Words then show to be likely to 20 burning failure of cd-rom recorder at this time, burning has failed, therefore, to avoid corresponding identity coding one The directly caused leakage burning in the burning, needs corresponding identity coding being revised as non-burning, facilitates and subsequent reuses the body Part coding carries out burning, reduces client's loss.
But in some circumstances, 40 time-out of server does not receive the burning of the return of client 30 as a result, may be not It is because of 20 failure of cd-rom recorder, but therefore 30 failure of client, the burning result for causing cd-rom recorder 20 to return can not be transmitted to Server 40, and actually burning is successful, if corresponding identity coding is directly changed to non-burning in this case Words, then will appear situation about being burned onto same identity coding in two equipment.
The occurrence of in order to avoid above-mentioned reheating, further, this method further includes:
It is being more than that preset time does not receive burning result and is detection visitor after non-burning by the status modifier of identity coding Whether family end 30 is in malfunction at this time, if so, being pause by the status modifier of identity coding, subsequently received burning is asked After asking, the identity coding of other non-burnings is selected to be sent to client 30.
It is understood that being pause by the status modifier of identity coding, refer to not carrying out the identity coding temporarily Processing, i.e., will not send it to client 30, will not modify its current state, because, if time-out does not receive burning knot Client 30 is in malfunction when fruit, then the problem of when the time-out is likely to due to client 30, and 20 burning of cd-rom recorder can It can succeed, still, due to can not temporarily judge that time-out is due to caused by client 30 or caused by cd-rom recorder 20, Therefore suspend the use to the identity coding, after the subsequent burning situation for checking corresponding equipment by staff, artificially modify the body The state of part coding, in the case where avoiding 30 failure of client from causing time-out, after identity coding is changed to non-burning Reheating situation improves the reliability of burning.
Preferably, after step s107 further include:
After receiving burning result and completing the status modifier of identity coding, returns and complete response to client 30;
After finishing receiving response for client 30, idsplay order is sent to cd-rom recorder 20;It controls cd-rom recorder 20 and shows burning As a result.
It is understood that staff sees burning if cd-rom recorder 20 is once complete burning i.e. display burning result Record device 20 and show burning success, then be likely to more to renew immediately on cd-rom recorder 20 to recording device 10, if at this time certain If reason (such as the collapse of client 30 or data delay) causes the time-out of server 40 not receive burning result, server 40 Successfully identity coding corresponding to that equipment reverts to non-program state for burning before replacing, and the actually body at this time The burning success of part coding, is thus likely to occur the case where same identity coding is burned onto multiple equipment, that is, leads to reheating, And the equipment for reheating occur is likely to normally login cloud platform, brings extreme loss to client.Therefore, in the present embodiment, Cd-rom recorder 20 does not temporarily show burning as a result, but first sending burning result to server 40 and carrying out status maintenance after the completion of burning Change, after the modification of 40 completion status of server, client 30 just sends idsplay order to cd-rom recorder 20, then burnt by cd-rom recorder 20 Record is the results show that at this point, staff sees burning as a result, just will do it equipment replacement, to avoided as far as possible due to equipment The case where reheating caused by replacement too early.
In an advantageous embodiment, when saving identity coding, the burning feelings of each identity coding are checked for convenience The form of table can be used to count the content of each identity coding, type and burning situation in condition, and for following table, table 2 is A kind of specific identity coding details table:
A kind of specific identity coding details table of table 2
Id content ID number type ID title ID state Recordable time Affiliated task
87AQRbOcC/Ag fogid fogid Burning 2018-7-4 15:10:20 Fog-4
88AQRbOcC/Ag fogid fogid In burning None Fog-4
Mt9K3RepdpYj sds sds Non- burning None none
Certainly, the above is only a kind of specific embodiments, and being encoded in details table at one's side also may include other in relation to identity coding Content information, identity coding details tableau format setting the present invention be not especially limited.
It is understood that by above-mentioned identity coding details table, staff can intuitive and convenient recognize clothes The current state and burning situation of each identity coding saved in business device 40 not only facilitate subsequent progress burning statistics and divide Analysis also facilitates and each identity coding is managed and is inquired.
In addition, the number due to the identity coding stored in server 40 may be very much, accordingly, it is possible to lead to an identity Coding details table can be grown very much, and the preservation not only bad for identity coding details table so is also unfavorable for checking for staff, Therefore a point table can be carried out to identity coding details table according to the type of identity coding, program state or recordable time etc., i.e., It is divided into multiple tables to save the detail information of each identity coding.For example, different types of identity coding can be protected respectively It deposits to different identity coding details tables, the identity coding details table corresponding to different program states can also be created, once body The state of part coding changes (such as being become in burning from non-burning), then this is encoded to the identity moved in burning at one's side and is compiled It is saved in code details table.Which kind of certainly, specifically classified with mode classification to identity coding details table, the present invention does not make It is specific to limit.
In addition, the detail information for saving identity coding in the form of table is only a kind of preferred embodiment, in other implementations Other document forms can also be used to save to the detail information of identity coding in example.
Also, the present invention identity coding statistical form and identity coding details table mentioned above are maintained in server 40 It is interior, usually save in the identity database with server 40.
In actual burn, due to generally requiring to carry out burning to a large amount of equipment, in order to be managed to these data, It is generally necessary to record the burning result of each equipment and its identity coding of burning, come facilitate it is subsequent traced, and lead at present Frequently with the mode low efficiency artificially recorded and accuracy it is poor.In this regard, the present invention provides a kind of approaches to IM.Referring to Shown in Fig. 5, Fig. 5 is a kind of flow chart of the process of the approaches to IM based on programming system server provided by the invention.
In the embodiment, if burning success, burning result further includes its identity for corresponding to equipment.
The present invention also provides a kind of approaches to IM based on programming system server, except abovementioned steps s101~ Except 107, further includes:
Step s108: after receiving the successful burning result of burning, by burning saved in the server 40, described As a result the identity that corresponding identity coding includes with the burning result in is bound.
It is understood that by binding the identity of equipment and the successful identity coding of its burning, after Continuous user can be recorded by the identity of the equipment kept in input server 40 to inquire the burning of relevant device, burning The retrospective of record is stronger, and compares the mode of labor management, information management it is more efficient, and error rate is low.
Wherein, which is generally arranged at server 40 and returns before completing response to client 30, that is, has bound Cheng Hou retransmits completion response to client 30.
Due to needing to bind the identity coding after the completion of burning with the identity of corresponding equipment, this In binding be commonly referred to as in the detail information that the identity is added to corresponding identity coding.For example, if identity is compiled The detail information of code is if embodying in a tabular form, then following implementation can be used in the mode implemented, and table 3 is another The specific identity coding details table of kind:
A kind of specific identity coding details table of table 3
In an advantageous embodiment, before the burning request for receiving the transmission of client 30 further include:
Step s1021: receiving the client 30 and obtain the inquiry instruction sent after the identity of the cd-rom recorder 20, The identity that the cd-rom recorder 20 returns is carried in the inquiry instruction;
Whether step s1022: including the identity coding bound with the identity in inquiry own database, if depositing It is returning and there is response to the client 30, controlling this burning for the client 30 terminates, and if it does not exist, returns not In the presence of response to the client 30, burning is sent for the client 30 and is requested to the server 40.
In other embodiments, client 30 obtain cd-rom recorder 20 identity when, burning can also be obtained simultaneously The identity coding of burning on device 20, and the identity that will acquire and identity coding are sent to the inquiry of server 40, certainly, specifically Using which kind of above implementation, the present invention is not construed as limiting.
It is understood that the present invention can easily confirm the burning of identity coding by aforementioned various embodiments State, but can not still confirm currently to whether burning has identity coding in recording device 10, in some cases, work Personnel may miss carries out burning for the equipment of burning again, and if multiple identity codings of burning in the same device If (this also belongs to the case where a kind of leakage of identity coding is burnt), not only result in the waste of identity coding, and will lead to burning Cloud platform can not normally be logged in by having the equipment of multiple identity codings, and client is caused to lose.For example, in preceding sections embodiment, Cd-rom recorder 20 shows burning again after client 30 can be waited to return to idsplay order as a result, if 20 burning of cd-rom recorder success and server After the modification of 40 completion statuses, but client 30 is collapsed, then cd-rom recorder 20 falls into a long wait the display returned less than client 30 After instruction, staff may think that this burning failure, and carry out burning, but in fact, the equipment to the equipment again It has been completed burning, therefore the equipment can be carried out to repeat burning, cause the leakage of identity coding to be burnt, identity coding is caused to waste.
And in the present embodiment, it, can be by the identity of the successful equipment of burning and its road Suo Shao after the completion of each burning Identity coding carries out binding preservation, so that the burning record of the equipment of each success burning is just saved in server 40, Therefore it may only be necessary to which whether client 30 inquires currently stored to clothes to the identity of the equipment of burning every time before burning It is engaged in device 40, can confirm whether the equipment complete by burning, so as to avoid the multiple identity codings of burning in same equipment The case where, the waste of identity coding is reduced, the reliability of burning is improved.
In another embodiment, when burning success, in burning result in addition to the identity of the equipment comprising institute's burning, also Burning information including this burning.Wherein, burning information here may include identity coding classification, recordable time, burning Any several successful status information of combination and burning in 20 type of device, recording device type (facilitates staff area Dividing this burning record is that burning successfully records or burning failure records), alternatively, it is also possible to include the corresponding equipment class of burning The relevant information of type and cd-rom recorder 20 and client 30, burning information be for facilitate staff understand burning situation, The content of burning information can sets itself, this is not limited by the present invention.Therefore, the transmission of client 30 carries burning information After burning result to server 40, server 40 is after the operation for executing step s108, further includes: saves the burning result In identity coding and its binding identity and the burning information in the burning result, obtain burning record.It can be with Understand, preservation obtains burning record and means in the burning result, identity coding, identity and burning letter Breath is integrated together, and saves as burning record jointly so that according to this burning record it can be learnt that this burning it is complete Portion's situation so that facilitating follow-up work personnel to record using these burnings carries out data traceability, and then carries out burning statistics and divides Analysis.
Further, this method further includes:
According to the burning as a result, if burning failure, save the corresponding identity coding of the burning result, burning information with And the status information of burning failure, obtain burning record.
It is understood that although the identity coding of this burning can preferably revert to non-program state after burning failure, But the burning information of this burning failure (such as identity of the equipment of burning failure etc.) still is able to as follow-up work people Member provides evidence to the management of equipment and therefore in burning failure, records the relevant information of burning failure, can further mention The data traceability of high entire programming system, facilitates user to trace history burning record.
Specifically, above-mentioned identity is MAC Address.Certainly, identity here characterizes equipment identities for unique, As long as with the above function the identity that can be used as equipment can be identified, the present invention does not limit the concrete kind of identity Type.
It is further known that this method further include:
After receiving inquiry instruction, the querying condition carried according to the inquiry instruction inquires corresponding burning record, inquiry After the completion, query result is shown.Wherein, querying condition here includes the identity of identity coding or equipment, because May be with corresponding specific one or several burning record of the identity of equipment or querying condition for identity coding Time interval range, to inquire the record of whole burnings in the time range.Certainly, querying condition can also be other content, The present invention does not limit the particular content of querying condition.
In a preferred embodiment, query window directly can be set on the identity coding details table being previously mentioned, for supplying For carrying out identity coding information inquiry for inputting corresponding querying condition in the window.And in order to remind user, The type of querying condition to be entered can be shown in query window.For example, " input MAC Address " can be shown in query window Content, thus facilitate user understand inquiry identity coding when which kind of querying condition needed to input, convenience for users is higher.
Certainly, in other embodiments, query window can not also be set on identity coding details table, but can be by user The inquiry instruction that server 40 is defaulted is inputted to realize, or setting inquiry window can also be set in the other positions of server 40 Mouthful, and the identity database of query window and server 40 is linked.Which kind of mode specifically to realize above-mentioned inquiry using Operation, the present invention are simultaneously not specifically limited.
It is further known that above-mentioned show query result specifically: query result is exported as table and is shown.
It is understood that due to including a plurality of information in query result, if these information are shown in a tabular form, It is more intuitive, also user is facilitated to consult.It is of course also possible to which textual form is shown, the present invention does not limit specific display mode.
During burning, need for client 30 to connect with cd-rom recorder 20, but due in current different clients 30 Existing burning program is different, client 30 include for control cd-rom recorder 20 execute the control interfaces of operations there is also Difference, staff using when need to spend the time to be familiar with and learn corresponding method for burn-recording, burning overall process is complicated.And The present invention provides a kind of clients 30 and corresponding embodiment for being packaged with unified control interface (api interface).
In the present embodiment, the driving of cd-rom recorder 20 is packaged in client 30, it includes for controlling that cd-rom recorder 20, which drives interior, The api interface that client 30 acts during burning, api interface connect including opening cd-rom recorder interface, opening to recording device Mouth, write-in interface close to recording device interface and close cd-rom recorder interface.The present embodiment is applied to the visitor in programming system Family end 30, shown in Figure 6, Fig. 6 is a kind of mistake of the burning management method based on programming system client provided by the invention The flow chart of journey.The burning management method of the embodiment includes step s201 to step s207.It is described in detail as follows.
Step s201: it calls and opens the unlatching of cd-rom recorder Interface Controller cd-rom recorder 20;Cd-rom recorder interface init is opened, for beating Cd-rom recorder 20 is opened, is responsible for opening serial ports etc., is the precondition for executing all cd-rom recorders 20 and ordering.
Step s202: it calls and opens to be connected on recording device Interface Controller cd-rom recorder 20 in the connection of recording device 10 Electricity;It opens to recording device interface open, is used to open mould group, be responsible for checking that mould group powers on, connection mould group etc., before being burning Propose condition.
Placing after the mode of recording device 10 is that will depress after recording device 10 is placed in the corresponding position of cd-rom recorder 20 Fixture fixing belt recording device.Whether when working later, cd-rom recorder 20 first has to open and power on, detect set on cd-rom recorder 20 later It has set to recording device 10, then could establish cd-rom recorder 20 and the connection to recording device 10, just can be carried out burning later.
Step s203: it sends burning and requests to server 40.
Step s204: cd-rom recorder 20 is sent to after receiving the identity coding for the non-burning that server 40 returns.
Step s205: call write-in interface, control cd-rom recorder 20 by the identity coding of the non-burning received be burned onto In recording device 10;Interface write is written, for being responsible for configuration parameter, write-in data etc..
Step s206: it calls and closes to be connected on recording device Interface Controller cd-rom recorder 20 to the disconnection of recording device 10; It closes to recording device interface close, for closing mould group, is responsible for checking the power-off of mould group, disconnects mould group etc., be to start next time The precondition of open.
Step s207: it calls and closes the closing of cd-rom recorder Interface Controller cd-rom recorder 20.Cd-rom recorder interface fini is closed, for closing Cd-rom recorder 20 is closed, is responsible for closing serial ports etc..
After burning, needs to disconnect to the connection between recording device 10 and cd-rom recorder 20 first, facilitate work people Member opens fixture, takes down to recording device 10, turns off cd-rom recorder 20 later.But if desired continuously multiple equipment is carried out When burning, it after recording device 10 disconnects, can directly replace next to recording device 10, burnt without closing Device 20 is recorded, later, direct return step s202, and subsequent operation is repeated, until turning off cd-rom recorder when no longer needing burning 20。
The treatment process on the basis of embodiment, after 30 burning result of client are as follows: receive what cd-rom recorder 20 returned Burning result is simultaneously sent to server 40;After the completion response for receiving the return of server 40, write-in interface is called to send display Instruction controls cd-rom recorder 20 and shows burning result to cd-rom recorder 20.For being shown to burning result when due to cd-rom recorder 20, It needs burning result to be written in display component, therefore write-in interface can be called to realize this part operation to control.Alternatively, at it In his embodiment, display interface can also be increased in client 30, burning result is shown for controlling cd-rom recorder 20.Tool Which kind of mode body uses, and the present invention is not especially limited.
Need to read cd-rom recorder 20 if client 30 sends burning and requests to before server 40 based on previous embodiment Identity, then the api interface in client 30 further include read interface;Correspondingly, the concrete operations of client 30 at this time Are as follows:
It calls and reads interface, read the identity to recording device 10 that cd-rom recorder 20 currently connects;Read interface Read gets parms for being responsible for, and reads data etc.;Identity is sent to server 40 to inquire, determines server It whether include the identity coding bound with identity in 40;If receiving the presence response of the return of server 40, display should The information of equipment burning;If receive the return of server 40 is not present response, sends burning and request to server 40.
It is understood that for obtaining the interface of corresponding information out of cd-rom recorder 20 for client 30 when reading interface, In other cases, it if there are other data acquisition demands for client 30, can also be realized by reading interface.
In Python realization, cd-rom recorder 20 is abstracted as a class programmer, it is such to have open, write, read With close method, constructed fuction is init, and destructor function is fini.Thereby realize the unified interface of different cd-rom recorders 20.
Specifically, the specific definition of above each interface can be with are as follows:
prog.open()
Parameter: nothing
It returns: success True, failure False
prog.close()
Parameter: nothing
It returns: success True, failure False
prog.write(name,data)
Parameter: name data type, such as FogID, SDS and ID2 etc.
Data data
It returns: the byte number actually write
Such as: prog.write (' fogid ', ' AAQAAAAAAARanlQDAgEAAwEA ')
prog.read(name,size)
Parameter: name data type, such as FogID, SDS and ID2 etc.
Size length
It returns: the byte number actually read
Such as: mac=prog.read (' mac ', 6)
Certainly, the above is only a kind of implementation, what the present invention did not limited each interface is specifically defined mode.
Specifically, can be connected using cable between client 30 and cd-rom recorder 20, connecting interface can use SPI (Serial Peripheral Interface, Serial Peripheral Interface (SPI)), UART (UniversalAsynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting interface), JTAG (Joint Test ActionGroup, joint test work Make group interface) any one of or client 30 and cd-rom recorder 20 between can also be used wireless communication connection, the present invention it is unlimited Determine the connection type between client 30 and cd-rom recorder 20.
In other cases, in fact it could happen that in the required content for being burned onto equipment and not stored and server 40, but Storage, at this time, it may be necessary to which the external storage component is enabled to connect with client 30, is being controlled to burning later in external storage component After equipment 10 connects, whether detection client 30 stores external storage component connected to it, and store and need to burn Record is to the data in recording device 10, and if it exists, and then client 30 needs to read the partial data in external storage component, And call write-in interface that this partial data is burned onto in recording device 10.
Before programming system is worked, the test mode tested programming system, and current is generally required, one As be manually control client 30 execute operations, carry out the reaction of viewing client-side 30, determine whether there are failure, this The mode low efficiency of kind manual testing, heavy workload.To improve testing efficiency, the present invention provides a kind of programming system test sides Method, shown in Figure 7, Fig. 7 is a kind of flow chart of the process of the test method of programming system provided by the invention.The test side Method includes step s301 and step s302.It is described in detail as follows.
Step s301: calling and runs default 30 test script of client, controls the client 30 and executes burning process In operations, test the implementing result of the client 30, generate 30 test result of client and simultaneously show.
Step s302: calling and runs 40 test script of predetermined server, controls the server 40 and executes burning process In operations, test the implementing result of the server 40, generate 40 test result of server and simultaneously show.
It is understood that the operation that the majority signal in programming system transmits is complete by client 30 and server 40 At, therefore, main test object is client 30 and server 40.
In this method, the script for being used on and being tested client 30 and server 40 is preset, in test process In, call directly default 30 test script of client and 40 test script of predetermined server, i.e., controllable client 30 and Server 40 carries out corresponding operation, and can automatically generate test according to client 30 and the implementing result of server 40 As a result.As it can be seen that the present invention compares the mode for manually controlling client 30 and the execution operations of server 40, work is substantially reduced The workload for making personnel, reduces the testing time, improves testing efficiency.
Preferably, test method further include: call and run batch importing script, imported in server 40 more A identity coding, test import effect, obtain importing test result and show.For example, importing 1,000,000 ID, retest 10 It is inferior.It is understood that programming system of the invention is before operation, needs to import a large amount of identity in server 40 and compile Code, therefore, it is necessary to the importing performances of testing service device 40 first, determine its stability and boot speed.Certainly, the present invention is unlimited The number of the identity coding imported when fixed test every time.
It is further known that the detailed process that test imports effect includes: server 40 when test imports multiple identity codings Whether unstable state is occurred;Here unstable state includes whether stuck, 40 delay machine of server of process etc. occur;Test is led Enter the boot speed of multiple identity codings and totally imports the time;The memory size of the boot speed and time and server 40 with And the speed of service of CPU is related, the boot speed and time can instruct staff to determine that suitable identity coding batch is led The quantity entered;When test imports repetition identity coding, whether repetition identity coding can be filtered in server 40.
It should be noted that server 40 itself has the function of duplicate removal, whether can be accurate but need to test it The whole duplicate identity codings of filtering, if the case where will appear filter false, therefore, once repetition is saved in server 40 Identity coding if, then may result in distinct device that burning is into identical identity coding, so that these equipment can Cloud platform can not be logged in, cause client to lose, therefore, can filter repetition identity coding is critically important test item.
In one embodiment, in step s301, control client 30 executes the operations during burning, test The process of the implementing result of client 30 specifically includes: control client 30 transmission respective request to server 40, and controls clothes Business device 40 is not responded, and whether test client 30 shows request failure and failure cause.
It is understood that client 30 can carry out many information exchanges with server 40 during burning, usually come It says, after client 30 sends a request to server 40, server 40 can return to corresponding response, these responses returned may be only It is to inform that client 30 itself has been received by association requests, it is also possible to it include the requested data of client 30, however, which Kind response, once client 30 when not receiving the response of server 40, client 30 should show request failure and show original Cause shows that there is also failures for client 30 if client 30 is not shown.And if do not show request failure, user can not and There is failure at this time in Shi get Zhi, and then performs corresponding processing in time.
Certainly, in other embodiments, client 30 is not when receiving the response of server 40, it is also possible to only show request Failure, without showing failure cause, this is related with the setting of client 30, and this is not limited by the present invention.
It is further known that above-mentioned respective request includes identity coding acquisition request, 20 identity inquiry request of cd-rom recorder And any one of burning result.
Wherein, identity coding acquisition request is the burning request for referring to being mentioned in previous embodiment;20 identity of cd-rom recorder Mark inquiry request refers to: in the case where server 40 is bound the identity of identity coding and equipment, client It is being sent to server 40, for inquiring, currently to recording device 10, whether burning is looked into before end 30 sends burnings request Ask instruction.
In another embodiment, in step s301, control client 30 executes the operations during burning, test visitor The process of the implementing result at family end 30 further include:
It controls client 30 and sends identity inquiry request to cd-rom recorder 20, and control cd-rom recorder 20 and do not respond, test Whether client 30 shows request failure and failure cause.
Due to client 30 want inquiry when recording device 10 whether burning when, need first from cd-rom recorder 20 obtain to The identity of recording device 10, therefore, client 30 need first to cd-rom recorder 20 send identity inquiry request, i.e., this When client 30 and cd-rom recorder 20 between there are signal interaction, so when need to detect client 30 and can not receive burning When device 20 is responded, display request failure and failure cause.Because user can not learn this in time if not showing request failure When there is failure, and then perform corresponding processing in time.Certainly, in other embodiments, failure cause can not also be shown, this Invention is not construed as limiting this.
In another embodiment, in step s302, control server 40 executes the operations during burning, test clothes The process of the implementing result of business device 40 specifically includes: after control server 40 sends identity coding to client 30, testing service Whether device 40 is in burning by the status modifier of transmitted identity coding;It controls client 30 and sends the successful burning knot of burning After fruit to server 40, the state whether testing service device 40 is arranged the corresponding identity coding of burning result is burning;Control After client 30 sends the burning result to server 40 of burning failure, it is corresponding whether testing service device 40 is arranged burning result The state of identity coding is non-burning.
It is understood that the identity coding in server 40 exist non-burning, in burning, three kinds of states of burning In the case of, then need detection service device 40 that can be carried out according to the program state of the current identity coding to the state of identity coding It is corresponding to change.Due in practical application, if the state of the change of status coding not in time of server 40, it is possible that by same The case where one identity coding is sent to multiple equipment, or there is the case where identity coding is burnt in leakage, greater loss is brought to client, Therefore, it is necessary to be tested this.
In another embodiment, in step s302, control server 40 executes the operations during burning, test clothes The process of the implementing result of business device 40 further include: the transmission identity coding of control server 40 to client 30, and control client 30 do not send burning as a result, testing service device 40 is being more than whether preset time is arranged corresponding body when not receiving burning result The state of part coding is non-burning.
In the aforementioned embodiment, include feelings that identity coding is changed to non-burning by server 40 in case of overtime Condition, when which is in order to avoid 20 failure of cd-rom recorder, identity coding waste the case where, therefore, it is necessary to detection service devices 40 to exist It is able to carry out the modification of identity coding state in such cases.
Preferably, this method further include: starting 30 concurrent request server 40 of multiple client carries out burning operation, Whether testing service device 40 stable and the speed of service of server 40.When supporting 30 concurrent burning of multiple client, need Can testing service device 40 operate normally and its speed of service, therefore, if server 40 is unable to stable operation or the speed of service It crosses slowly, then may be to need to adjust the amount of parallelism of client 30 since parallel client 30 is excessive.
It in a specific embodiment, include ID number and sequencing numbers in identity coding;Several bodies to burning Part coding successively saves in identity database according to the sequence of self-contained sequencing numbers.
It is understood that since identity coding quantity may be very much, if random storage in identity database, no It is only not easy to staff to be managed and check, and server 40 needs to carry out in some cases identity coding screening and looks into When looking for (such as when subsequent some identity coding information of lookup), out-of-order identity coding also will affect server 40 screening and Search speed influences 40 efficiency of server.
Wherein, above-mentioned ID number is specially ID number.Certainly, ID number here is for unique characterization as equipment, only Want it that can be identified that the present invention does not limit the specific of ID number by cloud platform as the object of burning, and after burning Type.
It should be noted that due to when carrying out burning, it is only necessary to ID number, without other numbers in identity coding According to, therefore, when identity coding includes the other content in addition to ID number, above each identity coding as described in the examples ID number is referred only to, i.e., ID number is only sent to client 30, include in burning result is also ID number.When So, if if identity coding only includes ID number, sending ID number is to send identity coding.
Preferably, the identity coding to burning is saved to before server 40 further include:
Identity identical with ID number in current identity coding to be saved whether is preserved in query identity database to compile Code, and if it exists, then abandon the current identity coding to be saved of storage, if it does not exist, current identity coding to be saved is saved To identity database.
It is understood that needing to guarantee the identity coding kept in server 40 not in order to avoid the reheating of ID number In the presence of repetition, therefore, it is necessary to save by the identity coding to burning to before server 40, deduplication operation is carried out to it.When So, in other embodiments, it can also use and first save to server 40, then be filtered duplicate operation, which is specifically used Kind duplicate removal mode, the present invention are not especially limited.
It should be noted that above each specific embodiment provided by the invention is only preferred implementation side of the invention Formula, above several specific embodiments can in any combination, and the embodiment obtained after combination is also within protection scope of the present invention. It should be pointed out that for those skilled in the art, relevant speciality technical staff is not departing from spirit of that invention Oher improvements and changes with deducing out under concept thereof, should all be included in the protection scope of the present invention.
The present invention also provides a kind of burning managing devices based on programming system server 40.It is shown in Figure 8, Fig. 8 For a kind of structural schematic diagram of the burning managing device based on programming system server 40 provided by the invention;The device includes solid Part import modul 1, identity import modul 2, receiving module 3 and sending module 4.
Firmware import modul 1, for saving the burning firmware for being used to control burning process to the firmware number of server 40 According in library.
Identity import modul 2, for successively saving several identity codings to burning to the identity number of server 40 According in library.
Receiving module 3 runs burning firmware after the burning request for receiving the transmission of client 30.
Sending module 4 sends out identity coding for client 30 for calling corresponding identity coding to be sent to client 30 It send to cd-rom recorder 20 and carries out equipment burning.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (9)

1. a kind of burning management method based on programming system server, which is characterized in that the programming system include server, Client and cd-rom recorder;The described method includes:
The burning firmware for being used to control burning process is saved to the firmware databases of the server;
Several identity codings to burning are successively saved to the identity database of the server;
After receiving the burning request that the client is sent, the burning firmware is run;
It calls corresponding identity coding to be sent to the client, the identity coding is sent to the burning for the client It records device and carries out equipment burning.
2. burning management method according to claim 1, which is characterized in that include in the identity coding ID number and Sequencing numbers;
Several described identity codings to burning are in the identity database according to the sequence of self-contained sequencing numbers Successively save.
3. burning management method according to claim 2, which is characterized in that several described identity codings to burning exist It is stored in the identity database with tabular form.
4. burning management method according to claim 2, which is characterized in that the identity coding is corresponding with number state, Number state program state including state in non-program state, burning and.
5. server burning management method according to claim 4, which is characterized in that further include:
The identity coding of burning is periodically transferred to burning to complete in database.
6. according to the described in any item burning management methods of claim 2-5, which is characterized in that compile the identity to burning Code is saved to before the server further include:
It inquires in the identity database and whether preserves identity volume identical with ID number in current identity coding to be saved Code, and if it exists, then abandon storing the current identity coding to be saved, if it does not exist, by the current identity to be saved Coding is saved to the identity database.
7. burning management method according to claim 6, which is characterized in that the ID number is specially ID number.
8. a kind of burning managing device based on programming system server, which is characterized in that the programming system include server, Client and cd-rom recorder;Described device includes:
Firmware import modul, for saving the burning firmware for being used to control burning process to the firmware databases of the server It is interior;
Identity import modul, for successively saving several identity codings to burning to the identity database of the server It is interior;
Receiving module runs the burning firmware after receiving the burning request that the client is sent;
Sending module compiles the identity for the client for calling corresponding identity coding to be sent to the client Code is sent to the cd-rom recorder and carries out equipment burning.
9. a kind of programming system, which is characterized in that including server, client and cd-rom recorder;The server includes:
Memory, for storing computer program;
Processor realizes burning management method as described in any one of claim 1 to 7 when for executing the computer program The step of.
CN201810896914.9A 2018-08-08 2018-08-08 The burning management method and device of programming system and its server Pending CN109062587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810896914.9A CN109062587A (en) 2018-08-08 2018-08-08 The burning management method and device of programming system and its server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810896914.9A CN109062587A (en) 2018-08-08 2018-08-08 The burning management method and device of programming system and its server

Publications (1)

Publication Number Publication Date
CN109062587A true CN109062587A (en) 2018-12-21

Family

ID=64678649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810896914.9A Pending CN109062587A (en) 2018-08-08 2018-08-08 The burning management method and device of programming system and its server

Country Status (1)

Country Link
CN (1) CN109062587A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110868481A (en) * 2019-09-23 2020-03-06 智恒科技股份有限公司 Smart water ecological hardware equipment unique ID generation method
CN111221540A (en) * 2019-10-18 2020-06-02 惠州高盛达科技有限公司 Server-based multi-jointed board parallel burning method and burning system
CN112034808A (en) * 2020-09-11 2020-12-04 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning information adjusting method and device
CN112034806A (en) * 2020-09-11 2020-12-04 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device
CN112034807A (en) * 2020-09-11 2020-12-04 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device
CN112052019A (en) * 2020-09-11 2020-12-08 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device
CN112083936A (en) * 2020-09-11 2020-12-15 上海庆科信息技术有限公司 Module burning authorization tracking system, burning task creating method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954502A (en) * 2014-03-31 2015-09-30 研祥智能科技股份有限公司 MAC address updating method in production line and system thereof
CN107360560A (en) * 2017-06-27 2017-11-17 深圳市爱培科技术股份有限公司 The automatic method for burn-recording of IMEI number and system of a kind of volume production mobile device
CN107643896A (en) * 2016-07-21 2018-01-30 常州星诺斯达电子科技有限公司 A kind of method for burning chip and its device
CN107943491A (en) * 2017-11-21 2018-04-20 深圳创维-Rgb电子有限公司 A kind of method, system and storage device based on high in the clouds intelligence burning key codes
CN107977214A (en) * 2017-12-18 2018-05-01 广东美的暖通设备有限公司 Method for burn-recording, device and the computer-readable recording medium of smart machine identification code

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954502A (en) * 2014-03-31 2015-09-30 研祥智能科技股份有限公司 MAC address updating method in production line and system thereof
CN107643896A (en) * 2016-07-21 2018-01-30 常州星诺斯达电子科技有限公司 A kind of method for burning chip and its device
CN107360560A (en) * 2017-06-27 2017-11-17 深圳市爱培科技术股份有限公司 The automatic method for burn-recording of IMEI number and system of a kind of volume production mobile device
CN107943491A (en) * 2017-11-21 2018-04-20 深圳创维-Rgb电子有限公司 A kind of method, system and storage device based on high in the clouds intelligence burning key codes
CN107977214A (en) * 2017-12-18 2018-05-01 广东美的暖通设备有限公司 Method for burn-recording, device and the computer-readable recording medium of smart machine identification code

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110868481A (en) * 2019-09-23 2020-03-06 智恒科技股份有限公司 Smart water ecological hardware equipment unique ID generation method
CN111221540A (en) * 2019-10-18 2020-06-02 惠州高盛达科技有限公司 Server-based multi-jointed board parallel burning method and burning system
CN111221540B (en) * 2019-10-18 2023-09-01 惠州高盛达科技有限公司 Multi-jointed board parallel burning method and burning system based on server
CN112034808A (en) * 2020-09-11 2020-12-04 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning information adjusting method and device
CN112034806A (en) * 2020-09-11 2020-12-04 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device
CN112034807A (en) * 2020-09-11 2020-12-04 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device
CN112052019A (en) * 2020-09-11 2020-12-08 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device
CN112083936A (en) * 2020-09-11 2020-12-15 上海庆科信息技术有限公司 Module burning authorization tracking system, burning task creating method and device
CN112052019B (en) * 2020-09-11 2022-10-14 上海庆科信息技术有限公司 Module burning authorization tracking system, module burning method and device
CN112083936B (en) * 2020-09-11 2022-10-18 上海庆科信息技术有限公司 Module burning authorization tracking system, burning task creating method and device

Similar Documents

Publication Publication Date Title
CN109144531A (en) The approaches to IM and device of programming system and its server
CN109189409A (en) Programming system, programming system server and its parallel programming management method and device
CN109062587A (en) The burning management method and device of programming system and its server
CN109189421A (en) Burning management method, device and programming system based on programming system server
CN109062586A (en) The burning management method and device of programming system and its client
JP2004227359A (en) Operation management method for storage system based on policy
EP1367767A2 (en) Method and apparatus for modifying remote devices monitored by a monitoring system
CN105357273B (en) SOCKET communications and management of process general-purpose platform and method under asynchronous communication model
WO2012013130A1 (en) Method and system for managing server information data
CN107688611B (en) Saltstack-based Redis key value management system and method
CN103200247B (en) A kind of data download method and PC download client
WO2017010939A1 (en) Automated computer system and method
CN106403188A (en) Air conditioner maintenance method and maintenance device thereof
CN109525841A (en) TV method for testing pressure, platform and computer readable storage medium
CN109032624A (en) A kind of test method and its device based on programming system
US7444409B2 (en) System and method for determining a designated connection between components of computing devices
CN107273258A (en) Method of testing and system are restarted in the automation of interchanger built in a kind of blade server
CN105939345A (en) Management method and device of protocol table item timer
US7805734B2 (en) Platform management of high-availability computer systems
CN101741578B (en) Test method for testing monitoring unit, server and test system thereof
CN109614139A (en) A kind of system service configuration method, device, equipment and medium
CN114048080A (en) Optical matrix equipment scheduling system and method, electronic equipment and storage medium
CN102833252A (en) Management apparatus and system of game server
JP2014078083A (en) Information processor, and the control method and program thereof
CN115509812A (en) Data backup method and server based on Keepalive dual-computer hot standby

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181221