A kind of method and mobile phone thereof that prevents misoperation in the capacitance touch screen mobile phone communication
Technical field
The present invention relates to the communications field, relate in particular to a kind of method and mobile phone thereof that prevents misoperation in the capacitance touch screen mobile phone communication.
Background technology
At present, touch-screen mobile phone becomes the main flow mobile phone of application, wherein especially best with the user experience of capacitance touch screen mobile phone, and the user is when making a phone call, screen and face or head Long contact time, cause faulty operation easily, the solution of available technology adopting generally is, on mobile phone, be provided with one near inductive pick-up, detect mobile phone and be in talking state, if mobile phone is near the number of people or face in the conversation, then mobile phone pins mobile phone screen, prevents the operation that makes a mistake in the user's communication process.
As shown in Figure 1, all can use one to be used for preventing that user's communication process face from contacting the proximity transducer 110 that causes faulty operation with screen on the capacitance touch screen mobile phone usually.And proximity transducer 110 need be used with an infraluminescence pipe 120, not only increased the manufacturing cost of mobile phone, and the size of this proximity transducer chip and peripheral devices (comprising infrared transmitting tube) can not be ignored, add that proximity transducer and infrared transmitting tube need control the transmission path of infrared light, so centre distance between the two need remain on about 4mm, the structure barricade to be set between the two, proximity transducer and infrared transmitting tube also need to be placed near the receiver, cell phone appearance and structure Design difficulty have been increased, and available technology adopting is that optical transmission is arranged, need on the shell of mobile phone, punch, increase the manufacturing cost of mobile phone.
The full touch-screen mobile phone that does not have numeric keypad in the prior art, it is the screen locking key that a physical button that is specifically designed to the pinning mobile phone screen is all arranged, be placed on the top or the side of mobile phone, when mobile phone was in state of activation and screen locking key and presses, mobile phone can be turned off screen and enter resting state; Be in the mobile phone of screen locking state or resting state,, can Activate Phone, light screen if the screen locking key is pressed.But screen locking key function ratio is more single, has limited its application space.
This shows that prior art needs further improvement and develops.
Summary of the invention
The present invention provides a kind of method and mobile phone thereof that prevents misoperation in the capacitance touch screen mobile phone communication for solving above-mentioned defective of the prior art, to prevent the operation that makes a mistake in the user's communication process, reduces the manufacturing cost of mobile phone.
For solving the problems of the technologies described above, the present invention program comprises:
A kind of method that prevents misoperation in the capacitance touch screen mobile phone communication, it may further comprise the steps:
A, a hardware interrupts module is set in mobile phone, presses the screen locking key, when mobile phone is in talking state, triggers described hardware interrupts module and judge that mobile phone is state of activation or resting state;
B, if mobile phone is a state of activation, then described hardware interrupts module closes that mobile phone screen is backlight, display panel module stops to the mobile phone screen dateout and stop the action of brush screen, close the capacitance touch detection module.
Described method, wherein, described method also comprises:
C, described hardware interrupts module judge that mobile phone is a resting state, and then described hardware interrupts module Activates Phone, and open that mobile phone screen is backlight, display panel module is to the mobile phone screen dateout and activate the action of brush screen, open the capacitance touch detection module.
Described method, wherein, described steps A also comprises: a break in service module is set in the mobile phone, press the screen locking key, described break in service module judges whether mobile phone is talking state, if not, then described break in service module is pinned the mobile phone screen or the screen that Activates Phone.
Described method, wherein, described step B also comprises: described hardware interrupts module closes that mobile phone screen is backlight, display panel module stops to the mobile phone screen dateout and stop the action of brush screen, close the capacitance touch detection module after, press the screen locking key once more, then described hardware interrupts module Activates Phone, and opens that mobile phone screen is backlight, display panel module is to the mobile phone screen dateout and activate the action of brush screen, open the capacitance touch detection module.
Described method, wherein, described step B also comprises: described hardware interrupts module Activates Phone, open that mobile phone screen is backlight, display panel module is to the mobile phone screen dateout and activate the action of brush screen, open the capacitance touch detection module after, press the screen locking key once more, then described hardware interrupts module closes that mobile phone screen is backlight, display panel module stops to the mobile phone screen dateout and stop the action of brush screen, close the capacitance touch detection module.
A kind of mobile phone wherein, increases by one and is used to judge that mobile phone is state of activation or resting state and pins mobile phone screen or the hardware interrupts module of the screen that Activates Phone in mobile phone.
Described mobile phone, wherein, described mobile phone also comprises a break in service module and a screen locking key, the hardware interrupts module is connected with break in service module, screen locking one-key communication respectively.
The invention provides a kind of method and mobile phone thereof that prevents misoperation in the capacitance touch screen mobile phone communication, by in mobile phone, increasing the hardware interrupts module, judge the state of mobile phone, operation by the screen locking key then, realized the function of the accurate pinning mobile phone screen or the screen that Activates Phone, improved the accuracy rate of user's operation, avoided the operation that makes a mistake in the user's communication process, and make mobile phone cancel proximity transducer and this mechanical structure of infrared transmitting tube, discharged the mobile phone space, having reduced cell phone appearance and structure Design difficulty, reduced the manufacturing cost of mobile phone, is the very big progress of prior art.
Description of drawings
Fig. 1 is the structure diagram of proximity transducer and infrared transmitting tube in the prior art.
Fig. 2 is the simplified schematic diagram that prevents misoperation method in the capacitance touch screen mobile phone communication among the present invention.
Fig. 3 is the structure diagram of mobile phone among the present invention.
Embodiment
The invention provides a kind of method and mobile phone thereof that prevents misoperation in the capacitance touch screen mobile phone communication, clearer, clear and definite in order to make purpose of the present invention, technical scheme and advantage, below with reference to accompanying drawing and embodiment, the present invention is described in more detail.
The invention provides a kind of method that prevents misoperation in the capacitance touch screen mobile phone communication, adopt modular mode to replace mechanical structure mode in the prior art, prevented the operation that makes a mistake in the user's communication process, reduced the manufacturing cost of mobile phone.As shown in Figure 2, it mainly may further comprise the steps:
Step 101: a hardware interrupts module is set in mobile phone, press the screen locking key, when mobile phone is in talking state, triggers described hardware interrupts module and judge that mobile phone is state of activation or resting state, change step 102 if mobile phone is a state of activation, change step 103 if mobile phone is a resting state;
Step 102: if mobile phone is state of activation, then described hardware interrupts module closes that mobile phone screen is backlight, display panel module stops to the mobile phone screen dateout and stop the action of brush screen, close the capacitance touch detection module;
Step 103: if mobile phone is resting state, then described hardware interrupts module Activates Phone, and opens that mobile phone screen is backlight, display panel module is to the mobile phone screen dateout and activate the action of brush screen, open the capacitance touch detection module.
By foregoing description as can be known, expanded the function of screen locking key by the modularization operation, make the user control the state of mobile phone screen as required, avoided the operation that makes a mistake in the user's communication process, especially adopt modularization to substitute mechanical structure mode in the prior art, reduce the manufacturing cost of mobile phone, discharged the mobile phone space, reduced cell phone appearance and structure Design difficulty.
In order further to improve performance of the present invention, described step 101 also comprises: a break in service module is set in the mobile phone, presses the screen locking key, described break in service module judges whether mobile phone is talking state, if deny, then described break in service module is pinned the mobile phone screen or the screen that Activates Phone.Made things convenient for the user experience operation.
Further, the user is switched the operation of screen locking and release for convenience, described step 102 also comprises: when described hardware interrupts module closes that mobile phone screen is backlight, display panel module stops to the mobile phone screen dateout and stop the action of brush screen, close the capacitance touch detection module after, press the screen locking key once more, then described hardware interrupts module Activates Phone, and opens that mobile phone screen is backlight, display panel module is to the mobile phone screen dateout and activate the action of brush screen, open the capacitance touch detection module.
Activate Phone and work as described hardware interrupts module, open that mobile phone screen is backlight, display panel module is to the mobile phone screen dateout and activate the action of brush screen, open the capacitance touch detection module after, press the screen locking key once more, then described hardware interrupts module closes that mobile phone screen is backlight, display panel module stops to the mobile phone screen dateout and stop the action of brush screen, close the capacitance touch detection module.
In order further to describe, in the condition judgment of break in service module, increase by one whether " mobile phone is in talking state or incoming call ringout state ".When the screen locking key is pressed, trigger hardware button and interrupt, it is pending that this button interrupts entering the interrupt response formation of break in service module etc., when this interrupts when system responses, carries out corresponding interrupt service routine.
And this break in service module judges at first whether mobile phone is in talking state or incoming call ringout state; If not, carry out the screen locking function according to top described existing method of operation; If mobile phone is in talking state or incoming call ringout state, judge that more current working state of system is in state of activation (mobile phone screen is in bright state of activation) or standby resting state (mobile phone screen is in closed condition); If mobile phone is in state of activation, then the hardware interrupts module closes that mobile phone screen is backlight, display panel module stops to the mobile phone screen dateout and stop the action of brush screen, close the capacitance touch detection module, prevents that false triggering from producing; If mobile phone is in resting state, then the hardware interrupts module Activates Phone, and opens that mobile phone screen is backlight, display panel module is to the mobile phone screen dateout and activate the action of brush screen, open the capacitance touch detection module, the action of beginning senses touch.
For convenience, suppose that screen locking closes that mobile phone screen is backlight, display panel module stops to the mobile phone screen dateout and stop the action of brush screen, close the capacitance touch detection module; Mobile phone screen is backlight in order to open in release, display panel module is to the mobile phone screen dateout and activate the action of brush screen, open the capacitance touch detection module, the action of beginning senses touch.User's operation for convenience, if mobile phone is in talking state, it has following operation:
When phone incoming call or exhalation and on, have two kinds of screen locking methods to use for the user:
First kind: the user presses the screen locking of screen locking key and enters the screen locking state, but mobile phone does not enter resting state;
Second kind: whether mobile phone screen prompting user will enter the screen locking state, selects "Yes" to enter the screen locking state and does not enter resting state;
In the communication process,, press screen locking push button exciting mobile phone and screen if the user needs function screen;
In the communication process, the user can carry out screen locking and unlocking operation repeatedly;
During end of conversation, the mobile phone screen automatic unlocking, mobile phone and screen are in state of activation, for user's operation.
Realize the screen locking function by two kinds of screen locking modes, made things convenient for the user experience operation.
The invention provides a kind of mobile phone, as shown in Figure 3, increase by one in the mobile phone in the prior art and be used to judge that mobile phone is state of activation or resting state and pins mobile phone screen or the hardware interrupts module 301 of the screen that Activates Phone.And mobile phone also comprises a break in service module 302 and a screen locking key 303, and hardware interrupts module 301 communicates to connect with break in service module 302, screen locking key 303 respectively.Make mobile phone cancel proximity transducer and this mechanical structure of infrared transmitting tube, discharged the mobile phone space, reduced the manufacturing cost of mobile phone.And above-mentioned mobile phone can be operated according to method as shown in Figure 2, has made things convenient for the user experience operation.
Should be understood that; above-mentioned description at preferred embodiment is comparatively detailed; can not therefore think restriction to scope of patent protection of the present invention; those of ordinary skill in the art is under enlightenment of the present invention; do not breaking away under the scope situation that claim of the present invention protects; can also make various deformation such as replacement, simple combination, these all fall within protection scope of the present invention, and the scope of asking for protection of the present invention should be as the criterion with claims.