Embodiment
How to carry out effectively synchronous problem for the base station solved based on local IP connecting system, the embodiment of the present invention provides the method for the first base station synchronization.
Referring to Fig. 3 a, for base station side, the method for the first base station synchronization that the embodiment of the present invention provides comprises the following steps:
Step 301: base station is not after searching effective synchronisation source, and the layer, sync grade of this base station is set to minimum layer, sync grade, and determines whether the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station; Here, do not search the layer, sync grade that effective synchronisation source refers to the synchronisation source that does not search synchronisation source or search and reach maximum layer, sync grade;
Step 302: if conflict resets the layer, sync grade of this base station, and select the adjacent base station of conflicting as synchronisation source, realization is synchronizeed with this synchronisation source;
Step 303: if do not conflict, the layer, sync grade of this base station is fixed as to minimum layer, sync grade, so that carry out synchronously Yu Gai base station, adjacent base station.
In step 301, determine whether the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station, specific implementation can adopt one of following two kinds of methods:
The first, determine by search adjacent cell signal whether the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station;
Concrete, search adjacent cell signal within the time of the first setting duration, if do not search the signal of the co-frequency neighbor cell that the layer, sync grade is minimum layer, sync grade, determine that the layer, sync grade of this base station is not conflicted with the layer, sync grade of adjacent base station;
If the signal of the co-frequency neighbor cell that to search the layer, sync grade be minimum layer, sync grade, within the time of the second setting duration, continue to monitor the signal of this co-frequency neighbor cell, if the layer, sync grade of this co-frequency neighbor cell is minimum layer, sync grade within the time of the second setting duration always, the layer, sync grade of determining this base station is conflicted with the layer, sync grade of the base station at this co-frequency neighbor cell place, if the layer, sync grade of this co-frequency neighbor cell changes within the time of the second setting duration, the layer, sync grade of determining this base station is not conflicted with the layer, sync grade of adjacent base station.
The second, send the information of the layer, sync grade of this base station to gateway device; Determine according to the feedback information of gateway device whether the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station.
Concrete, if the feedback information of gateway device is confirmation, the layer, sync grade of determining this base station is not conflicted with the layer, sync grade of adjacent base station, if the feedback information of gateway device is exclude information, determines that the layer, sync grade of this base station is conflicted with the layer, sync grade of adjacent base station;
Described confirmation is gateway device at synchronization stratum information and the information of adjacent cells of all base stations according to storage, determines the information that the layer, sync grade of this base station is not conflicted and sent afterwards with the layer, sync grade of adjacent base station; Described exclude information is gateway device at synchronization stratum information and the information of adjacent cells of all base stations according to storage, determines the information that the layer, sync grade of this base station is conflicted and sent afterwards with the layer, sync grade of adjacent base station; Perhaps,
Described confirmation be gateway device after the information of the layer, sync grade by this base station sends to each adjacent base station, the information sent while receiving the confirmation information of adjacent base station replying or the reply that does not receive adjacent base station in setting duration; Described exclude information be gateway device after the information of the layer, sync grade by this base station sends to adjacent base station, the information sent while receiving the exclude information of adjacent base station replying.
Accordingly, in step 302, select the adjacent base station of conflict as synchronisation source, specific implementation can adopt one of following two kinds of methods:
The first, while comprising the information of adjacent base station of conflict in the exclude information received, select the indicated adjacent base station of this information as synchronisation source;
The second, search adjacent cell signal, the base station at the elementary adjacent cell of the layer, sync place that selection searches is as synchronisation source.
In step 302, reset the layer, sync grade of this base station, specific implementation can be as follows: the layer, sync grade of this base station is re-set as than the layer, sync grade of the high grade of minimum layer, sync grade.
As Fig. 3 b, for the gateway device side, the first synchronizing information feedback method that the embodiment of the present invention provides comprises the following steps:
Step 311: the information of the layer, sync grade of this base station that gateway device reception base station sends;
Step 312: gateway device determines that whether the layer, sync grade of this base station conflict with the layer, sync grade of adjacent base station, and return to feedback information according to definite result to base station.
The specific implementation of step 312 can be as follows:
If gateway device, according to synchronization stratum information (comprising the layer, sync grade) and the information of adjacent cells of all base stations of storage, determines that the layer, sync grade of this base station is not conflicted with the layer, sync grade of adjacent base station, to base station, return to confirmation; If according to synchronization stratum information and the information of adjacent cells of all base stations of storage, determine that the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station, to base station, return to exclude information; Perhaps,
After gateway device sends to adjacent base station by the information of the layer, sync grade of this base station, the confirmation information of replying adjacent base station if receive or the reply that does not receive adjacent base station in setting duration, return to confirmation to base station; If receive the exclude information that reply adjacent base station, to base station, return to exclude information.
How to carry out effectively synchronous problem for the base station solved based on local IP connecting system, the embodiment of the present invention provides the method for the second base station synchronization.
Referring to Fig. 4 a, for base station side, the method for the second base station synchronization that the embodiment of the present invention provides comprises the following steps:
Step 401: base station receives the configuration information that comprises the layer, sync grade that gateway device sends;
Step 402: base station arranges the layer, sync grade of self according to described configuration information, and the layer, sync grade that is about to self is set to the layer, sync grade in this configuration information; If the layer, sync grade of this base station is not minimum layer, sync grade, definite synchronisation source, and realization is synchronizeed with this synchronisation source; If the layer, sync grade of this base station is minimum layer, sync grade, carry out synchronously Hui Yugai base station, adjacent base station.
In step 401, base station receives the configuration information that comprises the layer, sync grade that gateway device sends, and specific implementation can be as follows:
Base station, after being linked into network, receives the configuration information that comprises the layer, sync grade that gateway device sends; Perhaps,
Base station, after not searching effective synchronisation source, sends the synchronization level request message to gateway device; Receive the configuration information that comprises the layer, sync grade that gateway device returns.
The method of above-mentioned definite synchronisation source can be as follows:
While in the configuration information received, also comprising information of adjacent cells, determine the base station at the elementary adjacent cell of layer, sync place according to this information of adjacent cells, using definite base station as synchronisation source; Here information of adjacent cells can comprise the information such as layer, sync grade of adjacent cell; Perhaps,
Search adjacent cell signal, the base station at the elementary adjacent cell of the layer, sync place that selection searches is as synchronisation source.
Preferably, after base station receives described configuration information, base station receives the reconfiguration information that gateway device sends after network design changes, and comprises the layer, sync grade after renewal in this reconfiguration information; Base station resets the layer, sync grade of self according to this reconfiguration information, the layer, sync grade that is about to self is set to the layer, sync grade in this reconfiguration information; If after resetting, the layer, sync grade of this base station, not for minimum layer, sync grade, redefines synchronisation source, and realize and the synchronizeing of the synchronisation source redefined.
Same, the above-mentioned method that redefines synchronisation source can be as follows:
While in the reconfiguration information received, also comprising information of adjacent cells, determine the base station at the elementary adjacent cell of layer, sync place according to this information of adjacent cells, using definite base station as synchronisation source; Perhaps,
Search adjacent cell signal, the base station at the elementary adjacent cell of the layer, sync place that selection searches is as synchronisation source.
As shown in Figure 4 b, for the gateway device side, the second synchronizing information feedback method that the embodiment of the present invention provides comprises the following steps:
Step 411: gateway device is determined the layer, sync grade of base station; Can be in advance by the layer, sync class stores of base station in gateway device, gateway device is determined the layer, sync grade of base station according to canned data;
Step 412: the configuration information that gateway device will comprise described layer, sync grade sends to base station.
In step 412, the configuration information that gateway device will comprise described layer, sync grade sends to base station, and specific implementation can be as follows:
Gateway device is after base station is linked into network, and the configuration information that will comprise described layer, sync grade sends to base station; Perhaps,
Gateway device is after receiving when base station does not search effective synchronisation source the synchronization level request message sent, and the configuration information that will comprise described layer, sync grade sends to base station.
Preferably, after the configuration information that at gateway device, will comprise the layer, sync grade sends to base station, gateway device sends reconfiguration information after network design changes to base station, comprises the layer, sync grade after renewal in this reconfiguration information.Layer, sync grade after renewal is the layer, sync grade reset for base station after network design changes.
How to carry out effectively synchronous problem for the base station solved based on local IP connecting system, the embodiment of the present invention provides the method for the third base station synchronization.
Referring to Fig. 5 a, for base station side, the method for the third base station synchronization that the embodiment of the present invention provides comprises the following steps:
Step 501: base station reports the positional information of this base station in the registration process to maintenance and management entity (OAM); The configuration information of the layer, sync class information that comprises adjacent base station that reception OAM returns; This neighbour base station is the elementary adjacent base station of layer, sync in the OAM Ge Lin base station, this base station definite according to the positional information of this base station;
Step 502: base station is according to the layer, sync hierarchical search synchronisation source of the adjacent base station in configuration information, and synchronizeed with this synchronisation source, and the signal of the adjacent cell that search comprises this layer, sync grade, using this adjacent cell as synchronisation source, and synchronizeed with this synchronisation source.
Preferably, with after the synchronisation source searched is synchronizeed, can carry out following steps in base station:
If A is synchronizeed successfully with this synchronisation source, to OAM, return to the synchronously successfully indication of the information that comprises this synchronisation source;
If the synchronization failure of B and this synchronisation source, to OAM, return to the synchronization failure indication of the information that comprises this synchronisation source, and receive the configuration information of the layer, sync class information that comprises the adjacent base station redefined that OAM returns to, again search for synchronisation source according to the layer, sync class information of the adjacent base station redefined, and synchronizeed with the synchronisation source again searched, return to steps A.
Preferably, after step 501, base station receives the configuration information that OAM resends after network design changes, the layer, sync class information that comprises the adjacent base station redefined in this configuration information resend; Again search for synchronisation source according to the layer, sync class information of the adjacent base station redefined, and synchronizeed with the synchronisation source again searched; If synchronous success, return to successfully indication to OAM, and reset the high one-level of layer, sync grade of the synchronisation source that the layer, sync grade proportion new search of this base station arrives; If synchronization failure, keep current layer, sync grade, and send to OAM the indication that the layer, sync grade remains unchanged.
As shown in Figure 5 b, for the OAM side, the method for the third base station synchronization that the embodiment of the present invention provides comprises the following steps:
The positional information of this base station that step 511:OAM reception base station reports in registration process;
Step 512:OAM determines the elementary adjacent base station of layer, sync in Ge Lin base station, this base station according to the positional information of this base station, and the configuration information that will comprise the layer, sync class information of this neighbour base station sends to this base station.
Further, after OAM sends to base station by configuration information, if OAM receives the synchronously successfully indication of the information that comprises synchronisation source of base station transmission,, according to should synchronously successfully indicating the layer, sync grade of determining and storing this base station, the layer, sync classification of this base station is than the layer, sync grade of the high grade of layer, sync grade of this synchronisation source;
If receive the synchronization failure indication of the information that comprises synchronisation source of base station transmission, OAM redefines an adjacent base station of this base station according to the positional information of this base station; And the configuration information that will comprise the layer, sync class information of the adjacent base station redefined sends to this base station.Here, the adjacent base station redefined can be the elementary adjacent base station of layer, sync in the adjacent base station be not selected, the adjacent base station be not selected if do not exist, the adjacent base station redefined can be this OAM, the layer, sync class information of this OAM can be set to sky, after being synchronizeed with this OAM in base station and returning to confirmation of synchronization message, OAM is recorded as minimum layer, sync grade by the layer, sync grade of base station.
Preferably, after OAM sends to base station by configuration information, OAM is after network design changes, redefine an adjacent base station of this base station according to the positional information of this base station, redefine the elementary adjacent base station of layer, sync in each adjacent base station, and the configuration information that will comprise the layer, sync class information of the adjacent base station redefined sends to this base station.If follow-up OAM receives the synchronously successfully indication of the information that comprises synchronisation source of base station transmission,, according to should synchronously successfully indicating the layer, sync grade of determining and storing this base station, the layer, sync classification of this base station is than the layer, sync grade of the high grade of layer, sync grade of this synchronisation source.
Below in conjunction with specific embodiment, the present invention will be described:
The present invention proposes a kind of base station synchronization method based on local IP connecting system: by coordinating based on self adaptation between local IP connecting system network node, adjust synchronisation source relation in network design, realize between base station effectively synchronous.
Specifically comprise three kinds of situations:
Situation 1: the base station distribution formula is regulated the layer, sync grade automatically.
Base station, when not having synchronisation source available, is adjusted into apart from the adjacent cell frequency available frequency farthest by self frequency, and is customized for minimum layer, sync 0.Adjacent base station is can be with it synchronous and be made as more higher leveled layer, sync.When a plurality of adjacent base station statements are the lowermost layer synchronisation source, need to introduce Hedging mechanism.
Hedging mechanism is: base station 1 self layer, sync grade is set to 0, and in the layer, sync setting of the interior search neighbor cell of time T 0, if the overtime co-frequency neighbor cell that does not all search out layer, sync grade 0 of T0, base station 1 stabilizes to 0 by self layer, sync grade; If searching out the layer, sync grade of co-frequency cell 2 is 0, start timer T1, and continue to monitor community 2, if the overtime community of timer T1 2 layer, sync grades are still 0, base station 1 is made as 2 base stations, place, 1 ,Bing Yi community as synchronisation source using self layer, sync.T0 is set to be greater than the value of all adjacent cell layer, sync of base station measurement grade required time, and T1 is set to be greater than the value that remeasures a cell synchronous layer grade required time, and T0 and T1 can be arranged voluntarily by OAM configuration or base station.For further avoiding collision, T1 can be made as at an interval [Tmin, Tmax] and get arbitrary value by being uniformly distributed.
The layer, sync grade of situation 2:GW unified management adjacent base station;
Scheme one: GW stores synchronization stratum information and the information of adjacent cells of all base stations, when self layer, sync grade is determined in base station, send layer, sync classification request message to GW, wherein comprise the layer, sync grade of selecting voluntarily base station, if GW determines that base station selected layer, sync grade does not clash with other adjacent base stations, to the base station feedback confirmation, as Fig. 6 a; Otherwise the feedback refuse information is also carried the layer, sync class information into the base station configuration, as Fig. 6 b.
Scheme two: GW is directly base station configuration synchronization layer grade;
GW storage base station synchronization layer class information and information of adjacent cells, as shown in Fig. 6 c, after the base station access network network, send configuration information to base station, comprising the layer, sync grade, can also comprise and need synchronous information of adjacent cells, the layer, sync grade is determined in base station, and determines synchronisation source according to received configuration.When having the base station switching on and shutting down that the network design situation is changed, GW can send reconfiguration message to AP, with layer, sync class information of reconfiguring AP etc.Perhaps,
As shown in Fig. 6 d, after the base station access network network, send configuring request information to GW, the layer, sync grade that wherein can comprise expectation, GW sends configuration information to base station, comprising the layer, sync grade of configuration, can also comprise and need synchronous information of adjacent cells, the layer, sync grade is determined in base station, and determines synchronisation source according to received configuration.When having the base station switching on and shutting down that the network design situation is changed, GW can send reconfiguration message to AP, with layer, sync class information of reconfiguring AP etc.
Scheme three: GW collects layer, sync class information feedback to adjacent base station;
GW does not store the synchronization stratum information of base station, after base station selected layer, sync grade, to GW, sends the layer, sync class information; GW sends the inquiry of layer, sync grade to other base stations, if confirmation is not replied or reply in all adjacent base stations, GW is to this base station feedback confirmation, as Fig. 6 e; If there is an adjacent base station reply exclude information and carry synchronization stratum information, GW is transmitted to this base station by this information, as Fig. 6 f.This base station is adjusted the layer, sync grade and determines synchronisation source according to adjacent cell layer, sync level status according to feedback information.
Adjacent base station judge the foundation that feedback acknowledgment still refuses, and whether the layer, sync grade current with self conflicted.For example adjacent base station AP1 and AP2 are made as layer, sync grade 0, and AP2 will feed back refuse information and advise that AP1 is made as layer, sync grade 1.
Situation 3:: by OAM configurating base station layer, sync grade;
Here OAM is network management unit (Network Manager, NM), is below managing numerous AP.OAM can store positional information and the layer, sync grade thereof with all AP of its registration.
After a new AP start, report the positional information of oneself in the OAM registration process, OAM is according to positional information, roughly determine its adjacent base station (being AP) information on every side, select the elementary adjacent base station of layer, sync in adjacent base station, and in configuration parameter, adjacent base station and layer, sync grade are sent to AP.AP determines synchronisation source according to the configuration information of receiving and carries out synchronous.If synchronous success, return to successfully indication to OAM, OAM determines layer, sync grade the storage of this AP according to its indication; If synchronously unsuccessful, return to unsuccessfully indication, OAM can continue to select other adjacent base stations as its synchronisation source according to positional information, and in configuration parameter, adjacent base station and layer, sync grade is sent to AP.
When having the base station switching on and shutting down that the network design situation is changed, can send configuration messages to AP, with layer, sync grade and the adjacent base station information that reconfigures AP.
Embodiment mono-: base station is adjusted the layer, sync grade voluntarily;
Step 1: the base station search synchronisation source, if search synchronisation source, the layer, sync grade that the layer, sync grade of self is made as to synchronisation source adds 1, and synchronisation source is carried out to network monitoring to realize that synchronously, layer, sync classification process finishes.If there is no synchronisation source or there is no effective synchronisation source (not having effective synchronisation source to refer to that the layer, sync grade of the synchronisation source that searches has reached greatest level), perform step two.
Step 2: base station is set to from adjacent cell frequency distance available frequency farthest by working frequency points, and the layer, sync grade that self is set is 0.Start timer T0, the layer, sync grade of search adjacent cell, all do not search if T0 is overtime the adjacent cell that the layer, sync grade is 0, performs step four; If search the adjacent cell that the layer, sync grade is 0, perform step three.
Step 3: start timer T1, detect the adjacent cell that the layer, sync grade is 0, if when T1 is overtime, this adjacent cell has changed the layer, sync grade, perform step four, otherwise the synchronization level of self is set to 1, and take this adjacent cell as synchronisation source, finish layer, sync classification process.
Step 4: the layer, sync grade of fixing this base station is 0.
Take AP1, AP2 further illustrates as example.The T0 of AP1, AP2 is identical value by default configuration, and T1-AP1 and T1-AP2 get random number by being uniformly distributed between [Tmin, Tmax].
AP1 and AP2 open in adjacent position simultaneously, and all there is no effective synchronisation source.AP1, AP2 are set to layer, sync grade 0 simultaneously, and each self-starting T0.AP1 finds AP2, starts T1-AP1, and when T1-AP1 is overtime, AP2 layer, sync grade is still 0, and AP1 layer, sync grade is set to 1.AP2 finds AP1, starts T1-AP2, during AP1 layer, sync grade detected and change to 1, stop T1-AP2, maintaining the layer, sync grade is 0.
Embodiment bis-: base station and GW consult the layer, sync grade;
Step 1: the base station search synchronisation source, if search synchronisation source, the layer, sync grade that the layer, sync grade of self is made as to synchronisation source adds 1, and synchronisation source is carried out to network monitoring to realize that synchronously, layer, sync classification process finishes.If there is no synchronisation source or there is no effective synchronisation source (not having effective synchronisation source to refer to that the layer, sync grade of the synchronisation source that searches has reached greatest level), perform step two.
Step 2: base station is set to from adjacent cell frequency distance available frequency farthest by working frequency points, and the layer, sync grade that self is set is 0.Send base station configuration information to GW, wherein comprise the layer, sync class information.
Step 3: GW receives the base station configuration information that base station sends, and according to base station synchronization layer class information and the information of adjacent cells of GW storage, determines whether base station can be used as layer, sync grade 0, if can, reply confirmation; If it is 0 that the layer, sync grade of another adjacent cell is arranged, replys exclude information, and advise that alternatively base station layer, sync grade is set to 1.
Step 4: base station receives the feedback information of GW, determines the layer, sync grade.If this base station synchronization layer grade is made as 1, according to adjacent cell layer, sync grade situation, determine synchronisation source.
Embodiment tri-: GW specific base layer, sync grade (GW directly specifies);
The firm access network in base station:
Step 1: after base station completes access procedure, GW defines the access of new base station, sends base station configuration information to base station, wherein comprises the layer, sync class information of base station, can also comprise and need synchronous information of adjacent cells;
Step 2: base station receives the base station configuration information that GW sends, and configures the layer, sync grade of self according to layer, sync class information wherein, and monitors adjacent cell layer, sync grade to determine synchronisation source.
Or,
The network design situation changes:
Step 1: network design changes, and GW determines the layer, sync grade that needs the change base station, to transmission base station, base station reconfiguration information, wherein comprises the layer, sync class information of base station, can also comprise and need synchronous information of adjacent cells;
Step 2: base station receives the base station reconfiguration information that GW sends, and configures the layer, sync grade of self according to layer, sync class information wherein, and monitors adjacent cell layer, sync grade to determine synchronisation source.
Embodiment tetra-: GW specific base layer, sync grade (AP request, GW directly specifies);
Step 1: the base station search synchronisation source, if search synchronisation source, the layer, sync grade that the layer, sync grade of self is made as to synchronisation source adds 1, and synchronisation source is carried out to network monitoring to realize that synchronously, layer, sync classification process finishes.If there is no synchronisation source or there is no effective synchronisation source (not having effective synchronisation source to refer to that the layer, sync grade of the synchronisation source that searches has reached greatest level), perform step two.
Step 2: send base station synchronization layer rank request information to GW, wherein comprise alternatively the layer, sync grade (differ and be decided to be 0) of base station suggestion.
Step 3: GW determines the layer, sync grade of base station, sends base station configuration information to base station, wherein comprises the layer, sync class information of base station;
Step 4: base station receives the base station configuration information that GW sends, and configures the layer, sync grade of self according to layer, sync class information wherein, and the layer, sync grade of monitoring adjacent cell is to determine synchronisation source.
Embodiment five: GW collects feedback to adjacent base station;
Step 1: base station 1 search synchronisation source, if search synchronisation source, the layer, sync grade that the layer, sync grade of self is made as to synchronisation source adds 1, synchronisation source is carried out to network monitoring and realize that synchronously, layer, sync classification process finishes.If there is no synchronisation source or there is no effective synchronisation source (not having effective synchronisation source to refer to that adjacent cell synchronisation source grade has reached greatest level), perform step two.
Step 2: base station 1 sends base station configuration information to GW, wherein comprises the layer, sync class information.
Step 3: GW, to the base station configuration information of other transmission base stations, base station 1, wherein comprises the layer, sync class information.If confirmation is replied in other base stations or GW does not receive the feedback of other base stations in time span T1, perform step four; If have a base station to reply exclude information, and carry alternatively the layer, sync grade of suggestion, perform step five.
Step 4: GW is the definite information of 1 transmission to base station.
Step 5: GW is 1 transmission exclude information to base station, and sends the layer, sync grade configuration of suggestion.
Step 6: the layer, sync grade is determined in base station, determines as required synchronisation source.
Embodiment six: OAM is each base station separate configurations layer, sync grade;
The firm access network of AP:
After step 1: AP start, report the positional information of oneself in the OAM registration process, OAM is according to positional information, roughly determine its adjacent base station (being AP) information on every side, select the elementary adjacent base station of layer, sync in adjacent base station, in configuration parameter, selected adjacent base station and layer, sync class information thereof are sent to AP.
Step 2: AP receives the base station configuration information that OAM sends, and monitors adjacent cell layer, sync grade to determine synchronisation source.
If synchronous success, return to successfully indication to OAM, OAM confirms layer, sync grade (the layer, sync grade of synchronisation source+1) the storage of current AP according to this indication; If synchronously unsuccessful, OAM continues according to positional information, select the elementary adjacent base station of layer, sync in the adjacent collection of base stations be not selected, and in configuration parameter, selected adjacent base station and layer, sync class information thereof are sent to AP, AP is repeating step two, until choose suitable synchronisation source.
Still there is no suitable synchronisation source if attempt behind all adjacent base stations, OAM is made as oneself by selected base station in configuration information, and the layer, sync class information is made as sky, sends to AP.After AP returns to acknowledge message, OAM is designated as 0 by the layer, sync grade of this AP.
Or,
The network design situation changes:
Step 1: network design changes, and OAM determines layer, sync grade and the positional information of change AP, determines the AP that needs to occur the change synchronization level, and sends configuration information to these AP, wherein comprises AP layer, sync class information;
Step 2: AP receives the configuration information that GW sends, and according to layer, sync class information wherein, attempts monitoring adjacent cell layer, sync classification synchronisation source.
If synchronous success, return to successfully indication to OAM, OAM confirms layer, sync grade (the layer, sync grade of synchronisation source+1) the storage of current AP according to this indication; If unsuccessful, AP still keeps original synchronization level and sends to OAM the indication that remains unchanged.
Referring to Fig. 7, the embodiment of the present invention provides ,Gai base station, a kind of base station to comprise:
Setting unit 70, for after not searching effective synchronisation source, the layer, sync grade of this base station is set to minimum layer, sync grade;
Whether determining unit 71, conflict with the layer, sync grade of adjacent base station for the layer, sync grade of determining this base station;
The first processing unit 72, for when described determining unit is determined conflict, reset the layer, sync grade of this base station, and select the adjacent base station of conflicting as synchronisation source, and realization is synchronizeed with this synchronisation source;
The second processing unit 73, while not conflicting for determining in described determining unit, be fixed as minimum layer, sync grade by the layer, sync grade of this base station, so that carry out synchronously Yu Gai base station, adjacent base station.
Further, described determining unit 71 for:
Determine by search adjacent cell signal whether the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station; Perhaps,
Send the information of the layer, sync grade of this base station to gateway device; Determine according to the feedback information of gateway device whether the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station.
Further, described determining unit 71 for:
Search adjacent cell signal within the time of the first setting duration, if do not search the signal of the co-frequency neighbor cell that the layer, sync grade is minimum layer, sync grade, determine that the layer, sync grade of this base station is not conflicted with the layer, sync grade of adjacent base station;
If the signal of the co-frequency neighbor cell that to search the layer, sync grade be minimum layer, sync grade, within the time of the second setting duration, continue to monitor the signal of this co-frequency neighbor cell, if the layer, sync grade of this co-frequency neighbor cell is minimum layer, sync grade within the time of the second setting duration always, the layer, sync grade of determining this base station is conflicted with the layer, sync grade of the base station at this co-frequency neighbor cell place, if the layer, sync grade of this co-frequency neighbor cell changes within the time of the second setting duration, the layer, sync grade of determining this base station is not conflicted with the layer, sync grade of adjacent base station.
Further, described determining unit 71 for:
If the feedback information of gateway device is confirmation, the layer, sync grade of determining this base station is not conflicted with the layer, sync grade of adjacent base station, if the feedback information of gateway device is exclude information, determine that the layer, sync grade of this base station is conflicted with the layer, sync grade of adjacent base station;
Described confirmation is gateway device at synchronization stratum information and the information of adjacent cells of all base stations according to storage, determines the information that the layer, sync grade of this base station is not conflicted and sent afterwards with the layer, sync grade of adjacent base station; Described exclude information is gateway device at synchronization stratum information and the information of adjacent cells of all base stations according to storage, determines the information that the layer, sync grade of this base station is conflicted and sent afterwards with the layer, sync grade of adjacent base station; Perhaps,
Described confirmation be gateway device after the information of the layer, sync grade by this base station sends to adjacent base station, the information sent while receiving the confirmation information of adjacent base station replying or the reply that does not receive adjacent base station in setting duration; Described exclude information be gateway device after the information of the layer, sync grade by this base station sends to adjacent base station, the information sent while receiving the exclude information of adjacent base station replying.
Further, described the first processing unit 72 for:
While comprising the information of adjacent base station of conflict in described exclude information, select the indicated adjacent base station of this information as synchronisation source; Perhaps,
Search adjacent cell signal, the base station at the elementary adjacent cell of the layer, sync place that selection searches is as synchronisation source.
Further, described the first processing unit 72 for:
The layer, sync grade of this base station is re-set as than the layer, sync grade of the high grade of minimum layer, sync grade.
Referring to Fig. 8, the embodiment of the present invention provides ,Gai base station, a kind of base station to comprise:
Receiving element 80, the configuration information that comprises the layer, sync grade sent for receiving gateway device;
Lock unit 81, for arranging the layer, sync grade of self according to described configuration information; If the layer, sync grade of this base station is not minimum layer, sync grade, definite synchronisation source, and realization is synchronizeed with this synchronisation source.
Further, described receiving element 80 for:
After base station is linked into network, receive the configuration information that comprises the layer, sync grade that gateway device sends; Perhaps,
After not searching effective synchronisation source, to gateway device, send the synchronization level request message; Receive the configuration information that comprises the layer, sync grade that gateway device returns.
Further, this base station also comprises:
Updating block 82, the reconfiguration information sent after network design changes for receiving gateway device, comprise the layer, sync grade after renewal in this reconfiguration information;
Reset the layer, sync grade of self according to described reconfiguration information; If after resetting, the layer, sync grade of this base station, not for minimum layer, sync grade, redefines synchronisation source, and realize and the synchronizeing of this synchronisation source.
Further, described lock unit 81 for:
While in described configuration information, also comprising information of adjacent cells, determine the base station at the elementary adjacent cell of layer, sync place according to this information of adjacent cells, using definite base station as synchronisation source; Perhaps,
Search adjacent cell signal, the base station at the elementary adjacent cell of the layer, sync place that selection searches is as synchronisation source.
Referring to Fig. 9, the embodiment of the present invention provides ,Gai base station, a kind of base station to comprise:
Report unit 90, report the positional information of this base station for the registration process to maintenance and management entity OAM;
Receiving element 91, for receiving the configuration information of the layer, sync class information that comprises adjacent base station that OAM returns; The elementary adjacent base station of layer, sync that described adjacent base station is OAM this definite base station according to the positional information of this base station;
Lock unit 92, for the search of the layer, sync class information according to described adjacent base station synchronisation source, and synchronizeed with this synchronisation source.
Further, this base station further comprises:
Indicating member 93, for when successful with synchronizeing of this synchronisation source, return to the synchronously successfully indication of the information that comprises described synchronisation source to OAM;
When the synchronization failure with this synchronisation source, return to the synchronization failure indication of the information that comprises described synchronisation source to OAM, and receive the configuration information of the layer, sync class information that comprises the adjacent base station redefined that OAM returns to, again search for synchronisation source according to the layer, sync class information of the adjacent base station redefined, and synchronizeed with the synchronisation source again searched.
Further, this base station further comprises:
Updating block 94, the configuration information resend after network design changes for receiving OAM, the layer, sync class information that comprises the adjacent base station redefined in this configuration information resend; Again search for synchronisation source according to the layer, sync class information of the adjacent base station redefined, and synchronizeed with the synchronisation source again searched;
If synchronous success, return to successfully indication to OAM, and reset the high one-level of layer, sync grade of the synchronisation source that the layer, sync grade proportion new search of this base station arrives; If synchronization failure, keep current layer, sync grade, and send to OAM the indication that the layer, sync grade remains unchanged.
Referring to Figure 10, the embodiment of the present invention provides a kind of gateway device, and this gateway device comprises:
Receiving element 101, for the information of the layer, sync grade that receives this base station that base station sends;
Whether feedback unit 102, conflict with the layer, sync grade of adjacent base station, and return to feedback information according to definite result to base station for the layer, sync grade of determining this base station.
Further, described feedback unit 102 for:
If according to synchronization stratum information and the information of adjacent cells of all base stations of storing, determine that the layer, sync grade of this base station is not conflicted with the layer, sync grade of adjacent base station, to base station, return to confirmation; If according to synchronization stratum information and the information of adjacent cells of all base stations of storage, determine that the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station, to base station, return to exclude information; Perhaps,
After the information of the layer, sync grade of this base station is sent to adjacent base station, the confirmation information of replying adjacent base station if receive or the reply that does not receive adjacent base station in setting duration, return to confirmation to base station; If receive the exclude information that reply adjacent base station, to base station, return to exclude information.
Referring to Figure 11, the embodiment of the present invention provides a kind of gateway device, and this gateway device comprises:
Determining unit 111, for determining the layer, sync grade of base station;
Transmitting element 112, send to base station for the configuration information that will comprise described layer, sync grade.
Further, described transmitting element 112 for:
After base station is linked into network, the configuration information that will comprise described layer, sync grade sends to base station; Perhaps,
After receiving when base station does not search effective synchronisation source the synchronization level request message sent, the configuration information that will comprise described layer, sync grade sends to base station.
Further, this gateway device also comprises:
Reshuffle unit 113, for after changing at network design, to base station, sending reconfiguration information, comprise the layer, sync grade after renewal in this reconfiguration information.
Referring to Figure 12, the embodiment of the present invention provides a kind of maintenance and management entity OAM, and this OAM comprises:
Receiving element 121, for receiving the positional information of this base station that base station reports in registration process;
Dispensing unit 122, determine the elementary adjacent base station of layer, sync of this base station for the positional information according to this base station, and the configuration information that will comprise the layer, sync class information of this neighbour base station sends to this base station.
Further, this OAM also comprises:
Processing unit 123, for when receiving synchronously successfully the indicating of the information that comprises synchronisation source that base station sends, determine and store the layer, sync grade of this base station according to this synchronous successfully indication;
When the synchronization failure indication of the information that comprises synchronisation source that receives the base station transmission, redefine an adjacent base station of this base station according to the positional information of this base station, and the configuration information that will comprise the layer, sync class information of the adjacent base station redefined sends to this base station.
Further, this OAM also comprises:
Reshuffle unit 124, after changing at network design, redefine an adjacent base station of this base station according to the positional information of this base station, and the configuration information that will comprise the layer, sync class information of the adjacent base station redefined sends to this base station.
To sum up, beneficial effect of the present invention comprises:
In the first base station synchronization scheme that the embodiment of the present invention provides, base station is not after searching effective synchronisation source, the layer, sync grade of this base station is set to minimum layer, sync grade, and determines whether the layer, sync grade of this base station conflicts with the layer, sync grade of adjacent base station; If conflict, reset the layer, sync grade of this base station, and select the adjacent base station of conflicting as synchronisation source, realization is synchronizeed with this synchronisation source; If do not conflict, the layer, sync grade of this base station is fixed as to minimum layer, sync grade, so that Yu Gai base station, adjacent base station carries out synchronously, visible, this programme is regulated the layer, sync grade automatically by the base station distribution formula, has solved base station and how carry out synchronous problem when not searching effective synchronisation source.
In the second base station synchronization scheme that the embodiment of the present invention provides, base station receives the configuration information that comprises the layer, sync grade that gateway device sends, and the layer, sync grade of self is set according to this configuration information; If the layer, sync grade of this base station is not minimum layer, sync grade, definite synchronisation source, and realization is synchronizeed with this synchronisation source.Visible, this programme is indicated its layer, sync grade to base station by gateway device, and carry out synchronously according to the layer, sync grade of indication base station, thereby solved base station, how to carry out synchronous problem.
In the third base station synchronization scheme that the embodiment of the present invention provides, base station reports the positional information of this base station in the registration process to OAM, the configuration information of the layer, sync class information that comprises adjacent base station that reception OAM returns, according to the layer, sync class information search synchronisation source of this neighbour base station, and synchronizeed with this synchronisation source.Visible, this programme is the layer, sync grade to base station indication synchronisation source by OAM, and base station is synchronous to carry out according to the layer, sync hierarchical search synchronisation source of indication, thereby solved base station, how to carry out synchronous problem.
The present invention describes with reference to flow chart and/or the block diagram of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out on computer or other programmable devices is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.