CN101521687B - Method for realizing multikey function on mobile phone by rotating key - Google Patents
Method for realizing multikey function on mobile phone by rotating key Download PDFInfo
- Publication number
- CN101521687B CN101521687B CN2009100381765A CN200910038176A CN101521687B CN 101521687 B CN101521687 B CN 101521687B CN 2009100381765 A CN2009100381765 A CN 2009100381765A CN 200910038176 A CN200910038176 A CN 200910038176A CN 101521687 B CN101521687 B CN 101521687B
- Authority
- CN
- China
- Prior art keywords
- key
- rotation
- chip
- integrated circuit
- function
- 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
- 238000000034 method Methods 0.000 title claims abstract description 15
- 239000004065 semiconductor Substances 0.000 claims abstract description 11
- 206010044565 Tremor Diseases 0.000 claims description 9
- 230000006870 function Effects 0.000 abstract description 39
- 238000004519 manufacturing process Methods 0.000 abstract description 3
- 238000004891 communication Methods 0.000 abstract description 2
- 230000000875 corresponding effect Effects 0.000 description 15
- 238000005316 response function Methods 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
- Telephone Function (AREA)
- Telephone Set Structure (AREA)
Abstract
The invention relates to the field of communication, and discloses a method for realizing a multikey function on a mobile phone by a rotating key. The method comprises the following steps: the rotating key is arranged on the mobile phone; and in the keypress setting, the setting is as follows: the upper end of the rotating key corresponds to an upper direction key, the lower end of the rotating key corresponds to a lower direction key, the left and right ends of the rotating key correspond to left and right soft function keys respectively, the middle part of the rotating key corresponds to an OK key, the rotating key is connected with a rotation direction identification circuit, an output end of the rotation direction identification circuit is connected with a semi-conductor memory, an interrupt processing function for judging the rotation direction of the rotating key is written into the semi-conductor memory, the clockwise rotation of the rotating key corresponds to a left direction key, and the anticlockwise rotation of the rotating key corresponds to a right direction key. The method adopts the rotating key to realize multiple functions, and ensures that the space occupied by keypresses on the mobile phone is reduced and the circuit wiring is easy, thereby bringing a qualitative leap on appearance design and the expandability of circuit layout, and also reducing the production cost.
Description
Technical field
The present invention relates to communication field, specifically a kind of rotation key is realized the method for multikey function.
Background technology
At present, domestic mobile phone adopts traditional four direction key and the appearance design pattern of two soft function keys usually, because this design need to be used a plurality of buttons, cause certain difficulty so not only to the wiring of circuit, and on the mobile phone that more and more is tending towards miniaturization, its shared space makes the appearance design of mobile phone can't give full play to its autgmentability, thereby the user-interface design that causes mobile phone can't be caught up with the leading tide in market, simultaneously, its production cost also can increase the cost payout of enterprise, and this also can greatly reduce the market profit of enterprise.
Summary of the invention
The problem existed for solving prior art, the invention provides a kind of method that rotation key is realized multikey function on mobile phone.
The present invention is achieved in that
A kind of rotation key is realized the method for multikey function on mobile phone, one rotation key is set on mobile phone, the pin of ground connection, power supply, up and down arrow keys, left and right directions key, the soft function key in left and right and OK key is set on rotation key, in button arranges, the array that each button is corresponding is set, arranges: directionkeys on the upper end correspondence of rotation key, directionkeys under the lower end correspondence of rotation key, the respectively corresponding left and right soft function key in the two ends, left and right of rotation key, the corresponding OK key in the centre of rotation key;
The rotation key corresponding LeftArrow that turns clockwise, rotation key is rotated counterclockwise corresponding right key, and described rotation key realizes that the method for left and right directions key is:
Rotation key is connected with the direction of rotation identification circuit, and direction of rotation identification circuit output is connected with semiconductor memory, and function is processed in the interruption write in described semiconductor memory for judging the rotation key direction of rotation;
During the rotation key rotation, the output port of direction of rotation identification circuit is exported respectively the waveform sequential chart of rotation key rotary speed and the sequential chart of waveform direction, the interruption of semiconductor memory is processed function and is judged that according to waveform sequential chart and waveform direction sequential chart rotation key is for turning clockwise or being rotated counterclockwise, the mobile phone terminal system is sent the response signal of a LeftArrow or right key to the mobile phone bottom, the mobile phone underlying operating system find left that current highlighted element is corresponding to or the right key function place is set, call its left to or the right key thereby the function that function is realized the response of current highlighted element LeftArrow or right key is set.
Optionally, described direction of rotation identification circuit comprises two integrated circuit (IC) chip and pin, two integrated circuit (IC) chip are respectively integrated circuit (IC) chip A and integrated circuit (IC) chip B, two integrated circuit (IC) chip have the pin of a chip circuit trailing edge, for being connected with chip circuit trailing edge port; The waveform sequential chart of the output port output rotation key speed of integrated circuit (IC) chip A, the sequential chart of the output port output rotation key waveform direction of integrated circuit (IC) chip B;
In the time of integrated circuit (IC) chip A output high level, if the level of integrated circuit (IC) chip B output is high level, current direction of rotation is for turning clockwise; If the level of integrated circuit (IC) chip B output is low level, current direction of rotation is for being rotated counterclockwise;
In the time of integrated circuit (IC) chip A output low level, if the level of integrated circuit (IC) chip B output is high level, current direction of rotation is for being rotated counterclockwise; If the level of integrated circuit (IC) chip B output is low level, current direction of rotation is for turning clockwise.
Optionally, the rotary speed of described rotation key can be controlled freely, and disappearing the time of trembling of rotation key oscillogram is set in software program, and the time of trembling that the disappears speed of long rotation key rotation accelerates, and the time of trembling that disappears is short, and the rotary speed of rotation key is slack-off.
The present invention adopts rotation key to realize multi-function by one key, realized the function of up and down arrow keys, left and right directions key, the soft function key in left and right and the response of OK key on a rotation key, the space that button takies on mobile phone is dwindled, wiring is easy, thereby bring qualitative leap on the extensibility of appearance design and line arrangement, also reduced in addition production cost.
The accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, does not form inappropriate limitation of the present invention, in the accompanying drawings:
The direction of rotation identification circuit figure that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is that embodiment of the present invention rotation key triggers responding process figure;
Fig. 3 is the algorithm sequential chart that software is realized the function that Fig. 1 direction of rotation identification circuit has.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing and specific embodiment, in this illustrative examples of the present invention and explanation, be used for explaining the present invention, but not as a limitation of the invention.
The turn key that the present embodiment provides is realized the method for multikey function on mobile phone, is specially:
One rotation key is set on mobile phone, the pin of ground connection, power supply, up and down arrow keys, left and right directions key, the soft function key in left and right and OK key is set on rotation key, in button arranges, the array that each button is corresponding is set, arrange: directionkeys on the upper end correspondence of rotation key, directionkeys under the lower end correspondence of rotation key, the respectively corresponding left and right soft function key in the two ends, left and right of rotation key, the corresponding OK key in the centre of rotation key;
The rotation key corresponding LeftArrow that turns clockwise, rotation key is rotated counterclockwise corresponding right key, and described rotation key realizes that the method for left and right directions key is:
Rotation key is connected with the direction of rotation identification circuit, and direction of rotation identification circuit output is connected with semiconductor memory, and function is processed in the interruption write in described semiconductor memory for judging the rotation key direction of rotation;
During the rotation key rotation, the output port of direction of rotation identification circuit is exported respectively the waveform sequential chart of rotation key rotary speed and the sequential chart of waveform direction, the interruption of semiconductor memory is processed function and is judged that according to waveform sequential chart and waveform direction sequential chart rotation key is for turning clockwise or being rotated counterclockwise, the mobile phone terminal system is sent the response signal of a LeftArrow or right key to the mobile phone bottom, the mobile phone underlying operating system find left that current highlighted element is corresponding to or the right key function place is set, call its left to or the right key thereby the function that function is realized the response of current highlighted element LeftArrow or right key is set.
In the present embodiment, as shown in Figure 1, described direction of rotation identification circuit comprises two integrated circuit (IC) chip and pin, two integrated circuit (IC) chip are respectively integrated circuit (IC) chip A and integrated circuit (IC) chip B, two integrated circuit (IC) chip have the pin of a chip circuit trailing edge, for being connected with chip circuit trailing edge port, in addition, the pin of ground connection, power supply, up and down arrow keys, left and right directions key, the soft function key in left and right and OK key also is set on rotation key; The waveform sequential chart of the output port output rotation key speed of integrated circuit (IC) chip A, the sequential chart of the output port output rotation key waveform direction of integrated circuit (IC) chip B;
In the time of integrated circuit (IC) chip A output high level, if the level of integrated circuit (IC) chip B output is high level, current direction of rotation is for turning clockwise; If the level of integrated circuit (IC) chip B output is low level, current direction of rotation is for being rotated counterclockwise; In the time of integrated circuit (IC) chip A output low level, if the level of integrated circuit (IC) chip B output is high level, current direction of rotation is for being rotated counterclockwise; If the level of integrated circuit (IC) chip B output is low level, current direction of rotation is for turning clockwise.For turning clockwise, the mobile phone terminal system can be sent out to the mobile phone bottom response message of a right key, the mobile phone underlying operating system finds the right key that current highlighted element is corresponding that the function place is set, call its right key thereby the function that function is realized current highlighted element right key response is set, thereby realize the operation of current highlighted element right key; For turning clockwise, the mobile phone terminal system can be sent out to the mobile phone bottom response message of a LeftArrow, the mobile phone underlying operating system finds LeftArrow corresponding to current highlighted element that the function place is set, call its LeftArrow thereby the function that function is realized current highlighted element LeftArrow response is set, thereby realize the operation of current highlighted element LeftArrow.
Rotation key also provides the pin of ground connection, power supply, up and down arrow keys, OK key and left and right soft function key.Being specially first pin is power pins, the 6th pin is the KCOW pin, and for the KCOL pin, forming a comprehensive key, last pin is grounding pin, other pins are respectively up and down arrow keys, the soft function key of OK key and left and right, and it is defined as follows shown in table:
KCOL0 | KCOL1 | KCOL2 | KCOL3 | KCOL4 | |
KCOW0 | SK_left | UP | SK_right | DOWN | OK |
After setting the corresponding response function of these ports, the mobile phone terminal system can be called the operation that these response functions are correlated with after receiving certain pin response signal.
Fig. 2 is the flow process that rotation key triggers response on cell phone platform.At first, the system that opens a terminal, then system detects the current signal that whether has rotation key to trigger, after judgement has, signal 1 and signal 2 are calculated, judged current direction of rotation, then call the correlation function that current highlighted element is set, then carry out this function.
Fig. 3 is the algorithm sequential chart that software is realized the function that Fig. 1 circuit has, and wherein, output signal 1 and output signal 2 are aforementioned integrated circuit (IC) chip A and integrated circuit (IC) chip B output signal A and B.After rotation key has the rotation response, the mobile phone terminal system can detect waveform as shown in the figure, wherein, be the waveform that turns clockwise from left to right, from the right side, turn left as being rotated counterclockwise waveform, intercept one of them periodic waveform figure, be divided into 4 sequential, be made as t1, t2, t3 and t4, within this cycle, the output level of signal 1 correspondence is 10011, the output level of signal 2 correspondences is 11001, algorithm can be since the 3rd judgement, if judge that the level of last signal 1 output is 0X03, the level of signal 2 outputs is 0X01, software can judge that current rotation key is for turning clockwise, then can send out right key response message function to current highlighted element, thereby realize the right key operation.In like manner, this sequential chart to the left from the right side, intercept one of them periodic waveform figure, in one-period in office, the output level of its signal 1 correspondence is 11001, the output level of signal 2 correspondences is 10011, same software section can be since the 3rd judgement, if judge that the level that the level of last signal 1 output is 0X01, signal 2 outputs is 0X03, software can judge that current rotation key is for being rotated counterclockwise, can send out the LeftArrow response function to current highlighted element, thereby realize the LeftArrow operation.
In the present embodiment, the rotary speed of rotation key can be controlled freely, and disappearing the time of trembling of rotation key oscillogram is set in software program, and the time of trembling that the disappears speed of long rotation key rotation accelerates, and the time of trembling that disappears is short, and the rotary speed of rotation key is slack-off.
The above technical scheme that the embodiment of the present invention is provided is described in detail, applied specific case herein principle and the execution mode of the embodiment of the present invention are set forth, the explanation of above embodiment is only applicable to help to understand the principle of the embodiment of the present invention; , for one of ordinary skill in the art, according to the embodiment of the present invention, on embodiment and range of application, all will change, in sum, this description should not be construed as limitation of the present invention simultaneously.
Claims (1)
1. a rotation key is realized the method for multikey function on mobile phone, one rotation key is set on mobile phone, the pin of ground connection, power supply, up and down arrow keys, left and right directions key, the soft function key in left and right and OK key is set on rotation key, in button arranges, the array that each button is corresponding is set, arranges: directionkeys on the upper end correspondence of rotation key, directionkeys under the lower end correspondence of rotation key, the respectively corresponding left and right soft function key in the two ends, left and right of rotation key, the corresponding OK key in the centre of rotation key;
It is characterized in that: the rotation key corresponding LeftArrow that turns clockwise, rotation key is rotated counterclockwise corresponding right key, and described rotation key realizes that the method for left and right directions key is:
Rotation key is connected with the direction of rotation identification circuit, and direction of rotation identification circuit output is connected with semiconductor memory, and function is processed in the interruption write in described semiconductor memory for judging the rotation key direction of rotation;
During the rotation key rotation, the output port of direction of rotation identification circuit is exported respectively the waveform sequential chart of rotation key rotary speed and the sequential chart of waveform direction, the interruption of semiconductor memory is processed function and is judged that according to waveform sequential chart and waveform direction sequential chart rotation key is for turning clockwise or being rotated counterclockwise, the mobile phone terminal system is sent the response signal of a LeftArrow or right key to the mobile phone bottom, the mobile phone underlying operating system find left that current highlighted element is corresponding to or the right key function place is set, call its left to or the right key thereby the function that function is realized the response of current highlighted element LeftArrow or right key is set,
Described direction of rotation identification circuit comprises two integrated circuit (IC) chip and pin, two integrated circuit (IC) chip are respectively integrated circuit (IC) chip A and integrated circuit (IC) chip B, two integrated circuit (IC) chip have the pin of a chip circuit trailing edge, for being connected with chip circuit trailing edge port; The waveform sequential chart of the output port output rotation key speed of integrated circuit (IC) chip A, the sequential chart of the output port output rotation key waveform direction of integrated circuit (IC) chip B;
In the time of integrated circuit (IC) chip A output high level, if the level of integrated circuit (IC) chip B output is high level, current direction of rotation is for turning clockwise; If the level of integrated circuit (IC) chip B output is low level, current direction of rotation is for being rotated counterclockwise;
In the time of integrated circuit (IC) chip A output low level, if the level of integrated circuit (IC) chip B output is high level, current direction of rotation is for being rotated counterclockwise; If the level of integrated circuit (IC) chip B output is low level, current direction of rotation is for turning clockwise;
The rotary speed of described rotation key can be controlled freely, and disappearing the time of trembling of rotation key oscillogram is set in software program, and the time of trembling that the disappears speed of long rotation key rotation accelerates, and the time of trembling that disappears is short, and the rotary speed of rotation key is slack-off.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100381765A CN101521687B (en) | 2009-03-24 | 2009-03-24 | Method for realizing multikey function on mobile phone by rotating key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100381765A CN101521687B (en) | 2009-03-24 | 2009-03-24 | Method for realizing multikey function on mobile phone by rotating key |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101521687A CN101521687A (en) | 2009-09-02 |
CN101521687B true CN101521687B (en) | 2013-12-04 |
Family
ID=41082058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100381765A Expired - Fee Related CN101521687B (en) | 2009-03-24 | 2009-03-24 | Method for realizing multikey function on mobile phone by rotating key |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101521687B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719942B (en) * | 2009-11-30 | 2012-04-25 | 华为终端有限公司 | Mobile terminal and method for recognizing rotation of mobile terminal |
-
2009
- 2009-03-24 CN CN2009100381765A patent/CN101521687B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101521687A (en) | 2009-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9547337B2 (en) | Portable device and peripheral extension dock | |
US9904338B2 (en) | Control chip, control method and connection device utilizing the same | |
CN101937414A (en) | Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus) | |
US11558055B2 (en) | Clock-gating synchronization circuit and method of clock-gating synchronization | |
TWI475869B (en) | Handheld mobile phone and method for resetting the handheld mobile phone thereof | |
CN101521687B (en) | Method for realizing multikey function on mobile phone by rotating key | |
TWM458644U (en) | single line structure of multiple keyboard module | |
US5486824A (en) | Data processor with a hardware keyscan circuit, hardware keyscan circuit, and method therefor | |
CN106374898B (en) | Multichannel exports gating switch timing and generates structure | |
US8884372B2 (en) | Analog signal compatible CMOS switch as an integrated peripheral to a standard microcontroller | |
CN110011656B (en) | Burr-free clock oscillator circuit | |
AU2006317920B2 (en) | Input device using touch manner | |
CN104579197A (en) | Audio power amplifying circuit and mode control circuit thereof | |
CN103389802A (en) | Multichip compatible method and device based on capacitive touch press keys as well as electrical equipment | |
CN204069101U (en) | A kind of communication interface switching device shifter | |
CN107332568B (en) | Key coding circuit and keyboard scanning circuit | |
CN111294040A (en) | Reconfigurable combinational logic unit based on static circuit | |
CN201051243Y (en) | Key control circuit | |
CN101506788A (en) | Microcontroller with low noise peripheral | |
CN104767514A (en) | Integrated circuit pin multi-mode representing method and external circuit thereof | |
CN113054992B (en) | Reconfigurable dynamic logic cell | |
CN209765491U (en) | control chip | |
CN203071852U (en) | Star triangle starting time delay setting system | |
CN219266899U (en) | Processor boot mode configuration circuit and host device | |
CN105510804A (en) | Signal loop detection circuit and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
C57 | Notification of unclear or unknown address | ||
DD01 | Delivery of document by public notice |
Addressee: Xian Li cluster Document name: Notification of Passing Preliminary Examination of the Application for Invention |
|
PB01 | Publication | ||
C57 | Notification of unclear or unknown address | ||
DD01 | Delivery of document by public notice |
Addressee: Xian Li cluster Document name: Notification of Publication of the Application for Invention |
|
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: 20131204 Termination date: 20140324 |