Background technology
In mobile communication system, especially in time division duplex (TDD) system, effectively send and receive for guaranteeing data, terminal and base station need be kept synchronously.Usually realize the synchronous of terminal and base station in the following ways:
Step 101: the base station is with the uplink signal-channel quality of predefined cycle detection terminal, if the base station can't correctly detect the up channel data of terminal within a certain period of time, judges that then described terminal is a desynchronizing state, execution in step 102.
Step 102: the base station sends synchronic command to described terminal.
Step 103: after terminal receives synchronic command from the base station, carry out Synchronous Processing between terminal and the base station, after described Synchronous Processing is finished, execution in step 104.
In this step, described Synchronous Processing generally realizes in the following ways:
A, terminal send to the base station and strengthen uplink synchronous code (SYNC_NL).
B, base station send the SYNC_NL confirmation and adjust instruction synchronously to terminal according to the SYNC_NL that receives.
C, terminal send confirmation of synchronization information correctly receiving from the SYNC_NL confirmation of base station and after adjusting instruction synchronously, adjusting synchronously according to synchronous adjustment instruction to the base station.
After d, base station received the confirmation of synchronization information of self terminal, the judgement Synchronous Processing was finished.In addition, if the base station does not successfully receive SYNC_NL, then terminal will be reselected a SYNC_NL, return step a.
Step 104: the base station sends downlink data to terminal.
Step 105: terminal receives the downlink data from the base station.
After the downlink data of terminal reception, the downlink data that receives is decoded, to base station feedback decoded information and channel quality information from the base station.The base station will be adjusted the modulation and the coded system of channel according to described channel quality information behind decoded information that receives self terminal and channel quality information, determine according to data decode information whether needs resend downlink data to terminal.
In addition, terminal can be carried out the uplink data scheduling process before the base station sends upstream data, specific as follows:
E, terminal send upstream data to the base station and send request.
F, base station send the scheduling controlling instruction to terminal after receiving described upstream data transmission request.
G, terminal send to the base station according to described scheduling controlling instruction with upstream data after the scheduling controlling instruction that receives from the base station.
General terminal comprises that with the connection status of network dedicated channel is connected (CELL-DCH) state and forward access channel connection status (CELL-FACH) state.Along with the demand of data service is growing, high speed downlink packet inserts (HSDPA) technology and high speed uplink packet access (HSUPA) technical development is got up, and is applied in CELL-DCH state and the CELL-FACH state.For example, in the agreement of R5-R7 version, 3GPP has introduced the HSDPA channel under the CELL-DCH state, adopts the mode of shared channel that descending high-speed data service is provided; In order to improve the downlink transmission data rate of CELL-FACH, also can under the CELL-FACH state, use the HSDPA channel to replace the FACH channel to send downlink data, and claim this CELL-FACH state for strengthening the CELL-FACH state.
When using the HSDPA service, up channel can be high-speed shared indication channel (HS-SICH) channel, and down channel can be controlled (HS-SCCH) channel and high-speed physical downlink for descending scheduling and share (HS-PDSCH) channel.Wherein, the HS-SCCH channel is a control channel, is used to transmit control command, and the HS-PDSCH channel is a data channel, is used for transmitting downlink data.
When using the HSUPA service, up channel can be the E-PUCH channel, and down channel can be E-AGCH channel and E-HICH channel.Wherein, the E-AGCH channel is a control channel, is used to transmit control command, and the E-HICH channel is a data channel, is used to transmit data.
When using HSDPA service or HSUPA service, be effective transmission and the transmission that guarantees data, CELL-DCH state and strengthen the CELL-FACH state and all need to realize the synchronous of terminal and base station.To use the HSDPA service to be example, in step 102, the base station sends synchronic command by the HS-SCCH channel to terminal; In the step b of step 103, send the SYNC_NL confirmation and adjust instruction synchronously to terminal by the FPACH channel; In the step c of step 103, terminal receives from the SYNC_NL confirmation of base station by the FPACH channel and adjusts instruction synchronously; In step 104, the base station has downlink data to arrive by HS-SCCH channel notification terminal, by the HS-PDSCH channel downlink data is sent to terminal again; In step 105, terminal by HS-SICH to base station feedback decoded information and channel quality information.
At present, under the CELL-DCH state, adopt existing method for synchronous just can realize the synchronous of terminal and base station.But because the base station needs the periodically up channel state of sense terminals, and notice terminal triggering synchronous is handled when the terminal links step-out, therefore, need set up complicated synchronous detecting mechanism for the base station, and this has improved the complexity of base station greatly.
Strengthening under the CELL-FACN state, because up channel is the RACH channel, and the common signal channel that the RACH channel is used by a plurality of terminals, therefore can't decode to up RACH channel in the base station, also just set up effective uplink synchronous testing mechanism, as seen, adopt existing method for synchronous can't realize strengthening terminal and base station under the CELL-FACH state synchronously.
Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
First embodiment:
The realization terminal that Fig. 2 provides for the embodiment of the invention and the method flow diagram of base station synchronization.As shown in Figure 2:
Step 201: terminal detects whether satisfy the synchronous triggering condition, if then execution in step 202.
Described synchronous triggering condition can be one of following four kinds of conditions:
Condition one: have downlink data from the base station to receive and described terminal is a desynchronizing state.
Condition two: have downlink data from the base station to need to receive, described terminal is desynchronizing state and described terminal does not receive the instruction that does not need feedback decoding information and channel quality information from the base station.
Three: the second timer expireds of condition, the described second timer period property is with default second time timing.
Condition four: have downlink data from the base station to receive and need be to base station feedback decoded information and channel quality information.
Step 202: terminal receives from the downlink data of base station and triggers described terminal and Synchronous Processing is carried out in described base station.
More than under four kinds of trigger conditions, can realize that all terminal sends upstream data or decoded information and channel quality information to the base station.
If described synchronous triggering condition is condition one or condition two, then this method may further include:
Whether the terminal detection needs to base station transmission data message and described terminal is synchronous regime, if then described terminal sends data message to the base station, described data message is decoded information and channel quality information, perhaps is upstream data.
Wherein, whether described sense terminals is that desynchronizing state comprises: judge whether described first timer is overtime, if, judge that then described terminal is a desynchronizing state, otherwise judge that described terminal is a synchronous regime, described first timer in the last once beginning that is triggered after Synchronous Processing is finished with default very first time timing.
Described data message is under the situation of upstream data, and after the base station sent data message, this method can further include in described terminal:
Described base station is adjusted command word SS with uplink synchronous and is sent to described terminal;
If during the 4th timer of described terminal was with default the 4th time timing, described terminal received the SS from the base station, then adopts counter that uplink synchronous is adjusted number of times and adds one;
Judge whether described uplink synchronous is adjusted number of times not overtime greater than first timer of predefined number of times and described terminal, if, then restart described first timer, the 4th timer sum counter, otherwise, restart counter.
If described synchronous triggering condition is a condition three, then this method may further include:
Whether terminal detects needs to send data message to the base station, if then described terminal sends data message to the base station, described data message is decoded information and channel quality information, perhaps is upstream data.
If the synchronous triggering condition is a condition four, then after described Synchronous Processing was finished, this method may further include: described terminal sends decoded information and channel quality information to the base station.
In the above method, be under the situation of upstream data at described data message, before the base station sent upstream data, this method may further include in described terminal:
Terminal sends upstream data to the base station and sends request;
The 3rd timer is triggered with default the 3rd time timing after receiving the upstream data of self terminal to send request in the base station, and during described timing, the base station sends the scheduling controlling instruction to terminal;
Terminal is carried out the step that sends upstream data to the base station according to described scheduling controlling instruction again after the scheduling controlling instruction that receives from the base station.
On this basis, after the base station sent upstream data, this method can further include in terminal:
The base station receives the upstream data of self terminal;
Receive the upstream data of self terminal in the base station after, trigger the 5th timer with default the 5th time timing, if the base station is adjusted command word SS at the 5th timer run duration with uplink synchronous and is sent to described terminal, then adopt second counter that uplink synchronous is adjusted number of times and add one;
Judge whether described uplink synchronous is adjusted number of times not overtime greater than predefined number of times and the 3rd timer, if, then restart described the 3rd timer, the 5th timer sum counter, otherwise, restart counter.
The realization terminal that the embodiment of the invention is provided with embodiment and the method for base station synchronization are described in further detail below.
Second embodiment:
In the present embodiment, connection status can or strengthen the CELL-FACH state for the CELL-DCH state, can use high speed downlink packet to insert (HSDPA) service or high speed uplink packet access (HSUPA) service.The realization terminal that Fig. 3 provides for the embodiment of the invention and the method flow diagram of base station synchronization.As shown in Figure 3:
Step 301: the base station sends downlink data to terminal.
In this step, suppose to use the HSDPA service, then the base station has the downlink data of needs to need to receive by HS-SCCH channel notification terminal, by the HS-PDSCH channel downlink data is sent to terminal.
Step 302: terminal detects whether satisfy the synchronous triggering condition, if then execution in step 303.
In this step, described synchronous triggering condition can be one of following four kinds of conditions:
Condition one: have downlink data from the base station to receive and described terminal is a desynchronizing state.
In this step, if the synchronous triggering condition is a condition one, then the described terminal of this step detects when whether satisfying the synchronous triggering condition, whether detect has the downlink data from the base station need receive and can be specially: the terminal identification information of terminal by carrying on the HS-SCCH, and detecting the downlink data that whether has from the base station needs to receive;
Perhaps be: terminal directly detects the downlink data that whether has from the base station by the terminal identification information of carrying on the HS-PDSCH channel and arrives.
Condition two: have downlink data from the base station to need to receive, described terminal is desynchronizing state and described terminal does not receive the instruction that does not need feedback decoding information and channel quality information from the base station.
In this step, if the synchronous triggering condition is a condition two, then the described terminal of this step detects when whether satisfying the synchronous triggering condition, whether detect has the downlink data from the base station need receive and need can be specially to base station feedback decoded information and channel quality information: the terminal identification information that terminal is carried on by HS-SCCH, detect that the downlink data that whether has from the base station need receive and follow-up need be to this downlink data to base station feedback decoded information and channel quality information;
Perhaps be: terminal directly detect by the terminal identification information of carrying on the HS-PDSCH channel that the downlink data that whether has from the base station arrives and follow-up need be to this downlink data to base station feedback decoded information and channel quality information.
Three: the second timer expireds of condition, the described second timer period property is with default second time timing.
Condition four: have downlink data from the base station to receive and need be to base station feedback decoded information and channel quality information.
In this step, if the synchronous triggering condition is a condition four, then the described terminal of this step detects and whether satisfies the synchronous triggering condition and can be specially: the terminal identification information of terminal by carrying on the HS-SCCH, detect that the downlink data that whether has from the base station need receive and follow-up need be to this downlink data to base station feedback decoded information and channel quality information;
Perhaps be: terminal directly detect by the terminal identification information of carrying on the HS-PDSCH channel that the downlink data that whether has from the base station arrives and follow-up need be to this downlink data to base station feedback decoded information and channel quality information.
Step 303: terminal receives from the downlink data of base station and triggers described terminal and Synchronous Processing is carried out in described base station.
Wherein, described terminal reception can be specially from the downlink data of base station: terminal is by the downlink data of HS-PDSCH channel reception from the base station.After receiving described downlink data, terminal is decoded to described downlink data, in order to follow-up decoded information and channel quality information is back to the base station.
Described terminal and described base station are carried out Synchronous Processing and can be realized in the following ways:
A, terminal send to the base station and strengthen uplink synchronous code (SYNC_NL).
B, base station send the SYNC_NL confirmation and adjust instruction synchronously to terminal according to the SYNC_NL that receives.
C, terminal send confirmation of synchronization information correctly receiving from the SYNC_NL confirmation of base station and after adjusting instruction synchronously, adjusting synchronously according to synchronous adjustment instruction to the base station.
After d, base station received the confirmation of synchronization information of self terminal, the judgement Synchronous Processing was finished execution in step 304.In addition, if the base station does not successfully receive SYNC_NL, then terminal will be reselected a SYNC_NL, return step a.
Step 304: whether the terminal detection needs to base station transmission data message and described terminal is synchronous regime, if then execution in step 305.
In the present embodiment, suppose in the step 302 that employing condition one or condition two are as trigger condition.Then whether sense terminals described in condition one and the condition two is that desynchronizing state comprises: judge that whether described first timer is just in timing, if, judge that then described terminal is a synchronous regime, otherwise judge that described terminal is a desynchronizing state, described first timer in the last once beginning that is triggered after Synchronous Processing is finished with default very first time timing.
In addition, if employing condition three is as trigger condition in the step 302, then this step is: whether terminal detects needs to send data message to the base station, if then execution in step 305.
If the synchronous triggering condition is a condition four, then this step is: after described Synchronous Processing was finished, described terminal sent decoded information and channel quality information to the base station.
Step 305: described terminal sends data message to the base station, and described data message is decoded information and channel quality information, perhaps is upstream data.
Wherein, under the situation of using the HSDPA service, if described feedback information is decoded information and channel quality information, then terminal can send to the base station with decoded information and channel quality information by the HS-SICH channel; If described feedback information is a upstream data, then terminal can send to the base station with upstream data by RACH.
After the base station receives the data message of self terminal, send SS to terminal.
At described data message is under the situation of upstream data, before the base station sends upstream data, can carry out following steps in terminal:
Suppose to use the HSUPA service, up channel is the E-PUCH channel,
E1, terminal send upstream data to the base station and send request.
In this step, terminal can send upstream data to the base station by up enhancing access control at random (E-RUCCH) channel and send request.
The 3rd timer is triggered with default the 3rd time timing after receiving the upstream data of self terminal to send request in f1, base station, and during described timing, the base station sends the scheduling controlling instruction to terminal.
This step purpose is, and is not overtime at the 3rd timer, thinks that terminal is in synchronous regime, if the 3rd timer expired thinks that then terminal has been in desynchronizing state, the base station can not send the scheduling controlling order to terminal again allow terminal send upstream data.
G1, terminal are sent to the base station according to described scheduling controlling instruction with upstream data after the scheduling controlling instruction that receives from the base station.
After the base station sent upstream data, the realization terminal that the embodiment of the invention provides and the method for base station synchronization can also may further comprise the steps in terminal:
I, base station receive the upstream data of self terminal.
J, triggering the 5th timer, then adopt second counter that uplink synchronous is adjusted number of times and add one, execution in step k if the base station is sent to described terminal at the 5th timer run duration with SS with default the 5th time timing.
K, judge whether described uplink synchronous is adjusted number of times not overtime greater than predefined number of times and the 3rd timer, if, then restart described the 3rd timer, the 5th timer sum counter, otherwise, restart second counter.
In the present embodiment, after terminal sends to the base station by HS-SICH channel or E-PUCH channel with upstream data, the adjustment process of uplink synchronous is carried out in the base station according to the signal location that receives HS-SICH channel and E-PUCH channel, the base station can be by the HS-SCCH channel corresponding with HS-SICH, perhaps corresponding E-AGCH channel with E-PUCH, perhaps corresponding with non-scheduled transmission E-PUCH E-HICH channel sends to terminal with SS.
More than the SS that down channel carried corresponding with up channel, be used for the uplink synchronous of terminal is adjusted in advance.Need to prove, more than be adjusted at up channel and set up under the synchronous situation,, can not be used for first foundation synchronously the fine setting of up channel synchronization timing.And SS has certain entry-into-force time, that is to say that the SS order that is produced so can be lost efficacy if SS can't pass by the down channel of correspondence after producing for a long time.
If the described trigger condition of step 302 is condition one or condition two, then can execution in step 306.
Step 306: after the base station sent data message, whether terminal detects to receive during the 4th timer is with default the 4th time timing from the uplink synchronous of base station adjusted command word (SS), if then execution in step 307 in described terminal.
In this step, described the 4th time is used to represent the entry-into-force time of SS, if receive SS in the entry-into-force time, then execution in step 307.Opposite, if after the entry-into-force time finishes, receive SS again, think that then described SS lost efficacy.
Step 307: adopt counter that uplink synchronous is adjusted number of times and add one.
Step 308: judge whether described uplink synchronous is adjusted number of times not overtime greater than first timer of predefined number of times and described terminal, if then execution in step 309, otherwise, execution in step 310.
Step 309: restart described first timer, the 4th timer sum counter.
The effect of restarting first timer is, if terminal is in the 4th default time, adjust synchronously for n time continuously, described n adjusts number of times for default uplink synchronous, thinks that then terminal remains on synchronous regime, can keep described synchronous regime, by first timer is restarted, make terminal continue to judge and be in synchronous regime, also just do not need to trigger the Synchronous Processing between described terminal and the base station, avoided terminal to repeat to send SYNC_NL to the base station.
Step 310: restart counter.
Step 306~step 310 is the process kept synchronously, by keeping synchronously, if terminal is finished the uplink synchronous adjustment of preset times continuously at SS in effective time, then restarts first timer, makes synchronous regime be maintained.
The embodiment of the invention also provides a kind of system that realizes terminal and base station synchronization, with regard to specific embodiment this system is elaborated below.
The 3rd embodiment:
The realization terminal that Fig. 4 provides for the embodiment of the invention and the system construction drawing of base station synchronization.As shown in Figure 4:
The realization terminal that the embodiment of the invention provides and the system of base station synchronization comprise: terminal 401 and base station 402.
Terminal 401 is used for detecting whether satisfy the synchronous triggering condition, if then receive from the downlink data and the triggering terminal 401 of base station 402 and carry out Synchronous Processing with base station 402.
Base station 402 is used for sending downlink data to terminal 401, carries out Synchronous Processing with terminal 401 under the triggering of terminal 401.
Wherein, terminal 401 comprises: condition distinguishing module 4011, synchronous triggering module 4012 and receiver module 4013.
Condition distinguishing module 4011 is used for sense terminals 401 and whether satisfies trigger condition, if, then send synchronous triggering message to synchronous triggering module 4012, send to receiver module 4013 and receive message.
Synchronous triggering module 4012 is used to receive the synchronous triggering message from condition distinguishing module 4011, receive described synchronous triggering message after, triggering terminal 401 is carried out Synchronous Processing with described base station 402.
Receiver module 4013 is used to receive the reception message from condition distinguishing module 4011, after receiving described reception message, receives the downlink data from base station 402.
Condition distinguishing module 4011 one of can be in the following ways realizes, as shown in Figure 5:
Mode one:
Condition distinguishing module 4011 comprises first discrimination module 10, first timer 11 and first trigger module 12;
Whether first discrimination module 10 is used for sense terminals 401 has the downlink data from base station 402 to need to receive, if then send first message to first trigger module 12.
First timer 11 is used for last once after Synchronous Processing is finished, with default very first time timing, overtime after, judge that described terminal is a desynchronizing state, send the step-out message to described first trigger module 12.
First trigger module 12 is used to receive from first message of first discrimination module 10 and the step-out message of first timer 11, after receiving described first message and described step-out message, judge that described terminal satisfies the synchronous triggering condition, send synchronous triggering message to synchronous triggering module 4012.
Mode two:
Condition distinguishing module 4011 comprises second discrimination module 20, first timer 21 and second trigger module 22.
Whether second discrimination module 20 is used for sense terminals 401 has downlink data from base station 402 to receive and terminal 402 does not receive the instruction that does not need feedback decoding information and channel quality information from base station 402, if then send second message to second trigger module 22;
First timer 21 is used for last once after Synchronous Processing is finished, with default very first time timing, overtime after, judge that described terminal is a desynchronizing state, send step-out message to 22 of described second trigger modes;
Second trigger module 22 is used to receive from second message of second discrimination module 20 and the step-out message of first timer 21, after receiving described second message and described step-out message, judge that described terminal satisfies the synchronous triggering condition, send synchronous triggering message to synchronous triggering module 4012.
Mode three:
Condition distinguishing module 4011 comprises second timer 30 and the 3rd trigger module 31;
Second timer 30 is used for periodically with default second time timing, each overtime after, send the 3rd message to the 3rd trigger module 31;
The 3rd trigger module 31 is used to receive the 3rd message from second timer 30, receive described the 3rd message after, judge that described terminal satisfies the synchronous triggering condition, send the synchronous triggering message to synchronous triggering module 4012.
Mode four:
Condition distinguishing module 4011 comprises the 4th discrimination module 40 and the 4th trigger module 41;
Whether the 4th discrimination module 40 is used for sense terminals 401 has downlink data from base station 402 to receive and need be to base station 402 feedback decoding information and channel quality informations, if then send the 4th message to the 4th trigger module 41;
The 4th trigger module 41 is used to receive the 4th message from the 4th discrimination module 40, receive described the 4th message after, judge that described terminal satisfies the synchronous triggering condition, send the synchronous triggering message to synchronous triggering module 4012.
Under the situation of condition distinguishing module 4011 employing modes one or mode two realizations, terminal 401 may further include first sending module 4014;
First sending module 4014 is used for sense terminals 402 and whether receives that to send the instruction and first timer 21 of data from the requirement of base station 402 not overtime, if, judge that then terminal 401 need be synchronous regime to base station 402 transmission data messages and terminal 401, send data message to base station 402, described data message is decoded information and channel quality information, perhaps is upstream data.
On this basis, terminal 401 can further include and keeps module 4015 synchronously;
First sending module 4014 is further used for after base station 402 sends data message, keeps message synchronously to keeping module 4015 transmissions synchronously;
Keep synchronously module 4015 be used for receive described keep message synchronously after, judge whether terminal receives the SS from the base station during the 4th timer is with default the 4th time timing, if, then adopt counter that uplink synchronous is adjusted number of times and add one, judge again whether described uplink synchronous is adjusted number of times not overtime greater than first timer 21 of predefined number of times and described terminal, if, then restart described first timer 21, the 4th timer sum counter, otherwise, restart counter.In the present embodiment, the 4th timer sum counter not shown in figures.
Under the situation that condition distinguishing module 4011 employing modes three realize, terminal 401 may further include second sending module, described second sending module is used for sense terminals and whether receives the instruction that sends data from demanding terminal, if, judge that then terminal need send data message to the base station, send data message to the base station, described data message is decoded information and channel quality information, perhaps is upstream data.
Under the situation that condition distinguishing module 4011 employing modes four realize, terminal 401 may further include the 3rd sending module;
Described the 3rd sending module is used for sending decoded information and channel quality information to the base station after terminal and base station synchronization are finished dealing with.
In addition, base station 402 can comprise basic module 4021 and add-on module 4022.
Basic module 4021 is used for sending downlink data to terminal 401, carries out Synchronous Processing with described terminal under the triggering of terminal 401.
Add-on module 4022 is used to receive the data message of self terminal 401 and upstream data to send request, after receiving described data message, send SS to terminal 401, after receiving described upstream data transmission request, trigger the 3rd timer with predefined the 3rd time timing, during described the 3rd timer timing, send the scheduling controlling order to terminal 401, in the present embodiment, the 3rd timer is not illustrated in the drawings.
First sending module 4014 of terminal 401 or second sending module can also be used for before sending upstream data to the base station, send upstream data to base station 402 and send request, receive after the scheduling controlling order from base station 402, send upstream data according to described scheduling controlling order to base station 402 again.
On this basis, base station 402 can also comprise second add-on module 4023.
Second add-on module 4023 is used for after base station 402 receives upstream data, trigger the 5th timer with default the 5th time timing, if base station 402 is sent to described terminal at the 5th timer run duration with SS, then adopt second counter that uplink synchronous is adjusted number of times and add one, judge whether described uplink synchronous is adjusted number of times not overtime greater than predefined number of times and the 3rd timer, if, then restart described the 3rd timer, the 5th timer and second counter, otherwise, restart second counter.In the present embodiment, the 5th timer not shown in figures and second counter.
From technique scheme as can be seen, the realization terminal that the embodiment of the invention provides and method, system and the terminal of base station synchronization, do not need whether the base station sense terminals is desynchronizing state, the base station can directly send data to terminal, terminal detects whether satisfy the synchronous triggering condition, if then carry out Synchronous Processing, and after Synchronous Processing is finished, carry out operations such as downlink data receiving and transmission feedback information again.Owing to do not need in the base station to relate to complicated testing mechanism, make the complexity of base station reduce greatly.
In addition, adopt the realization terminal that the embodiment of the invention provides and method, system and the terminal of base station synchronization,, therefore can realize strengthening the synchronous of the terminal CELL-FACH state under and base station because base station side does not need testing mechanism.And, because not needing the base station to take control channel, the base station do not send synchronic command to terminal, can also reduce the expense of control channel.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.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.