CN104424069A - Tablet personal computer testing system - Google Patents

Tablet personal computer testing system Download PDF

Info

Publication number
CN104424069A
CN104424069A CN201310391330.3A CN201310391330A CN104424069A CN 104424069 A CN104424069 A CN 104424069A CN 201310391330 A CN201310391330 A CN 201310391330A CN 104424069 A CN104424069 A CN 104424069A
Authority
CN
China
Prior art keywords
test
flat computer
measured
main frame
server
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
CN201310391330.3A
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.)
Maintek Computer Suzhou Co Ltd
Pegatron Corp
Original Assignee
Maintek Computer Suzhou Co Ltd
Pegatron Corp
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 Maintek Computer Suzhou Co Ltd, Pegatron Corp filed Critical Maintek Computer Suzhou Co Ltd
Priority to CN201310391330.3A priority Critical patent/CN104424069A/en
Publication of CN104424069A publication Critical patent/CN104424069A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a tablet personal computer testing system. The tablet personal computer testing system comprises a host and a tablet personal computer to be tested. The host executes a servo end function test program to generate a test command; the tablet personal computer to be tested executes a client function test program to obtain a test command, matches with the host to test the function of the tablet personal computer to be tested and returns the test result to the host.

Description

Flat computer test macro
Technical field
The invention relates to a kind of test macro, and relate to a kind of flat computer test macro especially.
Background technology
Flat computer (English: Tablet Personal Computer, to be called for short Tablet PC, Flat Pc, Tablet, Slates) is a kind of small-sized, personal computer of being convenient for carrying, using touch control screen as basic input media.The touch control screen (also referred to as digiboard technology) that it has allows user to carry out operation instead of traditional keyboard or mouse by touch-control.User can by the soft keyboard on built-in handwriting identification, screen, speech recognition or a real keyboard (if this type is equipped with).Flat computer is proposed by Bill Gates, the chip architecture from Intel, AMD and ARM should be supported, from the flat computer concept product that Microsoft proposes, flat computer is exactly aly need not renovating, not having keyboard, the little handbag to putting into Ms, but merit can completely PC.
The kind of interface of current flat computer peripheral hardware and negligible amounts, generally only have USB interface, due to kind of interface and quantity few, in test process, external measuring equipment more difficult (such as external PIO mouth controls tool action).Moreover merit ranging sequence all runs on flat computer, and testing efficiency is lower, and when test specification switches, need to upgrade the test procedure in board, more loaded down with trivial details
In order to solve the problem, association area there's no one who doesn't or isn't seeks solution painstakingly, but has no applicable mode for a long time always and completed by development.Therefore, how to promote testing efficiency, one of current important research and development problem of real genus, also becomes the target that current association area pole need be improved.
Summary of the invention
An aspect of the present invention is providing a kind of flat computer test macro, to solve the problem of prior art.
Flat computer test macro provided by the present invention comprises main frame and flat computer to be measured.Main frame performs server-side functional test program, in order to produce test instruction; Flat computer to be measured performs client functionality test procedure, and in order to obtain test instruction and to coordinate the function of host test flat computer to be measured, and then passback test result is to main frame.
In sum, technical scheme of the present invention compared with prior art has obvious advantage and beneficial effect.Via technique scheme, can reach suitable technical progress, and have the extensive value in industry, it at least has following advantages:
1, the present invention by a part of merit ranging sequence (namely, server-side functional test program) operate on main frame, another part merit ranging sequence (namely, client functionality test procedure), when main frame needs flat computer to be measured to coordinate, order is sent to flat computer to be measured and does corresponding actions to ask flat computer to be measured, and the merit ranging sequence in flat computer to be measured with the merit ranging sequence synchronous operation on main frame, can promote testing efficiency; And
2, whether some data of recording of flat computer need to differentiate in specification, differentiated by server-side functional test program after can sending data to main frame, profit in this way, when specification switches, only need to revise the configuration profile in main frame, and do not need to upgrade the program in flat board, simplify test process.
By with embodiment, above-mentioned explanation is explained in detail below, and technical scheme of the present invention is provided further explains.
Accompanying drawing explanation
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, being described as follows of institute's accompanying drawings:
Fig. 1 is the schematic diagram of a kind of flat computer test macro according to one embodiment of the invention;
Fig. 2 is the workflow diagram of a kind of flat computer test macro according to one embodiment of the invention;
Fig. 3 be step 250 in Fig. 2,260 process flow diagram;
Fig. 4 is the workflow diagram of a kind of flat computer test macro according to another embodiment of the present invention;
Fig. 5 be step 450 in Fig. 4,460 process flow diagram.
Symbol description:
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, being described as follows of appended symbol:
100: flat computer test macro
110: main frame
111,112,121,122: Internet protocol port
120: flat computer to be measured
210 – 527: step
Embodiment
In order to make of the present invention describe more detailed and complete, can refer to the appended various embodiment of graphic and the following stated, number identical in graphic represents same or analogous assembly.On the other hand, well-known assembly and step are not described in embodiment, to avoid causing unnecessary restriction to the present invention.
Fig. 1 is the schematic diagram of a kind of flat computer test macro 100 according to one embodiment of the invention.As shown in Figure 1, flat computer test macro 100 comprises main frame 110 and flat computer 120 to be measured.Main frame 110 can be personal computer (PC) or server, the operating system that flat computer 120 to be measured runs, and can be Microsft Windows system (as: windows8), Android (Android) or other system.
Main frame 110 can be connected based on socket or socket (Socket) with flat computer 120 to be measured, connected mode can be the modes such as wired connection/Wi-Fi/ bluetooth (BT), only need to be connected after flat computer 120 to be measured for main frame 110/ connects by medium by certain network to run in the LAN (Local Area Network) of the same network segment, main frame 110 can perform server-side signal procedure, flat computer 120 to be measured can perform client communication program, and wherein server-side signal procedure and client communication program both sides are responsible for network service.
For example, windows8 flat computer is general all with communication interfaces such as Wi-Fi/ bluetooths, or uses USB to be also easy to expand RJ45 interface, utilizes these interfaces to be joined in LAN (Local Area Network) by flat computer 120 to be measured easily.On the other hand, main frame 110 generally all has than more rich interface (such as PIO/GPIO/UART etc.), main frame 110 can be used to be connected with external measurement devices or tester table, and this main frame 110 is joined be in the LAN (Local Area Network) of the same network segment with flat computer 120 to be measured, the data measured are transmitted through the network to flat computer 120 to be measured.
After the server-side signal procedure operation of main frame 110, open two Internet protocol ports (IP port) 111,112 and wait for that flat computer 120 to be measured connects, wherein Internet protocol port one 11 is for sending instruction to flat computer 120 to be measured, and Internet protocol port one 12 is for the request of real-time monitoring flat computer 120 to be measured; With the flat computer to be measured 120 of connection open two Internet protocol port ones 21,122 equally, be connected with the Internet protocol port one 11,112 of main frame 110 respectively.Should be appreciated that, the port one 11,112,121,122 in Fig. 1 is not physical port, but based on the IP port of TCP/IP (TCP/IP).
In flat computer test macro 100, by a part of merit ranging sequence (namely, server-side functional test program) operate on main frame 110, another part merit ranging sequence (namely, client functionality test procedure), when main frame 110 needs flat computer 120 to be measured to coordinate, main frame 110 performs server-side functional test program to produce a test instruction, flat computer 120 to be measured performs client functionality test procedure to obtain test instruction and to coordinate main frame 110 to test the function of flat computer 120 to be measured, and then passback test result is to main frame 110, promote testing efficiency.
In addition, whether some data that flat computer 120 to be measured records need to differentiate in specification, differentiated by server-side functional test program after can sending data to main frame 110, profit in this way, when specification switches, only need to revise the configuration profile in main frame 110, and do not need to upgrade the program in flat computer 120 to be measured, simplify test process.
Fig. 2 is the workflow diagram of a kind of flat computer test macro according to one embodiment of the invention.Reference the 1st, 2 figure simultaneously, the communication of this connection is all that main frame 110 is initiatively initiated, and in step 210, main frame 110 performs a server-side signal procedure to bind local some ports, in order to monitor the connection request of flat computer 120 to be measured; In step 220, flat computer 120 to be measured performs client communication program to send connection request to main frame 110; In step 230, whether main frame 110 judges successful connection, when main frame 110 receives connection request, main frame 110 judges successful connection, and then, main frame 110 can return a response connection request to flat computer 120 to be measured, in step 240, whether flat computer 120 to be measured judges successful connection, and when flat computer 120 to be measured receives this response connection request, flat computer 120 to be measured judges successful connection.Connect between main frame 110 and flat computer to be measured 120, a thread is opened at two ends respectively, wherein the thread of main frame 110 is for sending instruction, the thread of flat computer 120 to be measured is for receiving instruction, and then the testing process after execution successful connection, specifically, in step 250, test instruction is sent to flat computer 120 to be measured by main frame 110, then, in step 260, flat computer 120 to be measured according to test instruction with the function coordinating main frame 110 to test flat computer 120 to be measured.
Fig. 3 be step 250 in Fig. 2,260 process flow diagram (should be appreciated that, step mentioned in the present embodiment, except chatting its order person bright especially, all can adjust its tandem according to actual needs, even can simultaneously or part execution simultaneously).As shown in Figure 3, in step 311, main thread request sends instruction to flat computer 120 to be measured; In step 312, according to the package of instruction type assembling test instruction; In step 313, the server-side functional test notifications server-side signal procedure of main frame 110 sends test instruction to client communication program, and judges whether to send successfully in step 314.In step 321, the client communication program of flat computer 120 to be measured judges whether to receive test instruction, and if so, in step 322, notice client functionality test procedure receives test instruction; In step 323, client functionality test procedure does corresponding action according to test instruction, sends a return message package to the server-side signal procedure of main frame 110, and judge whether to send successfully in step 324 by client communication program.In step 315, server-side signal procedure judges whether to receive return message package, if, in step 316, server-side signal procedure sends one and confirms that package is to client communication program, then, in step 317, server-side signal procedure notice server-side functional test program starts the parameter measuring flat computer to be measured.For example, above-mentioned test instruction can be a dormancy instruction, and the action performed by client functionality test procedure is the dormancy action of main frame 110, and aforesaid parameter is the voltage of flat computer to be measured when dormancy.
Or, with regard to main frame 110, if step 318 judges not receive return message package yet more than a schedule time, then notify main thread communication failure in step 319.In implementation, the above-mentioned schedule time can determine its length by program designer's elasticity.
On the other hand, with regard to flat computer 120 to be measured, in step 325, client communication program can judge whether to receive confirmation package.If step 326 judges not receive return message package yet more than a schedule time, then notify main thread communication failure in step 327.
Fig. 4 is the workflow diagram of a kind of flat computer test macro according to another embodiment of the present invention.Reference the 1st, 4 figure simultaneously, in this embodiment, the main frame 110 real-time listening flat computer 120 to be measured of this connection, by flat computer 120 to be measured initiatively initiating communication, therefore, flat computer 120 to be measured can send a test request to main frame 110, to obtain required testing tool through main frame 110, the bar code of such as tester table, that is ISN code.
As shown in Figure 4, in step 410, main frame 110 performs a server-side signal procedure to bind local some ports, in order to monitor the connection request of flat computer 120 to be measured; In step 420, flat computer 120 to be measured performs client communication program to send connection request to main frame 110; In step 430, whether main frame 110 judges successful connection, when main frame 110 receives connection request, main frame 110 judges successful connection, and then, main frame 110 can return a response connection request to flat computer 120 to be measured, in step 440, whether flat computer 120 to be measured judges successful connection, and when flat computer 120 to be measured receives this response connection request, flat computer 120 to be measured judges successful connection.Connect between main frame 110 and flat computer to be measured 120, a thread is opened at two ends respectively, wherein the thread of main frame 110 is for monitoring the request of flat computer 120 to be measured, the thread of flat computer 120 to be measured is used for sending a request to main frame 110, and then the testing process after execution successful connection, specifically, in step 450, test request is sent to main frame 110 by flat computer 120 to be measured, then, in step 460, provide the testing tool needed for flat computer 120 to be measured by main frame 110.
Fig. 5 be step 450 in Fig. 4,460 process flow diagram (should be appreciated that, step mentioned in the present embodiment, except chatting its order person bright especially, all can adjust its tandem according to actual needs, even can simultaneously or part execution simultaneously).As shown in Figure 5, in step 511, main thread request sends a request to main frame 110; In step 512, according to the package of instruction type assembling test request; In step 513, the client functionality test procedure notice client communication program of flat computer 120 to be measured sends test request to server-side signal procedure, and judges whether to send successfully in step 514.In step 521, the server-side signal procedure of main frame 110 judges whether to receive test request, and if so, in step 522, notice server-side functional test program receives test instruction; In step 523, server-side functional test program provides testing tool according to test request, testing tool to be assembled in a return message package by server-side signal procedure and to send this return message package to the client communication program of flat computer 120 to be measured, and judging whether to send successfully in step 524.In step 515, client communication program judges whether to receive return message package, if, in step 516, client communication program sends one and confirms that package is to server-side signal procedure, then, in step 317, client functionality test procedure obtains testing tool to continue test.For example, testing tool is the bar code of tester table.
Or, with regard to flat computer 120 to be measured, if step 518 judges not receive return message package yet more than a schedule time, then notify main thread communication failure in step 519.In implementation, the above-mentioned schedule time can determine its length by program designer's elasticity.
On the other hand, with regard to main frame 110, in step 525, client communication program can judge whether to receive confirmation package.If step 526 judges not receive return message package yet more than a schedule time, then notify main thread communication failure in step 527.
In sum, the present invention by a part of merit ranging sort run on main frame, another part merit ranging sequence, when main frame needs flat computer to be measured to coordinate, order is sent to flat computer to be measured and does corresponding actions to ask flat computer to be measured, and the merit ranging sequence in flat computer to be measured with the merit ranging sequence synchronous operation on main frame, can promote testing efficiency; Whether some data that flat computer records need to differentiate in specification, differentiated by server-side functional test program after can sending data to main frame, profit in this way, when specification switches, only need to revise the configuration profile in main frame, and do not need to upgrade the program in flat board, simplify test process.
Although the present invention discloses as above with embodiment; so itself and be not used to limit the present invention, anyly have the knack of this those skilled in the art, without departing from the spirit and scope of the present invention; when being used for a variety of modifications and variations, therefore protection scope of the present invention is when being as the criterion depending on those as defined in claim.

Claims (8)

1. a flat computer test macro, is characterized in that, comprises:
One main frame, performs a server-side functional test program, in order to produce a test instruction; And
One flat computer to be measured, performs a client functionality test procedure, and in order to obtain this test instruction and to coordinate the function of this flat computer to be measured of this host test, and then passback one test result is to this main frame.
2. flat computer test macro according to claim 1, it is characterized in that, this main frame performs a server-side signal procedure, in order to monitor a connection request of this flat computer to be measured, a client communication program is performed with after sending this connection request to this main frame until this flat computer to be measured, connect between this main frame and this flat computer to be measured, and then send this test instruction to this flat computer to be measured by this main frame.
3. flat computer test macro according to claim 2, it is characterized in that, this this server-side signal procedure of server-side functional test notifications sends this test instruction to this client communication program, this client functionality test procedure does corresponding action according to this test instruction, and sending a return message package to this server-side signal procedure by this client communication program, this server-side signal procedure is notified, and this server-side functional test program starts to measure the parameter of this flat computer to be measured.
4. flat computer test macro according to claim 3, is characterized in that, this test instruction is a dormancy instruction, and this action that this client functionality test procedure does is a dormancy action, and this parameter is the voltage of this flat computer to be measured when dormancy.
5. flat computer test macro according to claim 1, is characterized in that, this flat computer to be measured sends a test request to this main frame, to obtain required testing tool through this main frame.
6. flat computer test macro according to claim 5, it is characterized in that, this main frame performs a server-side signal procedure, in order to monitor a connection request of this flat computer to be measured, a client communication program is performed with after sending this connection request to this main frame at this flat computer to be measured, connect between this main frame and this flat computer to be measured, and then send this test request to this main frame by this flat computer to be measured.
7. flat computer test macro according to claim 6, it is characterized in that, this client functionality test procedure notifies that this client communication program sends this test request to this server-side signal procedure, this server-side functional test program provides this testing tool according to this test request, this testing tool to be assembled in a return message package and to send this return message package to this client communication program by this server-side signal procedure, makes this client functionality test procedure obtain this testing tool to continue test.
8. flat computer test macro according to claim 7, is characterized in that, this testing tool is the bar code of a tester table.
CN201310391330.3A 2013-09-02 2013-09-02 Tablet personal computer testing system Pending CN104424069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310391330.3A CN104424069A (en) 2013-09-02 2013-09-02 Tablet personal computer testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310391330.3A CN104424069A (en) 2013-09-02 2013-09-02 Tablet personal computer testing system

Publications (1)

Publication Number Publication Date
CN104424069A true CN104424069A (en) 2015-03-18

Family

ID=52973118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310391330.3A Pending CN104424069A (en) 2013-09-02 2013-09-02 Tablet personal computer testing system

Country Status (1)

Country Link
CN (1) CN104424069A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024882A (en) * 2015-07-23 2015-11-04 上海极测信息科技有限公司 C/S structure based WIFI communication testing system and method
CN106155824A (en) * 2016-06-27 2016-11-23 贵州万臻时代通讯技术有限公司 A kind of mobile phone hardware accelerated ageing test method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202617147U (en) * 2012-03-15 2012-12-19 苏州朗昇通信科技有限公司 Testing system for mobile phones and flat computers
CN103186445A (en) * 2011-10-12 2013-07-03 亚旭电子科技(江苏)有限公司 Test system and method for handheld electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186445A (en) * 2011-10-12 2013-07-03 亚旭电子科技(江苏)有限公司 Test system and method for handheld electronic device
CN202617147U (en) * 2012-03-15 2012-12-19 苏州朗昇通信科技有限公司 Testing system for mobile phones and flat computers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024882A (en) * 2015-07-23 2015-11-04 上海极测信息科技有限公司 C/S structure based WIFI communication testing system and method
CN106155824A (en) * 2016-06-27 2016-11-23 贵州万臻时代通讯技术有限公司 A kind of mobile phone hardware accelerated ageing test method and system

Similar Documents

Publication Publication Date Title
US9460261B2 (en) Computer-implemented verification system for performing a functional verification of an integrated circuit
CN103425574B (en) A kind of method and device of test application program
US20150261696A1 (en) Universal serial bus emulation of peripheral devices
CN100422953C (en) On-line debugging method for SoC system using HDL to expand serial port
CN102968377A (en) Virtual machine technique based airborne software system testing general platform
US9772956B2 (en) Universal serial bus emulation of a host connection
CN102981756A (en) Touch screen mobile terminal fast application switch method
CN102270168A (en) Method for automatically detecting serial port information
CN105338545B (en) One mobile terminal tests the method and device of more mobile terminals simultaneously
CN105120483A (en) Method and system for automatically testing compatibility between intelligent card and mobile terminal
CN104424069A (en) Tablet personal computer testing system
US20080120603A1 (en) Automation of keyboard accessibility testing
US20140173355A1 (en) Remote device automation using a device services bridge
JP6483142B2 (en) Universal serial bus emulation of peripheral devices
CN106293687A (en) The control method of a kind of flow process of packing, and device
US20090216517A1 (en) Dedicated simulator for testing a usb host solution
WO2021093367A1 (en) Model training and risk identification method, apparatus and device
KR20100002564A (en) Automated software test system and method with assistive accessibility technology
CN100559761C (en) Network testing device and method
CN106649008A (en) Method and system for automatically executing mobile terminal physical startup and shutdown pressure test
Arzenšek et al. Criteria for selecting mobile application testing tools
Dzhagaryan et al. An Environment for Automated Measuring of Energy Consumed by Android Mobile Devices.
CN102684942A (en) Method for testing performance of network equipment
CN109101381A (en) Configuration file update method, system, electronic equipment and storage medium
CN109308241A (en) Monitor application program launching flow and method, device, terminal device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150318