Detailed description of the invention
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is described more fully. Accompanying drawing gives the first-selected embodiment of the present invention. But, the present invention can realize in many different forms, however it is not limited to embodiment described herein. On the contrary, the purpose providing these embodiments is to make to the disclosure more thoroughly comprehensively.
Unless otherwise defined, all of technology used herein is identical with the implication that the those skilled in the art belonging to the present invention are generally understood that with scientific terminology. The term used in the description of the invention herein is intended merely to the purpose describing specific embodiment, it is not intended that in the restriction present invention. Term as used herein " and/or " include the arbitrary and all of combination of one or more relevant Listed Items.
The present invention maintains the embodiment of the method 1 of synchronization among base stations:
Causing community to move back the problem of clothes to solve the abnormal step-out caused of conventional art synchronisation source, the invention provides a kind of embodiment of the method 1, Fig. 1 maintaining synchronization among base stations is the schematic flow sheet that the present invention maintains the embodiment of the method 1 of synchronization among base stations; As it is shown in figure 1, may comprise steps of:
Step S110: when base station is in synchronous regime, adjusts the size of the adjusted value of crystal oscillator and corresponding present system time every time in record preset time period;
Step S120: according to the size of the adjusted value of record and present system time, by the Changing Pattern of adjusted value in statistical analysis preset time period, is adjusted the fluctuation period of change of value and corresponding variable quantity;
Step S130: when base station is in desynchronizing state, according to the fluctuation period of change of adjusted value and corresponding variable quantity, maintains synchronization by periodically adjusting crystal oscillator.
Wherein, in a specific embodiment, in step s 110, the adjustment time of each crystal oscillator can configure, and the adjustment time of the different methods of synchronization can be different, have only to every time adjust crystal oscillator time record current adjusted value and system time, generally in seconds and less than half a minute be the best.
In a specific embodiment, step S120 may include that
The size of the adjusted value according to record and present system time, obtain maximum and the minima of adjusted value in current time granule; Maximum and minima to adjusted value carry out averaged process, obtain the reference value of current time granule; Time granule is default adjusted value variable cycle;
When adjacent identical or two reference values the difference of two time intragranular reference values is in default reference thresholds, in the scope of Preset Time particle threshold, increases the size of current time granule and return obtains the step of reference value;
The size of current time granule more than the difference of Preset Time granule threshold value or adjacent two time intragranular reference values more than default reference thresholds time, obtain the size of current time granule and corresponding adjusted value; The size of current time granule and corresponding adjusted value are exported as the fluctuation period of change of adjusted value and corresponding variable quantity.
In a specific embodiment, the initial value of above-mentioned time granule is the cycle adjusting crystal oscillator of 2 times; Above-mentioned Preset Time particle threshold is 30 minutes; Above-mentioned Preset Time granule threshold value can be changed according to practical application, but maximum not can exceed that Preset Time particle threshold, and namely Preset Time granule threshold value is less than Preset Time particle threshold.
Specifically, Fig. 2 is that the present invention maintains the schematic flow sheet determining crystal oscillator adjusted value Changing Pattern in the embodiment of the method 1 of synchronization among base stations; As in figure 2 it is shown, the crystal oscillator that the minimum time granule preset can be twice adjusts the cycle, it is determined that time intragranular minimum and maximum crystal oscillator adjusted value, after minimum and maximum crystal oscillator adjusted value is averaging, it is thus achieved that reference value. If being separated by, two intragranular reference values of minimum time are identical or their difference is in certain threshold value preset, then change time granular size. Simultaneously, it is possible to set constraints: maximum time granule cannot be greater than 30 minutes.
The current time granule meeting above-mentioned condition can be suitable change crystal oscillator being detected. It is too much that too small meeting causes adjusting crystal oscillator number of times, excessive, may result in artificial tuningout crystal oscillator, even introduce bigger frequency deviation or time inclined. Determine that crystal oscillator adjusted value Changing Pattern role in embodiments of the present invention is: determine the suitable adjustment time cycle, it is to avoid the cycle is too small causes excessively frequently adjusting crystal oscillator or the cycle excessive bigger error being likely to introduce. Additionally, the system time between output valves different twice in Fig. 2 is poor, wherein, adjusting unit of time can be second level to be the adjustment time period (unit for hour, round up: herein can refer to that the form of display time is 24 hours systems). Local array can reach 24*60*60, and therefore unit can to second level; Can keep synchronizing by this time granule and adjusted value within this adjustment time period.
In a specific embodiment, the present invention maintains the embodiment of the method 1 of synchronization among base stations can also include step:
In maintaining the real-time process synchronized, whether the synchronisation source that detection base station uses recovers normal;
When the result of detection is for being, in return recording preset time period, adjust the size of the adjusted value of crystal oscillator and the step of corresponding present system time every time;
When the result of detection is no, passes back through and periodically adjust crystal oscillator to maintain the step of synchronization.
Specifically, Fig. 3 is that the present invention maintains and synchronizes the schematic flow sheet that maintenance processes in the embodiment of the method 1 of synchronization among base stations; As it is shown on figure 3, when system is in maintenance synchronous regime, it is possible to further determine that whether synchronisation source recovers normal. If synchronisation source recovers normal (the of short duration pulse per second (PPS) loss of such as GPS, air interface synchronization Target cell signal recover normal or 1588 synchronous clock server and network communication quality recovers normal), then can return to step S110 and carry out normal synchronized; Otherwise will also be at maintenance synchronous regime. Wherein, generally can passing through simple judgement (whether having useful signal) and determine whether synchronisation source recovers normal, namely whether GPS has the effective pulse per second (PPS) of continuous print, whether 1588 whether have continuous print effectively to synchronize the cell signal power of bag and target BS normal.
In a specific embodiment, the synchronisation source mentioned in the present invention can be a general term: when the method for synchronization is 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 synchronization, synchronisation source also refers to 1588 clock servers.
In a specific embodiment, the present invention maintains the embodiment of the method 1 of synchronization among base stations can also include step:
Determine by periodically adjust crystal oscillator maintain the real-time process of synchronization invalid time, base station is carried out re-synchronization or reboot process.
In a specific embodiment, above-mentioned determine that the step maintaining the real-time process of synchronization invalid by periodically adjusting crystal oscillator may include that
When up BLER (having the ratio of the total block data that the block of mistake receives with digital circuit: BLER(block error rate)) value in base station and descending BLER value all exceed default BLER threshold value and up incoming level value more than default normal power threshold value, it is determined that the real-time process maintaining base station synchronization is invalid.
Specifically, Fig. 4 is that the present invention maintains the handling process schematic diagram synchronized in the embodiment of the method 1 of synchronization among base stations when maintaining invalid; As shown in Figure 4, when system is in synchronization maintenance state, will adjudicate whether effective maintenance synchronizes in real time. Decision method is: detection uplink and downlink BLER, when uplink and downlink BLER is above threshold value (threshold value) preset in advance, when simultaneously up incoming level is higher than normal level, judge to synchronize to maintain unsuccessfully, then can carry out the switching of other method of synchronization or base station is restarted.
The embodiment of the method 1 of the maintenance synchronization among base stations of the present invention, it is possible to effectively keep the long-time synchronization between base station, it is ensured that intra-cell users is normally carried out business, it is to avoid form island mode; Synchronization failure or synchronization that the exception being prevented effectively from the synchronisation source short time causes are unstable; Reduce base station cell and move back the probability of clothes. Meanwhile, the mode adopting software to realize, it is applicable to the synchronization between all standard system base-stations in wireless communication system and maintains function, save hardware cost and manpower development cost.
In order to be further elaborated on the technical scheme that the present invention maintains the method for synchronization among base stations, the special mobile communication system to adopt VCXO crystal oscillator high precision reference signal source to use, illustrating that the present invention maintains the flow process that realizes of the method for synchronization among base stations, Fig. 5 is the schematic flow sheet that the present invention maintains method one specific embodiment of synchronization among base stations;As it is shown in figure 5, may comprise steps of:
Step S510: when base station is in synchronous regime, when adjusting crystal oscillator, records adjusted value size and current system time every time.
Specifically, when base station is in synchronous regime, periodically adjusting crystal oscillator, the main purpose every time adjusted is to follow the tracks of crystal oscillator with external environment change and the aging oscillator drift (i.e. frequency deviation) that causes of crystal oscillator itself, and the frequency drift of synchronisation source itself. Adjust while crystal oscillator every time, record current adjusted value size, and current system time (24 hours systems: the form of display time), recording in the array space that this locality one is bigger, array location number is: 24*60*60/ adjusts the cycle (being converted to second level);
Step S520: the Changing Pattern of statistical analysis crystal oscillator adjusted value: adjusted value variation size and variable cycle.
Specifically, the Changing Pattern flow chart of statistical analysis crystal oscillator adjusted value is as shown in Figure 2, first the cycle adjusting crystal oscillator that adjusted value variable cycle (time granule) is twice is initialized, obtain maximum and the minima of adjusted value in current time granule, after the maximum of adjusted value and minima are averaging, it is thus achieved that reference value.
If being separated by, two time intragranular reference values are identical or difference is (configurable in the threshold value that certain is preset in advance, it is initialized as 10), represent that current time granule is too small, crystal oscillator does not also change or changes relatively I and ignores, therefore big time granule can suitably be become, by changing the size of time granule and again the adjusted value in time granular size being carried out statistical analysis. If it is (configurable that time granular size exceedes threshold value, be initialized as 5 minutes) or two time intragranular reference values of being separated by differ by more than default threshold value, then export current time granular size and adjusted value, change size using exporting current time granular size and adjusted value as variable cycle time size and adjusted value
Step S530: when base station is in desynchronizing state, the crystal oscillator adjusted value Changing Pattern according to above-mentioned steps statistical analysis, periodically change size according to variable cycle time size and adjusted value and go to adjust crystal oscillator, maintain base station synchronization.
Specifically, when synchronisation source dropout or synchronisation source signal quality are deteriorated, can cause that base station judgement current state is desynchronizing state, now will enter in the middle of the flow process maintaining base station synchronization, as shown in Figure 3. The method maintaining base station synchronization is the crystal oscillator adjusted value Changing Pattern according to above-mentioned steps statistical analysis, periodically change size according to variable cycle time size and adjusted value to go to adjust crystal oscillator, simultaneously by whether the synchronisation source of judgement base station recovers normal, if synchronisation source recovers normal, normal synchronized flow process will be started, otherwise then carry out periodically maintaining synchronizing flow process;
Step S540: when base station is in maintenance synchronous regime, judgement simultaneously synchronizes whether to maintain unsuccessfully. Court verdict is by how follow-up for decision flow process carries out.
Specifically, the whether failed judgement flow process of synchronization is maintained as shown in Figure 4. When BLER value up-downgoing being detected exceedes threshold value (being initialized as 20%), and uplink receiving level value more than default normal power thresholding time, synchronize to maintain unsuccessfully by judgement, report and alarm is laid equal stress on starting system. Otherwise, synchronize to remain normal, will proceed to synchronize to maintain handling process. Wherein, the initial value of the normal power thresholding preset can be-100dBm (decibel millivolt).
The present invention maintains method one specific embodiment of synchronization among base stations, by when base station synchronization, statistical analysis to crystal oscillator adjusted value, determine period of waves and the variation value of adjusted value size variation, when base station clock step-out, crystal oscillator is periodically adjusted, thus realizing extending base station to be in time of synchronous regime, it is ensured that in this period, the regular traffic of UE and base station cell service are normal by period of waves and variation value. Meanwhile, the present invention simply collects adjusted value and crystal oscillator is adjusted, and is not related to any communication standard, is therefore applicable to existing all mobile communication system adopting VCXO crystal oscillator high precision reference signal source to use. The advantages such as the present invention is realized by the mode of software, has implementation complexity low, and cost is low, and portability is good.
The present invention maintains the device embodiment 1 of synchronization among base stations:
Technological thought based on the method for above-mentioned maintenance synchronization among base stations, simultaneously in order to solve the problem that the abnormal step-out caused of conventional art synchronisation source causes community to move back clothes, present invention also offers a kind of device embodiment 1 maintaining synchronization among base stations, Fig. 6 is the structural representation that the present invention maintains the device embodiment 1 of synchronization among base stations, as shown in Figure 6, it is possible to including:
Crystal oscillator adjusted value logging modle 610, for when base station is in synchronous regime, adjusting the size of the adjusted value of crystal oscillator and corresponding present system time every time in record preset time period;
Crystal oscillator adjusted value Changing Pattern determines module 620, for size and the present system time of the adjusted value according to record, by the Changing Pattern of adjusted value in statistical analysis preset time period, is adjusted the fluctuation period of change of value and corresponding variable quantity;
Synchronize to maintain module 630, for when base station is in desynchronizing state, according to the fluctuation period of change of adjusted value and corresponding variable quantity, maintaining synchronization by periodically adjusting crystal oscillator.
In a specific embodiment, the present invention maintains the device embodiment 1 of synchronization among base stations and can also include:
Synchronous detection module 640, for synchronizing to maintain in the real-time process that module maintains synchronization, whether the synchronisation source that detection base station uses recovers normal.
In a specific embodiment, the present invention maintains the device embodiment 1 of synchronization among base stations and can also include:
Synchronize to maintain failure handling module 650, for determine by periodically adjust crystal oscillator maintain the real-time process of synchronization invalid time, base station is carried out re-synchronization or reboot process.
In a specific embodiment, synchronize to maintain failure handling module and may include that
Judging module 652, when all exceeding default BLER threshold value and up incoming level value more than default normal power threshold value for up BLER value in base station and descending BLER value, it is determined that the real-time process of maintenance base station synchronization is invalid.
Specifically, the device of the maintenance synchronization among base stations of the present invention, it is possible to including:
Crystal oscillator adjusted value logging modle, has been used for the periodic cycle record of 24 hours interior crystal oscillator adjusted values, and storage array space size is: 24*60*60/ adjusts the cycle (being converted to second level).
Crystal oscillator adjusted value Changing Pattern determines module, has been used for the determination of 24 hours interior crystal oscillator adjusted value variation sizes and variable cycle.
Synchronize to maintain module, for changing size and variable cycle according to the above-mentioned crystal oscillator adjusted value determined, periodically adjust crystal oscillator Configuration Values, reach to maintain the purpose synchronized.
Synchronous detection module, for whether detection clock synchronisation source in real time recovers normal, when clock synchronisation source recovers normal, will start normal clock and synchronize flow process.
Synchronize to maintain unsuccessfully decision process module, the statistical result according to uplink and downlink BLER value, and the measured value of uplink receiving level, adjudicate synchronization and whether failed remain. If synchronizing to maintain unsuccessfully, then report and alarm is laid equal stress on starting system.
The present invention maintains the device embodiment 1 of synchronization among base stations, by when base station synchronization, statistical analysis to crystal oscillator adjusted value, determine period of waves and the variation value of adjusted value size variation, when base station clock step-out, crystal oscillator is periodically adjusted, thus realizing extending base station to be in time of synchronous regime, it is ensured that in this period, the regular traffic of UE and base station cell service are normal by period of waves and variation value. The present invention can effectively keep the long-time synchronization between base station, it is ensured that intra-cell users is normally carried out business, it is to avoid form island mode; Meanwhile, the mode adopting software to realize, it is applicable to the synchronization between all standard system base-stations in wireless communication system and maintains function, save hardware cost and manpower development cost.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics is absent from contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be construed as limiting the scope of the patent. It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to making some deformation and improvement, these broadly fall into protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be as the criterion with claims.