Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows the realization flow of a kind of call processing method that the embodiment of the present invention provides, and details are as follows:
In step S101, when mobile terminal is when carrying out electricity condition, the electric interface event of coming of described mobile terminal is carried out to shielding processing;
In the present embodiment, to coming the event of electric interface to carry out shielding processing, just shielded to come, in electric interface event, answer key-press event and rejection key-press event, for coming the event of other buttons in electric interface not shield.
In the present embodiment, when mobile terminal receives incoming information, represent that mobile terminal, in carrying out electricity condition, particularly, arranges a monitor in system, the thread that monitoring users produces in real time on mobile terminal, when this instruction is incoming call sound instruction thread, mobile terminal, in carrying out electricity condition, starts and carries out time expand to the machine-processed thread of sending a telegram here and answering, to extending the time that incoming call is answered, complete the operation of electric interface event mask.
As a preferred embodiment of the present invention, the described electric interface event of coming to described mobile terminal is carried out shielding processing, comprising:
The incoming call sound thread of controlling described mobile terminal is in the lock state, and the electric interface event of coming of described mobile terminal is carried out to shielding processing.
In the present embodiment, incoming call sound thread refers to the thread that enters for incoming call answering.
In the present embodiment, the incoming call sound thread of controlling described mobile terminal is in the lock state, specifically can in the system of mobile terminal, lock mechanism be set, function to the incoming call sound of mobile terminal locks, so that mobile terminal can not be responded according to the incoming call event receiving, thereby control incoming call sound thread, be in the lock state.
In step S102, obtain described mobile terminal in carrying out the time of electricity condition;
In the present embodiment, when start to described mobile terminal come electric interface event to carry out the thread of shielding processing time, triggering timing device starts timing, represents in coming the timing of the mobile terminal of electricity condition to start, to obtain mobile terminal in receiving the time of incoming information state.
In step S103, when described mobile terminal is when coming the time of electricity condition to be equal to or greater than default time of delay, cancel the shielding processing of coming electric interface event to carry out to described mobile terminal.
In the present embodiment, as the electric interface event of coming to described mobile terminal, carry out the time of shielding processing default time of delay.
In the present embodiment, can user certainly establish time of delay, and system also can be set.
In the present embodiment, in the process of shielding, can be to answer or to hang up button invalid coming on electric interface to click, also can on this interface, cover a translucent interface, broadcast state animation above, the time that the user of usining removes broadcast state animation is completely as time of delay, if broadcast state animation is " vaporific glass wiping ", the time of can user wiping mist on glass is completely as time of delay, when mist on glass is wiped completely, represent to arrive time of delay, user can operate answering of electric interface or hang up button.
In the present embodiment, when mobile terminal is when coming the time of electricity condition to be equal to or greater than default time of delay, in system, the information of current call interface event mask operation is cancelled in broadcast, so that lock mechanism carries out release to the thread of incoming call sound, complete the release to incoming call sound, so that subsequent user can be to carrying out the operation of incoming call answering or refusal incoming call.
In the present embodiment, only have when arrive in time of delay, just cancel the event mask operation of current call interface, make user have time enough to understand incoming call access, thereby while having avoided mobile terminal just to occur the interface of incoming call answering, the situation that user directly enters to operate to the interface of incoming call answering, user can be after default time of delay, incoming call answering.
As a preferred embodiment of the present invention, within described time of delay, detect the described cancellation operation that carrys out the operation of electric interface event mask;
When the described cancellation operation that carrys out the operation of electric interface event mask being detected, directly cancel the event mask operation of current call interface.
In the present embodiment, described cancellation operation comprises one or more operations in button operation, default gesture operation, voice operating.
As a preferred embodiment of the present invention, the described cancellation operation that carrys out the operation of electric interface event mask of described detection, comprising:
Detect the touch-control state that the described cancellation that carrys out the operation of electric interface event mask operates corresponding button,
To detect the described cancellation operation that carrys out the operation of electric interface event mask
In the present embodiment, the button of the cancellation operation of incoming call delay connecting mechanism can be located on electric interface or cover on electric interface, and with in interface answer and to hang up button distant, due to coming the event of electric interface to carry out shielding processing, just shielded and answered key-press event and rejection key-press event in electric interface event, for coming the event of other buttons in electric interface not shield.Therefore, should, in using the process of automatic shield, when user is eager incoming call answering, can cancels current call interface event mask by this button and operate, directly incoming call answering.
As a preferred embodiment of the present invention, described when mobile terminal is when carrying out electricity condition, to described mobile terminal come before electric interface event carries out shielding processing, also comprise:
Obtain the application program of the mobile terminal screen of mobile terminal in coming to occupy before electricity condition;
When described application program is predetermined application program, execution described when mobile terminal is when carrying out electricity condition, the electric interface event of coming to mobile terminal is carried out the step of shielding processing, and described predetermined application program comprises games, listens one of song program, browser or its combination in any.
In the present embodiment, obtain the application program of the mobile terminal screen of mobile terminal in coming to occupy before electricity condition, judge whether application program is predetermined application program, the electric interface event of coming to described mobile terminal is carried out the step of shielding processing, thereby reduced the thread of mobile terminal, and improved specific aim and the validity of carrying out incoming call delay strategy.
With reference to figure 2, Fig. 2 shows the present invention's implementing procedure preferably in actual applications, and details are as follows:
S201, incoming call is monitored
Whether S202, send a telegram here
S203, carrys out electric interface event mask, starts timer, detects the whether overtime monitoring of timer or manually cancels and carry out electric interface event mask, when overtime monitoring, carries out S204, when manual cancellation carrys out electric interface event mask, carries out S206;
S204, overtime cancellation incoming call interface shielding, 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, this interface answer, hang up or other all key-press event all do not respond click event, after arriving default time of delay, user can select to answer or hang up current call.Make user have time enough to understand and have phone incoming call.In addition, if user needs incoming call answering immediately, can cancel this shielding by the shielding button of setting, then click is answered and is started call.
Fig. 3 shows the structured flowchart of a kind of incoming call sound device that the embodiment of the present invention provides, this device can run on the various terminals that possess touch-screen, include but not limited to mobile phone, pocket computer (Pocket Personal Computer, PPC), palmtop PC, computer, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), MP4, MP3 etc.For convenience of explanation, only show the part relevant to the present embodiment.
With reference to Fig. 3, this incoming call sound device, comprising:
The first performance element 31, for when mobile terminal is when carrying out electricity condition, carries out shielding processing to the electric interface event of coming of described mobile terminal;
The first acquiring unit 32, for obtaining described mobile terminal in carrying out the time of electricity condition;
Cancel unit 33, for when described mobile terminal is when coming the time of electricity condition to be equal to or greater than default time of delay, cancel the shielding processing of coming electric interface event to carry out to described mobile terminal.
Further, in this incoming call sound device, also comprise:
Control unit, is in the lock state for controlling the incoming call sound thread of described mobile terminal, and the electric interface event of coming of described mobile terminal is carried out to shielding processing.
Further, in this incoming call sound device, also comprise:
Detecting unit, within described time of delay, detects the described cancellation operation that carrys out the operation of electric interface event mask;
Directly cancel unit, for when the described cancellation operation that carrys out the operation of electric interface event mask being detected, directly cancel the event mask operation of current call interface.
Further, in this incoming call sound device, described direct cancellation unit, comprising:
Detection sub-unit, operates the touch-control state of corresponding button for detection of the described cancellation that carrys out the operation of electric interface event mask, to detect the described cancellation operation that carrys out the operation of electric interface event mask.
Further, in this incoming call sound device, also comprise:
Second acquisition unit occupied the application program of the mobile terminal screen occupying of mobile terminal for obtaining mobile terminal before carrying out electricity condition;
The second performance element, for when described application program is predetermined application program, execution described when mobile terminal is when carrying out electricity condition, the electric interface event of coming to described mobile terminal is carried out the step of shielding processing, and described predetermined application program comprises games, listens one of song program, browser or its combination in any.
The device that the embodiment of the present invention provides can be applied in the embodiment of the method for aforementioned correspondence, and details, referring to the description of above-described embodiment, do not repeat them here.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.