Obtain the method for transmission intercal information under the 3-G (Generation Three mobile communication system) compact model
Technical field
The present invention relates to the 3G (Third Generation) Moblie technical field, particularly portable terminal compressed mode transmission control technology field in the 3-G (Generation Three mobile communication system) specifically refers to obtain under a kind of 3-G (Generation Three mobile communication system) compact model the method for transmission intercal information.
Background technology
User's mobile communication equipment (UE) generally has only single set transmit-receive letter machine, so must be at the signal quality of measurement target frequency cells under the compact model when carrying out different-frequency measure.The principle of compact model is that the transmitting-receiving process in UE and base station reserves certain time interval, at this moment in the interbody spacer, UE can carry out signal measurement to alien-frequency district (residential quarter of different frequency) or intersystem cell (as global system for mobile communications (GSM) residential quarter), and measurement result will be as the basis for estimation of whether carrying out switching.
In the process that compact model uses, in fact tailed off the effective time that Wideband Code Division Multiple Access (WCDMA) (WCDMA) system is used for transmitting data, so how to solve the normal transmission of data, is the key point that compressed mode techniques will solve.Define 3 kinds of modes among the WCDMA and realized compact model:
(1) reduces message transmission rate by high level and be reduced in during the compact model transmission rate of data on the air interface, satisfy the Transmission Time Interval requirement.
(2) improve message transmission rate by being reduced in the spreading factor (SF) that uses during the compact model, satisfy the Transmission Time Interval requirement, when making in this way, need the power of corresponding raising data emission.
(3) reduce data rate by the punching technology in the physical layer multiplex process (data are not transmitted in the position in the hole), satisfy the Transmission Time Interval requirement.The benefit of doing like this is the not influence of use to the cell channel sign indicating number.
See also shown in Figure 1ly, the basic conception that wherein relates to is as follows:
Normal frame (Normal frame), individual frames (Single frame), first radio frames (First frame), second radio frames (second frame), interval frame (gap frame).
Be the single frames method as Fig. 1 a, (gap) drops in the frame at interval, and this frame definition is single frame;
Be two frame methods as Fig. 1 b, gap crosses over 2 frames, and then first radio frames is defined as first frame, and second radio frames is defined as second frame.Three kinds of frame above all are called gap frame.Without any the frame of gap, be called Normal frame.
In compact model, in transmission intercal length (Transmission Gap Length), the transmission of data that it goes without doing from time slot Nfirst to Nlast.See also shown in Figure 2.
Nfirst refers to the beginning time slot of continuous idle time slot, Nfirst=0,1,2,3 ..., 14.Nlast represents final idle timeslot number.
Under compact model, the interior spreading factor of radio frames reduces by half, and makes information bit transmit in the remaining time slots of condensed frame.But when SF=4, do not support that spreading factor reduces by half.
Be the request that responds from high level, grounding wireless access network network (UTRAN) can be notified the parameter of UE compact model.
Transmission intercal mode sequences (TGPS, Transmission Gap Pattern Sequence) can be selected transmission intercal pattern 1 and pattern 2, and each pattern comprises one or two transmission intercals, as shown in Figure 2.
Parametric description as follows a transmission intercal pattern:
● TGSN(transmission intercal start timeslot number): the transmission intercal pattern starts from a radio frames, and this radio frames just is called first radio frames of transmission intercal pattern, comprises at least one transmission intercal time slot.TGSN is the timeslot number of first interior transmission intercal time slot of first radio frames of transmission intercal pattern;
● the TGL1(first transmission intercal length): be defined as the length of first transmission intercal in the transmission intercal pattern, in number of time slots.
● the TGL2(second transmission intercal length): be defined as the length of second transmission intercal in the transmission intercal pattern, in number of time slots.If high level does not clearly indicate this parameter, make TGL2=TGL1 so;
● the initial distance of TGD(transmission intercal): be defined as the length between the initial time slot of two continuous transmission intercals in a transmission intercal pattern, in number of time slots.Final in radio frames second position that sends the gap should meet restriction among the TS25.212.If high level does not arrange this parameter, in the transmission intercal pattern, just has only a transmission intercal so;
● the TGPL1(first transmission intercal modal length): be defined as the length of the first transmission intercal pattern, in the frame number;
● the TGPL2(second transmission intercal modal length): be defined as the length of the second transmission intercal pattern, in the frame number; If high level does not clearly indicate this parameter, TGPL2=TGPL1 so.
Beginning and the repetition of following parameter control transmission intercal pattern sequence:
● TGPRC(transmission intercal pattern repeats number): the number that is defined as the transmission intercal pattern in the transmission intercal mode sequences;
● TGCFN(transmission intercal Connection Frame Number): the CFN that is defined as first radio frames of first pattern in the transmission intercal mode sequences.
High-rise meeting guarantees that compact model at interval can be not overlapping, also can not be arranged in same frame to occur.Action when overlapping the generation has been described in the TS25.302 agreement.UE does not support that two gap are arranged in the frame.
In all cases, high level can be controlled the parameter of each UE.Under the order of high level, all style sequences can stop.
Parameter TGSN, TGL1, TGL2, TGD, TGPL1, TGPL2, TGPRC and TGCFN should be integer.
Fig. 2 is based on Release5.8 Frame(Frame1 have been crossed over altogether to Frame8 in the first transmission intercal pattern (TG pattern1)).Each grid represents a frame.
First gap crosses over 2 frames, is respectively Frame1 and Frame2.Second Gap is within Frame5.So only need preserve the information of 3 Gap Frame.Be respectively Frame1,2,5.
WCDMA physical layer transmission channel is that unit handles to physical channel mapping part with the frame, utilizing compact model to carry out different-frequency measure (measuring the cell signal with the Active Set different frequency), is unit configure hardware and digital signal processing chip (DSP) equally with the frame.According to the configuration information of every frame, hardware can distinguish correctly whether Gap is arranged in the present frame.
The implication of Gap frame refers to that Gap is arranged in the frame, namely needs the frame that punches.
In order correctly to obtain the zero-time of Gap, need judge the type of Gap frame in advance.Start and end time with the mode of judging the Gap frame type can simply be obtained Gap, in Gap, carrying out different-frequency measure, provide temporal assurance.
At present, obtain in the prior art in the method for transmission time slot location parameter in the radio frames, calculate the relative compressed mode transmission that activates of present frame at interval the pattern relative frame number that starts frame number be the mode that adopts wheel number.For example: current frame number is 120, TGCFN=100, and wheel number is 2, and then present frame with respect to the frame number of TGCFN is: 120+2 * 256-100=532.
This processing method itself is comparatively complicated, and can't satisfy the requirement of obtaining fast.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art, provide a kind of information that can quick and precisely obtain transmission intercal and transmission intercal concrete time location, handle the method that simple and fast, stable and reliable working performance, the scope of application are obtained transmission intercal information comparatively widely under the 3-G (Generation Three mobile communication system) compact model.
In order to realize above-mentioned purpose, the method for obtaining transmission intercal information under the 3-G (Generation Three mobile communication system) compact model of the present invention is as follows:
Portable terminal realizes obtaining fast under the compact model method of transmission intercal information in this 3-G (Generation Three mobile communication system), and its main feature is that described method may further comprise the steps:
(1) when setting up Dedicated Physical Data Channel, disposes the idle message that gets off according to radio resource control layer and obtain compact model information;
(2) be created on an interval frame template in the transmission intercal pattern according to described compact model information, preserve the information of frame at interval in the frame template of described interval;
(3) in up link and down link processing procedure, portable terminal judges whether compact model is activated;
(4) if compact model is not activated, then present frame is handled as normal frame, and returned above-mentioned steps (3);
(5) if compact model is activated, judge that then the time started of present frame is whether in the activationary time scope of compact model;
(6) if not, then present frame is handled as normal frame, and returned above-mentioned steps (3);
(7) if then portable terminal calculates present frame to the distance L of the starting position of affiliated transmission intercal pattern according to the Connection Frame Number of present frame;
(8) inquire about in the frame template of described interval according to this distance L, judge whether to exist and the starting position of affiliated transmission intercal pattern between be the interval frame of distance L;
(9) if exist, then carry out the hardware configuration of portable terminal according to the information of this interval frame;
(10) if there is no, then present frame is handled as normal frame, and returned above-mentioned steps (3);
(11) each frame at down link interrupts calculating next transmission intercal information constantly;
(12) the different-frequency measure zero hour under compact model, carry out hardware configuration according to this next one transmission intercal information, and carry out follow-up different-frequency measure and handle.
The compact model information that portable terminal is realized obtaining fast under the compact model in the method for transmission intercal information in this 3-G (Generation Three mobile communication system) comprises transmission intercal start timeslot number, the first transmission intercal length, the second transmission intercal length, the initial distance of transmission intercal, the first transmission intercal modal length, the second transmission intercal modal length, transmission intercal Connection Frame Number and compact model type.
The information that portable terminal realizes obtaining fast under the compact model interval frame in the method for transmission intercal information in this 3-G (Generation Three mobile communication system) comprises the beginning time slot, finishes the distance of the starting position of time slot, transmission intercal frame type and Distance Transmission interval mode.
The transmission intercal frame type that portable terminal is realized obtaining fast under the compact model in the method for transmission intercal information in this 3-G (Generation Three mobile communication system) comprises individual frames, first radio frames and second radio frames.
To realize obtaining fast under the compact model idle message in the method for transmission intercal information be the down physical channel reallocation message to portable terminal in this 3-G (Generation Three mobile communication system).
The portable terminal that portable terminal is realized obtaining fast under the compact model in the method for transmission intercal information in this 3-G (Generation Three mobile communication system) judges that whether compact model is activated, and may further comprise the steps:
(21) portable terminal judges whether the transmission intercal state flag bit tgps_status in the described down physical channel reallocation message is state of activation activate;
(22) if then return the result that compact model is activated;
(23) if not, then return the result that compact model is not activated.
Portable terminal realizes obtaining fast under the compact model time started of judging present frame in the method for transmission intercal information whether in the activationary time scope of compact model in this 3-G (Generation Three mobile communication system), may further comprise the steps:
(31) calculate the accurate time of advent of this frame according to the Connection Frame Number of present frame, and be accurate to time slot;
(32) judge whether be later than the time started of compact model this accurate time of advent;
(33) if then return the result of time started in the activationary time scope of compact model of present frame;
(34) if not, the time started of then the returning present frame result in the activationary time scope of compact model not.
Portable terminal is realized obtaining fast under the compact model and is calculated present frame to the distance L of the starting position of affiliated transmission intercal pattern in the method for transmission intercal information in this 3-G (Generation Three mobile communication system), may further comprise the steps:
(41) calculate the accurate time of advent of this frame according to the Connection Frame Number of present frame, and be accurate to time slot;
(42) with the described time started that deducts compact model the accurate time of advent, obtain time difference Time_Diff;
(43) obtain mould value M according to following formula:
M=(TGPL1+TGPL2)%Time_Diff;
Wherein, % is modulo operation, and TGPL1 is the first transmission intercal modal length, and TGPL2 is the second transmission intercal modal length;
(44) if mould value M greater than TGPL1, then obtains distance L according to following formula:
L=M-TGPL1;
(45) otherwise, with mould value M directly as distance L.
Portable terminal realizes obtaining fast under the compact model the next transmission intercal information of calculating in the method for transmission intercal information in this 3-G (Generation Three mobile communication system), may further comprise the steps:
(51) according to the type of the absolute time of current transmission intercal frame, current transmission intercal frame and the time slot distance of this frame boundaries of spacing distance in the next transmission intercal frame, calculate time started and the duration of next transmission intercal frame;
(52) described time started and duration are preserved.
Portable terminal is realized obtaining fast under the compact model and is carried out hardware configuration according to this next one transmission intercal information in the method for transmission intercal information in this 3-G (Generation Three mobile communication system), may further comprise the steps:
(61) be configured according to time started of described next transmission intercal frame timer to portable terminal;
(62) be configured according to duration of described next transmission intercal frame hardware to portable terminal.
To realize obtaining fast under the compact model 3-G (Generation Three mobile communication system) in the method for transmission intercal information be the WCDMA mobile communication system to portable terminal in this 3-G (Generation Three mobile communication system).
Adopted the method for obtaining transmission intercal information under the 3-G (Generation Three mobile communication system) compact model of this invention, owing to wherein use the absolute time of present frame to deduct the mode of the absolute time of transmission intercal Connection Frame Number, obtain the relative frame number that the relative compressed mode transmission interval mode that activates of present frame starts frame number, thereby fast, effectively, the information and the transmission intercal that have obtained the transmission intercal frame exactly cut time beginning and concluding time really, do not need simultaneously interim calculating, guaranteed the accuracy of transmission intercal due in, improved the efficient of system handles, handle simple and fast, stable and reliable working performance, the scope of application are comparatively extensive.
Description of drawings
Fig. 1 a, 1b are respectively constant transmissions interval location frame structure schematic diagram under the compact model of the prior art.
Fig. 2 be in the prior art under the compact model constant transmissions interval location frame structure decompose enlarged diagram.
Fig. 3 is for obtaining the flow chart of the method for transmission intercal information under the 3-G (Generation Three mobile communication system) compact model of the present invention.
Embodiment
In order more to be expressly understood technology contents of the present invention, describe in detail especially exemplified by following examples.
See also shown in Figure 3ly, portable terminal realizes obtaining fast under the compact model method of transmission intercal information in this 3-G (Generation Three mobile communication system), comprising following steps:
(1) when setting up Dedicated Physical Data Channel, disposes the idle message that gets off according to radio resource control layer and obtain compact model information; Described compact model information comprises transmission intercal start timeslot number, the first transmission intercal length, the second transmission intercal length, the initial distance of transmission intercal, the first transmission intercal modal length, the second transmission intercal modal length, transmission intercal Connection Frame Number and compact model type; Described idle message is the down physical channel reallocation message;
(2) be created on an interval frame template in the transmission intercal pattern according to described compact model information, preserve the information of frame at interval in the frame template of described interval; The information of described interval frame comprises the beginning time slot, finishes the distance of the starting position of time slot, transmission intercal frame type and Distance Transmission interval mode; Described transmission intercal frame type comprises individual frames, first radio frames and second radio frames;
(3) in up link and down link processing procedure, portable terminal judges that whether compact model is activated, and may further comprise the steps:
(a) portable terminal judges whether the transmission intercal state flag bit tgps_status in the described down physical channel reallocation message is state of activation activate;
(b) if then return the result that compact model is activated;
(c) if not, then return the result that compact model is not activated;
(4) if compact model is not activated, then present frame is handled as normal frame, and returned above-mentioned steps (3);
(5) if compact model is activated, whether the time started of then judging present frame in the activationary time scope of compact model, may further comprise the steps:
(a) calculate the accurate time of advent of this frame according to the Connection Frame Number of present frame, and be accurate to time slot;
(b) judge whether be later than the time started of compact model this accurate time of advent;
(c) if then return the result of time started in the activationary time scope of compact model of present frame;
(d) if not, the time started of then the returning present frame result in the activationary time scope of compact model not;
(6) if not, then present frame is handled as normal frame, and returned above-mentioned steps (3);
(7) if then portable terminal calculates present frame to the distance L of the starting position of affiliated transmission intercal pattern according to the Connection Frame Number of present frame, may further comprise the steps:
(a) calculate the accurate time of advent of this frame according to the Connection Frame Number of present frame, and be accurate to time slot;
(b) with the described time started that deducts compact model the accurate time of advent, obtain time difference Time_Diff;
(c) obtain mould value M according to following formula:
M=(TGPL1+TGPL2)%Time_Diff;
Wherein, % is modulo operation, and TGPL1 is the first transmission intercal modal length, and TGPL2 is the second transmission intercal modal length;
(d) if mould value M greater than TGPL1, then obtains distance L according to following formula:
L=M-TGPL1;
(e) otherwise, with mould value M directly as distance L;
(8) inquire about in the frame template of described interval according to this distance L, judge whether to exist and the starting position of affiliated transmission intercal pattern between be the interval frame of distance L;
(9) if exist, then carry out the hardware configuration of portable terminal according to the information of this interval frame;
(10) if there is no, then present frame is handled as normal frame, and returned above-mentioned steps (3);
(11) each frame at down link interrupts calculating next transmission intercal information constantly, may further comprise the steps:
(a) according to the type of the absolute time of current transmission intercal frame, current transmission intercal frame and the time slot distance of this frame boundaries of spacing distance in the next transmission intercal frame, calculate time started and the duration of next transmission intercal frame;
(b) described time started and duration are preserved;
(12) the different-frequency measure zero hour under compact model, carry out hardware configuration according to this next one transmission intercal information, and carry out follow-up different-frequency measure and handle, this carries out hardware configuration according to this next one transmission intercal information, may further comprise the steps:
(a) be configured according to time started of described next transmission intercal frame timer to portable terminal;
(b) be configured according to duration of described next transmission intercal frame hardware to portable terminal.
Wherein, described 3-G (Generation Three mobile communication system) is the WCDMA mobile communication system.
In the middle of practical application, the present invention is exactly in fact the physical layer punching of portable terminal under compact model computational methods constantly.Corresponding technical scheme is as follows:
1, at first when setting up physical channel DPDCH, an idle message that disposes according to radio resource control layer (RRC) layer obtains compact model information earlier.We generate the Gap Frame template in the transmission intercal pattern (Pattern) according to compact model information.Only preserve the information of Gap Frame in the template.
2, when the work of up, down link, terminal can convert according to the CFN of present frame obtain the distance L of present frame first radio frames in the affiliated Pattern, if it also is L that the position of a Gap Frame is arranged in the Pattern template of having kept, then gets the information of this Gap Frame and come configure hardware.
3, each frame at down link interrupts constantly the start and end time of all calculating next Gap.When the different-frequency measure under the compact model began, we can dispose the beginning of the good next Gap of calculated in advance and the correct time of end to hardware.
The specific implementation process is as follows:
(1) at first when setting up physical channel DPDCH, an idle message that disposes according to radio resource control layer (RRC) layer obtains compact model information earlier.We generate the Gap Frame template in the transmission intercal pattern (Pattern) according to compact model information.Only preserve the information of Gap Frame in the template.Because 2 Gap are arranged at most in the Pattern, so in 1 Pattern 4 Gap Frame are arranged at most.The main Gap place frame of preserving is accurate to frame and time slot to the distance of first radio frames of affiliated Pattern in the Gap Frame template.Suppose that network joins the compact model information of getting off and see also shown in Figure 2ly, first gap crosses over 2 frames, is respectively Frame1 and Frame2.Second Gap is within Frame5.So only need preserve the information of 3 Gap Frame.Be respectively Frame1,2,5.First radio frames distance of Pattern is respectively under arriving: 0,1,4;
(2) suppose that present frame is the Frame2 in the Pattern1.At first calculate the accurate time of advent of Frame2 according to the Connection Frame Number (CFN Connection Frame Number) of Frame2, be accurate to chip;
(3) according to idle message, for example whether the tgps_status in the down physical channel reallocation message is that activate judges whether compact model is activated, if compact model has activated and the time started that is later than compact model the time of advent of Frame2, carried out for the 4th step, otherwise this frame is not condensed frame, is Normal frame;
(4) with the time started that deducts compact model the accurate time of advent of Frame2, obtain time difference Time_Diff, Time_Diff is the distance that Frame2 reaches the compact model time started;
(5) Time_Diff obtains the distance of the affiliated Pattern1 of Frame2 distance starting position to (TGPL1+TGPL2) modulo operation;
(6) if this distance greater than TGPL1, illustrates Frame2 in Pattern2, need deduct TGPL1.As shown in Figure 2, the distance of Frame2 distance P attern1 starting position is L, L=1;
(7) as shown in Figure 2, in the Pattern template that configures before, inquire about, find that the distance of Gap Frame2 distance P attern starting position also equals 1.Give hardware the parameter configuration of the Gap Frame2 in the Pattern template, the Gap frame type is second frame.If not finding the distance of distance P attern starting position in the template of Pattern is 1 Gap Frame, then this frame is not condensed frame, is Normal frame;
(8) as shown in Figure 2, obtaining next Gap is corresponding Gap Frame5 in Pattern, and next Gap is carved with 3 Frame at interval when initial to Frame2, be respectively Frame2, Frame3, Frame4;
(9) next Gap time of advent is to add 3 Frame time intervals in the accurate time of advent of Frame2, and this time is disposed to hardware, and is ready for different-frequency measure in advance;
In the operating process of reality, corresponding concrete treatment step is as follows:
(1) at first when setting up Dedicated Physical Data Channel (DPDCH), disposes the physical channel reallocation message of getting off according to rrc layer earlier and obtain compact model information.
Comprise TGSN, TGL1, TGL2, TGD, TGPL1, TGPL2, TGCFN, compact model type etc.We generate a Gap Frame template in the Pattern according to compact model information.Only preserve the information of Gap Frame in the template.
Use a data structure to preserve the information of a Gap Frame.Because TG pattern circulates, so the information that just is equivalent to preserve all Pattern by the information of preserving Gap Frame in the Pattern.All stride under the situation of frame if consider two Gap, preserve 4 Gap Frame at most.
The information that each Gap Frame preserves comprises:
● the beginning time slot;
● finish time slot;
● the Gap frame type;
● the distance on distance P attern border
(2) in uplink and downlink link processing process, terminal can judge at first whether compact model activates, the time started of judging present frame, in the activationary time scope of compact model, if not just handling by normal frame, the frame type that returns was Normal Frame;
If in compact model activationary time scope, earlier as required according to the CFN of present frame, obtain present frame apart from the distance L on TG Pattern1 border, in the Pattern template, inquire about then, whether have certain Gap frame to equate with L to the distance on Pattern border.If have equally, then get the information of the Gap Frame of the correspondence position in the Pattern template and come configure hardware.Otherwise handle by normal frame, the frame type that returns is Normal Frame;
The condensed frame type of obtaining, main type has in 4, is respectively Normal_Frame, Single Frame, First_Frame, Second_Frame.
(3) according to the information of gained Gap frame, judge the position of next Gap in Pattern, calculate next Gap apart from the time difference of present frame.
According to the absolute time of present frame, the class of present frame and the GapBeginSlot of next Gap, calculate the time started of next Gap.The GapBeginSlot of next Gap refers in the Gap frame, and Gap is apart from the Slot distance of frame boundaries.Time started and the duration of the good next Gap of top calculating are preserved.Use when making things convenient for different-frequency measure.
(4) in the zero hour of compact model different-frequency measure, to calculate the time started of good next Gap above us and dispose to timer, the length of Gap disposes to hardware.
Arrive when the time of timer, can be in that the next Gap time started be carried out different-frequency measure accurately.
Adopted the method for obtaining transmission intercal information under the above-mentioned 3-G (Generation Three mobile communication system) compact model, owing to wherein use the absolute time of present frame to deduct the mode of the absolute time of transmission intercal Connection Frame Number, obtain the relative frame number that the relative compressed mode transmission interval mode that activates of present frame starts frame number, thereby fast, effectively, the information and the transmission intercal that have obtained the transmission intercal frame exactly cut time beginning and concluding time really, do not need simultaneously interim calculating, guaranteed the accuracy of transmission intercal due in, improved the efficient of system handles, handle simple and fast, stable and reliable working performance, the scope of application are comparatively extensive.
In this specification, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.