Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality
Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein
Only in order to explain the present invention, it is not intended to limit the present invention.
What Fig. 1 showed a kind of call processing method that the embodiment of the present invention provides realizes flow process, and details are as follows:
Incoming call circle in step S101, when mobile terminal is in electricity condition, to described mobile terminal
Face event carries out shielding processing;
In the present embodiment, the event carrying out electric interface is carried out shielding processing, simply shields electric interface thing
Part answers key-press event and rejection key-press event, is not shield for carrying out the event of other buttons in electric interface
Cover.
In the present embodiment, when mobile terminal receives incoming information, represent that mobile terminal is in electricity condition,
Specifically, a monitor is set in systems, the thread that monitoring users produces the most in real time,
When this instruction is incoming call sound instruction thread, mobile terminal is in electricity condition, starts and performs the prolongation time
The thread of the mechanism answering incoming call, to extending the time answering incoming call, completes electric interface
Event mask operates.
As a preferred embodiment of the present invention, the described incoming call interface event to described mobile terminal is carried out
Shielding processing, including:
The incoming call sound thread controlling described mobile terminal is in the lock state, the incoming call to described mobile terminal
Interface event carries out shielding processing.
In the present embodiment, incoming call sound thread refers to the thread entered for incoming call answering.
In the present embodiment, the incoming call sound thread controlling described mobile terminal is in the lock state, and specifically may be used
Lock mechanism is set in the system of mobile terminal, the function of the incoming call sound of mobile terminal is locked, with
Make mobile terminal can not respond according to the incoming call event received, thus control incoming call sound thread and be in locking
State.
In step s 102, obtain described mobile terminal and be in the time of electricity condition;
In the present embodiment, when the line starting interface event that described mobile terminal sent a telegram here and carrying out shielding processing
Cheng Shi, triggering timing device starts timing, represents that the timing to the mobile terminal being in electricity condition starts, with
Obtain mobile terminal and be in the time receiving incoming information state.
In step s 103, it is in time of electricity condition equal to or more than presetting when described mobile terminal
During time delay, cancel the shielding processing that interface event of sending a telegram here described mobile terminal is carried out.
In the present embodiment, the time delay preset is carried out as to the incoming call interface event of described mobile terminal
The time of shielding processing.
In the present embodiment, time delay can be with user from setting, and system can also set.
In the present embodiment, shielding during, can be come on electric interface click on answer or hang up by
Key is invalid, it is also possible on the surface cover a translucent interface, above broadcast state animation, with
It is " vaporific glass as time delay, such as broadcast state animation that family releases the time of broadcast state animation completely
Wiping ", time as the time delay of mist on glass can be wiped completely using user, when the mist quilt on glass
When wiping completely, representing that time delay arrives, user is operable to answering or hang-up button of electric interface.
In the present embodiment, when the time that mobile terminal is in electricity condition equals to or more than the delay preset
Between time, in system broadcast cancel current call interface event masking operation information so that lock mechanism to come
The thread that electricity is answered is unlocked, and completes the unblock to incoming call sound, so that subsequent user can be to connecing
Listen incoming call or the operation of refusal incoming call.
In the present embodiment, only when time delay arrives, just cancel current call interface event shielding behaviour
Make so that user has time enough to understand incoming call access, thus avoids mobile terminal and just occur answering
During the interface sent a telegram here, situation about operating directly is entered in the interface of incoming call answering by user, and user can preset
Time delay after, incoming call answering.
As a preferred embodiment of the present invention, within described time delay, detect described come electric interface thing
The cancellation operation of part masking operation;
When the cancellation described incoming call interface event masking operation being detected operates, directly cancel current call interface
Event mask operates.
In the present embodiment, described cancellation operation includes button operation, presets in gesture operation, voice operating
One or more operation.
As a preferred embodiment of the present invention, taking of described detection described incoming call interface event masking operation
Disappear operation, including:
Detect the touch-control state cancelling the corresponding button of operation of described incoming call interface event masking operation,
To detect the cancellation operation of described incoming call interface event masking operation
In the present embodiment, the button cancelling operation of incoming call delay connecting mechanism can be located at coming on electric interface
Or cover coming on electric interface, and with in interface answer and hang-up button is distant, due to incoming call
The event at interface carries out shielding processing, simply shields and answers key-press event and rejection in incoming call interface event
Key-press event, does not shields for carrying out the event of other buttons in electric interface.Therefore, should use automatically
During shielding, when user is eager incoming call answering, current call interface thing can be cancelled by this button
Part masking operation, direct incoming call answering.
As a preferred embodiment of the present invention, described be in electricity condition when mobile terminal time, to institute
State before the incoming call interface event of mobile terminal carries out shielding processing, also include:
Obtain mobile terminal and be in the application program of the mobile terminal screen occupied before electricity condition;
When described application program is predetermined application program, perform to be in incoming call shape described when mobile terminal
During state, interface event of sending a telegram here mobile terminal carries out the step of shielding processing, described predetermined application program
Including games, listen one of song program, browser or its any combination.
In the present embodiment, obtain that mobile terminal is in the mobile terminal screen that occupies before electricity condition should
By program, it is judged that application program is made whether as predetermined application program, incoming call circle to described mobile terminal
Face event carries out the step of shielding processing, thus decreases the thread of mobile terminal, and improves and perform incoming call
The specific aim of delay strategy and validity.
Showing the present invention the most preferably implementing procedure with reference to Fig. 2, Fig. 2, details are as follows:
S201, incoming call is monitored
S202, if incoming call
S203, incoming call interface event shields, and starts timer, and detection timer whether monitor or manual by time-out
Cancel incoming call interface event shielding, when time-out is monitored, perform S204, when manually cancelling incoming call interface event
During shielding, perform S206;
S204, time-out cancels the shielding of incoming call interface, recovery operation;
S205, answers or hanging up calling;
S206, manually cancels shielding, recovers incoming call interface operation;
S207, answers or hanging up calling.
In the present embodiment, when game process is hit by a bullet out electric interface, the answering of this interface, hang up or
Other all key-press event are all not responding to click event, and after default time delay arrives, user can select
Select and answer or hang up current call.Make user have time enough to understand and have phone incoming call.It addition,
If user needs incoming call answering immediately, this shielding, then point can be cancelled by the shielding button set
Hit to answer and start call.
Fig. 3 shows the structured flowchart of a kind of incoming call sound device that the embodiment of the present invention provides, and this device can
To run on the various terminals possessing touch-screen, include but not limited to mobile phone, pocket computer (Pocket
Personal Computer, PPC), palm PC, computer, notebook computer, personal digital assistant
(Personal Digital Assistant, PDA), MP4, MP3 etc..For convenience of description, only illustrate
Part related to the present embodiment.
Reference Fig. 3, this incoming call sound device, including:
First performance element 31, for when mobile terminal is in electricity condition, comes described mobile terminal
Electric interface event carries out shielding processing;
First acquiring unit 32, is in the time of electricity condition for obtaining described mobile terminal;
Cancel unit 33, for being in time of electricity condition equal to or more than presetting when described mobile terminal
During time delay, cancel the shielding processing that interface event of sending a telegram here described mobile terminal is carried out.
Further, in this incoming call sound device, also include:
Control unit, is in the lock state, to described for controlling the incoming call sound thread of described mobile terminal
The incoming call interface event of mobile terminal carries out shielding processing.
Further, in this incoming call sound device, also include:
Detector unit, within described time delay, detects taking of described incoming call interface event masking operation
Disappear operation;
Directly cancel unit, for operating, directly when the cancellation described incoming call interface event masking operation being detected
Access the current call interface event masking operation that disappears.
Further, in this incoming call sound device, described direct cancellation unit, including:
Detection sub-unit, operates corresponding pressing for detecting cancelling of described incoming call interface event masking operation
The touch-control state of key, to detect the cancellation operation of described incoming call interface event masking operation.
Further, in this incoming call sound device, also include:
Second acquisition unit, occupies occupying of mobile terminal for obtaining before mobile terminal is in electricity condition
The application program of mobile terminal screen;
Second performance element, for when described application program is predetermined application program, performs to work as described
When mobile terminal is in electricity condition, interface event of sending a telegram here described mobile terminal carries out the step of shielding processing
Suddenly, described predetermined application program includes games, listens one of song program, browser or its any group
Close.
The device that the embodiment of the present invention provides can be applied in the embodiment of the method for aforementioned correspondence, and details see
The description of above-described embodiment, does not repeats them here.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Any amendment, equivalent and the improvement etc. made within bright spirit and principle, should be included in the present invention
Protection domain within.