Summary of the invention
The present invention provides a kind of method improving cruising time, by judging whether have data interaction in the first Preset Time, determine whether to close the communication module in described terminal unit, to reach to improve the purpose in cruising time, present invention, avoiding when there is no data interaction, communication module is also attached the electricity wasted with base station, improve the cruising time of terminal unit, simultaneously, achieve the purpose that just can realize being automatically switched off communication module without user's manual operation, the problem being inconvenient to use brought to user when avoiding manual operation, and due to screen less time the problem of inconvenient operation brought to user.
The invention provides a kind of method improving cruising time, when terminal unit is in communication connection status with base station, described method includes:
Described terminal unit judges whether have data interaction in the first Preset Time;
If it did not, described terminal unit closes the communication module in described terminal unit, so that described terminal unit improves cruising time.
After the communication module that described terminal unit is closed in described terminal unit, described method also includes:
According to the default listening period cycle, described terminal unit, according to default listening period, monitors whether described base station has the data of transmission;
After described terminal unit listens to the data that described base station sends, described terminal unit starts described communication module, so that described terminal unit sets up communication connection with described base station.
After the communication module that described terminal unit is closed in described terminal unit, described method also includes:
Described terminal unit judges currently whether have data to be sent to described base station;
When described terminal unit judges have data to be sent to described base station, described terminal unit starts described communication module, so that described terminal unit sets up communication connection with described base station.
After described terminal unit starts described communication module, described method also includes:
Described terminal unit judges whether success sets up communication connection with described base station in the second Preset Time;
If it did not, described terminal unit closes described communication module.
A kind of terminal unit, when described terminal unit is in communication connection status with base station, described terminal unit includes:
First judge module, is used for judging whether have data interaction in the first Preset Time;
Close module, if it did not, for closing the communication module in described terminal unit, so that described terminal unit improves cruising time.
Described terminal unit also includes:
Monitor module, after the communication module that described closedown module is closed in described terminal unit, for according to presetting listening period, monitoring whether described base station has the data of transmission according to the default listening period cycle;
First starts module, after described monitoring module listens to the data that described base station sends, is used for starting described communication module, so that described terminal unit sets up communication connection with described base station.
Described terminal unit also includes:
Second judge module, after the communication module that described closedown module is closed in described terminal unit, is used for judging currently whether have data to be sent to described base station;
Second starts module, when described second judge module judges have data to be sent to described base station, is used for starting described communication module, so that described terminal unit sets up communication connection with described base station.
Described terminal unit also includes:
3rd judge module, after starting the module described communication module of startup described second, is used for judging whether successful foundation with described base station communicates to connect in the second Preset Time;
If it did not, described closedown module closes described communication module.
The present invention is by judging whether have data interaction in the first Preset Time, determine whether to close the communication module in described terminal unit, to reach to improve the purpose in cruising time, present invention, avoiding when there is no data interaction, communication module is also attached the electricity wasted with base station, improve the cruising time of terminal unit, simultaneously, achieve the purpose that just can realize being automatically switched off communication module without user's manual operation, the problem being inconvenient to use brought to user when avoiding manual operation, and due to screen less time the problem of inconvenient operation brought to user.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
In order to solve the problems of the prior art, the present invention proposes a kind of method improving cruising time, concrete as it is shown in figure 1, said method comprising the steps of when terminal unit is in communication connection status with base station:
Step 101, described terminal unit judges whether have data interaction in the first Preset Time. If it is not, perform step 102, if it has, then process ends.
Concrete, it is attached by the communication module in described terminal unit and described base station when described terminal unit is in communication connection status with described base station.
Described data interaction can be that short breath is mutual, phone mutual, and the application in described terminal unit is mutual.
Described terminal unit is portable terminal unit, as: smart mobile phone, panel computer, and pass through the terminal unit etc. that base station is wearable alternately.
Step 102, described terminal unit closes the communication module in described terminal unit, so that described terminal unit improves cruising time.
Concrete, if there is no data interaction in described first Preset Time, represent that user does not currently use described terminal unit, in order to reduce no data mutual time communication module and base station keep the electricity of communication connection waste, described terminal unit closes described communication module.
After described terminal unit closes described communication module, in order to ensure described user it is known that whether there are other users to contact oneself, for instance: whether having note, application message and missed call etc., described method also includes:
According to the default listening period cycle, described terminal unit, according to default listening period, monitors whether base station has the data of transmission;
After described terminal unit listens to the data that described base station sends, described terminal unit starts described communication module, so that described terminal unit sets up communication connection with described base station.
After described terminal unit does not listen to the data that described base station sends, described terminal unit remains turned-off the state of described communication module.
Concrete, described default listening period represents how long described terminal unit monitors whether base station has the data of transmission, and described default listening period represents that described terminal unit is once monitored and lasts long. Concrete default listening period and listening period are determined according to practical situation.
After described terminal unit closes described communication module, in order to ensure that user can pass through described terminal unit and communicate timely, described method also includes:
Described terminal unit judges currently whether have data to be sent to described base station;
When described terminal unit judges have data to be sent to described base station, described terminal unit starts described communication module, so that described terminal unit sets up communication connection with described base station.
When described terminal unit judges do not have data to be sent to described base station, described terminal unit remains turned-off the state of described communication module.
After described terminal unit starts described communication module, in order to ensure that user is when active communication, but due to the electricity waste caused when cannot set up communication connection with base station be always at setting up connection status, described method also includes:
Described terminal unit judges whether success sets up communication connection with described base station in the second Preset Time;
If it did not, described terminal unit closes described communication module.
If described terminal unit judges that success sets up communication connection with described base station in the second Preset Time, then keep the starting state of described communication module, it is ensured that the proper communication of user.
The present invention is by judging whether have data interaction in the first Preset Time, determine whether to close the communication module in described terminal unit, to reach to improve the purpose in cruising time, present invention, avoiding when there is no data interaction, communication module is also attached the electricity wasted with base station, improve the cruising time of terminal unit, simultaneously, achieve the purpose that just can realize being automatically switched off communication module without user's manual operation, the problem being inconvenient to use brought to user when avoiding manual operation, and due to screen less time the problem of inconvenient operation brought to user.
Based on the inventive concept same with said method, the present invention proposes a kind of terminal unit, as in figure 2 it is shown, described terminal unit and base station are in communication connection status, described terminal unit includes:
First judge module 21, is used for judging whether have data interaction in the first Preset Time;
Close module 22, if it did not, for closing the communication module in described terminal unit, so that described terminal unit improves cruising time.
Described terminal unit also includes:
Monitor module, after the communication module that described closedown module is closed in described terminal unit, for according to presetting listening period, monitoring whether described base station has the data of transmission according to the default listening period cycle;
First starts module, after described monitoring module listens to the data that described base station sends, is used for starting described communication module, so that described terminal unit sets up communication connection with described base station.
Described terminal unit also includes:
Second judge module, after the communication module that described closedown module is closed in described terminal unit, is used for judging currently whether have data to be sent to described base station;
Second starts module, when described second judge module judges have data to be sent to described base station, is used for starting described communication module, so that described terminal unit sets up communication connection with described base station.
Described terminal unit also includes:
3rd judge module, after starting the module described communication module of startup described second, is used for judging whether successful foundation with described base station communicates to connect in the second Preset Time;
If it did not, described closedown module closes described communication module.
The present invention is by judging whether have data interaction in the first Preset Time, determine whether to close the communication module in described terminal unit, to reach to improve the purpose in cruising time, present invention, avoiding when there is no data interaction, communication module is also attached the electricity wasted with base station, improve the cruising time of terminal unit, simultaneously, achieve the purpose that just can realize being automatically switched off communication module without user's manual operation, the problem being inconvenient to use brought to user when avoiding manual operation, and due to screen less time the problem of inconvenient operation brought to user.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can be completed by the hardware that programmed instruction is relevant. Aforesaid program can be stored in a computer read/write memory medium. This program upon execution, performs to include the step of above-mentioned each embodiment of the method; And aforesaid storage medium includes: the various media that can store program code such as ROM, RAM, magnetic disc or CDs.
Device embodiment described above is merely schematic, the unit wherein illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed at least two NE. Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme. Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit; Although the present invention being described in detail with reference to foregoing embodiments, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein some or all of technical characteristic is carried out equivalent replacement; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.