CN105376377A - Physical button processing method and device - Google Patents

Physical button processing method and device Download PDF

Info

Publication number
CN105376377A
CN105376377A CN201510649516.3A CN201510649516A CN105376377A CN 105376377 A CN105376377 A CN 105376377A CN 201510649516 A CN201510649516 A CN 201510649516A CN 105376377 A CN105376377 A CN 105376377A
Authority
CN
China
Prior art keywords
button
inefficacy
function
physical
normal
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.)
Pending
Application number
CN201510649516.3A
Other languages
Chinese (zh)
Inventor
许飞龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510649516.3A priority Critical patent/CN105376377A/en
Publication of CN105376377A publication Critical patent/CN105376377A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/23Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof

Abstract

The invention relates to a physical button processing method and device. The method comprises the steps of detecting whether physical buttons meet corresponding preset button failure conditions; determining physical buttons meeting the corresponding preset button failure conditions as failure buttons; shutting down the functions of the failure buttons and starting the functions of replacing buttons for the failure buttons. The device comprises a button detection module used for detecting whether physical buttons meet corresponding preset button failure conditions; a failure button determining module used for determining physical buttons meeting the corresponding preset button failure conditions as failure buttons; a failure button processing module used for shutting down the functions of the failure buttons and starting the functions of replacing buttons for the failure buttons. According to the invention, even physical buttons fail, the normal use of intelligent electronic equipment can be guaranteed.

Description

Physical button processing method and device
Technical field
The present invention relates to technical field of electronic equipment, particularly relate to a kind of physical button processing method, physical button processing unit.
Background technology
Along with popularizing of the intelligent electronic device such as mobile phone, flat board, intelligent electronic device can fall from eminence unavoidably by user in use intelligent electronic device process, causes power key, volume key or other physical button to occur situation about losing efficacy.These physical button inefficacies can cause intelligent electronic device to use inconvenience even cannot use.Such as, mobile phone fallen cause power key continue long by, if cell phone software system power supply bond distance by function be defined as forced shutdown and force start, this will cause mobile phone constantly to carry out shutting down, circulation of starting shooting, and user cannot use mobile phone at all; If cell phone software system power supply bond distance by function be defined as play frame prompting shutdown, this will cause mobile phone operation interface pointing out always shut down interface, user cannot use mobile phone equally at all.For another example, mobile phone has been fallen and has caused power key button without response, this just causes user cannot unlock mobile phone by power key, and using to user makes troubles, and even may affect the normal use of mobile phone.For another example, mobile phone falls in water or drenches with rain, although do not affect the use of mobile phone, but because water inlet causes the phenomenon of power button chopped response on a small quantity, sometimes user manually presses power key response function effectively and normal, sometimes power button again can from dynamic response long by or short in function, this phenomenon probably continues several days until the water at button place is done, and causes the inconvenience that mobile phone uses equally.Volume key or other physical button similar, can cause after keys deactivation intelligent electronic device use inconvenience even cannot use.
Summary of the invention
Based on this, be necessary for the problems referred to above, a kind of physical button processing method and device are provided, can occur in physical button the normal use ensureing intelligent electronic device when losing efficacy.
In order to achieve the above object, the present invention is by the following technical solutions:
A kind of physical button processing method, comprises step:
Detect each physical button and whether meet corresponding programmable button failure condition;
The physical button meeting corresponding programmable button failure condition is defined as inefficacy button;
The function of described inefficacy button closed, and open the function of the replacement button of described inefficacy button, the function of wherein said replacement button comprises the function of described inefficacy button.
A kind of physical button processing unit, comprising:
Whether button detection module, meet corresponding programmable button failure condition for detecting each physical button;
Inefficacy button determination module, for being defined as inefficacy button by the physical button meeting corresponding programmable button failure condition;
Inefficacy keystroke handling module, for the function of described inefficacy button being closed, and open the function of the replacement button of described inefficacy button, the function of wherein said replacement button comprises the function of described inefficacy button.
Physical button processing method of the present invention and device, whether real-time detection physical button lost efficacy, if lost efficacy, then replace this inefficacy button with the replacement button with identical function, and close the function of this inefficacy button, thus there is the normal use that also can ensure intelligent electronic device when losing efficacy in physical button, effectively prevent because physical button inefficacy causes user to occur the situation generation of heavy losses.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of physical button processing method embodiment one of the present invention;
Fig. 2 is the schematic flow sheet of physical button processing method embodiment two of the present invention;
Fig. 3 is the structural representation of physical button processing unit embodiment one of the present invention;
Fig. 4 is the structural representation of physical button processing unit embodiment two of the present invention.
Embodiment
The technical problem that will solve for a better understanding of the present invention, the technical scheme taked and the technique effect reached, be described in detail the specific embodiment of the present invention below in conjunction with accompanying drawing.It should be noted that, first, second wording such as grade occurred in literary composition, only in order to distinguish each Preset Time or each unit, is not limited the order of each Preset Time or each unit.
As shown in Figure 1, a kind of physical button processing method, comprises step:
S110, detect each physical button and whether meet corresponding programmable button failure condition;
S120, the physical button meeting corresponding programmable button failure condition is defined as inefficacy button;
S130, the function of described inefficacy button closed, and open the function of the replacement button of described inefficacy button, the function of wherein said replacement button comprises the function of described inefficacy button.
Physical button is the physical button on intelligent electronic device, such as power key, volume key etc.In order to prevent the normal use of physical button failure effect intelligent electronic device, need to detect in real time each physical button.User can be arranged for judging the keys deactivation condition whether physical button lost efficacy according to actual conditions, and such as, in one embodiment, step S110 can comprise following any one or combination in any:
Whether S1101, detection physical button duration in the firing state meet the first Preset Time;
Whether this step mainly occurs long by inefficacy to detect physical button.First Preset Time can be arranged according to actual needs.First Preset Time can be set to a time value determined, such as, the first Preset Time is set to 30 seconds.Also the first Preset Time can be set to a time range.The first different Preset Times can be set respectively for each physical button, namely judge whether each physical button duration in the firing state meets the first corresponding Preset Time, also the first Preset Time of each physical button can be set to same time value.
If the length of physical button meets the first Preset Time by the duration, just can determine that this physical button is inefficacy button, otherwise this physical button is normal button.
Whether S1102, detection physical button meet the second Preset Time without the time of response on triggering, if meet, receive instruction physical button being set to inefficacy button;
This step is mainly in order to whether manual detection physical button occurs losing efficacy without response.Second Preset Time can be arranged according to actual needs, and such as, the second Preset Time is set to 30 seconds.The second different Preset Times can be set respectively for each physical button, namely judge whether each physical button meets the second corresponding Preset Time without the time of response on triggering, also the second Preset Time of each physical button can be set to same time value.
If physical button meets the second Preset Time without the time of response on triggering, then allowing user, manually to arrange this physical button at software interface is inefficacy button, otherwise not allow user manually to arrange this physical button be inefficacy button.
Whether S1103, the number of times detecting the response of in the 3rd Preset Time physical button are greater than preset times;
In order to detect physical button, whether this step mainly occurs that chopped response lost efficacy.3rd Preset Time and preset times can be arranged according to actual needs, and such as, the 3rd Preset Time is set to 5 seconds, and preset times is set to 10 inferior.The 3rd different Preset Time and preset times can be set respectively for each physical button, also the 3rd Preset Time of each physical button and preset times can be set to identical value.
In the 3rd Preset Time, the number of times of physical button response is greater than preset times, just can determine that this physical button is inefficacy button, otherwise this physical button is normal button.
Whether S1104, detection receive instruction physical button being set to inefficacy button.
Step S1104 is manual identified.Step S1103 detects physical button and whether occurs that chopped response lost efficacy and may there is error, if inefficacy button is not according to the automatic condition for identification identification of step S1103 out, user also can take the scheme of manual identified, manually physical button is set to inefficacy button at software interface.If so receive instruction physical button being set to inefficacy button, then determine that this physical button is inefficacy button, otherwise this physical button is normal button.
It should be noted that, according to above-mentioned several programmable button failure condition, The present invention gives several embodiments of step S110, user also can arrange other keys deactivation condition according to actual needs, thus obtaining other embodiment of step S110, the present invention does not make restriction to this.
When detecting inefficacy button, in order to ensure the normal use of intelligent electronic device, the function of this inefficacy button is closed, and open corresponding function of replacing button, wherein replacing button and can have the function identical with inefficacy button, also can also having other function outward having the function identical with inefficacy button.In one embodiment, step S130 can comprise:
If described inefficacy button is power key, detect in other physical button except power key whether there is normal button;
If there is normal button, from described normal button, choose a physical button as replacement button, the function of described replacement button is replaced with the function of power key, and the function of powered-down key; Now replace button and no longer there is original function;
If there is not normal button, the virtual key of power-on key forbid shut-off function, breath screen function and bright screen function, and the function of powered-down key; Virtual key forbid that shut-off function, breath screen function and bright screen function all can by existing scheme realizations in prior art;
If described inefficacy button is other physical button except power key, open the function of the corresponding virtual key of described inefficacy button, and close the function of described inefficacy button, such as inefficacy button is volume key, then open the function of virtual volume key, the virtual key that wherein physical button is corresponding all can be realized by scheme existing in prior art.
After adopting replacement method to process inefficacy button, inefficacy button is likely normal in follow-up recovery, conveniently the user that operates by physical button of custom, or, suppose after the power key lost efficacy being replaced with volume key, power key recovers again normal, so now may need to recover the original function of volume key, so, in one embodiment, as shown in Figure 2, after step S130, can also step be comprised:
S140, detect described inefficacy button and whether meet corresponding programmable button recover condition;
S150, the inefficacy button meeting corresponding programmable button recover condition is defined as normal button;
S160, the function of described normal button to be opened, and close the function of replacement button corresponding to described normal button.
The method that step S140 realizes has multiple, and such as, in one embodiment, step S140 can comprise following any one or combination in any:
Whether S1401, detection inefficacy button meet the 4th Preset Time when triggerless without the time of response;
Whether this step is mainly in order to detect inefficacy button by long normal by failure recovery.4th Preset Time can be arranged according to actual needs, and such as, the 4th Preset Time is set to 30 seconds.Can arrange the 4th different Preset Times respectively for each button that lost efficacy, the 4th Preset Time of the button that also each can be lost efficacy is set to same time value.
If when not performing any operation to inefficacy button, inefficacy button meets the 4th Preset Time without the time of response, then determine that this inefficacy button is normal button, recover normal functioning mode, otherwise determine that this inefficacy button is still in failure state.
Whether S1402, detection inefficacy button have response on triggering;
Whether this step is mainly in order to detect inefficacy button by normal without response failure recovery.As long as this inefficacy button can respond on triggering, then determine that this inefficacy button is normal button, otherwise this inefficacy button is still in failure state.
Whether S1403, detection inefficacy button meet the 5th Preset Time when triggerless without the time of response;
Whether this step is mainly normal by chopped response failure recovery in order to detect inefficacy button.5th Preset Time can be arranged according to actual needs, but needs to differentiate the 4th Preset Time, and such as, the 5th Preset Time is set to 900 seconds.Can arrange the 5th different Preset Times respectively for each button that lost efficacy, the 5th Preset Time of the button that also each can be lost efficacy is set to same time value.
If when not performing any operation to inefficacy button, inefficacy button meets the 5th Preset Time without the time of response, then determine that this inefficacy button is normal button, recover normal functioning mode, otherwise determine that this inefficacy button is still in failure state.
Whether S1404, detection receive instruction physical button being set to normal button by the button that lost efficacy.If manual identified goes out to lose efficacy, button recovers normal functioning mode, then manually inefficacy button can be set to normal button at software interface.That is to say, if receive instruction physical button being set to normal button by the button that lost efficacy, then determine that this inefficacy button is normal button, otherwise this inefficacy button is still in failure state.
After inefficacy button recovers normal functioning mode, just the function of this inefficacy button can be opened, the function being used for the replacement button replacing this inefficacy button be closed, then returns step S110 and again detect.The present invention not only can ensure the normal use of intelligent electronic device when physical button lost efficacy, when inefficacy button recovers normal, inefficacy button can also be reverted to original functional mode, user friendly operation.
Based on same inventive concept, the present invention also provides a kind of physical button processing unit, is described in detail below in conjunction with the embodiment of accompanying drawing to apparatus of the present invention.
As shown in Figure 3, a kind of physical button processing unit, comprising:
Whether button detection module 110, meet corresponding programmable button failure condition for detecting each physical button;
Inefficacy button determination module 120, for being defined as inefficacy button by the physical button meeting corresponding programmable button failure condition;
Inefficacy keystroke handling module 130, for the function of described inefficacy button being closed, and open the function of the replacement button of described inefficacy button, the function of wherein said replacement button comprises the function of described inefficacy button.
User can be arranged for judging the keys deactivation condition whether physical button lost efficacy according to actual conditions, and such as, in one embodiment, described button detection module 110 can comprise any one or combination in any with lower unit:
Whether the first button detecting unit 1101, meet the first Preset Time for detecting the physical button duration in the firing state;
First Preset Time can be arranged according to actual needs.First Preset Time a time value determined can be set to, also the first Preset Time a time range can be set to.The first different Preset Times can be set respectively for each physical button, also the first Preset Time of each physical button can be set to same time value.
If the length of physical button meets the first Preset Time by the duration, inefficacy button determination module 120 just can determine that this physical button is inefficacy button, otherwise this physical button is normal button.
Whether the second button detecting unit 1102, meeting the second Preset Time without the time of response on triggering for detecting physical button, if meet, receiving instruction physical button being set to inefficacy button;
Second Preset Time can be arranged according to actual needs.The second different Preset Times can be set respectively for each physical button, also the second Preset Time of each physical button can be set to same time value.If physical button meets the second Preset Time without the time of response on triggering, then allowing user, manually to arrange this physical button at software interface is inefficacy button, otherwise not allow user manually to arrange this physical button be inefficacy button.
Whether the 3rd button detecting unit 1103, be greater than preset times for the number of times detecting physical button response in the 3rd Preset Time;
3rd Preset Time and preset times can be arranged according to actual needs.The 3rd different Preset Time and preset times can be set respectively for each physical button, also the 3rd Preset Time of each physical button and preset times can be set to identical value.
In the 3rd Preset Time, the number of times of physical button response is greater than preset times, and inefficacy button determination module 120 just can determine that this physical button is inefficacy button, otherwise this physical button is normal button.
Button arranges instruction detection unit 1104, for detecting the instruction whether receiving and physical button is set to inefficacy button.If receive instruction physical button being set to inefficacy button, then inefficacy button determination module 120 determines that this physical button is inefficacy button, otherwise this physical button is normal button.
It should be noted that, according to above-mentioned several programmable button failure condition, The present invention gives several embodiments of button detection module 110, user also can arrange other keys deactivation condition according to actual needs, thus obtaining other embodiment of button detection module 110, the present invention does not make restriction to this.
When detecting inefficacy button, in order to ensure the normal use of intelligent electronic device, the function of this inefficacy button is closed by inefficacy keystroke handling module 130, and open corresponding function of replacing button, wherein replacing button and can have the function identical with inefficacy button, also can also having other function outward having the function identical with inefficacy button.In one embodiment, described inefficacy keystroke handling module 130 can comprise:
Normal button detecting unit 1301, for when described inefficacy button is power key, detects in other physical button except power key whether there is normal button;
First power key processing unit 1302, for when there is normal button, choosing a physical button as replacement button, the function of described replacement button being replaced with the function of power key from described normal button, and the function of powered-down key;
Second source key processing unit 1303, for when there is not normal button, the virtual key of power-on key forbid shut-off function, breath screen function and bright screen function, and the function of powered-down key; Virtual key forbid that shut-off function, breath screen function and bright screen function all can by existing scheme realizations in prior art;
Virtual key processing unit 1304, for when described inefficacy button is other physical button except power key, opens the function of the corresponding virtual key of described inefficacy button, and closes the function of described inefficacy button.The virtual key that wherein physical button is corresponding all can be realized by scheme existing in prior art.
After inefficacy keystroke handling module 130 adopts replacement method to process inefficacy button, inefficacy button is likely normal in follow-up recovery, so, in one embodiment, as shown in Figure 4, apparatus of the present invention can also comprise the inefficacy button detection module 140 be connected successively with described inefficacy keystroke handling module 130, normal button determination module 150 and inefficacy button and recover module 160;
Whether inefficacy button detection module 140, meet corresponding programmable button recover condition for detecting described inefficacy button;
Normal button determination module 150, for being defined as normal button by the inefficacy button meeting corresponding programmable button recover condition;
Inefficacy button recovers module 160, for the function of described normal button being opened, and closes the function of replacement button corresponding to described normal button.
The mode that inefficacy button detection module 140 realizes has multiple, and such as, in one embodiment, described inefficacy button detection module comprises any one or combination in any with lower unit:
Whether the first inefficacy button detecting unit 1401, meet four Preset Time without the time of response for detecting inefficacy button when triggerless;
4th Preset Time can be arranged according to actual needs.Can arrange the 4th different Preset Times respectively for each button that lost efficacy, the 4th Preset Time of the button that also each can be lost efficacy is set to same time value.
If when not performing any operation to inefficacy button, inefficacy button meets the 4th Preset Time without the time of response, then normal button determination module 150 determines that this inefficacy button is normal button, recovers normal functioning mode, otherwise determines that this inefficacy button is still in failure state.
Whether the second inefficacy button detecting unit 1402, have response on triggering for detecting inefficacy button;
As long as this inefficacy button can respond on triggering, then normal button determination module 150 determines that this inefficacy button is normal button, otherwise this inefficacy button is still in failure state.
Whether the 3rd inefficacy button detecting unit 1403, meet five Preset Time without the time of response for detecting inefficacy button when triggerless;
5th Preset Time can be arranged according to actual needs, but needs to differentiate the 4th Preset Time.Can arrange the 5th different Preset Times respectively for each button that lost efficacy, the 5th Preset Time of the button that also each can be lost efficacy is set to same time value.If when not performing any operation to inefficacy button, inefficacy button meets the 5th Preset Time without the time of response, then normal button determination module 150 determines that this inefficacy button is normal button, recovers normal functioning mode, otherwise determines that this inefficacy button is still in failure state.
Inefficacy button arranges instruction detection unit 1404, for detecting the instruction whether receiving and physical button is set to normal button by the button that lost efficacy.If receive instruction physical button being set to normal button by the button that lost efficacy, then normal button determination module 150 determines that this inefficacy button is normal button, otherwise this inefficacy button is still in failure state.
After inefficacy button recovers normal functioning mode, inefficacy button recovers module 160 and just the function of this inefficacy button can be opened, and the function being used for the replacement button replacing this inefficacy button is closed.The present invention not only can ensure the normal use of intelligent electronic device when physical button lost efficacy, when inefficacy button recovers normal, inefficacy button can also be reverted to original functional mode, user friendly operation.
Each technical characteristic of the above embodiment can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics does not exist contradiction, be all considered to be the scope that this specification is recorded.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a physical button processing method, is characterized in that, comprises step:
Detect each physical button and whether meet corresponding programmable button failure condition;
The physical button meeting corresponding programmable button failure condition is defined as inefficacy button;
The function of described inefficacy button closed, and open the function of the replacement button of described inefficacy button, the function of wherein said replacement button comprises the function of described inefficacy button.
2. physical button processing method according to claim 1, is characterized in that, after opening the function of the replacement button of described inefficacy button, also comprises step:
Detect described inefficacy button and whether meet corresponding programmable button recover condition;
The inefficacy button meeting corresponding programmable button recover condition is defined as normal button;
The function of described normal button is opened, and closes the function of replacement button corresponding to described normal button.
3. physical button processing method according to claim 1, is characterized in that, detects step that whether each physical button meet corresponding programmable button failure condition and comprises following any one or combination in any:
Detect physical button duration in the firing state whether satisfied first Preset Time;
Detect physical button and whether meet the second Preset Time without the time of response on triggering, if meet, receive instruction physical button being set to inefficacy button;
Whether the number of times detecting physical button response in the 3rd Preset Time is greater than preset times;
Detect and whether receive instruction physical button being set to inefficacy button.
4. physical button processing method according to claim 2, is characterized in that, detects step that whether described inefficacy button meet corresponding programmable button recover condition and comprises following any one or combination in any:
Detect inefficacy button and whether meet the 4th Preset Time when triggerless without the time of response;
Detect inefficacy button and whether have response on triggering;
Detect inefficacy button and whether meet the 5th Preset Time when triggerless without the time of response;
Detect and whether receive instruction physical button being set to normal button by the button that lost efficacy.
5. the physical button processing method according to Claims 1-4 any one, is characterized in that, the function of described inefficacy button closed, and the step of opening the function of the replacement button of described inefficacy button comprises:
If described inefficacy button is power key, detect in other physical button except power key whether there is normal button;
If there is normal button, from described normal button, choose a physical button as replacement button, the function of described replacement button is replaced with the function of power key, and the function of powered-down key;
If there is not normal button, the virtual key of power-on key forbid shut-off function, breath screen function and bright screen function, and the function of powered-down key;
If described inefficacy button is other physical button except power key, open the function of the corresponding virtual key of described inefficacy button, and close the function of described inefficacy button.
6. a physical button processing unit, is characterized in that, comprising:
Whether button detection module, meet corresponding programmable button failure condition for detecting each physical button;
Inefficacy button determination module, for being defined as inefficacy button by the physical button meeting corresponding programmable button failure condition;
Inefficacy keystroke handling module, for the function of described inefficacy button being closed, and open the function of the replacement button of described inefficacy button, the function of wherein said replacement button comprises the function of described inefficacy button.
7. physical button processing unit according to claim 6, is characterized in that, also comprises the inefficacy button detection module be connected successively with described inefficacy keystroke handling module, normal button determination module and inefficacy button and recovers module;
Whether inefficacy button detection module, meet corresponding programmable button recover condition for detecting described inefficacy button;
Normal button determination module, for being defined as normal button by the inefficacy button meeting corresponding programmable button recover condition;
Inefficacy button recovers module, for the function of described normal button being opened, and closes the function of replacement button corresponding to described normal button.
8. physical button processing unit according to claim 6, is characterized in that, described button detection module comprises any one or combination in any with lower unit:
Whether the first button detecting unit, meet the first Preset Time for detecting the physical button duration in the firing state;
Whether the second button detecting unit, meeting the second Preset Time without the time of response on triggering for detecting physical button, if meet, receiving instruction physical button being set to inefficacy button;
Whether the 3rd button detecting unit, be greater than preset times for the number of times detecting physical button response in the 3rd Preset Time;
Button arranges instruction detection unit, for detecting the instruction whether receiving and physical button is set to inefficacy button.
9. physical button processing unit according to claim 7, is characterized in that, described inefficacy button detection module comprises any one or combination in any with lower unit:
Whether the first inefficacy button detecting unit, meet four Preset Time without the time of response for detecting inefficacy button when triggerless;
Whether the second inefficacy button detecting unit, have response on triggering for detecting inefficacy button;
Whether the 3rd inefficacy button detecting unit, meet five Preset Time without the time of response for detecting inefficacy button when triggerless;
Inefficacy button arranges instruction detection unit, for detecting the instruction whether receiving and physical button is set to normal button by the button that lost efficacy.
10. the physical button processing unit according to claim 6 to 9 any one, is characterized in that, described inefficacy keystroke handling module comprises:
Normal button detecting unit, for when described inefficacy button is power key, detects in other physical button except power key whether there is normal button;
First power key processing unit, for when there is normal button, choosing a physical button as replacement button, the function of described replacement button being replaced with the function of power key from described normal button, and the function of powered-down key;
Second source key processing unit, for when there is not normal button, the virtual key of power-on key forbid shut-off function, breath screen function and bright screen function, and the function of powered-down key;
Virtual key processing unit, for when described inefficacy button is other physical button except power key, opens the function of the corresponding virtual key of described inefficacy button, and closes the function of described inefficacy button.
CN201510649516.3A 2015-10-09 2015-10-09 Physical button processing method and device Pending CN105376377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510649516.3A CN105376377A (en) 2015-10-09 2015-10-09 Physical button processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510649516.3A CN105376377A (en) 2015-10-09 2015-10-09 Physical button processing method and device

Publications (1)

Publication Number Publication Date
CN105376377A true CN105376377A (en) 2016-03-02

Family

ID=55378169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510649516.3A Pending CN105376377A (en) 2015-10-09 2015-10-09 Physical button processing method and device

Country Status (1)

Country Link
CN (1) CN105376377A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106169038A (en) * 2016-06-30 2016-11-30 联想(北京)有限公司 A kind of changing method, electronic equipment and switching device
CN106534512A (en) * 2016-11-02 2017-03-22 惠州Tcl移动通信有限公司 Mobile terminal forced restart mode switching method and system
CN106547663A (en) * 2016-10-31 2017-03-29 北京小米移动软件有限公司 Button management method and device
CN106657511A (en) * 2016-12-20 2017-05-10 上海斐讯数据通信技术有限公司 Emergency processing method and emergency processing system for terminal keys
CN107154994A (en) * 2017-04-26 2017-09-12 深圳天珑无线科技有限公司 The emergent conversion method and its system of a kind of device keys and screen
CN107155003A (en) * 2017-04-26 2017-09-12 深圳天珑无线科技有限公司 The emergency processing method and its system of a kind of physical button
CN107168828A (en) * 2017-04-26 2017-09-15 深圳天珑无线科技有限公司 A kind of utilization sensor circuit realizes the method and its system of button switching
CN107341067A (en) * 2017-06-22 2017-11-10 努比亚技术有限公司 A kind of keys deactivation processing method, equipment and computer-readable recording medium
CN107515754A (en) * 2017-08-24 2017-12-26 北京小米移动软件有限公司 System startup separator processing method, device and storage medium
CN109040437A (en) * 2018-07-18 2018-12-18 奇酷互联网络科技(深圳)有限公司 The method and apparatus of mobile terminal and its test earphone exception
CN109061452A (en) * 2018-07-09 2018-12-21 珠海格力智能装备有限公司 The detection method and device of key
CN109739346A (en) * 2018-11-29 2019-05-10 努比亚技术有限公司 A kind of key simulating method, double screen terminal and computer readable storage medium
CN110174987A (en) * 2019-05-30 2019-08-27 努比亚技术有限公司 A kind of keypress function defines method, double screen terminal and computer-readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080178280A1 (en) * 2004-12-16 2008-07-24 Shoei-Lai Chen Method for Preventing Electronic Devices from Unauthorized Switching On
CN101641944A (en) * 2007-04-10 2010-02-03 诺基亚公司 In the electronic equipment or relate to the improvement of electronic equipment
CN103620540A (en) * 2013-05-16 2014-03-05 华为终端有限公司 Method for controlling device and touch device
CN104765466A (en) * 2015-05-04 2015-07-08 广东欧珀移动通信有限公司 Key control method and device for mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080178280A1 (en) * 2004-12-16 2008-07-24 Shoei-Lai Chen Method for Preventing Electronic Devices from Unauthorized Switching On
CN101641944A (en) * 2007-04-10 2010-02-03 诺基亚公司 In the electronic equipment or relate to the improvement of electronic equipment
CN103620540A (en) * 2013-05-16 2014-03-05 华为终端有限公司 Method for controlling device and touch device
CN104765466A (en) * 2015-05-04 2015-07-08 广东欧珀移动通信有限公司 Key control method and device for mobile terminal

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106169038A (en) * 2016-06-30 2016-11-30 联想(北京)有限公司 A kind of changing method, electronic equipment and switching device
CN106547663A (en) * 2016-10-31 2017-03-29 北京小米移动软件有限公司 Button management method and device
CN106547663B (en) * 2016-10-31 2019-05-07 北京小米移动软件有限公司 Key management method and device
CN106534512A (en) * 2016-11-02 2017-03-22 惠州Tcl移动通信有限公司 Mobile terminal forced restart mode switching method and system
CN106657511A (en) * 2016-12-20 2017-05-10 上海斐讯数据通信技术有限公司 Emergency processing method and emergency processing system for terminal keys
CN107168828A (en) * 2017-04-26 2017-09-15 深圳天珑无线科技有限公司 A kind of utilization sensor circuit realizes the method and its system of button switching
CN107155003A (en) * 2017-04-26 2017-09-12 深圳天珑无线科技有限公司 The emergency processing method and its system of a kind of physical button
CN107154994A (en) * 2017-04-26 2017-09-12 深圳天珑无线科技有限公司 The emergent conversion method and its system of a kind of device keys and screen
CN107341067A (en) * 2017-06-22 2017-11-10 努比亚技术有限公司 A kind of keys deactivation processing method, equipment and computer-readable recording medium
CN107515754A (en) * 2017-08-24 2017-12-26 北京小米移动软件有限公司 System startup separator processing method, device and storage medium
CN109061452A (en) * 2018-07-09 2018-12-21 珠海格力智能装备有限公司 The detection method and device of key
CN109040437A (en) * 2018-07-18 2018-12-18 奇酷互联网络科技(深圳)有限公司 The method and apparatus of mobile terminal and its test earphone exception
CN109739346A (en) * 2018-11-29 2019-05-10 努比亚技术有限公司 A kind of key simulating method, double screen terminal and computer readable storage medium
CN110174987A (en) * 2019-05-30 2019-08-27 努比亚技术有限公司 A kind of keypress function defines method, double screen terminal and computer-readable medium

Similar Documents

Publication Publication Date Title
CN105376377A (en) Physical button processing method and device
CN203588406U (en) Intelligent security system based on infrared detection and video monitoring
CN102999155A (en) Electronic terminal, touch control method and display screen backlight control method
CN105022577B (en) A kind of display methods and device of multi-screen mobile terminal
CN104320579A (en) Photographing device and method
CN103347134B (en) A kind of control system and control method based on mobile terminal key
CN104834497A (en) On screen display control method and controller
CN104660777A (en) Touch screen cellphone and function setting method for physical buttons thereof
CN103064622A (en) Screen unlocking method and device for mobile terminal
CN103838577A (en) Breaking news processing method and terminal
CN105678146A (en) Terminal and operation method thereof
CN103226389A (en) Method for executing application program according to gesture
CN104836869A (en) Mobile communication terminal and mobile communication terminal power-on method
CN103760978A (en) Information processing method and electronic device
CN105491182A (en) Mobile phone water-meeting alarm system
CN203941607U (en) A kind of multifunctional remote warning device
CN103971493A (en) Multifunctional remote alarm system
CN101398697B (en) Method for implementing auto covering setup of notebook computer
CN107145076A (en) Intelligent household security control system
CN102660857A (en) Method for automatically controlling door lock of washing machine
CN103683340A (en) Power management equipment and method of device using battery as power supply
CN105407221A (en) Method and system for palm rejection when using self timer
CN202996010U (en) Remotely-controlled unlocking device for intelligent terminal, and remote controller
CN105549734B (en) A kind of button triggering method and device
CN101237140A (en) Water-proof protection device for digital product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160302

RJ01 Rejection of invention patent application after publication