Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the flow chart according to the data service protection method of the embodiment of the invention.As shown in Figure 1, the data service protection method according to the embodiment of the invention comprises:
Step S102 when audio call inserts, judges whether terminal is in the data service state;
Step S104 when terminal is in the data service state, refuses this audio call.
Said method provides a kind of data service protection mechanism, promptly when terminal is in the data service state, and in other words during the ongoing transfer of data of terminal, the audio call that refusal inserts, ongoing like this transfer of data just can not interrupted.Said method provides protection for ongoing transfer of data, is for those crucial transfer of data by it, has improved user experience.
Preferably, can further include following processing before the step S102: whether when being in the data service state, refuse audio call in response to the above-mentioned terminal of user's operation setting.
The terminal use can be provided with the above-mentioned data service protection mechanism of whether enabling flexibly according to use habit or different needs.
Preferably, step S104 may further include following processing:
(1) when terminal is in the data service state, judges whether terminal is set to refusal audio call when being in the data service state;
(2) when judged result when being, the audio call that refusal inserts.
Because the user can be provided with whether enable the data service protection function voluntarily; therefore when terminal is in the data service state and have audio call to insert; will judge whether the user has opened the data service protection function; only opened under the situation of data service protection function the user; could refuse the audio call of access; otherwise still to hang up ongoing transfer of data, initiate the audio call flow process.
Preferably, among the step S104, refuse this audio call and may further include: ignore paging information at this terminal.
Concerning audio call, the general networking side can be sent out a page message and trigger whole call flow to portable terminal, therefore can adopt the method for ignoring this page message to refuse the audio call that will insert, said here ignoring is exactly not respond this page message.
In sum, as shown in Figure 2, the data service protection method can may further comprise the steps according to the preferred embodiment of the invention:
Step S202, in response to user's setting, the data service protection function is opened or closed to terminal, promptly whether refuses audio call when being in the data service state.In specific implementation process, a switch can be set, the user can be determined whether to refuse audio call in the data service process by the state of this switch is set;
Step S204 judges whether terminal is in the data service state;
Step S206 declares and holds whether voice responsive is called out, and judges promptly whether the user has opened the data service protection function;
Whether step S208 initiates the audio call flow process according to result's decision of above-mentioned judgement.
Below in conjunction with example and Fig. 3 above preferred embodiment is elaborated, the data service protection method of example comprises according to the present invention:
Step S302, voice incoming calls (calling) refusal (data service protection function) switch in the user setup data business procedure;
Step S304 judges whether terminal is in the data service process;
Step S306 judges whether to need response page message, if the user has opened in the data service process refusal voice incoming call and the user is in the data service process, then refuses the voice incoming call, otherwise the voice responsive incoming call;
Step S308 if be judged as refusal voice incoming call, does not then respond page message, proceeds data service, does not do any other processing;
Step S310 if be judged as the voice responsive incoming call, then responds page message, initiates the audio call flow process, interrupts data service.
Fig. 4 is the structured flowchart according to the data service protection device of the embodiment of the invention.As shown in Figure 4, the data service protection device according to the embodiment of the invention comprises:
State detection module 42 is used for judging whether terminal is in the data service state when having audio call to insert;
Call denial module 44 is connected tostate detection module 42, is used for refusing this audio call when terminal is in the data service state.
Said apparatus provides a kind of data service protection mechanism for terminal; the terminal that comprises said apparatus is being in the data service state in other words during ongoing transfer of data; can refuse the audio call of access; to protect ongoing transfer of data; thereby transfer of data is carried out smoothly, improved user experience.
Preferably, as shown in Figure 5, the data service protection device may further include according to the preferred embodiment of the invention:
Refusal is provided withmodule 40, is connected to calldenial module 44, is used for whether refusing audio call in response to user's operation setting terminal when being in the data service state.
The terminal use can be provided withmodule 40 by refusal the above-mentioned data service protection mechanism of whether enabling is set flexibly according to use habit or different needs.
Preferably, calldenial module 44 may further include:
Refusal judging unit 442 is used for when terminal is in the data service state, judges whether terminal is set to refusal audio call when being in the data service state;
Refusal performance element 444 is connected torefusal judging unit 442, is used for judged result atrefusal judging unit 442 when being, the audio call of refusal access.
Because the user can be provided with whether enable the data service protection function voluntarily; therefore when terminal is in the data service state and have audio call to insert;refusal judging unit 442 will judge whether the user has opened the data service protection function; only opened under the situation of data service protection function the user, refusal performance element 444 could be refused the audio call of access.
Preferably, calldenial module 44 can be by ignoring the paging information refusal audio call at terminal.
Concerning audio call, the general networking side can be sent out a page message and trigger whole call flow to portable terminal, therefore refusemodule 44 and can adopt the method for ignoring this page message to refuse the audio call that will insert, said here ignoring is exactly not respond this page message.
From above description; as can be seen; the invention provides a kind of data service protection scheme; make terminal can in the data service process, refuse the voice incoming call; thereby the terminal use can not be interrupted by voice calling by simply being arranged so that when carrying out the significant data transmission, thereby transmit data relievedly.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.