CN103095915B - A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone - Google Patents

A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone Download PDF

Info

Publication number
CN103095915B
CN103095915B CN201310004712.6A CN201310004712A CN103095915B CN 103095915 B CN103095915 B CN 103095915B CN 201310004712 A CN201310004712 A CN 201310004712A CN 103095915 B CN103095915 B CN 103095915B
Authority
CN
China
Prior art keywords
touch screen
mobile phone
screen event
phone
event
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.)
Active
Application number
CN201310004712.6A
Other languages
Chinese (zh)
Other versions
CN103095915A (en
Inventor
雷明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201310004712.6A priority Critical patent/CN103095915B/en
Publication of CN103095915A publication Critical patent/CN103095915A/en
Application granted granted Critical
Publication of CN103095915B publication Critical patent/CN103095915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone, described method comprises: in the time that mobile phone is received incoming call automatic spring incoming call operation interface, Proximity Sensor detection of handset touch screen in control mobile phone and the distance of user's body, to judge whether current phone touch screen reclines with user's body, if so, described mobile phone is set to shield the state of touch screen event; In the time the touch screen event of incoming call operation interface being detected, judge whether current phone is the state of shielding touch screen event; If so, control flow covert states touch screen event. By the present invention can automatic shield by health the touch screen event that receives calls and hang up the telephone producing that contacts with mobile phone touch screen, the generation of having avoided misconnection to listen and hang up by mistake, provides users with the convenient. Without setting up hardware, realize cost low, and this protection mechanism does not affect user and normally uses mobile phone.

Description

A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone
Technical field
The present invention relates to field of mobile terminals, in particular a kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone.
Background technology
The smart mobile phone of current main-stream is all supported touch screen operation, and a lot of mobile phones adopt capacitance plate, in the time that need are answered or hung up the telephone, receive paddling or the clicking operation instruction of user on touch screen realize by touch screen. This touch screen mode of operation is convenient, directly perceived, user experiences fine, but there is a problem that easily produces maloperation, such as, user habit is placed on mobile phone in the pocket of clothing, in the time having incoming call, if mobile phone touch screen is close to user's body, may there is the capacitive sensing between mobile phone touch screen and user's body, cause the capacitance variations of mobile phone touch screen, and then may send the undesirable instruction of some users to cell phone system, if phone is by misconnection or hung up by mistake. This maloperation is easy to make both call sides to misunderstand, and has brought inconvenience to user.
In order to prevent the generation of this mistake maloperation, in prior art by adding shell to mobile phone, to prevent that producing capacitive sensing between touch screen and health causes mobile phone to carry out maloperation, but this mode needs extra hardware cost, and affects the appearance looks elegant degree of mobile phone.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, a kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone is provided, is intended to solve existing touch-screen mobile phone and carries out the technical problem of maloperation because contacting between touch screen and user's body causes mobile phone.
The technical scheme that technical solution problem of the present invention adopts is as follows:
Based on a method that prevents maloperation for touch-screen mobile phone, wherein, comprise step:
A, in the time that mobile phone is received incoming call automatic spring incoming call operation interface, Proximity Sensor detection of handset touch screen in control mobile phone and the distance of user's body, judge whether mobile phone touch screen reclines with user's body, if so, described mobile phone is set to shield the state of touch screen event;
B, in the time the touch screen event of described incoming call operation interface being detected, judge that whether current phone is the state of shielding touch screen event; If so, control flow covert states the touch screen event that the action button in incoming call operation interface receives.
The described method that prevents maloperation based on touch-screen mobile phone, wherein, also comprises step after described step B:
C, in the time that described incoming call operation interface exits, automatically described mobile phone is set to not shield the state of touch screen event, and controls Proximity Sensor in mobile phone and stop the distance of detection of handset touch screen and user's body.
The described method that prevents maloperation based on touch-screen mobile phone, wherein, described steps A comprises:
A0, current phone is set to not shield the state of touch screen event in advance;
A1, in the time that mobile phone is received incoming call automatic spring incoming call operation interface, control Proximity Sensor in mobile phone and obtain the distance of current phone touch screen and user's body;
A2, described distance and the threshold values setting in advance are compared, in the time that described distance is less than described threshold values, judge that current phone touch screen and user's body recline, described mobile phone is set to shield the state of touch screen event.
The described method that prevents maloperation based on touch-screen mobile phone, wherein, described step B comprises:
Whether B1, detection have the touch screen event of described incoming call operation interface; In the time having touch screen event, read set in advance, for identifying the flag whether current phone is the state of shielding touch screen event;
B2, judge that according to described flag whether current phone is the state of shielding touch screen event;
If the state of B3 shielding touch screen event, control flow covert states the touch screen event that the action button in incoming call operation interface receives, otherwise, control described mobile phone and receive and carry out described touch screen event.
The described method that prevents maloperation based on touch-screen mobile phone, wherein, described step B2 also comprises:
When described flag is fictitious time, judge that current phone is the state of shielding touch screen event; When described flag is true time, judge that current phone is not the state that shields touch screen event.
A kind of mobile phone, wherein, comprising:
Detection module, when send a telegram here automatic spring incoming call operation interface for receiving when mobile phone, the Proximity Sensor detection of handset touch screen in control mobile phone and the distance of user's body, judge whether mobile phone touch screen reclines with user's body, if so, described mobile phone is set to shield the state of touch screen event;
Control module, in the time the touch screen event of described incoming call operation interface being detected, judges whether current phone is the state of shielding touch screen event; If so, control flow covert states the touch screen event that the action button in incoming call operation interface receives.
Described mobile phone, wherein, also comprises:
Recover module, in the time that cell phone incoming call operation interface exits, described mobile phone is set to not shield the state of touch screen event, and controls Proximity Sensor in mobile phone and stop the distance of detection of handset touch screen and user's body.
Described mobile phone, wherein, described detection module comprises:
Setting unit, is set to not shield the state of touch screen event for current phone in advance;
The first detecting unit, while sending a telegram here automatic spring incoming call operation interface for receiving when mobile phone, the Proximity Sensor in control mobile phone obtains the distance of mobile phone touch screen and user's body;
The second detecting unit, for described distance and the threshold values setting in advance are compared, in the time that described distance is less than described threshold values, judges that current phone touch screen and user's body recline, and control current phone is set to shield the state of touch screen event; In the time that described distance is more than or equal to described threshold values, control current phone is set to not shield the state of touch screen event.
Described mobile phone, wherein, described control module comprises:
Judging unit, for detection of the touch screen event that whether has described incoming call operation interface; In the time having touch screen event, read the flag of the touch screen event that whether shields for identifying current phone setting in advance; Judge according to described flag whether current phone is the state of shielding touch screen event;
Control module, if be the state of shielding touch screen event for current phone, control flow covert states the touch screen event that the action button in incoming call operation interface receives, otherwise, control described mobile phone and receive and carry out described touch screen event.
Described mobile phone, wherein, described judging unit also for, when described flag is fictitious time, judge that current phone is the state of shielding touch screen event; When described flag is true time, judge that current phone is not the state that shields touch screen event.
A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone provided by the present invention, whether it is close to user's body by controlling the Proximity Sensor detection current phone arranging in mobile phone, the touch screen instruction that receives calls and hang up the telephone of being sent with contacting of mobile phone touch screen by health with automatic shield, the generation of having avoided misconnection to listen and hang up by mistake, provide users with the convenient, also make mobile phone increase new function: when the touch screen instruction that has when incoming call can automatic shield to be sent with contacting of mobile phone touch screen by health. Without setting up hardware, realize cost low, and this protection mechanism does not affect user and normally uses mobile phone.
Brief description of the drawings
Fig. 1 is the embodiment flow chart of a kind of method that prevents maloperation based on touch-screen mobile phone of the present invention.
Fig. 2 is the concrete application implementation flow chart of a kind of method that prevents maloperation based on touch-screen mobile phone of the present invention.
Fig. 3 is the embodiment theory diagram of a kind of mobile phone of the present invention.
Fig. 4 is the detection module theory diagram of the embodiment of a kind of mobile phone of the present invention.
Fig. 5 is the judge module theory diagram of the embodiment of a kind of mobile phone of the present invention.
Detailed description of the invention
For making object of the present invention, technical scheme and advantage clearer, clear and definite, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment. Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the embodiment flow chart of a kind of method that prevents maloperation based on touch-screen mobile phone of the present invention. In the present embodiment, the described method that prevents maloperation based on touch-screen mobile phone comprises the following steps:
Step S110, in the time that mobile phone is received incoming call automatic spring incoming call operation interface, Proximity Sensor in control mobile phone detects the distance of current phone touch screen and user's body, judge whether current phone touch screen reclines with user's body, if so, described mobile phone is set to shield the state of touch screen event. When concrete enforcement, can whether by flag is set, to identify current phone be the state of shielding touch screen event. Wherein, when Proximity Sensor detects the distance of current phone touch screen and user's body, with like the nearly face induction of mobile phone in prior art, there is certain area requirements, therefore in the time of user's finger manipulation mobile phone touch screen, can be identified as the mobile phone touch screen health of being close to the users by mistake.
Step S120, in the time the touch screen event of described incoming call operation interface being detected, judge that whether current phone is the state of shielding touch screen event, if so, control flow covert states the touch screen event that the action button in incoming call operation interface receives. If current phone is not the state of shielding touch screen event, the action button of controlling in described incoming call operation interface is carried out described touch screen event, send and answer or the instruction of hanging up calling to cell phone system according to touch screen event, carry out and answer or the operation of hanging up calling. In the present embodiment, when described flag is 1(or is true) represent that current phone is for the state of touch screen event is touched in shielding, when described flag is 0(or is false) time represent that current phone is the state of shielding touch screen event.
When concrete enforcement, under default situations, mobile phone is set to not shield the state of touch screen event, and, in the time of handset starting, described flag initial value is 1. In the time that mobile phone is received incoming call, screen can be lighted conventionally automatically; and automatic spring incoming call sound (as: incomingscreen) operation interface; conventionally action buttons such as answering, hang up on described incoming call operation interface; described action button may be to work in paddling mode; also may be to work in click mode; can for described action button, a flag be set in advance, judge by this flag whether described action button comes into force to touch screen event. In the present embodiment, when this flag is true, described action button comes into force to touch screen event, can answer or hang up operation, otherwise shielding touch screen event, described action button does not respond the instruction of touch screen event, and now mobile phone enters the state of shielding touch screen event.
In the time sending a telegram here operation interface described in having incoming call automatic spring, to cell phone system program registration one Proximity Sensor event receiver function, whether the Proximity Sensor detection current phone touch screen of controlling in mobile phone reclines with user's body. the distance situation of current phone touch screen and user's body detected according to described Proximity Sensor, cell phone system program is revised described flag accordingly by calling described Proximity Sensor event receiver function. be specially: the Proximity Sensor in control mobile phone obtains the distance of current phone touch screen and user's body, described distance and the threshold values setting in advance are compared, in the time that described distance is less than described threshold values, judge that current phone touch screen and user's body recline, control the state that current phone is set to shield touch screen event, by described be whether that the flag of the state of shielding touch screen event arranges vacation for identifying current phone, if described distance is more than or equal to described threshold values, control the state that current phone is set to not shield touch screen event, be set to very for the described flag that identifies current phone by described. in the present embodiment, shown in the described usability of program fragments that flag and registration Proximity Sensor event receiver function are set is described below:
privateSensorManagersensorManager;
privateSensorproximitySensor;
privateProximitySensorEventListenerlistener=newProximitySensorEventListener();
privatestaticbooleancanResponse=true;
Publicvoidregister () { // registration Proximity Sensor event receiver function
sensorManager=(SensorManager)mContext.getSystemService(Context.SENSOR_SERVICE);
proximitySensor=sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY);
sensorManager.registerListener(listener,proximitySensor,...);
CanResponse=true; // flag is set to very
}
PublicvoidunRegister () { // cancellation Proximity Sensor event receiver function
sensorManager.unregisterListener(listener);
}
Wherein listener is used for monitoring Proximity Sensor event, whether canResponse is the flag of the state of shielding touch screen event for identifying current phone described in being, initial value is set to very, when each registration Proximity Sensor event receiver function, can be re-set as true, can prevent from causing when Proximity Sensor is out of order can not carry out normally answer, situation that hanging up calling operates.
Described listener is to receiving after Proximity Sensor event, the current phone touch screen in action listener object class (ProximitySensorEventListener), Proximity Sensor being detected and the distance of user's body judge, if described distance is more than or equal to the threshold values (FAR) setting in advance, show that current phone touch screen and user's body are not recline, canResponse is set to very, and in the time that described distance is less than described threshold values, canResponse is set to vacation. The following usability of program fragments of crucial processing is described, and wherein, value is exactly the distance of detected current phone touch screen and user's body.
Override
publicvoidonSensorChanged(SensorEventevent){
Floatvalue=event.values[0]; // read the distance of current phone touch screen and user's body
canResponse=(value>FAR||value==mMaxValue)?true:false;
}
Further, inductor corresponding in cell phone system also automatically detects and whether has touch screen event, when detecting after the touch screen event of click or paddling etc., call corresponding control in described incoming call operation interface and (as answer or hang up the action button of operation, or handle icon etc.) touch process function, read canResponse and judge according to canResponse whether current phone is the state that shields touch screen event. In the present embodiment, be specially: occur after touch screen event when detecting, system program calls the onTouchEvent function of view (view) to judge that whether current phone is as shielding the state of touch screen event, read canResponse, if canResponse is not true, represent that current phone is the state of shielding touch screen event, corresponding touch is processed after function is carried out do-nothing operation and is returned; If canResponse is true, the function that function call execution is answered or hanging up calling operates is processed in corresponding touch. Specifically refer to following usability of program fragments.
publicvoiddealTouchEvent(MotionEventevent){
if(!canResponse)return;
// cancellation Proximity Sensor event receiver function
unRegister();
// response touch screen event
// receive calls or hang up the telephone
}
Visible, by the identification to canResponse flag, can effectively prevent error connection proof, hang function by mistake.
In the time that described incoming call operation interface is closed, carried out and answered or hang up after operation when described incoming call operation interface response touch screen event, or when the other side hang up the telephone or send a telegram here overtime after, need to call cancellation function (nullifying operation is unRegister function) and nullify described Proximity Sensor event receiver function, otherwise may cannot be caused memory overflow by system recoveries because of the control of described incoming call operation interface. Whether simultaneously canResponse is set to very, be set to not shield the state of touch screen event by current phone automatically, and control Proximity Sensor in mobile phone and stop detecting current phone touch screen and recline with user's body.
As seen from the above-described embodiment; in the time that Proximity Sensor detects that mobile phone touch screen is reclining user's body; user is in can't see the state of mobile phone screen; therefore the protection mechanism that prevents mobile phone maloperation described in above-described embodiment is transparent (user discover less than) to user, does not affect user and normally uses mobile phone.
In embodiment, as shown in Figure 2, the concrete implementation step of the method that prevents maloperation based on touch-screen mobile phone of the present invention is as follows particularly:
S20, mobile phone are received incoming call, automatic spring incoming call operation interface;
Whether S21, initialization are the flag of the state of shielding touch screen event for identifying described mobile phone, registration Proximity Sensor event handling function; Flag described in the present embodiment is set to true while initialization, represent that current phone is not for shielding the state of touch screen event;
The distance event that S22, reception Proximity Sensor send, or the touch screen event of mobile phone; Described is the distance of current phone touch screen and user's body apart from event;
S23, receive described apart from event? if so, enter step S24, otherwise enter step S27;
Do you S24, judge that the distance of current phone touch screen and user's body is less than threshold values? if so, perform step S25, otherwise, execution step S26;
S25, the described flag of control are set to very, return to step S22;
S26, the described flag of control are set to vacation, return to step S22;
S27, receive touch screen event? if so, perform step S30, otherwise execution step S28;
S28, when detecting that incoming call does not meet overtime or the other side and hangs up; Exit described incoming call operation interface;
S29, cancellation Proximity Sensor event handling function; Whether stop detecting current phone touch screen with the Proximity Sensor in control mobile phone reclines with user's body;
S30, in the time receiving touch screen event, read and judge that described flag is true? if true, execution step S31, if false, shields described touch screen event, returns to step S22;
S31, cancellation Proximity Sensor event handling function; Whether stop detecting current phone touch screen with the Proximity Sensor in control mobile phone reclines with user's body;
S32, mobile phone respond described touch screen event, carry out and answer or hang up described incoming call;
S33, end.
Therefore; by the method that prevents maloperation based on touch-screen mobile phone of the above embodiment of the present invention; in the time that mobile phone has incoming call; the touch screen instruction of can automatic shield being sent with contacting of mobile phone touch screen by user's body; the generation of having avoided misconnection to listen and hang up by mistake; and this protection mechanism does not affect user and normally uses mobile phone, the convenience of bringing for user.
Based on above-described embodiment, the present invention also provides a kind of mobile phone that adopts the method that prevents maloperation based on touch-screen mobile phone described above, and as shown in Figure 3, the mobile phone of the present embodiment comprises:
Detection module 510, when send a telegram here automatic spring incoming call operation interface for receiving when mobile phone, Proximity Sensor detection of handset touch screen in control mobile phone and the distance of user's body, judge whether current phone touch screen reclines with user's body, if so, described mobile phone is set to shield the state of touch screen event; Specifically as described in above-described embodiment.
Control module 520, in the time the touch screen event of described incoming call operation interface being detected, judges whether current phone is the state of shielding touch screen event; If so, control flow covert states the touch screen event that the action button in incoming call operation interface receives; Specifically as described in above-mentioned figure EXAMPLE Example.
Described mobile phone also comprise recover module 530, in the time that cell phone incoming call operation interface exits, described mobile phone is set to not shield the state of touch screen event, and controls Proximity Sensor in mobile phone and stop the distance of detection of handset touch screen and user's body.
Preferably, as shown in Figure 4, described detection module 510 comprises:
Setting unit 511, is set to not shield the state of touch screen event for current phone in advance;
The first detecting unit 512, while sending a telegram here automatic spring incoming call operation interface for receiving when mobile phone, the Proximity Sensor in control mobile phone obtains the distance of current phone touch screen and user's body;
The second detecting unit 513, for described distance and the threshold values setting in advance are compared, in the time that described distance is less than described threshold values, judges that current phone touch screen and user's body recline, and control current phone is set to shield the state of touch screen event; In the time that described distance is more than or equal to described threshold values, current phone is set to not shield the state of touch screen event; Specifically as described in above-described embodiment.
Preferably, as shown in Figure 5, described control module 520 comprises:
Judging unit 521, for detection of the touch screen event that whether has described incoming call operation interface; When sometimes, read set in advance, for identifying the flag whether current phone is shielding touch screen state-event; And judge according to described flag whether current phone is the state of shielding touch screen event.
If control module 522, be the state of shielding touch screen event for current phone, control flow covert states the touch screen event that the action button in incoming call operation interface receives, otherwise, control described mobile phone and receive and carry out described touch screen event. Specifically as described in above-described embodiment.
Preferably, described judging unit 521 also for, when described flag is fictitious time, judge that current phone is the state of shielding touch screen event; When described flag is true time, judge that current phone is not the state that shields touch screen event.
In sum, a kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone provided by the present invention, whether it is close to user's body by controlling the Proximity Sensor detection current phone arranging in mobile phone, the touch screen instruction that receives calls and hang up the telephone of being sent with contacting of mobile phone touch screen by health with automatic shield, the generation of having avoided misconnection to listen and hang up by mistake, provide users with the convenient, also make mobile phone increase new function: when the touch screen instruction that has when incoming call can automatic shield to be sent with contacting of mobile phone touch screen by health. Without setting up hardware, realize cost low, and this protection mechanism does not affect user and normally uses mobile phone.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (2)

1. the method that prevents maloperation based on touch-screen mobile phone, is characterized in that, comprises step:
A, in the time that mobile phone is received incoming call automatic spring incoming call operation interface, Proximity Sensor detection of handset touch screen in control mobile phone and the distance of user's body, judge whether current phone touch screen reclines with user's body, if so, described mobile phone is set to shield the state of touch screen event;
B, in the time the touch screen event of described incoming call operation interface being detected, judge that whether current phone is the state of shielding touch screen event; If so, control flow covert states the touch screen event that the action button in incoming call operation interface receives;
C, in the time that described incoming call operation interface exits, automatically described mobile phone is set to not shield the state of touch screen event, and controls Proximity Sensor in mobile phone and stop the distance of detection of handset touch screen and user's body;
Described step B identifies by flag is set the state whether current phone is shielding touch screen event;
Described step B comprises:
Whether B1, detection have the touch screen event of described incoming call operation interface; In the time having touch screen event, read set in advance, for identifying the flag whether current phone is the state of shielding touch screen event;
B2, judge that according to described flag whether current phone is the state of shielding touch screen event;
If the state of B3 shielding touch screen event, control flow covert states the touch screen event that the action button in incoming call operation interface receives, otherwise, control described mobile phone and carry out described touch screen event;
Described step B2 also comprises:
When described flag is fictitious time, judge that current phone is the state of shielding touch screen event; When described flag is true time, judge that current phone is not the state that shields touch screen event;
When described Proximity Sensor detects the distance of current phone touch screen and user's body, user's body is required more than certain area;
Described steps A comprises:
A0, current phone is set to not shield the state of touch screen event in advance;
A1, in the time that mobile phone is received incoming call automatic spring incoming call operation interface, control Proximity Sensor in mobile phone and obtain the distance of current phone touch screen and user's body;
A2, described distance and the threshold values setting in advance are compared, in the time that described distance is less than described threshold values, judge that current phone touch screen and user's body recline, described mobile phone is set to shield the state of touch screen event; In the time that described distance is more than or equal to described threshold values, current phone is set to not shield the state of touch screen event;
Described action button is worked in paddling mode or in click mode;
Described step B also comprises in the time sending a telegram here operation interface described in having incoming call automatic spring, to cell phone system program registration one Proximity Sensor event receiver function, the distance situation of current phone touch screen and user's body detected according to described Proximity Sensor, Proximity Sensor event receiver function is revised accordingly to described flag described in cell phone system routine call.
2. a mobile phone that adopts the method that prevents maloperation based on touch-screen mobile phone described in claim 1, is characterized in that, comprising:
Detection module, when send a telegram here automatic spring incoming call operation interface for receiving when mobile phone, Proximity Sensor detection of handset touch screen in control mobile phone and the distance of user's body, judge whether current phone touch screen reclines with user's body, if so, described mobile phone is set to shield the state of touch screen event;
Control module, in the time the touch screen event of described incoming call operation interface being detected, judges whether current phone is the state of shielding touch screen event; If so, control flow covert states the touch screen event that the action button in incoming call operation interface receives;
Recover module, in the time that cell phone incoming call operation interface exits, described mobile phone is set to not shield the state of touch screen event, and controls Proximity Sensor in mobile phone and stop the distance of detection of handset touch screen and user's body;
Described control module identifies by flag is set the state whether current phone is shielding touch screen event;
Described control module comprises:
Judging unit, for detection of the touch screen event that whether has described incoming call operation interface; In the time having touch screen event, read the flag of the touch screen event that whether shields for identifying current phone setting in advance; Judge according to described flag whether current phone is the state of shielding touch screen event;
Control module, if be the state of shielding touch screen event for current phone, control flow covert states the touch screen event that the action button in incoming call operation interface receives, otherwise, control described mobile phone and carry out described touch screen event;
Described judging unit also for, when described flag is fictitious time, judge that current phone is the state of shielding touch screen event; When described flag is true time, judge that current phone is not the state that shields touch screen event;
When described Proximity Sensor detects the distance of current phone touch screen and user's body, user's body is required more than certain area;
Described detection module comprises:
Setting unit, is set to not shield the state of touch screen event for current phone in advance;
The first detecting unit, while sending a telegram here automatic spring incoming call operation interface for receiving when mobile phone, the Proximity Sensor in control mobile phone obtains the distance of current phone touch screen and user's body;
The second detecting unit, for described distance and the threshold values setting in advance are compared, in the time that described distance is less than described threshold values, judges that current phone touch screen and user's body recline, and control current phone is set to shield the state of touch screen event; In the time that described distance is more than or equal to described threshold values, control current phone is set to not shield the state of touch screen event;
Described action button is worked in paddling mode or in click mode;
Described control module is also in the time sending a telegram here operation interface described in having incoming call automatic spring, to cell phone system program registration one Proximity Sensor event receiver function, the distance situation of current phone touch screen and user's body detected according to described Proximity Sensor, Proximity Sensor event receiver function is revised accordingly to described flag described in cell phone system routine call.
CN201310004712.6A 2013-01-07 2013-01-07 A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone Active CN103095915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310004712.6A CN103095915B (en) 2013-01-07 2013-01-07 A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310004712.6A CN103095915B (en) 2013-01-07 2013-01-07 A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone

Publications (2)

Publication Number Publication Date
CN103095915A CN103095915A (en) 2013-05-08
CN103095915B true CN103095915B (en) 2016-05-11

Family

ID=48208029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310004712.6A Active CN103095915B (en) 2013-01-07 2013-01-07 A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone

Country Status (1)

Country Link
CN (1) CN103095915B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347124B (en) * 2013-06-24 2015-09-30 东莞宇龙通信科技有限公司 A kind of method, device and terminal equipment preventing by mistake hanging up
EP3179357A4 (en) * 2014-08-29 2017-10-11 Huawei Technologies Co. Ltd. Method and apparatus for preventing false touch of touchscreen
CN105117631B (en) * 2015-08-24 2018-08-31 联想(北京)有限公司 Information processing method and electronic equipment
WO2017124258A1 (en) * 2016-01-18 2017-07-27 汪宇峰 Automatic misoperation avoiding method and system of mobile phone
CN106936983B (en) * 2017-01-18 2020-07-10 捷开通讯(深圳)有限公司 Method, device and terminal for processing mistaken call receiving
CN107423150A (en) * 2017-03-08 2017-12-01 广东欧珀移动通信有限公司 A kind of fingerprint module control method and equipment
CN111290690B (en) * 2020-01-15 2021-12-14 Oppo(重庆)智能科技有限公司 Terminal control method and device, mobile terminal and storage medium
CN111596793B (en) * 2020-05-13 2021-09-28 惠州Tcl移动通信有限公司 Anti-misoperation method and system, storage medium and terminal equipment
CN116668581A (en) * 2022-11-30 2023-08-29 荣耀终端有限公司 Method and device for preventing false touch

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841684A (en) * 2012-08-30 2012-12-26 北京小米科技有限责任公司 Method, device and apparatus for preventing accidental operation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101549005B1 (en) * 2009-01-05 2015-09-01 엘지전자 주식회사 Mobile terminal and method for controlling the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841684A (en) * 2012-08-30 2012-12-26 北京小米科技有限责任公司 Method, device and apparatus for preventing accidental operation

Also Published As

Publication number Publication date
CN103095915A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103095915B (en) A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone
CN103546635B (en) A kind of incoming call processing method and device
US9544784B2 (en) Mobile terminal and method of displaying according to environmental data
EP3046017B1 (en) Unlocking method, device and terminal
EP3220251B1 (en) Method and system based on mobile terminal for turning off screen during call to prevent inadvertent touch
CN105511686B (en) Call processing method, device and terminal electronic device
CN105022577B (en) A kind of display methods and device of multi-screen mobile terminal
CN101854430A (en) Mobile phone and incoming call processing method thereof
CN101986675A (en) Method and system for processing interface during conversation and mobile terminal
CN104539784A (en) Mobile terminal, phone call window display method and phone call window display device
CN103412719A (en) Method and device for preventing touch screen terminal from misoperation
CN101616389A (en) A kind of call processing method, system and touch screen mobile communication terminal
CN106484282B (en) Equipment control method and device
CN103167123A (en) System and method for achieving automatic answering of incoming call of mobile phone based on range sensor
CN105245672A (en) Method and system for rapidly calling contact
CN107562289A (en) Charge anti-interference method and device
CN103873660A (en) Electronic device with incoming call processing function and incoming call processing method
CN103207660A (en) Invalidating processing method for application icons, and communication terminal
CN103905640A (en) Mobile terminal and false-dialing preventing method thereof
CN104883444A (en) Communication shortcut application method, system and mobile terminal
CN105827803A (en) Incoming call processing method and mobile terminal
CN103685693A (en) Information processing method
CN107135305B (en) Message reminding method, device and terminal
CN106101427A (en) A kind of mobile terminal and the method for preventing error operation of call thereof
CN102984375A (en) Mobile phone misoperation preventing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant