Summary of the invention
The shortcoming of prior art, the object of the present invention is to provide a kind of electronic equipment method of testing and system in view of the above, for solving the easy error in judgement of prior art test result, testing efficiency is low and test result can not be preserved problem.
For achieving the above object and other relevant objects, the invention provides a kind of electronic equipment method of testing, for at least one Devices to test being carried out to MMI test jobs by a testing apparatus, comprise the steps: in described testing apparatus, to configure one scan equipment, and set up being connected of described testing apparatus and described Devices to test; Make described scanning device scan the identification code of electronic equipment to be measured and be transferred to described testing apparatus; The corresponding event of Devices to test output described in when Devices to test triggers input described in Inspection Measuring, and generate test result code according to described corresponding event, and described test result code is shown on the screen of described Devices to test; Make described scanning device scan described test result code and be transferred to described testing apparatus; Described testing apparatus is carried out associated generation test log by described test result code and the identification code of described electronic equipment to be measured.
Preferably, also comprise and build one for storing the step of the database of test log: make described testing apparatus be connected with described Database network; Make described testing apparatus to described database, upload described test log after completing once test.
Preferably, described identification code and described test result code are bar code or Quick Response Code.The described step according to described corresponding event generation test result code is: described in detecting when the triggering of described Devices to test is inputted, whether Devices to test exports the response events matching; If so, on the screen of described Devices to test, output represents the bar code or the Quick Response Code that pass through; If not, on the screen of described Devices to test, output represents failed bar code or Quick Response Code.
Preferably, to account for the ratio of described screen be 10%~50% to described test result code.
The present invention also provides a kind of Testing System for Electronic Equipment, comprising: Devices to test, has screen, for showing test results; Testing apparatus, connect with described Devices to test, at least one Devices to test is carried out to MMI test jobs, described testing apparatus detects the corresponding event that described Devices to test triggers Devices to test output described in when input, and generate test result code according to described corresponding event, and described test result code is transferred on the screen of described Devices to test and shown; Scanning device, is disposed in described testing apparatus, scans identification code and the described test result code of described Devices to test and is transferred to described testing apparatus; Described testing apparatus is carried out associated generation test log by described test result code and the identification code of described Devices to test.
Preferably, build one for storing the database of test log, described testing apparatus is connected with described Database network; Described testing apparatus is uploaded described test log to described database after completing once test.
Preferably, described identification code and described test result code are bar code or Quick Response Code, and described testing apparatus detects described Devices to test and triggers Devices to test described in when input and whether export the response events matching; If so, on the screen of described Devices to test, output represents the bar code or the Quick Response Code that pass through; If not, on the screen of described Devices to test, output represents failed bar code or Quick Response Code.
Preferably, to account for the ratio of described screen be 10%~50% to described test result code.
As mentioned above, electronic equipment method of testing of the present invention and system, have the following advantages, testing efficiency is high, thereby the direct scanning record of test result and can to get rid of the error result typing accuracy rate that artificial judgement causes high can also directly be uploaded to database by test result by network and make test result typing real-time, convenient, fast in test process.
Embodiment
By particular specific embodiment explanation embodiments of the present invention, person skilled in the art scholar can understand other advantages of the present invention and effect easily by the disclosed content of this instructions below.
Refer to Fig. 1 to Fig. 2.Notice, appended graphic the illustrated structure of this instructions, ratio, size etc., equal contents in order to coordinate instructions to disclose only, for person skilled in the art scholar, understand and read, not in order to limit the enforceable qualifications of the present invention, therefore the technical essential meaning of tool not, the adjustment of the modification of any structure, the change of proportionate relationship or size, not affecting under the effect that the present invention can produce and the object that can reach, all should still drop on disclosed technology contents and obtain in the scope that can contain.Simultaneously, in this instructions, quote as " on ", the term of D score, " left side ", " right side ", " centre " and " " etc., also only for ease of understanding of narrating, but not in order to limit the enforceable scope of the present invention, the change of its relativeness or adjustment, under without essence change technology contents, when being also considered as the enforceable category of the present invention.
Electronic equipment method of testing and system that the present invention proposes, for by a testing apparatus, at least one Devices to test being carried out to MMI test jobs, MMI full name is Man Machine Interface, i.e. man-machine interface.MMI carries out the people of mobile communication and the interface of associating between the electronic equipment of Mobile Communication Service is provided, and for example, by touching the dialing button on electronic equipment screen, electronic equipment responds described dialing etc.In specific embodiment, described testing apparatus is such as have the equipment of network service and data processing function for notebook computer, desktop computer, panel computer or smart mobile phone etc., and institute's Devices to test of telling is such as being the smart mobile phone, panel computer, intelligent television etc. that have interpersonal interaction design and have display screen.
Refer to Fig. 1, be shown as electronic equipment method of testing of the present invention steps flow chart schematic diagram in one embodiment, for by a testing apparatus, at least one Devices to test being carried out to MMI test jobs, comprise the steps:
S1: configure one scan equipment in described testing apparatus, and set up being connected of described testing apparatus and described Devices to test; In specific embodiment, described testing apparatus is for example connected by USB or serial ports with described Devices to test, described scanning device is for example can scanning bar code or the equipment of Quick Response Code, described testing apparatus is such as having the equipment of network service and data processing function for notebook computer, desktop computer, panel computer or smart mobile phone etc., institute's Devices to test of telling is such as being smart mobile phone, panel computer or the intelligent television etc. that have interpersonal interaction design and have display screen.
S2: make described scanning device scan the identification code of electronic equipment to be measured and be transferred to described testing apparatus; In specific embodiment, the code of described identification code for representing that described Devices to test is numbered, such as product ID or product IDs etc., described in each, Devices to test has unique and not identical identification code, and described identification code is for example Quick Response Code or bar code; As shown in Figure 4, be shown as Devices to test of the present invention view in one embodiment, being specially described Devices to test is that smart mobile phone 1 and described identification code are bar code 11, described scanning device scans the bar code 11 of described smart mobile phone 1 side, and be transferred to described testing apparatus, described testing apparatus is by the translation of ZPL II language, and the direct result of Devices to test described in output identification, such as for representing a string letter " 00001 " etc. of Devices to test sequence.
S3: detect the corresponding event that described Devices to test triggers Devices to test output described in when input, and generate test result code according to described corresponding event, and described test result code is shown on the screen of described Devices to test; Be specially, while detecting the triggering input to described Devices to test described in Devices to test whether export the response events matching; If so, on the screen of described Devices to test, output represents the test result code passing through; If not, on the screen of described Devices to test, output represents failure testing result code.Wherein the triggering input of described Devices to test is for example carried out to dial-up operation for touching the screen of described Devices to test, as dialing " 10086 ", what now detect the output of described Devices to test is that mobile phone carries out the dialing of " 10086 " with triggering the response events that input matches, for example operating personnel insert described electronic equipment to be measured by charger again, and what now detect the output of described Devices to test is that mobile phone charges with triggering the response events that input matches.
S4: make described scanning device scan described test result code and be transferred to described testing apparatus, in specific embodiment, described test result code is Quick Response Code or bar code, as shown in Figure 4, be shown as Devices to test of the present invention view in one embodiment, being specially described Devices to test is that smart mobile phone 1 and described test result code are bar code 12, described scanning device scans the bar code 12 on described smart mobile phone 1 display screen, and be transferred to described testing apparatus, described testing apparatus is by the translation of ZPLII language, directly export the test result of described Devices to test, for example, for representing to test " Y " passing through or " N " that represents test crash, can certainly in testing apparatus, move and transform software, test result is converted into simplified form of Chinese Character, for example represent that test passes through " by ", represent " failure " of test crash.In whole process, tester only need to carry out scan operation, need to not go with test result initiatively to click " by " or " failure ", avoid the error of thinking that therefore produces and raising testing efficiency.In one embodiment, described test result code account for described Devices to test screen 10%; In another preferred embodiment, described test result code account for described Devices to test screen 50%; In another preferred embodiment, described test result code account for described Devices to test screen 30%.
S5: described testing apparatus is carried out associated generation test log by described test result code and the identification code of described electronic equipment to be measured.In specific embodiment, described test log can present for the form of form, and for example, the equipment that identification code compiling result is " 0001 " carries out after man-machine interaction test obtaining test result code, and described test result code compiling result is " Y ", passes through.After test log generates, an i.e. complete test finishes.
When next Devices to test is prepared to test, repeat the step of described S2~S5.
In another preferred embodiment, be with the difference of a upper embodiment, described electronic equipment method of testing also comprises and builds one for storing the step of the database of test log, is specially before described step S1, makes described testing apparatus be connected with described Database network; After described step S5, make described testing apparatus to described database, upload described test log after completing once test.Described testing apparatus is communicated and is connected by cable network or wireless network with described database, by the timely uploading data of each test result storehouse, convenient to the storage of test result and checking in the future.
Refer to Fig. 2, be shown as Testing System for Electronic Equipment of the present invention system architecture schematic diagram in one embodiment, for at least one Devices to test being carried out to MMI test jobs by a testing apparatus, in specific embodiment, described testing apparatus is such as have the equipment of network service and data processing function for notebook computer, desktop computer, panel computer or smart mobile phone etc.In the present embodiment, described testing apparatus be take temporarily desktop computer 2 and is described as example; The Devices to test of telling such as for thering is interpersonal interaction design and thering are smart mobile phone, panel computer or the intelligent television etc. of display screen, in the present embodiment, described Devices to test be take temporarily smart mobile phone 1 and is described as example.
As shown in Figure 2, described Testing System for Electronic Equipment comprises:
Smart mobile phone 1 for Devices to test, has screen, for showing test results;
For the desktop computer 2 of testing apparatus, connect with described smart mobile phone 1, at least one smart mobile phone 1 carried out to MMI test jobs.In specific embodiment, described desktop computer 2 is connected with described smart mobile phone 1 by USB interface or serial ports, the corresponding event of smart mobile phone 1 output described in when the described smart mobile phone 1 of described desktop computer 2 detection triggers input, and generate test result code according to described corresponding event, and described test result code is transferred on the screen of described smart mobile phone 1 and shown.Be specially, while detecting the triggering input to described smart mobile phone 1 described in smart mobile phone 1 whether export the response events matching; If so, on the screen of described smart mobile phone 1, output represents the test result code passing through; If not, on the screen of described smart mobile phone 1, output represents failure testing result code.Wherein the triggering input of described smart mobile phone 1 is for example carried out to dial-up operation for touching the screen of described smart mobile phone 1, as dialing " 10086 ", now detecting described smart mobile phone 1 response events matching with triggering input that export is that mobile phone carries out the dialing of " 10086 "; For example operating personnel insert charger in the charging inlet of described smart mobile phone 1 again, and now detecting described smart mobile phone 1 response events matching with triggering input that export is that mobile phone charges.
For the scanner 3 of scanning device, be disposed on described desktop computer 2, described scanning device scans identification code and the described test result code of described smart mobile phone 1 and is transferred to described desktop computer 2.In specific embodiment, the code of described identification code for representing that described Devices to test is numbered, such as product ID or product IDs etc., described in each, smart mobile phone 1 has unique and not identical identification code, and described identification code is for example Quick Response Code or bar code.In Fig. 4, the shell side mask of described smart mobile phone 1 has bar code 11, described scanner 3 scanning barcodes 11, and be transferred to described desktop computer 2, described desktop computer 2 is by the translation of ZPLII language, the direct result of smart mobile phone 1 described in output identification, such as for representing the string number " 00001 " etc. of the sequence of described smart mobile phone 1.In specific embodiment, described test result code is Quick Response Code or bar code.For example, in conjunction with Fig. 4, the described test result code of described smart mobile phone 1 is bar code 12, bar code 12 on described smart mobile phone 1 display screen of described scanner 3 scanning, and be transferred to described desktop computer 2, described desktop computer 2 is by the translation of ZPL II language, directly export the test result of described smart mobile phone 1, for example, for representing to test " Y " passing through or " N " that represents test crash, can certainly in described desktop computer 2, move and transform software, test result is converted into simplified form of Chinese Character, for example represent that test passes through " by ", represent " failure " of test crash.In whole process, tester only need to carry out scan operation, need to not go with test result initiatively to click " by " or " failure ", avoid the error of thinking that therefore produces and raising testing efficiency.In one embodiment, described test result code account for described smart mobile phone 1 screen 10%; In another preferred embodiment, described test result code account for described smart mobile phone 1 screen 50%; In another preferred embodiment, described test result code account for described smart mobile phone 1 screen 30%.
Described desktop computer 2 carries out associated generation test log by described test result code and the identification code of described smart mobile phone 1.In specific embodiment, described test log can present for the form of form, and for example, the smart mobile phone 1 that identification code compiling result is " 0001 " carries out after man-machine interaction test obtaining test result code, and described test result code compiling result is " Y ", passes through.After test log generates, an i.e. complete test finishes.
In another preferred embodiment, be with the difference of a upper embodiment, described Testing System for Electronic Equipment also comprises and builds one for storing the database of test log, refers to Fig. 3, described desktop computer 2 is set up network with described database 4 and is connected; Described desktop computer 2 is uploaded described test log to described database 4 after completing once test.Described testing apparatus is communicated and is connected by cable network or wireless network with described database, by the timely uploading data of each test result storehouse, convenient to the storage of test result and checking in the future.
In sum, electronic equipment method of testing and system that the present invention proposes, testing efficiency is high, thereby the direct scanning record of test result and can to get rid of the error accuracy rate that artificial judgement causes high can also directly be uploaded to database by test result by network and make test result typing convenient and swift in test process.So the present invention has effectively overcome various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all can, under spirit of the present invention and category, modify or change above-described embodiment.Therefore, such as in affiliated technical field, have and conventionally know that the knowledgeable, not departing from all equivalence modifications that complete under disclosed spirit and technological thought or changing, must be contained by claim of the present invention.