CN108108274A - Input unit tests system and method - Google Patents

Input unit tests system and method Download PDF

Info

Publication number
CN108108274A
CN108108274A CN201611066852.6A CN201611066852A CN108108274A CN 108108274 A CN108108274 A CN 108108274A CN 201611066852 A CN201611066852 A CN 201611066852A CN 108108274 A CN108108274 A CN 108108274A
Authority
CN
China
Prior art keywords
test
input unit
information
coding
main frame
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.)
Granted
Application number
CN201611066852.6A
Other languages
Chinese (zh)
Other versions
CN108108274B (en
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.)
Primax Electronics Ltd
Original Assignee
Primax Electronics Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Primax Electronics Ltd filed Critical Primax Electronics Ltd
Priority to CN201611066852.6A priority Critical patent/CN108108274B/en
Publication of CN108108274A publication Critical patent/CN108108274A/en
Application granted granted Critical
Publication of CN108108274B publication Critical patent/CN108108274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of input unit test system and method, which tests system to test the input unit with multiple function element.Input unit test system includes test main frame and test platform, which exports test information to perform test program and information intercepting program by test program;Test platform to receive test information and according to test information operation input device, input unit should operate and output-response information to test main frame.Wherein, test main frame is converted at least one coding by its information intercepting program intercepts reaction information and by reaction information, and differentiates whether at least one coding is consistent with the test information by its test program.The present invention can separate input unit to be tested and test main frame itself input unit, influence each other to avoid the two.

Description

Input unit tests system and method
Technical field
The present invention is related to a kind of input unit application field, especially with respect to a kind of system for testing multifunction input device And method.
Background technology
In modern society, computer has become a part indispensable in human lives, be such as food, clothing, live, It goes, educate, find pleasure in, all can be seen that the related application of computer and its Related product in life everywhere.
With the popularization of computers with diversification, many brand-new computer peripheral devices also constantly emit like the mushrooms after rain Go out, and be to save space and allow user that can advantageously use computer peripheral device, computer peripheral device is also directed to compact and simultaneous The multi-functional direction of tool is developed, such as printer can have both the function of facsimile machine or scanning machine;LCD screen adds touch-control work( The film of energy or ornamental 2D or 3D;Input unit such as keyboard, mouse etc., in addition to the function of key in original button and idler wheel, more More resistance-type or capacitive contact-controllable detectors allow user can easily will be among instruction input to computer.
And in all computer peripheral devices, due to input unit be as the medium linked up between people and computer, because This, in the manufacturing process of input unit, it is of crucial importance whether test input unit can correctly operate.
Existing input unit often has a variety of compound function element, such as has both the mouse of touch-control and keypress function Or the touch tablet of laptop, but since the test system in producing line is mostly form (Windows) operating system, may allow and treat The mouse or touch tablet of test and the Cursor input devices reciprocal influence of test system itself, make the test system cursor of itself Generation is unable to control or the situation of random jump, even cause the erroneous judgement of test system.
In view of this, input unit to be tested and itself input unit of test system can be separated by how providing one kind, to keep away Exempt from the interactional test system of the two, for the technical task of the invention to be solved.
The content of the invention
The technical problem to be solved in the present invention is that, for deficiencies of the prior art, providing one kind can test Have the input unit test system and method for the input unit of multiple function element, input unit to be tested and test can be separated Host itself input unit, influences each other to avoid the two.
The technical solution adopted by the present invention to solve the technical problems is to provide a kind of input unit test system, to survey An input unit of the examination with multiple function element, input unit test system include test main frame and test platform, should Test main frame tests information to perform a test program and an information intercepting program by test program output one;It should Test platform to receive the test information and operate the input unit according to the test information, the input unit should operate and A reaction information is exported to the test main frame;Wherein, the test main frame by its information intercepting program intercepts reaction information simultaneously By the reaction information be converted at least one coding, and by its test program differentiate this at least one coding whether with the test information It is consistent.
It is preferred that the input unit is mouse or touch tablet.
It is preferred that the plurality of function element includes:One left button, a right button, a capacitance detector or an optical detectors.
It is preferred that the test main frame includes screen, the screen is showing the man-machine interface of the test program.
It is preferred that the reaction information includes multiple message packets of the plurality of function element output.
It is preferred that the test main frame is at least one coding by the plurality of message packet of information intercepting Program transformation.
Extremely should it is preferred that the input unit exports the reaction information by Bluetooth wireless communication or Universal Serial Bus Interface Test main frame.
The present invention also provides a kind of input unit test method, to test the input dress with multiple function element It puts, which comprises the following steps:
(a) generates a test information;
(b) operates the input unit according to the test information, and makes the input unit that should operate and export reaction letter Breath;
(c) reaction information is converted at least one coding by;
(d) differentiates whether at least one coding is consistent with the test information;And
(e) whether is consistent with the test information according at least one coding and shows a test result.
Input unit test system and method provided by the present invention can test each function element of input unit respectively Whether can normal operation, and can be recompiled by the reaction information exported to input unit to be tested, make input to be tested Device is with controlling the input unit of test main frame itself mutually to separate, it is ensured that input unit to be tested and the input of test main frame itself Device will not reciprocal influence, effectively improve the accuracy of product test and the efficiency of automated production.
Description of the drawings
Figure 1A:For the side view of multi-functional input unit;
Figure 1B:For the top view of multi-functional input unit;
Fig. 2:The structure diagram of system is tested for input unit provided by the present invention;
Fig. 3:The test flow chart of system is tested for input unit of the present invention;And
Fig. 4:The situation schematic diagram shown for input unit of the present invention test system man-machine interface.
Specific embodiment
Advantages of the present invention and feature and implementation method will carry out more detailed by referring to exemplary embodiment and attached drawing Description and be easier to understand.However, the present invention can realize and in different forms not it is understood that being only limitted to set forth herein Embodiment.On the contrary, for technical field those of ordinary skill, these embodiments provided will make this specification More thoroughly with conveying comprehensively and intactly scope of the invention.
First, please refer to Fig.1 shown in A and Figure 1B, Figure 1A is the side view of multi-functional input unit;Figure 1B is multi-functional Input unit top view.Multifunction input device of the present invention can be mouse or touch tablet etc. have left button, right button, The computer peripheral apparatus of capacitance detector or optical detectors.
In Figure 1A and Figure 1B, multifunction input device is Cursor input devices, i.e. mouse 10, and mouse 10 has upper cover housing 102nd, lower lid housing 103 and the multiple function element being disposed therein, wherein, function element includes:Left button 101a, right button 101b, capacitance detector 1021 and optical detectors 1031.Wherein, left button 101a and right button 101b can be the left and right with entity Button;Or the right and left key formed by the contact position of finger and 10 upper cover housing 102 of mouse;Or by 10 upper cover housing of mouse 102 the swing left button and right button to be formed.Capacitance detector 1021 is disposed on the capacitance of 10 upper cover housing of mouse, 102 internal layer Formula printed circuit board (PCB), capacitance detector 1021 change the small capacitance in circuit using body capacity effect, with detecting Finger or palm 10 upper cover housing 1021 of mouse dynamic, for example, capacitance detector 102 can detect finger in upper cover housing Mobile status on 1021, when above and below finger is at the position of left button 101a or right button 101b or when horizontally slipping, carrying out computer Screen web page slides up and down or switches the operation of the page;Optical detectors 1031 are arranged at lower lid housing 103, optical detectors 1031 can collect motion direction and relative motion of the mouse 10 on the body surface that it is placed, and user is then by mobile mouse Mark 10 carrys out the click and movement of cursor in operation display.
Then, also referring to Figure 1A, Figure 1B and Fig. 2, Fig. 2 show input unit test system provided by the present invention System, including:Mouse 10, test main frame 20, screen 30 and test platform 40.Test main frame 20 is form (Windows) operation system The host computer of system, test main frame 20 itself also have the input unit (being not shown in the drawing) of operation.Test main frame 20 be by Test platform 40 is electrically connected by parallel port (Parallel port), in addition, test main frame 20 is blocked to install and execute information Program 201 and test program 202 are cut, user can utilize input unit (being not shown in the drawing) operation of test main frame 20 itself to survey Program 202 is tried, wherein, test program 202 is write using general common Labview softwares, and test program 202 is via arranged side by side Port output tests information T0 to test platform 40.Instruction of the test platform 40 then according to test information T0 is operated, and citing comes It says, test platform 40 can be mechanical arm or the attacking head with Electromagnetic Control, when carrying out input unit test, test platform 40 make optical detectors 1031 generate reaction information P0 according to the instruction for testing information T0 with the mechanical arm operation movement of mouse 10; Or with the left button 101a or right button 101b of attacking head percussion mouse 10 left button 101a or right button 101b is made to generate reaction information P0.Mouse Mark 10 then by bluetooth (Blue Tooth) wireless communication or Universal Serial Bus Interface (Universal Serial Bus, USB reaction information P0) is transmitted to test main frame 20.Information intercepting program 201 in test main frame 20 is write by C language, Information intercepting program 201 is a kind of hook programs, to intercept the information of hook programs more bottom built-in compared with Windows, In the present invention, information intercepting program 201 is used to intercept the reaction information P0 that mouse 10 is sent to test main frame 20.Screen 30 is then Man-machine interface as display test program 202 is used, and (is not shown convenient for users to the input unit of itself by test main frame 20 In figure) operation input device test system.
It is the test flow chart that input unit of the present invention tests system also referring to Fig. 2 and Fig. 3, Fig. 3, is being inputted During device to test, first, generate test information T0 (step S100), in step S100, can taking human as or automated manner drive 202 self-test host 20 of test program generates and exports test information T0 to test platform 40;Test platform 40 is receiving survey It tries after information T0 according to test information T0 operation mouses 10, and makes the output-response information P0 (steps because should operate due to of mouse 10 S101), in step S101, if the test information that includes of test information T0 is surveyed to test the left button 101a six times of mouse 10 Examination platform 40 is with attacking head in the left button 101a six times that mouse 10 is sequentially tapped in the default time;If test information T0 is included Optical detectors 1031 of the information for test mouse 10 are tested, then test platform 40 operates mouse 10 to give tacit consent to speed with mechanical arm Degree is moved towards default direction.
Then, 10 output-response information P0 of mouse is to test main frame 20, since mouse 10 includes multiple function element (left buttons 101a, right button 101b, capacitance detector 1021 and optical detectors 1031), therefore, when mouse 10 carries out operation test, according to According to the test information that test information T0 is included, the reaction information P0 of output includes:The message packet of left button 101a outputs, right button The information envelope that the message packet or optical detectors 1031 that the message packet of 101b outputs, capacitance detector 1021 export export Bag.Test main frame 20 intercepts reaction information P0 with information intercepting program 201 after reaction information P0 is received, then and believes reaction Breath P0 is converted at least one coding (step S102), and in step S102, information intercepting program 201 is intercepting reaction information P0 Afterwards, then the reaction information package to left button 101a outputs, reaction information package, the capacitance detector 1021 of right button 101b outputs are defeated The reaction information package of reaction information package or optical detectors 1031 output gone out is recompiled, and is completed recompiling Afterwards, further by the reaction information of left button 101a coding P1, the reaction information coding P2 of right button 101b, capacitance detector 1021 Reaction information encodes P3 or test program 202 is given in the reaction information coding P4 transmission of optical detectors 1031.Due to reaction information P0 is intercepted by information intercepting program 201, thus can effective district every mouse 10 and test main frame 20 input unit of itself (not It is shown in figure), make the input unit (being not shown in the drawing) of mouse 10 and test main frame 20 itself will not reciprocal influence.
Then, test program 202 then differentiates whether at least one coding is consistent (step S103) with test information T0, in step In S103, test program 202 compare generated test information T0 and left button 101a in step S100 reaction information coding P1, Reaction information coding P2, the reaction information coding P3 of capacitance detector 1021 or the reaction of optical detectors 1031 of right button 101b Information encodes P4, for example, as the left button 101a that the test information that test information T0 is included is test mouse 10, then tests journey Sequence 202 can discriminate whether to receive the reaction information coding P1 of left button 101a.
Finally, whether screen 30 is then consistent with test information T0 according at least one coding and shows test result (step S104), in step S104, if test information T0 is consistent with reaction information coding (P1, P2, P3 or P4), in screen 30 Show that test passes through (Pass) in man-machine interface;If test information T0 is not consistent with reaction information coding (P1, P2, P3 or P4), Then show test not by (Fail) in the man-machine interface of screen 30, for example, the test information that test information T0 is included To test the left button 101a of mouse 10, then test program 202 can discriminate whether to receive the reaction information coding P1 of left button 101a, If so, pass through (Pass) in the display of screen 30;Conversely, if the test information that test information T0 is included is a left side for test mouse 10 Key 101a, but test program 202 does not receive the reaction information coding P1 of left button 101a or that receive is right button 101b Reaction information encodes P2, then is shown not through (Fail) in screen 30.
Input unit provided by the present invention test system not only can effective district every input unit to be tested and test main frame 20 input units (being not shown in the drawing) of itself, make between the two will not reciprocal influence, on the other hand, can test respectively input dress The multiple function element put for example, as left button 101a, the right button 101b of user's mouse 10 to be tested, can set test journey Sequence 202 only recognizes the reaction information coding P2 of the reaction information coding P1 of left button 101a, right button 101b, and ignores capacitance detector The 1021 reaction information coding P3 and reaction information coding P4 of optical detectors 1031;Or when user's mouse 10 to be tested During capacitance detector 1021, test program 202 can be set and only recognize the reaction information coding P3 of capacitance detector 1021, and ignored Reaction information coding P1, the reaction information coding P2 of right button 101b and the reaction information of optical detectors 1031 of left button 101a is compiled Code P4;Even when the optical detectors 1031 of user's mouse 10 to be tested, test program 202 can be set only recognize optics and detect The reaction information coding P4 of device 1031 is surveyed, and reaction information coding P1, the reaction information of right button 101b of ignoring left button 101a are compiled The reaction information of code P2 and capacitance detector 1021 coding P3.
Referring to Fig. 4, Fig. 4, which is input unit of the present invention, tests the situation schematic diagram that system man-machine interface is shown, in Fig. 4 In, it is assumed that the test information that includes of test information T0 is the left button 101a six times of test mouse 10, then the general of information intercepting program 201 The reaction information package of left button 101a outputs is recompiled as X00Y (wherein Y value is between 1~9), and in testing journey on screen 30 The codings such as X001, X002, X003, X004, X005, X006 are shown in the man-machine interface 2021 of sequence 202, while show mouse 10 Left button 101a tests pass through (Pass).
Compared to the prior art, input unit test system and method provided by the present invention can test input unit respectively Each function element whether can normal operation, while the input unit of input unit to be tested and test main frame itself can be separated, The two is made not influence each other, effectively improves the accuracy of product test and the efficiency of automated production;Therefore the present invention actually one The creation of great industrial value.
It is of the invention appointed as those of ordinary skill in the art apply craftsman think and be it is all as modification, all do not depart from its right so Claimed scope.

Claims (8)

1. a kind of input unit tests system, to test the input unit with multiple function element, which is characterized in that should Input unit test system includes:
Test main frame to perform a test program and an information intercepting program, and is believed by one test of test program output Breath;And
Test platform, to receive the test information and operate the input unit according to the test information, which should It operates and exports a reaction information to the test main frame;
Wherein, which by its information intercepting program intercepts reaction information and is converted at least one by the reaction information Coding, and differentiate whether at least one coding is consistent with the test information by its test program.
2. input unit as described in claim 1 tests system, which is characterized in that the input unit is mouse or touch tablet.
3. input unit as described in claim 1 tests system, which is characterized in that the plurality of function element includes:One left button, One right button, a capacitance detector or an optical detectors.
4. input unit as described in claim 1 tests system, which is characterized in that the test main frame includes screen, the screen To show the man-machine interface of the test program.
5. input unit as described in claim 1 tests system, which is characterized in that the reaction information includes the plurality of Functional Unit Multiple message packets of part output.
6. input unit as claimed in claim 5 tests system, which is characterized in that the test main frame is by the information intercepting journey Sequence converts the plurality of message packet as at least one coding.
7. input unit as described in claim 1 tests system, which is characterized in that the input unit is by Bluetooth wireless communication Or Universal Serial Bus Interface exports the reaction information to the test main frame.
8. a kind of input unit test method, to test the input unit with multiple function element, which is characterized in that should Input unit test method comprises the following steps:
(a) generates a test information;
(b) operates the input unit according to the test information, and makes the input unit that should operate and export a reaction information;
(c) reaction information is converted at least one coding by;
(d) differentiates whether at least one coding is consistent with the test information;And
(e) whether is consistent with the test information according at least one coding and shows a test result.
CN201611066852.6A 2016-11-25 2016-11-25 Input device testing system and method Active CN108108274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611066852.6A CN108108274B (en) 2016-11-25 2016-11-25 Input device testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611066852.6A CN108108274B (en) 2016-11-25 2016-11-25 Input device testing system and method

Publications (2)

Publication Number Publication Date
CN108108274A true CN108108274A (en) 2018-06-01
CN108108274B CN108108274B (en) 2021-05-04

Family

ID=62204615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611066852.6A Active CN108108274B (en) 2016-11-25 2016-11-25 Input device testing system and method

Country Status (1)

Country Link
CN (1) CN108108274B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3057958A (en) * 1959-08-24 1962-10-09 Stelma Inc Telegraph test set
US4409656A (en) * 1980-03-13 1983-10-11 Her Majesty The Queen, In Right Of Canada As Represented By The Minister Of National Defense Serial data bus communication system
CN1588322A (en) * 2004-10-14 2005-03-02 致伸科技股份有限公司 Mouse detecting device and its method for simultaneously movingt track detection and key detection
TW201015303A (en) * 2008-10-08 2010-04-16 Inventec Corp A method of testing a PS/2 interface
CN201673498U (en) * 2010-03-03 2010-12-15 神讯电脑(昆山)有限公司 Keyboard test system
US20110130168A1 (en) * 2009-12-01 2011-06-02 Ringcentral, Inc. Universal call management platform
CN102224491A (en) * 2008-09-22 2011-10-19 Mts系统公司 Testing machine with workflow based test procedure
US9264497B2 (en) * 2013-12-23 2016-02-16 Cognizant Technology Solutions India Pvt. Ltd. System and method for hosting mobile devices for testing in a cloud computing environment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3057958A (en) * 1959-08-24 1962-10-09 Stelma Inc Telegraph test set
US4409656A (en) * 1980-03-13 1983-10-11 Her Majesty The Queen, In Right Of Canada As Represented By The Minister Of National Defense Serial data bus communication system
CN1588322A (en) * 2004-10-14 2005-03-02 致伸科技股份有限公司 Mouse detecting device and its method for simultaneously movingt track detection and key detection
CN102224491A (en) * 2008-09-22 2011-10-19 Mts系统公司 Testing machine with workflow based test procedure
TW201015303A (en) * 2008-10-08 2010-04-16 Inventec Corp A method of testing a PS/2 interface
US20110130168A1 (en) * 2009-12-01 2011-06-02 Ringcentral, Inc. Universal call management platform
CN201673498U (en) * 2010-03-03 2010-12-15 神讯电脑(昆山)有限公司 Keyboard test system
US9264497B2 (en) * 2013-12-23 2016-02-16 Cognizant Technology Solutions India Pvt. Ltd. System and method for hosting mobile devices for testing in a cloud computing environment

Also Published As

Publication number Publication date
CN108108274B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US7880727B2 (en) Touch sensitive and mechanical user input device
EP3488328B1 (en) Stylus communication channels
CN105760019B (en) Touch operation method and system based on interactive electronic whiteboard
US8816964B2 (en) Sensor-augmented, gesture-enabled keyboard and associated apparatus and computer-readable storage medium
US7730402B2 (en) Input method, system and device
CN104571909A (en) Input device, input mode switching method thereof and computer device
CN102884499A (en) Apparatus and method for proximity based input
TWI494800B (en) Electronic device and touch-sensing method
CN103207757A (en) Portable Device And Operation Method Thereof
KR20140038745A (en) Touch system comprising optical touch panel and touch pen, and method of controlling interference optical signal in touch system
WO2015189710A2 (en) Apparatus and method for disambiguating information input to a portable electronic device
CN106170747A (en) Input equipment and the control method of input equipment
US20120262369A1 (en) Hand-mountable device for providing user input
US7119795B2 (en) Information processing unit, control method for information processing unit for performing operation according to user input operation, and computer program
CN100374998C (en) Touch control type information input device and method
CN103809793A (en) Information processing method and electronic device
KR20140130798A (en) Apparatus and method for touch screen panel display and touch key
CN108108274A (en) Input unit tests system and method
TW201133304A (en) Touch panel device and method for touching the same
Lam et al. MIDS: GUI and TUI in mid-air using MEMS sensors
TWI609261B (en) Input device test system and method thereof
KR20040104011A (en) Multi mode data input device and method thereof
US11449158B2 (en) Interactive, touch-sensitive user interface device
CN104656964B (en) Input mode switching methods and system
EP2511792A1 (en) Hand-mountable device for providing user input

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant