CN101470651B - System used for detecting keyboard control function of electronic device - Google Patents

System used for detecting keyboard control function of electronic device Download PDF

Info

Publication number
CN101470651B
CN101470651B CN2007103066284A CN200710306628A CN101470651B CN 101470651 B CN101470651 B CN 101470651B CN 2007103066284 A CN2007103066284 A CN 2007103066284A CN 200710306628 A CN200710306628 A CN 200710306628A CN 101470651 B CN101470651 B CN 101470651B
Authority
CN
China
Prior art keywords
row
keyboard
button
control
program
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
Application number
CN2007103066284A
Other languages
Chinese (zh)
Other versions
CN101470651A (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.)
Giga Byte Technology Co Ltd
Original Assignee
Giga Byte Technology Co 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 Giga Byte Technology Co Ltd filed Critical Giga Byte Technology Co Ltd
Priority to CN2007103066284A priority Critical patent/CN101470651B/en
Publication of CN101470651A publication Critical patent/CN101470651A/en
Application granted granted Critical
Publication of CN101470651B publication Critical patent/CN101470651B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a system for detecting the keyboard control function of an electronic device, which comprises a computer, a keyboard simulation program and a keyboard simulation circuit, wherein the simulation program is executed by the computer, the keyboard simulation circuit is connected with the computer and row pins and column pins of the electronic device. The keyboard simulation program comprises a plurality of key-press programs which respectively represent key presses on a solid keyboard, when any one key-press program is triggered, the any one key-press program can impel the computer to transport corresponding control data to the keyboard simulation circuit. The keyboard simulation circuit can correspondingly conduct one of the row pins and one of the column pins on the electronic device according to the received control data. Through the mode, the actions of pressing the key presses on the solid keyboard can be simulated. When the modes of simulating the pressing of the key presses need to be modified and increased, just the keyboard simulation program needs to be modified, and the keyboard simulation circuit completely needs not to be changed.

Description

Be used to detect the system of the keyboard control function of an electronic installation
[technical field]
The present invention and technology relevant for the keyboard control function that detects an electronic installation relate in particular to the detection technique of general said qwerty keyboard.
[background technology]
In the manufacturing engineering of the electronic installation that is equipped with keyboard such as personal digital assistant or this type of mobile phone; The fabricator usually can be before the real assemblying keyboard of this electronic installation; Whether it, it is normal to use the keyboard control function of confirming it if being implemented " keyboard simulation test program ".
Traditional keyboard simulation test program is earlier an electronic installation to be measured to be connected to one to be identified normally functioning keyboard, is gone by each button on this keyboard with finger by a tester then.If each button that this electronic installation to be measured can correctly be differentiated this tester and pressed, and carry out corresponding running according to this, just expression this electronic installation to be measured is normal, otherwise, just represent that this electronic installation to be measured is a defective products.
In TaiWan, China bulletin I242153 case, mention a kind of set for automatic generating signal of push button key.This device is to connect n analog switch with a m * 1 multiplexer; Simulate m * n button; And driving this multiplexer and those analog switches respectively with one first driving circuit and one second driving circuit, structure produces m * n push button signalling and gives a circuit board by this.Adopt this device to test this circuit board, though do not need the tester to remove button, yet; Since this device be fully with hardware circuit come analogue-key quilt by; Cause it can only simulate a kind of button by by situation, that is to be reached in order all be unique by mode, and have no way of changing.
[summary of the invention]
The present invention provides a kind of system that is used to detect the keyboard control function of an electronic installation, and this system is with the software control hardware mode, simulate on the keyboard button by by situation.
More know clearly it, this system comprises a computer, and a keyboard simulator program is carried out by this computer, and a keyboard mimic channel connects this computer and this electronic installation.This keyboard simulator program comprises that a plurality of button programs are corresponding respectively and represent the button on the physical keyboard, and when arbitrary button program was triggered, this arbitrary button program can impel this computer to transmit a corresponding control data to this keyboard mimic channel.This keyboard mimic channel comprises a plurality of row ends, a plurality of row ends, and a plurality of control ends, and be configured to can be via the received control data of those control ends, and according to the corresponding conducting of the control data of being received wherein delegation's end and a row end wherein.
Because those row ends are to be used for connecting concurrently the capable pin of this electronic installation, it is to be used for connecting concurrently the row pin of this electronic installation that those row are held, and those control ends are to be used for connecting this computer; Therefore; Under this keyboard simulator program control, control data of the every transmission of this computer is given this keyboard mimic channel, will cause wherein delegation pin and wherein row pin conducting on this electronic installation; This is as far as this electronic installation, be equivalent to a certain physical button by by effect.See through such mode, just can simulate the action that the button on this physical keyboard is pressed.
Preferably, in the present invention, this keyboard mimic channel comprises a delegation's multiplexer and a row multiplexer.This row multiplexer has a plurality of parallel row ends, delegation's links, and one group of row control end, and be configured to can be according to the received corresponding conducting of capable control data of this group row control end one of them go and hold and this row link.This row multiplexer has a plurality of parallel row ends, a row link, reaches one group of row control end, and is configured to and can organizes the corresponding conducting of the received row control data of row control end one of them row end and this row link according to this.Wherein, the capable link of this row multiplexer connects the row link of this row multiplexer.In brief, this keyboard mimic channel only is made up of a delegation's multiplexer and a row multiplexer, and circuit structure is quite simple, meets low-cost requirement.
Beneficial effect of the present invention is, when using system of the present invention to go to detect the keyboard control function of this electronic installation, does not need this physical keyboard fully, also need not spend manpower and go by this button.The more important thing is that system of the present invention can see through the modification of this keyboard simulator program, the multiple analog form of conversion easily, or increase more kinds of analog forms is used and is satisfied different testing requirements, and these are revised and can not vary to the design on the hardware fully.
[description of drawings]
Fig. 1 shows the equivalent circuit diagram a when qwerty keyboard connects an electronic installation;
Fig. 2 shows the calcspar of a preferred example of system of the present invention;
Fig. 3 shows the capable multiplexer of system of the present invention and the truth table of row multiplexer;
Fig. 4 shows the general architecture of the keyboard simulator program of system of the present invention;
Fig. 5 shows comparison list, is used for pointing out each button program and the corresponding relation of each button on this qwerty keyboard of the keyboard simulator program of system of the present invention;
Fig. 6 shows the execution result of picture program of the keyboard simulator program of system of the present invention.
[embodiment]
Fig. 1 shows the equivalent electrical circuit the when qwerty keyboard 1 of an entity connects an electronic installation 2.These electronic installation 2 general reference mobile phone, personal digital assistant or other portable electronic devices.This electronic installation 2 has a display 20 and a processor 21.This qwerty keyboard 1 all column rule m0~m7 are each the row pins 210 that is connected to this processor 21 one to one, and all alignment n0~n6 are each the row pins 211 that is connected to the processor 20 in this electronic installation 2 one to one.Capable pin 210 described herein and row pin 211 also can be meant the pin of a shift registor (CPLD) that connects this processor 21.This shift registor is to be used to expand pin count, to adapt to the qwerty keyboard with more keys.This processor 21 is understood own or is scanned through the column rule of this shift registor to this qwerty keyboard 1, and the alignment of this qwerty keyboard 1 is monitored, and is switched on to detect which column rule and alignment.Further speech, when arbitrary button is pressed, the one group of column rule that is connected to this button will be switched on alignment, makes that the capable pin 210 and the row pin 211 of corresponding this group column rule of connection and alignment also can be followed conducting, short circuit in other words on this electronic installation 2.For example work as button K by on time; Column rule m6 and alignment n0 are switched on; The corresponding capable pin 210 that connects this group column rule m6, alignment n0 also can be followed conducting with row pin 211 on this electronic installation 2, and this logic variation can detect by this processor 21 immediately, supplies its foundation as processing.Because different keys pressed, the capable pin 210 that has not on the same group is switched on row pin 211, therefore, is that which group row pin 210 is switched on row pin 211 as long as this electronic installation 2 detects, just can correctly tell be which button quilt by.
For the purpose of convenient explanation, will be simulated object with above-mentioned qwerty keyboard 1 subsequently, and with above-mentioned electronic installation 2 as object to be measured, but not as limit.
The calcspar of Fig. 2 is to be used for representing that system of the present invention is used to detect the situation of the keyboard control function of this electronic installation 2.Wherein, each the row pin 210 on this electronic installation 2 is not connected this qwerty keyboard 1 with row pin 211, but is connected to system of the present invention.
Shown in frame of broken lines among Fig. 2, system of the present invention comprises a computer 3, one keyboard simulator programs 4 by these computer 3 execution, and a keyboard mimic channel 5 connects these computers 3.This keyboard mimic channel 5 comprises a plurality of row end 50, a plurality of row end 51, and a plurality of control ends 52, and be configured to maybe be according to the control data that those control ends 52 are received corresponding conducting wherein delegation's end 50 and a row end 51 wherein.In this example, be to select for use a delegation's multiplexer 6 and a row multiplexer 7 to form this keyboard mimic channel 5, so; Above-mentioned row end 50 just is equivalent to the row end of this row multiplexer 6, i.e. its pin S0~S7, and above-mentioned row end 51 just is equivalent to the row end of this row multiplexer 7; Be its pin S0~S7, above-mentioned control end 52 just is equivalent to the capable control end of this row multiplexer 6, i.e. pin EN, C1, C2, C3; With the row control end of this row multiplexer 6, i.e. pin EN, C1, C2, both combinations of C3.It should be noted that this row multiplexer 6 also has delegation's link 54, this row multiplexer 7 also has a row link 55, and this row link 54 is to be connected to this row link 55, so that this row multiplexer 6 composes in series this keyboard mimic channel 5 with this row multiplexer 7.
Select for use eight to select under the situation of an analog switch (CD4051 multiplexer) at this row multiplexer 6 with row multiplexer 7 boths; This both pin S0~S7 be exactly CD4051 the 12nd, 13,14,15,1,2,4, and 5 pins; This both pin EN, C1, C2, C3; Be exactly CD4051 the 6th, 9,10,11 pins, and this row link 54 is exactly the 3rd pin of CD4051 with row link 55.The CD4051 multiplexer is with regard to its internal logic circuit, and being considered as one can an in check multi selector switch, so, in Fig. 2, use easy switch symbols to represent it, understand with convenient.The truth table that further shows this row multiplexer 6 and this row multiplexer 7 among Fig. 3.From table, can know and understand; This row multiplexer 6 can impel wherein delegation's end 50 and its row link 54 conductings according to the capable control data that its control end 52 is received, this row multiplexer 7 also can impel a wherein row end 51 and its row link 55 conductings according to the row control data that its control end 52 is received.For example when this row multiplexer 6 when its control end 52 receives 0001, the row end 50 of its numbering S1 is switched on its row link 54, all the other are analogized referring to this truth table.Because this row link 54 is to connect this row link 55; So, as far as whole keyboard mimic channel 5, the control data that just can be received according to these control ends 52; Which row end 50 the i.e. combination of this row control data and this row control data decides which is listed as the conducting of end 51 with.The position of switch symbols indication all is S1 among the figure, and control end 52 of this this row multiplexer 6 of expression is to receive 0001, and the control end 52 of this row multiplexer 7 also is to receive 0001, make row end 50 that is numbered S1 and the row end that is numbered S1 51 both are conductings.
When detecting the keyboard control function of this electronic installation 2, this computer 3 is to be connected to the control end 52 on this keyboard mimic channel 5 via a control data bus 30.Each row end 50 on this keyboard mimic channel 5 is each the row pin 210 that is connected to the processor 21 of this electronic installation 2 via delegation's data bus 31 one to one.Each row end 51 on this keyboard mimic channel 5 is each the row pin 211 that is connected to the processor 21 of this electronic installation 2 via a row data bus 32 one to one.So; Whenever transmitting a control data via this control data bus 30, this computer 3 gives this keyboard mimic channel 5; The capable multiplexer 6 and the row multiplexer 7 of this keyboard mimic channel 5 will be respectively according to capable control data in this control data and row control datas; Corresponding row end 50 of conducting and row end 51; Thereby make on this processor 21 the corresponding capable pin 210 that connects this group row end 50 and row end 51 and row pin 211 also so conducting, this is as far as this electronic installation 2, the button quilt that is equivalent to an entity by effect.
Fig. 4 shows this keyboard simulator program 4 framework haply; It comprises that a plurality of button programs 40 are corresponding respectively and represents the button on this qwerty keyboard 1; And when arbitrary button program 40 was triggered, this arbitrary button program 40 can impel this computer 3 to transmit a corresponding control data to this keyboard mimic channel 5.
Fig. 5 shows the corresponding relation of button and these button programs 40 and corresponding control data thereof on this qwerty keyboard 1.The zone 8 that two frame line institutes frame is lived among the figure is to represent this qwerty keyboard 1, has many little subregions 80 to represent each button on this qwerty keyboard 1 respectively in this zone 8, and they are a corresponding button program 40 respectively, the little subregion 81 that wherein also has some not use.(S0~S7) represents each above-mentioned row end 50 (S0~S7) respectively to each subregion 82 among the figure among horizontal first row in top; Also simultaneously corresponding each column rule on this qwerty keyboard 1 (m0~m7) that represents; 4bit data in each subregion 83 among second row is to represent above-mentioned capable control data respectively; That is to say that when corresponding little subregion 80 pairing button programs 40 were triggered, this computer 3 can be given the control end 52 that is sent to this row multiplexer 6 with the 4bit data in it.(S0~S7) is to represent each above-mentioned row end 51 respectively (S0~S7) also represents each alignment on this qwerty keyboard 1 (n0~n7) simultaneously to each subregion 84 among the figure among vertical first row of left.4bit data in each subregion 85 among second row is to represent above-mentioned row control data respectively; That is to say; When corresponding little subregion 80 pairing button programs 40 were triggered, this computer 3 can be with the control end 52 of the 4bit data transmission in it to this row multiplexer 7.
For instance; When the pairing button program 40 of little subregion 80a of representing the N button is triggered; Represent this computer 3 be at present the N button of simulation on this qwerty keyboard 1 under the control of this keyboard simulator program 4 by by situation; At this moment, the data among the little subregion 83a corresponding with this little subregion 80a is 0111, and the data among the little subregion 85a corresponding with this little subregion 80a is 0001; So the control data that the button program 40 that this is triggered can require this computer 3 to transmit a control data (01110001) of being made up of row control data (0111) and row control data (0001) is given this keyboard mimic channel 5.Then, the capable control data (0111) that these row multiplexer 6 meetings are received according to its control end 52, its row link 54 of conducting and the row end 50 that is numbered S7.Meanwhile, the row control data (0001) that these row multiplexer 7 meetings are received according to its control end 52, its row link 55 of conducting and the row end 51 that is numbered S1.This expression; When this computer 3 transmits a content is that 01110001 control data is when giving this keyboard mimic channel 5; The row end 50 that is numbered S7 on this keyboard mimic channel 5 is switched on being numbered S1 row end 51, and this is as far as this electronic installation 2, be the N button that is equivalent to an entity by by effect.
See also Fig. 4, this keyboard simulator program 4 more comprises an auto-programming 41, and when this auto-programming 41 was triggered, this auto-programming 41 can trigger all button programs 40 in regular turn.This means this keyboard simulator program 4, can see through the such hardware combinations of this computer 3 and this keyboard mimic channel 5, all physical buttons of simulating automatically on this qwerty keyboard 1 are pressed, and by by order also given by this keyboard simulator program 4.
In addition; Based on the convenience on the detecting operation, this keyboard simulator program 4 more comprises a picture program 42, and it can make this computer 3 show picture 9 as shown in Figure 6; This picture 9 comprises a keyboard 90; It comprises a plurality of button 901 respectively corresponding those button programs 40, when arbitrary button 901 is clicked (click), promptly triggers relative button program 40.So a tester all on this keyboard 90 click action, just be the equal of on this qwerty keyboard 1 by the action of its button, both are consistent using as far as this electronic installation 2.
Preferably, this picture 9 more comprises a plurality of control knobs 91, and this auto-programming 41 is arranged to by those control knobs 91 control its triggering, forbidden energy or stops.For example, click the control knob 91 that is labeled as Test Mode, make it switch to the position that is labeled as Auto; Just can trigger this auto-programming 41; Make it switch to the position that is labeled as Manual, will this auto-programming 41 of forbidden energy, at this moment; The tester can only click the button 901 on this keyboard 90, whenever clicks a button 901 and just only triggers its pairing button program 40.In addition, when the control knob that is labeled as STOP 91 is clicked, the auto-programming 41 in will ending to operate.
Preferably, this picture 9 more comprises an adjustment button 92, and this auto-programming 41 further is arranged to can be accordinged to a time interval and trigger all button programs 40 in regular turn, and size that should the time interval is controlled by this adjustment button 92.
Through above-mentioned explanation, be appreciated that system of the present invention is the mode with software (keyboard simulator program 4) control hardware (keyboard mimic channel 5), simulate on this qwerty keyboard 1 button by by.See through the keyboard control function that such mode detects this electronic installation, need not use the keyboard of entity fully, also need not spend manpower and remove to press button.Owing to be to use software to control analog form,, need do not vary to the design on the hardware fully so when needing increase or change analog form to satisfy different testing requirements, only need to revise the software part.

Claims (6)

1. system that is used to detect the keyboard control function of an electronic installation, this electronic installation has plural number row pin and several column pin, and this system comprises:
One computer; One keyboard simulator program is carried out by this computer, and wherein, this keyboard simulator program comprises that a plurality of button programs are corresponding respectively and represents the button on the physical keyboard; And when arbitrary button program was triggered, this arbitrary button program can impel this computer to transmit corresponding control data;
One keyboard mimic channel; Comprise that a plurality of row ends supply to connect one to one the capable pin of this electronic installation; A plurality of row ends supply to connect one to one the row pin of this electronic installation, and this computer of plural control end confession connection, and this keyboard mimic channel more is configured to and can receives the control data that sends from this computer via those control ends; And according to the corresponding conducting of the control data received wherein delegation's end and a row end wherein
Wherein, said keyboard mimic channel is composed in series by two multiplexers, and wherein a multiplexer provides said row end, and another multiplexer provides said row end, and two multiplexers provide said control end jointly.
2. the system of claim 1 is characterized in that, this keyboard simulator program more comprises an auto-programming, and when this auto-programming was triggered, this auto-programming can trigger all button programs in regular turn.
3. the system of claim 1; It is characterized in that this keyboard simulator program more comprises a picture program, it can make this computer show a picture; This picture comprises a keyboard; It comprises respectively corresponding those button programs of a plurality of buttons, and when arbitrary button is clicked (click), promptly triggers relative button program.
4. system as claimed in claim 3; It is characterized in that this keyboard simulator program more comprises an auto-programming, this picture more comprises a plurality of control knobs; Wherein, This auto-programming is arranged to by those control knob control its triggering, forbidden energy or stops, and when this auto-programming was triggered, this auto-programming can trigger all button programs in regular turn.
5. system as claimed in claim 4; It is characterized in that; Wherein this picture more comprises an adjustment button, and this auto-programming further is arranged to can be accordinged to a time interval and trigger all button programs in regular turn, and size that should the time interval is to be controlled by this adjustment button.
6. a keyboard mimic channel is characterized in that, comprising:
Delegation's multiplexer has a plurality of parallel row ends, delegation's links, and one group of row control end, and be configured to can be according to the received corresponding conducting of capable control data of this group row control end one of them go and hold and this row link; And
One row multiplexer has a plurality of parallel row ends, a row link, reaches one group of row control end, and is configured to and can organizes the corresponding conducting of the received row control data of row control end one of them row end and this row link according to this;
Wherein, the capable link of this row multiplexer connects the row link of this row multiplexer.
CN2007103066284A 2007-12-28 2007-12-28 System used for detecting keyboard control function of electronic device Expired - Fee Related CN101470651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007103066284A CN101470651B (en) 2007-12-28 2007-12-28 System used for detecting keyboard control function of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007103066284A CN101470651B (en) 2007-12-28 2007-12-28 System used for detecting keyboard control function of electronic device

Publications (2)

Publication Number Publication Date
CN101470651A CN101470651A (en) 2009-07-01
CN101470651B true CN101470651B (en) 2012-11-14

Family

ID=40828136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007103066284A Expired - Fee Related CN101470651B (en) 2007-12-28 2007-12-28 System used for detecting keyboard control function of electronic device

Country Status (1)

Country Link
CN (1) CN101470651B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955725B (en) * 2011-08-31 2017-02-15 杜臣鑫 Simulation device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629245B1 (en) * 1999-10-22 2003-09-30 Arthur D. Stone Apparatus for stimulating keypad entry of an access code into a keypad type security system
CN1641592A (en) * 2004-01-07 2005-07-20 北京北阳电子技术有限公司 Method and system for measuring functions of electronic product with keyboard
CN1760690A (en) * 2004-10-13 2006-04-19 盛群半导体股份有限公司 Set for automatic generating signal of push button key

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629245B1 (en) * 1999-10-22 2003-09-30 Arthur D. Stone Apparatus for stimulating keypad entry of an access code into a keypad type security system
CN1641592A (en) * 2004-01-07 2005-07-20 北京北阳电子技术有限公司 Method and system for measuring functions of electronic product with keyboard
CN1760690A (en) * 2004-10-13 2006-04-19 盛群半导体股份有限公司 Set for automatic generating signal of push button key

Also Published As

Publication number Publication date
CN101470651A (en) 2009-07-01

Similar Documents

Publication Publication Date Title
CN101017402B (en) Keyboard, screen and mouse switching system
US20080088589A1 (en) Scanning circuit and method for keyboard
CN101876930B (en) Keyboard automatic test system
CN112083310A (en) Intelligent plate testing system
CN101470651B (en) System used for detecting keyboard control function of electronic device
CN203786242U (en) Portable multifunctional interface cable test device
TWI378345B (en) Automatic testing system for keyboard
CN106997249A (en) A kind of display panel and its fault testing method with touch controllable function
CN101685107A (en) Testing device with setting state converting function and control method thereof
CN214384608U (en) Simulation keyboard button test circuit
US8253604B2 (en) Keyboard scanning circuit
US20100122897A1 (en) Keypad, Keypad Matrix and Electronic Device
CN103678079A (en) Matrix test method, system and voltage clock control method
CN201562268U (en) Detecting equipment based on keyboard integrated circuit
US11720183B2 (en) Method for operating an active input element and corresponding input element, input arrangement and computer program product
KR20060034077A (en) Method and apparatus for detecting signal of key input in a mobile communication terminal
CN109994334B (en) Keyboard with a keyboard body
CN102857232A (en) Key detection circuit and key detection method
TW202113558A (en) Keyboard circuit structure further achieves efficacy of solving keypads that are incapable of determining or misjudging
RU2109329C1 (en) Digital block diagnosing device
TW201544823A (en) Testing system of membrane switch circuit
CN110033974B (en) Keyboard with a keyboard body
TWI387209B (en) Control circuit and assign method
CN111064908B (en) Signal transmission method, device, equipment and readable storage medium
TWM592115U (en) Keyboard circuit structure

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121114

Termination date: 20121228