Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
At the defective that can not control effectively to the PS territory of terminal equipment in the prior art, the embodiment of the invention provides a kind of control processing method, Fig. 1 is the schematic flow sheet of the packet-switched domain control processing method embodiment of terminal equipment of the present invention, and as shown in Figure 1, this method comprises:
The packet switching domain identifier of the business module of step 101, identification pretrigger; This step is when starting each business module, identify the packet switching domain identifier of this business module, whether above-mentioned packet switching domain identifier is used for being identified at needs to activate the PS territory when starting this module, the concrete first kind that comprises identifies and second type identification, two classes, and wherein first kind sign is used for being identified at needs the packet-switched domain of terminal equipment to be set to state of activation when starting this business module; Second type identification is used for being identified at when starting this business module does not need the packet-switched domain of terminal equipment to be set to state of activation.
Step 102, when the packet-switched domain of the business module of described pretrigger is designated first kind sign, the packet-switched domain of described terminal equipment is set to state of activation, and described first kind sign is used for being identified at when starting described business module needs the packet-switched domain of terminal equipment to be set to state of activation.
In the above embodiment of the present invention by for each business module the packet switching domain identifier being set, when starting each business module, automatically whether needs activate the PS territory to identify this according to above-mentioned sign judgement, concrete activates the PS territory being designated of the business module of confirming to start when the first kind identifies, the power wastage that can avoid when terminal equipment is started shooting, activating the PS territory and cause, or when using data service, just activate the PS territory and the service response that causes is slow, the shortcoming of poor user experience.The business module that starts by real-time supervisory user and default when starting this business module, whether need to activate PS territory situation, when starting the business module to carry out data service, activate the PS territory in good time, namely can reduce power consumption, can make and when needs carry out data service, in time provide service to realize effective control to the PS territory again.
On the basis of above-described embodiment, also further comprise:
When the packet-switched domain of the business module of above-mentioned pretrigger was designated second type identification, end operation, above-mentioned second type identification are used for being identified at when starting described business module did not need the packet-switched domain of terminal equipment to be set to state of activation.
The packet switching domain identifier of the business module of the identification pretrigger in above-described embodiment comprises in addition: when starting described business module, identification is stored in the packet switching control module, the packet switching domain identifier corresponding with the business module of described startup, and the packet switching domain identifier that a packet switching control module is stored each business module namely is set; Or identify stored packet switching domain sign in the business module of above-mentioned startup, i.e. stores packets switching domain sign in each business module activates the PS territory to identify whether to need to be both when it starts.
The packet-switched domain of the terminal equipment in above-described embodiment is set to state of activation specifically can comprise two kinds of situations, the one, when the packet-switched domain of described terminal equipment has been state of activation, keep the packet-switched domain setting of described terminal equipment to be in state of activation, namely may activate the PS territory when other business modules start, keep the state of activation in PS territory to get final product this moment; The 2nd, when the packet-switched domain of above-mentioned terminal equipment was deactivation status, the packet-switched domain that upgrades described terminal equipment was state of activation.
In the above-described embodiments, the step that can further comprise the packet switching domain identifier of each business module that updates stored in the packet switching control module, namely in each business module starting state process, stored packet switching domain sign is upgraded, it is the first kind sign when for example the packet-switched domain of this business module is identified at startup, it can be updated to second type identification, make when closing business module, need start whether to upgrade to the duration of closing to above-mentioned business module and judge.
When closing business module, said method may further include in addition: the packet switching domain identifier of the business module that identification is closed in advance; When the packet-switched domain of described business module of closing in advance is designated first kind sign, the packet-switched domain of described terminal equipment is set to deactivation status, in terminal equipment, may all need to use packet-switched domain by a plurality of business modules in addition, therefore also need whether existing other business module using packet-switched domain to judge in this step, when not having other business modules use packet-switched domains, the packet-switched domain of terminal equipment is set to deactivation status.
And particularly, at the above-mentioned situation that may in business module starting state process, upgrade the packet switching domain identifier, when the packet-switched domain of the business module of closing in advance is designated second type identification, need further to judge to be in the starting state process at business module, whether upgraded the packet switching domain identifier that is stored in the described business module of closing in advance in the packet switching control module; If upgraded the packet switching domain identifier of described business module of closing in advance, and when not having other business modules and using packet-switched domains, the packet-switched domain of described terminal equipment is set to deactivation status, otherwise end operation.
Corresponding with the packet-switched domain control processing method embodiment of above-mentioned terminal equipment, the embodiment of the invention also provides a kind of control processing unit.Fig. 2 is the structural representation of an embodiment of packet-switched domain control processing unit of terminal equipment of the present invention, as shown in Figure 2, this device comprises first identification module 11 and first state setting module 12, and the first above-mentioned identification module 11 is used for the packet switching domain identifier of the business module of identification pretrigger; First state setting module 12 is used for when the packet-switched domain of the business module of described pretrigger is designated first kind sign, the packet-switched domain of described terminal equipment is set to state of activation, and described first kind sign is used for being identified at when starting described business module needs the packet-switched domain of terminal equipment to be set to state of activation.
In the above embodiment of the present invention by for each business module the packet switching domain identifier being set, when starting each business module, first identification module identification automatically judges whether to need to activate the PS territory, concrete activates the PS territory being designated of the business module of confirming to start when the first kind identifies, the power wastage that can avoid when terminal equipment is started shooting, activating the PS territory and cause, or when using data service, just activate the PS territory and the service response that causes is slow, the shortcoming of poor user experience.The business module that starts by real-time supervisory user and default when starting this business module, whether need to activate PS territory situation, when starting the business module to carry out data service, activate the PS territory in good time, namely can reduce power consumption, can make and when needs carry out data service, in time provide service to realize effective control to the PS territory again.
Above-mentioned in addition control processing unit can further include packet switching control module 13, and this module is used for the packet switching domain identifier of each business module of terminal equipment.Above-mentioned in addition packet switching domain identifier can also be stored in each business module inside.
And above-mentioned control processing unit can further include identification renewal module 14, and this module is used for upgrading the described packet switching domain identifier that is stored in each business module of packet switching control module.
As shown in Figure 3, Fig. 3 is the structural representation of another embodiment of packet-switched domain control processing unit of terminal equipment of the present invention, as shown in Figure 3, above-mentioned device can also further arrange second identification module 15 and second state setting module 16, and wherein second identification module 15 is used for identifying the packet switching domain identifier of the business module of closing in advance; Second state setting module 16 is used for being designated first kind sign at the packet-switched domain of described business module of closing in advance, and do not have other business modules and using described packet-switched domain constantly, the packet-switched domain of described terminal equipment is set to deactivation status.Above-mentioned second identification module 15 and first identification module 11 can be combined into a unified identification module, for the packet switching domain identifier of the business module of identifying pretrigger or closing.
On the basis of above-described embodiment, the third state can also further be set module 17 is set, this module is used for when the packet-switched domain of described business module of closing in advance is designated second type identification, judgement is in the starting state process at described business module, renewal will be stored in the packet switching domain identifier of the described business module of closing in advance in the packet switching control module, and described second type identification is used for being identified at when starting this business module does not need the packet-switched domain of terminal equipment to be set to state of activation; If upgraded the packet switching domain identifier of described business module of closing in advance, and when not having other business modules and using described packet-switched domain, then the packet-switched domain of described terminal equipment is set to deactivation status, otherwise end operation.
The embodiment of the invention also provides a kind of terminal equipment, and this terminal equipment comprises the packet-switched domain control processing unit of more than one business module and above-mentioned terminal equipment.What above-mentioned terminal equipment was concrete can be communication terminals such as mobile phone.
Above-mentioned terminal equipment, by for each business module the packet switching domain identifier being set, when starting each business module, automatically whether needs activate the PS territory to identify this according to above-mentioned sign judgement, concrete activates the PS territory being designated of the business module of confirming to start when the first kind identifies, the power wastage that can avoid when terminal equipment is started shooting, activating the PS territory and cause, or when using data service, just activate the PS territory and the service response that causes is slow, the shortcoming of poor user experience.The business module that starts by real-time supervisory user and default when starting this business module, whether need to activate PS territory situation, when starting the business module to carry out data service, activate the PS territory in good time, namely can reduce power consumption, can make and when needs carry out data service, in time provide service to realize effective control to the PS territory again.
Below be a specific embodiment of the present invention, provided the overall flow of PS territory management control, specifically can comprise following flow process as shown in Figure 4:
Step 201, start or close a business module;
The PS domain identifier of the startup in step 202, the determining step 201 or the business module of closing, namely this PS domain identifier is first kind sign or second type identification, the concrete PS territory service attribute mask that can use identifies, the mask value that one multimedia message module namely can be set is 1 o'clock, in case the expression user starts first interface of multimedia message module, namely activate the PS territory by the PS control module, therefore when sending multimedia message, use the PS territory of having activated, can raise the efficiency; Mask value with business module is made as 0 in addition, is illustrated in when starting this business module, does not need to activate the PS territory.Therefore can be designated at 1 o'clock above-mentioned, execution in step 203 is designated at 0 o'clock, execution in step 211 above-mentioned;
Step 203, startup PS control module, and judge that this process is the process that starts business module or close business module, if starting business module process execution in step 204; If closing business module process execution in step 205;
Step 204, counter is increased by 1, namely add up being in business module number starting state and the use packet-switched domain in the terminal equipment, can carry out the PsManageApp_Count++ operation, PsManageApp_Count represents to be in business module number value starting state and that use packet-switched domain, and execution in step 207 then;
Whether step 205, judgement upgraded the PS domain identifier of business module in the initiation of services process, if upgraded, namely the packet switching domain identifier of this business module is to be updated to first kind sign in the starting state process of business module, when this business module starts, it is second type identification, when therefore it starts, this moment, execution in step 207 did not need 1 the operation of subtracting to statistics, otherwise execution in step 206;
Step 206, will reduce 1 to being in the counter that business module number starting state and that use packet-switched domain adds up, and namely carry out PsManageApp_Count--, execution in step 207 then;
Step 207, judge counter value whether greater than 0, namely judge whether to also have other to be in business module starting state and that using packet-switched domain, greater than 0 o'clock execution in step 209, otherwise execution in step 208;
The sign of step 208, PS territory state is set to deactivation status, with deexcitation PS territory, closes the PS function;
Step 209, judge whether the PS territory is in state of activation, if be in then process ends of state of activation, otherwise execution in step 210;
The sign of step 210, PS territory state is set to state of activation, to activate the PS territory, opens the PS function;
Step 211, judge that this process is the process that starts business module or close business module, if starting then process ends of business module process; If closing business module process execution in step 212;
Whether step 212, judgement upgraded the PS domain identifier of business module in the initiation of services process, if upgraded then execution in step 206, otherwise process ends.
In the technical scheme that the above embodiment of the present invention provides, by for each business module the packet switching domain identifier being set, when starting each business module, automatically whether needs activate the PS territory to identify this according to above-mentioned sign judgement, concrete activates the PS territory being designated of the business module of confirming to start when the first kind identifies, the power wastage that can avoid when terminal equipment is started shooting, activating the PS territory and cause, or when using data service, just activate the PS territory and the service response that causes is slow, the shortcoming of poor user experience.The business module that starts by real-time supervisory user and default when starting this business module, whether need to activate PS territory situation, when starting the business module to carry out data service, activate the PS territory in good time, namely can reduce power consumption, can make and when needs carry out data service, in time provide service to realize effective control to the PS territory again.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.