WO2010054546A1 - Synchronization method, base station, network server and communication system - Google Patents

Synchronization method, base station, network server and communication system Download PDF

Info

Publication number
WO2010054546A1
WO2010054546A1 PCT/CN2009/071621 CN2009071621W WO2010054546A1 WO 2010054546 A1 WO2010054546 A1 WO 2010054546A1 CN 2009071621 W CN2009071621 W CN 2009071621W WO 2010054546 A1 WO2010054546 A1 WO 2010054546A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
clock
clock reference
reference base
preamble signal
Prior art date
Application number
PCT/CN2009/071621
Other languages
French (fr)
Chinese (zh)
Inventor
刘洪�
黄晖
林海鸿
吴勇
江胜峰
伊成刚
Original Assignee
深圳华为通信技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳华为通信技术有限公司 filed Critical 深圳华为通信技术有限公司
Publication of WO2010054546A1 publication Critical patent/WO2010054546A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Definitions

  • the present invention relates to communication technologies, and more particularly to a method of synchronization, a base station, a network server, and a communication system.
  • the base station's synchronous multi-application GPS (Global Position System) synchronization technology is used for synchronization, and the existing global positioning system GPS is divided into:
  • User equipment part - GPS signal receiver.
  • the GPS satellite constellation works in conjunction with the ground monitoring system to provide an accurate time signal to the ground that covers all areas of the world.
  • the GPS signal receiver outputs a precise 1PPS (Pulse Per Second) after receiving the time signal of the satellite constellation.
  • Second pulse Pulse and absolute time to communication devices (such as base stations, etc.) that need to be synchronized. Accurate absolute time and precise, stable 1PPS pulses are important conditions for synchronization within a communication system.
  • the inventors found that at least the following problems exist in the prior art:
  • the traditional synchronization mechanism such as the GPS synchronization technology cannot solve the synchronization problem well, such as the GPS signal transmitted through the satellite, in the building.
  • GPS signals are blocked and attenuated, resulting in GPS signals not being able to receive well, so that communication devices installed indoors and requiring synchronization cannot pass through the GPS receiver directly. Achieve good synchronization.
  • the embodiment of the invention provides a synchronization method, a base station, a network server and a communication system, so as to solve the problem that the base station cannot receive the GPS signal and cannot be synchronized.
  • the clock receives a preamble signal from the base station from the clock reference base station;
  • Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
  • a base station includes: a receiving module, a detecting module, and a synchronization module, where the receiving module is configured to receive a preamble signal from a clock reference base station, and forward the preamble signal to the detecting module;
  • the detecting module is configured to detect the preamble signal, determine a phase deviation from the clock reference base station, and determine a frequency deviation from the clock reference base station according to the phase deviation;
  • the synchronization module is configured to perform time synchronization according to the determined phase deviation, and perform frequency synchronization according to the frequency deviation.
  • a network server provided by the embodiment of the present invention specifically includes a receiving module, a confirming module, a storage module, a selecting module, and a sending module.
  • the receiving module is configured to receive a preamble signal set S 1 from a base station;
  • the acknowledgment module is configured to confirm the base station to which each preamble signal in the set S 1 belongs, and form a base station set S2;
  • the storage module is configured to store a clock state of the base station
  • the selecting module is configured to select a clock reference base station from the base station set S2 confirmed by the confirming module according to a clock state of the base station stored by the storage module, and send related information of the selected clock reference base station to the Sending module
  • the sending module is configured to send related information of the clock reference base station to the base station.
  • the communication system provided by the embodiment of the present invention includes a clock slave base station, and the clock is connected to the clock reference base station in a communicable manner from the base station;
  • the clock slave base station is configured to receive a preamble signal from a clock reference base station, detect the preamble signal, determine a phase deviation from the clock reference base station, and determine a frequency offset from the clock reference base station according to the phase deviation, Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
  • the clock slave base station can quickly synchronize with the clock reference base station according to the preamble signal of the clock reference base station, and does not need to receive the GPS signal, so that the base station can be free from the limitation of the coverage scenario, and Since the base station cannot receive the GPS signal and cannot be synchronized, the base station can acquire the synchronization simply and quickly by the embodiment of the present invention, and the cost of the base station can be reduced because the GPS device can be eliminated.
  • FIG. 1 is a schematic diagram of synchronization according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an initial synchronization phase according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a cycle synchronization phase according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of a method for determining a clock reference base station according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a method for re-determining a clock reference base station according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a base station according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a network server according to an embodiment of the present invention.
  • the pilot signal may be a Preamble signal, and embodiments of the present invention are not limited to WiMAX systems.
  • the base station's Preamble signal coverage distance is much higher than its broadcast message and the traffic channel coverage distance.
  • the base station that needs to be synchronized can Receiving a Preamble signal of a neighboring base station and recovering the clock of the neighboring base station by demodulating the Preamble signal of the neighboring base station, thereby achieving synchronization with the neighboring base station.
  • the clock reference base station R-BS is set, and the base station capable of receiving the GPS signal or obtaining the precise synchronization by other methods can be selected as the clock reference base station.
  • the other base station capable of receiving the Preamble signal of the clock reference base station R-BS can be used as the clock slave base station SLAVE-BS, as shown in FIG.
  • the clock receives the Preamble signal of the clock reference base station R-BS in the local area from the base station SLAVE-BS, and measures the phase deviation of the local clock from the base station SLAVE-BS relative to the clock reference base station R-BS, and then according to the measurement
  • the phase deviation is adjusted for the time of the clock from the base station SLAVE-BS, and further, the frequency deviation is obtained according to the measured phase deviation, and the frequency of the clock from the base station SLAVE-BS is adjusted according to the frequency deviation, thereby realizing
  • the clock is synchronized from the frequency and time between the base station SLAVE-BS and the clock reference base station R-BS.
  • the clock slave base station SLAVE-BS can quickly synchronize with the clock reference base station R-BS according to the Preamble signal of the clock reference base station, without receiving a GPS signal, so that it can be The coverage of the scene is not synchronized because the base station cannot receive the GPS signal.
  • the base station can acquire synchronization simply and quickly, and the cost of the base station can be reduced because the GPS device can be eliminated.
  • the synchronization of the clock from the base station SLAVE-BS can be performed in two stages, that is, the initial synchronization phase and the periodic synchronization phase, and the initial synchronization in the synchronization method provided by the embodiment of the present invention as shown in FIG.
  • the schematic diagram of the process of the phase is as follows:
  • Step 200 Determine to monitor the start frame of the clock reference base station R-BS, and the number of repetitions N of the interception.
  • the predetermined clock reference base station R-BS Preamble signal can be used for synchronization.
  • the clock is determined from the base station SLAVE-BS to synchronize the start frame of the clock reference base station R-BS, such as the frame determining the start frame to be monitored.
  • the determining the starting frame to be monitored may be: randomly selecting a frame of the clock reference base station R-BS as a starting frame; preferably, the base station may be referenced according to the clock.
  • Step 201 Receive a Preamble signal of the clock reference base station R_BS from the determined start frame, measure a phase deviation from the Preamble signal, determine a frequency offset according to the phase deviation, and perform a synchronization operation.
  • the clock from the base station SLAVE-BS starts measuring the phase deviation from the Preamble signal for each received Preamble signal from the determined start frame, and repeats the N times. Then, the phase deviations obtained by the N measurements are averaged to obtain an average phase deviation, and the frequency deviations are determined according to the phase deviations obtained by the N measurements, and averaged to obtain an average frequency deviation. The local time is adjusted using the average phase deviation, and the local frequency is adjusted based on the average frequency deviation, so as to achieve synchronization with the time and frequency of the clock reference base station.
  • the determining the frequency deviation based on the phase deviation obtained by the N measurements may specifically be to calculate the frequency deviation according to the following formula:
  • the Pi is the phase deviation detected by the ith time
  • Ti is the time when the phase deviation is detected for the ith time
  • the Pj is the phase deviation detected by the jth time
  • the corresponding frequency deviation may be determined for two consecutive phase deviations, that is, ij is 1 at this time, so that N-1 frequency deviations may be obtained, and the N-1 frequency deviations are described. Find the average and get the average frequency deviation.
  • the clock slave base station SLAVE-BS can quickly synchronize with the clock reference base station R-BS according to the Preamble signal of the clock reference base station, without receiving a GPS signal, so that Limited by the coverage scenario, not because the base station cannot Receiving the GPS signal results in the inability to synchronize.
  • the base station can acquire synchronization simply and quickly, and because the GPS device can be eliminated, the cost of the base station can be reduced.
  • FIG. 3 it is a schematic flowchart of a cycle synchronization phase in a base station synchronization method according to an embodiment of the present invention, which is specifically as follows:
  • Step 300 Determine a synchronization period.
  • the cycle synchronization phase may be entered, and the synchronization period may be determined according to the currently obtained synchronization situation, such as 50s or 100s, etc., so that when the synchronization period expires , for a sync.
  • Step 301 When the synchronization period is reached, receive a Preamble signal from the clock reference base station R-BS, measure a phase deviation from the Preamble signal, determine a frequency offset according to the phase deviation, and perform a synchronization operation.
  • the local time is adjusted by using the phase deviation, and further, according to the frequency deviation, the local frequency is adjusted according to the determined frequency deviation, so as to achieve the time and frequency of the same clock reference base station.
  • Determining the frequency deviation of the clock reference base station R-BS according to the phase deviation may be determining the frequency deviation according to the method of Equation 1 above, and then taking the value of Pi to detect the phase deviation of the current detection, and Pj is the last synchronization.
  • the phase deviation detected by the period, Ti - Tj is the synchronization period.
  • the synchronization period can be gradually increased according to the synchronization precision, that is, the synchronization period can be set to be larger as the synchronization precision is higher, and the synchronization period can be no longer increased when the synchronization period is increased to 1000s. If the phase deviation of the same clock reference base station R-BS is less than the preset threshold t (such as 2us), it can be judged that the clock has entered the steady state from the base station SLAVE-BS.
  • the preset threshold t such as 2us
  • phase synchronization phase may be directly entered, and the initial synchronization is not required.
  • the clock slave base station SLAVE-BS and the clock reference base station R-BS The clock reference relationship between the two can be transmitted.
  • BS1 uses BS0 as the clock reference base station
  • BS2 can use BS1 as the clock reference base station
  • BS3 can use BS2 as the base station.
  • the clock reference base station of course, the BS3 may also refer to the base station by using BS0 or BS1 as a clock, so that even one base station in the entire network may be connected to a GPS or other standard clock source, and other base stations directly or indirectly use it as Reference source to achieve synchronization of the entire network.
  • a method for determining a clock state according to an embodiment of the present invention is: a base station that obtains synchronization by using an external GPS or other standard clock source, and has a clock state of 0; and a base station with a base station of 0 as a reference base station of the base station is level 1
  • the level 1 base station is used as the clock reference base station, which is level 2, and is transmitted downwards in turn.
  • Level 0 is the highest priority. The larger the number of stages, the lower the priority.
  • Step 400 The network server receives the Preamble signal set reported from the base station from a certain clock.
  • the clock from the base station BS1 can scan the Preamble signal of the neighboring base station, and report the scanned Preamble signal of the neighboring base station to the network server as the set S1.
  • the clock from the base station BS1 can report a stronger signal in the Preamble signal of the neighboring base station to the network server.
  • it may be a threshold value T1 of a preset signal strength RSSI (Received Signal Strength Indication), and if the signal strength RSSI of the Preamble signal of the neighboring base station is greater than the T1, The Preamble signal is placed in the set S1; or the threshold T2 of the carrier-to-interference noise ratio (CINR) is preset, if the neighboring base station is described If the CINR of the Preamble signal is greater than the T2, the Preamble signal is placed in the set S1; or when the signal strength RSSI of the Preamble signal of the neighboring base station is greater than the T1 and the CINR is greater than When T2 is described, the Preamble signal is placed in the set S1, and the clock reports the set S1 from the base station BS1 to the network.
  • Network server may be a threshold value T1 of a preset signal strength RSSI (Received Signal Strength Indication), and if the signal strength RSSI of the Preamble signal of the neighboring base station is greater than the
  • the network server may be an independent physical entity in the system, or may be another entity integrated in the network, such as a network management system integrated in the network, or integrated in the network.
  • the network server stores a clock state of a base station in the network and a list of neighboring base stations of each base station.
  • Step 401 The network server confirms that the base stations to which each Preamble signal in the set S1 belongs, and form a base station set S2.
  • Step 402 The network server selects a clock reference base station R-BS from the base station set S2.
  • the network server queries each base station in the base station set S2 to query its clock state, and selects a base station with a higher priority clock state as the clock reference base station R-BS.
  • the base station that can select the highest priority clock state is used as the clock reference base station.
  • the Preamble signal with the highest signal quality is selected, such as the RSSI maximum or the CINR maximum.
  • Step 403 Notify the clock slave base station of the confirmed clock reference base station information.
  • the related information of the clock reference base station includes a clock state of the clock reference base station, a Preamble signal sequence number, and a frequency point of the clock reference base station. Further, the related information may further include the clock. Refer to the start time of the base station and its synchronization period.
  • the clock After receiving the relevant information of the clock reference base station notified by the network server from the base station BS1, the clock confirms the Preamble signal of the clock reference base station to be received according to the Preamble signal sequence number and the frequency point of the determined clock reference base station; Preferably, the received start frame is determined according to the start time of the clock reference base station and its synchronization period, and the Preamble signal from the clock reference base station is received from the determined start frame, according to the foregoing
  • the synchronization method provided by the embodiment of the invention performs synchronization.
  • the network server cannot confirm the base station to which each Preamble signal in the set S1 belongs, the signal quality can be confirmed according to the frequency self-planning.
  • the Preamble signal transmits information of the confirmed Preamble signal to the clock slave base station.
  • the network server may determine, according to the result of the frequency self-planning, whether each Preamble signal in the set S1 has the same The preamble signal of the same frequency of the base station, if any, preferably, selecting the Preamble signal with the highest signal quality from the preamble signals of the same frequency for the base station to serve as a clock reference; if not, selecting from the set S 1 The Preamble signal with the highest signal quality is selected for use by the base station as a clock reference.
  • the base station can determine the appropriate clock reference base station for the base station to enable the base station to use the clock reference base station for synchronization, and select the clock reference base station with the highest clock priority or the highest priority when determining the clock reference base station, so that Effectively avoiding the situation that multiple base stations form a clock reference closed loop, which ensures the mid-synchronization performance of the base stations in the network.
  • the base station BS1 when the base station BS1 is in the process of measuring the Preamble signal for synchronization, if a clock source is lost, the clock reference base station needs to be re-confirmed, and the base station may rescan the Preamble signal of its neighboring base station and report it.
  • the network server may re-confirm the clock reference base station and perform synchronization according to the scheme of the above embodiment.
  • the clock reference base station may be re-confirmed according to the method provided by the embodiment of the present invention, as shown in FIG. 5:
  • Step 500 If the clock source of the base station is lost, report the network server.
  • the base station When the base station loses its clock source during the synchronization process, such as the clock reference base station cannot be locked, the base station reports the information whose clock source is lost to the network server.
  • Step 501 The network server selects a new clock reference base station from the Preamble signal set reported by the base station, and instructs the base station to scan the new clock reference base station.
  • the network server may directly select a new clock reference base station from the Preamble signal set S1 reported by the previous base station, where the base station may be instructed to select a new clock reference base station according to the method provided in the foregoing embodiment. After selecting a new clock reference base station, the network server instructs the base station to scan the selected new clock reference base station.
  • Step 502 After receiving the indication from the network server, the base station scans the new clock reference base station, and reports the scan result to the network server.
  • the Preamble signal of the clock reference base station is scanned, and the signal strength is measured, and the scanned result is reported to the network server.
  • Step 503 The network server determines, according to the scan result reported by the base station, whether the new clock reference base station can be scanned. If yes, go to step 504, otherwise go back to step 501.
  • the network server determines, according to the scan report, whether the base station can scan the new clock reference base station, and if yes, the base station can Synchronization is performed using the clock reference base station, if not, then returning to step 501, re-selecting a new clock reference base station for the base station until a suitable clock reference base station is selected for the base station.
  • Step 504 The network server notifies the base station of related information of the new clock reference base station, and instructs the base station to perform synchronization by using the new clock reference base station.
  • the network server When the network server confirms that the base station can use the new clock reference base station according to the scan report of the base station, notify the base station of the related information of the new clock reference base station, and instruct the base station to utilize the new clock reference.
  • the base station synchronizes.
  • the related information includes a clock state of the clock reference base station, a Preamble signal sequence number, and a frequency point of the clock reference base station. Further, the related information may further include a start time of the clock reference base station and Its synchronization period. The base station is synchronized.
  • the clock state of the base station BS2 changes during the operation of the network.
  • the neighboring base station of the base station BS2 has a neighboring base station capable of receiving the Preamble signal of the base station BS2 and is currently synchronizing, Then, the neighboring base stations re-select the clock reference base station.
  • the method provided by the embodiment of the present invention may be used, as shown in FIG. 6:
  • Step 600 If the clock state of a base station changes, send a message to notify the network server.
  • the base station BS2 when the clock state of a certain base station BS2 changes, if the clock state priority of the base station BS2 increases or decreases, or the clock state thereof changes from an unstable state to a stable state, the base station BS2 sets its own clock.
  • the status change message informs the web server.
  • the network server records a current clock state of the base station.
  • Step 602 The network server determines whether there is a neighboring base station that needs to be synchronized in the neighboring base station of the base station, and if not, ends the process; if yes, the process goes to step 603.
  • Step 603 The network server determines a neighboring base station that needs to be synchronized, and combines the neighboring base stations that need to be synchronized into a set S3, and updates a clock source candidate list of each neighboring base station in the set S3.
  • the network server may separately maintain a clock source candidate list for each base station, where the related information that can be used as the clock reference base station of the base station is recorded, and when the clock state of the base station BS2 changes, The network server updates the clock state information about the base station BS2 in the list of clock source candidates of its neighboring base stations.
  • Step 604 The network server reselects a new clock reference base station for each neighboring base station in the set S3.
  • the method provided by the embodiment of the present invention may be used to reselect a new clock reference base station for each neighboring base station in the set S3.
  • Step 605 Determine whether the newly selected clock reference base station is the same as the clock reference base station selected last time for the base station. If they are the same, the process ends. If they are not the same, then go to step 606.
  • Step 606 Instruct the neighboring base station to scan the newly selected clock reference base station and report the scan report.
  • the message is sent to the neighboring base station to scan the newly selected clock reference base station and report the scan report.
  • the neighboring base station After receiving the message, the neighboring base station scans the newly selected clock reference base station and reports a scan report to the network server.
  • Step 607 The network server determines, according to the scan report, whether the new clock reference base station can be scanned. If no, the process ends; if yes, go to step 608.
  • Step 608 The network server instructs the neighboring base station to perform synchronization by using the new clock reference base station.
  • the network service when the clock state of an alternative clock reference station changes, the network service The trigger triggers the completion of the clock reference base station reselection.
  • the embodiment of the present invention further provides a base station.
  • the base station includes a receiving module 700, a detecting module 702, and a synchronization module 704.
  • the receiving module 700 is configured to receive a Preamble signal from a clock reference base station, and The Preamble signal is forwarded to the detection module 702.
  • the detection module 702 is configured to detect the Preamble signal, determine a phase deviation from the clock reference base station, and determine a frequency with the clock reference base station according to the phase deviation.
  • the synchronization module 704 is configured to perform time synchronization according to the phase deviation, and perform frequency synchronization according to the frequency deviation.
  • the detecting module 702 may perform the frequency deviation from the clock reference base station according to the phase deviation according to the above formula 1.
  • the synchronization module 704 further includes a digital-to-analog conversion module DA7040 and a oven controlled crystal oscillator (OCXO7042), and the synchronization module 704 performs the phase deviation and the frequency deviation according to the phase deviation and the frequency deviation.
  • the OCXO 7042 is configured to adjust a local time according to the phase deviation; the DA 7040 converts the phase deviation to output a voltage control voltage, and the OCXO 7042 is configured to adjust a local according to the voltage control voltage. Frequency, which is synchronized by adjusting the local time and frequency.
  • the DA 7040 converts the phase deviation and the frequency deviation, and outputs a voltage control voltage
  • the OCXO 7042 is configured to adjust the local frequency and the local time according to the voltage control voltage, so as to achieve adjustment by adjusting the local time and frequency. Synchronize.
  • the embodiment of the present invention further provides a network server.
  • the network server includes a receiving module 800, an acknowledgment module 802, a storage module 804, a selection module 806, and a sending module 808.
  • the receiving module 800 is configured to receive a Preamble signal set S1 from a base station.
  • the confirmation module 802 is configured to confirm the base station to which each Preamble signal in the set S1 belongs, and form a base station set S2.
  • the storage module 804 is configured to store a clock state of the base station. Preferably, the start time and the synchronization period of the base station are also stored.
  • the selection module 806 is configured to select a clock reference base station from the base station set S2 confirmed by the confirmation module 802 according to the information stored by the storage module 804, and send related information of the selected clock reference base station to the sending module 808.
  • the selecting module 806 queries the storage module 804 for the clock state of each base station in the base station set S2, and selects a base station with a higher priority clock state as the clock reference base station R-BS; preferably, The base station that can select the highest priority clock state is used as the clock reference base station. Further, if a plurality of Preamble signals in the set S1 belong to the selected clock reference base station, preferably, the Preamble with the highest signal quality is selected.
  • the signal may be the RSSI maximum or the CINR maximum, and the like.
  • the related information of the clock reference base station includes a clock state of the clock reference base station, a Preamble signal sequence number, and a frequency point of the clock reference base station;
  • the related information may further include a start time of the clock reference base station and a synchronization period thereof.
  • the sending module 808 is configured to send related information of the clock reference base station to the base station.
  • the base station After receiving the information about the clock reference base station notified by the network server, the base station confirms the Preamble signal of the clock reference base station to be received according to the determined clock reference sequence number of the base station and the frequency point;
  • the received start frame may also be determined according to the start time of the clock reference base station and its synchronization period, and the Preamble signal from the clock reference base station is received from the determined start frame, according to the present invention.
  • the synchronization method provided by the embodiment performs synchronization.
  • the confirmation module 802 is further configured to: if the base station of each Preamble signal in the set S1 cannot be confirmed, send the set S1 to the selection module 806, the selection module The 806 is further configured to: modulate the Preamble signal with the best signal quality according to the frequency, and send the information of the confirmed Preamble signal to the sending module 808, where the sending module 808 is further configured to send the information of the confirmed Preamble signal. To the base station.
  • the network server further includes a determining module 810.
  • the receiving module 800 is further configured to receive clock source loss information from the base station.
  • the selecting module 806 selects a new clock reference base station from the base station set S2 confirmed by the confirmation module 802 according to the Preamble signal set S1 reported by the base station, and may select a new clock reference according to the foregoing method.
  • the sending module 808 sends an indication message to the base station to scan the new clock reference base station.
  • the receiving module 800 is further configured to receive a scan report from the base station, where the determining module 810 is configured according to the The scan report determines whether the base station can scan the new clock reference base station, and if so, triggers the selection module 806 to send the related information of the new clock reference base station to the sending module 808; if not, The selection module 806 is then triggered to reselect a new clock reference base station.
  • the embodiment of the present invention further provides a communication system, where the system includes a clock slave base station, and the clock slave station is communicably connected to the clock reference base station, and the clock slave base station is configured to receive the Preamble signal from the clock reference base station. Detecting the Preamble signal, determining a phase deviation from the clock reference base station, determining a frequency deviation from the clock reference base station according to the phase deviation, performing time synchronization using the determined phase deviation, and utilizing the frequency deviation Perform frequency synchronization.
  • the determining the start of the to-be-listened The frame may be a frame in which the clock reference base station is randomly selected as the start frame.
  • the start frame to be monitored may be determined according to the start time and the synchronization period of the clock reference base station, so that the frame can be ensured.
  • the clock measures, from the base station, the phase deviation from the Preamble signal for each received Preamble signal from the determined start frame, repeats the N times, and then takes the N measured phases.
  • the deviation is averaged to obtain an average phase deviation
  • the frequency deviation is determined according to the phase deviation obtained by the N measurements, and averaged to obtain an average frequency deviation.
  • the local phase is adjusted by the average phase deviation
  • the local frequency is adjusted according to the average frequency deviation, so as to achieve synchronization with the time and frequency of the clock reference base station.
  • the clock slave base station is further configured to determine a synchronization period, and when the synchronization period is reached, receiving the clock reference base station.
  • the Preamble signal of the R-BS measures a phase deviation from the Preamble signal, determines a frequency offset based on the phase deviation, and performs a synchronization operation.
  • the phase deviation is used to adjust the local time. Further, according to the frequency deviation, the local frequency is adjusted according to the determined frequency deviation, so as to achieve synchronization with the time and frequency of the clock reference base station.
  • Determining the frequency deviation of the same clock reference base station according to the phase deviation may be determining the frequency deviation according to the method of Equation 1 above, then the Pi value is the phase deviation of the current detection, and Pj is the value detected by the previous synchronization period.
  • the phase deviation to Ti, T - Tj is the synchronization period.
  • the system further includes a network server
  • the clock slave base station is further configured to scan the Preamble signal of the neighboring base station before the synchronization, and use the scanned Preamble signal of the neighboring base station as the set S1.
  • the network server is configured to receive the Preamble signal set S1 reported from the base station, and confirm the base station to which each Preamble signal in the set S1 belongs, form a base station set S2, and select a clock reference from the base station set S2.
  • the base station according to each base station in the set of base stations S2, queries the clock state of the base station, and selects the base station with the higher priority clock state as the clock reference base station.
  • the base station that can select the highest priority clock state is used as the clock reference base station.
  • the Preamble signal with the highest signal quality is selected, such as the RSSI maximum or the CINR maximum.
  • the network server is configured to notify the clock slave base station of the confirmed clock reference base station, and the related information of the clock reference base station includes a clock state of the clock reference base station, a Preamble signal sequence number, and the clock reference.
  • the frequency of the base station; further, the related information may further include a start time of the clock reference base station and a synchronization period thereof.
  • the Preamble signal with the best signal quality may be self-planned according to the frequency and the confirmed Preamble may be confirmed.
  • Signal information is sent to the clock from the base station.
  • the network server may determine, according to the result of the frequency self-planning, whether each Preamble signal in the set S1 has the same The base station's same frequency Preamble signal, if any, is preferred, from these same frequency Preamble Selecting a Preamble signal with the highest signal quality for the base station as a clock reference; if not, selecting a Preamble signal with the highest signal quality from the set S1 for the base station to use as a clock reference.
  • the clock slave base station is further configured to report the network server if the clock source is lost, and the network server is further configured to select a new one from the set of Preamble signals reported by the base station from the clock.
  • the clock reference base station indicates that the clock scans the new clock reference base station from the base station. After receiving the indication from the base station to the network server, the clock scans the new clock reference base station and reports the scan result to the network server.
  • the Preamble signal of the clock reference base station is scanned, and the signal strength is measured, and the scanned result is reported to the network server.
  • the network server determines, according to the scan result reported by the base station, whether the new clock reference base station can be scanned. If yes, the new clock reference base station information is notified to the clock slave base station, indicating that the clock is synchronized from the base station using the new clock reference base station, otherwise the new clock reference base station is reselected.
  • the clock receives a Preamble signal from the base reference base station from the base station;
  • Detecting the Preamble signal determining a phase deviation from the clock reference base station; determining a frequency deviation from the clock reference base station according to the phase deviation;
  • Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
  • the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

A synchronization method, a base station, a network server and a communication system. The method involves receiving a preamble signal from a clock reference base station by a clock slave base station, detecting the preamble signal and determining a phase offset to the clock reference base station, determining a frequency offset to the clock reference base station according to the phase offset, and performing time synchronization using the determined phase offset, performing frequency synchronization using the frequency offset so as to realize the synchronization with the clock reference base station.

Description

同步方法、 基站、 网络服务器以及通信系统 本申请要求了 2008年 11月 12日提交的, 申请号为 200810217432.2, 发 明名称为 "同步方法、 基站、 网络服务器以及通信系统" 的中国申请的优先 权, 其全部内容通过引用结合在本申请中。  SYNCHRONIZATION METHOD, BASE STATION, NETWORK SERVER, AND COMMUNICATION SYSTEM [0001] This application claims priority to the Chinese application filed on Nov. 12, 2008, with the application number 200810217432.2, entitled "Synchronization Method, Base Station, Network Server, and Communication System", The entire contents of this application are incorporated herein by reference.
技术领域 Technical field
本发明涉及通信技术, 尤其涉及一种同步的方法、 基站、 网络服务器以 及通信系统。  The present invention relates to communication technologies, and more particularly to a method of synchronization, a base station, a network server, and a communication system.
背景技术 Background technique
现有的无线通信系统中基站的同步多应用 GPS ( Global Position System , 全球定位系统) 同步技术来进行同步, 现有的全球定位系统 GPS分为:  In the existing wireless communication system, the base station's synchronous multi-application GPS (Global Position System) synchronization technology is used for synchronization, and the existing global positioning system GPS is divided into:
空间部分—— GPS卫星星座;  Space part - GPS satellite constellation;
地面控制部分——地面监控系统;  Ground control part - ground monitoring system;
用户设备部分—— GPS信号接收机。  User equipment part - GPS signal receiver.
GPS 卫星星座和地面监控系统一起协作, 向地面提供精确的时间信号, 该信号能够覆盖全球所有区域, GPS 信号接收机在接收到卫星星座的时间信 号后, 输出精确的 1PPS ( Pulses Per Second, 每秒脉冲)脉冲和绝对时间给需 要同步的通信设备(如基站等)。 精确的绝对时间和精确、 稳定的 1PPS的脉 冲是通信系统内实现同步的重要条件。  The GPS satellite constellation works in conjunction with the ground monitoring system to provide an accurate time signal to the ground that covers all areas of the world. The GPS signal receiver outputs a precise 1PPS (Pulse Per Second) after receiving the time signal of the satellite constellation. Second pulse) Pulse and absolute time to communication devices (such as base stations, etc.) that need to be synchronized. Accurate absolute time and precise, stable 1PPS pulses are important conditions for synchronization within a communication system.
在实现上述过程中, 发明人发现现有技术中至少存在如下问题: 在室内覆盖的场景下, 传统的同步机制比如 GPS同步技术不能很好的解 决同步问题, 如 GPS信号通过卫星发送, 在建筑物遮挡的室内, 以及建筑物 密集的市区, GPS信号受到遮挡和衰减, 导致 GPS信号不能 4艮好的接收, 这 样, 在室内安装而且需要同步的通信设备就不能通过直接通过 GPS接收机来 实现好的同步。 室外 GPS在遭遇雷击的情况下, 容易造成 GPS失效, 导致与 其它基站间的相互强干扰, 且 GPS也导致成本的升高。  In the above process, the inventors found that at least the following problems exist in the prior art: In the indoor coverage scenario, the traditional synchronization mechanism such as the GPS synchronization technology cannot solve the synchronization problem well, such as the GPS signal transmitted through the satellite, in the building. In indoors where objects are blocked, and in densely populated urban areas, GPS signals are blocked and attenuated, resulting in GPS signals not being able to receive well, so that communication devices installed indoors and requiring synchronization cannot pass through the GPS receiver directly. Achieve good synchronization. Outdoor GPS in the case of lightning strikes, it is easy to cause GPS failure, resulting in strong interference with other base stations, and GPS also leads to increased costs.
发明内容 本发明实施例提供了一种同步的方法、 基站、 网络服务器以及通信系统, 以解决基站无法接收到 GPS信号而导致无法同步的问题。 Summary of the invention The embodiment of the invention provides a synchronization method, a base station, a network server and a communication system, so as to solve the problem that the base station cannot receive the GPS signal and cannot be synchronized.
本发明实施例提供的一种同步的方法, 具体包括:  A method for synchronizing provided by the embodiment of the present invention specifically includes:
时钟从基站接收来自时钟参考基站的前导信号;  The clock receives a preamble signal from the base station from the clock reference base station;
检测所述前导信号, 确定与所述时钟参考基站的相位偏差;  Detecting the preamble signal to determine a phase deviation from the clock reference base station;
根据所述相位偏差确定与所述时钟参考基站的频率偏差;  Determining a frequency deviation from the clock reference base station according to the phase deviation;
利用所述确定的相位偏差进行时间同步, 利用所述频率偏差进行频率同 步。  Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
本发明实施例提供的一种基站, 包括接收模块、 检测模块和同步模块, 所述的接收模块, 用于接收来自时钟参考基站的前导信号, 将所述前导 信号转发给所述检测模块;  A base station includes: a receiving module, a detecting module, and a synchronization module, where the receiving module is configured to receive a preamble signal from a clock reference base station, and forward the preamble signal to the detecting module;
所述检测模块, 用于检测所述前导信号, 确定与所述时钟参考基站的相 位偏差, 根据所述相位偏差确定与所述时钟参考基站的频率偏差;  The detecting module is configured to detect the preamble signal, determine a phase deviation from the clock reference base station, and determine a frequency deviation from the clock reference base station according to the phase deviation;
所述同步模块, 用于根据所述确定的相位偏差进行时间同步, 根据所述 频率偏差进行频率同步。  The synchronization module is configured to perform time synchronization according to the determined phase deviation, and perform frequency synchronization according to the frequency deviation.
本发明实施例提供的一种网络服务器, 具体包括接收模块、 确认模块、 存储模块、 选择模块和发送模块,  A network server provided by the embodiment of the present invention specifically includes a receiving module, a confirming module, a storage module, a selecting module, and a sending module.
所述的接收模块, 用于接收来自基站的前导信号集合 S 1 ;  The receiving module is configured to receive a preamble signal set S 1 from a base station;
所述确认模块, 用于确认所述集合 S 1中的各个前导信号所属的基站, 组 成基站集合 S2;  The acknowledgment module is configured to confirm the base station to which each preamble signal in the set S 1 belongs, and form a base station set S2;
所述存储模块, 用于存储基站的时钟状态;  The storage module is configured to store a clock state of the base station;
所述选择模块, 用于根据所述存储模块存储的所述基站的时钟状态从所 述确认模块所确认的基站集合 S2中选择时钟参考基站, 将选择的时钟参考基 站的相关信息发送给所述发送模块;  The selecting module is configured to select a clock reference base station from the base station set S2 confirmed by the confirming module according to a clock state of the base station stored by the storage module, and send related information of the selected clock reference base station to the Sending module
所述发送模块, 用于将所述时钟参考基站的相关信息发送给所述基站。 本发明实施例提供的通信系统, 该系统包括时钟从基站, 所述的时钟从 基站以可通信方式同时钟参考基站相连; 所述时钟从基站, 用于接收来自时钟参考基站的前导信号, 检测所述前 导信号, 确定与所述时钟参考基站的相位偏差, 根据所述相位偏差确定与所 述时钟参考基站的频率偏差, 利用所述确定的相位偏差进行时间同步, 利用 所述频率偏差进行频率同步。 The sending module is configured to send related information of the clock reference base station to the base station. The communication system provided by the embodiment of the present invention includes a clock slave base station, and the clock is connected to the clock reference base station in a communicable manner from the base station; The clock slave base station is configured to receive a preamble signal from a clock reference base station, detect the preamble signal, determine a phase deviation from the clock reference base station, and determine a frequency offset from the clock reference base station according to the phase deviation, Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
这样, 通过上述的方案, 本时钟从基站可以根据所述时钟参考基站的前 导信号就快速同所述时钟参考基站达到同步, 而不需要接收 GPS信号, 这样 可以不受覆盖场景的限制,不会因为基站不能接收 GPS信号而导致不能同步, 通过本发明实施例, 基站可以简单、 快速的取得同步, 而且因为可以不需要 GPS装置, 还可以降低基站的成本。  In this way, the clock slave base station can quickly synchronize with the clock reference base station according to the preamble signal of the clock reference base station, and does not need to receive the GPS signal, so that the base station can be free from the limitation of the coverage scenario, and Since the base station cannot receive the GPS signal and cannot be synchronized, the base station can acquire the synchronization simply and quickly by the embodiment of the present invention, and the cost of the base station can be reduced because the GPS device can be eliminated.
附图说明 DRAWINGS
图 1为本发明实施例提供的同步示意图;  FIG. 1 is a schematic diagram of synchronization according to an embodiment of the present invention;
图 2为本发明实施例提供的初始同步阶段的流程示意图;  2 is a schematic flowchart of an initial synchronization phase according to an embodiment of the present invention;
图 3为本发明实施例提供的周期同步阶段的流程示意图;  FIG. 3 is a schematic flowchart of a cycle synchronization phase according to an embodiment of the present disclosure;
图 4为本发明实施例提供的确定时钟参考基站的方法流程示意图; 图 5为本发明实施例提供的重新确定时钟参考基站的方法流程示意图; 图 6 为本发明实施例提供的另一种重新确定时钟参考基站的方法流程示 意图;  FIG. 4 is a schematic flowchart of a method for determining a clock reference base station according to an embodiment of the present invention; FIG. 5 is a schematic flowchart of a method for re-determining a clock reference base station according to an embodiment of the present invention; FIG. A schematic diagram of a method for determining a clock reference base station;
图 7为本发明实施例提供的一种基站的结构示意图;  FIG. 7 is a schematic structural diagram of a base station according to an embodiment of the present disclosure;
图 8为本发明实施例提供的一种网络服务器的结构示意图。  FIG. 8 is a schematic structural diagram of a network server according to an embodiment of the present invention.
具体实施方式 detailed description
为使本发明实施例的目的、 技术方案以及优点表达的更清楚明白、 下面 结合具体实施例和附图详细说明本发明实施例提供的技术方案。  The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the specific embodiments and the accompanying drawings.
WiMAX系统中, 所述的导频信号可以是 Preamble (前导)信号, 本发明实施 例并不仅限于在 WiMAX系统中。 In a WiMAX system, the pilot signal may be a Preamble signal, and embodiments of the present invention are not limited to WiMAX systems.
在 WiMAX系统中, 基站的 Preamble信号覆盖距离远远高于其广播消息 和业务信道覆盖距离, 利用该特性, 本发明实施例中, 需要同步的基站可以 接收其相邻的某基站的 Preamble信号并通过解调该相邻基站的 Preamble信 号, 恢复出该相邻基站的时钟, 从而实现与该相邻基站的同步。 In the WiMAX system, the base station's Preamble signal coverage distance is much higher than its broadcast message and the traffic channel coverage distance. With this feature, in the embodiment of the present invention, the base station that needs to be synchronized can Receiving a Preamble signal of a neighboring base station and recovering the clock of the neighboring base station by demodulating the Preamble signal of the neighboring base station, thereby achieving synchronization with the neighboring base station.
利用本发明实施例提供的同步方法, 在网络区域中, 设定时钟参考基站 R— BS, —般可选取能够接收到 GPS信号或者通过其他方式获得了精确同步的 基站作为时钟参考基站, 该区域内其它能够接收到该时钟参考基站 R— BS 的 Preamble信号的基站可以作为时钟从基站 SLAVE— BS , 如图 1所示。 所述时 钟从基站 SLAVE— BS接收本区域内时钟参考基站 R— BS的 Preamble信号, 测 量出本时钟从基站 SLAVE— BS相对于所述时钟参考基站 R— BS的相位偏差, 再根据所述测出的相位偏差对本时钟从基站 SLAVE— BS的时间进行调整, 进 而还根据所述测量出的相位偏差, 得到频率偏差, 根据所述频率偏差来调整 该时钟从基站 SLAVE— BS的频率,从而实现时钟从基站 SLAVE— BS与时钟参 考基站 R— BS之间的频率和时间同步。  With the synchronization method provided by the embodiment of the present invention, in the network area, the clock reference base station R-BS is set, and the base station capable of receiving the GPS signal or obtaining the precise synchronization by other methods can be selected as the clock reference base station. The other base station capable of receiving the Preamble signal of the clock reference base station R-BS can be used as the clock slave base station SLAVE-BS, as shown in FIG. The clock receives the Preamble signal of the clock reference base station R-BS in the local area from the base station SLAVE-BS, and measures the phase deviation of the local clock from the base station SLAVE-BS relative to the clock reference base station R-BS, and then according to the measurement The phase deviation is adjusted for the time of the clock from the base station SLAVE-BS, and further, the frequency deviation is obtained according to the measured phase deviation, and the frequency of the clock from the base station SLAVE-BS is adjusted according to the frequency deviation, thereby realizing The clock is synchronized from the frequency and time between the base station SLAVE-BS and the clock reference base station R-BS.
这样, 通过上述的同步方法, 本时钟从基站 SLAVE— BS可以根据所述时 钟参考基站的 Preamble信号就快速同所述时钟参考基站 R— BS达到同步, 而 不需要接收 GPS信号, 这样可以不受覆盖场景的限制, 不会因为基站不能接 收 GPS信号而导致不能同步, 通过本发明实施例, 基站可以简单、 快速的取 得同步, 而且因为可以不需要 GPS装置, 还可以降低基站的成本。  Thus, by the above synchronization method, the clock slave base station SLAVE-BS can quickly synchronize with the clock reference base station R-BS according to the Preamble signal of the clock reference base station, without receiving a GPS signal, so that it can be The coverage of the scene is not synchronized because the base station cannot receive the GPS signal. According to the embodiment of the present invention, the base station can acquire synchronization simply and quickly, and the cost of the base station can be reduced because the GPS device can be eliminated.
优选的, 本发明实施例中, 时钟从基站 SLAVE— BS的同步可以分成两个 阶段进行, 即初始同步阶段和周期同步阶段, 如图 2所示的本发明实施例提 供的同步方法中初始同步阶段的流程示意图, 具体如下:  Preferably, in the embodiment of the present invention, the synchronization of the clock from the base station SLAVE-BS can be performed in two stages, that is, the initial synchronization phase and the periodic synchronization phase, and the initial synchronization in the synchronization method provided by the embodiment of the present invention as shown in FIG. The schematic diagram of the process of the phase is as follows:
步骤 200、 确定监听所述时钟参考基站 R—BS的起始帧, 以及监听的重复 次数 N。  Step 200: Determine to monitor the start frame of the clock reference base station R-BS, and the number of repetitions N of the interception.
本发明实施例中, 若某时钟从基站 SLAVE— BS需要同步, 则确定了时钟 参考基站 R— BS后,这样可以利用所述确定的时钟参考基站 R— BS的 Preamble 信号进行同步。  In the embodiment of the present invention, if a certain clock needs to be synchronized from the base station SLAVE-BS, after the clock reference base station R-BS is determined, the predetermined clock reference base station R-BS Preamble signal can be used for synchronization.
当确定了时钟参考基站 R— BS后, 时钟从基站 SLAVE— BS确定为同步所 需监听所述时钟参考基站 R— BS的起始帧,如可以是确定待监听的起始帧的帧 号, 本发明实施例中, 所述的确定待监听的起始帧可以是随机选择所述时钟 参考基站 R—BS的某帧作为起始帧;优选的,也可以是根据所述时钟参考基站 R_BS的起始时间和同步周期来确定待监听的起始帧,这样就可以确保所述的 时钟从基站可以监听到所述的时钟参考基站的信号; 进一步的还确定监听的 重复次数 N, 这里, N>=1 , 如 N取值可以是 100或 200, 甚至可以是 1。 After determining the clock reference base station R_BS, the clock is determined from the base station SLAVE-BS to synchronize the start frame of the clock reference base station R-BS, such as the frame determining the start frame to be monitored. In the embodiment of the present invention, the determining the starting frame to be monitored may be: randomly selecting a frame of the clock reference base station R-BS as a starting frame; preferably, the base station may be referenced according to the clock. The start time of the R_BS and the synchronization period to determine the starting frame to be monitored, so as to ensure that the clock can be monitored from the base station to the signal of the clock reference base station; further determining the number of repetitions of the monitoring N, here , N>=1. If the value of N can be 100 or 200, it can even be 1.
步骤 201、 从所述确定的起始帧开始接收所述时钟参考基站 R— BS 的 Preamble信号, 测量与所述 Preamble信号的相位偏差, 根据所述相位偏差确 定频率偏差, 进行同步操作。  Step 201: Receive a Preamble signal of the clock reference base station R_BS from the determined start frame, measure a phase deviation from the Preamble signal, determine a frequency offset according to the phase deviation, and perform a synchronization operation.
本实施例中, 所述时钟从基站 SLAVE— BS从所述确定的起始帧开始对于 接收到的每一个 Preamble信号 , 都测量与所述 Preamble信号的相位偏差 , 如 此重复所述的 N次, 然后将 N次测量得到的相位偏差求平均, 得到平均的相 位偏差, 并根据所述 N次测量得到的相位偏差相应的来确定频率偏差, 并对 其进行平均, 获取平均的频率偏差。 利用平均的相位偏差来调整本地时间, 根据所述平均的频率偏差来调整本地频率, 这样以达到同时钟参考基站的时 间和频率的同步。  In this embodiment, the clock from the base station SLAVE-BS starts measuring the phase deviation from the Preamble signal for each received Preamble signal from the determined start frame, and repeats the N times. Then, the phase deviations obtained by the N measurements are averaged to obtain an average phase deviation, and the frequency deviations are determined according to the phase deviations obtained by the N measurements, and averaged to obtain an average frequency deviation. The local time is adjusted using the average phase deviation, and the local frequency is adjusted based on the average frequency deviation, so as to achieve synchronization with the time and frequency of the clock reference base station.
所述的根据所述 N次测量得到的相位偏差确定频率偏差具体可以是按照 如下公式来测算频率偏差:  The determining the frequency deviation based on the phase deviation obtained by the N measurements may specifically be to calculate the frequency deviation according to the following formula:
公式 1 : 频率偏差= ( Pi - Pj ) / ( Ti - Tj )  Equation 1: Frequency deviation = ( Pi - Pj ) / ( Ti - Tj )
所述 Pi为第 i次检测到的相位偏差 , Ti为第 i次检测相位偏差的时间 , 所述 Pj为第 j次检测到的相位偏差, Tj为第 j次检测相位偏差的时间, i>j。 进一步的, 在本实施例中, 所述 i<=N, j<=N。  The Pi is the phase deviation detected by the ith time, Ti is the time when the phase deviation is detected for the ith time, the Pj is the phase deviation detected by the jth time, and Tj is the time of detecting the phase deviation of the jth time, i> j. Further, in this embodiment, the value of i<=N, j<=N.
如, 本实施例中, 可以是针对连续的两个相位偏差来确定相应的频率偏 差, 即此时 i-j为 1 , 这样可以得到 N-1个频率偏差, 并所述的 N-1个频率偏 差求平均, 获取平均的频率偏差。  For example, in this embodiment, the corresponding frequency deviation may be determined for two consecutive phase deviations, that is, ij is 1 at this time, so that N-1 frequency deviations may be obtained, and the N-1 frequency deviations are described. Find the average and get the average frequency deviation.
这样, 通过上述的初始同步流程, 本时钟从基站 SLAVE— BS可以根据所 述时钟参考基站的 Preamble信号就快速同所述时钟参考基站 R— BS达到同步, 而不需要接收 GPS信号, 这样可以不受覆盖场景的限制, 不会因为基站不能 接收 GPS信号而导致不能同步, 通过本发明实施例, 基站可以简单、 快速的 取得同步, 而且因为可以不需要 GPS装置, 还可以降低基站的成本。 In this way, through the initial synchronization process, the clock slave base station SLAVE-BS can quickly synchronize with the clock reference base station R-BS according to the Preamble signal of the clock reference base station, without receiving a GPS signal, so that Limited by the coverage scenario, not because the base station cannot Receiving the GPS signal results in the inability to synchronize. With the embodiment of the present invention, the base station can acquire synchronization simply and quickly, and because the GPS device can be eliminated, the cost of the base station can be reduced.
在所述时钟从基站取得同步后开始正常工作, 进一步的, 在后续的过程 中, 所述时钟从基站 SLAVE— BS还可以使用下面本发明实施例提供的周期同 步的方法。 如图 3 所示, 为本发明实施例提供的基站同步方法中周期同步阶 段的流程示意图, 具体如下:  After the clock is synchronized from the base station, the normal operation is started. Further, in the subsequent process, the clock slave base station SLAVE-BS can also use the periodic synchronization method provided by the embodiment of the present invention. As shown in FIG. 3, it is a schematic flowchart of a cycle synchronization phase in a base station synchronization method according to an embodiment of the present invention, which is specifically as follows:
步骤 300、 确定同步周期。  Step 300: Determine a synchronization period.
本实施例中, 当同步精度达到较高水平后, 可进入周期同步阶段, 可根 据当前实际已取得的同步情况确定同步周期,如可以是 50s或 100s等, 这样, 当所述同步周期到时, 进行一次同步。  In this embodiment, when the synchronization precision reaches a higher level, the cycle synchronization phase may be entered, and the synchronization period may be determined according to the currently obtained synchronization situation, such as 50s or 100s, etc., so that when the synchronization period expires , for a sync.
步骤 301、 当到所述同步周期时, 接收来自所述时钟参考基站 R— BS 的 Preamble信号, 测量与所述 Preamble信号的相位偏差, 根据所述相位偏差确 定频率偏差, 进行同步操作。  Step 301: When the synchronization period is reached, receive a Preamble signal from the clock reference base station R-BS, measure a phase deviation from the Preamble signal, determine a frequency offset according to the phase deviation, and perform a synchronization operation.
本实施例中, 利用所述相位偏差来调整本地时间, 进一步的, 根据所述 频率偏差, 并根据所述确定的频率偏差来调整本地的频率, 这样以达到同时 钟参考基站的时间和频率的同步。 所述的根据所述相位偏差确定同时钟参考 基站 R— BS的频率偏差可以是根据上述公式 1的方法来确定频率偏差, 则 Pi 取值本次检测的相位偏差, Pj 取值为上一次同步周期所检测到的相位偏差, Ti - Tj即为同步周期。  In this embodiment, the local time is adjusted by using the phase deviation, and further, according to the frequency deviation, the local frequency is adjusted according to the determined frequency deviation, so as to achieve the time and frequency of the same clock reference base station. Synchronize. Determining the frequency deviation of the clock reference base station R-BS according to the phase deviation may be determining the frequency deviation according to the method of Equation 1 above, and then taking the value of Pi to detect the phase deviation of the current detection, and Pj is the last synchronization. The phase deviation detected by the period, Ti - Tj is the synchronization period.
优选的, 在本发明实施例中, 根据同步精度的情况还可以逐步增大同步 周期, 即同步精度越高则同步周期可以设置的越大, 当同步周期增大到 1000s 后就可以不再增大同步周期了,如果连续 M次都检测到同时钟参考基站 R—BS 的相位偏差都小于预设门限 t (如 2us ), 则可判断本时钟从基站 SLAVE— BS 已经进入稳定状态。  Preferably, in the embodiment of the present invention, the synchronization period can be gradually increased according to the synchronization precision, that is, the synchronization period can be set to be larger as the synchronization precision is higher, and the synchronization period can be no longer increased when the synchronization period is increased to 1000s. If the phase deviation of the same clock reference base station R-BS is less than the preset threshold t (such as 2us), it can be judged that the clock has entered the steady state from the base station SLAVE-BS.
可选的, 本发明实施例中, 也可以是直接进入周期同步阶段, 而不需要 #丈初始同步。  Optionally, in the embodiment of the present invention, the phase synchronization phase may be directly entered, and the initial synchronization is not required.
优选的,本发明实施例中,时钟从基站 SLAVE— BS与时钟参考基站 R— BS 之间的时钟参考关系是可以传递的, 如系统中如果有 BS0、 BS1、 BS2、 BS3 四个基站, 其中 BS1以 BS0为时钟参考基站, BS2可以以 BS1为时钟参考基 站, BS3可以以 BS2为时钟参考基站, 当然, 所述 BS3也可以是以 BS0或 BS1为时钟参考基站, 这样, 甚至整个网络中可以只有一个基站接 GPS或其 它标准时钟源, 其它的基站都直接或者间接的以其作为参考源, 从而达到整 个网络的同步。 Preferably, in the embodiment of the present invention, the clock slave base station SLAVE-BS and the clock reference base station R-BS The clock reference relationship between the two can be transmitted. For example, if there are four base stations BS0, BS1, BS2, and BS3 in the system, BS1 uses BS0 as the clock reference base station, BS2 can use BS1 as the clock reference base station, and BS3 can use BS2 as the base station. The clock reference base station, of course, the BS3 may also refer to the base station by using BS0 or BS1 as a clock, so that even one base station in the entire network may be connected to a GPS or other standard clock source, and other base stations directly or indirectly use it as Reference source to achieve synchronization of the entire network.
在网络中, 基站维护自己的时钟状态, 上报给网络服务器, 所述网络服 务器保存基站的时钟状态以及网络中的邻区关系。 本发明实施例提供的一种 时钟状态的确定方法是: 通过外接 GPS或其它标准时钟源而且取得同步的基 站, 其时钟状态为 0级; 以 0级基站为时钟参考基站的基站为 1级, 以 1级 基站为时钟参考基站的为 2级, 依次往下传递, 0级为最高优先级, 级数越大 优先级越低。 当某基站需要同步时, 可采用如下本发明实施例提供的一种确 定时钟参考基站的方法, 具体如图 4所示:  In the network, the base station maintains its own clock state and reports it to the network server. The network server saves the clock state of the base station and the neighbor relationship in the network. A method for determining a clock state according to an embodiment of the present invention is: a base station that obtains synchronization by using an external GPS or other standard clock source, and has a clock state of 0; and a base station with a base station of 0 as a reference base station of the base station is level 1 The level 1 base station is used as the clock reference base station, which is level 2, and is transmitted downwards in turn. Level 0 is the highest priority. The larger the number of stages, the lower the priority. When a certain base station needs to be synchronized, a method for determining a clock reference base station according to the embodiment of the present invention may be adopted, as shown in FIG. 4:
步骤 400、 网络服务器接收来自某时钟从基站上报的 Preamble信号集合 Step 400: The network server receives the Preamble signal set reported from the base station from a certain clock.
Sl。 Sl.
本发明实施例中,当某时钟从基站 BS1需要同步时,所述时钟从基站 BS1 可以扫描其相邻基站的 Preamble信号, 将扫描到的相邻基站的 Preamble信号 作为集合 S1上报给网络服务器。优选的, 所述时钟从基站 BS1可将所述描到 的相邻基站的 Preamble信号中较强的信号上报给所述网络服务器。 如, 可以 是预先设定信号强度 RSSI ( Received Signal Strength Indication,接收信号强度 指示)的门限值 T1,若所述描到的相邻基站的 Preamble信号的信号强度 RSSI 大于所述 T1 , 则将该 Preamble信号放到集合 S1中; 也可以是预先设定载波 干扰噪声比 CINR ( Carrier-to-interference Noise Ratio, 载波干扰噪声比)的门 限值 T2,则若所述描到的相邻基站的 Preamble信号的 CINR大于所述 T2,则 将该 Preamble 信号放到集合 S1 中; 还可以是当所述描到的相邻基站的 Preamble信号的信号强度 RSSI大于所述 T1、 且其 CINR大于所述 T2时, 则 将该 Preamble信号放到集合 S1中, 所述时钟从基站 BS1将集合 S1上报给网 络服务器。 In the embodiment of the present invention, when a certain clock needs to be synchronized from the base station BS1, the clock from the base station BS1 can scan the Preamble signal of the neighboring base station, and report the scanned Preamble signal of the neighboring base station to the network server as the set S1. Preferably, the clock from the base station BS1 can report a stronger signal in the Preamble signal of the neighboring base station to the network server. For example, it may be a threshold value T1 of a preset signal strength RSSI (Received Signal Strength Indication), and if the signal strength RSSI of the Preamble signal of the neighboring base station is greater than the T1, The Preamble signal is placed in the set S1; or the threshold T2 of the carrier-to-interference noise ratio (CINR) is preset, if the neighboring base station is described If the CINR of the Preamble signal is greater than the T2, the Preamble signal is placed in the set S1; or when the signal strength RSSI of the Preamble signal of the neighboring base station is greater than the T1 and the CINR is greater than When T2 is described, the Preamble signal is placed in the set S1, and the clock reports the set S1 from the base station BS1 to the network. Network server.
本发明实施例中, 所述的网络服务器可以是系统中独立的物理实体, 也 可以是集成在网络中的某其他实体, 如可以是集成在网络中的网络管理系统, 也可以是集成在网络中的网关。 本实施例中, 所述网络服务器保存有网络中 的基站的时钟状态以及各个基站的相邻基站列表。  In the embodiment of the present invention, the network server may be an independent physical entity in the system, or may be another entity integrated in the network, such as a network management system integrated in the network, or integrated in the network. In the gateway. In this embodiment, the network server stores a clock state of a base station in the network and a list of neighboring base stations of each base station.
步骤 401、 所述网络服务器确认所述集合 S1中的各个 Preamble信号所属 的基站, 组成基站集合 S2。  Step 401: The network server confirms that the base stations to which each Preamble signal in the set S1 belongs, and form a base station set S2.
步骤 402、 所述网络服务器从所述基站集合 S2 中选择时钟参考基站 R— BS。  Step 402: The network server selects a clock reference base station R-BS from the base station set S2.
本发明实施例中, 所述网络服务器根据所述基站集合 S2中的各个基站, 分别查询其时钟状态, 选择较高优先级时钟状态的基站作为时钟参考基站 R— BS。 优选的, 可选择最高优先级时钟状态的基站作为时钟参考基站。 进一 步优选的,若所述的集合 S1中有多个 Preamble信号都属于所述选择的时钟参 考基站, 则优选的, 选择信号质量最高的 Preamble信号, 如可以是 RSSI最大 或 CINR最大等。  In the embodiment of the present invention, the network server queries each base station in the base station set S2 to query its clock state, and selects a base station with a higher priority clock state as the clock reference base station R-BS. Preferably, the base station that can select the highest priority clock state is used as the clock reference base station. Further, if a plurality of Preamble signals in the set S1 belong to the selected clock reference base station, preferably, the Preamble signal with the highest signal quality is selected, such as the RSSI maximum or the CINR maximum.
步骤 403、 将所确认的时钟参考基站的相关信息通知所述时钟从基站。 本实施例中, 所述时钟参考基站的相关信息包括所述时钟参考基站的时 钟状态、 Preamble信号序号和以及所述时钟参考基站的频点; 进一步的, 所 述相关信息还可以包括所述时钟参考基站的起始时间和其同步周期。  Step 403: Notify the clock slave base station of the confirmed clock reference base station information. In this embodiment, the related information of the clock reference base station includes a clock state of the clock reference base station, a Preamble signal sequence number, and a frequency point of the clock reference base station. Further, the related information may further include the clock. Refer to the start time of the base station and its synchronization period.
这样, 所述时钟从基站 BS1收到来自网络服务器通知的时钟参考基站的 相关信息后, 根据所述确定的时钟参考基站的 Preamble信号序号和以及频点 确认待接收的时钟参考基站的 Preamble信号; 优选的, 还可以根据所述时钟 参考基站的起始时间和其同步周期来确定接收的起始帧, 从所述确定的起始 帧开始接收来自所述时钟参考基站的 Preamble信号, 按照上述本发明实施例 提供的同步方法来进行同步。  In this way, after receiving the relevant information of the clock reference base station notified by the network server from the base station BS1, the clock confirms the Preamble signal of the clock reference base station to be received according to the Preamble signal sequence number and the frequency point of the determined clock reference base station; Preferably, the received start frame is determined according to the start time of the clock reference base station and its synchronization period, and the Preamble signal from the clock reference base station is received from the determined start frame, according to the foregoing The synchronization method provided by the embodiment of the invention performs synchronization.
可选的, 本发明实施例中, 若所述网络服务器无法确认所述集合 S1中各 个 Preamble信号所归属的基站, 则可以根据频率自规划确认信号质量最好的 Preamble信号并将所确认的 Preamble信号的信息发送给所述时钟从基站。 本 实施例中, 若所述网络服务器发现自己无法确认所述集合 S1中各个 Preamble 信号所属的基站, 则可以根据频率自规划的结果, 判断所述集合 S1中的各个 Preamble信号是否有与所述基站同频的 Preamble信号, 若有, 则优选的, 从 这些同频的 Preamble信号中选择信号质量最高的 Preamble信号以供所述基站 作为时钟参考;若没有,则选择从所述集合 S 1中选择信号质量最高的 Preamble 信号以供所述基站作为时钟参考。 Optionally, in the embodiment of the present invention, if the network server cannot confirm the base station to which each Preamble signal in the set S1 belongs, the signal quality can be confirmed according to the frequency self-planning. The Preamble signal transmits information of the confirmed Preamble signal to the clock slave base station. In this embodiment, if the network server finds that it is unable to confirm the base station to which each Preamble signal belongs in the set S1, it may determine, according to the result of the frequency self-planning, whether each Preamble signal in the set S1 has the same The preamble signal of the same frequency of the base station, if any, preferably, selecting the Preamble signal with the highest signal quality from the preamble signals of the same frequency for the base station to serve as a clock reference; if not, selecting from the set S 1 The Preamble signal with the highest signal quality is selected for use by the base station as a clock reference.
通过本实施例可以为基站确定合适时钟参考基站以使得基站可以使用时 钟参考基站进行同步, 而且在确定时钟参考基站时选择的是时钟状态优先级 较高或优先级最高的时钟参考基站, 这样可以有效的避免多个基站形成时钟 参考闭环的情况出现, 这样很好的保证了网络中基站的是中同步性能。  The base station can determine the appropriate clock reference base station for the base station to enable the base station to use the clock reference base station for synchronization, and select the clock reference base station with the highest clock priority or the highest priority when determining the clock reference base station, so that Effectively avoiding the situation that multiple base stations form a clock reference closed loop, which ensures the mid-synchronization performance of the base stations in the network.
进一步的,当该基站 BS1在测量所述 Preamble信号以进行同步的过程中, 若出现时钟源丟失, 则需要重新确认时钟参考基站, 则该基站可以是重新扫 描其相邻基站的 Preamble信号并上报所述网络服务器, 可按照上述实施例的 方案重新确认时钟参考基站并进行同步。 也可以是按照本发明实施例提供的 如下方法来重新确认时钟参考基站, 具体如图 5所示:  Further, when the base station BS1 is in the process of measuring the Preamble signal for synchronization, if a clock source is lost, the clock reference base station needs to be re-confirmed, and the base station may rescan the Preamble signal of its neighboring base station and report it. The network server may re-confirm the clock reference base station and perform synchronization according to the scheme of the above embodiment. The clock reference base station may be re-confirmed according to the method provided by the embodiment of the present invention, as shown in FIG. 5:
步骤 500、 若基站的时钟源丟失, 则上报网络服务器。  Step 500: If the clock source of the base station is lost, report the network server.
当基站在同步过程中如果其时钟源丟失, 如不能锁定其时钟参考基站等, 则基站将其时钟源丟失的信息上报所述网络服务器。  When the base station loses its clock source during the synchronization process, such as the clock reference base station cannot be locked, the base station reports the information whose clock source is lost to the network server.
步骤 501、 所述网络服务器从所述基站上报的 Preamble信号集合中选择 新的时钟参考基站, 指示所述基站对所述新的时钟参考基站进行扫描。  Step 501: The network server selects a new clock reference base station from the Preamble signal set reported by the base station, and instructs the base station to scan the new clock reference base station.
本实施例中, 所述网络服务器可以是直接从之前基站上报的 Preamble信 号集合 S1中选择新的时钟参考基站, 这里可以是指示所述基站依照上述实施 例提供的方法来选择新的时钟参考基站, 当选择好新的时钟参考基站后, 所 述网络服务器指示所述基站对该选择的新的时钟参考基站进行扫描。  In this embodiment, the network server may directly select a new clock reference base station from the Preamble signal set S1 reported by the previous base station, where the base station may be instructed to select a new clock reference base station according to the method provided in the foregoing embodiment. After selecting a new clock reference base station, the network server instructs the base station to scan the selected new clock reference base station.
步骤 502、基站接到所述网络服务器的指示后, 对所述新的时钟参考基站 进行扫描, 并向所述网络服务器上报扫描结果。 本实施例中, 可以是通过扫描所述时钟参考基站的 Preamble信号, 测量 其信号强度, 并将扫描到的结果上报所述网络服务器。 Step 502: After receiving the indication from the network server, the base station scans the new clock reference base station, and reports the scan result to the network server. In this embodiment, the Preamble signal of the clock reference base station is scanned, and the signal strength is measured, and the scanned result is reported to the network server.
步骤 503、所述网络服务器根据基站上报的扫描结果判断是否能扫描到所 述新的时钟参考基站? 如果可以, 则转步骤 504, 否则返回步骤 501。  Step 503: The network server determines, according to the scan result reported by the base station, whether the new clock reference base station can be scanned. If yes, go to step 504, otherwise go back to step 501.
本实施例中, 所述网络服务器收到来自所述基站上报的扫描报告后, 根 据所述扫描报告判断该基站是否能扫描到所述新的时钟参考基站, 如果能, 则说明所述基站可以使用所述时钟参考基站进行同步, 不能, 则重新返回步 骤 501 , 重新为该基站再选择新的时钟参考基站, 直到为该基站选择到合适的 时钟参考基站为止。  In this embodiment, after receiving the scan report reported by the base station, the network server determines, according to the scan report, whether the base station can scan the new clock reference base station, and if yes, the base station can Synchronization is performed using the clock reference base station, if not, then returning to step 501, re-selecting a new clock reference base station for the base station until a suitable clock reference base station is selected for the base station.
步骤 504、所述网络服务器将所述新的时钟参考基站的相关信息通知所述 基站, 指示所述基站使用该新的时钟参考基站进行同步。  Step 504: The network server notifies the base station of related information of the new clock reference base station, and instructs the base station to perform synchronization by using the new clock reference base station.
当所述网络服务器根据基站的扫描报告确认所述基站可以使用新的时钟 参考基站时, 则将所述新的时钟参考基站的相关信息通知所述基站, 指示该 基站利用所述新的时钟参考基站进行同步。 这里, 所述相关信息包括所述时 钟参考基站的时钟状态、 Preamble信号序号和以及所述时钟参考基站的频点; 进一步的, 所述相关信息还可以包括所述时钟参考基站的起始时间和其同步 周期。 参考基站进行同步。  When the network server confirms that the base station can use the new clock reference base station according to the scan report of the base station, notify the base station of the related information of the new clock reference base station, and instruct the base station to utilize the new clock reference. The base station synchronizes. Here, the related information includes a clock state of the clock reference base station, a Preamble signal sequence number, and a frequency point of the clock reference base station. Further, the related information may further include a start time of the clock reference base station and Its synchronization period. The base station is synchronized.
优选的, 在网络运行过程中, 基站 BS2 自身的时钟状态发生变化, 优选 的,若该基站 BS2的相邻基站中有能够接收到该基站 BS2的 Preamble信号且 当前正在进行同步的相邻基站, 则所述这些相邻基站要重新进行时钟参考基 站的选择。 具体可以使用本发明实施例提供的方法, 如图 6所示:  Preferably, the clock state of the base station BS2 changes during the operation of the network. Preferably, if the neighboring base station of the base station BS2 has a neighboring base station capable of receiving the Preamble signal of the base station BS2 and is currently synchronizing, Then, the neighboring base stations re-select the clock reference base station. Specifically, the method provided by the embodiment of the present invention may be used, as shown in FIG. 6:
步骤 600、 若某基站的时钟状态发生变化, 则发送消息通知网络服务器。 本实施例中, 当某基站 BS2的时钟状态发生变化, 如该基站 BS2的时钟 状态优先级升高或降低, 或其时钟状态由非稳定状态变为稳定状态, 则该基 站 BS2将其自身时钟状态变化的消息通知所述网络服务器。 步骤 601、 所述网络服务器记录所述基站当前的时钟状态。 Step 600: If the clock state of a base station changes, send a message to notify the network server. In this embodiment, when the clock state of a certain base station BS2 changes, if the clock state priority of the base station BS2 increases or decreases, or the clock state thereof changes from an unstable state to a stable state, the base station BS2 sets its own clock. The status change message informs the web server. Step 601: The network server records a current clock state of the base station.
步骤 602、所述网络服务器判断所述基站的相邻基站中是否有需要同步的 相邻基站, 若没有, 结束流程; 若有, 则转步骤 603。  Step 602: The network server determines whether there is a neighboring base station that needs to be synchronized in the neighboring base station of the base station, and if not, ends the process; if yes, the process goes to step 603.
步骤 603、 所述网络服务器确定需要同步的相邻基站, 将所述需要同步的 相邻基站组成集合 S3 , 更新所述集合 S3中每个相邻基站的时钟源候选列表。  Step 603: The network server determines a neighboring base station that needs to be synchronized, and combines the neighboring base stations that need to be synchronized into a set S3, and updates a clock source candidate list of each neighboring base station in the set S3.
本实施例中, 网络服务器可分别为每个基站维护一个时钟源候选列表, 该表中记录了可作为该基站的时钟参考基站的相关信息, 则当基站 BS2的时 钟状态发生变化时, 所述网络服务器更新其相邻基站的时钟源候选列表中关 于该基站 BS2的时钟状态信息。  In this embodiment, the network server may separately maintain a clock source candidate list for each base station, where the related information that can be used as the clock reference base station of the base station is recorded, and when the clock state of the base station BS2 changes, The network server updates the clock state information about the base station BS2 in the list of clock source candidates of its neighboring base stations.
步骤 604、 所述网络服务器为集合 S3中的每个相邻基站重新选择新的时 钟参考基站。  Step 604: The network server reselects a new clock reference base station for each neighboring base station in the set S3.
这里, 可以是按照上述本发明实施例提供的方法来为所述集合 S3中的每 个相邻基站重新选择新的时钟参考基站。  Here, the method provided by the embodiment of the present invention may be used to reselect a new clock reference base station for each neighboring base station in the set S3.
步骤 605、判断所述新选择的时钟参考基站是否与上次为该基站选择的时 钟参考基站相同? 若相同, 则结束流程, 若不相同, 则转步骤 606。  Step 605: Determine whether the newly selected clock reference base station is the same as the clock reference base station selected last time for the base station. If they are the same, the process ends. If they are not the same, then go to step 606.
步骤 606、指示所述相邻基站扫描所述新选择的时钟参考基站并上报扫描 报告。  Step 606: Instruct the neighboring base station to scan the newly selected clock reference base station and report the scan report.
当网络服务器发现新选择的时钟参考基站与上次为该相邻基站选择的时 钟参考基站不一样时, 发消息指示所述相邻基站来扫描所述新选择的时钟参 考基站并上报扫描报告。  When the network server finds that the newly selected clock reference base station is different from the last time reference base station selected for the neighbor base station, the message is sent to the neighboring base station to scan the newly selected clock reference base station and report the scan report.
所述相邻基站接到消息后对所述新选择的时钟参考基站进行扫描并向所 述网络服务器上报扫描报告。  After receiving the message, the neighboring base station scans the newly selected clock reference base station and reports a scan report to the network server.
步骤 607、所述网络服务器根据扫描报告判断是否能扫描到所述新的时钟 参考基站? 若否, 则结束流程; 若是, 则转步骤 608。  Step 607: The network server determines, according to the scan report, whether the new clock reference base station can be scanned. If no, the process ends; if yes, go to step 608.
步骤 608、所述网络服务器指示所述相邻基站使用所述新的时钟参考基站 进行同步。  Step 608: The network server instructs the neighboring base station to perform synchronization by using the new clock reference base station.
通过上述方法, 当某备选的时钟参考站的时钟状态发生变化时网络服务 器触发完成时钟参考基站重选。 Through the above method, when the clock state of an alternative clock reference station changes, the network service The trigger triggers the completion of the clock reference base station reselection.
本发明实施例还提供了一种基站,如图 7所示,该基站包括接收模块 700、 检测模块 702和同步模块 704;所述的接收模块 700用于接收来自时钟参考基 站的 Preamble信号, 将所述 Preamble信号转发给所述检测模块 702; 所述检 测模块 702用于检测所述 Preamble信号, 确定与所述时钟参考基站的相位偏 差, 根据所述相位偏差确定与所述时钟参考基站的频率偏差; 所述同步模块 704用于根据所述相位偏差进行时间同步, 根据所述频率偏差进行频率同步。  The embodiment of the present invention further provides a base station. As shown in FIG. 7, the base station includes a receiving module 700, a detecting module 702, and a synchronization module 704. The receiving module 700 is configured to receive a Preamble signal from a clock reference base station, and The Preamble signal is forwarded to the detection module 702. The detection module 702 is configured to detect the Preamble signal, determine a phase deviation from the clock reference base station, and determine a frequency with the clock reference base station according to the phase deviation. The synchronization module 704 is configured to perform time synchronization according to the phase deviation, and perform frequency synchronization according to the frequency deviation.
本发明实施例中, 所述检测模块 702在根据所述的相位偏差确定与所述 时钟参考基站的频率偏差时可以按照上述公式 1进行。  In the embodiment of the present invention, the detecting module 702 may perform the frequency deviation from the clock reference base station according to the phase deviation according to the above formula 1.
进一步的, 本发明实施例中, 所述同步模块 704 还包括数模转换模块 DA7040和恒温控制晶体振荡器 OCXO7042( oven controlled crystal oscillator ), 则所述同步模块 704根据所述相位偏差和频率偏差进行同步操作具体可以为: 所述 OCXO7042用于根据所述相位偏差调整本地时间; 所述 DA7040对 所述相位偏差进行转换, 输出压控电压, 所述 OCXO7042用于根据所述压控 电压来调整本地频率, 这样通过对本地时间和频率的调整达到同步。  Further, in the embodiment of the present invention, the synchronization module 704 further includes a digital-to-analog conversion module DA7040 and a oven controlled crystal oscillator (OCXO7042), and the synchronization module 704 performs the phase deviation and the frequency deviation according to the phase deviation and the frequency deviation. The OCXO 7042 is configured to adjust a local time according to the phase deviation; the DA 7040 converts the phase deviation to output a voltage control voltage, and the OCXO 7042 is configured to adjust a local according to the voltage control voltage. Frequency, which is synchronized by adjusting the local time and frequency.
或者, 所述 DA7040对所述相位偏差和频率偏差进行转换, 输出压控电 压, 所述 OCXO7042用于根据所述压控电压来调整本地频率和本地时间, 这 样通过对本地时间和频率的调整达到同步。  Alternatively, the DA 7040 converts the phase deviation and the frequency deviation, and outputs a voltage control voltage, and the OCXO 7042 is configured to adjust the local frequency and the local time according to the voltage control voltage, so as to achieve adjustment by adjusting the local time and frequency. Synchronize.
本发明实施例还提供了一种网络服务器, 如图 8 所示, 所述的网络服务 器包括接收模块 800、 确认模块 802、 存储模块 804、 选择模块 806和发送模 块 808。  The embodiment of the present invention further provides a network server. As shown in FIG. 8, the network server includes a receiving module 800, an acknowledgment module 802, a storage module 804, a selection module 806, and a sending module 808.
所述的接收模块 800用于接收来自基站的 Preamble信号集合 S1。 所述确 认模块 802用于确认所述集合 S1中的各个 Preamble信号所属的基站,组成基 站集合 S2。 所述存储模块 804用于存储基站的时钟状态, 优选的, 还可以存 储基站的起始时间和同步周期。所述选择模块 806用于根据所述存储模块 804 存储的信息从所述确认模块 802所确认的基站集合 S2中选择时钟参考基站, 将选择的时钟参考基站的相关信息发送给所述发送模块 808, 具体的, 本发明 实施例中, 所述选择模块 806在所述存储模块 804中查询所述基站集合 S2中 的各个基站的时钟状态, 选择较高优先级时钟状态的基站作为时钟参考基站 R— BS; 优选的, 可选择最高优先级时钟状态的基站作为时钟参考基站; 进一 步优选的,若所述的集合 S1中有多个 Preamble信号都属于所述选择的时钟参 考基站, 则优选的, 选择信号质量最高的 Preamble信号, 如可以是 RSSI最大 或 CINR最大等; 本实施例中,所述时钟参考基站的相关信息包括所述时钟参 考基站的时钟状态、 Preamble信号序号和以及所述时钟参考基站的频点; 进 一步的, 所述相关信息还可以包括所述时钟参考基站的起始时间和其同步周 期。 所述发送模块 808用于将所述时钟参考基站的相关信息发送给所述基站。 The receiving module 800 is configured to receive a Preamble signal set S1 from a base station. The confirmation module 802 is configured to confirm the base station to which each Preamble signal in the set S1 belongs, and form a base station set S2. The storage module 804 is configured to store a clock state of the base station. Preferably, the start time and the synchronization period of the base station are also stored. The selection module 806 is configured to select a clock reference base station from the base station set S2 confirmed by the confirmation module 802 according to the information stored by the storage module 804, and send related information of the selected clock reference base station to the sending module 808. Specifically, the present invention In an embodiment, the selecting module 806 queries the storage module 804 for the clock state of each base station in the base station set S2, and selects a base station with a higher priority clock state as the clock reference base station R-BS; preferably, The base station that can select the highest priority clock state is used as the clock reference base station. Further, if a plurality of Preamble signals in the set S1 belong to the selected clock reference base station, preferably, the Preamble with the highest signal quality is selected. The signal may be the RSSI maximum or the CINR maximum, and the like. In this embodiment, the related information of the clock reference base station includes a clock state of the clock reference base station, a Preamble signal sequence number, and a frequency point of the clock reference base station; The related information may further include a start time of the clock reference base station and a synchronization period thereof. The sending module 808 is configured to send related information of the clock reference base station to the base station.
这样, 所述基站收到来自所述网络服务器通知的时钟参考基站的相关信 息后, 根据所述确定的时钟参考基站的 Preamble信号序号和以及频点确认待 接收的时钟参考基站的 Preamble信号; 优选的, 还可以根据所述时钟参考基 站的起始时间和其同步周期来确定接收的起始帧, 从所述确定的起始帧开始 接收来自所述时钟参考基站的 Preamble信号, 按照上述本发明实施例提供的 同步方法来进行同步。  After receiving the information about the clock reference base station notified by the network server, the base station confirms the Preamble signal of the clock reference base station to be received according to the determined clock reference sequence number of the base station and the frequency point; The received start frame may also be determined according to the start time of the clock reference base station and its synchronization period, and the Preamble signal from the clock reference base station is received from the determined start frame, according to the present invention. The synchronization method provided by the embodiment performs synchronization.
进一步的, 本发明实施例中, 所述确认模块 802还用于若不能确认所述 集合 S1中各个 Preamble信号所述的基站, 将所述集合 S1发送给所述选择模 块 806 , 所述选择模块 806 还用于根据频率自规划确认信号质量最好的 Preamble信号并将所确认的 Preamble信号的信息发送所述发送模块 808, 所 述发送模块 808还用于将所述确认的 Preamble信号的信息发送给所述基站。  Further, in the embodiment of the present invention, the confirmation module 802 is further configured to: if the base station of each Preamble signal in the set S1 cannot be confirmed, send the set S1 to the selection module 806, the selection module The 806 is further configured to: modulate the Preamble signal with the best signal quality according to the frequency, and send the information of the confirmed Preamble signal to the sending module 808, where the sending module 808 is further configured to send the information of the confirmed Preamble signal. To the base station.
进一步的, 所述网络服务器还包括判断模块 810, 该实施例中, 所述接收 模块 800还用于接收来自所述基站的时钟源丟失信息。 所述选择模块 806从 由所述确认模块 802根据所述基站上报的 Preamble信号集合 S 1所确认的基站 集合 S2中选择新的时钟参考基站, 可以是按照前面描述的方法来选择新的时 钟参考基站, 所述选择模块 806选择新的时钟参考基站后, 所述发送模块 808 发送指示消息指示所述基站对所述新的时钟参考基站进行扫描。 所述接收模 块 800还用于接收来自所述基站的扫描报告, 则所述判断模块 810根据所述 扫描报告判断所述基站是否能扫描到所述新的时钟参考基站, 如果可以, 则 触发所述选择模块 806将所述新的时钟参考基站的相关信息发送给所述发送 模块 808; 如果不行, 则触发所述选择模块 806重新选择新的时钟参考基站。 Further, the network server further includes a determining module 810. In this embodiment, the receiving module 800 is further configured to receive clock source loss information from the base station. The selecting module 806 selects a new clock reference base station from the base station set S2 confirmed by the confirmation module 802 according to the Preamble signal set S1 reported by the base station, and may select a new clock reference according to the foregoing method. After the base station, the selecting module 806 selects a new clock reference base station, the sending module 808 sends an indication message to the base station to scan the new clock reference base station. The receiving module 800 is further configured to receive a scan report from the base station, where the determining module 810 is configured according to the The scan report determines whether the base station can scan the new clock reference base station, and if so, triggers the selection module 806 to send the related information of the new clock reference base station to the sending module 808; if not, The selection module 806 is then triggered to reselect a new clock reference base station.
本发明实施例还提供一种通信系统, 该系统包括时钟从基站, 所述的时 钟从基站以可通信方式同时钟参考基站相连, 所述的时钟从基站用于接收来 自时钟参考基站的 Preamble信号, 检测所述 Preamble信号, 确定与所述时钟 参考基站的相位偏差, 根据所述相位偏差确定与所述时钟参考基站的频率偏 差, 利用所述确定的相位偏差进行时间同步, 利用所述频率偏差进行频率同 步。  The embodiment of the present invention further provides a communication system, where the system includes a clock slave base station, and the clock slave station is communicably connected to the clock reference base station, and the clock slave base station is configured to receive the Preamble signal from the clock reference base station. Detecting the Preamble signal, determining a phase deviation from the clock reference base station, determining a frequency deviation from the clock reference base station according to the phase deviation, performing time synchronization using the determined phase deviation, and utilizing the frequency deviation Perform frequency synchronization.
优选的, 本发明实施例中, 所述时钟从基站在进行同步时, 可先确定监 听所述时钟参考基站的起始帧以及重复次数 N, 所述 N>=1 , 当确定了时钟参 考基站后, 时钟从基站确定为同步所需监听所述时钟参考基站的起始帧, 如 可以是确定待监听的起始帧的帧号, 本发明实施例中, 所述的确定待监听的 起始帧可以是随机选择所述时钟参考基站的某帧作为起始帧; 优选的, 也可 以是根据所述时钟参考基站的起始时间和同步周期来确定待监听的起始帧, 这样就可以确保所述的时钟从基站可以监听到所述的时钟参考基站的信号; 进一步的还确定监听的重复次数 N ,这里, N>= 1 ,如 N取值可以是 100或 200 , 甚至可以是 1。  Preferably, in the embodiment of the present invention, when the clock is synchronized from the base station, the start frame of the clock reference base station and the number of repetitions N may be determined, the N>=1, when the clock reference base station is determined. After the clock is determined by the base station to be synchronized, it is required to monitor the start frame of the clock reference base station, as may be the frame number of the start frame to be monitored. In the embodiment of the present invention, the determining the start of the to-be-listened The frame may be a frame in which the clock reference base station is randomly selected as the start frame. Preferably, the start frame to be monitored may be determined according to the start time and the synchronization period of the clock reference base station, so that the frame can be ensured. The clock from the base station can monitor the signal of the clock reference base station; further determining the number of repetitions of the intercept N, where N>=1, if the value of N can be 100 or 200, or even 1.
所述时钟从基站从所述确定的起始帧开始对于接收到的每一个 Preamble 信号, 都测量与所述 Preamble信号的相位偏差, 如此重复所述的 N次, 然后 将 N次测量得到的相位偏差求平均, 得到平均的相位偏差, 并根据所述 N次 测量得到的相位偏差相应的来确定频率偏差, 并对其进行平均, 获取平均的 频率偏差。 利用平均的相位偏差来调整本地时间, 根据所述平均的频率偏差 来调整本地频率, 这样以达到同时钟参考基站的时间和频率的同步, 频率偏 差的计算方法参见上述公式 1。  The clock measures, from the base station, the phase deviation from the Preamble signal for each received Preamble signal from the determined start frame, repeats the N times, and then takes the N measured phases. The deviation is averaged to obtain an average phase deviation, and the frequency deviation is determined according to the phase deviation obtained by the N measurements, and averaged to obtain an average frequency deviation. The local phase is adjusted by the average phase deviation, and the local frequency is adjusted according to the average frequency deviation, so as to achieve synchronization with the time and frequency of the clock reference base station. For the calculation method of the frequency offset, refer to the above formula 1.
在所述时钟从基站取得同步后开始正常工作, 优选的, 所述时钟从基站 还用于确定同步周期, 当到所述同步周期时, 接收来自所述时钟参考基站 R—BS的 Preamble信号, 测量与所述 Preamble信号的相位偏差, 根据所述相 位偏差确定频率偏差, 进行同步操作。 利用所述相位偏差来调整本地时间, 进一步的, 根据所述频率偏差, 并根据所述确定的频率偏差来调整本地的频 率, 这样以达到同时钟参考基站的时间和频率的同步。 所述的根据所述相位 偏差确定同时钟参考基站的频率偏差可以是根据上述公式 1 的方法来确定频 率偏差, 则 Pi取值本次检测的相位偏差, Pj取值为上一次同步周期所检测到 的相位偏差, Ti - Tj即为同步周期。 After the clock is synchronized from the base station, normal operation is started. Preferably, the clock slave base station is further configured to determine a synchronization period, and when the synchronization period is reached, receiving the clock reference base station. The Preamble signal of the R-BS measures a phase deviation from the Preamble signal, determines a frequency offset based on the phase deviation, and performs a synchronization operation. The phase deviation is used to adjust the local time. Further, according to the frequency deviation, the local frequency is adjusted according to the determined frequency deviation, so as to achieve synchronization with the time and frequency of the clock reference base station. Determining the frequency deviation of the same clock reference base station according to the phase deviation may be determining the frequency deviation according to the method of Equation 1 above, then the Pi value is the phase deviation of the current detection, and Pj is the value detected by the previous synchronization period. The phase deviation to Ti, T - Tj is the synchronization period.
进一步的, 本发明实施例中, 所述系统还包括网络服务器, 所述时钟从 基站还用于在同步前扫描其相邻基站的 Preamble信号, 将扫描到的相邻基站 的 Preamble信号作为集合 S1上报给所述网络服务器。所述网络服务器,用于 接收来自所述时钟从基站上报的 Preamble信号集合 S1 , 确认所述集合 S1 中 的各个 Preamble信号所属的基站, 组成基站集合 S2, 从所述基站集合 S2中 选择时钟参考基站, 所述网络服务器根据所述基站集合 S2中的各个基站, 分 别查询其时钟状态, 选择较高优先级时钟状态的基站作为时钟参考基站。 优 选的, 可选择最高优先级时钟状态的基站作为时钟参考基站。 进一步优选的, 若所述的集合 S1中有多个 Preamble信号都属于所述选择的时钟参考基站,则 优选的, 选择信号质量最高的 Preamble信号,如可以是 RSSI最大或 CINR最 大等。 所述网络服务器用于将所确认的时钟参考基站的相关信息通知所述时 钟从基站, 所述时钟参考基站的相关信息包括所述时钟参考基站的时钟状态、 Preamble信号序号和以及所述时钟参考基站的频点; 进一步的, 所述相关信 息还可以包括所述时钟参考基站的起始时间和其同步周期。 可选的, 本发明 实施例中,若所述网络服务器无法确认所述集合 S1中各个 Preamble信号所归 属的基站, 则可以根据频率自规划确认信号质量最好的 Preamble信号并将所 确认的 Preamble信号的信息发送给所述时钟从基站。 本实施例中, 若所述网 络服务器发现自己无法确认所述集合 S1中各个 Preamble信号所属的基站,则 可以根据频率自规划的结果,判断所述集合 S1中的各个 Preamble信号是否有 与所述基站同频的 Preamble信号, 若有, 则优选的, 从这些同频的 Preamble 信号中选择信号质量最高的 Preamble信号以供所述基站作为时钟参考; 若没 有,则选择从所述集合 S1中选择信号质量最高的 Preamble信号以供所述基站 作为时钟参考。 Further, in the embodiment of the present invention, the system further includes a network server, and the clock slave base station is further configured to scan the Preamble signal of the neighboring base station before the synchronization, and use the scanned Preamble signal of the neighboring base station as the set S1. Reported to the web server. The network server is configured to receive the Preamble signal set S1 reported from the base station, and confirm the base station to which each Preamble signal in the set S1 belongs, form a base station set S2, and select a clock reference from the base station set S2. The base station, according to each base station in the set of base stations S2, queries the clock state of the base station, and selects the base station with the higher priority clock state as the clock reference base station. Preferably, the base station that can select the highest priority clock state is used as the clock reference base station. Further, if a plurality of Preamble signals in the set S1 belong to the selected clock reference base station, preferably, the Preamble signal with the highest signal quality is selected, such as the RSSI maximum or the CINR maximum. The network server is configured to notify the clock slave base station of the confirmed clock reference base station, and the related information of the clock reference base station includes a clock state of the clock reference base station, a Preamble signal sequence number, and the clock reference. The frequency of the base station; further, the related information may further include a start time of the clock reference base station and a synchronization period thereof. Optionally, in the embodiment of the present invention, if the network server cannot confirm the base station to which each Preamble signal in the set S1 belongs, the Preamble signal with the best signal quality may be self-planned according to the frequency and the confirmed Preamble may be confirmed. Signal information is sent to the clock from the base station. In this embodiment, if the network server finds that it is unable to confirm the base station to which each Preamble signal belongs in the set S1, it may determine, according to the result of the frequency self-planning, whether each Preamble signal in the set S1 has the same The base station's same frequency Preamble signal, if any, is preferred, from these same frequency Preamble Selecting a Preamble signal with the highest signal quality for the base station as a clock reference; if not, selecting a Preamble signal with the highest signal quality from the set S1 for the base station to use as a clock reference.
进一步的, 本发明实施例中, 所述时钟从基站还用于若时钟源丟失, 则 上报所述网络服务器; 所述网络服务器还用于从所述时钟从基站上报的 Preamble信号集合中选择新的时钟参考基站, 指示所述时钟从基站对所述新 的时钟参考基站进行扫描。 时钟从基站接到所述网络服务器的指示后, 对所 述新的时钟参考基站进行扫描, 并向所述网络服务器上报扫描结果。  Further, in the embodiment of the present invention, the clock slave base station is further configured to report the network server if the clock source is lost, and the network server is further configured to select a new one from the set of Preamble signals reported by the base station from the clock. The clock reference base station indicates that the clock scans the new clock reference base station from the base station. After receiving the indication from the base station to the network server, the clock scans the new clock reference base station and reports the scan result to the network server.
本实施例中, 可以是通过扫描所述时钟参考基站的 Preamble信号, 测量 其信号强度, 并将扫描到的结果上报所述网络服务器。 所述网络服务器根据 时钟从基站上报的扫描结果判断是否能扫描到所述新的时钟参考基站? 如果 可以, 则将所述新的时钟参考基站的相关信息通知所述时钟从基站, 指示所 述时钟从基站使用该新的时钟参考基站进行同步, 否则重新选择新的时钟参 考基站。  In this embodiment, the Preamble signal of the clock reference base station is scanned, and the signal strength is measured, and the scanned result is reported to the network server. The network server determines, according to the scan result reported by the base station, whether the new clock reference base station can be scanned. If yes, the new clock reference base station information is notified to the clock slave base station, indicating that the clock is synchronized from the base station using the new clock reference base station, otherwise the new clock reference base station is reselected.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机 可读存储介质中, 该程序在执行时, 包括如下步骤:  A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. , including the following steps:
时钟从基站接收来自时钟参考基站的 Preamble信号;  The clock receives a Preamble signal from the base reference base station from the base station;
检测所述 Preamble信号, 确定与所述时钟参考基站的相位偏差; 根据所述相位偏差确定与所述时钟参考基站的频率偏差;  Detecting the Preamble signal, determining a phase deviation from the clock reference base station; determining a frequency deviation from the clock reference base station according to the phase deviation;
利用所述确定的相位偏差进行时间同步, 利用所述频率偏差进行频率同 步。  Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
上述提到的存储介质可以是只读存储器, 磁盘或光盘等。  The above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利 要求 书 Claim
1、 一种同步方法, 其特征在于, 包括: A synchronization method, comprising:
时钟从基站接收来自时钟参考基站的前导信号;  The clock receives a preamble signal from the base station from the clock reference base station;
检测所述前导信号, 确定与所述时钟参考基站的相位偏差;  Detecting the preamble signal to determine a phase deviation from the clock reference base station;
根据所述相位偏差确定与所述时钟参考基站的频率偏差;  Determining a frequency deviation from the clock reference base station according to the phase deviation;
利用所述确定的相位偏差进行时间同步, 利用所述频率偏差进行频率同步。 Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
2、 如权利要求 1所述的方法, 其特征在于, 所述时钟从基站接收来自时钟 参考基站的前导信号前进一步包括: 2. The method according to claim 1, wherein the clock further comprises: before receiving the preamble signal from the clock reference base station from the base station:
所述时钟从基站确定监听所述时钟参考基站的起始帧以及重复次数 N, 所 述N>=1 ; 则该方法具体为:  The clock is determined by the base station to listen to the start frame of the clock reference base station and the number of repetitions N, where N>=1;
从所述确定的起始帧开始接收来自所述时钟参考基站的前导信号; 检测所述前导信号, 确定与所述时钟参考基站的相位偏差, 根据所述相位 偏差确定与所述时钟参考基站的频率偏差, 如此重复所述 N次;  Receiving a preamble signal from the clock reference base station from the determined start frame; detecting the preamble signal, determining a phase offset from the clock reference base station, determining, according to the phase offset, the clock reference base station Frequency deviation, repeating the N times as described above;
将所述确定的相位偏差和频率偏差分别求平均, 得到平均的相位偏差和平 均的频率偏差, 利用所述平均的相位偏差进行时间同步, 利用所述平均的频率 偏差进行频率同步。  The determined phase deviation and the frequency deviation are respectively averaged to obtain an average phase deviation and a uniform frequency deviation, and the average phase deviation is used for time synchronization, and the average frequency deviation is used for frequency synchronization.
3、 如权利要求 1所述的方法, 其特征在于, 包括:  3. The method according to claim 1, comprising:
所述时钟从基站预先确定同步周期;  The clock predetermines a synchronization period from the base station;
当到所述同步周期时 , 时钟从基站接收来自时钟参考基站的前导信号; 检测所述前导信号, 确定与所述时钟参考基站的相位偏差;  When the synchronization period is reached, the clock receives a preamble signal from the base station from the clock reference base station; detects the preamble signal, and determines a phase deviation from the clock reference base station;
根据所述相位偏差确定与所述时钟参考基站的频率偏差;  Determining a frequency deviation from the clock reference base station according to the phase deviation;
利用所述确定的相位偏差进行时间同步, 利用所述频率偏差进行频率同步。 Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
4、 如权利要求 1至 3所述的任意一个方法, 其特征在于, 所述根据所述相 位偏差确定与所述时钟参考基站的频率偏差具体为依照如下公式确定频率偏 差: The method according to any one of claims 1 to 3, wherein the determining the frequency deviation from the clock reference base station according to the phase deviation is specifically determining the frequency deviation according to the following formula:
频率偏差 = ( Pi - Pj ) / ( Ti - Tj )  Frequency deviation = ( Pi - Pj ) / ( Ti - Tj )
所述 Pi为第 i次检测到的相位偏差 , Ti为第 i次检测相位偏差的时间 , 所 述 Pj为第 j次检测到的相位偏差 , Tj为第 j次检测相位偏差的时间 , 所述 i>j。The Pi is the phase deviation detected by the ith time, and Ti is the time when the phase deviation is detected for the ith time. Pj is the phase deviation detected at the jth time, and Tj is the time at which the phase deviation is detected for the jth time, i>j.
5、 如权利要求 1所述的方法, 其特征在于, 所述时钟从基站在接收来自时 钟参考基站的前导信号前先确定时钟参考基站, 包括: The method according to claim 1, wherein the clock slave base station determines the clock reference base station before receiving the preamble signal from the clock reference base station, and includes:
所述时钟从基站扫描相邻基站, 将扫描到的相邻基站的前导信号作为集合 S1上报给网络服务器;  The clock scans the neighboring base station from the base station, and reports the preamble signal of the scanned neighboring base station to the network server as the set S1;
所述网络服务器确定所述集合 S1中的前导信号所属的基站, 组成基站集合 Determining, by the network server, a base station to which the preamble signal in the set S1 belongs, forming a set of base stations
S2; S2;
从所述基站集合 S2中选择时钟参考基站;  Selecting a clock reference base station from the set of base stations S2;
将选择的时钟参考基站的相关信息发送给所述时钟从基站。  The selected clock reference base station information is sent to the clock slave base station.
6、 如权利要求 5所述的方法, 其特征在于, 所述从所述基站集合 S2中选 择时钟参考基站包括:  The method according to claim 5, wherein the selecting a clock reference base station from the set of base stations S2 comprises:
所述网络服务器查询所述基站集合 S2中的各个基站的时钟状态; 选择最高优先级时钟状态的基站作为时钟参考基站。  The network server queries the clock status of each base station in the base station set S2; and selects the base station with the highest priority clock status as the clock reference base station.
7、 如权利要求 5所述的方法, 其特征在于, 所述时钟参考基站的相关信息 包括:  The method according to claim 5, wherein the information related to the clock reference base station comprises:
所述时钟参考基站的时钟状态、 前导信号序号和频点。  The clock refers to the clock state of the base station, the preamble sequence number, and the frequency point.
8、 如权利要求 7所述的方法, 其特征在于, 所述时钟参考基站的相关信息 还包括: 所述时钟参考基站的起始时间和同步周期。  The method according to claim 7, wherein the clock reference base station related information further comprises: a start time and a synchronization period of the clock reference base station.
9、 如权利要求 5所述的方法, 其特征在于, 该方法还包括:  9. The method of claim 5, further comprising:
若所述网络服务器不能确定所述集合 S1中的前导信号所属的基站, 则根据 频率自规划确认集合 S1中信号质量最好的前导信号;  If the network server cannot determine the base station to which the preamble signal in the set S1 belongs, the preamble signal with the best signal quality in the set S1 is self-planned according to the frequency;
将所述选择的前导信号的信息发送给所述时钟从基站。  Transmitting the information of the selected preamble to the clock slave base station.
10、 如权利要求 5所述的方法, 其特征在于, 该方法还包括,  10. The method of claim 5, wherein the method further comprises:
所述时钟从基站在同步过程中若时钟源丟失, 则上报所述网络服务器; 所述网络服务器从所述时钟从基站上报的前导信号集合 S1中选择新的时钟 参考基站, 指示所述时钟从基站对所述新的时钟参考基站进行扫描;  The clock is reported from the base station to the network server if the clock source is lost during the synchronization process; the network server selects a new clock reference base station from the set of preamble signals S1 reported by the base station from the clock, indicating the clock from the clock The base station scans the new clock reference base station;
所述网络服务器接收来自所述时钟从基站的扫描报告, 若确定所述时钟从 基站能扫描到所述新的时钟参考基站, 则指示所述时钟从基站使用该新的时钟 参考基站进行同步, 否则, 返回所述网络服务器从所述时钟从基站上报的前导 信号集合 S1中选择新的时钟参考基站, 指示所述时钟从基站对所述新的时钟参 考基站进行扫描的步骤。 The network server receives a scan report from the base station from the clock, if it is determined that the clock is from The base station can scan the new clock reference base station, and instruct the clock to synchronize from the base station using the new clock reference base station, otherwise, return to the network server to select from the set of preamble signals S1 reported by the base station from the base station. The new clock refers to the base station, and the step of instructing the clock to scan the new clock reference base station from the base station.
11、 一种基站, 其特征在于, 该基站包括接收模块(700)、 检测模块(702) 和同步模块(704),  A base station, comprising: a receiving module (700), a detecting module (702), and a synchronization module (704),
所述的接收模块(700), 用于接收来自时钟参考基站的前导信号, 将所述 前导信号转发给所述检测模块(702);  The receiving module (700) is configured to receive a preamble signal from a clock reference base station, and forward the preamble signal to the detecting module (702);
所述检测模块(702), 用于检测所述前导信号, 确定与所述时钟参考基站 的相位偏差, 根据所述相位偏差确定与所述时钟参考基站的频率偏差;  The detecting module (702) is configured to detect the preamble signal, determine a phase deviation from the clock reference base station, and determine a frequency deviation from the clock reference base station according to the phase deviation;
所述同步模块(704), 用于根据所述确定的相位偏差进行时间同步, 根据 所述频率偏差进行频率同步。  The synchronization module (704) is configured to perform time synchronization according to the determined phase deviation, and perform frequency synchronization according to the frequency deviation.
12、 如权利要求 11 所述的基站, 其特征在于, 所述同步模块(704)进一 步包括数模转换模块(7040) 和恒温控制晶体振荡器(7042),  The base station according to claim 11, wherein the synchronization module (704) further includes a digital to analog conversion module (7040) and a thermostatically controlled crystal oscillator (7042).
所述数模转换模块( 7040 ), 用于对所述相位偏差进行转换,输出压控电压; 所述恒温控制晶体振荡器( 7042 ),用于根据所述压控电压来调整本地频率, 根据所述相位偏差调整本地时间。  The digital-to-analog conversion module (7040) is configured to convert the phase deviation to output a voltage control voltage; the constant temperature control crystal oscillator (7042) is configured to adjust a local frequency according to the voltage control voltage, according to The phase deviation adjusts the local time.
13、 如权利要求 11所述的基站, 其特征在于, 所述同步模块(704)进一 步包括数模转换模块(7040) 和恒温控制晶体振荡器(7042),  The base station according to claim 11, wherein the synchronization module (704) further includes a digital to analog conversion module (7040) and a thermostatically controlled crystal oscillator (7042).
所述数模转换模块( 7040 ), 用于对所述相位偏差和频率偏差进行转换, 输 出压控电压;  The digital-to-analog conversion module (7040) is configured to convert the phase deviation and the frequency deviation, and output a voltage control voltage;
所述恒温控制晶体振荡器 ( 7042 ), 用于根据所述压控电压来调整本地频率 和本地时间。  The thermostatically controlled crystal oscillator (7042) is configured to adjust a local frequency and a local time according to the voltage controlled voltage.
14、 一种网络服务器, 其特征在于, 该网络服务器包括接收模块( 800)、 确认模块( 802)、 存储模块( 804)、 选择模块( 806)和发送模块( 808 ),  14. A network server, comprising: a receiving module (800), an acknowledgment module (802), a storage module (804), a selection module (806), and a sending module (808),
所述的接收模块( 800), 用于接收来自基站的前导信号集合 S1;  The receiving module (800) is configured to receive a preamble signal set S1 from a base station;
所述确认模块( 802),用于确认所述集合 S1中的各个前导信号所属的基站, 组成基站集合 S2; The confirmation module (802) is configured to confirm a base station to which each preamble signal in the set S1 belongs, Forming a base station set S2;
所述存储模块 ( 804 ), 用于存储基站的时钟状态;  The storage module (804) is configured to store a clock state of the base station;
所述选择模块( 806 ), 用于根据所述存储模块( 804 )存储的所述基站的时 钟状态从所述确认模块( 802 ) 所确认的基站集合 S2 中选择时钟参考基站, 将 选择的时钟参考基站的相关信息发送给所述发送模块( 808 );  The selecting module ( 806 ) is configured to select a clock reference base station from the base station set S2 confirmed by the confirming module ( 802 ) according to a clock state of the base station stored by the storage module ( 804 ), and select a selected clock Sending information about the base station to the sending module (808);
所述发送模块( 808 ), 用于将所述时钟参考基站的相关信息发送给所述基 站。  The sending module (808) is configured to send related information of the clock reference base station to the base station.
15、 如权利要求 14所述的网络服务器, 其特征在于,  15. The network server according to claim 14, wherein:
所述确认模块( 802 ), 还用于若不能确认所述集合 S 1中各个前导信号所述 的基站, 将所述集合 S1发送给所述选择模块;  The acknowledgment module (802) is further configured to send the set S1 to the selection module if the base station of each preamble in the set S1 cannot be confirmed;
所述选择模块( 806 ), 还用于根据频率自规划确认信号质量最好的前导信 号并将所确认的前导信号的信息发送所述发送模块;  The selection module (806) is further configured to: modulate a preamble signal with the best signal quality according to a frequency self-planning and send the information of the confirmed preamble signal to the sending module;
所述发送模块( 808 ), 还用于将所述确认的前导信号的信息发送给所述基 站。  The sending module (808) is further configured to send information of the acknowledged preamble to the base station.
16、 如权利要求 14所述的网络服务器, 其特征在于, 所述网络服务器还包 括判断模块 ( 810 ),  The network server according to claim 14, wherein the network server further comprises a determining module (810),
所述接收模块( 800 ), 还用于接收来自所述基站的时钟源丟失信息; 所述选择模块( 806 ), 还用于从由所述确认模块( 802 )根据所述基站上报 的前导信号集合 S 1所确认的基站集合 S2中选择新的时钟参考基站;  The receiving module (800) is further configured to receive clock source loss information from the base station; the selecting module (806) is further configured to use a preamble signal reported by the acknowledgment module (802) according to the base station Selecting a new clock reference base station in the set of base stations S2 confirmed by the set S1;
所述发送模块( 808 ), 还用于发送指示消息指示所述基站对所述新的时钟 参考基站进行扫描;  The sending module (808) is further configured to send an indication message to the base station to scan the new clock reference base station;
所述接收模块( 800 ), 还用于接收来自所述基站的扫描报告;  The receiving module (800) is further configured to receive a scan report from the base station;
所述判断模块(810 ), 还用于根据所述扫描报告判断所述基站是否能扫描 到所述新的时钟参考基站, 如果可以, 则触发所述选择模块( 806 )将所述新的 时钟参考基站的相关信息发送给所述发送模块( 808 ); 如果不行, 则触发所述 选择模块( 806 )重新选择新的时钟参考基站。  The determining module (810) is further configured to determine, according to the scan report, whether the base station can scan the new clock reference base station, and if so, trigger the selection module (806) to use the new clock. The relevant information of the reference base station is sent to the sending module (808); if not, the selecting module (806) is triggered to reselect the new clock reference base station.
17、 一种通信系统, 其特征在于, 所述系统包括时钟从基站, 所述时钟从 基站以可通信方式同时钟参考基站相连; 17. A communication system, the system comprising a clock slave base station, the clock The base station is communicably connected to the clock reference base station;
所述时钟从基站, 用于接收来自时钟参考基站的前导信号, 检测所述前导 信号, 确定与所述时钟参考基站的相位偏差, 根据所述相位偏差确定与所述时 钟参考基站的频率偏差, 利用所述确定的相位偏差进行时间同步, 利用所述频 率偏差进行频率同步。  The clock slave base station is configured to receive a preamble signal from a clock reference base station, detect the preamble signal, determine a phase deviation from the clock reference base station, and determine a frequency offset from the clock reference base station according to the phase deviation, Time synchronization is performed using the determined phase deviation, and frequency synchronization is performed using the frequency deviation.
18、 如权利要求 17所述的系统, 其特征在于, 所述时钟从基站还用于确定 监听所述时钟参考基站的起始帧以及重复次数 N; 则  The system according to claim 17, wherein the clock slave base station is further configured to determine a starting frame for listening to the clock reference base station and a repetition number N;
所述时钟从基站, 用于从所述确定的起始帧开始接收来自所述时钟参考基 站的前导信号; 检测所述前导信号, 确定与所述时钟参考基站的相位偏差, 根 据所述相位偏差确定与所述时钟参考基站的频率偏差, 如此重复所述 N次; 将 所述确定的相位偏差和频率偏差分别求平均, 得到平均的相位偏差和平均的频 率偏差, 利用所述平均的相位偏差进行时间同步, 利用所述平均的频率偏差进 行频率同步。  The clock slave base station is configured to receive a preamble signal from the clock reference base station from the determined start frame; detect the preamble signal, determine a phase deviation from the clock reference base station, according to the phase deviation Determining a frequency deviation from the clock reference base station, repeating the N times in this manner; averaging the determined phase deviation and the frequency deviation, respectively, to obtain an average phase deviation and an average frequency deviation, using the average phase deviation Time synchronization is performed, and frequency synchronization is performed using the average frequency deviation.
19、 如权利要求 17所述的系统, 其特征在于, 所述时钟从基站还用于确定 同步周期, 当到所述同步周期时, 接收来自所述时钟参考基站的前导信号, 测 量与所述前导信号的相位偏差, 根据所述相位偏差确定频率偏差, 进行同步操 作。  The system according to claim 17, wherein the clock slave base station is further configured to determine a synchronization period, and when the synchronization period is reached, receive a preamble signal from the clock reference base station, and measure the The phase deviation of the preamble signal determines the frequency deviation based on the phase deviation, and performs a synchronous operation.
20、 如权利要求 17至 19中任意一个所述的系统, 其特征在于, 所述系统 还包括网络服务器;  The system according to any one of claims 17 to 19, wherein the system further comprises a network server;
所述时钟从基站, 还用于扫描相邻基站, 将扫描到的相邻基站的前导信号 作为集合 S1上报给所述网络服务器;  The clock slave base station is further configured to scan the neighboring base station, and report the preamble signal of the scanned neighboring base station to the network server as the set S1;
所述网络服务器, 用于确定所述集合 S1中的前导信号所属的基站, 组成基 站集合 S2;从所述基站集合 S2中选择时钟参考基站; 将选择的时钟参考基站的 相关信息发送给所述时钟从基站。  The network server is configured to determine a base station to which the preamble signal in the set S1 belongs, to form a base station set S2, select a clock reference base station from the base station set S2, and send related information of the selected clock reference base station to the The clock is from the base station.
21、 如权利要求 20所述的系统, 其特征在于,  21. The system of claim 20, wherein:
所述网络服务器,还用于若不能确定所述集合 S1中的前导信号所属的基站, 则根据频率自规划确认集合 S1中信号质量最好的前导信号; 将所述选择的前导 信号的信息发送给所述时钟从基站。 The network server is further configured to: if the base station to which the preamble signal in the set S1 belongs cannot be determined, confirm the preamble signal with the best signal quality in the set S1 according to the frequency self-planning; and select the preamble Signal information is sent to the clock from the base station.
22、 如权利要求 20所述的系统, 其特征在于,  22. The system of claim 20, wherein:
所述时钟从基站, 还用于若在同步过程中若时钟源丟失, 则上 >¾所述网络 服务器;  The clock slave base station is further configured to: if the clock source is lost during the synchronization process, the network server is >3⁄4;
所述网络服务器, 还用于从所述时钟从基站上报的前导信号集合 S1中选择 新的时钟参考基站, 指示所述时钟从基站对所述新的时钟参考基站进行扫描; 接收来自所述时钟从基站的扫描报告, 若确定所述时钟从基站能扫描到所述新 的时钟参考基站, 则指示所述时钟从基站使用该新的时钟参考基站进行同步, 否则, 重新为所述时钟从基站选择新的时钟参考时间。  The network server is further configured to select a new clock reference base station from the set of preamble signals S1 reported by the base station, and instruct the clock to scan the new clock reference base station from the base station; receive the clock from the clock Scanning from the base station, if it is determined that the clock can be scanned from the base station to the new clock reference base station, indicating that the clock is synchronized from the base station using the new clock reference base station, otherwise, the clock is re-sent from the base station. Select a new clock reference time.
PCT/CN2009/071621 2008-11-12 2009-05-04 Synchronization method, base station, network server and communication system WO2010054546A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008102174322A CN101420747B (en) 2008-11-12 2008-11-12 Synchronization method, base station, network server and communication system
CN200810217432.2 2008-11-12

Publications (1)

Publication Number Publication Date
WO2010054546A1 true WO2010054546A1 (en) 2010-05-20

Family

ID=40631277

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071621 WO2010054546A1 (en) 2008-11-12 2009-05-04 Synchronization method, base station, network server and communication system

Country Status (2)

Country Link
CN (1) CN101420747B (en)
WO (1) WO2010054546A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625439A (en) * 2011-01-31 2012-08-01 电信科学技术研究院 Method and equipment for carrying out synchronization
US8984654B2 (en) 2010-06-30 2015-03-17 Huawei Technologies Co., Ltd. Time check method and base station
WO2016061793A1 (en) * 2014-10-23 2016-04-28 华为技术有限公司 Method and device for controlling phase synchronisation, and system

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420747B (en) * 2008-11-12 2011-04-06 华为技术有限公司 Synchronization method, base station, network server and communication system
CN102045830B (en) * 2009-10-20 2013-04-17 中国移动通信集团公司 Method, device and system for synchronizing null interface
CA2699596A1 (en) * 2010-03-24 2011-09-24 Hydro-Quebec System and method of phase synchronization of signals produced by respective units of measure
CN102237941B (en) * 2010-04-28 2015-06-03 中兴通讯股份有限公司 Time synchronization system and method
CN102440031A (en) * 2011-05-23 2012-05-02 华为技术有限公司 Clock synchronization method and device
FI123504B (en) * 2011-05-25 2013-06-14 Tellabs Oy Method and apparatus for controlling frequency synchronization
CN103476104B (en) * 2012-06-08 2016-08-10 华为技术有限公司 Frequency synchronization method and device
US8958802B2 (en) * 2013-02-05 2015-02-17 Broadcom Corporation Handover in LTE using parallel sniffer
CN104378818A (en) * 2013-08-13 2015-02-25 中兴通讯股份有限公司 Clock synchronization method and device and base station subsystem
WO2015024250A1 (en) * 2013-08-23 2015-02-26 北京东土科技股份有限公司 Method and system for transmitting precise clock packet across non-1588 networks
CN105722207A (en) * 2016-01-28 2016-06-29 武汉慧联无限科技有限公司 Self-adaptive clock synchronization method for wireless network at low transmission speeds
EP3461189B1 (en) * 2016-06-17 2020-08-26 Huawei Technologies Co., Ltd. Method, base station and system for frequency synchronization
CN108459239A (en) * 2018-03-22 2018-08-28 中国南方电网有限责任公司超高压输电公司检修试验中心 Distributed traveling wave monitoring terminal time deviation calculating and compensation method and system
CN110611950B (en) * 2019-09-19 2021-08-10 Ut斯达康通讯有限公司 Phase synchronization method, device and terminal
CN112566236A (en) * 2020-11-30 2021-03-26 煤科集团沈阳研究院有限公司 Mining communication base station clock synchronization method and system
US11997626B1 (en) 2023-01-08 2024-05-28 Hanshow Technology Co., Ltd. Method of dynamic adjusting timing between adjacent networks in synchronized networks and electronic shelf label system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020034517A (en) * 2000-11-02 2002-05-09 조정남 Apparatus for setting standard time and method thereof
US20030142803A1 (en) * 2001-12-20 2003-07-31 Tekelec Database driven methods and systems for real time call tracing
CN1809045A (en) * 2005-12-12 2006-07-26 北京北方烽火科技有限公司 Combined time synchronization method for receiving end of WiMAX system base station
CN1956358A (en) * 2005-10-28 2007-05-02 北京三星通信技术研究有限公司 Cell synchronous method based on access leading
WO2007064058A1 (en) * 2005-12-01 2007-06-07 Electronics And Telecommunications Research Institute Apparatus for synchronizing clock in real-time locating system and method therefor
CN101420747A (en) * 2008-11-12 2009-04-29 华为技术有限公司 Synchronization method, base station, network server and communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020034517A (en) * 2000-11-02 2002-05-09 조정남 Apparatus for setting standard time and method thereof
US20030142803A1 (en) * 2001-12-20 2003-07-31 Tekelec Database driven methods and systems for real time call tracing
CN1956358A (en) * 2005-10-28 2007-05-02 北京三星通信技术研究有限公司 Cell synchronous method based on access leading
WO2007064058A1 (en) * 2005-12-01 2007-06-07 Electronics And Telecommunications Research Institute Apparatus for synchronizing clock in real-time locating system and method therefor
CN1809045A (en) * 2005-12-12 2006-07-26 北京北方烽火科技有限公司 Combined time synchronization method for receiving end of WiMAX system base station
CN101420747A (en) * 2008-11-12 2009-04-29 华为技术有限公司 Synchronization method, base station, network server and communication system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8984654B2 (en) 2010-06-30 2015-03-17 Huawei Technologies Co., Ltd. Time check method and base station
US10075428B2 (en) 2010-06-30 2018-09-11 Huawei Technologies Co., Ltd. Time check method and base station
CN102625439A (en) * 2011-01-31 2012-08-01 电信科学技术研究院 Method and equipment for carrying out synchronization
CN102625439B (en) * 2011-01-31 2015-04-15 电信科学技术研究院 Method and equipment for carrying out synchronization
WO2016061793A1 (en) * 2014-10-23 2016-04-28 华为技术有限公司 Method and device for controlling phase synchronisation, and system
US9999014B2 (en) 2014-10-23 2018-06-12 Huawei Technologies Co., Ltd. Method and system for controlling phase synchronization, and apparatus

Also Published As

Publication number Publication date
CN101420747B (en) 2011-04-06
CN101420747A (en) 2009-04-29

Similar Documents

Publication Publication Date Title
WO2010054546A1 (en) Synchronization method, base station, network server and communication system
JP6077506B2 (en) Neighbor scanning in wireless local area networks
US9055527B2 (en) Method and system for determining a time synchronization offset between radio base stations
US6847826B1 (en) Method of synchronization of a base station network
JP4410933B2 (en) Method and apparatus for providing time adjustment to a wireless communication system
EP2214434B1 (en) Discovering neighbouring femto cells
TWI436656B (en) Apparatuses, systems, and methods for inbound handover enhancement
US9801174B2 (en) Method and apparatus for obtaining identifier of small cell in wireless communication system having hierarchical cell structure
EP1983786B1 (en) Mobile telecommunications network device
KR20200116987A (en) Cell information capture method and apparatus
TWI578825B (en) Communication system, base station, user equipment and timing synchronization method for base station thereof
KR101224297B1 (en) Apparatus and method for controlling timing and mobile telecommunication system for the same
WO2017028043A1 (en) Synchronization method and device in communications network
US10306574B2 (en) Synchronization assistance to a mobile station
WO2011069405A1 (en) Handover preprocessing method
US10244495B1 (en) Systems and methods for synchronization signal timeslot reselection for synchronization target selection in networks
KR20130119376A (en) Apparatus and method for estimating location of mobile station in wireless local area network
US11647447B2 (en) Candidate link locating by a wireless terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09825721

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09825721

Country of ref document: EP

Kind code of ref document: A1