Summary of the invention
For above-mentioned defect, it is an object of the invention to provide a kind of test instrunment Oftware updating method and
System, it can update the software of test instrunment automatically, in time, not only ensure that all test instrunments
The uniformity of test mode and the seriality of test process, and low cost, reliability are high.
To achieve these goals, the present invention provides the Oftware updating method of a kind of test instrunment, is applied to bag
Including the software update system of the test instrunment of multiple test instrunment and a server, described method includes step
Have:
Connection Step, when described test instrunment receives product test instruction, connects described service by network
Device;
Judge step, described test instrunment judge in the machine first test software and/or the first configuration information with
The second test software corresponding in described server and/or the version of the second configuration information are the most consistent;
Update step, if version is inconsistent, described test instrunment automatically download described second test software and/or
Second configuration information is to update described first test software and/or the first configuration information, and after the update is complete
Return and perform described judgement step;
Testing procedure, if version is consistent, described test instrunment performs described product test instruction.
According to Oftware updating method of the present invention, also include:
Storing step, the described second test software of described server storage latest edition and/or the second configuration letter
Breath;
Announcing step, described server only announces described second test software and/or second to described test instrunment
Configuration information.
According to Oftware updating method of the present invention, described Connection Step includes: when described test instrunment is received
To described product test instruct time, connect described server by network request, if successful connection, perform institute
State judgement step, if being not connected with successfully, sending network failure and reminding.
According to Oftware updating method of the present invention, described judgement step includes:
Described test instrunment obtains the first test software and/or second described in the machine ardware model number and the machine and joins
The first version number of confidence breath;
Described test instrunment obtains described second test corresponding with described the machine ardware model number in described server
Software and/or the second edition number of the second configuration information;
Described test instrunment judges that described first version number is the most consistent with the described second edition number, if version one
Cause then to perform described testing procedure, if version is inconsistent, perform described renewal step.
According to Oftware updating method of the present invention, described judgement step includes:
Described test instrunment is according to the test product information in described product test instruction and/or test index letter
Breath, analyzes described first test software and/or first configuration information of correspondence in the machine;
Described test instrunment judges that described first test software and/or the first configuration information are right with described server
The described second test software answered and/or the version of the second configuration information are the most consistent.
The present invention also provides for the software update system of a kind of test instrunment, including multiple test instrunments and clothes
Business device, described test instrunment can be connected by network with described server, and described test instrunment includes:
Link block, for when receiving product test instruction, connecting described server by network;
Judge module, for judging that in the machine first tests software and/or the first configuration information and described service
The second test software corresponding in device and/or the version of the second configuration information are the most consistent;
More new module, if when version is inconsistent, automatically downloads described second test software and/or second and joins
Confidence breath is to update described first test software and/or the first configuration information, and return is held after the update is complete
The described judge module of row;
Test module, if when version is consistent, performs described product test instruction.
According to software update system of the present invention, described server also includes:
Memory module, for storing described second test software and/or second configuration information of latest edition;
Announce module, for only announcing described second test software and/or the second configuration letter to described test instrunment
Breath.
According to software update system of the present invention, described link block is for receiving when described test instrunment
During described product test instruction, connect described server by network request, if successful connection, perform described
Judge module, if being not connected with successfully, sending network failure and reminding.
According to software update system of the present invention, described judge module includes:
First obtains submodule, be used for obtaining described in the machine ardware model number and the machine the first test software and/
Or second first version number of configuration information;
Second obtain submodule, for obtain corresponding with described the machine ardware model number in described server described in
Second test software and/or the second edition number of the second configuration information;
First judges submodule, is used for judging that described first version number is the most consistent with the described second edition number,
If version unanimously, performs described test module, if version is inconsistent, more new module described in execution.
According to software update system of the present invention, described judge module includes:
Analyze submodule, the test product information in instructing and/or test index according to described product test
Information, analyzes described first test software and/or first configuration information of correspondence in the machine;
Second judges submodule, is used for judging described first test software and/or the first configuration information and described clothes
Described second test software corresponding in business device and/or the version of the second configuration information are the most consistent.
The present invention passes through the multiple test instrunment of server admin, is issued with configuration information by up-to-date test software
On server;When test instrunment receives product test instruction by network attached server, test instrunment
Judge that the machine is the most consistent with the version of configuration information, if version unanimously, is held with the test software on server
Row proper testing flow process, if version is inconsistent, test software up-to-date in download server and configuration information with
Update the machine corresponding document, update entrance proper testing flow process.Whereby, the present invention can automatically and
Time ground update test instrunment software, not only ensure that the test mode of all test instrunments uniformity and
The seriality of test process, and low cost, reliability are high.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality
Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein
Only in order to explain the present invention, it is not intended to limit the present invention.
Fig. 1 is the structure chart of the software update system of test instrunment of the present invention, described software update system 100
Including multiple test instrunments 10 and a server 20, described test instrunment 10 can be by having with server 20
Line or wireless network connect, wherein:
The requirement of described test instrunment 10 can install independent operating system, with support test software installation and
Run, can be various test equipment.The quantity size of test instrunment 10 is changeable, works as test
When the quantity of instrument 10 is too much, the load that can solve the network bandwidth and server 20 by the way of layering is asked
Topic.Described test instrunment 10 includes:
Link block 11, for when receiving product test instruction, by network attached server 20.Described
Product test instruction refer in the production process of product, by producers send for testing product quality
Test instruction.Described server 20 can use common computer to realize, and described network can be general office
Network, for providing the communication between server 20 and test instrunment 10.
Judge module 12, be used for judging the first test software in the machine (test instrunment 10 belonging to i.e.) and
/ or the first configuration information second test software and/or the version of second configuration information corresponding with server 20
The most consistent.Described test software is pre-installed on test instrunment 10, and use test software can be rapidly
The performance of detection product, it is ensured that the quality of product.Described configuration information refers on test instrunment 10 each of configuration
Plant parameter, to keep being smoothed out of product test.For convenience of distinguishing, will be stored in test instrunment herein
Test software and/or configuration information in 10 are referred to as the first test software and/or the first configuration information, will storage
Test software and/or configuration information in server 20 are referred to as the second test software and/or the second configuration letter
Breath.By comparing the test software on server 20 and test instrunment 10 and the version of configuration information, it is judged that
Test software on test instrunment 10 and whether configuration information is latest edition.
More new module 13, if when version is inconsistent, downloads the second test software and/or the second configuration automatically
Information is to update the first test software and/or the first configuration information, and return performs judgement after the update is complete
Module 12, until entering normal testing process.More new module 13 is understood in automatic download server 20 up-to-date
Second test software and/or the second configuration information of version, uses the second test software and/or the second configuration information
Replace original first test software and/or the first configuration information, form the first new test software and/or first
Configuration information.
Test module 14, if when version is consistent, performs product test instruction, until test terminates.
The present invention provides the software update system 100 of a server and a large amount of test instrunments, is mainly used in and needs
Want the process of producing product of complexity test, when product renewing or change, up-to-date test software and configuration
Information is published on server 20, and test instrunment 10 detects tests software and configuration information on server 20
Version, when consistent with the machine, it is not necessary to updates and enters proper testing state, when inconsistent with the machine,
Test software in download server 20 and configuration information, update the machine corresponding document, updated and just entered
Often test mode, it is ensured that the uniformity of the test mode of all test instrunments 10.The present invention is without extra
Manual operation, it is not necessary to interrupt test process, therefore low cost, reliability is high, can be widely applied to use greatly
The production test of tester device 10.
Fig. 2 is the structure chart of the software update system of the preferred test instrunment of the present invention, described software update system
100 include multiple test instrunment 10 and a server 20, and described test instrunment 10 can lead to server 20
Cross wired or wireless network to connect, wherein:
Described server 20 can use general office computer, including:
Memory module 21, for storing the second test software and/or the second configuration information of latest edition.Test
Software and/or configuration file need often to update to ensure the correctness of test according to product, when the test of product
During changes in demand, test software developer can develop make new advances test software and configuration information.
Announce module 22, for only announcing the second test software and/or the second configuration information to test instrunment 10.
Test software only need to be published on server 20 by test software developer with configuration information version, replaces clothes
The test software of legacy version and configuration information on business device 20.
Described test instrunment 10 includes:
Link block 11, for when test instrunment 10 receives product test instruction, connecting by network request
Server 20, if successful connection, performs judge module 12, if being not connected with successfully, sending network failure and reminding,
Network condition need to be detected by corresponding technical staff.Described network can use general office network.
Judge module 12, for judging that in the machine first tests software and/or the first configuration information and server
The second test software corresponding in 20 and/or the version of the second configuration information are the most consistent.
More new module 13, if when version is inconsistent, downloads the second test software and/or the second configuration automatically
Information is to update the first test software and/or the first configuration information, and return performs judgement after the update is complete
Module 12.
Test module 14, if when version is consistent, performs described product test instruction, until test terminates.
Preferably, described judge module 12 includes:
First obtains submodule 121, be used for obtaining in the machine ardware model number and the machine the first test software and/
Or second first version number of configuration information.
Second obtains submodule 122, for obtaining the second survey corresponding with the machine ardware model number in server 20
Examination software and/or the second edition number of the second configuration information.
First judges submodule 123, is used for judging that first version number is the most consistent with the second edition number, if version
Consistent then perform test module 14, if version is inconsistent, perform more new module 13.
Multiple hardwares model is there is, for making server 20 to manage in the present embodiment in view of test instrunment 10
The test instrunment 10 of reason multiple hardwares model, provides different for the test instrunment 10 of different hardware model
Two test softwares and/or the second configuration informations, test instrunment 10 is carrying out testing software and/or configuration information
During edition comparison, it is desirable to provide the machine ardware model number, in order to inquire second corresponding with the machine hardware signal
Test software and/or the second configuration information.Test software can produce a software and be incremented by when issuing and update every time
Software version number, test instrunment 10 version number by read test software, and compare the machine and server
Test software and/or the version number of configuration information on 20, when version number's difference, start download server file
With replace the program of native file, thus automatically and in time realize test software and the renewal of configuration information.
It is preferred that described judge module 12 includes:
Analyze submodule 124, the test product information in instructing and/or test index according to product test
Information, analyzes the first test software and/or the first configuration information of correspondence in the machine.
Second judges submodule 125, for judging the first test software and/or the first configuration information and server
The second test software corresponding in 20 and/or the version of the second configuration information are the most consistent, if version unanimously, is held
Row test module 14, if version is inconsistent, performs more new module 13.
The present embodiment is in view of in product test field, and multiple test can be produced by same test instrunment 10
Product and test index thereof are tested.If test instrunment 10 currently test a certain test product a certain kind or
During multiple test index, only need to ensure test software and/or configuration letter that this test product is corresponding with test index
Cease for latest edition, other test products and/or the test software of test index and/or the version of configuration information
Whether this is that latest edition is unimportant, if now updating all test products and/or the test of test index
Software and/or configuration information, can affect the efficiency of product test undoubtedly.Therefore, the present embodiment only detects and more
Test product information in new test instruction and/or test software corresponding to test index information and/or configuration are believed
The version of breath, thus fully improve software upgrading and the efficiency of product test.
Under initial situation, test instrunment 10 is not tested software and/or configuration information, can be from server
20 last downloads are installed, and the most just can realize automatically updating of these test softwares and configuration information.At instrument
When each product test of device starts, test instrunment 10, by network attached server 20, compares server
20 test the version number of software and configuration information in the machine, if consistent, enter proper testing flow process;No
Then download and update corresponding file, after having updated, entering proper testing flow process.
Fig. 3 is the flow chart of the Oftware updating method of test instrunment 10 of the present invention, is applied to such as Fig. 1 or Fig. 2
The software update system 100 of shown test instrunment, it is characterised in that described method includes that step has:
Step S301, Connection Step: when test instrunment 10 receives product test instruction, connected by network
Server 20.
Described product test instruction refer in the production process of product, by producers send for testing
The test instruction of product quality.Described server 20 can use common computer to realize, and described network can be
General office network, for providing the communication between server 20 and test instrunment 10.
Step S302, it is judged that step: test instrunment 10 judges the first test software and/or first in the machine
The second test software that configuration information is corresponding with server 20 and/or the version of the second configuration information whether one
Cause, if consistent, perform step S304, otherwise perform step S303.
Described test software is pre-installed on test instrunment 10, uses test software can detect product rapidly
The performance of product, it is ensured that the quality of product.Described configuration information refers to the various parameters of configuration on test instrunment 10,
To keep being smoothed out of product test.For convenience of distinguishing, will be stored in the survey in test instrunment 10 herein
Examination software and/or configuration information are referred to as the first test software and/or the first configuration information, will be stored in server
Test software and/or configuration information in 20 are referred to as the second test software and/or the second configuration information.By than
Test software on relatively server 20 and test instrunment 10 and the version of configuration information, it is judged that test instrunment 10
Whether upper test software and configuration information are latest edition.
Step S303, updates step: if version is inconsistent, and the second test software downloaded automatically by test instrunment 10
And/or second configuration information to update the first test software and/or the first configuration information, and after the update is complete
Return and perform described step S302.
This step can the second test software of latest edition and/or the second configuration letter in download server 20 automatically
Breath, uses the second test software and/or the second configuration information to replace original first test software and/or first and joins
Confidence ceases, and forms the first new test software and/or the first configuration information.
Step S304, testing procedure: if version is consistent, described test instrunment 10 performs product test instruction,
Until test terminates.
Test instrunment 10 is configured and during software upgrading by the present invention when needs, it is achieved all test instrunments 10
Unified configuration and software upgrading;Central server 20 is issued new configuration information and renewal test is soft
After part, by network, all of test instrunment 10 may detect that and judge whether to need to update, if
Eligible, automatically carry out reconfiguring and software upgrading.Low cost of the present invention, reliability is high, it is not necessary to volume
Outer manual operation, it is adaptable to test instrunment is many, meter configuration information and test software upgrading situation frequently.
Fig. 4 is the flow chart of the Oftware updating method of test instrunment 10 in first embodiment of the invention, is applied to
The software update system 100 of test instrunment as shown in Figure 2, it is characterised in that described method includes that step has:
Step S401, server 20 stores the second test software and/or the second configuration information of latest edition.
Test software and/or configuration file need often to update according to product to ensure the correctness of test, work as product
When the testing requirement of product changes, test software developer can develop make new advances test software and configuration information.
Step S402, server 20 only announces the second test software and/or the second configuration letter to test instrunment 10
Breath.
Test software only need to be published on server 20 by test software developer with configuration information version, replaces
Change test software and the configuration information of legacy version on server 20.
Step S403, when test instrunment 10 receives product test instruction, by network request Connection Service device
20。
Step S404, it is judged that whether test instrunment 10 is successfully connected server 20, if then performing step S406,
Otherwise perform step S405.
Step S405, sends network failure and reminds, need to be detected network condition by corresponding technical staff.
Step S406, test instrunment 10 obtain in the machine ardware model number and the machine the first test software and/or
The first version number of the second configuration information.
Step S407, test instrunment 10 obtains the second test corresponding with the machine ardware model number in server 20
Software and/or the second edition number of the second configuration information.
Step S408, test instrunment 10 judges that first version number is the most consistent with the second edition number, if version one
Cause then to perform step S409, if version is inconsistent, perform step S410.
Step S409, if version is consistent, described test instrunment 10 performs product test instruction, until test knot
Bundle.
Step S410, if version is inconsistent, the second test software and/or second downloaded automatically by test instrunment 10
Configuration information is to update the first test software and/or the first configuration information, and returns execution after the update is complete
Described step S408.
Multiple hardwares model is there is, for making server 20 to manage in the present embodiment in view of test instrunment 10
The test instrunment 10 of reason multiple hardwares model, provides different for the test instrunment 10 of different hardware model
Two test softwares and/or the second configuration informations, test instrunment 10 is carrying out testing software and/or configuration information
During edition comparison, it is desirable to provide the machine ardware model number, in order to inquire second corresponding with the machine hardware signal
Test software and/or the second configuration information.Test software can produce a software and be incremented by when issuing and update every time
Software version number, test instrunment 10 version number by read test software, and compare the machine and server
Test software and/or the version number of configuration information on 20, when version number's difference, start download server file
With replace the program of native file, thus automatically and in time realize test software and the renewal of configuration information.
Fig. 5 is the flow chart of the Oftware updating method of test instrunment 10 in second embodiment of the invention, is applied to
The software update system 100 of test instrunment as shown in Figure 2, it is characterised in that described method includes that step has:
Step S501, server 20 stores the second test software and/or the second configuration information of latest edition.
Test software and/or configuration file need often to update according to product to ensure the correctness of test, work as product
When the testing requirement of product changes, test software developer can develop make new advances test software and configuration information.
Step S502, server 20 only announces the second test software and/or the second configuration letter to test instrunment 10
Breath.
Test software only need to be published on server 20 by test software developer with configuration information version, replaces
Change test software and the configuration information of legacy version on server 20.
Step S503, when test instrunment 10 receives product test instruction, by network request Connection Service device
20。
Step S504, it is judged that whether test instrunment 10 is successfully connected server 20, if then performing step S406,
Otherwise perform step S505.
Step S505, sends network failure and reminds, need to be detected network condition by corresponding technical staff.
Step S506, test instrunment 10 refers to according to the test product information in product test instruction and/or test
Mark information, analyzes the first test software and/or the first configuration information of correspondence in the machine.
Step S507, test instrunment 10 judges the first test software and/or the first configuration information and server 20
Second test software of middle correspondence and/or the version of the second configuration information are the most consistent, if version unanimously, performs
Step S508, if version is inconsistent, performs step S509.
Step S508, if version is consistent, test instrunment 10 performs product test instruction, until test terminates.
Step S509, if version is inconsistent, the second test software and/or second downloaded automatically by test instrunment 10
Configuration information is to update the first test software and/or the first configuration information, and returns execution after the update is complete
Described step S507.
The present embodiment is in view of in product test field, and multiple test can be produced by same test instrunment 10
Product and test index thereof are tested.If test instrunment 10 currently test a certain test product a certain kind or
During multiple test index, only need to ensure test software and/or configuration letter that this test product is corresponding with test index
Cease for latest edition, other test products and/or the test software of test index and/or the version of configuration information
Whether this is that latest edition is unimportant, if now updating all test products and/or the test of test index
Software and/or configuration information, can affect the efficiency of product test undoubtedly.Therefore, the present embodiment only detects and more
Test product information in new test instruction and/or test software corresponding to test index information and/or configuration are believed
The version of breath, thus fully improve software upgrading and the efficiency of product test.
In sum, the present invention pass through the multiple test instrunment of server admin, by up-to-date test software with join
Confidence breath is published on server;When test instrunment receives product test instruction by network attached server,
Test instrunment judges that the machine is the most consistent with the version of configuration information with the test software on server, if version
Consistent then perform proper testing flow process, if version is inconsistent, test software up-to-date in download server with join
Confidence ceases to update the machine corresponding document, has updated entrance proper testing flow process.Whereby, the present invention can
Automatically update the software of test instrunment, in time, not only ensure that the system of the test mode of all test instrunments
One property and the seriality of test process, and low cost, reliability are high.
Certainly, the present invention also can have other various embodiments, without departing substantially from present invention spirit and the feelings of essence thereof
Under condition, those of ordinary skill in the art work as can make various corresponding change and deformation according to the present invention, but
These change accordingly and deform the protection domain that all should belong to appended claims of the invention.