Host board testing program handling system and method
Technical field
The present invention relates to a kind of host board testing program handling system and method, be applicable to the host board testing system, and be specially adapted to host board testing system with linked network Connection Service device and computer.
Background technology
For known host board testing system, owing to may use a plurality of test procedures when testing carrying out different test functions or flow process, so test procedure promptly is equivalent to the handled a kind of data of host board testing system.General common data handling system has three the most basic data processing capacities usually, promptly increases functions such as data, modification (renewal) data and deleted data.Therefore, the host board testing system also needs test procedure comprised and increases, upgrades and the processing capacity of deletion etc.
See also Fig. 1, general host board testing system, assembly line plate on-line testing (In-Circuit Test for example, ICT), or system such as function box (Function Box) dynamic test, generally include a server 10, be used to store test procedure, and connect and control at least one computer, for example computer among Fig. 1 201~208 by a linked network 40; And at least one tester table, be connected to aforementioned computer, and carry out host board testing according to program in the execution of one in the aforementioned test procedure, for example the tester table among Fig. 1 301~308 promptly is connected to computer 201~208.That is aforementioned computer 201~208th is used to store aforementioned test procedure, and carries out program in the aforementioned execution, carries out host board testing with control tester table 301~308.In addition, aforementioned host board testing system also can comprise a back-up device (not shown), for example can be arranged in the server 10, also can be a server independently, and its function is the backup test program, with as filing for reference and avoiding file corruption.
Aforementioned host board testing system is often because of change in the work demand (Engineering ChangeNotice/Request, factors such as ECN/ECR), machine change, equipment mechanism change, and must the test procedure of some or all tester tables be handled, for example increase, upgrade or delete, use to be convenient for changing p-wire.And general known test procedure processing mode is normally utilized the manual type individual treated, during for example refresh test program, usually test procedure is copied in disk, deposits in one by one in the computer of each tester table with manual type again; During the deletion test procedure, also need manually to delete one by one at the computer of each tester table.
So not only make test procedure by the time lengthening that begins to handle to finishing, waste man-hour, and because of artificial individual treated is easy to generate careless omission, and cause the inconsistent possibility of test procedure to exist.
Summary of the invention
Therefore, the invention provides a kind of host board testing program handling system, the user can be on the host board testing system line any computer or assign instruction at server, to handle the program of all boards, reducing manpower and the man-hour that program of file copy is on ordinary days wasted, and can guarantee the test procedure unanimity of whole host board testing system.
The objective of the invention is to make change such as ECN/ECR can pass through network refresh test program, speed is very fast, can save man-hour.
Another object of the present invention is to by network, make the test procedure of all boards on the host board testing system line handle synchronously, produce consistance thus.
Another purpose of the present invention is that test procedure upgrades behind each board, but automated back-up is to server, in order to urgent need.
Host board testing program handling system of the present invention and method are applicable to a host board testing system, and described host board testing system comprises a server, in order to storing test procedure, and connect and control at least one computer by a linked network; And at least one tester table, described tester table is connected to aforementioned computer, and carries out host board testing according to program in the execution of one in the aforementioned test procedure, and wherein said computer is to be used to store described test procedure, and carries out program in the described execution; Described host board testing program handling system comprises:
One server process device is used for instructing according to a routine processes for described server, controls described computer and handles a pending program; And
The computer treating apparatus, be used to receive described routine processes instruction and described pending program, and carry out described routine processes at a special time and instruct, and have one and postpone treating apparatus, as as described in special time, described pending program is in the described execution of described computer during program, postpones to handle described routine processes instruction.
Described host board testing program handling system wherein also comprises a line pick-up unit, is used to detect described linked network, normally during line, interrupts the processing action of described routine processes instruction at described linked network.
Described host board testing program handling system wherein also comprises a back-up device, in order to carry out the back-up processing operation according to described routine processes instruction.
Described host board testing program handling system, wherein said routine processes instruction comprises that a program increases/update instruction and a program filename, also comprises a program delete instruction and a program filename.
Wherein said routine processes instruction also comprises at least one processing parameter, and described processing parameter is the code name of one of described computer.
Described host board testing program handling system, wherein said special time are to restart the time.
Described host board testing program handling system, wherein said host board testing system is an assembly line plate Online Transaction Processing, and described test procedure is an assembly line plate on-line testing program.
Described host board testing program handling system, wherein said host board testing system is the function box dynamic test system, and described test procedure is a function box dynamic test program.
A kind of host board testing program processing method, be applicable to a host board testing system, this host board testing system comprises a server, be used to store test procedure, and connect and control at least one computer by a linked network, and at least one tester table, described tester table is connected to described computer, and program is carried out host board testing in carrying out according to one in the described test procedure, and wherein said computer is to be used to store described test procedure, and carries out program in the described execution; Described host board testing program processing method comprises the following steps:
Import a routine processes instruct described server or described computer one of them;
Described routine processes instruction is sent to described server, and instructs according to described routine processes, described routine processes instruction is sent to described computer by described server;
Described server and described computer instruct according to described routine processes, handle a pending program at a special time; And
As described in special time, described pending program is in the described execution of described computer during program, postpones to handle described routine processes instruction.
Described host board testing program processing method wherein also comprises the following steps:
Linked network normally during line, interrupts the processing action of described routine processes instruction as described.
Described host board testing program processing method, wherein said routine processes instruction comprises that a program increases/update instruction and a program filename, also comprises a program delete instruction and a program filename.
Described host board testing program processing method, wherein said routine processes instruction also comprises at least one processing parameter, and described processing parameter is the code name of one of described computer.
Described host board testing program processing method, wherein said special time are to restart the time.
The invention has the advantages that:
1. can handle test procedure fast and as one man by network.
2. when network connectivity is undesired, can stop to handle test procedure automatically, to treat the network connectivity reparation.
3. if pending program is in just in use the execution during program, can postpone to handle test procedure.
For above-mentioned and other purpose of the present invention, feature and advantage can be become apparent,, and elaborate in conjunction with the accompanying drawings below especially exemplified by several preferred embodiments.
Description of drawings
Fig. 1 is the frame diagram of the known host board testing of demonstration system;
Fig. 2 shows host board testing program handling system frame diagram of the present invention;
Fig. 3 shows host board testing program processing method process flow diagram of the present invention;
Fig. 4-a and Fig. 4-b are that the test procedure that shows first embodiment of the invention increases/upgrade process flow diagram, and wherein, Fig. 4-b is the continuation of Fig. 4-a;
Fig. 5-a and Fig. 5-b are the test procedure deletion process flow diagrams that shows second embodiment of the invention, and wherein, Fig. 5-b is the continuation of Fig. 5-a.
Embodiment
Host board testing program handling system of the present invention, it is applied to a host board testing system, for example assembly line plate Online Transaction Processing, or function box dynamic test system etc., its framework is identical with aforementioned known host board testing shown in Figure 1 system, so be not described in detail in this.
Host board testing program handling system of the present invention, its frame diagram comprise a server process device 50 and a plurality of computer treating apparatus 60 as shown in Figure 2.Server process device 50 is to be used for according to routine processes instruction, the pending program of the appointment in processing server 10 and the computer; Computer treating apparatus 60 is to be used to receive the routine processes instruction, and at a special time, for example but non-limiting when starting shooting again every day, the processing action of executive routine processing instruction, and computer treating apparatus 60 has one and postpones treating apparatus 62, when being used for pending program and being the execution program of computer, postpone to handle aforementioned routine processes instruction.
In addition, host board testing program handling system of the present invention also can comprise a line pick-up unit 70 and a back-up device 80.Line pick-up unit 70 is the connection states that are used to detect linked network 40, if normally during line, because the routine processes instruction possibly can't carry out smoothly, so the processing of interrupt routine processing instruction is moved; Back-up device 80 then is to be used for according to the operation of aforementioned routine processes instruction process back-up processing.
Host board testing program processing method of the present invention sees also the flow process of Fig. 3.At first, the user can be by any computer treating apparatus 60 loading routine processing instructions (step S10) in server 10 or the computer 201~208; After routine processes instruction input, normally whether the line of line pick-up unit 70 meeting detection linked networks 40 (step S20), when if linked network 40 lines are unusual, show that a line detects information, and the processing action (step S25) of interrupt routine processing instruction automatically; Otherwise proceed step S30, login server 10, and routine processes instruction is sent to server process device 50 (step S40) in the server 10.Wherein, if the routine processes instruction is by the computer input, then step S30~S40 must be by linked network 40 transmission;
If directly be input into server 10, then step S30~S40 only needs to be sent to server process device 50 by the computer treating apparatus 60 in the server 10, need not transmit via network.
Then, server 10 is sent to each computer 201~208 (step S50) according to the routine processes instruction that is received; Computer is not handled after receiving the routine processes instruction immediately, but when arriving a special time (step S60), judges that whether pending program is program (step S70) in the execution of computer; If pending program is program in the execution, then (step S75) handled in delay, waits for to the row judgement again of next special time; Otherwise promptly program in carrying out is handled (step S80).
In this mandatory declaration, the special time among the step S60 can be set up on their own by server and each computer, also can set by host board testing program handling system of the present invention is unified.Because the function difference of server and each computer, the function of server is each computer in the main control system board test system, and the function of each computer is the tester table of control linkage, so the special time of server and each computer can be made as different time, and each computer can be handled also at different special times; Yet the present invention reaches to make the purpose that test procedure keeps consistency in the host board testing system, therefore special time had better be set at one time for example fixing the restarting the time of total system every day.
As previously mentioned, host board testing program handling system of the present invention the processing of test procedure action is comprised increase, actions such as renewal and deletion.Below be example with a pending program file of file by name " TEST ", describe respectively and increase/embodiment of refresh test program and deletion test procedure; Wherein the composition of host board testing system still sees also Fig. 1, no longer describes in detail.
The first embodiment of the present invention can be referring to Fig. 4-a and Fig. 4-b, shows the new technological process of the increasing of test procedure/more.At first, shown in step S410,, for example be assumed to be by the routine processes of computer 201 inputs " UP TEST " and instruct at this by any the loading routine processing instruction in server 10 or the computer 201~208;
Wherein, UP is that program increases/update instruction, and TEST is the program filename of pending program.This moment, computer 201 meetings determined earlier whether this TEST file exist (step S412) really, if can not find TEST file, then display file name error message (step S415); Otherwise promptly as previously mentioned, whether the line that detects linked networks 40 by line pick-up unit 70 normal (step S420), if when network connectivity is unusual, shows that line detects information, and interrupt routine processing instruction (step S425); Otherwise proceed step S430, login server 10, and routine processes instruction " UP TEST " and TEST file are sent to server process device 50 (step S440) in the server 10.
Then, server 10 is sent to each computer (step S450) with routine processes instruction " UP TEST ", and as previously mentioned, after computer receives the routine processes instruction, when arriving a special time (step S460), judge that whether the TEST file is program (step S470) in the execution of computer; If program in carrying out, then (step S475) handled in delay, waits for to the row judgement again of next special time; Otherwise promptly carry out step S481, judge whether have the TEST file in the computer.If the TEST file is arranged, be more new technological process, the TEST file delete (step S483) in the computer originally earlier, again by server replicates TEST file to computer (step S485); If no TEST file then for increasing flow process, can directly carry out step S485, to computer, finish test procedure and increase/upgrade operation by server replicates TEST file.
The second embodiment of the present invention can show the deletion flow process of test procedure referring to Fig. 5-a and Fig. 5-b.At first, shown in step S510,, for example be assumed to be by the routine processes of computer 201 inputs " DELITEM TEST " and instruct at this by any the loading routine processing instruction in server 10 or the computer 201~208; Wherein, DELITEM is the program delete instruction, and TEST is the program filename of pending program.This moment, computer 201 meetings determined earlier whether this TEST file exist (step S512) really, if can not find TEST file, then display file name error message (step S515); Otherwise promptly as previously mentioned, whether the line that detects linked networks 40 by line pick-up unit 70 normal (step S520), if when network connectivity is unusual, shows that line detects information, and interrupt routine processing instruction (step S525); Otherwise proceed step S530, login server 10, and routine processes instruction " DELITEM TEST " is sent to server process device 50 (step S540) in the server 10.
At this, can find out the deletion flow process and increase/difference of new technological process more, be to increase/the step S440 in the new technological process more, pending program (being the TEST file) must be sent to server 10, to prepare to be copied to by server 10 thereafter the subsequent action of each computer; But when delete program, then do not need program is sent to server 10.
Then, server 10 is sent to each computer (step S550) with routine processes instruction " DELITEM TEST ", and as previously mentioned, after computer receives the routine processes instruction, when arriving a special time (step S560), judge that whether the TEST file is program (step S570) in the execution of computer; If program in carrying out, then (step S575) handled in delay, waits for to the row judgement again of next special time; Otherwise promptly carry out step S581, judge whether have the TEST file in the computer.If the TEST file is arranged, then with the TEST file delete (step S585) in the computer; If no TEST file then need not carry out any action, and finish test procedure deletion operation.
In this mandatory declaration, the routine processes instruction in the previous embodiment can also comprise at least one processing parameter, and wherein each processing parameter is respectively the code name of a computer.For example, in the flow process that increases/upgrade of previous embodiment, if set the routine processes instruction of " UP TEST B2 D1 ", wherein B2 and D1 are processing parameter, represent do not desire the computer code name (being the computer 204 and 207 among Fig. 1) that increases/upgrade; That is to say, the host board testing program handling system of previous embodiment is when the routine processes instruction of carrying out " UP TEST B2 D1 ", to skip over the computer 204 of code name B2 and the computer 207 of code name D1, and in computer 204 and 207, do not augment/upgrade the TEST file.So, can be handled, can further be expanded function of the present invention at the different file contents in the specific computer.