Summary of the invention
The technical problem to be solved in the present invention provides a kind of power-saving method and power-saving mobile terminal, solve under the very poor situation of no signal or signal quality, the problem of a large amount of electric energy of portable terminal consumption has at utmost shortened the broadcast start-up time after signal recovers in economize on electricity.
For solving the problems of the technologies described above, the invention provides a kind of power-saving method, comprising:
Terminal is provided with the received signal information that changes synchronously with received signal; Terminal is carried out dormancy when normal received signal; Under resting state, determine the time of occurrence of beacon, in this time, inquire after beacon according to described received signal information; Terminal is recovered operate as normal when inquiring after beacon.
Further, described method specifically may further comprise the steps:
A, terminal are provided with a received signal information that changes synchronously with received signal according to received signal in this terminal; Carry out step B;
B, terminal operate as normal when normal received signal, are carried out step C;
C, terminal enter resting state, and determine the time of occurrence of each beacon according to described received signal information, thereby inquire after beacon; When inquiring after beacon, return step B; Otherwise return step C.
Further, in the described steps A, terminal is provided with received signal information according to received signal and is meant: terminal carry out with received signal in the symbol count of sign synchronization, and the counting again of when count value reaches M+1, starting from scratch; Described symbol comprises OFDM symbol and beacon; Described M is the number of the OFDM symbol that comprises in the time slot;
Among the step C, terminal enters resting state and is meant: terminal is closed decoder module;
Among the step C, terminal is determined the time of occurrence of each beacon according to described received signal information, is meant thereby inquire after beacon: terminal is determined the time of occurrence of each beacon according to described symbol count value, wakes decoder module up and inquires after beacon.
Further, among the step C, terminal is determined the time of occurrence of each beacon according to described symbol count value, wakes decoder module up and inquires after beacon and be meant: terminal is waken decoder module during X sign-on up in each time slot; If do not detect beacon, then when Y sign-on, close decoder module;
The zero hour of described X symbol and next time difference of beacon between the zero hour are greater than or equal to deltT1, and the zero hour of X+1 symbol and next time difference of beacon between the zero hour are less than deltT1;
Described Y the sign-on moment and the last time difference of beacon between the finish time are greater than or equal to deltT 2, and described Y-1 the sign-on moment and the last time difference of beacon between the finish time are less than deltT 2;
Described deltT1 adds the reach guard time for decoder module start-up time, and deltT2 moves guard time after being, the forward and backward guard time that moves is used to revise count value.
Further, comprise before the described steps A:
Terminal powers on, and judging whether can normal received signal, if normally then execution in step A, otherwise execution in step D:
D, terminal enter resting state, regularly inquire after beacon, and detection window length is inquired after the interval at least greater than the length of a time slot more than or equal to a time slot, returns steps A when detecting beacon.
Further, a counting effective marker position is set,, judges the state of this flag bit earlier,, otherwise carry out step D if be SM set mode then carry out step C when terminal normally during received signal; When powering on, each terminal removes this flag bit earlier, whenever can be normal during received signal, with this flag bit set.
Further, step C specifically comprises:
C1, terminal enter resting state, reset simultaneously and start a timer.
C2, terminal determine the time of occurrence of beacon according to described received signal information, inquire after beacon in this time; When inquiring after beacon, execution in step C3, otherwise continue dormancy, return step C2;
C3, terminal are recovered operate as normal, stop described timer, return step B;
Among the step C2, terminal is monitored the value of described timer, when it exceeds preset threshold T1, stops described timer, execution in step D.
Further, step C specifically comprises:
C1, terminal enter resting state, reset simultaneously and start a timer.
C2, terminal determine the time of occurrence of beacon according to described received signal information, inquire after beacon in this time; When inquiring after beacon, execution in step C3, otherwise continue dormancy, return step C2;
C3, terminal are recovered operate as normal, stop described timer, return step B;
Among the step C2, terminal is monitored the value of described timer, when it exceeds preset threshold T1, stops described timer, and with described flag bit set, execution in step D.
Further, also comprise among the described step C: terminal monitor signal strength RSSI, if RSSI>threshold value R1, then execution in step D.
Further, also comprise among the described step C: terminal monitor signal strength RSSI, if RSSI>threshold value R1, then with described flag bit set, execution in step D.
The present invention also provides a kind of power-saving mobile terminal, comprises decoder module, is used for from the radio network received signal; And control module;
Described control module is used for when the normal received signal of decoder module according to received signal a received signal information that changes synchronously with received signal being set in this terminal, when decoder module is normally closed decoder module during received signal; Also be used for when decoder module is closed condition, determining the time of occurrence of each beacon, wake decoder module up and inquire after beacon, when decoder module detects beacon, recover the decoder module operate as normal according to described received signal information.
Further, described terminal also comprises counter;
Described control module is provided with received signal information according to received signal and is meant: the signal that control module receives according to decoder module is with the sign synchronization of this counter and actual reception signal.
Further, the signal that control module receives according to decoder module is meant the sign synchronization of this counter and actual reception signal: control module make this counter the zero hour of each symbol count value add 1, and when count value arrival M+1 with counter O reset; Described symbol comprises OFDM symbol and beacon; Described M is the number of the OFDM symbol that comprises in the time slot;
Control module determines that according to described received signal information the time of occurrence of each beacon is meant: terminal is determined the time of occurrence of each beacon according to the count value in the described counter.
Further, control module is determined the time of occurrence of each beacon according to described received signal information, wakes decoder module up and inquires after beacon and be meant: preserve X sign-on in the control module respectively constantly and Y sign-on moment corresponding symbol count value; Control module is inquired about described counter, opens decoder module when its count value reaches the count value of X sign-on moment correspondence, closes decoder module when its count value reaches the count value of Y sign-on moment correspondence;
The zero hour of described X symbol and next time difference of beacon between the zero hour are greater than or equal to deltT1, and the zero hour of X+1 symbol and next time difference of beacon between the zero hour are less than deltT1;
Described Y the sign-on moment and the last time difference of beacon between the finish time are greater than or equal to deltT2, and Y-1 the sign-on moment and the last time difference of beacon between the finish time are less than deltT2;
Described deltT1 adds the reach guard time for decoder module start-up time, and deltT2 moves guard time after being, the forward and backward guard time that moves is used to revise count value.
Further, described terminal also comprises register;
Described control module also is used for removing described register after terminal powers on, and when closing decoder module, inquire about this buffer status, if be SM set mode, then carry out synchronous power saving operation pattern---promptly when decoder module is closed condition, determine the time of occurrence of each beacon, wake decoder module up and inquire after beacon according to described received signal information; If be the removing state, then carry out the asynchronous power saving mode of operation---promptly when decoder module is closed condition, regularly wake decoder module up and inquire after beacon, the opening time length overall be detection window length more than or equal to a time slot, probe interval is at least greater than the length of a time slot; Also be used for when decoder module detects signal,, and recover the decoder module operate as normal described register set.
Further, described terminal also comprises timer;
Control module also is used for when beginning by the work of synchronous energy-saving mode, start described timer and monitor the value of this timer, when it exceeds preset threshold T1, stop described timer, earlier described register is removed, determined to begin by the work of asynchronous power saving pattern according to this buffer status then; After also being used for when working, detecting beacon, stop and the described timer that resets by synchronous energy-saving mode.
Further, described control module also is used for monitoring received signal intensity RSSI when working by synchronous energy-saving mode, if RSSI>threshold value R1 then removes described register earlier, determines to begin with the work of asynchronous power saving pattern according to this buffer status then.
Technical scheme of the present invention can make terminal intermittently dormancy when normal received signal, thereby saves electric energy; And technical scheme of the present invention can accurately be controlled the time that decoder module is opened, and it is opened in the time receiving beacon, the broadcast start-up time after also at utmost having shortened the signal recovery under the prerequisite of economize on electricity.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
Core concept of the present invention is: terminal is provided with the received signal information that changes synchronously with received signal in this terminal, terminal is carried out dormancy when normal received signal, owing under resting state, still can accurately know the time that can receive beacon according to described received signal information, so terminal only need be surveyed in the time receiving beacon, can check signal whether to recover, and when signal recovers, can in the fastest time, begin to play; Terminal all is in resting state At All Other Times, therefore can save electric energy.
In embodiments of the present invention, suppose to comprise in each time slot M OFDM symbol and a beacon, for convenience of description, hereinafter OFDM symbol and beacon in the time slot are referred to as symbol.
The invention provides a kind of power-saving method, as shown in Figure 1, may further comprise the steps:
A, terminal power on, and judging whether can normal received signal, if normally then execution in step B, otherwise execution in step E.
The described normal received signal of the embodiment of the invention is meant: the intensity of received signal or quality can make terminal inquire after beacon in the received signal, and carry out synchronously.
In the described steps A of the embodiment of the invention, specifically can but be not limited to comprise: whether the decoder module of judging lane terminal can normally receive signal, if can normal received signal then execution in step B; When causing blackout or abnormal signal owing to reasons such as shieldings, decoder module is normal received signal all, this moment execution in step C.Can but be not limited to carry out above-mentioned judgement by the control module of lane terminal.
B, terminal and received signal are synchronous, and terminal is provided with a received signal information that changes synchronously with received signal according to received signal in this terminal; Carry out step C.
Therefore, when received signal is unusual, when terminal can't normally receive synchronizing signal, still can determine signal received moment of each beacon just often according to described received signal information.
Among the described step B of the embodiment of the invention, terminal is provided with received signal information according to received signal and is meant: terminal carry out with received signal in the symbol count of sign synchronization, and the counting again of when count value reaches M+1, starting from scratch.
Among the described step B of the embodiment of the invention, terminal is provided with received signal information according to received signal and is meant: terminal is set up a counter, and the signal that receives according to decoder module is with the sign synchronization of this counter and actual reception signal.
Among the described step B of the embodiment of the invention, the sign synchronization of counter and actual reception signal is meant: make this counter the zero hour of each symbol count value add 1, and when count value arrives M+1 with counter O reset; Can also but be not limited to make described counter from receive time slot, to begin counting during first symbol, can certainly be from receiving any sign-on counting.
The described counter of the embodiment of the invention drives with the high precision clock source, and when blackout, this counter continues operation.
Among the described step B of the embodiment of the invention, terminal is provided with received signal information according to received signal and also can be meant: terminal is provided with a timer, and its time span regularly is identical with a time slots length; Terminal starts this timer in the zero hour of beacon, after this reset after then at every turn and start this timer once more.
In the described steps A of the embodiment of the invention, terminal is provided with received signal information according to received signal and can also be meant: terminal is provided with a timer, start this timer in the zero hour of beacon, when the time span of its timing is identical with a time slots length with its zero clearing and start this timer once more.
Because the fixed-site of beacon in each time slot, so terminal just can be determined the zero hour of beacon according to timer or timer.The method that received signal information is set by timer or timer is not limited to top description, and the method that meets this realization thought can adopt.
Compare with the mode that adopts timer or timer, adopt the mode of tracking frequency, it is more accurate promptly to adopt counter to be used as received signal information.
C, terminal operate as normal when normal received signal, are carried out step D.
The described step C of the embodiment of the invention specifically can but be not limited to comprise: the work of terminal monitors decoder module, when the situation of normal received signal occurring, execution in step D.Can but be not limited to monitor by described control module.
D, terminal enter resting state, and determine the time of occurrence of each beacon according to described received signal information, thereby inquire after beacon.When inquiring after beacon, illustrate that signal can normally be received, this moment, terminal was recovered operate as normal, returned step C; As do not inquire after and then return step D.
The working method of terminal in this step is called synchronous energy-saving mode, as shown in Figure 2.
Among the described step D of the embodiment of the invention, terminal enters resting state and is meant and closes decoder module.
Among the described step D of the embodiment of the invention, terminal is determined the time of occurrence of each beacon according to described received signal information, inquiring after described beacon in this time is meant: terminal is determined the time of occurrence of each beacon according to described symbol count value, wakes decoder module up and inquires after beacon.
The described step D of the embodiment of the invention specifically can but be not limited to comprise: terminal is closed decoder module, and begins to monitor the count value in the described counter, judges going out now of beacon according to this count value, wakes described decoder module up and surveys beacon.When inquiring after beacon, return step C; As do not inquire after and then return step D.Can close decoder module and monitor counter by the control module in the terminal.
Need the time if consider the decoder module startup, and counter has certain drift, then need be before the zero hour of each beacon, deltT1 wakes decoder module constantly up in advance, as do not inquire after beacon, then after the finish time of beacon, postpone deltT2 and return step D constantly, promptly close decoder module once more.Therefore, the time length of each decoder module detection beacon is:
Tsrch=Tbeacon+deltT1+deltT2
Wherein Tsrch is a detection window length, and promptly decoder module is surveyed the time span of beacon, and just decoder module is waken up the time span that open the back; Tbeacon is the time span of beacon.
DeltT1 adds the reach guard time for decoder module start-up time, and deltT2 moves guard time after being.To be start-up time decoder module finish from being waken up to that to start the needed time different because of terminal to decoder module, can obtain by actual measurement; The described forward and backward guard time that moves is used to revise count value; drift back decoder module still can start before receiving beacon to guarantee producing in a small amount by counter; and detection window also can contain BEACON fully under the situation that produces drift; its length is determined according to system's actual measurement or emulation; so deltT1 and deltT2 determine that in emission system and terminal the back is just confirmable, both can be identical also can be different.
Therefore, among the described step D of the embodiment of the invention, terminal should be in each time slot be waken decoder module during X sign-on up; If do not detect beacon, then when Y sign-on, close decoder module.The zero hour of described X symbol and next time difference of beacon between the zero hour are greater than or equal to deltT1, and the zero hour of X+1 symbol and next time difference of beacon between the zero hour are less than deltT1; Described Y the sign-on moment and the last time difference of beacon between the finish time are greater than or equal to deltT2, and described Y-1 the sign-on moment and the last time difference of beacon between the finish time are less than deltT2.
In the practical application, preserve X the sign-on moment and Y sign-on moment corresponding symbol count value in the terminal respectively, open decoder module constantly during the corresponding symbol count value when described count value reaches X sign-on, close decoder module during the corresponding symbol count value when described count value reaches Y the sign-on moment.
Owing to can accurately locate, so Tsrch can be littler than the length of detection window in the prior art, have also played the effect of economize on electricity.
Implementation when adopting the mode of timer or timer to represent received signal information similar when adopting counter repeats no more here.
E, terminal enter resting state, regularly inquire after beacon, and detection window length is inquired after the interval at least greater than the length of a time slot more than or equal to a time slot, returns step B when detecting beacon.
The working method of terminal in this step is called the asynchronous power saving pattern, as shown in Figure 3.
Described the inquiring after at interval of the embodiment of the invention selected for example 3 seconds according to economize on electricity with to the requirement compromise of opening speed.When detecting beacon, illustrate that signal can normally be received, this moment, terminal was recovered operate as normal, returned step B.
In actual applications, can adopt the scheme of simplification: when the normal received signal of terminal, a received signal information that changes synchronously with received signal is set in this terminal according to received signal, when terminal is normally carried out step D during received signal, after detecting beacon, carry out step C, survey and then do not continue step D.And the above-mentioned optimization that has added the scheme of asynchronous power saving pattern for this reduction procedure.
Which kind of power saving operation pattern what learn that terminal adopts for the ease of terminal or other network equipment is, a counting effective marker position can be set, this flag bit can but be not limited to a register.When terminal normally during received signal, judge the state of this flag bit earlier, if for SM set mode then adopt synchronous energy-saving mode, i.e. above-mentioned steps D, otherwise adopt asynchronous power saving pattern, i.e. above-mentioned steps E; When powering on, each terminal removes this flag bit earlier, whenever can be normal during received signal, with this flag bit set.Can handle below the corresponding increase in concrete each step:
In the described steps A of the embodiment of the invention, after powering on, terminal removes described flag bit; The described flag bit state of inquiry earlier when normal received signal because this flag bit is the removing state, therefore adopts asynchronous power saving pattern, execution in step E.If can normal received signal then with flag bit set.
Among the described step C of the embodiment of the invention, when the situation of normal received signal occurring, the described flag bit state of inquiry because this flag bit is in SM set mode, so adopts synchronous energy-saving mode, execution in step D earlier.
Among the described step D of the embodiment of the invention, inquire after behind the beacon position, described counting effective marker position; If do not inquire after then can inquire about the state of flag bit earlier, for SM set mode then continues execution in step D.
In the described step e of the embodiment of the invention, inquire after behind the beacon position, described counting effective marker position.
The described step D of the embodiment of the invention can specifically may further comprise the steps:
D1, terminal enter resting state, reset simultaneously and start a timer.
D2, terminal determine the time of occurrence of beacon according to described received signal information, inquire after beacon in this time.When inquiring after beacon, execution in step D3, otherwise continue dormancy, return step D2.
D3, terminal are recovered operate as normal, stop described timer, return step C.
In step D2, terminal is monitored the value of described timer, when it exceeds preset threshold T1, stops described timer, enters the asynchronous power saving pattern, i.e. execution in step E; If there is described counting effective marker position, then when the value of timer exceeded preset threshold T1, terminal was removed described counter effective marker position earlier, stops described timer, determined to use asynchronous power saving pattern, execution in step E according to this flag bit then.
The purpose of doing like this be when terminal behind operation certain hour under the synchronous energy-saving mode, the counter drift may cause beacon to flee from detection window, for guaranteeing detection to beacon, the long but asynchronous power saving pattern work of expense electricity of the detection window of migrating; Described T1 determines according to the precision of system clock source, can but be not limited to 1 hour.
Can also comprise among the described step D of the embodiment of the invention: terminal monitor signal strength RSSI, if RSSI>threshold value R1 then enters the asynchronous power saving pattern, i.e. execution in step E.If there is described counting effective marker position, then when RSSI>threshold value R1, terminal is removed described counting effective marker position earlier, determines to use asynchronous power saving pattern, execution in step E according to this flag bit then.
The purpose of doing like this is system is detected protection, promptly when finding that signal strength signal intensity belongs to the scope that can normally receive, but in the time of can't detecting beacon, explanation may be for a certain reason---such as system restart etc., beacon has been fled from detection window, cause the problem that can't detect, the detection window of migrating is grown but the asynchronous power saving pattern work of expense electricity; The R1 scope is-50dB is to-80dB.
The present invention also provides a kind of power-saving mobile terminal, as shown in Figure 4, comprises decoder module, control module.
The described decoder module of the embodiment of the invention comprises receive channel and decoding circuit, is used for from the radio network received signal.
Described control module is used for when the normal received signal of decoder module according to received signal a received signal information that changes synchronously with received signal being set in this terminal, when decoder module is normally closed decoder module during received signal; Also be used for when decoder module is closed condition, determining the time of occurrence of each beacon, wake decoder module up and inquire after beacon according to described received signal information.
The described control module of the embodiment of the invention is meant according to the received signal information that received signal setting and received signal change synchronously: control module carry out with received signal in the symbol count of sign synchronization, and the counting again of when count value reaches M+1, starting from scratch.
The described control module of the embodiment of the invention is determined the time of occurrence of each beacon according to described received signal information, waking decoder module up inquires after beacon and be meant: control module is determined the time of occurrence of each beacon according to the symbol count value, when described symbol count value reaches the count value of X sign-on moment correspondence, open decoder module, when described symbol count value reaches the count value of Y sign-on moment correspondence, close decoder module.The same method of the selection of described X, Y no longer repeats here.
The described terminal of the embodiment of the invention also comprises a counter.
The described control module of the embodiment of the invention is provided with received signal information according to received signal and is meant: the signal that control module receives according to decoder module is with the sign synchronization of this counter and actual reception signal.
The described control module of the embodiment of the invention is meant the sign synchronization of counter and actual reception signal: control module make this counter the zero hour of each symbol count value add 1, and when count value arrives M+1 with counter O reset; Can also but be not limited to make described counter from receive time slot, to begin counting during first symbol, can certainly be from receiving any sign-on counting.
The described control module of the embodiment of the invention is determined the time of occurrence of each beacon according to described received signal information, wakes decoder module up and inquires after beacon and be meant: preserve X sign-on in the control module respectively constantly and Y sign-on moment corresponding symbol count value; Control module is inquired about described counter, opens decoder module when its count value reaches the count value of X sign-on moment correspondence, closes decoder module when its count value reaches the count value of Y sign-on moment correspondence.
The described terminal of the embodiment of the invention also comprises a register, is used for expression and adopts which kind of power saving operation pattern; Can but be not limited to set: when its set, synchronous power saving operation pattern is adopted in expression; When it was the removing state, the asynchronous power saving mode of operation was adopted in expression.
The described control module of the embodiment of the invention also is used for removing described register after terminal powers on, and when closing decoder module, inquire about this buffer status, if be SM set mode, then carry out synchronous power saving operation pattern---promptly when decoder module is closed condition, determine the time of occurrence of each beacon, wake decoder module up and inquire after beacon according to described received signal information; If be the removing state, then carry out the asynchronous power saving mode of operation---promptly when decoder module is closed condition, regularly wake decoder module up and inquire after beacon, the opening time length overall be detection window length more than or equal to a time slot, probe interval is at least greater than the length of a time slot; Also be used for when decoder module detects signal,, and recover the decoder module operate as normal described register set.
The described terminal of the embodiment of the invention also comprises a timer.
The described control module of the embodiment of the invention also is used for when beginning by the work of synchronous energy-saving mode, start described timer and monitor the value of this timer, when it exceeds preset threshold T1, stop described timer, earlier described register is removed, determined to begin by the work of asynchronous power saving pattern according to this buffer status then; After also being used for when working, detecting beacon, stop and the described timer that resets by synchronous energy-saving mode.Described T1 is described with method.
The described control module of the embodiment of the invention also is used for when working by synchronous energy-saving mode, monitor received signal intensity RSSI, if RSSI>threshold value R1 then removes described register earlier, determine to begin with the work of asynchronous power saving pattern according to this buffer status then.Described R1 is described with preamble.
With the same in the method, the described control module of the embodiment of the invention is provided with a received signal information that changes synchronously with received signal and also can realizes with a timer or a timer in this terminal, repeat no more here.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.