Embodiment
In following narration, many ins and outs have been proposed in order to make the reader understand the application better.But, persons of ordinary skill in the art may appreciate that even without these ins and outs with based on the many variations and the modification of following each execution mode, also can realize each claim of the application technical scheme required for protection.
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that execution mode of the present invention is done to describe in detail further below.
The implication of alleged among the present invention once lock in time of sheet at first is described, sheet refers to the length under GSM/GPRS, reserved synchronously for TD lock in time among the present invention, and the actual synchronization action took place in the sheet in lock in time.Lock in time, sheet was not meant the time that the actual synchronization action is continued, and the time that the actual synchronization action is continued should be less than the time of sheet lock in time.
First embodiment of the invention relates to a kind of method for synchronous to asynchronous system, be used to be operated under the GSM/GPRS dual-mode terminal to the TD-SCDMA system synchronously, its flow process is as shown in Figure 1.
In step 101, dual-mode terminal first lock in time sheet the TD subframe is carried out synchronously.In this execution mode each lock in time sheet length add a GSM time slot more than or equal to 1 GSM frame.
After this get into step 102, dual-mode terminal next lock in time of 13 * K GSM frame at interval sheet once more the TD subframe is carried out synchronously, wherein K is a natural number.In this execution mode, each adjacent lock in time sheet starting point between the multiple that is spaced apart 13 GSM frames.In the preferred example of the present invention, under GSM half rate, GPRS full rate or GPRS half-rate mode, each adjacent lock in time sheet starting point between be spaced apart 13 GSM frames (being equivalent to K=1); Under the GSM full-rate mode, each adjacent lock in time sheet starting point between be spaced apart 26 GSM frames (being equivalent to K=2).
After this get into step 103, dual-mode terminal has judged whether to accomplish predetermined N time (N>1) and synchronously, if then get into step 104, has proceeded the synchronous of TD subframe otherwise get back to step 102.
In step 104, dual-mode terminal judges whether M time come to the same thing is arranged in the hyposynchronous synchronized result of nearest N, wherein M>N/2.If identical synchronized result is arranged M time, then carry out step 105, proceed the synchronous of TD subframe otherwise get back to step 102.
In step 105, success synchronously, dual-mode terminal is exported subsynchronous middle M the identical synchronized result of nearest N as final synchronized result.
Here explain that N gets the reason greater than 1 integer.Owing to be wireless communications environment, N=1 will guaranteed performance or reliability, i.e. once time synchronization success or failure.Synchronously still can be synchronous, promptly the result is success or is failure, performance can be very poor.N>1 can guaranteed performance and reliability.
In a preferred example of the present invention, N is 5, if 4 times come to the same thing arranged among the 5 subsynchronous results, then with these 4 identical results as final synchronized result.Be appreciated that; It is a kind of preferable voting mechanism that 5 subsynchronous results get 4 identical results; One of being accuracy and efficient is compromise preferably, and embodiment of the present invention is not repelled other voting mechanism, and for example 6 subsynchronous results get identical result 5 times; Or 7 subsynchronous result get identical result 4 times, or 4 subsynchronous results get 4 identical results or the like.
Above-mentioned steps 101 to 103 realized successively a plurality of lock in time sheet the TD subframe of TD-SCDMA system is carried out synchronously, step 104 then to a plurality of lock in time sheet synchronized result add up, with the identical result that occupies the majority as final synchronized result.It will be appreciated by those skilled in the art that; Same technical scheme can use the Different software flow process to realize; Therefore the flow process of embodiment of the present invention is not limited to the situation of accompanying drawing 1, and for example the judgement to synchronization times can move on to synchronous for the first time doing before in the step 103, or the like.
The lock in time of a plurality of GSM/GPRS sheet the TD subframe is carried out synchronously; Each, sheet was with the multiple gap periods property ground configuration of 13 GSM frames adjacent lock in time; Each, the length of sheet added a GSM time slot more than or equal to 1 GSM frame lock in time; Thereby do not influencing under the prerequisite of GSM/GPRS communication, make be operated in GSM/GPRS under dual-mode terminal to the TD system synchronously and measurement be achieved.Repeatedly get the identical result that occupies the majority after synchronously as synchronized result, can guarantee the accuracy of synchronized result.
Carry out theoretic demonstration in the face of the feasibility of such scheme down, introduce some necessary background contents earlier, and it is done relevant analysis.
Background one: TD-SCDMA frame structure.
The frame structure of TD-SCDMA is as shown in Figure 2; The synchronizing channel of TD-SCDMA is downlink pilot frequency channel (DwPCH); Wherein DwPTS refers to descending pilot frequency time slot (Downlink Pilot Time Slot), and UpPTS refers to uplink pilot time slot (Uplink Pilot Time Slot).The burst of DwPCH (burst) structure is as shown in Figure 3.
Can be known by Fig. 2 Fig. 3 and relevant communication protocol: the time of 1 TD-SCDMA frame is 5ms.Random time receives the TD signal, and can catch a complete DwPTS needs 1 TD subframe+DwPTS, and its length is 6400+96chips (chip).In order to realize that conveniently we can add the protection interval (Guard Period is called for short " GP ") of 32 chips again in the SYNC_DL back.So for each TD network synchronously, we only need the DwPTS that catches that 6400+96+32=6528chips just can be complete, thereby can satisfy the time requirement of synchronous TD network.
Background two: GSM frame structure.
The frame of GSM and the structure of time slot are as shown in Figure 4.Can know by Fig. 4 and relevant communication protocol,
1.GSM time of frame be (3/5200) * 8*1000=60/13 (ms).
2.GSM the systemic circulation of frame is circulations of per 26 * 51 * 2048 frames.
3.1 individual GSM time slot has 156.25 bit (bit), a GSM frame is that 1250bits is arranged so.
4.GSM be the cycle with 51 multi-frames under IDLE (free time) state.
Background three: the multi-frame structure under the GSM connection mode.
Fig. 5 (a) is the mapping situation of time division multiple access (Time DivisionM ultiple Access is called for short " TDMA ") frame to TCH/FS+SACCH/FS, and Fig. 5 (b) is the mapping of tdma frame to TCH/HS+SACCH/ HS subchannel 0 and 1.
Can draw a conclusion by Fig. 5 and relevant communication protocol: under the connection mode under the situation of full rate in per 26 multi-frames, last frame be the idle frame.Under the situation of half rate, correspond to 26 continuous frames under the connection mode, Subchannel0 (subchannel 0), the 24th, 25 frame all is the idle frame, Subchannel1 (subchannel 1), the 12nd, 13 frame are idle frame (with 0 as first frame).
Half rate is owing to the difference of its coded system, and corresponding to 26 multi-frames, there are a lot of empty frames the inside, only stresses to correspond to 26 multi-frames here, sees from the angle of successive frame, and the 12nd frame or the 25th frame are the idle frames.
Background four: GPRS multi-frame structure.
Fig. 6 shows the structure of Packet Data Channel (Packet Data Channel is called for short " the PDCH ") multi-frame of GPRS.Wherein X representes idle frame (ldle frame), B0-B11=4GSM frame.
Can find out that from Fig. 6 and relevant communication protocol the multi-frame structure under the GPRS is 52 multi-frames, see on the full rate in 52 frames and can see that per 12 PDCH are arranged, after 1 idle frame is arranged.Identical result is also arranged on the half rate.Half rate is only stressed because the difference of its coded system corresponding to 52 multi-frame structures, has a lot of empty frames here, corresponds on 52 multi-frames, sees that from the angle of successive frame the 12nd, 25,38,51 frames all are the sky frames, with 0 as first frame.
Background five: the travelling carriage class (MS classes) of multiple time slot ability (multislot capability) that packet switching connects and multiple time slot configuration (Multislot configurations).
The MS classes of multiple time slot ability is as shown in the table.
Wherein, Rx describes the maximum number of the receiving slot that the every tdma frame of travelling carriage (MS) can use; Tx describes the maximum number of the sending time slots that the every tdma frame of MS can use; Sum is that the descending and downlink transfer that the every tdma frame of MS can be used flows the sum of (Transport Stream is called for short " TS "); T
TaRelate to MS and carry out the time that the adjacent cell signal level is measured and the preparation emission is required; T
TbRelate to MS and prepare the required time of emission; T
RaRelate to MS and carry out the time that the adjacent cell signal level is measured and the preparation reception is required; T
RbRelate to MS and prepare to receive the required time.UE below the class12 is the type1 type.Be that UE can not receive and dispatch simultaneously.For the mobile phone of type1, last emission or the minimum number of time slot between receiving slot and the receiving slot next time are T at interval
RaUE below the CLASS12 can see T through agreement
RaBe 2
Only listed in the last table below the CLASS12, CLASS12 above not in the discussion scope of this execution mode.
Can find out have 5 time slots to use in the GSM frame at most, and will satisfy T through last table
RaT
RbCondition, the timeslot number of up-downgoing is identical, and if a descending m time slot, a up n time slot, MIN will be arranged so, and (wherein MIN is illustrated in the function of getting smaller value among m and the n for m, n) individual identical uplink and downlink timeslot.
Background six: the physical layer of GSM/GPRS system receives sends rule.
It is as shown in Figure 7 that the physical layer of GSM/GPRS system receives the transmission rule.Learn from Fig. 7 and relevant communication protocol, uply be later than descending 3 fixing GSM time slots, that is to say, if there are 2 time slots of fixed interval between ascending time slot and the descending time slot simultaneously in transmitting-receiving.
Can clearly obtain following relation through the above-mentioned background introduction:
Can be known by background one: the time span of 1 TD subframe is 5ms.
Can be known by background two: the time span of 1 GSM frame is 60/13ms.That is to say that the time of 12 TD subframes of every mistake and 13 GSM frames of every mistake is in full accord, in other words, TD system and gsm system obtain correspondence fully behind 12 TD subframes of every mistake and 13 GSM frames of every mistake on frame boundaries.This is an important theoretical foundation.
We can use the length of 1/4 bit of this unit representation of QBC.Through background two, can know that 1 GSM frame has 1250 bit (bit).So, 1 GSM frame can go to calculate with 5000QBC, can converse 1 TD subframe and can use 5000* (5/ (60/13))=5417QBC to calculate through the time span of TD subframe and the time span of GSM frame so.That is to say so, 1 GSM frame of every mistake, the position of TD subframe just with respect to the current GSM frame many 417 QBC.
Introduce under the GSM position calculation strategy below to TD-SCDMA:
Can know with analyzing by the front background introduction, circulation FN_MAX=26 * 51 * 2048 of GSM frame, this value is 13 integral multiple; This just can derive a conclusion so: based on the border (establishing frame number is FN1) of any GSM frame; Through after obtaining TD subframe ts0 and beginning to locate position delta_p (can be the optional position in theory, ts0 be fairly simple, and remainder can calculate through ts0) with respect to this GSM frame boundaries; Just can through having crossed how many GSM frame N; (supposition in the position that this frame of FN2 need calculate TD ts0, then N=(FN2+FN_MAX-FN1) %13) calculates the position POS of TD subframe.
Specifically can take following method to calculate the position of TD: POS=(delta_p+N * 417) %5417.Wherein, delta_p is based on the GSM frame boundaries of frame number FN1, and % representes to get remainder operation.
This relation has been arranged, and the position that just can in GSM frame arbitrarily, remove to calculate TD TS0 matches in the idle time slot of GSM/GPRS, thereby arrives the purpose of measurement TD.The concrete realization of TD is a prior art synchronously, does not describe in detail here, and the present invention just provides the synchronous possibility of realization under all patterns under GSM/GPRS.
Introduce under the GSM/GPRS synchronization policy below to TD-SCDMA:
Basic thought:,, just can go up the TD network in theory synchronously as long as can find the clear position of 6400+128chip according to the conclusion of background 1.6528chips is corresponding so QBC also can calculate and be 5417 * (6528/6400)=5525QBC.
So, be made up of 8 time slots according to 2,1 GSM frames of background, 1 corresponding QBC of time slot is 5000/8=625QBC so.1 GSM frame+1 GSM time slot=5000+625=5625QBC so>5525QBC.Thereby obtain conclusion: 1 GSM frame+1 GSM time slot can satisfy the synchronous time requirement of TD.But once time synchronization may not find the position of TD very accurately; Or say and can not decide the TD synchronization position with the once time synchronization result that a so top very important relation will propose emphatically: TD system and gsm system obtain correspondence fully behind 12 TD subframes of every mistake and 13 GSM frames of every mistake on frame boundaries.Every mistake 13 frames of GSM frame or the integral multiple of 13 frames in other words, the TD network can be thought and on identical position, the TD network carried out synchronously synchronously.So below will find this time demand to the various situation under the GSM/GPRS.
Under GSM IDLE situation: the idle frame under the GSM IDLE is a lot, can guarantee that two GSM idle frames are continuous based on any GSM idle frame; 1 idle frame is 5000QBC so; 2 is 10000QBC, satisfies 5417QBC, can carry out the synchronous of TD network.But in order to guarantee accuracy, because idle frame is a lot of under the GSM IDLE, the time that can adopt continuous 5 TD subframes, being converted to the GSM frame is 6 frames, does synchronously, utilize so identical in 5 results 4 times or more than, can obtain TD position accurately.If no, then adjusting parameters such as GAIN value carries out synchronously again.Can know by background 2 simultaneously; GSM IDLE was 51 multiframe periods; This value is relatively prime with 13 just in time, so with GSM paging (paging) cycle, and the TD position condition inequality that provides each paging week after date to calculate; In other words, identical position measurement can be in different TD positions before each Paging cycle.The UE standby the most important thing is power consumption; Therefore; When UE receives paging, doing a TD measurement in passing is best power consumption solution; If the td position that this paging cycle is 13 integral multiple to be run into can cause measuring the time all is the same, again because the GSM frame less than the length of td frame, therefore can occur possibly all bumping the ts0 less than td forever in 1 GSM frame at every turn; And because paging cycle and 13 relatively prime; Can guarantee that each td position of measuring is all in slip; Just can guarantee that measuring td according to paging cycle can slide in a GSM frame, carry out the td measurement when time in the space that slides into the GSM frame, thereby guaranteed power consumption.
Under the GSM connection mode: through background 3, can see, the existence of idle time slot is all arranged on the integral multiple of 13 frames, and maximum be no more than 26 frames no matter be full rate or half rate.Simultaneously because under the GSM connection mode, working time slot has only 1, so with 13 frame integral multiples on the empty slot that links to each other of idle frame must satisfy the condition of synchronous TD so greater than 1.Again owing to there is the idle frame of the integral multiple of 13 frames; Satisfy so that TD system and gsm system obtain corresponding condition fully on frame boundaries behind 12 TD subframes of every mistake and 13 GSM frames of every mistake; Then can carry out the synchronous of TD network several times, and find TD position accurately.Here maximum operating position is listed for example, it is all corresponding satisfied that promptly this condition can satisfy all the other conditions.Fig. 8 is that the time slot that is reflected in subscriber equipment (User Equipment is called for short " UE ") side uses figure.Uplink and downlink timeslot number is consistent in the reality, is descending 3 time slots in up evening, referring to background 6.
Under the GPRS pattern: through background 4, can see, correspond in 52 multi-frames no matter be full rate or half rate; The 12nd, 25,38; 51 frames (with 0 as first frame); All be idle frame on the integral multiple frame of these 13 frames, so remaining will confirm that it is empty that the frame adjacent with this idle frame has a time slot at least, satisfies the time requirement of synchronous TD network.
Can know by background 6, in gsm system, if transmitting-receiving exists simultaneously, 2 time slots of fixed interval between ascending time slot and the descending time slot, and up be later than descending.
We take the time slot of CLASS12 to use maximum situation to carry out time slot reasoning (CLASS12 can realize that the more CLASS1-CLASS11 of idle time slot more can realize) so, and in order to discuss conveniently, we are defined as 0 time slot with first descending time slot.
In the configuration of CLASS12, can know that from background 5 total timeslot number is 5, and will satisfy T
Ra=2, T
Rb=1.
The configuration of CLASS12 is decomposed and respectively with illustrating:
Situation on 4 times 1: according to background 5 and will satisfy Tra=2, have only a kind of configuration under the situation of Trb=1 like Fig. 9.
Situation on 3 times 2: according to background 5 and will satisfy Tra=2, have only a kind of configuration under the situation of Trb=1 like Figure 10.
Situation on 2 times 3: according to background 5 and will satisfy Tra=2, have only a kind of configuration under the situation of Trb=1 like Figure 11.
Situation on 1 time 4: according to background 5 and will satisfy Tra=2, have only a kind of configuration under the situation of Trb=1 like Figure 12.
In fact, be not difficult to find that as long as Tra=2, the condition of Trb=1 just can satisfy 2 time slots that are spaced apart between former frame and back one frame.Through above analytical calculation, under the GPRS, CLASS12 has satisfied 1 GSM frame+1 GSM time slots demand fully.
Said method no matter is for the situation of single antenna list base band or the situation of single antenna double-basis band and double antenna double-basis band and double antenna list base band can be suitable for.
Method execution mode of the present invention can be realized with software, hardware, firmware or the like mode.No matter the present invention be with software, hardware, or the firmware mode realize; Instruction code can be stored in the memory of computer-accessible of any kind (for example permanent or revisable; Volatibility or non-volatile; Solid-state or non-solid-state, medium fixing or that change or the like).Equally; Memory can for example be programmable logic array (Programmable Array Logic; Abbreviation " PAL "), random access memory (Random Access Memory; Abbreviation " RAM "), programmable read only memory (Programmable Read Only Memory is called for short " PROM "), read-only memory (Read-Only Memory is called for short " ROM "), Electrically Erasable Read Only Memory (Electrically Erasable Programmable ROM; Abbreviation " EEPROM "), disk, CD, digital versatile disc (Digital Versatile Disc is called for short " DVD ") or the like.
Second embodiment of the invention relates to a kind of dual-mode terminal, and this dual-mode terminal is operated under GSM and/or the GPRS, and wherein shown in figure 13 with the structure of TD sync correlation, this dual-mode terminal comprises:
Lock unit is used for the TD subframe of TD-SCDMA system is carried out synchronously.
Control unit; Be used to control lock unit successively N lock in time sheet the TD subframe is carried out synchronously; Each adjacent lock in time sheet starting point between the multiple that is spaced apart 13 GSM frames, wherein N is greater than 1, each, the length of sheet added a GSM time slot more than or equal to 1 GSM frame lock in time.In the preferred example of the present invention, under GSM half rate, GPRS full rate or GPRS half-rate mode, each adjacent lock in time sheet starting point between be spaced apart 13 GSM frames; Under the GSM full-rate mode, each adjacent lock in time sheet starting point between be spaced apart 26 GSM frames.Be identical at interval between each of the sheet generally adjacent lock in time; Interval between some occasion each of sheet also can be different adjacent lock in time; For example have 5 lock in time sheet; Promptly have the interval between four lock in time sheet starting points, first, the 3rd interval can be 13 GSM frames, and second, the 4th interval can be 26 GSM frames.
Statistic unit, be used for to lock unit N lock in time sheet synchronized result add up, with the identical result that occupies the majority as final synchronized result.In a preferred example of the present invention, N is 5, if 4 times come to the same thing arranged among the 5 subsynchronous results, then statistic unit with these 4 identical results as final synchronized result.
First execution mode is and the corresponding method execution mode of this execution mode, this execution mode can with the enforcement of working in coordination of first execution mode.The correlation technique details of mentioning in first execution mode is still effective in this execution mode, in order to reduce repetition, repeats no more here.Correspondingly, the correlation technique details of mentioning in this execution mode also can be applicable in first execution mode.
Need to prove; Each unit of mentioning in each equipment execution mode of the present invention all is a logical block, and physically, a logical block can be a physical location; It also can be the part of a physical location; Can also realize that the physics realization mode of these logical blocks itself is not most important with the combination of a plurality of physical locations, the combination of the function that these logical blocks realized is the key that just solves technical problem proposed by the invention.In addition, for outstanding innovation part of the present invention, above-mentioned each the equipment execution mode of the present invention will not introduced with solving the not too close unit of technical problem relation proposed by the invention, and this does not show that there is not other unit in the said equipment execution mode.
Though through reference some preferred implementation of the present invention; The present invention is illustrated and describes; But those of ordinary skill in the art should be understood that and can do various changes to it in form with on the details, and without departing from the spirit and scope of the present invention.