Summary of the invention
The purpose of the embodiment of the invention provides a kind of uplink synchronous detection and device, detects to realize uplink synchronisation.
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of uplink synchronous detection and device to be achieved in that
A kind of uplink synchronous detection comprises:
Synchro timer is set, and described synchro timer moves according to following rule, and comprises default time-out time:
Setup rule: when the base station receives uplink data and correct to described data decode, or receive the corresponding indication of radio network controller, start synchro timer,
Restart rule: in the synchro timer running or under halted state, when the base station receives uplink data and correct to described data decode, restart described synchro timer,
Stopping rule: the continuous preset times in base station does not receive the uplink data of expectation or preset times is incorrect to the uplink data decoding that receives continuously, stops described synchro timer;
The base station judges that by the state that detects described synchro timer current is uplink synchronous or uplink loss state.
Preferably, in the described method,
The base station receives uplink data packet and draws together in the described setup rule: the base station is by E-RUCCH, arbitrary channel receiving uplink data in PRACH, the E-PUCH channel;
Describedly restart in the rule base station and receive uplink data packet and draw together: the base station is by E-RUCCH, E-PUCH, PRACH, arbitrary channel receiving uplink data in the HS-SICH channel;
The base station receives uplink data packet and draws together in the described stopping rule: the base station is by E-PUCH, arbitrary channel receiving uplink data in the HS-SICH channel.
Preferably, in the described method, described correct or mistake comprises to the decoding of the uplink data that receives:
When passing through E-RUCCH, E-PUCH, the arbitrary channel receiving uplink data among the PRACH, the correct or mistake of the data decode of adopting the CRC judgement to receive.
Preferably, in the described method, when by E-RUCCH or PRACH channel receiving uplink data and correct to described data decode, described startup, the synchro timer of restarting comprise the synchro timer relevant with the terminal iidentification that carries on the respective channel.
Preferably, in the described method, described correct or mistake comprises to the decoding of the uplink data that receives:
When by HS-SICH channel receiving uplink data, judge the correct or mistake of decoding according to ACK/NACK in this channel.
Preferably, in the described method, describedly judge that according to ACK/NACK in this channel the correct or mistake of decoding comprises:
With each the bit addition of the representative ACK/NACK in the described channel, by with absolute value whether judge the correct or mistake of decoding less than default thresholding.
Preferably, in the described method, described base station is judged by the state that detects described synchro timer and is currently comprised for uplink synchronous or uplink loss state:
If the state that described synchro timer is detected in the base station is judged the current uplink synchronous state that is for not stopping and not overtime;
If described synchro timer is overtime or stop, judging the current uplink loss state that is.
Preferably, in the described method, also comprise:
Synchronous state machine is set, and it comprises IN_SYNC and OUT_OF_SYNC two states;
When starting or restarting described synchro timer, the IN_SYNC of described synchronous state machine is set to 1, OUT_OF_SYNC is set to 0, represent that current is the uplink synchronous state;
When stopping described synchro timer, the IN_SYNC of described synchronous state machine is set to 0, OUT_OF_SYNC is set to 1, represent that current is the uplink loss state.
Preferably, in the described method, also comprise:
Synchronous state machine is set, and it comprises the IN_SYNC state;
When starting or restarting described synchro timer, the IN_SYNC of described synchronous state machine is set to 1, represent that current is the uplink synchronous state;
When stopping described synchro timer, the IN_SYNC of described synchronous state machine is set to 0, represent that current is the uplink loss state.
Preferably, in the described method, when by E-RUCCH or PRACH channel receiving uplink data and correct to described data decode, described startup, the corresponding synchronous state machine that arranges comprises the synchronous state machine relevant with the terminal iidentification that carries on the respective channel when restarting synchro timer.
Preferably, in the described method, described terminal iidentification comprises enhancing dedicated channel Radio Network Temporary Identifier and/or Cell Radio Network Temporary Identifier/Identity, Cell-RNTI and/or high speed descending sharing channel Radio Network Temporary Identifier.
A kind of uplink synchronisation checkout gear comprises:
Decoding unit is used for judging the correct or mistake of data decode to receiving;
Synchro timer according to following rule operation, and comprises default time-out time:
Setup rule: when the base station receives uplink data and described decoding unit judges that described data decode is correct, or receive the corresponding indication of radio network controller, start synchro timer,
Restart rule: in the synchro timer running or under halted state, when the base station receives uplink data and described decoding unit is judged that described data decode is correct, restart described synchro timer,
Stopping rule: the continuous preset times in base station does not receive the uplink data of expectation or the described decoding unit judgement of preset times is incorrect to the uplink data decoding that receives continuously, stops described synchro timer;
Detecting unit is used for judging that by the state that detects described synchro timer current is uplink synchronous or uplink loss state.
Preferably, in the described device,
The base station receives uplink data packet and draws together in the described setup rule: the base station is by E-RUCCH, PRACH, arbitrary channel receiving uplink data in the E-PUCH channel;
Describedly restart in the rule base station and receive uplink data packet and draw together: the base station is by E-RUCCH, E-PUCH, PRACH, arbitrary channel receiving uplink data in the HS-SICH channel;
The base station receives uplink data packet and draws together in the described stopping rule: the base station is by E-PUCH, arbitrary channel receiving uplink data in the HS-SICH channel.
Preferably, in the described device, described decoding unit is for passing through E-RUCCH, E-PUCH, the arbitrary channel receiving uplink data among the PRACH, the correct or mistake of the data decode of adopting the CRC judgement to receive.
Preferably, in the described device, described decoding unit for by HS-SICH channel receiving uplink data, is judged the correct or mistake of decoding according to ACK/NACK in this channel.
Preferably, in the described device, when by E-RUCCH or PRACH channel receiving uplink data and correct to described data decode, described startup, the synchro timer of restarting comprise the synchro timer relevant with the terminal iidentification that carries on the respective channel.
Preferably, in the described device, described decoding unit, for by HS-SICH channel receiving uplink data, with each the bit addition of the representative ACK/NACK in this channel, by with absolute value whether judge decoding correctly or mistake less than default thresholding.
Preferably, in the described device, described detecting unit,
If the state that detects described synchro timer is judged the current uplink synchronous state that is for not stopping and not overtime;
If it is overtime or stop to detect described synchro timer, judge the current uplink loss state that is.
Preferably, in the described device, also comprise:
Synchronous state machine comprises IN_SYNC and OUT_OF_SYNC two states;
When described synchro timer started or restarts, described synchronous state machine was set to 1 with IN_SYNC, and OUT_OF_SYNC is set to 0, represents that current is the uplink synchronous state;
When described synchro timer stopped, described synchronous state machine was set to 0 with IN_SYNC, and OUT_OF_SYNC is set to 1, represented that current is the uplink loss state.
Preferably, in the described device, also comprise:
Synchronous state machine comprises the IN_SYNC state;
When described synchro timer starts or restarts, the IN_SYNC of described synchronous state machine is set to 1, represent that current is the uplink synchronous state;
When described synchro timer stops, the IN_SYNC of described synchronous state machine is set to 0, represent that current is the uplink loss state.
Preferably, in the described device, when by E-RUCCH or PRACH channel receiving uplink data and correct to described data decode, described startup, the corresponding synchronous state machine that arranges comprises the synchronous state machine relevant with the terminal iidentification that carries on the respective channel when restarting synchro timer.
Preferably, in the described device, described terminal iidentification comprises enhancing dedicated channel Radio Network Temporary Identifier and/or Cell Radio Network Temporary Identifier/Identity, Cell-RNTI and/or high speed descending sharing channel Radio Network Temporary Identifier.
The technical scheme that is provided by the above embodiment of the invention as seen, synchro timer is set, described synchro timer is according to following rule operation, and comprise default time-out time: when the base station receives uplink data and correct to described data decode, or receive the corresponding indication of radio network controller, start synchro timer, in the synchro timer running or under halted state, when the base station receives uplink data and correct to described data decode, restart described synchro timer, the continuous preset times in base station do not receive the uplink data of expectation or uplink data decoding that continuous preset times is received incorrect, stop described synchro timer; It is uplink synchronous or uplink loss state that the base station is judged current by the state of the described synchro timer of inquiry, can realize that uplink synchronisation detects.
Embodiment
The embodiment of the invention provides a kind of uplink synchronous detection and device.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with drawings and embodiments the embodiment of the invention is described in further detail.
Fig. 1 shows the flow chart of synchronization detecting method embodiment of the present invention, such as Fig. 1, comprising:
S101: when the base station receives uplink data and correct to described data decode, or receive the indication of radio network controller (Radio Network Controller, RNC), start synchro timer, and mark uplink synchronous state.
Here, uplink data can be by E-RUCCH, Physical Random Access Channel (PhysicalRandom Access Channel, PRACH), the data that arbitrary channel receives in the channels such as E-PUCH.
The situation of the up transmission of UE E-RUCCH for example, the base station is after receiving the uplink data of E-RUCCH, to this data decode, if CRC check decoding is correct, it is synchronous then can illustrating up, thereby can start timer (referred to herein as Tsync), and the mark synchronous regime.
Described mark synchronous regime, a synchronous state machine for example can be set, it comprises two states, one is synchronous regime (IN_SYNC), one is desynchronizing state (OUT_OF_SYNC), when synchronous regime, IN_SYNC can be put 1, and OUT_OF_SYNC set to 0, current as synchronous regime to represent.
Certainly, shown in synchronous state machine also can include only IN_SYNC, its value is to represent in 1 o'clock synchronously, is 0 to be the expression step-out.Below similar.
For the corresponding indication that receives RNC, for example can be when the transition that occurs from the CELL_DCH state to the CELL_FACH state, RNC can send " continuing synchronously " indication to the base station by FP (frameprotocol) frame of Iub interface user face, and the base station starts Tsync after receiving this indication.
When the base station receives uplink data and correct to described data decode, or receive the corresponding indication of RNC, can judge and be synchronous regime this moment, therefore at this moment can start synchro timer, for judging the synchronous regime timing in lower a period of time, and IN_SYNC in the synchronous state machine is put 1, and OUT_OF_SYNC is set to 0.
S102: in the synchro timer running or under halted state, when the base station receives uplink data and correct to described data decode, restart described synchro timer, the mark synchronous regime.
Here, uplink data can be by E-RUCCH, E-PUCH, PRACH, the data that arbitrary channel receives in the channels such as HS-SICH.For E-RUCCH, E-PUCH, and PRACH and HS-SICH are uplink transport channel.If the base station is received the data of these up links and is decoded correctly, can restart synchro timer, be to judge the synchronous regime timing in lower a period of time.
Common channel has all adopted CRC (Cyclical Redundancy Check, CRC), can judge the data correctness, above-mentioned E-RUCCH for example, E-PUCH, PRACH channel.
And HS-SICH does not use the CRC coding checkout, but the data of transmitting in the HS-SICH channel comprise ACK/NACK.ACK represents that data correctly receive, and NACK represents that data correctly do not receive.When by HS-SICH channel receiving uplink data, judge the correct or mistake of decoding according to ACK/NACK in this channel.
Concrete, ACK/NACK has used repeated encoding 36 times in the HS-SICH channel.Utilize this coding characteristic, can judge HS-SICH decoding correctness by following mode:
ACK/NACK data before the HS-SICH channel decoding that detects by base station activation are sued for peace, compare with default thresholding (thresholding can be made as Pan), surpass thresholding, think that decoding data is correct, be lower than thresholding, think that decoding data is incorrect.Concrete, the ACK/NACK data of establishing in the front HS-SICH channel of receiving terminal decoding are c
1, c
2..., c
36, representing ACK with+1 in these data ,-1 expression NACK will
Pan compares with thresholding, draws court verdict, if
It is incorrect then to adjudicate the HS-SICH decoding, otherwise judgement is correct for decoding.
Describedly restart synchro timer, be about to synchro timer and reset and restart timing.Described mark synchronous regime, similar with the front, can be that IN_SYNC is put 1, and OUT_OF_SYNC is set to 0.
Need to prove that after synchro timer Tsync started, the base station may have the situation that repeatedly receives uplink and be correctly decoded.In this situation, correct receiving uplink data and being correctly decoded all will be restarted described synchro timer, the mark synchronous regime each time.
S103: the base station continuous N time does not receive that the uplink data of expectation or continuous N are time incorrect to the uplink data decoding that receives, and stops described synchro timer, the mark desynchronizing state.
Uplink data can be by E-PUCH, the data that arbitrary channel receives in the channels such as HS-SICH.
If it is time incorrect to the uplink data decoding that receives that the base station continuous N time is not received the uplink data of expectation or continuous N, then exist very large probability explanation up no longer synchronous, also be the uplink loss state.M can be a preset value.
For example the HS-SICH of continuous N time expectation does not receive, and perhaps for example continuous N time E-PUCH channel data decoding is incorrect, can stop synchro timer and mark uplink loss state.
With top similar, for the channel that has adopted CRC check, can judge the data correctness by CRC result, for example above-mentioned E-PUCH channel.
Similarly, for the HS-SICH channel, can sue for peace to the ACK/NACK data before the HS-SICH channel decoding that detects by base station activation, compare with default thresholding (thresholding can be made as Pan), surpass thresholding, think that decoding data is correct, be lower than thresholding, think that decoding data is incorrect.Concrete and aforementioned similar.
The mark desynchronizing state as previously mentioned, can be that IN_SYNC in the synchronous state machine is set to 0, and OUT_OF_SYNC is put 1.
In fact, in the embodiment of the invention, be to be provided with a synchro timer, according to above-mentioned S101, the operation of the rule of S102 and S103.S101 can be called setup rule, and S102 can be called restarts rule, and S103 can be called stopping rule.According to above-mentioned rule, synchro timer will start, restart, stop according to RNC indication or uplink data triggering, and correspondingly, synchronous state machine also will be set up.
The operation rule of the synchro timer that S101, S102, S103 can be considered as arranging.The characteristics of the data that this rule receives according to base station side are for the startup of synchro timer, restart and stop and overtime the setting.
Need to prove that the synchro timer in the embodiment of the invention all is synchro timer and the synchronous state machine relevant with same particular terminal with synchronous state machine.
And in above-mentioned each rule, when by E-RUCCH or PRACH channel receiving uplink data and correct to described data decode, described startup, the synchro timer of restarting comprise the synchro timer relevant with the terminal iidentification that carries on the respective channel.Correspondingly, when by E-RUCCH or PRACH channel receiving uplink data and correct to described data decode, described startup, the corresponding synchronous state machine that arranges comprises the synchronous state machine relevant with the terminal iidentification that carries on the respective channel when restarting synchro timer.
Described terminal iidentification comprises enhancing dedicated channel Radio Network Temporary Identifier (E-DCH RadioNetwork Temporary Identity, E-RNTI) and/or Cell Radio Network Temporary Identifier/Identity, Cell-RNTI (Cell RadioNetwork Temporary Identity, C-RNTI) and/or high speed descending sharing channel Radio Network Temporary Identifier (HS-DSCH Radio Network Temporary Identity, H-RNTI).
S104: the base station judges that by the state that detects described synchro timer current is uplink synchronous or uplink loss.
Need to prove that synchro timer also comprises the time-out time that presets.Surpass described time-out time when synchro timer moves, then synchro timer is timeout mode.
Then, when the base station need to be detected the uplink synchronisation step-out, if detect that synchro timer does not stop and not overtime, then the current uplink synchronous state that is can be judged in the base station, at this moment, IN_SYNC can be put 1, OUT_OF_SYNC and set to 0;
If synchro timer is overtime or stop, then the current uplink loss state that is can be judged in the base station, IN_SYNC can be set to 0, and OUT_OF_SYNC puts 1.
Need to prove that above-mentioned synchronous state machine can only help out, can not have described synchronous state machine, and only have synchro timer.
Below exemplify a specific embodiment of the present invention and be illustrated, Fig. 2 shows the flow process of specific embodiment, comprises such as figure:
S201: the base station receives " continuing synchronously " indication of RNC.
S202: base station initiated synchro timer, the mark synchronous regime is put 1, OUT_OF_SYNC with IN_SYNC and is set to 0.Mark moment this moment is the T among the figure
1Afterwards take the HSDPA process as example.
S203:Node B sends schedule information to UE by HS-SCCH, the information such as the employed time-slot code channel of HS-PDSCH that the schedule information indication sends subsequently.
S204:Node B sends data to UE by HS-PDSCH.UE concerns according to predefined transmit timing, determines the time point that HS-PDSCH occurs, and receives HS-PDSCH, carries out channel quality estimation according to the HS-PDSCH that receives simultaneously, obtains CQI (channel quality indication); And UE obtains feedback information ACK/NACK (determining information/NACK messages) according to the result of HS-PDSCH decoding.
S205:UE in HS-SICH channel feedback CQI and ACK/NACK information to Node B.
S206:S205 meets the rule of aforementioned S102, be that the base station receives uplink data (HS-SICH channel data) and correct to described data decode in the synchro timer running, restart described synchro timer, the mark synchronous regime, IN_SYNC is put 1, OUT_OF_SYNC to be set to 0.Mark moment this moment is the T among the figure
2
S207: in the synchro timer running, surpass the overtime moment, enter timeout mode and continue operation.The overtime moment of mark is the T among the figure
3
The data of the request scheduling resource of the E-RUCCH that S208:Node B reception UE sends, and correct to described data decode.
From this step take the HSUPA process as example.
S209:S208 meets the rule of aforementioned S102, be that the base station receives uplink data (E-RUCCH channel data) and correct to described data decode in the synchro timer running (overrun), restart described synchro timer, the mark synchronous regime, IN_SYNC is put 1, OUT_OF_SYNC to be set to 0.Mark moment this moment is the T among the figure
4
Here, by E-RUCCH channel receiving uplink data and correct to described data decode, therefore, described startup, the synchro timer of restarting comprise the synchro timer relevant with the terminal iidentification that carries on the respective channel, correspondingly, described startup, the corresponding synchronous state machine that arranges comprises the synchronous state machine relevant with the terminal iidentification that carries on the respective channel when restarting synchro timer.Described terminal iidentification comprises enhancing dedicated channel Radio Network Temporary Identifier and/or Cell Radio Network Temporary Identifier/Identity, Cell-RNTI and/or high speed descending sharing channel Radio Network Temporary Identifier.
S210:Node B carries out scheduling of resource according to the dispatch request information of receiving, and sends resource license information at E-AGCH.
S211:UE is according to the resource scheduling information of receiving, strengthen transformat combination (E-TFC) and select, select suitable transmission block size (Transport Block Size, TBS) and modulation system, encode afterwards, modulate, send uplink strengthening data at E-PUCH.
S212:S211 meets the rule of aforementioned S102, be that the base station receives uplink data (E-PUCH channel data) and correct to described data decode in the synchro timer running, restart described synchro timer, the mark synchronous regime, IN_SYNC is put 1, OUT_OF_SYNC to be set to 0.Mark moment this moment is the T among the figure
5
Node B receives after the E-PUCH that the processing of decoding obtains ACK/NACK information according to CRC check, is mapped to after the coding to feed back to this UE on the E-HICH.
S213:UE receives the ACK/NACK information of feedback.
S214: continuous N time does not receive that the uplink data of expectation or continuous N are time incorrect to the uplink data decoding that receives, and stops described synchro timer, the mark desynchronizing state.If be T constantly this moment
6
Then take said process as example, if the base station is respectively at T
1~T
2Time period, T
2~T
3Time period, T
4~T
5Time period, T
5~T
6Time period is detected the synchro timer state, because synchro timer does not stop and be not overtime, then the current uplink synchronous state that is can be judged in the base station, at this moment, IN_SYNC can be put 1, OUT_OF_SYNC and set to 0.
If the base station is at T
3~T
4Detect the synchro timer state in time period, because synchro timer is timeout mode, then the current uplink loss state that is can be judged in the base station, at this moment, IN_SYNC can be set to 0, and OUT_OF_SYNC puts 1.
If the base station is at T
6Inquiry synchro timer state in the later time period, because synchro timer is halted state, then the current uplink loss state that is can be judged in the base station, at this moment, IN_SYNC can be set to 0, OUT_OF_SYNC puts 1.
Below introduce device embodiment of the present invention, Fig. 4 shows the block diagram of this device embodiment, such as Fig. 4, comprising:
Decoding unit 301 is used for judging the correct or mistake of data decode to receiving;
Synchro timer 302 according to following rule operation, and comprises default time-out time:
Setup rule: when the base station receives uplink data and described decoding unit judges that described data decode is correct, or receive the corresponding indication of radio network controller, start synchro timer,
Restart rule: in the synchro timer running or under halted state, when the base station receives uplink data and described decoding unit is judged that described data decode is correct, restart described synchro timer,
Stopping rule: the continuous preset times in base station does not receive the uplink data of expectation or the described decoding unit judgement of preset times is incorrect to the uplink data decoding that receives continuously, stops described synchro timer;
Detecting unit 303 is used for judging that by the state that detects described synchro timer current is uplink synchronous or uplink loss state.
Preferably, the base station receives uplink data packet and draws together in the described setup rule: the base station is by E-RUCCH, PRACH, arbitrary channel receiving uplink data in the E-PUCH channel;
Describedly restart in the rule base station and receive uplink data packet and draw together: the base station is by E-RUCCH, E-PUCH, PRACH, arbitrary channel receiving uplink data in the HS-SICH channel;
The base station receives uplink data packet and draws together in the described stopping rule: the base station is by E-PUCH, arbitrary channel receiving uplink data in the HS-SICH channel.
Preferably, described decoding unit,
For passing through E-RUCCH, E-PUCH, the arbitrary channel receiving uplink data among the PRACH, the correct or mistake of the data decode of adopting the CRC judgement to receive;
Preferably, when by E-RUCCH or PRACH channel receiving uplink data and correct to described data decode, described startup, the synchro timer of restarting comprise the synchro timer relevant with the terminal iidentification that carries on the respective channel.
Preferably, described decoding unit for by HS-SICH channel receiving uplink data, is judged the correct or mistake of decoding according to ACK/NACK in this channel.
Preferably, described decoding unit,
For by HS-SICH channel receiving uplink data, with each the bit addition of the representative ACK/NACK in this channel, by with absolute value whether judge decoding correctly or mistake less than default thresholding.
Preferably, described detecting unit,
If the state that detects described synchro timer is judged the current uplink synchronous state that is for not stopping and not overtime;
If it is overtime or stop to detect described synchro timer, judge the current uplink loss state that is.
Preferably, described device can also comprise:
Synchronous state machine comprises IN_SYNC and OUT_OF_SYNC two states;
When described synchro timer started or restarts, described synchronous state machine was set to 1 with IN_SYNC, and OUT_OF_SYNC is set to 0, represents that current is the uplink synchronous state;
When described synchro timer stopped, described synchronous state machine was set to 0 with IN_SYNC, and OUT_OF_SYNC is set to 1, represented that current is the uplink loss state.
Preferably, described device can also comprise:
Synchronous state machine comprises the IN_SYNC state;
When described synchro timer starts or restarts, the IN_SYNC of described synchronous state machine is set to 1, represent that current is the uplink synchronous state;
When described synchro timer stops, the IN_SYNC of described synchronous state machine is set to 0, represent that current is the uplink loss state.
Need to prove that the synchro timer in the embodiment of the invention all is synchro timer and the synchronous state machine relevant with same particular terminal with synchronous state machine.
Preferably, when by E-RUCCH or PRACH channel receiving uplink data and correct to described data decode, described startup, the corresponding synchronous state machine that arranges comprises the synchronous state machine relevant with the terminal iidentification that carries on the respective channel when restarting synchro timer.
Preferably, described terminal iidentification comprises enhancing dedicated channel Radio Network Temporary Identifier and/or Cell Radio Network Temporary Identifier/Identity, Cell-RNTI and/or high speed descending sharing channel Radio Network Temporary Identifier.
By above embodiment as seen, synchro timer is set, described synchro timer moves according to aforementioned rule, and it is synchronous or desynchronizing state that the base station is judged current by the state of the described synchro timer of inquiry, can realize that uplink synchronisation detects.
Although described the embodiment of the invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.