Summary of the invention
In view of this, main purpose of the present invention is a kind of a kind of method providing button, terminal equipment and determine key stroke, in order to be conducive to the cost reducing button.
For achieving the above object, technical scheme of the present invention is achieved in that
On the one hand, embodiments provide a kind of button, comprising: keycap, linkage unit, luminescence unit, pedestal, photoinduction unit, signal processing unit; Wherein,
Described keycap is connected with described pedestal by described linkage unit;
Described luminescence unit is arranged in the space that described keycap and described pedestal formed;
Described photoinduction unit is arranged on described pedestal, is connected with described signal processing unit;
Described signal processing unit is arranged on described pedestal;
When button is pressed, the light signal that described luminescence unit is launched is received by described photoinduction unit; Described photoinduction unit generates signal value output according to the intensity of described light signal, and described signal value output is sent to described signal processing unit; Described signal processing unit determines the stroke of described button according to described signal value output.
Wherein, described luminescence unit comprises light emitting module and reflective module, and wherein, described light emitting module is arranged on described pedestal, and described reflective module is arranged on the inner shell of described keycap; Wherein, described light emitting module produces light signal, and described light signal reflexes to described photoinduction unit through described reflective module;
Or described luminescence unit comprises light emitting module, wherein, described light emitting module is arranged on described pedestal, and the light signal that described light emitting module produces reflexes to described photoinduction unit through the inner shell of described keycap;
Or described luminescence unit comprises light emitting module, described light emitting module is arranged in the space that described keycap and described pedestal formed, and described photoinduction unit is arranged on the inner shell of described keycap; The light signal that described light emitting module produces directly is transferred to described photoinduction unit;
Or described luminescence unit comprises light emitting module and reflective module, described light emitting module is arranged on the inner shell of described keycap, described reflective module is arranged on described pedestal, and the reflective module of light signal on described pedestal that described light emitting module produces reflexes to described photoinduction unit;
Or described luminescence unit comprises light emitting module, described light emitting module is arranged on the inner shell of described keycap, and the light signal that described light emitting module produces directly is transferred to described photoinduction unit.
Wherein, described reflective module comprises reflective membrane; When on the inner shell that described reflective module is arranged on described keycap, described reflective membrane is arranged on one end relative with described pedestal of the inner shell of described keycap;
When described reflective module is arranged on described pedestal, described reflective membrane is arranged on one end relative with the housing of described keycap inside of described pedestal.
Wherein, when described luminescence unit comprises light emitting module and reflective module, between described light emitting module and described photoinduction unit, be provided with antiglare module.
Wherein, when described luminescence unit comprises light emitting module and described light emitting module is arranged on the inner shell of described keycap, described light emitting module is arranged on one end relative with described pedestal of the inner shell of described keycap;
When described luminescence unit comprises light emitting module and described photoinduction unit is arranged on the inner shell of described keycap, described photoinduction unit is arranged on one end relative with the housing of described keycap inside of described pedestal.
Wherein, described signal processing unit comprises: microprocessor and memory; Wherein, the stroke of button directly determined by described microprocessor after receiving described signal value output;
Or described signal processing unit comprises microprocessor, the stroke of button directly determined by described microprocessor after receiving described signal value output.
Wherein, described light emitting module comprises LED, and described photoinduction unit comprises photo resistance, and described linkage unit comprises spring or silicagel pad.
Compared with prior art, the invention has the beneficial effects as follows:
Adopt the stroke of optical plan determination button in the scheme of the embodiment of the present invention, thus this press-key structure is simple, and production cost is low.
Second aspect, the invention provides a kind of terminal equipment, comprises aforesaid button.
Compared with prior art, the invention has the beneficial effects as follows: because the button production cost in this terminal is low, structure is simple, and therefore, the cost of this terminal equipment is also corresponding lower.
The third aspect, the invention provides a kind of method determining key stroke, comprising:
When button is pressed, the light signal that the luminescence unit that the photoinduction unit of button receives described button is launched;
Described photoinduction unit generates signal value output according to the intensity of described light signal, and described signal value output is sent to the signal processing unit of button, makes described signal processing unit determine the stroke of described button according to described signal value output.
Wherein, the light signal that the luminescence unit that the photoinduction unit of described button receives described button is launched comprises:
When described luminescence unit comprises light emitting module and reflective module, the light signal that the luminescence unit that the photoinduction unit of described button receives the described button described reflective module reflected is launched;
When described luminescence unit comprises light emitting module, the light signal that the luminescence unit that the photoinduction unit of described button receives the described button that the inner shell through described keycap reflects is launched; Or the light signal that the luminescence unit that the photoinduction unit of described button directly receives described button is launched.
Compared with prior art, the invention has the beneficial effects as follows:
Because the structure of button is simple, therefore utilize the method determination key stroke of the embodiment of the present invention more for convenience, practical.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
As shown in Figure 1, the button of the embodiment of the present invention, comprising: keycap 11, linkage unit 12, luminescence unit 13, pedestal 14, photoinduction unit 15, signal processing unit (not shown).
Wherein, described keycap 11 is connected with described pedestal 14 by described linkage unit 12; Described luminescence unit 13, described photoinduction unit 15 are arranged in the space that described keycap 11 and described pedestal 14 formed; Described photoinduction unit 15 is connected with described signal processing unit; Described signal processing unit is arranged on described pedestal 14.
When button is pressed, the light signal that described luminescence unit is launched is received by described photoinduction unit; Described photoinduction unit generates signal value output according to the intensity of described light signal, and described signal value output is sent to described signal processing unit; Described signal processing unit determines the stroke of described button according to described signal value output.
Wherein, because keycap has bottom and sidewall, therefore, in the process forming this button, described keycap 11 can be formed with certain space with described pedestal 14.Therefore, luminescence unit or described photoinduction unit can be arranged on the optional position in this space, as long as the two relative position be arranged so that the light signal that luminescence unit is launched can be received by photoinduction unit, the such as sidewall of described keycap, the bottom of described keycap, or the part that described pedestal is corresponding with described bottom, and or the optional position in this space.
Wherein, in a particular application, described luminescence unit can comprise different compositions.
The first composition, as shown in Figure 2, described luminescence unit 13 comprises light emitting module 131 and reflective module 132.Wherein, described light emitting module 131 is arranged on described pedestal 14, and described reflective module 132 is arranged on the inner shell of described keycap.Wherein, described light emitting module produces light signal, and described light signal is emitted to described photoinduction unit 15 through described reflective module.Shown in Fig. 2 is the situation that described photoinduction unit 15 is arranged on pedestal.In fact, described photoinduction unit also can be not limited to be arranged on described pedestal, as long as and can also be arranged on the optional position that can receive the light signal of the light emitting module reflected through reflective membrane in space that keycap 11 and described pedestal 14 formed.
In this case, described reflective module can adopt reflective membrane to realize.This reflective membrane can be attached at any position on the inner shell of described keycap, as long as can the light signal that sends of Refl-Luminous module at this position reflective membrane.As shown in Figure 2, because light emitting module is arranged on pedestal, described photoinduction unit 15 is arranged on pedestal, therefore, in order to the light signal that more fully Refl-Luminous module is launched, this reflective membrane can be arranged on one end relative with described pedestal on the inner shell of described keycap, i.e. the bottom of described keycap.
In order to prevent the light of light emitting module from shining directly into photoinduction unit, as shown in Figure 2, between described light emitting module 131 and described photoinduction unit 15, antiglare module 137 is provided with.Concrete, described antiglare module can be shadow shield.
The second forms: as shown in Figure 3, described luminescence unit 13 comprises light emitting module 133, and described light emitting module 133 is arranged on the inner shell of described keycap 11, and the light signal that described light emitting module produces directly is transferred to described photoinduction unit.Because photoinduction unit is arranged in space that described keycap and described pedestal formed, therefore, as long as the light source that the setting of the position of described light emitting module on the inner shell of keycap makes light emitting module launch can be received by photoinduction unit.In order to obtain key stroke more accurately, as shown in Figure 3, photoinduction unit 15 is arranged on described pedestal, and described light emitting module 133 can be arranged on one end relative with described pedestal on the inner shell of described keycap, i.e. the bottom of described keycap.Like this, because photoinduction unit is arranged on pedestal, light emitting module is relative with described photoinduction unit, and therefore, the light signal that light emitting module is launched can better be received by ruddiness sensing unit.
The third composition: different from shown in Fig. 2, in this case, luminescence unit 13 does not comprise the reflective module shown in Fig. 2.That is, in this case, described luminescence unit comprises light emitting module, and wherein, described light emitting module is arranged on described pedestal, and the light signal that described light emitting module produces reflexes to described photoinduction unit through the inner shell of described keycap.Shown in Fig. 2 is the situation that described photoinduction unit 15 is arranged on pedestal.In fact, described photoinduction unit also can be not limited to be arranged on described pedestal, as long as and can also be arranged on the optional position that can receive the light signal of the light emitting module reflected through inner shell in space that keycap 11 and described pedestal 14 formed.
4th kind of composition: as shown in Figure 4, described luminescence unit 13 comprises light emitting module 135, described light emitting module 135 is arranged in the space that described keycap and described pedestal formed, and described photoinduction unit 15 is arranged on the inner shell of described keycap; The light signal that described light emitting module produces directly is transferred to described photoinduction unit.In order to obtain key stroke more accurately, as shown in Figure 4, described photoinduction unit 15 can be arranged on one end relative with described pedestal on the inner shell of described keycap, i.e. the bottom of described keycap, and light emitting module 135 is arranged on pedestal.Like this, light emitting module is relative with photoinduction unit, and therefore, the light signal that light emitting module is launched can better be received by photoinduction unit.
5th kind of composition: as shown in Figure 5, described luminescence unit 13 comprises light emitting module 136 and reflective module 138, described light emitting module 136 is arranged on the inner shell of described keycap, described reflective module 138 is arranged on described pedestal, and the light signal that described light emitting module 136 produces reflexes to described photoinduction unit 15 through described reflective module 138.In order to obtain key stroke more accurately, as shown in Figure 5, light emitting module 136, photoinduction unit 15 are arranged on one end relative with described pedestal on the inner shell of keycap, the i.e. bottom of described keycap, that reflective module 138 is arranged on described pedestal, relative with the housing of described keycap inside one end.Like this, the light signal that light emitting module is launched can better be received by photoinduction unit.
In order to prevent the light of light emitting module from shining directly into photoinduction unit, as shown in Figure 5, between described light emitting module 136 and described photoinduction unit 15, antiglare module 137 is provided with.Concrete, described antiglare module can be shadow shield.
In this case, described reflective module can adopt reflective membrane to realize.This reflective membrane can be attached at any position of the pedestal of described keycap, as long as can the light signal that sends of Refl-Luminous module at this position reflective membrane.
In embodiments of the present invention, described light emitting module can adopt LED (Light-Emitting Diode, light-emitting diode), and number is not limit, and can be 1 and also can comprise multiple; Described photoinduction unit can adopt photo resistance.In embody rule, described linkage unit can comprise the elastic component such as spring (as shown in Figure 2), silicagel pad (as shown in Figure 3).Described pedestal can be PCB (Printed circuit board, printed circuit board (PCB)) plate.
In order to obtain key stroke accurately, described signal processing unit comprises: microprocessor and memory.Wherein, described microprocessor after receiving described signal value output, according to the stroke of the program determination button stored in described memory.Certainly, in order to further cost-saving, described signal processing unit also can only include microprocessor, and this microprocessor itself is provided with memory cell, is used for storage program.Now, described microprocessor after receiving described signal value output, according to the stroke of the program determination button of self cell stores of described microprocessor.
With above-mentioned the first, the third, the 5th kind consist of example, when user's pressing keys, distance between the housing (such as keycap bottom) of reflective membrane or keycap and photo resistance can shorten, the resistance of photo resistance reduces, and then the dividing potential drop of photo resistance end changes, and its voltage is sent to microprocessor.As shown in Figure 6, the change in voltage of the photo resistance that microprocessor detects according to ADC mouth calculates key position change, is also key stroke.
With above-mentioned the second, the 4th kind consist of example, when user's pressing keys, the distance between LED and photo resistance can shorten, and the resistance of photo resistance reduces, and then the dividing potential drop of photo resistance end changes, and its voltage is sent to microprocessor.The change in voltage of the photo resistance that microprocessor detects according to ADC mouth calculates key position change, is also key stroke.
Can be found out by above description, in the scheme of the embodiment of the present invention, adopt the stroke of optical plan determination button, thus this press-key structure is simple, reliability is high, cost is low, highly sensitive, production and assembly technique is simple.
The embodiment of the present invention additionally provides a kind of terminal equipment, and described terminal equipment comprises aforesaid button.Described terminal equipment comprises mobile terminal, as mobile phone etc.Because the button that the present invention includes consists of optics, structure is simple, and therefore, compared with prior art, this terminal equipment is produced easy, and cost is also corresponding lower.
As shown in Figure 7, the embodiment of the present invention additionally provides a kind of method determining key stroke, it is characterized in that, comprising:
Step 41, when button is pressed, the light signal that the luminescence unit that the photoinduction unit of button receives described button is launched;
Step 42, described photoinduction unit generate signal value output according to the intensity of described light signal, and described signal value output are sent to the signal processing unit of button, make described signal processing unit determine the stroke of described button according to described signal value output.
As previously mentioned, described luminescence unit comprises different compositions.When luminescence unit is the situation of above-mentioned the first or the third or the 5th kind, described step 41 is specially the light signal that described photoinduction unit receives the inner shell reflection through reflective module or keycap.Now, when user's pressing keys, the distance between the inner shell of reflective membrane or keycap and photo resistance can shorten, and the resistance of photo resistance reduces, and then the dividing potential drop of photo resistance end changes, and its voltage is sent to microprocessor.The change in voltage of the photo resistance that microprocessor detects according to ADC mouth calculates key position change, is also key stroke.
When luminescence unit is above-mentioned the second or the 4th kind of situation, described step 41 is specially described photoinduction unit and directly receives the light signal that light emitting module launches.When user's pressing keys, the distance between LED and photo resistance can shorten, and the resistance of photo resistance reduces, and then the dividing potential drop of photo resistance end changes, and its voltage is sent to microprocessor.The change in voltage of the photo resistance that microprocessor detects according to ADC mouth calculates key position change, is also key stroke.
Because the structure of button is simple, therefore utilize the method determination key stroke of the embodiment of the present invention more for convenience, practical.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.