Specific embodiment
To facilitate the understanding of the present invention, a more comprehensive description of the invention is given in the following sections with reference to the relevant attached drawings.In attached drawing
Give preferred embodiment of the invention.But the invention can be realized in many different forms, however it is not limited to this paper institute
The embodiment of description.On the contrary, purpose of providing these embodiments is make it is more thorough and comprehensive to the disclosure.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more phases
Any and all combinations of the listed item of pass.
The embodiment of the method 1 of present invention maintenance synchronization among base stations:
It is taken to solve the problems, such as that the extremely caused step-out of traditional technology synchronisation source causes cell to be moved back, the present invention provides one
Kind maintains the embodiment of the method 1 of synchronization among base stations, and Fig. 1 is that the present invention maintains the process of the embodiment of the method 1 of synchronization among base stations to show
It is intended to;As shown in Figure 1, may comprise steps of:
Step S110: when base station is in synchronous regime, the adjusted value for adjusting crystal oscillator in preset time period every time is recorded
Size and corresponding present system time;
Step S120: according to the size and present system time of the adjusted value of record, by statisticalling analyze preset time period
The changing rule of interior adjusted value, be adjusted value the fluctuating change period and corresponding variable quantity;
Step S130: when base station is in desynchronizing state, according to the fluctuating change period of adjusted value and corresponding variable quantity,
It is maintained by periodically adjusting crystal oscillator synchronous.
Wherein, in a specific embodiment, in step s 110, the adjustment time of each crystal oscillator is can to configure
, and the adjustment time of the different methods of synchronization can be different, it is only necessary to current adjustment is recorded when adjustment crystal oscillator every time
Value and system time, generally in seconds and be no more than half a minute be best.
In a specific embodiment, step S120 may include:
According to the size and present system time of the adjusted value of record, the maximum of adjusted value in current time particle is obtained
Value and minimum value;Maximum value and minimum value to adjusted value carry out averaged processing, obtain the ginseng of current time particle
Examine value;Time particle is preset adjusted value variable cycle;
Intragranular reference value of two neighboring time is identical or the difference of two reference values is in preset and refers to thresholding
When in value, the size and return for increasing current time particle in the range of preset time particle threshold obtain the step of reference value
Suddenly;
It is greater than preset time particle threshold value or intragranular ginseng of two neighboring time in the size of current time particle
Examine value difference be greater than preset reference thresholds when, obtain current time particle size and corresponding adjusted value;It will work as
The size of preceding time particle and corresponding adjusted value respectively as adjusted value the fluctuating change period and corresponding variable quantity into
Row output.
In a specific embodiment, the period for the adjustment crystal oscillator that the initial value of above-mentioned time particle is 2 times;It is above-mentioned pre-
If time particle threshold is 30 minutes;Above-mentioned preset time particle threshold value can be changed according to practical application, but
Maximum no more than preset time particle threshold, i.e. preset time particle threshold value are less than preset time particle threshold.
Specifically, Fig. 2 is that the present invention maintains to determine crystal oscillator adjusted value variation rule in the embodiment of the method 1 of synchronization among base stations
The flow diagram of rule;As shown in Fig. 2, preset minimum time particle can adjust the period for twice of crystal oscillator, the time is determined
Intragranular minimum and maximum crystal oscillator adjusted value after being averaging to minimum and maximum crystal oscillator adjusted value, obtains reference value.If being separated by
Two intragranular reference values of minimum time are identical or their difference is in some preset threshold value, then change time particle
Size.Meanwhile can set constraint condition: maximum time particle is not greater than 30 minutes.
The current time particle for meeting above-mentioned condition appropriate can detect the variation of crystal oscillator.It is too small to will lead to adjustment
Crystal oscillator number is excessive, excessive, may result in artificial tuningout crystal oscillator, in addition introduce bigger frequency deviation or when it is inclined.Determine crystal oscillator tune
Role is whole value changing rule in embodiments of the present invention: determining the suitable adjustment time period, avoids the period too small
Cause excessively frequently to adjust crystal oscillator or the period excessive possible bigger error introduced.In addition, output valve different twice in Fig. 2
Between system time it is poor, as adjustment time section (unit is hour, is rounded up: can refer to herein display the time format be
Make within 24 hours) wherein, adjustment time unit can be second grade.Local array can reach 24*60*60, therefore unit can be with
To second grade;It can keep synchronous with adjusted value by this time particle in the adjustment time section.
In a specific embodiment, the present invention maintain synchronization among base stations embodiment of the method 1 can with comprising steps of
In the real-time process for remaining synchronous, whether the synchronisation source that detection base station uses restores normal;
When the result of detection is to be, the size of the adjusted value of crystal oscillator and right is adjusted in return recording preset time period every time
The step of present system time answered;
When the result of detection is no, passes back through and adjust crystal oscillator periodically to maintain synchronous step.
Specifically, Fig. 3 is that the present invention maintains the synchronous process for maintaining processing in the embodiment of the method 1 of synchronization among base stations to show
It is intended to;As shown in figure 3, may further determine that whether synchronisation source restores normal when system is in maintenance synchronous regime.If same
Step source restores that normal (for example the of short duration pulse per second (PPS) loss of GPS, air interface synchronization Target cell signal restore normal or 1588 synchronised clocks
Server and network communication quality restore normal), then it can return to step S110 and carry out normal synchronized;Otherwise it will also be at
Maintain synchronous regime.Wherein, generally it can determine whether synchronisation source restores by simply adjudicating and (whether having useful signal)
Normally, i.e. whether GPS has whether continuous effectively pulse per second (PPS), 1588 have continuous effectively synchronous package and the cell of target BS
Whether signal power is normal.
In a specific embodiment, synchronisation source mentioned in the present invention can be a general term: when the method for synchronization is
When air interface synchronization, synchronisation source also refers to target BS;When the method for synchronization is GPS, synchronisation source also refers to GPS satellite
Signal;When the method for synchronization is 1588 synchronous, synchronisation source also refers to 1588 clock servers.
In a specific embodiment, the present invention maintain synchronization among base stations embodiment of the method 1 can with comprising steps of
When determining that the real-time process for remaining synchronous by periodically adjusting crystal oscillator is invalid, base station is carried out again same
Step or reboot process.
In a specific embodiment, above-mentioned determination maintains synchronous real-time process by periodically adjusting crystal oscillator
Invalid step may include:
Base station uplink BLER (having the ratio between the block of mistake and the received total block data of digital circuit: BLER(block error rate)) value and under
When row BLER value is more than that the reception level value of default BLER threshold value and uplink is greater than preset normal power threshold value, determine
Maintain the real-time process of base station synchronization invalid.
Specifically, Fig. 4 is that the present invention maintains to synchronize processing when remaining invalid in the embodiment of the method 1 of synchronization among base stations
Flow diagram;As shown in figure 4, it is whether effective that maintenance synchronization will be adjudicated in real time when system is in synchronous maintenance state.Judgement
Method are as follows: detection uplink and downlink BLER, when uplink and downlink BLER above preset threshold value (threshold value) in advance, simultaneously
When the reception level of uplink is higher than normal level, determines synchronous maintenance failure, can then carry out the switching of other methods of synchronization
Or base station is restarted.
The embodiment of the method 1 of maintenance synchronization among base stations of the invention can effectively keep the long-time between base station synchronous, protect
Card intra-cell users are normally carried out business, avoid the formation of island mode;Effectively avoid the exception in the synchronisation source short time caused
Synchronization failure synchronizes unstable;Reduce the probability that clothes are moved back in base station cell.Meanwhile by the way of software realization, it is applicable to
Synchronous between all standard system base-stations in wireless communication system maintains function, saved hardware cost and development of manpower at
This.
It is special with brilliant using VCXO in order to be further elaborated on the technical solution that the present invention maintains the method for synchronization among base stations
For the mobile communication system that vibration high precision reference signal source uses, illustrate that the present invention maintains the realization of the method for synchronization among base stations
Process, Fig. 5 are the flow diagram for one specific embodiment of method that the present invention maintains synchronization among base stations;As shown in figure 5, can wrap
Include following steps:
Step S510: when base station is in synchronous regime, when adjusting crystal oscillator every time, adjusted value size is recorded, and current
System time.
Specifically, when base station is in synchronous regime, can periodically adjust crystal oscillator, the main purpose adjusted every time be for
Tracking crystal oscillator causes oscillator drift (i.e. frequency deviation) and synchronisation source sheet with external environment variation and crystal oscillator aging itself
The frequency drift of body.Every time while adjustment crystal oscillator, current adjusted value size and current system time (24 are recorded
Hour system: the format of time is shown), it is recorded in a local biggish array space, array location number are as follows: 24*60*60/
The adjustment period (is converted to second grade);
Step S520: the changing rule of statistical analysis crystal oscillator adjusted value: adjusted value changes size and variable cycle.
Specifically, the changing rule flow chart of statistical analysis crystal oscillator adjusted value as shown in Fig. 2, initialize adjusted value first
In the period for the adjustment crystal oscillator that variable cycle (time particle) is twice, obtain the maximum value and most of adjusted value in current time particle
Small value obtains reference value after maximum value and minimum value to adjusted value are averaging.
If being separated by, two time intragranular reference values are identical or difference (can match in some in advance preset threshold value
Set, be initialized as 10), indicating that current time particle is too small, crystal oscillator do not change also or change it is smaller can be ignored, therefore can be appropriate
Become larger time particle, by changing the size of time particle and carrying out statistical to the adjusted value in time granular size again
Analysis.If time granular size is more than threshold value (configurable, to be initialized as 5 minutes) or is separated by two time intragranular reference values
Preset threshold value is differed by more than, then exports current time granular size and adjusted value, the time particle for exporting current is big
Small and adjusted value changes size respectively as variable cycle time size and adjusted value
Step S530: when base station is in desynchronizing state, according to above-mentioned steps statistically analyze crystal oscillator adjusted value changing rule,
Size periodically is changed according to variable cycle time size and adjusted value and removes adjustment crystal oscillator, maintains base station synchronization.
Specifically, will lead to base station when synchronisation source dropout or synchronisation source signal quality are deteriorated and adjudicate current shape
State is desynchronizing state, will be entered in the process for maintaining base station synchronization at this time, as shown in Figure 3.Maintain base station synchronization method be
According to the crystal oscillator adjusted value changing rule that above-mentioned steps statistically analyze, periodically according to variable cycle time size and adjusted value
It changes size and removes adjustment crystal oscillator, while whether the synchronisation source for adjudicating base station being restored normally, to open if synchronisation source restores normal
Dynamic normal synchronized process, it is on the contrary then carry out periodically maintaining synchronization process;
Step S540: base station is in when maintaining synchronous regime, while being adjudicated synchronous whether maintain failure.Court verdict will be certainly
Determine how follow-up process carries out.
Specifically, maintaining the synchronous judgement process whether to fail as shown in Figure 4.When the BLER value for detecting uplink and downlink is super
Cross threshold value (being initialized as 20%), and uplink receiving level value be greater than preset normal power thresholding when, will judgement synchronize
Failure is maintained, report and alarm is laid equal stress on starting system.Conversely, synchronous remain normal, synchronous maintenance process flow will be continued.Its
In, the initial value of preset normal power thresholding can be -100dBm (decibel millivolt).
The present invention maintains one specific embodiment of method of synchronization among base stations, by base station synchronization, to crystal oscillator adjusted value
Statistical analysis, determine period of waves and the change value of adjusted value size variation, in base station clock step-out, by period of waves and
Change value periodically adjusts crystal oscillator, extends the time that base station is in synchronous regime to realize, guarantees UE in this time
Regular traffic and base station cell service it is normal.Meanwhile the present invention only collects adjusted value and adjusts to crystal oscillator, is not related to appointing
What communication standard, therefore it is suitable for existing all mobile communication systems used using VCXO crystal oscillator high precision reference signal source
System.The advantages that present invention realizes have implementation complexity low by way of software, at low cost, portable good.
The Installation practice 1 of present invention maintenance synchronization among base stations:
The technical idea of method based on above-mentioned maintenance synchronization among base stations, at the same it is abnormal in order to solve traditional technology synchronisation source
Caused step-out causes cell to move back the problem of taking, and the present invention also provides a kind of Installation practice 1 for maintaining synchronization among base stations, figures
6 maintain the structural schematic diagram of the Installation practice 1 of synchronization among base stations for the present invention, as shown in fig. 6, may include:
Crystal oscillator adjusted value logging modle 610, for recording and being adjusted every time in preset time period when base station is in synchronous regime
The size of the adjusted value of whole crystal oscillator and corresponding present system time;
Crystal oscillator adjusted value changing rule determining module 620, when for according to the size and current system of the adjusted value of record
Between, by the changing rule of adjusted value in statistical analysis preset time period, it is adjusted fluctuating change period of value and corresponding
Variable quantity;
Synchronous maintenance module 630, for when base station is in desynchronizing state, according to fluctuating change period of adjusted value and right
The variable quantity answered is maintained synchronous by periodically adjusting crystal oscillator.
In a specific embodiment, the Installation practice 1 of present invention maintenance synchronization among base stations can also include:
Synchronous detection module 640, in the real-time process that synchronous maintenance module remains synchronous, detection base station to be used
Whether synchronisation source restores normal.
In a specific embodiment, the Installation practice 1 of present invention maintenance synchronization among base stations can also include:
It is synchronous to maintain failure handling module 650, for determining the reality for remaining synchronous by periodically adjusting crystal oscillator
When process inefficient when, re-synchronization or reboot process are carried out to base station.
In a specific embodiment, synchronous maintenance failure handling module may include:
Judging module 652, for the uplink BLER value and downlink BLER value in base station be more than default BLER threshold value and
When the reception level value of uplink is greater than preset normal power threshold value, determines and maintain the real-time process of base station synchronization invalid.
Specifically, the device of maintenance synchronization among base stations of the invention, may include:
Crystal oscillator adjusted value logging modle, the periodic cycle for completing the crystal oscillator adjusted value in 24 hours record, storage
Array space size are as follows: the 24*60*60/ adjustment period (is converted to second grade).
Crystal oscillator adjusted value changing rule determining module changes size and variation for completing the crystal oscillator adjusted value in 24 hours
The determination in period.
Synchronous maintenance module, for changing size and variable cycle according to the crystal oscillator adjusted value of above-mentioned determination, periodically
Crystal oscillator Configuration Values are adjusted, achieve the purpose that remain synchronous.
Whether synchronous detection module is restored normally for real-time detection clock synchronisation source, when clock synchronisation source restores normal
When, by the synchronous process of starting normal clock.
It is synchronous to maintain failure decision process module, according to the statistical result and uplink receiving level of uplink and downlink BLER value
Measured value, synchronous maintain whether to fail to adjudicate.Failure is maintained if synchronous, and report and alarm is laid equal stress on starting system.
The present invention maintains the Installation practice 1 of synchronization among base stations, by base station synchronization, to the statistics of crystal oscillator adjusted value
Analysis, determines period of waves and the change value of adjusted value size variation, in base station clock step-out, by period of waves and change value
Crystal oscillator periodically is adjusted, to realize that extension base station is in time of synchronous regime, guarantees that UE's in this time is normal
Business and base station cell service are normal.The present invention can effectively keep the long-time between base station synchronous, guarantee intra-cell users just
Business is often carried out, island mode is avoided the formation of;Meanwhile by the way of software realization, it is applicable in wireless communication system
Synchronous maintenance function between all standard system base-stations, has saved hardware cost and development of manpower cost.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.