Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not paying creative work, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of can effectively reduce mobile telephone power consumption, and use button with low cost switches the method for electronic device works state and applies the electronic equipment that this use button switches the method for electronic device works state.
As shown in Fig. 1 and Fig. 6, the use button that the embodiment of the present invention provides switches the method for electronic device works state, comprises the following steps:
S1, when at least one button 2 is pressed in a plurality of buttons on electronic equipment 1, export the recognition by pressing keys signal corresponding with the button 2 being pressed;
Whether S2, the button 2 that judgement is pressed according to recognition by pressing keys signal belong to predefined in a plurality of buttons and from standby resting state, enter the part button of normal operating conditions for switching electronic equipment 1;
S3, when the button 2 being pressed belongs to predefined when switching electronic equipment 1 and enter the part button of normal operating conditions from standby resting state in a plurality of buttons, electronic equipment 1 is switched to normal operating conditions from standby resting state.
The use button providing due to the present embodiment switches in the method for electronic device works state, when the button as shown in Figure 62 being pressed belongs to predefined when switching electronic equipment 1 and enter the part button of normal operating conditions from standby resting state in a plurality of buttons, just the operating state of electronic equipment 1 can be switched to normal operating conditions from standby resting state, visible, predefined in a plurality of buttons in the embodiment of the present invention is only the part button of a plurality of buttons electronic equipment 1 for switching the button 2 that electronic equipment 1 enters normal operating conditions from standby resting state, be not all buttons 2 in a plurality of buttons,
In a plurality of buttons on electronic equipment 1, do not preset and be can be used in when switching button 2 that electronic equipment 1 enters normal operating conditions from standby resting state and being pressed, electronic equipment 1 can not switched to normal operating conditions from standby resting state, so this part button is at electronic equipment 1 during in standby resting state, how misoperation also can not cause the power wastage of electronic equipment 1;
Owing to belonging to predefined in a plurality of buttons, for switching the button 2 that electronic equipment 1 enters normal operating conditions from standby resting state, be only the part button of more than 1 button of electronic equipment, wherein any button 2 in part button with respect in whole buttons 2 of the prior art wherein any button 2 compare, the probability being misused can be less, causes the possibility of electronic equipment 1 power wastage also can be less so be misused;
And, because mobile phone is a kind of common electronic equipment that is provided with a plurality of buttons 1, application technical solution of the present invention can be used for reducing the probability that on mobile phone, button 2 is misused, and then reduce button 2 misoperations and cause the possibility of electronic equipment 1 power wastage, so it is higher to have solved in prior art mobile phone key misoperation probability, cause the larger technical problem of mobile telephone power consumption waste;
In addition, when the method by button 2 switching electronic equipment 1 operating states providing when the application embodiment of the present invention reduces the power consumption of mobile phone, the display of mobile phone is without adopting expensive translucent LCD also can reach the object that reduces mobile telephone power consumption, so the method that the use button 2 that the embodiment of the present invention provides switches electronic equipment 1 operating state compared with prior art also has advantages of with low cost.
As shown in Figure 2 and Figure 6, as a kind of execution mode of embodiment, in the present embodiment, export the method for the recognition by pressing keys signal corresponding with the button being pressed, comprise the following steps:
S11, export the recognition by pressing keys signal corresponding with the columns of the button 2 being pressed;
S12, export the recognition by pressing keys signal corresponding with the line number of the button 2 being pressed.
The sequencing of step S11 and step S12 unrestricted in the present embodiment, step S12 also can carry out before step S11, and step S11 and step S12 also can carry out simultaneously.
In prior art, the circuit connecting relation of button 2 and the layout of the position on hardware on most electronic equipments 1, all button 2 is arranged on keyboard 3 with rectangular, so the position that can find accurately each button 2 on most electronic equipments 1 by columns and line number, and then when on can keyboard 3, one of them button 2 be pressed, which button 2 that line number, the columns of the button 2 being pressed by judgement determined on electronic equipment 1 has specifically been pressed.
Certainly, in the present embodiment, recognition by pressing keys signal can be not corresponding with columns or the line number of the button 2 being pressed yet, such as: it is different that the parameters such as amplitude, frequency or the phase place of the recognition by pressing keys signal of exporting when different button 2 can be pressed arrange, thereby can judge specifically which button 2 has been pressed according to parameters such as the amplitude of recognition by pressing keys signal, frequency or phase places.
As shown in Figure 4 and Figure 6, as another execution mode of the present embodiment, in the present embodiment, export the method for the recognition by pressing keys signal corresponding with the button being pressed, comprise the following steps:
S11, export the recognition by pressing keys signal corresponding with the columns of the button 2 being pressed;
S111, the basis recognition by pressing keys signal corresponding with the columns of the button 2 being pressed, the columns of judging the button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the columns of one of them button 2 of part button of normal operating conditions for switching electronic equipment 1, exports the recognition by pressing keys signal corresponding with the line number of the button 2 being pressed; Or,
As shown in Figure 4 and Figure 6, in the present embodiment, export the method for the recognition by pressing keys signal corresponding with the button being pressed, comprise the following steps:
S12, export the recognition by pressing keys signal corresponding with the line number of the button 2 being pressed;
S121, the basis recognition by pressing keys signal corresponding with the line number of the button 2 being pressed, the line number of judging the button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the line number of one of them button 2 of part button of normal operating conditions for switching electronic equipment 1, exports the recognition by pressing keys signal corresponding with the columns of the button 2 being pressed.
On keyboard 3 due to most of electronic equipment 1, be provided with the button 2 of multirow, multiple row, for example: on common mobile phone, be conventionally provided with 5 row, 3 row buttons 2, for reducing the possibility of button 2 misoperations, predefined in a plurality of buttons for switching electronic equipment 1, from standby resting state, to enter the number of part button of normal operating conditions more few better, is preferably 1~2 button 2.
In this case, conventionally on keyboard 3, there will be part rows, part provisional capital does not exist and predefinedly for switching electronic equipment 1, enters the situation of the part button of normal operating conditions from standby resting state, so, now only need the columns of the button 2 that is pressed of judgement or line number whether to belong to predefined in a plurality of buttons and from standby resting state, enter columns or the line number of one of them button 2 of part button of normal operating conditions for switching electronic equipment 1, whether just can judge the button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1, and then also without the line number of the button 2 that is pressed of judgement again or whether columns is predefined enters line number or the columns of one of them button 2 of part button of normal operating conditions from standby resting state for switching electronic equipment 1.
Visible, in the present embodiment without when each button 2 is pressed, by recognition by pressing keys signal corresponding to the line number of the button being pressed with each 2 and with recognition by pressing keys signal corresponding to the columns of each button being pressed 2, all export, and then also without judge again columns or the line number of the button 2 being pressed according to recognition by pressing keys signal, thereby saved to a certain extent the time of recognition by pressing keys signal corresponding to the columns of output and the button 2 that is pressed or line number, improved the efficiency that the button 2 that is pressed judges.
The mobile phone that is provided with 15 buttons 2 on keyboard 3 as shown in Figure 5 of take is below example, the technique scheme of coming the more detailed elaboration embodiment of the present invention to provide:
Supposing in 15 buttons 2 as shown in Figure 5 that button " * ", button " 0 " belong to predefined in a plurality of buttons enters the part button of normal operating conditions for switching electronic equipment 1 from standby resting state;
When button " 3 " is pressed, first, export the recognition by pressing keys signal corresponding with the columns of button " 3 ", then, the recognition by pressing keys signal corresponding according to the columns with button " 3 ", the columns of judging button " 3 " is the 3rd row, because the 3rd row are all not identical with the columns of any button 2 in button " * ", button " 0 ", now, can draw and judgment result is that:
The button 2 being pressed does not belong to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1;
As can be seen here, said method draws judged result, without the output recognition by pressing keys signal corresponding with the line number of button " 3 ", and then also without the line number of judging again button " 3 ";
When button " 0 " is pressed, first, export the recognition by pressing keys signal corresponding with the columns of button " 0 ", then, the recognition by pressing keys signal corresponding according to the columns with button " 0 ", the columns of judging button " 0 " is secondary series, secondary series and button " * ", in button " 0 ", the columns of button " 0 " is identical, then, export the recognition by pressing keys signal corresponding with the line number of button " 0 ", the recognition by pressing keys signal corresponding according to the line number with button " 0 ", the line number of judging button " 0 " is fifth line, also identical with the line number of button " 0 ", due to the button being pressed " 0 " and button " * ", the columns of button " 0 " in button " 0 ", line number is all identical, so now judgment result is that:
The button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1.
As shown in Figure 3 and Figure 6, in the present embodiment, whether the button 2 that judgement is pressed according to recognition by pressing keys signal belongs to predefined in a plurality of buttons enters the method for the part button of normal operating conditions for switching electronic equipment 1 from standby resting state, comprise the following steps:
S21, the basis recognition by pressing keys signal corresponding with the columns of the button 2 being pressed, the columns of identification, the button 2 that is pressed of record, and whether the columns of the button 2 that is pressed of judgement belongs to predefined in a plurality of buttons and from standby resting state, enters the columns of one of them button of part button of normal operating conditions for switching electronic equipment 1; And/or,
S22, the basis recognition by pressing keys signal corresponding with the line number of the button 2 being pressed, the line number of identification, the button 2 that is pressed of record, and whether the line number of the button 2 that is pressed of judgement belongs to predefined in a plurality of buttons and from standby resting state, enters the line number of one of them button of part button of normal operating conditions for switching electronic equipment 1;
S23, when columns, the line number of the button 2 being pressed is respectively predefined when switching columns, the line number of part button that electronic equipment 1 enters normal operating conditions from standby resting state same button 2 wherein in a plurality of buttons, judgment result is that:
The button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1.
When what the present embodiment provided, according to recognition by pressing keys signal, judge whether the button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enter the method for the part button of normal operating conditions for switching electronic equipment 1, while comprising step S21 and step S22 simultaneously, can first perform step S21, perform step again S22, by the columns of the button 2 that first judgement is pressed, the method of the line number of the button 2 that judgement is pressed again judges whether the button 2 of pressing belongs to predefined in a plurality of buttons and from standby resting state, enter one of them button of part button of normal operating conditions for switching electronic equipment 1.
Certainly, with said method in like manner, in the present embodiment, also can first perform step S22, perform step S21 by the line number of the button 2 that first judgement is pressed again, then judge that the method for the columns of the button 2 being pressed judges whether the button 2 of pressing belongs to predefined in a plurality of buttons and from standby resting state, enter one of them button of part button of normal operating conditions for switching electronic equipment 1.
The mobile phone that is provided with 15 buttons 2 on keyboard 3 as shown in Figure 5 of still take is below example, the technique scheme of coming the more detailed elaboration embodiment of the present invention to provide:
Suppose button " * " in 15 buttons 2, button " 0 " " for predefined in a plurality of buttons, for switching electronic equipment 1, from standby resting state, enter the part button of normal operating conditions;
In 15 buttons 2 on keyboard 3, when button " 1 " is pressed, first, export the recognition by pressing keys signal corresponding with the columns of button " 1 ", then, the recognition by pressing keys signal corresponding according to the columns with button " 1 ", the columns of identifying, record button " 1 " is first row, then, export the recognition by pressing keys signal corresponding with the line number of button " 1 ", then, the recognition by pressing keys signal corresponding according to the line number with button " 1 ", the line number of identifying, record button " 1 " is the second row;
The columns of button " 1 " is identical with the columns of button " * " in button " * ", button " 0 ", but the line number of button " 1 " is that fifth line is different from the line number of button " * ", button " 0 ", judgment result is that:
The button 2 being pressed does not belong to predefined and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1;
When button " 0 " is pressed, first, export the recognition by pressing keys signal corresponding with the columns of button " 0 ", then, the recognition by pressing keys signal corresponding according to the columns with button " 0 ", the columns of identifying, record button " 0 " is secondary series, then, export the recognition by pressing keys signal corresponding with the line number of button " 0 ", then, the recognition by pressing keys signal corresponding according to the line number with button " 0 ", the line number of identifying, record button " 0 " is fifth line;
In the columns of the button being pressed " 0 " and button " * ", button " 0 ", identical, the line number of button " 0 " of the columns of button " 0 " and the line number of button " 0 " they are that fifth line is also identical, so now judgment result is that:
The button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1.
The embodiment of the present invention also provides a kind of electronic equipment that use button that the invention described above provides switches the method for electronic device works state of applying.
As shown in Figure 6, the electronic equipment 1 that the embodiment of the present invention provides, comprises keyboard 3, signal circuit 4 and control module 5, wherein: on keyboard 3, be provided with a plurality of buttons, signal circuit 4 is connected with button 2 and control module 5 respectively;
Signal circuit 4, for when at least one button 2 of a plurality of buttons is pressed, exports the recognition by pressing keys signal corresponding with the button 2 being pressed;
Whether control module 5, belong to for the button 2 being pressed according to recognition by pressing keys signal judgement that a plurality of buttons are predefined enters the part button of normal operating conditions for switching electronic equipment 1 from standby resting state;
Control module 5, also for the button 2 when being pressed, belong to a plurality of buttons predefined when switching electronic equipment 1 and enter the part button of normal operating conditions from standby resting state, electronic equipment 1 is switched to normal operating conditions from standby resting state.
In the electronic equipment 1 providing due to the embodiment of the present invention, control module 5 can be used in and belongs to predefined when switching electronic equipment 1 and enter the part button of normal operating conditions from standby resting state in a plurality of buttons when the button 2 being pressed, just the operating state of electronic equipment 1 can be switched to normal operating conditions from standby resting state, visible, predefined in a plurality of buttons in the embodiment of the present invention is only the part button of a plurality of buttons electronic equipment 1 keyboard 3 for switching the button 2 that electronic equipment 1 enters normal operating conditions from standby resting state, be not all buttons 2 in a plurality of buttons,
In a plurality of buttons on electronic equipment 1 keyboard 3, by predefined, do not can be used in when switching button 2 that electronic equipment 1 enters normal operating conditions from standby resting state and being pressed, electronic equipment 1 can not switched to normal operating conditions from standby resting state, so this part button is at electronic equipment 1 during in standby resting state, how misoperation also can not cause the power wastage of electronic equipment 1;
Owing to belonging to predefined in a plurality of buttons, for switching the button 2 that electronic equipment 1 enters normal operating conditions from standby resting state, be only the part button of a plurality of buttons of electronic equipment 1, wherein any button 2 in part button is compared with respect to wherein any button 2 in whole buttons 2 of the prior art, the probability being misused can be less, is misused and causes the possibility of electronic equipment 1 power wastage also can be less;
And, because mobile phone is a kind of common electronic equipment that is provided with a plurality of buttons 1, application technical solution of the present invention can be used for reducing the probability that on mobile phone, button 2 is misused, and then reduce button 2 misoperations and cause the possibility of electronic equipment 1 power wastage, so it is higher to have solved in prior art mobile phone key misoperation probability, cause the larger technical problem of mobile telephone power consumption waste;
In addition, the electronic equipment 1 providing when the embodiment of the present invention is during for mobile phone, the display of mobile phone is without adopting expensive translucent LCD also can reach the object that reduces mobile telephone power consumption, so that the electronic equipment 1 that the embodiment of the present invention provides compared with prior art also has advantages of is with low cost.
Therefore: identical/corresponding specified features of method that the use button 2 providing with the invention described above embodiment switches electronic equipment 1 operating state is provided the electronic equipment 1 providing due to the embodiment of the present invention, so also can produce identical technique effect, solve identical technical problem.
In the embodiment of the present invention, signal circuit 4, for the recognition by pressing keys signal corresponding to columns of the button 2 exporting and be pressed; Signal circuit 4, also for the recognition by pressing keys signal corresponding to line number of the button 2 exporting and be pressed;
Control module 5, for the basis recognition by pressing keys signal corresponding with the columns of the button 2 being pressed, the columns of identification, the button 2 that is pressed of record, and whether the columns of the button 2 that is pressed of judgement belongs to predefined in a plurality of buttons and from standby resting state, enters the columns of one of them button of part button of normal operating conditions for switching electronic equipment 1;
Control module 5, also for the basis recognition by pressing keys signal corresponding with the line number of the button 2 being pressed, the line number of identification, the button 2 that is pressed of record, and whether the line number of the button 2 that is pressed of judgement belongs to predefined in a plurality of buttons and from standby resting state, enters the line number of one of them button of part button of normal operating conditions for switching electronic equipment 1;
When columns, the line number of the button 2 being pressed is respectively predefined when switching columns, the line number of part button that electronic equipment 1 enters normal operating conditions from standby resting state same button 2 wherein in a plurality of buttons, judgment result is that of control module 5:
The button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1.
In prior art, the circuit connecting relation of button 2 and the layout of the position on hardware on most electronic equipments 1, all button 2 is arranged on keyboard 3 with rectangular, so the position that can find accurately each button 2 on most electronic equipments 1 by columns and line number, and then when on can keyboard 3, one of them button 2 be pressed, which button 2 that line number, the columns of the button 2 being pressed by judgement determined on electronic equipment 1 has specifically been pressed.
Certainly, in the present embodiment, recognition by pressing keys signal can be not corresponding with columns or the line number of the button 2 being pressed yet, such as: it is different that the parameters such as amplitude, electric current or the frequency of the recognition by pressing keys signal of exporting when different button 2 can be pressed arrange, thereby can judge specifically which button 2 has been pressed according to parameters such as the amplitude of recognition by pressing keys signal, electric current or frequencies.
Can be by the first columns of the button 2 that is pressed of judgement in the present embodiment, then the method for the line number of the button 2 that is pressed of judgement judges whether the button 2 of pressing belongs to predefined in a plurality of buttons and from standby resting state, enter one of them button of part button of normal operating conditions for switching electronic equipment 1.Certainly, with said method in like manner, also can be by the first line number of the button 2 that is pressed of judgement in the present embodiment, then the method for the columns of the button 2 that is pressed of judgement judges whether the button 2 of pressing belongs to predefined in a plurality of buttons and from standby resting state, enter one of them button of part button of normal operating conditions for switching electronic equipment 1.The mobile phone that is provided with 15 buttons 2 on keyboard 3 of take is below example, the technique scheme of coming the more detailed elaboration embodiment of the present invention to provide:
Suppose that button " * " in 15 buttons 2, button " 0 " belong to predefined in a plurality of buttons and from standby resting state, enter the part button of normal operating conditions for switching electronic equipment 1;
In 15 buttons 2 on keyboard 3, when button " 1 " is pressed, first, export the recognition by pressing keys signal corresponding with the columns of button " 1 ", then, the recognition by pressing keys signal corresponding according to the columns with button " 1 ", the columns of identifying, record button " 1 " is first row, then, export the recognition by pressing keys signal corresponding with the line number of button " 1 ", then, the recognition by pressing keys signal corresponding according to the line number with button " 1 ", the line number of identifying, record button " 1 " is the second row;
The columns of button " 1 " is identical with the columns of button " * " in button " * ", button " 0 ", but the line number of button " 1 " is that fifth line is different from the line number of button " * ", button " 0 ", judgment result is that:
The button 2 being pressed does not belong to predefined and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1;
When button " 0 " is pressed, first, export the recognition by pressing keys signal corresponding with the columns of button " 0 ", then, the recognition by pressing keys signal corresponding according to the columns with button " 0 ", the columns of identifying, record button " 0 " is secondary series, then, export the recognition by pressing keys signal corresponding with the line number of button " 0 ", then, the recognition by pressing keys signal corresponding according to the line number with button " 0 ", the line number of identifying, record button " 0 " is fifth line;
In the columns of the button being pressed " 0 " and button " * ", button " 0 ", identical, the line number of button " 0 " of the columns of button " 0 " and the line number of button " 0 " they are that fifth line is also identical, so now judgment result is that:
The button being pressed " 0 " belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1.
A kind of improvement as the present embodiment, in the present embodiment, signal circuit 4, be used in control module 5 according to the recognition by pressing keys signal corresponding with the columns of the button 2 being pressed, it is predefined when switching electronic equipment 1 and enter the columns of one of them button 2 of part button of normal operating conditions from standby resting state in a plurality of buttons that the columns of judging the button 2 being pressed belongs to, and exports the recognition by pressing keys signal corresponding with the line number of the button 2 being pressed;
Or, signal circuit 4, be used in control module 5 according to the recognition by pressing keys signal corresponding with the line number of the button 2 being pressed, it is predefined when switching electronic equipment 1 and enter the line number of one of them button 2 of part button of normal operating conditions from standby resting state in a plurality of buttons that the line number of judging the button 2 being pressed belongs to, and exports the recognition by pressing keys signal corresponding with the columns of the button 2 being pressed.
On keyboard 3 due to most of electronic equipment 1, be provided with the button 2 of multirow, multiple row, for example: on common mobile phone, be conventionally provided with 5 row, 3 row buttons 2, for reducing the possibility of button 2 misoperations, predefined in a plurality of buttons for switching electronic equipment 1, from standby resting state, to enter the number of part button of normal operating conditions more few better, is preferably 1~2 button 2.
In this case, conventionally on keyboard 3, there will be part rows, part provisional capital does not exist and predefinedly for switching electronic equipment 1, enters the situation of the part button of normal operating conditions from standby resting state, so, now only need the columns of the button 2 that is pressed of judgement or line number whether to belong to predefined in a plurality of buttons and from standby resting state, enter columns or the line number of one of them button 2 of part button of normal operating conditions for switching electronic equipment 1, whether just can judge the button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1, and then also without the line number of the button 2 that is pressed of judgement again or whether columns is predefined enters line number or the columns of one of them button 2 of part button of normal operating conditions from standby resting state for switching electronic equipment 1.
Visible, in the present embodiment without when each button 2 is pressed, by recognition by pressing keys signal corresponding to the line number of the button being pressed with each 2 and with recognition by pressing keys signal corresponding to the columns of each button being pressed 2, all export, and then also without judge again columns or the line number of the button 2 being pressed according to recognition by pressing keys signal, thereby saved to a certain extent the time of recognition by pressing keys signal corresponding to the columns of output and the button 2 that is pressed or line number, improved the efficiency that the button 2 that is pressed judges.
The mobile phone that is provided with 15 buttons 2 on keyboard 3 as shown in Figure 5 of take is below example, the technique scheme of coming the more detailed elaboration embodiment of the present invention to provide:
Suppose that button " * " in 15 buttons 2, button " 0 " belong to predefined in a plurality of buttons and from standby resting state, enter the part button of normal operating conditions for switching electronic equipment 1;
When button " 3 " is pressed, first, export the recognition by pressing keys signal corresponding with the columns of button " 3 ", then, the recognition by pressing keys signal corresponding according to the columns with button " 3 ", the columns of judging button " 3 " is the 3rd row, because the 3rd row are all not identical with the columns of any button 2 in button " * ", button " 0 ", now, can draw and judgment result is that:
The button 2 being pressed does not belong to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1;
As can be seen here, said method draws judged result, without the output recognition by pressing keys signal corresponding with the line number of button " 3 ", and then also without the line number of judging again button " 3 ";
When button " 0 " is pressed, first, export the recognition by pressing keys signal corresponding with the columns of button " 0 ", then, the recognition by pressing keys signal corresponding according to the columns with button " 0 ", the columns of judging button " 0 " is secondary series, secondary series and button " * ", in button " 0 ", the columns of button " 0 " is identical, then, export the recognition by pressing keys signal corresponding with the line number of button " 0 ", the recognition by pressing keys signal corresponding according to the line number with button " 0 ", the line number of judging button " 0 " is fifth line, also identical with the line number of button " 0 ", due to the button being pressed " 0 " and button " * ", the columns of button " 0 " in button " 0 ", line number is all identical, so now judgment result is that:
The button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1.
As shown in Fig. 6 and Fig. 9, the interrupt signal that in the present embodiment, recognition by pressing keys signal is digital signals format, control module 5 comprises button judging unit 51, signal transmitting unit 52, row signal pin H and column signal pin L as shown in Figure 7, signal circuit 4 comprise draw power vd D and with the pull-up resistor R that above draws power vd D to be connected, wherein:
Column signal pin L is connected with button judging unit 51, and row signal pin H is connected with signal transmitting unit 52, and row signal pin H ground connection;
The number of the number of pull-up resistor R and column signal pin H is all identical with the columns of button 2;
The number of row signal pin H is identical with the line number of button 2;
Each pull-up resistor R is connected with a plurality of buttons that are positioned at same row respectively, and different pull-up resistor R is connected from different column signal pin L respectively;
Each row signal pin H is connected with a plurality of buttons that are positioned at same a line respectively;
When one of them button 2 is pressed, one of them the pull-up resistor R being connected with the button 2 being pressed is connected with a row signal pin H who is connected with the button 2 being pressed;
Button judging unit 51, when a button 2 is pressed therein, columns, the line number of the variation identification of the upper current potential of a column signal pin L being connected according to the button 2 with being pressed, the button 2 that record is pressed, and judge according to the columns of the button 2 being pressed, line number whether the button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enter the part button of normal operating conditions for switching electronic equipment 1;
Signal transmitting unit 52, in button judging unit 51 identification, while recording the columns of the button 2 being pressed, according to the capable signal pin H input of inferior ordered pair for ordering about the digital signal that the current potential on column signal pin L changes.
When any button 2 is not all pressed, each pull-up resistor R, with being connected with a column signal pin L, now, above draws the voltage of the output of power vd D to input column signal pin L by pull-up resistor R, so the current potential on each column signal pin L is high level;
When in a plurality of buttons, wherein arbitrary button 2 is pressed, a pull-up resistor R that the button 2 being pressed with this is connected is with the button 2 being pressed with this row signal pin electrical connection that is connected, row signal pin H ground connection due to button judging unit 51, now, the button 2 being pressed with this this pull-up resistor R ground connection that is connected, so the current potential on the column signal pin L being connected with this pull-up resistor R becomes low level from high level: produce a trailing edge signal;
The current potential that button judging unit 51 perceives on one of them column signal pin L becomes low level from high level: while producing a trailing edge signal, can identify, record and be connected with this column signal pin L columns of the button 2 that is pressed of the number of pins of this column signal pin L;
After button judging unit 51 is recorded the columns of the button 2 being connected with this column signal pin L, button judging unit 51 according to order (order can be: by H1 to H5 or by H5 to H1) each row signal pin H is first exported to high level, then output low level;
Due to now, the column signal pin L being connected with the button 2 being pressed is electrically connected to the row signal pin H being connected with the button 2 being pressed, so, the digital signal that button judging unit 51 exports the row signal pin H being connected with the button 2 being pressed to also can transfer to the column signal pin L being connected with the button 2 being pressed, so, current potential on the column signal pin L being now connected with the button 2 being pressed can change again, from low level, become high level, from high level, become low level again, when button judging unit 51 perceives current potential on one of them column signal pin L and occurs twice low level, can record the line number of the button 2 that number of pins of the low level column signal pin of twice appearance of current potential L be connected with this row signal pin H,
As can be seen here, button judging unit 51 is by the variation of the current potential on column signal pin L, not only can identify, record the columns of the button 2 being pressed, and can identify, record the line number of the button 2 being pressed, identification, record the line number and columns of the button 2 being pressed after, button judging unit 51 just can judge whether the button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enter the part button of normal operating conditions for switching electronic equipment 1.
Take below be as shown in Figure 6 provided with on keyboard 3 25 as shown in Figure 7 the mobile phone of button 2 be example, the technique scheme of coming the more detailed elaboration embodiment of the present invention to provide:
Suppose 25 as shown in Figure 7 in button 2 button " * " belong to predefined in a plurality of buttons and from standby resting state, enter the part button of normal operating conditions for switching electronic equipment 1, the columns of button " * " is first row, line number is fifth line;
When the button on keyboard 3 " * " and other buttons 2 are not all pressed, the same column signal pin of each pull-up resistor R L is connected, on draw the voltage of power vd D output by pull-up resistor R input column signal pin L, the current potential on each column signal pin L is high level;
When button " * " is pressed, a pull-up resistor R1 colleague signal pin H5 who is connected with this button " * " is electrically connected to, due to row signal pin H5 ground connection, now, pull-up resistor R1 ground connection, so, current potential on the column signal pin H5 being connected with pull-up resistor R1 becomes low level from high level, now, when button judging unit 51 perceives current potential on column signal pin H5 and becomes low level from high level, can record the columns of the button " * " being connected with column signal pin H5, record first row;
After button judging unit 51 is recorded the columns of the button " * " being connected with column signal pin H5, button judging unit 51 can according to order (order can be: by H1 to H5 or by H5 to H1) to each row signal pin, be that H1~H5 first exports high level, output low level again, while being pressed due to button " * ", column signal pin L1 is electrically connected to row signal pin H5, so, the digital signal that button judging unit 51 exports row signal pin H5 to also can transfer to column signal pin L1, so, now the current potential on column signal pin L1 can change again, from low level, become high level, from high level, become low level again, when button judging unit 51 perceives current potential on column signal pin L1 and occurs low level twice, can record the line number fifth line of the button " * " that number of pins of the row signal pin H5 being connected with column signal pin L1 be pressed,
As can be seen here, button judging unit 51 is by the variation of the current potential on column signal pin, not only can identify, record the columns of the button " * " being pressed, and can record, identify the line number of the button " * " being pressed, identification, record the line number and columns of the button " * " being pressed after, button judging unit 51 just can judge that whether the button 2 being pressed belongs to predefined in a plurality of buttons is button " * " for switching the part button that electronic equipment 1 enters normal operating conditions from standby resting state by contrast line number, columns; Because button " * " is first row, fifth line, and the button 2 being pressed is also first row, fifth line, so judgment result is that:
The button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1.
When button " 1 " is pressed, the resistance R 1 colleague's signal pin H1 that draws being on the way connected with this button " 1 " is electrically connected to, due to row signal pin A1 ground connection, now, pull-up resistor R1 ground connection, so, the current potential being connected with pull-up resistor R1 on column signal pin L1 becomes low level from high level, now, when button judging unit 51 perceives current potential on column signal pin L1 and becomes low level from high level, can record the columns of the button " 1 " being connected with column signal pin L1, record first row;
After button judging unit 51 is recorded the columns of the button " 1 " being connected with column signal pin L1, button judging unit 51 can according to order (order can be: by H1 to H5 or by H5 to H1) each row signal pin H1 is first exported to high level, output low level again, while being pressed due to button " 1 ", column signal pin L1 is electrically connected to row signal pin H1, so, the digital signal that button judging unit 51 exports row signal pin H1 to also can transfer to column signal pin L1, so, now the current potential on column signal pin L1 can change again, from low level, become high level, from high level, become low level again, when button judging unit 51 perceives current potential on column signal pin L1 and occurs low level twice, can record the line number the first row of the button " 1 " that number of pins of the row signal pin H1 being connected with column signal pin L1 be pressed,
As can be seen here, button judging unit 51 is by the variation of the current potential on column signal pin, not only can identify, the columns of the button " 1 " that record is pressed, and can record, the line number of the button " 1 " that identification is pressed, identification, after recording the line number and columns of the button " 1 " being pressed, button judging unit 51 just can be by contrast line number, columns judges that whether the button 2 that is pressed is that to belong to predefined in a plurality of buttons be button " * " for switching the part button that electronic equipment 1 enters normal operating conditions from standby resting state, because button " * " is first row, fifth line, and the button being pressed " 1 " is first row, the first row, so judgment result is that:
The button 2 being pressed does not belong to predefined in a plurality of buttons and from standby resting state, enters the part button of normal operating conditions for switching electronic equipment 1.
Certainly, in the present embodiment, the variation of the upper current potential of column signal pin L can be both to become low level from high level, also can be to be changed to high level by low level, be only while not being pressed with button 2 above, the current potential on all column signal pin L is that high level is a kind of embodiment that example is carried out the more detailed elaboration embodiment of the present invention.
Meanwhile, because the row, column of a plurality of buttons in the present embodiment is artificial definition, row also can be defined as row, and row also can be defined as row, so the position of the button 2 that in the present embodiment, column signal pin L is connected with row signal pin H can be intercoursed.
As shown in Figure 8, another execution mode as the present embodiment, on in the present embodiment, draw power vd D to be connected with row signal pin H by pull-up resistor R, and by column signal pin L ground connection, when initial condition is pressed without any button 2, current potential on all column signal pin L is low level, when one of them button 2 is pressed, current potential on the column signal pin L being connected with this button 2 becomes high level from low level: produce a rising edge signal, like this, the button judging unit 51 of control module 5 becomes from low level the columns that high level judges the button 2 being pressed by judging the upper current potential of which column signal pin L, then, the signal transmitting unit 52 of control module 5 according to order (order can be: by H1 to H5 or by H5 to H1) to the first output low level of each row signal pin H, export again high level, thereby again according to the variation of the current potential on column signal pin L, by judging that the upper current potential of which column signal pin L becomes from low level the line number that high level judges the button 2 being pressed again.
As shown in Figure 7, as a kind of improvement of the present embodiment, predefined in the present embodiment for switching electronic equipment 1, from standby resting state, to enter line number or the columns of part button of normal operating conditions identical.
When the predefined line number homogeneous phase while that enters the part button of normal operating conditions for switching electronic equipment 1 from standby resting state, if only there is a line button 2 on keyboard 3, only need the columns of the button 2 that is pressed of judgement whether to belong to predefined in a plurality of buttons and from standby resting state, enter the columns of one of them button 2 of part button of normal operating conditions for switching electronic equipment 1, whether just can judge the button 2 being pressed belongs to predefined in a plurality of buttons and from standby resting state, enters one of them button 2 of part button of normal operating conditions for switching electronic equipment 1, if there is multirow on keyboard 3, during multiple press keys 2, it is predefined when switching electronic equipment 1 and enter the columns of one of them button 2 of part button of normal operating conditions from standby resting state in a plurality of buttons that the columns of judging the button 2 being pressed belongs to, during the line number of the button 2 that control module 5 is pressed in identification, can be only to or the row signal pin H output high level that first button 2 with being pressed is connected, output low level again, and need not all export high level according to each row signal pin of the inferior ordered pair from the first row to last column or from last column to the first row, output low level again, so can save judgement is pressed the spent time of button 2 line numbers.
With it in like manner, in the present embodiment, the predefined columns homogeneous phase while that enters the part button of normal operating conditions for switching electronic equipment 1 from standby resting state, also can save judgement and be pressed the spent time of button 2 line numbers.
As shown in figure 10, in the present embodiment, electronic equipment 1 also comprises power consumption module 6, control module 5 also when electronic equipment 1 is switched to normal operating conditions from standby resting state, starts power consumption module 6, makes power consumption module 6 enter normal operating conditions from closed condition or standby resting state.
Electronic equipment 1 is when standby resting state, conventionally, most power consumption module 6 in electronic equipment 1 are in closed condition, also may exist small part power consumption module 6 in standby resting state, now can save many power consumptions, when electronic equipment 1 switches to normal operating conditions from standby resting state, control module 5 can be controlled some conventional power consumption module 6 in electronic equipment 1 and directly enter normal operating conditions, need not restart specially power consumption module 6, like this, can improve the automaticity of electronic equipment 1.
The backlight that in the present embodiment, power consumption module 6 is mobile communication terminal as shown in figure 10.Backlight is conventional power consumption module 6 in mobile communication terminal, when backlight is luminous, user could clearly see the information on the display screen of mobile communication terminal, so when mobile communication terminal switches to normal operating conditions from standby resting state, when control module 5 control backlights directly enter normal operating conditions, user is without the special backlight that starts, just can see the information on display screen clearly, and then can facilitate user further to operate this mobile communication terminal, for example: write note, input telephone number.
In addition, due to when mobile communication terminal switches to normal operating conditions from standby resting state, control module 5 just can be controlled backlight and directly enter normal operating conditions, as mentioned before, on the electronic equipment 1 providing due to the embodiment of the present invention, the possibility of button 2 misoperations is lower, so can solve the button on mobile communication terminal 2 in prior art, because of the situation of generation button 2 misoperations, lead to errors and start backlight or other power consumption module 6, make the normal operating conditions that enters of backlight or other power consumption module 6 mistakes, finally make or the larger technical problem of power wastage that other power consumption module 6 backlights cause.
Certainly, if when in the present embodiment, electronic equipment 1 is the mobile communication terminals such as mobile phone, palmtop PC, power consumption module 6 can be also the conventional power consumption device of other users outside the backlights such as chip for cell phone, microphone, loud speaker.
As shown in Figure 5, another improvement as the present embodiment, in the present embodiment, electronic equipment 1 is mobile communication terminal, be preferably mobile phone, the master chip that control module 5 is mobile communication terminal, predefined is acknowledgement key (as shown in Figure 5 OK key) and/or directionkeys for switching part button that electronic equipment 1 enters normal operating conditions from standby resting state.
The master chip of mobile communication terminal itself has the basis recognition by pressing keys signal corresponding with columns, the line number of the button 2 being pressed and identifies the columns of button 2, the function of line number, simultaneously, the master chip of mobile communication terminal is also technical comparative maturity, a kind of control chip with data-handling capacity with low cost, so suitable, is applied to as control module 5
It is more frequent that acknowledgement key and/or directionkeys are that user operates, familiar button 2, and common arrange more eye-catching of the profile of acknowledgement key and/or directionkeys, user easily remembers, so preset acknowledgement key and/or directionkeys for when switching electronic equipment 1 and enter the part button of normal operating conditions from standby resting state, not only can reduce the probability of button 2 misoperations, and user-friendly and memory.
It shown in Fig. 7, is only the principle schematic of a kind of circuit connecting relation of acknowledgement key and/or directionkeys in the present embodiment, while being specifically applied on hardware, under the prerequisite of satisfied circuit connecting relation as shown in Figure 7, acknowledgement key and/or the directionkeys position on keyboard 3 can be arranged at any position, as long as the position of acknowledgement key and/or directionkeys facilitates user's pressing operation on hardware.
Certainly, predefined in a plurality of buttons as shown in Figure 52 in the present embodiment can be also one or several numerical key arbitrarily keyboard 3 for switching part button that electronic equipment 1 enters normal operating conditions from standby resting state.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.