CN102541267A - Matrix keyboard circuit, scanning method and device, processor and handheld terminal - Google Patents

Matrix keyboard circuit, scanning method and device, processor and handheld terminal Download PDF

Info

Publication number
CN102541267A
CN102541267A CN2010106208344A CN201010620834A CN102541267A CN 102541267 A CN102541267 A CN 102541267A CN 2010106208344 A CN2010106208344 A CN 2010106208344A CN 201010620834 A CN201010620834 A CN 201010620834A CN 102541267 A CN102541267 A CN 102541267A
Authority
CN
China
Prior art keywords
button
matrix
scanning result
push
complete
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
CN2010106208344A
Other languages
Chinese (zh)
Other versions
CN102541267B (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.)
Datang Telecom Technology Industry Holding Co., Ltd.
Original Assignee
Leadcore 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 Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201010620834.4A priority Critical patent/CN102541267B/en
Publication of CN102541267A publication Critical patent/CN102541267A/en
Application granted granted Critical
Publication of CN102541267B publication Critical patent/CN102541267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a matrix keyboard circuit, a scanning method, a scanning device, a processor and a handheld terminal. The matrix keyboard circuit comprises a normal phase matrix, a reverse phase matrix and/or an independent matrix. The matrix keyboard circuit disclosed by the embodiment of the invention comprises the normal phase matrix, the reverse phase matrix and/or the independent matrix. Under the condition of not adding a scanning signal, a keyboard is scanned by using the characteristic that the same scanning signal has different scanning results in different matrixes, the number of scanned keys can be greatly increased, the problem that input/output (IO) ports are not enough is solved, and the performance of the terminal is improved.

Description

A kind of matrix keyboard circuit, scan method, device, processor and handheld terminal
Technical field
The present invention relates to the mobile communication equipment field, relate in particular to a kind of matrix keyboard circuit, scan method, device, processor and handheld terminal.
Background technology
KBC all has been integrated on the master chip the multiplexing master chip IO of the sweep signal of KBC mouth basically in the handheld device (comprising mobile radio terminal).
For example; Tradition 6x6 matrix keyboard circuit is as shown in Figure 1; The IO port of processor be respectively applied for send column scan signal Col and line scan signals Row [; Each column scan input signal Col [5...0] is pulled to power supply VCC through each self-corresponding resistance R respectively, and line scan signals Row [5...0] and column scan input signal Col [5...0] directly are not communicated with at infall, are connected on the column scan input signal Col [5...0] through button; When button takes place, can produce interruption, the processor acquisition key set code of lining by line scan then, the scanning flow process is as shown in Figure 2.If support 36 buttons, need 12 sweep signals at least, comprise 6 line scan signals and 6 column scan signal.
Because the more non-richness of middle and high end handheld terminal application function, required IO resource is many, and keyboard scanning signal has taken a lot of IO mouths, often causes the not enough situation of IO port, has influenced the performance at terminal.
Summary of the invention
In view of this, the present invention provides a kind of matrix keyboard circuit, scan method, device, processor and handheld terminal.Its concrete scheme is following:
A kind of matrix keyboard circuit comprises: positive phase matrix, anti-phase matrix and/or independent matrix, wherein:
In the said positive phase matrix; Each column scan input signal is pulled to power supply through each self-corresponding first resistance respectively; Each line scan signals is connected to each column scan input signal through each self-corresponding first button; When having button to press in the positive phase matrix, the said row input scan signal height state that connects this button is identical with said line output sweep signal height state;
In the said anti-phase matrix; Said each line scan signals is through each self-corresponding second button, second resistance and the triode of series connection successively; Link to each other with each column scan signal; When having button to press in the anti-phase matrix, connect the said row input scan signal height state and the said line output sweep signal height opposite states of this button;
In the said independent matrix, said each column scan signal is through each self-corresponding the 3rd button and the 3rd resistance eutral grounding of series connection successively, and when having button to press in the independent matrix, the column scan signal input state that connects this button is 0.
Preferably, said triode is the NPN pipe.
A kind of matrix keyboard circuit scanning method comprises:
When button was pressed, line scan signals exported complete 0 and complete 1 respectively;
Reading line scan signals respectively is complete 0 o'clock, and first scanning result of said column scan signal and said line scan signals are complete 1 o'clock, second scanning result of said column scan signal;
Analyze said first scanning result and second scanning result, confirm push-button type;
According to said definite push-button type, carry out operation accordingly, to confirm the current button that is pressed.
Preferably, said first scanning result of said analysis and second scanning result, confirm that the process of its push-button type comprises:
When the value of said first scanning result and second scanning result is 1 entirely, confirm that said push-button type is shake;
When said first scanning result is identical with said second scanning result, confirm that said push-button type is independent matrix press-key;
When said first scanning result is not 1 entirely, and said second scanning result is 1 o'clock entirely, confirms that said push-button type is the positive matrix press-key;
When said first scanning result is 1 entirely, and said second scanning result is not 1 o'clock entirely, confirms that said push-button type is the anti-phase matrix press-key.
Preferably, the said definite push-button type of said foundation is carried out operation accordingly, comprises with the process of confirming the current button that is pressed:
When said push-button type was independent matrix press-key, searching in said first scanning result was 0 bit, confirms that said bit corresponding key is the current button that is pressed;
When said push-button type was the positive matrix press-key, according to current line output 0, the order output scanning signal of other line outputs 1 scanned the button in the positive phase matrix to each line scan signals successively, to confirm the current button that is pressed;
When said push-button type was the anti-phase matrix press-key, each line scan signals was successively according to current line output 1, and the order output scanning signal of other line outputs 0 scans the button in the anti-phase matrix, to confirm the current button that is pressed.
Preferably, line scan signals import respectively complete 0 with complete 1 step before also comprise:
Wait for Preset Time;
Whether judge currently has key to press, if, then continue to carry out, if not, then finish.
A kind of matrix keyboard circuit scanister comprises:
The sweep signal output unit is used for when button is pressed, and line scan signals exports complete 0 and complete 1 respectively;
The scanning result reading unit, being used for reading respectively line scan signals is complete 0 o'clock, first scanning result of said column scan signal and said line scan signals are complete 1 o'clock, second scanning result of said column scan signal;
Analyze and confirm the unit, be used to analyze said first scanning result and second scanning result, confirm push-button type;
Button is confirmed the unit, is used for according to said definite push-button type, carries out operation accordingly, to confirm the current button that is pressed.
A kind of processor comprises: the matrix keyboard scanister, and said matrix keyboard scanister is used for; When having button to press in the said matrix keyboard circuit, the control line scan signals exports complete 0 respectively with complete 1, and reading line scan signals respectively is complete 0 o'clock; First scanning result of said column scan signal and said line scan signals are complete 1 o'clock, and second scanning result of said column scan signal is analyzed said first scanning result and second scanning result; Confirm push-button type; According to said definite push-button type, carry out operation accordingly, to confirm the current button that is pressed.
A kind of handheld terminal comprises: above-mentioned matrix keyboard circuit with link to each other above-mentioned processor with said matrix keyboard circuit.
Preferably, said handheld terminal is mobile phone or palm PC PDA.
Of above-mentioned scheme, the disclosed matrix keyboard circuit of the embodiment of the invention comprises positive phase matrix, anti-phase matrix and/or independent matrix; Under the situation that does not increase sweep signal; Have different scanning result's characteristic through the same scan signal at different matrixes, keyboard is scanned, can improve key scan quantity greatly; Solve the not enough problem of IO port, improved the performance at terminal.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of existing matrix keyboard circuit;
Fig. 2 is existing key scan process flow diagram;
Fig. 3 is the structural representation of the disclosed matrix keyboard circuit of the embodiment of the invention;
Fig. 4 is the disclosed matrix keyboard circuit scanning method of an embodiment of the invention process flow diagram;
Fig. 5 is the method flow diagram of the disclosed definite push-button type of the embodiment of the invention;
Fig. 6 confirms the method flow diagram of the current button that is pressed for the embodiment of the invention is disclosed;
Fig. 7 is the structural representation of the disclosed matrix keyboard scanister of the embodiment of the invention;
Fig. 8 is the structural representation of the disclosed handheld terminal of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention discloses a kind of matrix keyboard circuit; Its structure is as shown in Figure 3; Comprise: positive phase matrix 31, anti-phase matrix 32 and independent matrix 33, wherein: the line scan signals of KBC output and the number of column scan signal are respectively m+1, n+1 in the present embodiment, and the number of first button that each line scan signals is corresponding is n+1; Correspond respectively to n+1 column scan signal; Total number of first button in the positive phase matrix is that (m+1) * (n+1) is individual, and total number of second button is that (m+1) * (n+1) is individual, and total number of the 3rd button is n+1.
In the said positive phase matrix 31; Each column scan input signal Col [n...0] is pulled to power supply through each self-corresponding first resistance R, 10~R1n respectively; Each line scan signals Row [m...0] is connected to each column scan input signal Col [n...0] through each self-corresponding first button; When having button to press in the positive phase matrix 31, the said row input scan signal height state that connects this button is identical with said line output sweep signal height state.
In the said anti-phase matrix 32; Said each line scan signals Row [m...0] is through each self-corresponding second button, second resistance R, 20~R2n and the NPN triode Qn~Q0 of series connection successively; Link to each other with each column scan signal Col [n...0]; When having button to press in the anti-phase matrix, connect the said row input scan signal height state and the said line output sweep signal height opposite states of this button.
In the said independent matrix 33; Said each column scan signal Col [n...0] is through each self-corresponding the 3rd button and the 3rd resistance R 30~R3n ground connection of series connection successively; When having button to press in the independent matrix, the column scan signal input state that connects this button is 0.
In the above-mentioned matrix circuit, resistance R 10~R1n resistance can equate, gets 47Kohm usually, and resistance R 20~R2n resistance can equate, gets 47Kohm usually, and resistance R 30~R3n resistance can equate, gets 4.7Kohm usually.
In the present embodiment, if m, n get 4, promptly the number of line scan signals and column scan signal is respectively 4, if according to connected mode among Fig. 1, it scans 4*4=16 button only.And according to connected mode shown in Fig. 3; Under the situation that does not increase sweep signal; Can scan 4*4+4*4+4=36 button altogether, this shows, the disclosed matrix keyboard circuit of the embodiment of the invention can improve key scan quantity greatly; Solve the not enough problem of IO port, improved the performance at terminal.
Present embodiment does not limit in the keyboard matrix circuit need comprise anti-phase matrix and independent matrix simultaneously; Can be according to actual needs; Select anti-phase matrix or independent matrix and positive phase matrix to be used arbitrarily; Make it to enlarge number of keys, the demand of the convenient, flexible multiple situation of adaptation according to actual conditions.Suppose to adopt positive phase matrix to match with the anti-phase matrix, its key number that can scan is 4*4+4*4=32, under the situation that does not increase sweep signal, the key scan number is doubled.Suppose to adopt positive phase matrix to match with independent matrix, its key number that can scan is 4*4+4=20, and under the situation that does not increase sweep signal, the number of scanning button has promoted four.
Triode in the foregoing description can be selected PNP for use equally, just need adjust concrete circuit connecting form accordingly according to the type of pipe.
The present invention discloses a kind of matrix keyboard circuit scanning method, be used with above-mentioned keyboard matrix circuit, its flow process is as shown in Figure 4, comprising:
Step S41, when button is pressed, line scan signals exports complete 0 and complete 1 respectively;
Step S42, to read line scan signals respectively be complete 0 o'clock, and first scanning result of said column scan signal and said line scan signals are complete 1 o'clock, second scanning result of said column scan signal;
Step S43, said first scanning result of analysis and second scanning result are confirmed push-button type;
If comprise positive phase matrix and reverse matrix in the current keyboard matrix circuit; Then push-button type comprises positive matrix press-key and anti-phase matrix press-key; If comprise independent matrix, then push-button type also comprises independent matrix press-key, distinguishes the zone at button place to utilize matrix-type.
Step S44, the said definite push-button type of foundation are carried out operation accordingly, to confirm the current button that is pressed.
Zones of different according to the button place adopts corresponding method, confirms the button that is pressed in this zone.
In the above-mentioned steps, can also comprise, at the beginning of flow process begins, when judgement has key to press, wait for Preset Time; Whether judge then currently has key to press, if, then continue to carry out, if not, then finish.To realize mode, eliminate because the erroneous judgement that key jitter causes improves the accuracy of judging through time-delay.
Pass through to set the output valve of line scan signals in the present embodiment; To obtain column scan signal corresponding result when the different line scan signals output valves; And then judge push-button type through the result, that is, be that the button in which matrix is pressed; According to the characteristics of this matrix, carry out corresponding operation then to confirm concrete button.This method is simple, can be adapted to the multiple way of realization of above-mentioned keyboard matrix circuit.
Further, in the above-mentioned steps, said first scanning result of said analysis and second scanning result confirm that the process of its push-button type is as shown in Figure 5, comprising:
Step S51, judge whether said first scanning result is identical with second scanning result, if, execution in step S52 then, if not, execution in step S53 then;
Step S52, confirm that said push-button type is independent matrix press-key, and finish;
Step S53, judge whether the value of said first scanning result and second scanning result is 1 entirely, if, execution in step S54 then, if not, execution in step S55 then;
Step S54, confirm that said push-button type is shake, and finish;
Step S55, judge whether said first scanning result is not 1 entirely, and said second scanning result is 1 entirely, if, execution in step S56 then, if not, execution in step S57 then;
Step S56, confirm that said push-button type is the positive matrix press-key, and finish;
Step S57, judge whether said first scanning result is 1 entirely, and said second scanning result is not 1 entirely, if, execution in step S58 then, if not, execution in step S59 then;
Step S58, confirm that said push-button type is the anti-phase matrix press-key, and finish;
Step S59, confirm that said button is invalid button.
In the present embodiment according to the different situations of first scanning result and second scanning result; Analyze the push-button type of current button; To confirm being convenient to the different disposal route of following adopted in its residing position through its push-button type, judge the concrete button that is pressed.
Present embodiment does not limit the sequencing of a plurality of criterions, can adjust its order according to actual needs arbitrarily.
Further,, carry out operation accordingly according to said definite push-button type, as shown in Figure 6 with the flow process of confirming the current button that is pressed, comprising:
Step S61, when said push-button type is independent matrix press-key, searching in said first scanning result is 0 bit, confirms that said bit corresponding key is the current button that is pressed;
If first scanning result is 1101, be pressed with resistance R 32 corresponding key in the then corresponding independent matrix.
Step S62, when said push-button type is the positive matrix press-key, according to current line output 0, the order output scanning signal of other line outputs 1 scans the button in the positive phase matrix to each line scan signals successively, to confirm the current button that is pressed;
Its detailed process is: Row0 output 0, and Row [3...1] output 1 scans the button in the positive phase matrix; See that the corresponding column scan signal of which button is input as 0 in first row, if do not have, then Row1 output 0; Other line outputs 1 scan the button in the positive phase matrix, see that the corresponding column scan signal of which button is 0 in second row; The output of conversion line scan signals successively up to the button that has detected whole four lines, is found the key that is pressed.
Step S63, when said push-button type is the anti-phase matrix press-key, each line scan signals is successively according to current line output 1, the order output scanning signal of other line outputs 0, the button in the scanning anti-phase matrix is to confirm the current button that is pressed.
Concrete steps are similar with above-mentioned steps S62, and just the output valve of line scan signals has been done corresponding adjustment, judge that the principle of the key that is pressed is opposite with it.
Through above-mentioned steps, determine the key that is pressed, decision rule is separate between each matrix, avoids judging by accident, has improved discriminant accuracy.
Further, the invention discloses a kind of matrix keyboard scanister, the signal of above-mentioned keyboard matrix circuit is handled being used for, realize the scanning of each button and confirm.Its structure is as shown in Figure 7, comprising: sweep signal output unit 71, scanning result reading unit 72, the definite unit 73 of analysis and button are confirmed unit 74, wherein:
Sweep signal output unit 71 is used for when button is pressed, and line scan signals exports complete 0 and complete 1 respectively; It is complete 0 o'clock that scanning result reading unit 72 is used for reading respectively line scan signals, and first scanning result of said column scan signal and said line scan signals are complete 1 o'clock, second scanning result of said column scan signal; Analyze and confirm that unit 73 is used to analyze said first scanning result and second scanning result, confirm push-button type; Button confirms that unit 74 is used for according to said definite push-button type, carries out operation accordingly, to confirm the current button that is pressed.
The principle of work of each unit is described below in this matrix keyboard scanister:
When key is pressed; Sweep signal output unit control line scan signals exports complete 0 successively with complete 1, the scanning result reading unit read when line scan signals export successively complete 0 the time first scanning result and the line scan signals of column scan signal export complete 1 the time, second scanning result of column scan signal; Said result is analyzed in analyzing definite unit; Confirm the different types of corresponding key as a result, utilize button to confirm the unit then, determine the current button that is pressed.
Its concrete course of work such as above-mentioned method embodiment are said, repeat no more at this.
Simultaneously, the invention discloses a kind of processor with above-mentioned matrix keyboard scanister, said matrix keyboard scanister is used for; When having button to press in the said matrix keyboard circuit, the control line scan signals exports complete 0 respectively with complete 1, and reading line scan signals respectively is complete 0 o'clock; First scanning result of said column scan signal and said line scan signals are complete 1 o'clock, and second scanning result of said column scan signal is analyzed said first scanning result and second scanning result; Confirm push-button type; According to said definite push-button type, carry out operation accordingly, to confirm the current button that is pressed.
Further, the invention also discloses a kind of handheld terminal, its structure is as shown in Figure 8, comprising: described matrix keyboard circuit 81 of the foregoing description and the processor 82 that links to each other with said matrix keyboard circuit;
Said processor 82 is used for, and when having button to press in the said matrix keyboard circuit 81, the control line scan signals exports complete 0 and complete 1 respectively; Reading line scan signals respectively is complete 0 o'clock; First scanning result of said column scan signal and said line scan signals are complete 1 o'clock, and second scanning result of said column scan signal is analyzed said first scanning result and second scanning result; Confirm push-button type; According to said definite push-button type, carry out operation accordingly, to confirm the current button that is pressed.
Further, the handheld terminal described in the present embodiment is mobile phone or palm PC PDA, and perhaps any one has the terminal device of matrix keyboard circuit.
Each embodiment adopts the mode of going forward one by one to describe in this instructions, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part is partly explained referring to method and is got final product.
The professional can also further recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can be directly with the software modules of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments among this paper.Therefore, the present invention will can not be restricted to these embodiment shown in this paper, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (10)

1. a matrix keyboard circuit is characterized in that, comprising: positive phase matrix, anti-phase matrix and/or independent matrix, wherein:
In the said positive phase matrix; Each column scan input signal is pulled to power supply through each self-corresponding first resistance respectively; Each line scan signals is connected to each column scan input signal through each self-corresponding first button; When having button to press in the positive phase matrix, the said row input scan signal height state that connects this button is identical with said line output sweep signal height state;
In the said anti-phase matrix; Said each line scan signals is through each self-corresponding second button, second resistance and the triode of series connection successively; Link to each other with each column scan signal; When having button to press in the anti-phase matrix, connect the said row input scan signal height state and the said line output sweep signal height opposite states of this button;
In the said independent matrix, said each column scan signal is through each self-corresponding the 3rd button and the 3rd resistance eutral grounding of series connection successively, and when having button to press in the independent matrix, the column scan signal input state that connects this button is 0.
2. circuit according to claim 1 is characterized in that, said triode is the NPN pipe.
3. a matrix keyboard circuit scanning method is characterized in that, comprising:
When button was pressed, line scan signals exported complete 0 and complete 1 respectively;
Reading line scan signals respectively is complete 0 o'clock, and first scanning result of said column scan signal and said line scan signals are complete 1 o'clock, second scanning result of said column scan signal;
Analyze said first scanning result and second scanning result, confirm push-button type;
According to said definite push-button type, carry out operation accordingly, to confirm the current button that is pressed.
4. method according to claim 3 is characterized in that, said first scanning result of said analysis and second scanning result confirm that the process of its push-button type comprises:
When the value of said first scanning result and second scanning result is 1 entirely, confirm that said push-button type is shake;
When said first scanning result is identical with said second scanning result, confirm that said push-button type is independent matrix press-key;
When said first scanning result is not 1 entirely, and said second scanning result is 1 o'clock entirely, confirms that said push-button type is the positive matrix press-key;
When said first scanning result is 1 entirely, and said second scanning result is not 1 o'clock entirely, confirms that said push-button type is the anti-phase matrix press-key.
5. method according to claim 4 is characterized in that, the said definite push-button type of said foundation is carried out operation accordingly, comprises with the process of confirming the current button that is pressed:
When said push-button type was independent matrix press-key, searching in said first scanning result was 0 bit, confirms that said bit corresponding key is the current button that is pressed;
When said push-button type was the positive matrix press-key, according to current line output 0, the order output scanning signal of other line outputs 1 scanned the button in the positive phase matrix to each line scan signals successively, to confirm the current button that is pressed;
When said push-button type was the anti-phase matrix press-key, each line scan signals was successively according to current line output 1, and the order output scanning signal of other line outputs 0 scans the button in the anti-phase matrix, to confirm the current button that is pressed.
6. according to any described method among the claim 3-5, it is characterized in that, line scan signals import respectively complete 0 with complete 1 step before also comprise:
Wait for Preset Time;
Whether judge currently has key to press, if, then continue to carry out, if not, then finish.
7. a matrix keyboard circuit scanister is characterized in that, comprising:
The sweep signal output unit is used for when button is pressed, and line scan signals exports complete 0 and complete 1 respectively;
The scanning result reading unit, being used for reading respectively line scan signals is complete 0 o'clock, first scanning result of said column scan signal and said line scan signals are complete 1 o'clock, second scanning result of said column scan signal;
Analyze and confirm the unit, be used to analyze said first scanning result and second scanning result, confirm push-button type;
Button is confirmed the unit, is used for according to said definite push-button type, carries out operation accordingly, to confirm the current button that is pressed.
8. a processor is characterized in that, comprising: the matrix keyboard scanister; Said matrix keyboard scanister is used for, and when having button to press in the said matrix keyboard circuit, the control line scan signals exports complete 0 and complete 1 respectively; Reading line scan signals respectively is complete 0 o'clock, and first scanning result of said column scan signal and said line scan signals are complete 1 o'clock, second scanning result of said column scan signal; Analyze said first scanning result and second scanning result, confirm push-button type, according to said definite push-button type; Carry out corresponding operation, to confirm the current button that is pressed.
9. a handheld terminal is characterized in that, comprising: matrix keyboard circuit as claimed in claim 1 with link to each other processor as claimed in claim 8 with said matrix keyboard circuit.
10. handheld terminal according to claim 9 is characterized in that, said handheld terminal is mobile phone or palm PC PDA.
CN201010620834.4A 2010-12-31 2010-12-31 Matrix keyboard circuit, scanning method and device, processor and handheld terminal Active CN102541267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010620834.4A CN102541267B (en) 2010-12-31 2010-12-31 Matrix keyboard circuit, scanning method and device, processor and handheld terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010620834.4A CN102541267B (en) 2010-12-31 2010-12-31 Matrix keyboard circuit, scanning method and device, processor and handheld terminal

Publications (2)

Publication Number Publication Date
CN102541267A true CN102541267A (en) 2012-07-04
CN102541267B CN102541267B (en) 2014-07-16

Family

ID=46348305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010620834.4A Active CN102541267B (en) 2010-12-31 2010-12-31 Matrix keyboard circuit, scanning method and device, processor and handheld terminal

Country Status (1)

Country Link
CN (1) CN102541267B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301726A (en) * 2017-07-03 2017-10-27 惠州市天泽盈丰物联网科技股份有限公司 Intelligent card data acquisition terminal, keyboard scanning system and method
CN108809321A (en) * 2016-01-05 2018-11-13 湖南工业大学 A kind of matrix keyboard operation identification and coding method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331170B (en) * 2014-10-30 2017-12-01 北京海兰盈华科技有限公司 Realize the method and device of combination button in matrix keyboard

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030179111A1 (en) * 2002-03-22 2003-09-25 Winbond Electronics Corp. Scan circuit and method for keyboard
CN101552611A (en) * 2006-11-01 2009-10-07 深圳市菉华半导体有限公司 Method for scanning keyboard scanning circuit
CN101860369A (en) * 2010-06-24 2010-10-13 鸿富锦精密工业(深圳)有限公司 Matrix keyboard and scanning method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030179111A1 (en) * 2002-03-22 2003-09-25 Winbond Electronics Corp. Scan circuit and method for keyboard
CN101552611A (en) * 2006-11-01 2009-10-07 深圳市菉华半导体有限公司 Method for scanning keyboard scanning circuit
CN101860369A (en) * 2010-06-24 2010-10-13 鸿富锦精密工业(深圳)有限公司 Matrix keyboard and scanning method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809321A (en) * 2016-01-05 2018-11-13 湖南工业大学 A kind of matrix keyboard operation identification and coding method
CN108809321B (en) * 2016-01-05 2022-03-18 湖南工业大学 Matrix type keyboard operation identification and coding method
CN107301726A (en) * 2017-07-03 2017-10-27 惠州市天泽盈丰物联网科技股份有限公司 Intelligent card data acquisition terminal, keyboard scanning system and method

Also Published As

Publication number Publication date
CN102541267B (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN100592637C (en) Keyboard scanning circuit and method
JP2800233B2 (en) AD converter
US20110316725A1 (en) Scanning circuit and method for keyboard
US7345598B2 (en) Electronic device with keyboard system and method of detecting key conditions thereof
CN102541267A (en) Matrix keyboard circuit, scanning method and device, processor and handheld terminal
CN104122814B (en) Switch acquisition transition detection circuitry and detection method thereof
CN104251971A (en) Button detection circuit
CN202364197U (en) Button detection and LED control circuit
US8253604B2 (en) Keyboard scanning circuit
CN101626247A (en) Method for scanning keyboard
CN100539431C (en) Averaging analog-to-digital converter
CN201589802U (en) Oscilloscope with keyboard scanning circuit
CN100410862C (en) Resistance touch screen measuring system
KR20060072260A (en) Apparatus and method for controlling key in mobile communication terminal
CN102497189A (en) Signal sampling method, controllable switch and device
CN212180969U (en) Key detection circuit
CN107329879A (en) Voltage monitoring circuit and voltage monitoring method
CN101635572A (en) Notebook computer and keyboard controller thereof
CN203166858U (en) Analog switch cascade structure
CN110895501A (en) Serial port switching method and system
CN2816909Y (en) Keyboard scanning device
CN110071712B (en) Novel dynamic transformation matrix key position scanning circuit and key position positioning method thereof
CN101834609A (en) Novel keyboard scanning system and scanning method
CN204498108U (en) Port status Acquisition Circuit
CN109936356A (en) The direction of rotation of code switch determines method, system, 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
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: DATANG TELECOM TECHNOLOGY INDUSTRY HOLDING CO., LT

Free format text: FORMER OWNER: LEADCORE TECHNOLOGY CO., LTD.

Effective date: 20141218

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 201206 PUDONG NEW AREA, SHANGHAI TO: 100191 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20141218

Address after: 100191 Haidian District, Xueyuan Road, No. 1, No. 40,

Patentee after: Datang Telecom Technology Industry Holding Co., Ltd.

Address before: 201206 Pudong New Area Mingyue Road, Shanghai, No. 1258

Patentee before: Leadcore Technology Co., Ltd.