Summary of the invention
Main purpose of the present invention is to provide a kind of GSM method of measurement and device, be intended to solve the TD GAP time that time slot configuration produces under the DCH state and the nonsynchronous problem of GSM frame and work as the GAP time more in short-term, how to improve the problem of measuring efficiency, simplify the TPU design of GSM, improve the measurement efficiency of GSM, promote user's experience.
The invention provides a kind of GSM method of measurement, comprise the following steps:
Start time with the initiating terminal of GSM frame alignment free time GAP;
Increase maintenance information in described GSM frame, and when time-division TD arrives GAP, start GSM according to the TPU event table and measure;
After described GSM measures and finishes,, according to described maintenance information, recover normal GSM frame regularly.
Preferably, the described step that will the initiating terminal of GSM frame also comprises before the step of start time of alignment GAP:
Tuning processing unit TPU event table in GSM is set.
Preferably, the step of the TPU event table in the described GSM of setting specifically comprises:
Preset TPU event corresponding different time points in the GSM frame;
The corresponding different time points of described TPU event is write the TPU event table;
, according to the different demands that GSM measures, control the different event groups in described TPU event table.
Preferably, carrying out the radio frequency of GSM stable is to utilize the operating time of TD to realize.
Preferably, the RF of the described GSM of carrying out is stabilized in the time span realization that described GSM frame initiating terminal carries out the RF configuration, reports virtual GAP starting point and described GAP by TD.
The present invention also provides a kind of GSM measurement mechanism, comprising:
The time unifying module, be used for the start time of the initiating terminal of GSM frame alignment GAP;
Information increases module, and being used for increases maintenance information at described GSM frame, and when TD arrives GAP, starts GSM according to the TPU event table and measure;
The GSM frame recovers module, is used for after described GSM measures end,, according to described maintenance information, recovers normal GSM frame regularly.
Preferably, described GSM measurement mechanism also comprises:
TPU arranges module, is used for arranging the TPU event table of GSM.
Preferably, described TPU arranges module and specifically comprises:
The time point preset unit, be used for preset TPU event corresponding different time points in the GSM frame;
The time point writing unit, be used for the corresponding different time points of described TPU event is write the TPU event table;
The event group control unit, be used for the different demands of measuring according to GSM, controls the different event groups in described TPU event table.
Preferably, carrying out the RF of GSM stable is to utilize the operating time of TD to realize.
Preferably, the RF of the described GSM of carrying out is stabilized in described GSM frame initiating terminal and carries out RF configuration, by TD, reports virtual GAP starting point and the length of described GAP time to realize.
The present invention by the TPU event with GSM design staticize, utilize operating time of TD to carry out the stable method of RF of GSM, the FCB search and the SB that have realized simplification, ease for maintenance and the GSM of TPU design confirm that heavily success rate reaches 100% beneficial effect, guaranteed the performance of handoffs of TD/GSM bimodulus, exempted the term of execution of program the instable problem of program that the frequent adjustment to the TPU time brings, be convenient to the RF device is transplanted, reduce the coupling of RF device property to the physical layer software design, improved systematic function.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 2, Fig. 2 is GSM method of measurement the first embodiment schematic flow sheet of the present invention.As shown in Figure 2, GSM method of measurement of the present invention comprises the following steps:
Step S01, with the start time of the initiating terminal of GSM frame alignment GAP;
With reference to Fig. 3, Fig. 3 is the GAP view under the TD connection status in prior art.As shown in Figure 3, in a preferred embodiment, under the TD connection status, the GAP state of TD is positioned at the TD subframe mid portion of interrupt cycle.The GAP time that provides under the DCH state according to TD changes, and when the GAP arrival need to be carried out the GSM measurement, the initiating terminal of adjusting the GSM frame snapped to the starting point of GAP, and with reference to Fig. 4, Fig. 4 is GSM framing control view in GSM method of measurement of the present invention.As shown in Figure 4, with the initiating terminal of GSM frame by the align time starting point of GAP of the adjustment of GSM frame length, the RF configuration that so just can guarantee GSM is completed within the time at GAP, thereby can be with the RF of TD configuration due to shared RFC(Radio Frequency Controller, rf control unit) and conflict in generation RF configuration.Simultaneously, due to the adjustment to the GSM frame, therefore the Switch Control of antenna also becomes easy; Always be aligned in the starting point of GAP because measure frame, like this, antenna only need to switch with regard to passable at the initiating terminal of GSM frame.
Step S02, increase maintenance information in described GSM frame, and when TD arrives GAP, start GSM according to the TPU event table and measure;
Owing to adopting the alignment strategy to carry out GSM framing control in step S01, thereby cause the time of GSM one frame to grow than the time 4.615ms of actual GSM one frame, need to increase maintenance information in the GSM frame, thereby make after GSM measures end, can recover normal GSM frame regularly according to described maintenance information, also be convenient to the unified time measurement simultaneously and carry out the measurement result of maintenance record GSM residential quarter; In a preferred embodiment, adopt the structure of a frame number+frame bias internal amount to upgrade the maintenance that can realize the GSM frame.Simultaneously, when TD arrives GAP, utilize the free time of TD, carry out according to actual needs GSM and measure.When described GSM measures, according to difference, need to call different event groups in the TPU event table, complete the measurement of GSM.
After step S03, described GSM measure and finish,, according to described maintenance information, recover normal GSM frame regularly.
The GSM frame maintenance information that increases according to step S02, measuring while finishing, and disposablely synchronously adjusts to normal GSM frame.As shown in Figure 4, when measurement result is calculated, when the result that especially FCB searches for and SB heavily confirms relates to the preservation of synchronous timing information, the information of must carrying out take normal GSM frame as benchmark is preserved, the reference data of all like this GSM adjacent cells could be consistent, also can guarantee the validity of synchronizing information between each GSM adjacent cell, be convenient to the follow-up processing such as bimodulus switching.
The RF that carries out GSM in GSM method of measurement of the present invention is stable is to utilize the operating time of TD to realize.
In a preferred embodiment, the RF of the described GSM of carrying out is stabilized in described GSM frame initiating terminal and carries out the RF configuration, and by TD, reports the time span of virtual GAP starting point and described GAP to realize.because TD may only quote the GAP of 2 TD time slots under DCH dress state, after the certain guard time interval of deduction, the time that is actually used in the GSM measurement can be also shorter than the time of 2 TD time slots, while starting to carry out the configuration of RF of GSM from the starting point of GAP, due to RF, also need certain stabilization time after configuring, this time generally can be greater than 100us, and being actually used in like this length of window that GSM receives can be shorter, this receiver window is very crucial for the heavily confirmation of FCB search or SB, because the FCB search is in the situation that the unknown of GSM subdistrict position is carried out, and the time of 12 TD subframes is identical with the time of 13 GSM subframes, the GAP time that is TD also has one-period with respect to GSM, namely have the situation that may forever can not find GSM residential quarter FCB, in this GAP situation, the success rate of FCB search is greatly about 80% left and right, this success rate on the bimodulus switching has larger impact, because TD is switched to GSM, the BSIC(Base Station Identity Code of successful GSM residential quarter must be arranged, therefore base station identity code) information, need to increase the receiver window of GSM as possible, except some RF operations of GSM, after RF configures, wait for that stablizing of RF also taken the regular hour, the actual end stage of considering the TD operating time, the action that may need to use RFC control unit (if by control unit, controlling rather than the control of GPIO mouth) only has one namely to close RF, the end a period of time before that therefore RF of GSM configuration can be put into the operating time section of TD carries out, the RFC operation of the RFC of GSM operation and TD is kept apart by a bit of guard time, just can avoid overlapping owing to sharing one the conflict that the RFC control unit produces between the two, because the RF of TD and GSM is independently, thereby the end a period of time that the needed time just can take the operating time section of TD of stablizing after the RF of GSM configuration completes, namely after finishing, is switched to again the operating time of real TD the operating state of GSM.AFC(Automatic Frequency Control for TD and GSM, automatic frequency is controlled) independent situation about controlling, after also must finishing in the operating time of TD, the control of AFC is switched to again the AFC of GSM, so just can be so that the FCB receive window reaches maximization as far as possible, close to the length of 2 TD time slots; The GAP that TD is reported is a mobile preset pre-set time forward,, as the virtual GAP starting point of an increase, simultaneously, dispatch preset TPU and show to carry out frame to GSM and align and can realize.In a preferred embodiment, take the RF typical operation of GSM as example, as shown in Figure 5; With reference to Fig. 5, Fig. 5 is the interspersed RF operation chart of GSM in GSM method of measurement of the present invention.The success rate that the FCB of GSM searches for or SB heavily confirms has in actual applications reached 100%.
The present embodiment GSM method of measurement is by the start time with the initiating terminal of GSM frame alignment GAP, increase maintenance information to the synchronizing information of described GSM frame, and start the GSM measurement and when described GSM measures end, according to described maintenance information, recover normal GSM frame regularly when TD arrives GAP; Simultaneously, utilize the TD operating time to carry out the stable method of RF of GSM, realized that FCB search and the SB of GSM confirms that heavily success rate reaches 100% beneficial effect, reduced the coupling of RF device property to the physical layer software design, be convenient to the RF device is transplanted, improved systematic function.
With reference to Fig. 6, Fig. 6 is GSM method of measurement the second embodiment schematic flow sheet of the present invention.As shown in Figure 6, GSM method of measurement of the present invention also comprises step before at step S01, with the step of the start time of the initiating terminal of GSM frame alignment GAP:
S00, the TPU event table in GSM is set.
In the present embodiment,, take the design basis of GSM normal frame as the TPU event table, namely from GSM frame initiating terminal, start to carry out the design of the TPU event table that GSM measures, thereby the TPU event in GSM one frame all is designed to the form of static table; In a preferred embodiment, when opening initialization, described TPU event table directly is cured to the RAM(Random Access Memory of TPU, random access memory) in event table; The time point of described TPU event table will no longer change, and only change the content in some event table, and the difference while meeting the GSM measurement receives demand, as the demand that arranges of frequency or gain; Therefore, in a preferred embodiment, can design according to the characteristics of different RF device described TPU event table.
At first the present embodiment GSM method of measurement by arranging the method for the TPU event table in GSM, the simplification of TPU design, the beneficial effect of ease for maintenance have been realized, guaranteed the performance of handoffs of TD/GSM bimodulus, exempt the term of execution of program the instable problem of program that the frequent adjustment to the TPU time brings, improved further systematic function.
With reference to Fig. 7, Fig. 7 is the TPU event table one embodiment schematic flow sheet that arranges in GSM method of measurement of the present invention in GSM.As shown in Figure 7, in GSM method of measurement of the present invention, the step that the TPU event table in GSM is set specifically comprises:
Step S11, preset TPU event corresponding different time points in the GSM frame;
With the design staticize of the TPU event in GSM, namely with the zero-time of a frame of GSM normal frame, start to receive and carry out the design of TPU event, in advance TPU event corresponding different time points in a GSM frame is set;
Step S12, the corresponding different time points of described TPU event is write the TPU event table;
Described TPU event and the corresponding different time points of described TPU event thereof are write the TPU timetable; In a preferred embodiment, can directly when system initialization, described TPU timetable be write in the ram table of TPU;
Step S13, according to the different demands that GSM measures, control the different event groups in described TPU event table;
The different demands of GSM when measuring, control different event groups in described TPU event table and complete the measurement of GSM.
At first the present embodiment GSM method of measurement by arranging the method for the TPU event table in GSM, the simplification of TPU design, the beneficial effect of ease for maintenance have been realized, guaranteed the performance of handoffs of TD/GSM bimodulus, exempt the term of execution of program the instable problem of program that the frequent adjustment to the TPU time brings, improved further systematic function.
With reference to Fig. 8, Fig. 8 is GSM measurement mechanism the first example structure schematic diagram of the present invention.As shown in Figure 8, GSM measurement mechanism of the present invention comprises:
Time unifying module 01, be used for the start time of the initiating terminal of GSM frame alignment GAP;
In a preferred embodiment, under the TD connection status, the GAP state of TD is positioned at the TD subframe mid portion of interrupt cycle, as shown in Figure 3.The GAP time that provides under the DCH state according to TD changes, when the GAP arrival need to be carried out the GSM measurement, the initiating terminal that time unifying module 01 is adjusted the GSM frame snaps to the starting point of GAP, as shown in Figure 4, time unifying module 01 with the initiating terminal of GSM frame by the align time starting point of GAP of the adjustment of GSM frame length, the RF configuration that so just can guarantee GSM is completed within the time at GAP, thereby can be with the RF of TD configuration due to shared RFC(Radio Frequency Controller, rf control unit) and conflict in generation RF configuration.Simultaneously, due to the adjustment of 01 pair of GSM frame of time unifying module, therefore the Switch Control of antenna also becomes easy; Always be aligned in the starting point of GAP because measure frame, like this, antenna only need to switch with regard to passable at the initiating terminal of GSM frame.
Information increases module 02, and being used for increases maintenance information at the GSM frame, and when TD arrives GAP, starts GSM according to the TPU event table and measure;
Because adopting the alignment strategy, time unifying module 01 carried out GSM framing control, thereby cause the time of GSM one frame to grow than the time 4.615ms of actual GSM one frame, need information to increase module 02 and increase maintenance information in the GSM frame, thereby make after GSM measures end, information increases module 02 can recover normal GSM frame regularly according to described maintenance information, also is convenient to the unified time measurement simultaneously and carrys out the measurement result of maintenance record GSM residential quarter; In a preferred embodiment, information increases module 02 and adopts the structure of a frame number+frame bias internal amount to upgrade the maintenance that can realize the GSM frame.Simultaneously, when TD arrives GAP, utilize the free time of TD, carry out according to actual needs GSM and measure.When described GSM measures, according to difference, need to call different event groups in the TPU event table, complete the measurement of GSM.
The GSM frame recovers module 03, is used for after described GSM measures end,, according to described maintenance information, recovers normal GSM frame regularly.
Increase according to information the GSM frame maintenance information that module 02 increases, measuring while finishing, the GSM frame recovers that module 03 is disposable synchronously adjusts to normal GSM frame.As shown in Figure 4, when measurement result is calculated, when the result that especially FCB searches for and SB heavily confirms relates to the preservation of synchronous timing information, the information of must carrying out take normal GSM frame as benchmark is preserved, the reference data of all like this GSM adjacent cells could be consistent, also can guarantee the validity of synchronizing information between each GSM adjacent cell, be convenient to the follow-up processing such as bimodulus switching.
The RF that carries out GSM in GSM method of measurement of the present invention is stable is to utilize the operating time of TD to realize.
In a preferred embodiment, the RF of the described GSM of carrying out is stabilized in described GSM frame initiating terminal and carries out the RF configuration, and by TD, reports the time span of virtual GAP starting point and described GAP to realize.because TD may only quote the GAP of 2 TD time slots under DCH dress state, after the certain guard time interval of deduction, the time that is actually used in the GSM measurement can be also shorter than the time of 2 TD time slots, while starting to carry out the configuration of RF of GSM from the starting point of GAP, due to RF, also need certain stabilization time after configuring, this time generally can be greater than 100us, and being actually used in like this length of window that GSM receives can be shorter, this receiver window is very crucial for the heavily confirmation of FCB search or SB, because the FCB search is in the situation that the unknown of GSM subdistrict position is carried out, and the time of 12 TD subframes is identical with the time of 13 GSM subframes, the GAP time that is TD also has one-period with respect to GSM, namely have the situation that may forever can not find GSM residential quarter FCB, in this GAP situation, the success rate of FCB search is greatly about 80% left and right, this success rate on the bimodulus switching has larger impact, because TD is switched to GSM, the BSIC(Base Station Identity Code of successful GSM residential quarter must be arranged, therefore base station identity code) information, need to increase the receiver window of GSM as possible, except some RF operations of GSM, after RF configures, wait for that stablizing of RF also taken the regular hour, the actual end stage of considering the TD operating time, the action that may need to use RFC control unit (if by control unit, controlling rather than the control of GPIO mouth) only has one namely to close RF, the end a period of time before that therefore RF of GSM configuration can be put into the operating time section of TD carries out, the RFC operation of the RFC of GSM operation and TD is kept apart by a bit of guard time, just can avoid overlapping owing to sharing one the conflict that the RFC control unit produces between the two, because the RF of TD and GSM is independently, thereby the end a period of time that the needed time just can take the operating time section of TD of stablizing after the RF of GSM configuration completes, namely after finishing, is switched to again the operating time of real TD the operating state of GSM.AFC(Automatic Frequency Control for TD and GSM, automatic frequency is controlled) independent situation about controlling, after also must finishing in the operating time of TD, the control of AFC is switched to again the AFC of GSM, so just can be so that the FCB receive window reaches maximization as far as possible, close to the length of 2 TD time slots; The GAP that TD is reported is a mobile preset pre-set time forward,, as the virtual GAP starting point of an increase, simultaneously, dispatch preset TPU and show to carry out frame to GSM and align and can realize.In a preferred embodiment, take the RF typical operation of GSM as example, as shown in Figure 5; With reference to Fig. 5, Fig. 5 is the interspersed RF operation chart of GSM in GSM method of measurement of the present invention.The success rate that the FCB of GSM searches for or SB heavily confirms has in actual applications reached 100%.
The present embodiment GSM measurement mechanism is by the start time with the initiating terminal of GSM frame alignment GAP, increase maintenance information to the synchronizing information of described GSM frame, and start the GSM measurement and when described GSM measures end, according to described maintenance information, recover normal GSM frame regularly when TD arrives GAP; Simultaneously, utilize the TD operating time to carry out the stable method of RF of GSM, realized that FCB search and the SB of GSM confirms that heavily success rate reaches 100% beneficial effect, reduced the coupling of RF device property to the physical layer software design, be convenient to the RF device is transplanted, improved systematic function.
With reference to Fig. 9, Fig. 9 is GSM measurement mechanism the second example structure schematic diagram of the present invention.As shown in Figure 9, GSM measurement mechanism of the present invention also comprises:
TPU arranges module 00, is used for arranging the TPU event table of GSM.
In the present embodiment, take the design basis of GSM normal frame as the TPU event table, TPU arranges module 00 and starts to carry out the design of the TPU event table that GSM measures from GSM frame initiating terminal, thereby the TPU event in GSM one frame all is designed to the form of static table; In a preferred embodiment, when opening initialization, TPU arranges module 00 and described TPU event table directly is cured to the RAM(Random Access Memory of TPU, random access memory) in event table; The time point of described TPU event table will no longer change, and only change the content in some event table, and the difference while meeting the GSM measurement receives demand, as the demand that arranges of frequency or gain; Therefore, in a preferred embodiment, TPU arranges module 00 can design according to the characteristics of different RF device described TPU event table.
At first the present embodiment GSM measurement mechanism by arranging the method for the TPU event table in GSM, the simplification of TPU design, the beneficial effect of ease for maintenance have been realized, guaranteed the performance of handoffs of TD/GSM bimodulus, exempt the term of execution of program the instable problem of program that the frequent adjustment to the TPU time brings, improved further systematic function.
With reference to Figure 10, Figure 10 is that in GSM measurement mechanism of the present invention, TPU arranges module one example structure schematic diagram.As shown in figure 10, in GSM measurement mechanism of the present invention, TPU arranges module 00 and specifically comprises:
Time point preset unit 11, be used for preset TPU event corresponding different time points in the GSM frame;
Time point preset unit 11 is the design staticize of the TPU event in GSM, namely with the zero-time of a frame of GSM normal frame, starts to receive and carries out the design of TPU event, in advance TPU event corresponding different time points in a GSM frame set;
Time point writing unit 12, be used for the corresponding different time points of described TPU event is write the TPU event table;
Time point writing unit 12 writes the TPU timetable with described TPU event and the corresponding different time points of described TPU event thereof; In a preferred embodiment, can directly when system initialization, described TPU timetable be write in the ram table of TPU;
Event group control unit 13, be used for the different demands of measuring according to GSM, controls the different event groups in described TPU event table.
The different demands of event group control unit 13 GSM when measuring, control different event groups in described TPU event table and complete the measurement of GSM.
At first the present embodiment GSM measurement mechanism by arranging the method for the TPU event table in GSM, the simplification of TPU design, the beneficial effect of ease for maintenance have been realized, guaranteed the performance of handoffs of TD/GSM bimodulus, exempt the term of execution of program the instable problem of program that the frequent adjustment to the TPU time brings, improved further systematic function.
The foregoing is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.