CN101452413B - Automatic detection system for note type computer keyboard interface and method thereof - Google Patents
Automatic detection system for note type computer keyboard interface and method thereof Download PDFInfo
- Publication number
- CN101452413B CN101452413B CN2007101871921A CN200710187192A CN101452413B CN 101452413 B CN101452413 B CN 101452413B CN 2007101871921 A CN2007101871921 A CN 2007101871921A CN 200710187192 A CN200710187192 A CN 200710187192A CN 101452413 B CN101452413 B CN 101452413B
- Authority
- CN
- China
- Prior art keywords
- keyboard
- matrix
- key position
- position value
- mobile computer
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The present invention discloses a system and a method for automatic detecting a keyboard interface of a notebook computer. The method comprises: acquiring a keyboard position corresponding list through scanning a keyboard array of the notebook computer firstly; acquiring a position value of a key to be tested from the keyboard position corresponding list by testing software running in the notebook computer; receiving a testing command sent by the testing software through a general serial bus interface; forming a virtual keyboard matrix by using at least one matrix switch chip so as to control the closing action corresponding to the position of the keyboard in the virtual keyboard matrix according to the testing command; according to the type of the keyboard interface of the notebook computer, switching and outputting a real key position value corresponding to the closing action to the notebook computer; and receiving a real key position value and comparing the received real key position value with the position value of the key to be tested.
Description
Technical field
The present invention relates to a kind of automatic checkout system and method thereof, relate in particular to a kind of system and method thereof of automatic detection computations switch dish interface.
Background technology
In the manufacture process of mobile computer (Notebook Computer), need test the interface of each outside appurtenances on its motherboard usually, comprising keyboard interface.The keyboard of mobile computer is a kind of matrix structure, is made of certain horizontal scanning line and column scan line, and each button is arranged on certain point of crossing of matrix, and the pressing of button causes being connected of certain delegation and a certain row in the matrix.Mobile computer sends sweep signal by the row in keyboard interface (row) line, reads the position that signal is determined button then from row (OK) line, is converted to definite key set code again.The keyboard interface of mobile computer motherboard mainly comprises the signal wire of row, column.Signal wire can be divided into two groups, comprises to send signal wire and regain signal wire, and forms the point of crossing array.The keyboard interface function of dissimilar computing machine motherboards is similar, and only the line number of row, column wherein is different with the position, mainly contains 8 * 16,8 * 18,15 * 12 3 kinds of structures.
Send signal wire and regain signal wire whether have glutinous the company or disconnection by detection, and then realize the detection of keyboard interface.At present, the mode of the general employing of detection computations switch dish is: from the true keyboard of outside access, move the correctness that the artificial button of testing software and combination comes to determine keyboard interface alternately then.But there are some shortcomings in this mode of prior art: 1. need operating personnel and testing software mutual, testing software gives an order, and waits for operating personnel's button; 2. more long-acting rate is low the test duration; 3. operating personnel's button may be made mistakes, and then needs repeatedly; 4. operating personnel may slow down; And other or the like.
Summary of the invention
In order to solve above-mentioned the problems of the prior art and defective, the object of the present invention is to provide a kind of automatic checkout system and method thereof of note type computer keyboard interface, with reducing under the artificial prerequisite that participates in, realize the automatic detection of keyboard interface, and then improve accuracy and the efficient that detects.
The automatic checkout system of note type computer keyboard interface provided by the present invention comprises: a USB (universal serial bus) (USB) communication module, a matrix switch chip, a breakout box and a comparison module; In this, the USB (universal serial bus) communication module receives the order of a testing software by a USB (universal serial bus), and wherein testing software runs in the mobile computer and order comprises desire test key position value; The matrix switch chip can be in order to constitute a dummy keyboard matrix, and then according to the testing software order of USB (universal serial bus) communication module transmission, the closed action of corresponding key position in the control dummy keyboard matrix is with the true actuation of keys of emulation mobile computer keyboard; Breakout box is according to the note type computer keyboard interface type, and the true key position value of the closed action correspondence of relay matrix switch chip output is to mobile computer; Comparison module is contained in the testing software, in order to receiving true key position value, and compares with desire test key position value.
The automatic testing method of note type computer keyboard interface provided by the present invention comprises following steps: scanning notes type computer keyboard array, to obtain a keyboard position corresponding tables; By a testing software that in mobile computer, moves, in the keyboard position corresponding tables, obtain desire test key position value; By the test command that a USB (universal serial bus) acceptance test software sends, wherein test command comprises desire test key position value; Utilize at least one matrix switch chip to constitute a dummy keyboard matrix, and then according to the closed action of corresponding key position in the test command control dummy keyboard matrix, with the true actuation of keys of emulation mobile computer keyboard; According to the note type computer keyboard interface type, the true key position value of switching output closed action correspondence is to mobile computer; And testing software receives true key position value, and compares with desire test key position value, to finish the interface testing of desire test button.
The automatic checkout system of note type computer keyboard interface of the present invention and method have made up specific matrix structure by using the matrix switch chip, be used for substituting actual keyboard, and the order by USB port acceptance test software comes the opening with closed of certain point of crossing in the realization matrix, comes the action of emulation button with this.Therefore, the present invention can realize the detection robotization of mobile computer motherboard keyboard interface, has reduced artificial participation, improves detection accuracy and efficient.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the system block diagrams of the automatic checkout system of note type computer keyboard interface of the present invention; And
Fig. 2 is the flow chart of steps of the automatic testing method of note type computer keyboard interface of the present invention.
Wherein, Reference numeral
10 mobile computers
12 testing softwares
14 Basic Input or Output System (BIOS)s (BIOS)
16 USB (universal serial bus) communication modules
18 matrix switch chips
20 breakout boxs
Embodiment
Relevant characteristics and implementation of the present invention cooperate diagram to be described in detail as follows as most preferred embodiment now.
Please refer to Fig. 1, represented the automatic checkout system of note type computer keyboard interface of the present invention among the figure.This system runs in the mobile computer 10, includes USB (universal serial bus) (USB) communication module 16, matrix switch chip 18 (better embodiment can be realized by for example MT8816 chip or other similar switch module), breakout box 20 and testing software 12.USB (universal serial bus) communication module 16 can be the USB communication fixture of a Cy7c68013 main control chip, and it is received in the order of the testing software 12 of operation in the mobile computer 10 by USB port, and is converted to control signal.The order that testing software 12 transfers to USB (universal serial bus) communication module 16 comprises desire test key position value, i.e. the ranks value of button in mobile computer 10.
As shown in Figure 1, automatic checkout system of the present invention also comprises a breakout box 20, be connected between the Basic Input or Output System (BIOS) (BIOS) 14 of the X/Y line interface of the matrix switch chip 18 that comprises the MT8816 chip and mobile computer 10, be used for the conversion of signals that the MT8816 keyboard matrix is sent.Because the row, column line number of the keyboard interface of different mobile computer motherboards is different with the position, therefore need realizes that different interfaces uses identical MT8816 keyboard matrix, and then keyboard state is reflected in the mobile computer 10 by breakout box.
In testing software 12, include comparison module, receive true key position state value, and the desire test key position value that this location status value is sent with it is compared, and then finish the test of one-touch by keyboard interface.
In addition, automatic checkout system of the present invention can also comprise one scan software, obtaining a keyboard position corresponding tables by scanning notes type computer keyboard array, and then provides desire test key position value to testing software 12.And above-mentioned position corresponding tables also can be provided by the manufacturer of keyboard.
Please refer to Fig. 2 now, this figure is the flow chart of steps of the automatic testing method of a kind of note type computer keyboard interface of the present invention, as shown in Figure 2, the automatic testing method of note type computer keyboard interface of the present invention comprises following steps: " keyboard position corresponding tables " (step 102) of button in matrix that at first needs to obtain in advance according to different mobile computers its true keyboard, above-mentioned position corresponding tables can be provided by the manufacturer of keyboard, perhaps utilizes scanning software to obtain.By all point of crossing of array keyboard scan, and then obtain the key position of true keyboard.Then, mobile computer needs a certain button (for example A key) when pressing, and testing software wherein finds the position (row, column value) (step 104) of this key in " keyboard position corresponding tables ".Then, by the test command (step 106) that a universal serial bus device acceptance test software sends, wherein test command comprises desire test key position value.The USB (universal serial bus) communication device of test transmission order can be the USB communication fixture of a Cy7c68013 main control chip, and it passes through USB port acceptance test order, and is converted to control signal.
Then, the USB (universal serial bus) communication device is sent to test control signal in the dummy keyboard matrix that utilizes at least one matrix switch chip to constitute, and then according to the testing software order of USB (universal serial bus) communication device transmission, the a certain point of crossing of corresponding key position opens with closed, with the true actuation of keys (step 108) of emulation mobile computer keyboard in the control dummy keyboard matrix.In this, the matrix switch chip can be that for example MT8816 chip and other have the switch module of similar functions.In this embodiment, the dummy keyboard matrix can be made of the matrix switch chip of a MT8816 chip, to form 8 * 16 dummy keyboard matrix; Perhaps can constitute,, can cover all keyboard interfaces at present like this to form 8 * 16,8 * 32 or 16 * 16 dummy keyboard matrix by the matrix switch chip of two MT8816 chips.
According to embodiment, be connected to a switching device 20 by the MT8816 matrix switch chip of forming the dummy keyboard matrix, the signal that MT8816 dummy keyboard matrix sends is changed (step 120).Breakout box is connected between the Basic Input or Output System (BIOS) (BIOS) of the X/Y line interface of MT8816 matrix switch chip and mobile computer, because the row, column line number of the keyboard interface of different mobile computer motherboards is different with the position, therefore need realize that different interfaces uses identical MT8816 keyboard matrix by breakout box, and then keyboard state is reflected in the mobile computer.
Breakout box is connected with the keyboard matrix of MT8816 chip by the X/Y line interface, and the X/Y line comprises the signal wire of capable (X) line and row (Y) in the MT8816 keyboard matrix.And be connected to the keyboard interface of mobile computer motherboard by the sweep trace interface.The effect of breakout box is the sequence correspondence that realizes the row, column line of MT8816 keyboard matrix row, column line in the keyboard interface of mobile computer motherboard.
After the Basic Input or Output System (BIOS) reception of tandem signal by mobile computer, true key position state value promptly transfers to testing software, therefore testing software compares the desire test key position value that this true keyboard position state value sends with it, and then finishes the test (step 122) of one-touch.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.
Claims (8)
1. the automatic checkout system of a note type computer keyboard interface is characterized in that, this system comprises:
One USB (universal serial bus) communication module receives the order of a testing software module by a USB (universal serial bus), and wherein this testing software module runs in this mobile computer and this order comprises desire test key position value;
One matrix switch chip, in order to constitute a dummy keyboard matrix, and then, control the closed action of corresponding key position in this dummy keyboard matrix, with the true actuation of keys of this mobile computer keyboard of emulation according to this testing software module command that this USB (universal serial bus) communication module transmits;
One breakout box, according to this note type computer keyboard interface type, the true key position value of this closed action correspondence of this matrix switch chip output of transferring is to this mobile computer; And
One comparison module is contained in this testing software module, in order to this true key position value of reception, and tests key position value with this desire and compares.
2. automatic checkout system according to claim 1 is characterized in that, this matrix switch chip comprises at least one MT8816 chip according to this note type computer keyboard interface type.
3. automatic checkout system according to claim 2 is characterized in that, this matrix switch chip comprises a MT8816 chip, to constitute 8 * 16 dummy keyboard matrix.
4. automatic checkout system according to claim 2 is characterized in that, this matrix switch chip comprises two MT8816 chips, to constitute 8 * 16,8 * 32 or 16 * 16 dummy keyboard matrix.
5. automatic checkout system according to claim 1, it is characterized in that, more comprise the one scan software module, obtaining a keyboard position corresponding tables, and then provide this desire test key position value to this testing software module by scanning this mobile computer keyboard array.
6. the automatic testing method of a note type computer keyboard interface is characterized in that, the method includes the steps of:
Scan this mobile computer keyboard array, to obtain a keyboard position corresponding tables;
By a testing software module of in this mobile computer, moving, obtain desire test key position value certainly in this keyboard position corresponding tables;
Receive the test command that this testing software module is sent by a USB (universal serial bus), wherein this test command comprises desire test key position value;
Utilize at least one matrix switch chip to constitute a dummy keyboard matrix, and then control the closed action of corresponding key position in this dummy keyboard matrix, with the true actuation of keys of this mobile computer keyboard of emulation according to this test command;
According to this note type computer keyboard interface type, the true key position value of this closed action correspondence of switching output is to this mobile computer; And
This testing software module receives this true key position value, and compares with this desire test key position value, to finish the interface testing of this desire test button.
7. automatic testing method according to claim 6 is characterized in that, this matrix switch chip comprises a MT8816 chip, to constitute 8 * 16 dummy keyboard matrix.
8. automatic testing method according to claim 6 is characterized in that, this matrix switch chip comprises two MT8816 chips, to constitute 8 * 16,8 * 32 or 16 * 16 dummy keyboard matrix.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101871921A CN101452413B (en) | 2007-11-28 | 2007-11-28 | Automatic detection system for note type computer keyboard interface and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101871921A CN101452413B (en) | 2007-11-28 | 2007-11-28 | Automatic detection system for note type computer keyboard interface and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101452413A CN101452413A (en) | 2009-06-10 |
CN101452413B true CN101452413B (en) | 2010-06-30 |
Family
ID=40734657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101871921A Expired - Fee Related CN101452413B (en) | 2007-11-28 | 2007-11-28 | Automatic detection system for note type computer keyboard interface and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101452413B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467243A (en) * | 2010-11-17 | 2012-05-23 | 南京百敖软件股份有限公司 | Keyboard matrix analysis structure and method |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102193849A (en) * | 2010-03-03 | 2011-09-21 | 神讯电脑(昆山)有限公司 | Keyboard testing system |
CN102375771B (en) * | 2010-08-18 | 2014-02-12 | 精英电脑股份有限公司 | Keyboard response test system and method |
CN104142467B (en) * | 2013-05-07 | 2017-08-15 | 神讯电脑(昆山)有限公司 | Keyboard endurance testing device |
CN113391708B (en) * | 2021-06-21 | 2023-08-22 | 联想长风科技(北京)有限公司 | Method for identifying different keyboard matrixes used by notebook computer |
CN114297013A (en) * | 2021-12-31 | 2022-04-08 | 东莞市蓝科信息科技有限公司 | Method and system for detecting keyboard of notebook computer and storage medium thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5898861A (en) * | 1996-10-18 | 1999-04-27 | Compaq Computer Corporation | Transparent keyboard hot plug |
CN2461073Y (en) * | 2000-10-12 | 2001-11-21 | 华硕电脑股份有限公司 | Test device |
US6438699B1 (en) * | 1999-05-04 | 2002-08-20 | International Business Machines Corporation | Key stroke detection for keyboard remote wake-up |
US7180504B2 (en) * | 2002-04-26 | 2007-02-20 | Ncr Corporation | Keyboard matrix data transfer |
-
2007
- 2007-11-28 CN CN2007101871921A patent/CN101452413B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5898861A (en) * | 1996-10-18 | 1999-04-27 | Compaq Computer Corporation | Transparent keyboard hot plug |
US6438699B1 (en) * | 1999-05-04 | 2002-08-20 | International Business Machines Corporation | Key stroke detection for keyboard remote wake-up |
CN2461073Y (en) * | 2000-10-12 | 2001-11-21 | 华硕电脑股份有限公司 | Test device |
US7180504B2 (en) * | 2002-04-26 | 2007-02-20 | Ncr Corporation | Keyboard matrix data transfer |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467243A (en) * | 2010-11-17 | 2012-05-23 | 南京百敖软件股份有限公司 | Keyboard matrix analysis structure and method |
CN102467243B (en) * | 2010-11-17 | 2015-04-29 | 南京百敖软件有限公司 | Keyboard matrix analysis structure and method |
Also Published As
Publication number | Publication date |
---|---|
CN101452413A (en) | 2009-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101452413B (en) | Automatic detection system for note type computer keyboard interface and method thereof | |
CN102479132A (en) | Test system and test method for multiple chips | |
CN100511171C (en) | Test approach for debugging serial port function with single board and system thereof | |
CN101853086A (en) | Computer matching display system as well as desktop control switcher and method thereof | |
CN104317417B (en) | A kind of method that key mouse takes over seamlessly, apparatus and system | |
CN102566564A (en) | Vehicle-mounted controller testing system | |
CN101539897B (en) | Multi-computer switching device and operation method thereof | |
CN101639515A (en) | Testing device | |
CN1591336B (en) | Method for simulating computer keyboard or mouse operation | |
CN110989551A (en) | Test system based on VxWorks system general interface board | |
CN102053898A (en) | Method for testing bus interface on PCIE (Peripheral Component Interface Express) slot of host and read-write test method thereof | |
CN100517258C (en) | Key test system and method | |
CN107959806A (en) | A kind of binodal point server KVM switches circuit | |
CN109582623A (en) | One kind can be realized the cascade expansion board circuit of muti-piece different type expansion board | |
CN102779082B (en) | Touch control detection method, touch control panel and liquid crystal display | |
CN101630158B (en) | Industrial control system and serial communication method thereof | |
CN1960276A (en) | Remote control system and method | |
US20090187684A1 (en) | Automatic inspection system and method for notebook computer keyboard interface | |
CN101582036B (en) | Servo device and servo method for shared type basic input-output system | |
CN214384608U (en) | Simulation keyboard button test circuit | |
CN100568829C (en) | Mobile terminal protocol method of testing and system thereof | |
CN102043691B (en) | Contactor control device and controller, method of testing and test macro | |
CN101222740A (en) | Method, device and system for controlling and configuring equipment with multi-version under testing | |
CN201378316Y (en) | Universal input/output interface extension circuit and mobile terminal with same | |
CN104182307A (en) | Serial port redundancy switching method on basis of independent redundancy server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20191209 Address after: Jin Xi Zhen Guan Yin Cun Fang Wu Zu, Taihu County, Anqing City, Anhui Province Patentee after: Anqing Haicheng Electronic Technology Co., Ltd Address before: Taipei City, Taiwan, China Patentee before: Yingda Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100630 Termination date: 20191128 |