Summary of the invention
The main object of the present invention is to provide a kind of GSM measuring method and device, it is intended to solve TD at DCH
Under state time slot configuration produce the GAP time and the nonsynchronous problem of GSM frame and when the GAP time relatively
In short-term, how to improve the problem measuring efficiency, simplify the TPU design of GSM, improve the measurement of GSM
Efficiency, promotes the experience of user.
The invention provides a kind of GSM measuring method, comprise the following steps:
Start time by the initiating terminal alignment free time GAP of GSM frame;
Maintenance information is increased in described GSM frame, and when time-division TD arrives GAP, according to TPU event table
Start GSM to measure;
After described GSM measurement terminates, according to described maintenance information, recover the timing of normal GSM frame.
Preferably, also include before the step of the start time of described GAP that the initiating terminal of GSM frame is alignd
Step:
Tuning process unit TPU event table in GSM is set.
Preferably, the step of the TPU event table in the described GSM of setting specifically includes:
The different time points that preset TPU event is corresponding in GSM frame;
Different time points corresponding to described TPU event is write TPU event table;
The different demands measured according to GSM, control the different event groups in described TPU event table.
Preferably, the radio frequency carrying out GSM is stably to realize the working time utilizing TD.
Preferably, the RF carrying out GSM described in stably carries out RF configuration at described GSM frame initiating terminal, passes through
TD reports the time span of virtual GAP starting point and described GAP to realize.
Present invention also offers a kind of GSM measurement apparatus, including:
Time unifying module, for the start time of the GAP that alignd by the initiating terminal of GSM frame;
Information increases module, for increasing maintenance information in described GSM frame, and when TD arrives GAP
, start GSM according to TPU event table and measure;
GSM frame recovers module, for after described GSM measurement terminates, according to described maintenance information, extensive
Multiple normal GSM frame timing.
Preferably, described GSM measurement apparatus also includes:
TPU arranges module, for arranging the TPU event table in GSM.
Preferably, described TPU arranges module and specifically includes:
Time point preset unit, for the different time points that preset TPU event is corresponding in GSM frame;
Time point writing unit, for writing TPU thing by the different time points corresponding to described TPU event
Part table;
Event group control unit, for the different demands measured according to GSM, controls described TPU event table
In different event groups.
Preferably, the RF carrying out GSM is stably to realize the working time utilizing TD.
Preferably, the RF carrying out GSM described in stably carries out RF configuration at described GSM frame initiating terminal, passes through
TD reports the length of virtual GAP starting point and described GAP time to realize.
The present invention by designing static, utilizing the working time of TD to carry out GSM's by the TPU event of GSM
The method that RF is stable, it is achieved that the FCB search of simplification, ease for maintenance and the GSM of TPU design
Heavily confirm that with SB success rate reaches the beneficial effect of 100%, it is ensured that the switching of TD/GSM bimodulus
Can, eliminate program the term of execution to the TPU time frequently adjust bring program instability
The problem of property, it is simple to RF device is transplanted, reduces RF device property to physical layer software
The coupling of design, improves systematic function.
Detailed description of the invention
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.Should
Working as understanding, specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
It is GSM measuring method first embodiment schematic flow sheet of the present invention with reference to Fig. 2, Fig. 2.Such as Fig. 2 institute
Showing, GSM measuring method of the present invention comprises the following steps:
Step S01, the start time of GAP that the initiating terminal of GSM frame is alignd;
It is the GAP view under TD connection status in prior art with reference to Fig. 3, Fig. 3.Such as Fig. 3 institute
Showing, in a preferred embodiment, under TD connection status, the GAP state of TD is positioned at TD subframe
The mid portion of interrupt cycle.Change according to the GAP time that TD is given under DCH state, work as GA
P arrives when needing to carry out GSM measurement, and the initiating terminal adjusting GSM frame snaps to the starting point of GAP,
It is that in GSM measuring method of the present invention, GSM frame adjusts view with reference to Fig. 4, Fig. 4.As
Shown in Fig. 4, the initiating terminal of GSM frame was risen by align time of GAP of the adjustment of GSM frame length
Initial point, thus can ensure that the RF configuration of GSM completed within the GAP time, thus not
Can configure due to shared RFC(Radio Frequency Controller, radio frequency with the RF of TD
Controller) and produce the conflict in RF configuration.Simultaneously as the adjustment to GSM frame, antenna
The most therefore Switch Control becomes easy;Because measuring frame be always aligned in the starting point of GAP
, so, antenna has only to switch over the most permissible at the initiating terminal of GSM frame.
Step S02, the maintenance information that increases in described GSM frame, and when TD arrives GAP, according to TPU
Event table starts GSM and measures;
Owing to using alignment strategy to carry out GSM frame adjustment in step S01, thus cause GSM mono-frame
Time can be longer than the time 4.615ms of actual GSM mono-frame, then need to increase in GSM frame to safeguard letter
Breath, so that after GSM measurement terminates, can recover normal G according to described maintenance information
The timing of SM frame, also allows for measurement unified time simultaneously and safeguards the measurement knot of record GSM cell
Really;In a preferred embodiment, the structure of a frame number+frame bias internal amount is used to be updated
The maintenance to GSM frame can be realized.Meanwhile, when TD arrives GAP, the free time of TD is utilized
, carry out GSM measurement according to actual needs.When described GSM measures, need to call TP according to difference
Different event groups in U event table, completes the measurement of GSM.
After step S03, described GSM measurement terminate, according to described maintenance information, recover normal GSM frame
Regularly.
Information is safeguarded according to the GSM frame that step S02 increases, at the end of measuring, disposable synchronization control
To normal GSM frame.As shown in Figure 4, when calculating measurement result, especially FCB searches
When the result that rope and SB heavily confirm relates to the preservation of synchronous timing information, it is necessary to normal GS
Carrying out information preservation on the basis of M frame, the basis reference of the most all of GSM adjacent cell could be consistent
, also can guarantee that the effectiveness of synchronizing information between each GSM adjacent cell, it is simple to follow-up bimodulus is cut
Change etc. and to process.
The RF carrying out GSM in GSM measuring method of the present invention is stably to realize the working time utilizing TD
。
In a preferred embodiment, the RF carrying out GSM described in is stably carried out at described GSM frame initiating terminal
RF configures, and reports the time span of virtual GAP starting point and described GAP to realize by TD.
Owing to TD may only quote the GAP of 2 TD time slots under DCH dress state, when deducting certain protection
Between interval after, be actually used in GSM measure time can be shorter than the time of 2 TD time slots by one
A bit;When the configuration of the RF that the starting point of GAP proceeds by GSM, after configuring due to RF
Also needing to certain stabilization time, this time is generally larger than 100us, is so actually used in G
The length of window that SM receives can be comparatively short;This receive window for FCB search or SB heavily confirmation very
Key, owing to FCB search is carried out in the case of GSM cell Location-Unknown, and 12 TD
The time of subframe is identical with the time of 13 GSM subframes, i.e. the GAP time of TD is for GSM
Also have a cycle, i.e. there is the situation that may forever can not find GSM cell FCB;This GAP feelings
Under condition, the success rate of FCB search is about about 80%, and the success rate of bimodulus switching is had relatively by this
Big impact, because TD is switched to GSM it is necessary to have the BSIC(Base of successful GSM cell
Station Identity Code, base station identity code) information, it is therefore desirable to increase G as possible
The reception window of SM;In addition to some RF of GSM operate, after RF configures, wait stablizing of RF
Also regular hour, the actual end stage considering the TD working time, it may be necessary to make are occupied
Use RFC control unit (if being controlled rather than if the control of GPIO mouth) by control unit
Action only one of which i.e. close RF, therefore the RF of GSM can be configured the working time that be put into TD
A period of time before the end of section is carried out, and is operated by the RFC of GSM and the RFC of TD operates by one
Segment guard time is kept apart, it is possible to avoid between the two owing to sharing a set of RFC control unit
And the conflict produced, owing to the RF of TD and GSM is independent, thus the RF of GSM configuration after steady
The end a period of time of the working time section that the fixed required time just can take TD completes, i.e.
The duty of GSM it is switched to again after the working time of real TD terminates.For TD and GSM
AFC(Automatic Frequency Control, automatic frequency controls) independent control
Situation, the control of AFC also must be switched to the AFC of GSM after the working time of TD terminates again,
Thus so that FCB receives window reaches maximization, close to the length of 2 TD time slots as far as possible
Degree;The GAP reported by TD is moved along a preset pre-set time, as a virtual G increased
AP starting point, meanwhile, dispatch preset TPU table to GSM carry out frame alignment can realize.One
In preferred embodiment, as a example by the RF typical operation of GSM, as shown in Figure 5;With reference to Fig. 5, figure
5 is that in GSM measuring method of the present invention, GSM interts RF operation chart.GSM in actual applications
The success rate that FCB search or SB heavily confirm has reached 100%.
The present embodiment GSM measuring method is by the start time of the GAP that alignd by the initiating terminal of GSM frame, to institute
State GSM frame synchronizing information increase maintenance information, and TD arrive GAP time start GSM measure and
At the end of described GSM measures, safeguard the timing of Information recovering normal GSM frame according to described;Meanwhile,
The TD working time is utilized to carry out the method stable for RF of GSM, it is achieved that the FCB search of GSM and SB weight
Confirm that success rate reaches the beneficial effect of 100%, reduce RF device property and physical layer software is set
The coupling of meter, it is simple to RF device is transplanted, improves systematic function.
It is GSM measuring method of the present invention second embodiment schematic flow sheet with reference to Fig. 6, Fig. 6.Such as Fig. 6 institute
Showing, GSM measuring method of the present invention is in step S01, the time of the GAP that alignd by the initiating terminal of GSM frame
Further comprise the steps of: before the step of starting point
S00, the TPU event table arranged in GSM.
In the present embodiment, the design basis being TPU event table with GSM normal frame, i.e. initiate from GSM frame
End proceeds by the design of the TPU event table that GSM measures, thus by the TPU event in GSM mono-frame
It is designed as the form of static table;In a preferred embodiment, when opening initialization, will
Described TPU event table is directly solderable to the RAM(Random Access Memory of TPU, at random
Access memorizer) in event table;The time point of described TPU event table will no longer change, only change
Content in some event table, meets different reception demands when GSM measures, such as frequency or
Gain demand is set;Therefore, in a preferred embodiment, can be according to different RF devices
Feature design described TPU event table.
The present embodiment GSM measuring method is by the method first arranging the TPU event table in GSM, it is achieved that
The simplification of TPU design, the beneficial effect of ease for maintenance, it is ensured that the switching of TD/GSM bimodulus
Can, eliminate program the term of execution and the TPU time frequently adjusted the program unstability brought
Problem, further increasing systematic function.
It is that GSM measuring method of the present invention arranges TPU event table one embodiment in GSM with reference to Fig. 7, Fig. 7
Schematic flow sheet.As it is shown in fig. 7, in GSM measuring method of the present invention, arrange the TPU thing in GSM
The step of part table specifically includes:
The different time points that step S11, preset TPU event are corresponding in GSM frame;
By the design static of the TPU event in GSM, i.e. open with the initial time of a frame of GSM normal frame
Beginning reception carries out TPU event design, in advance by difference that TPU event is corresponding in a GSM frame
Time point sets;
Step S12, by corresponding to described TPU event different time points write TPU event table;
Different time points corresponding to described TPU event and described TPU event thereof is write TPU timetable;
In a preferred embodiment, can directly when system initialization, described TPU timetable be write
In the ram table of TPU;
Step S13, the different demands measured according to GSM, control the different event in described TPU event table
Group;
According to the different demands of GSM when measuring, the different event groups controlled in described TPU event table has been come
Become the measurement of GSM.
The present embodiment GSM measuring method is by the method first arranging the TPU event table in GSM, it is achieved that
The simplification of TPU design, the beneficial effect of ease for maintenance, it is ensured that the switching of TD/GSM bimodulus
Can, eliminate program the term of execution and the TPU time frequently adjusted the program unstability brought
Problem, further increasing systematic function.
It is GSM measurement apparatus first embodiment structural representation of the present invention with reference to Fig. 8, Fig. 8.Such as Fig. 8 institute
Showing, GSM measurement apparatus of the present invention includes:
Time unifying module 01, for the start time of the GAP that alignd by the initiating terminal of GSM frame;
In a preferred embodiment, under TD connection status, the GAP state of TD is positioned at TD subframe and interrupts
The mid portion in cycle, as shown in Figure 3.Change according to the GAP time that TD is given under DCH state
, when GAP arrival needs to carry out GSM measurement, time unifying module 01 adjusts the initiating terminal of GSM frame
Snapping to the starting point of GAP, as shown in Figure 4, the initiating terminal of GSM frame is led to by time unifying module 01
Cross the adjustment time starting point to the GAP that aligns of GSM frame length, thus can ensure that the R of GSM
F configuration completed within the GAP time, from without configuring due to shared RFC(with the RF of TD
Radio Frequency Controller, rf control unit) and produce rushing in RF configuration
Prominent.Simultaneously as the adjustment that time unifying module 01 is to GSM frame, the Switch Control of antenna
The most therefore become easy;Because measuring frame be always aligned in the starting point of GAP, so, antenna
Have only to switch over the most permissible at the initiating terminal of GSM frame.
Information increases module 02, for increasing maintenance information in GSM frame, and when TD arrives GAP,
Start GSM according to TPU event table to measure;
Owing to time unifying module 01 uses alignment strategy to carry out GSM frame adjustment, thus cause GSM mono-
The time of frame can be longer than the time 4.615ms of actual GSM mono-frame, needs information to increase module 02 and exists
GSM frame increases maintenance information, so that after GSM measurement terminates, information increases module 02
The timing of normal GSM frame can be recovered according to described maintenance information, also allow for degree unified time simultaneously
The measurement result of record GSM cell safeguarded by amount scale;In a preferred embodiment, information increases
Adding module 02 uses the structure of a frame number+frame bias internal amount to be updated can realizing GSM frame
Maintenance.Meanwhile, when TD arrives GAP, utilize the free time of TD, enter according to actual needs
Row GSM measures.When described GSM measures, need to call not working together in TPU event table according to difference
Part group, completes the measurement of GSM.
GSM frame recovers module 03, for after described GSM measurement terminates, according to described maintenance information,
Recover the timing of normal GSM frame.
The GSM frame that increasing module 02 according to information increases safeguards information, and at the end of measuring, GSM frame is extensive
The multiple disposable synchronization control of module 03 is to normal GSM frame.As shown in Figure 4, to measurement result
When calculating, the result that especially FCB search and SB heavily confirm relates to synchronous timing information
During preservation, it is necessary to carry out information preservation on the basis of normal GSM frame, the most all of GSM is adjacent
The basis reference of community could be consistent, and also can guarantee that synchronizing information between each GSM adjacent cell has
Effect property, it is simple to follow-up bimodulus switching etc. process.
The RF carrying out GSM in GSM measuring method of the present invention is stably to realize the working time utilizing TD
。
In a preferred embodiment, the RF carrying out GSM described in is stably carried out at described GSM frame initiating terminal
RF configures, and reports the time span of virtual GAP starting point and described GAP to realize by TD.
Owing to TD may only quote the GAP of 2 TD time slots under DCH dress state, when deducting certain protection
Between interval after, be actually used in GSM measure time can be shorter than the time of 2 TD time slots by one
A bit;When the configuration of the RF that the starting point of GAP proceeds by GSM, also need after configuring due to RF
Wanting certain stabilization time, this time is generally larger than 100us, is so actually used in GSM and connects
The length of window received can be comparatively short;It is the most crucial for the heavily confirmation of FCB search or SB that this receives window
, owing to FCB search is carried out in the case of GSM cell Location-Unknown, and 12 TD subframes
Time identical with the time of 13 GSM subframes, i.e. the GAP time of TD for GSM also have
In one cycle, i.e. there is the situation that may forever can not find GSM cell FCB;In the case of this GAP
, the success rate of FCB search is about about 80%, and the success rate of bimodulus switching is had bigger by this
Impact, because TD is switched to GSM it is necessary to have the BSIC(Base Stat of successful GSM cell
Ion Identity Code, base station identity code) information, it is therefore desirable to increase GSM's as possible
Receive window;In addition to some RF of GSM operate, after RF configures, wait that the stable of RF also accounts for
By regular hour, the actual end stage considering the TD working time, it may be necessary to use and arrive
Moving of RFC control unit (if being controlled by control unit rather than if the control of GPIO mouth)
Make only one of which and i.e. close RF, therefore the RF configuration of GSM can be put into the working time section of TD
A period of time before end is carried out, and is operated by the RFC of GSM and the RFC of TD operates by a bit of
Guard time is kept apart, it is possible to avoid producing owing to sharing a set of RFC control unit between the two
Raw conflict, owing to the RF of TD and GSM is independent, thus the stable institute after the RF of GSM configuration
The time needed just can account for
Complete with end a period of time of the working time section of TD, i.e. the working time at real TD ties
Shu Houzai is switched to the duty of GSM.AFC(Automatic Freq for TD and GSM
Uency Control, automatic frequency controls) independent situation about controlling, the control of AFC is the most necessary
The AFC of GSM it is switched to again, thus so that FCB receives window after the working time of TD terminates
Mouth reaches to maximize, close to the length of 2 TD time slots as far as possible;The GAP reported by TD is toward reach
A dynamic preset pre-set time, as a virtual GAP starting point increased, meanwhile, dispatch preset
TPU table to GSM carry out frame alignment can realize.In a preferred embodiment, with the R of GSM
As a example by F typical operation, as shown in Figure 5;It is G in GSM measuring method of the present invention with reference to Fig. 5, Fig. 5
SM interts RF operation chart.The success that the FCB of GSM searches for or SB heavily confirms in actual applications
Rate has reached 100%.
The present embodiment GSM measurement apparatus is by the start time of the GAP that alignd by the initiating terminal of GSM frame, to institute
State GSM frame synchronizing information increase maintenance information, and TD arrive GAP time start GSM measure and
At the end of described GSM measures, safeguard the timing of Information recovering normal GSM frame according to described;Meanwhile,
The TD working time is utilized to carry out the method stable for RF of GSM, it is achieved that the FCB search of GSM and SB weight
Confirm that success rate reaches the beneficial effect of 100%, reduce RF device property and physical layer software is set
The coupling of meter, it is simple to RF device is transplanted, improves systematic function.
It is GSM measurement apparatus of the present invention second example structure schematic diagram with reference to Fig. 9, Fig. 9.Such as Fig. 9 institute
Showing, GSM measurement apparatus of the present invention also includes:
TPU arranges module 00, for arranging the TPU event table in GSM.
In the present embodiment, the design basis being TPU event table with GSM normal frame, TPU arranges module 0
0 proceeds by the design of the TPU event table that GSM measures from GSM frame initiating terminal, thus by GSM mono-frame
Interior TPU event is designed as the form of static table;In a preferred embodiment, at the beginning of start
During beginningization, TPU arranges module 00 and described TPU event table is directly solderable to the RAM(Rand of TPU
Om Access Memory, random access memory) in event table;Described TPU event table
Time point will no longer change, and only change the content in some event table, meet when GSM measures
Different reception demands, arrange demand such as frequency or gain;Therefore, preferably implement one
In example, TPU arranges module 00 can design described TPU event according to the feature of different RF devices
Table.
The present embodiment GSM measurement apparatus is by the method first arranging the TPU event table in GSM, it is achieved that
The simplification of TPU design, the beneficial effect of ease for maintenance, it is ensured that the switching of TD/GSM bimodulus
Can, eliminate program the term of execution and the TPU time frequently adjusted the program unstability brought
's
Problem, further increasing systematic function.
It is that in GSM measurement apparatus of the present invention, TPU arranges module one example structure and shows with reference to Figure 10, Figure 10
It is intended to.As shown in Figure 10, in GSM measurement apparatus of the present invention, TPU arranges module 00 and specifically includes
:
Time point preset unit 11, for the different time points that preset TPU event is corresponding in GSM frame
;
Time point preset unit 11 is by the design static of the TPU event in GSM, i.e. with GSM normal frame
The initial time of one frame starts reception and carries out TPU event design, in advance by TPU event at a GS
Different time points corresponding in M frame sets;
Time point writing unit 12, for writing TPU by the different time points corresponding to described TPU event
Event table;
Time point writing unit 12 is by the different time corresponding to described TPU event and described TPU event thereof
Point write TPU timetable;In a preferred embodiment, can directly incite somebody to action when system initialization
In the ram table of described TPU timetable write TPU;
Event group control unit 13, for the different demands measured according to GSM, controls described TPU event
Different event groups in table.
Event group control unit 13, according to the different demands of GSM when measuring, controls in described TPU event table
Different event groups complete the measurement of GSM.
The present embodiment GSM measurement apparatus is by the method first arranging the TPU event table in GSM, it is achieved that
The simplification of TPU design, the beneficial effect of ease for maintenance, it is ensured that the switching of TD/GSM bimodulus
Can, eliminate program the term of execution and the TPU time frequently adjusted the program unstability brought
Problem, further increasing systematic function.
The foregoing is only the preferred embodiments of the present invention, not thereby limit its scope of the claims, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, directly
Or indirectly it is used in other relevant technical fields, the most in like manner it is included in the patent protection of the present invention
In the range of.