CN102118780A - Method and base station for using multiple clock sources - Google Patents
Method and base station for using multiple clock sources Download PDFInfo
- Publication number
- CN102118780A CN102118780A CN2009102607785A CN200910260778A CN102118780A CN 102118780 A CN102118780 A CN 102118780A CN 2009102607785 A CN2009102607785 A CN 2009102607785A CN 200910260778 A CN200910260778 A CN 200910260778A CN 102118780 A CN102118780 A CN 102118780A
- Authority
- CN
- China
- Prior art keywords
- clock source
- source
- clock
- initial data
- base station
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention provides a method and base station for using multiple clock sources, and provides a technology capable of enabling the base station to use the multiple clock sources flexibly according to different environments. The method comprises the following steps: receiving the original data of a first clock source, and caching the original data; and determining a clock source drive matched with the first clock source by use of the original data and multiple stored clock source drives. Through the technical scheme provided by the invention, the base station uses the multiple clock sources more flexibly and conveniently.
Description
Technical field
The present invention relates to wireless communication technology field, the using method of particularly a kind of Zhong Yuan for a long time and base station.
Background technology
TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA) is an exact time synchronization system, wherein for the split-second precision synchronisation requirement mainly from the TD base station.Stationary problem is solved by GPS (Global PositioningSystem, global positioning system) receiving equipment is installed usually in existing TD base station, employing be the mode of GPS time service.This mode has not only increased engineering construction difficulty and cost, and the single method of synchronization can be brought the problem of safety and reliability aspect.
In order to address this problem, common way is the clock source that number of different types is set for the TD base station.Existing clock source category can be divided into satellite time dissemination system and ground network side time dissemination system, and the satellite time dissemination system comprises gps satellite system and big-dipper satellite system, ground network side time dissemination system comprises IEEE 1588 (Institute of Electrical and Electronics Engineers 1588, U.S. electric and electronics engineers 1588) reference source and TOD+1PPS (Time OfDay+Pulse per second, the clock source standard that operator formulates) reference source.In the middle of the network topology in future, the clock source of other type also may appear.
Therefore, how to make the base station use Zhong Yuan for a long time flexibly, just become problem demanding prompt solution according to different environment.
Summary of the invention
The embodiment of the invention provides using method and the base station of a kind of Zhong Yuan for a long time, can use the technology of Zhong Yuan for a long time flexibly according to different environment in order to a kind of base station that makes to be provided.
The embodiment of the invention provides the using method of a kind of Zhong Yuan for a long time, comprising:
Receive the initial data in the first clock source, and the described initial data of buffer memory;
Utilize a plurality of clocks source of described initial data and storage to drive, determine to drive with the clock source of described first clock source coupling.
After the described clock source driving of determining to mate, also comprise with the described first clock source:
The described initial data of deletion buffer memory.
The described a plurality of clocks source of described initial data and storage that utilizes drives, and determines to drive with the clock source of described first clock source coupling, is specially:
One by one utilize a plurality of clocks source of described storage to drive described initial data resolved and obtain resolution data, and determine whether the current clock source that utilizes drives the resolution data that obtains after described initial data resolved, meet the agreement that the described current clock source that utilizes drives coupling; When meeting, determine that it is the clock source driving of mating with the described first clock source that the described current clock source that utilizes drives.
Described using method also comprises:
When break down in the present clock source of using, monitor the duration that breaks down in described present clock source;
When described duration equals predetermined threshold value, determine switchable clock source;
Inactive described present clock source, and enable described switchable clock source.
Described when described duration equals predetermined threshold value, determine switchable clock source, be specially:
When described duration equals predetermined threshold value, determine the priority, available of the most approaching described present clock of priority source and clock source through disposing, be described switchable clock source.
Described when described duration equals predetermined threshold value, determine the priority, available of the most approaching described present clock of priority source and clock source through disposing, be described switchable clock source, be specially:
When described duration equals predetermined threshold value, determine configurable clock generator source through configuration;
In described configurable clock generator source, determine available available clock source;
In described available clock source, the clock source of determining the priority in the most approaching described present clock of priority source is described switchable clock source.
The embodiment of the invention provides a kind of base station, comprising:
Receiver module is used to receive the also initial data in the buffer memory first clock source;
Memory module is used to store a plurality of clocks source and drives;
Matching module is used to utilize described initial data and described a plurality of clocks source to drive, and determines to drive with the clock source of described first clock source coupling.
Described base station also comprises:
Removing module is used for after described matching module determines that the clock source of mating with the described first clock source drives the described initial data of deleting buffer memory in the described receiver module.
Described matching module further comprises:
Analyzing sub-module is used for one by one utilizing a plurality of clocks source of described memory module storage to drive described initial data resolved obtaining resolution data;
Determine submodule, be used for determining that the current clock source that utilizes drives the resolution data that obtains after described initial data resolved, whether meet the agreement that the described current clock source that utilizes drives coupling, and when meeting, determine that it is the clock source driving of mating with the described first clock source that the described current clock source that utilizes drives.
Described base station also comprises:
Monitoring module is used for monitoring the duration that breaks down in described present clock source when break down in the present clock source of using;
Determination module is used for when described duration equals predetermined threshold value, determines switchable clock source, and described switchable clock source is the priority, available of the most approaching described present clock of priority source and the clock source through disposing;
Handover module is used for the described present clock source of stopping using, and enables described switchable clock source monitoring module.
In the technical scheme that the embodiment of the invention provides, base station stored has a plurality of clocks source to drive, after external equipment is linked into the base station, the base station can utilize a plurality of clocks source driving of its storage and the initial data in the clock source that external equipment is imported, in a plurality of clocks source of its storage drives, detect the clock source of mating with the clock source of external equipment intelligently and drive, make the external equipment user needn't manually select the clock source to drive, the use of Zhong Yuan is very flexible for a long time; And, in this technical scheme, when break down in the present clock source of using when the base station, can also automatically switch to suitable clock source, make the use of Zhong Yuan for a long time more flexible.
Description of drawings
Fig. 1 is the embodiment of the invention using method flow chart of Zhong Yuan for a long time;
Fig. 2 is the embodiment of the invention another flow chart of the using method of Zhong Yuan for a long time;
Fig. 3 A is the structural representation of embodiment of the invention base station;
Fig. 3 B is the structural representation that the embodiment of the invention comprises the base station of removing module 304;
Fig. 3 C is the structural representation of embodiment of the invention matching module 303;
Fig. 3 D is the structural representation that the embodiment of the invention comprises the base station of monitoring module 305, determination module 306 and handover module 307.
Embodiment
In order to solve the problem that prior art exists, the embodiment of the invention provides using method and the base station of a kind of Zhong Yuan for a long time.In this technical scheme, base station stored has a plurality of clocks source to drive, after external equipment is linked into the base station, the base station can utilize a plurality of clocks source driving of its storage and the initial data in the clock source that external equipment is imported, in a plurality of clocks source of its storage drives, detect the clock source of mating with the clock source of external equipment intelligently and drive, make the external equipment user needn't manually select the clock source to drive, the use of Zhong Yuan is very flexible for a long time; And, in this technical scheme, when break down in the present clock source of using when the base station, can also automatically switch to suitable clock source, make the use of Zhong Yuan for a long time more flexible.
As shown in Figure 1, the embodiment of the invention provides the using method of a kind of Zhong Yuan for a long time, comprising:
The initial data in S101, the reception first clock source, and with its buffer memory;
A plurality of clocks source of S102, the initial data of utilizing the first clock source and storage drives, and determines to drive with the clock source of first clock source coupling.
Step S102 is specially:
One by one utilize a plurality of clocks source driving of storing that the initial data in the first clock source is resolved and obtain resolution data, and determine whether the current clock source that utilizes drives the resolution data that obtains after the initial data in the first clock source resolved, meet the agreement that the current clock source that utilizes drives coupling; When meeting, determine that it is the clock source driving of mating with the first clock source that the current clock source that utilizes drives.
In the using method of the above-mentioned Zhong Yuan for a long time that the embodiment of the invention provides, base station stored has a plurality of clocks source to drive, after external equipment is linked into the base station, the base station can utilize a plurality of clocks source driving of its storage and the initial data in the clock source that external equipment is imported, in a plurality of clocks source of its storage drives, detect the clock source of mating with the clock source of external equipment intelligently and drive, make the external equipment user needn't manually select the clock source to drive, the use of Zhong Yuan is very flexible for a long time.
After the execution in step S102, above-mentioned using method also comprises:
The initial data in the first clock source of deletion buffer memory.
As shown in Figure 2, above-mentioned using method also comprises:
S201, when system monitoring when the qualitative character fault appears in the present clock source of using, the duration that breaks down in monitoring present clock source.
S202, when duration equals predetermined threshold value, determine switchable clock source.
Wherein, predetermined threshold value can be set to can keep after the present clock source lock crystal chip duration of normal clock function.
Switchable clock source is that priority is near the priority, available of present clock source and the clock source through disposing.The method of determining this switchable clock source comprises the steps:
A1, when the duration that breaks down when the present clock source equals predetermined threshold value, determine configurable clock generator source through configuration;
A2, in the configurable clock generator source, determine available available clock source;
A3, in available clock source, determine that priority is switchable clock source near the clock source of the priority in present clock source.
S203, the present clock source of stopping using, and enable switchable clock source, use for the phase demodulation process.
As seen, when break down in the present clock source of using when the base station, can automatically switch to suitable clock source, make the use of Zhong Yuan for a long time more flexible by execution in step S201-S203.
As shown in Figure 3A, the embodiment of the invention provides a kind of base station, comprising:
Shown in Fig. 3 B, the base station shown in Fig. 3 A also comprises:
Removing module 304 is used for after matching module 303 determines that the clock source of mating with the first clock source drives the initial data of buffer memory in the deletion receiver module 301.
Wherein, shown in Fig. 3 C, the matching module 303 shown in Fig. 3 A (perhaps Fig. 3 B) further comprises:
Analyzing sub-module 3031 is used for one by one utilizing a plurality of clocks source of memory module 302 storages to drive initial data resolved obtaining resolution data;
Determine submodule 3032, be used for determining that the current clock source that utilizes drives the resolution data that obtains after initial data resolved, whether meet the agreement that the current clock source that utilizes drives coupling, and when meeting, determine that it is the clock source driving of mating with the first clock source that the current clock source that utilizes drives.
Shown in Fig. 3 D, the base station shown in Fig. 3 A (perhaps Fig. 3 B, Fig. 3 C) also comprises:
With specific embodiment the technical scheme that the embodiment of the invention provides is described below.
GPS time service subcard with Ublox agreement, Trimble agreement, these three kinds of different agreements of M12 agreement is an example.Store the driving array list in the base station, drive the various clocks of array list sequence arrangement source and drive (comprise driving to receive to handle function and drive to send and handle function), drive comprising above-mentioned three kinds of GPS time service subcards clock source separately.Suppose certain GPS time service subcard X access base station, the method that the base station utilizes the embodiment of the invention to provide is determined to comprise the following steps: with the clock source driving of subcard X coupling
B1, subcard X access base station, and the initial data in its clock source sent to the base station.
B2, base station receive initial data and with its buffer memory.
B3, base station utilize first clock source that drives in the array list to drive initial data are resolved, obtain first resolution data, and determine whether first resolution data meets the agreement that first clock source drives coupling, if meet, determine that then the clock source that first clock source drives to subcard X drives, and finishes; If do not meet, then continue B4.
B4, base station utilize second the clock source that drives in the array list to drive initial data are resolved, obtain second resolution data, and determine whether second resolution data meets the agreement that second clock source drives coupling, if meet, determine that then the clock source that second clock source drives to subcard X drives, and finishes; If do not meet, then, the base station utilizes the 3rd the clock source that drives in the array list to drive, the 4th clock source drives,,,,,, drive up to the clock source of finding subcard X coupling.
The base station is by execution in step B1-B4, and the clock source that detects subcard X coupling drives, and makes that the use of Zhong Yuan is very flexible for a long time.
In addition, when break down in the present clock source of using when the base station, can also carry out the switching in clock source by following flow process:
C1, when breaking down in the present clock source, switching timer is set, the duration of switching timer can be set to can keep after the lock crystal chip of present clock source the duration of normal clock function.
C2, determine whether the fault in present clock source in switching timer is recovered,, finish if recover then continue locking present clock source; If do not recover, continue to carry out C3.
If the fault in C3 present clock source in switching timer is not recovered, then determine than the whether available and configuration of the clock source of the low priority in present clock source, if the clock source of this low priority can be used and configuration, then switch to the clock source of this low priority; If the clock source of this low priority is unavailable or not configuration, then continue to carry out C4.
C4, determine than the whether available and configuration of the clock source of low two priority in present clock source, if clock source of these low two priority can with and configuration, then switch to the clock source of these low two priority; If the clock source of these low two priority is unavailable or not configuration, then, low three, four of polling ratio present clock source,,,,,, the whether available and configuration of the clock source of priority, up to determining switchable clock source.
Wherein, if switchable clock source is not determined in the clock source of intact all priority of poll yet, continue that then timer is set and begin poll, up to determining switchable clock source.
The automatic switchover in clock source has been finished by execution in step C1-C4 in the base station, makes that the use of Zhong Yuan is more flexible for a long time.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (10)
1. the using method of Zhong Yuan for a long time is characterized in that, comprising:
Receive the initial data in the first clock source, and the described initial data of buffer memory;
Utilize a plurality of clocks source of described initial data and storage to drive, determine to drive with the clock source of described first clock source coupling.
2. using method as claimed in claim 1 is characterized in that, after the described clock source driving of determining to mate with the described first clock source, also comprises:
The described initial data of deletion buffer memory.
3. using method as claimed in claim 1 is characterized in that, the described a plurality of clocks source of described initial data and storage that utilizes drives, and determines to drive with the clock source of described first clock source coupling, is specially:
One by one utilize a plurality of clocks source of described storage to drive described initial data resolved and obtain resolution data, and determine whether the current clock source that utilizes drives the resolution data that obtains after described initial data resolved, meet the agreement that the described current clock source that utilizes drives coupling; When meeting, determine that it is the clock source driving of mating with the described first clock source that the described current clock source that utilizes drives.
4. as claim 1,2 or 3 described usings method, it is characterized in that, also comprise:
When break down in the present clock source of using, monitor the duration that breaks down in described present clock source;
When described duration equals predetermined threshold value, determine switchable clock source;
Inactive described present clock source, and enable described switchable clock source.
5. using method as claimed in claim 4 is characterized in that, and is described when described duration equals predetermined threshold value, determines switchable clock source, is specially:
When described duration equals predetermined threshold value, determine the priority, available of the most approaching described present clock of priority source and clock source through disposing, be described switchable clock source.
6. using method as claimed in claim 5, it is characterized in that, described when described duration equals predetermined threshold value, determine the priority, available of the most approaching described present clock of priority source and clock source through disposing, be described switchable clock source, be specially:
When described duration equals predetermined threshold value, determine configurable clock generator source through configuration;
In described configurable clock generator source, determine available available clock source;
In described available clock source, the clock source of determining the priority in the most approaching described present clock of priority source is described switchable clock source.
7. a base station is characterized in that, comprising:
Receiver module is used to receive the also initial data in the buffer memory first clock source;
Memory module is used to store a plurality of clocks source and drives;
Matching module is used to utilize described initial data and described a plurality of clocks source to drive, and determines to drive with the clock source of described first clock source coupling.
8. base station as claimed in claim 7 is characterized in that, also comprises:
Removing module is used for after described matching module determines that the clock source of mating with the described first clock source drives the described initial data of deleting buffer memory in the described receiver module.
9. base station as claimed in claim 7 is characterized in that, described matching module further comprises:
Analyzing sub-module is used for one by one utilizing a plurality of clocks source of described memory module storage to drive described initial data resolved obtaining resolution data;
Determine submodule, be used for determining that the current clock source that utilizes drives the resolution data that obtains after described initial data resolved, whether meet the agreement that the described current clock source that utilizes drives coupling, and when meeting, determine that it is the clock source driving of mating with the described first clock source that the described current clock source that utilizes drives.
10. as claim 7,8 or 9 described base stations, it is characterized in that, also comprise:
Monitoring module is used for monitoring the duration that breaks down in described present clock source when break down in the present clock source of using;
Determination module is used for when described duration equals predetermined threshold value, determines switchable clock source, and described switchable clock source is the priority, available of the most approaching described present clock of priority source and the clock source through disposing;
Handover module is used for the described present clock source of stopping using, and enables described switchable clock source.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102607785A CN102118780A (en) | 2009-12-30 | 2009-12-30 | Method and base station for using multiple clock sources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102607785A CN102118780A (en) | 2009-12-30 | 2009-12-30 | Method and base station for using multiple clock sources |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102118780A true CN102118780A (en) | 2011-07-06 |
Family
ID=44217336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009102607785A Pending CN102118780A (en) | 2009-12-30 | 2009-12-30 | Method and base station for using multiple clock sources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102118780A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707765A (en) * | 2012-05-15 | 2012-10-03 | 江苏中科梦兰电子科技有限公司 | Timekeeping method using mixed clock source |
CN104328335A (en) * | 2014-11-27 | 2015-02-04 | 常熟市勤丰铸件厂 | Novel rustless casting piece |
CN105992333A (en) * | 2015-02-04 | 2016-10-05 | 中国移动通信集团公司 | Processing method and processing apparatus of time synchronization of base station |
CN106209291A (en) * | 2016-08-30 | 2016-12-07 | 京信通信技术(广州)有限公司 | Clock source list update, clock synchronizing method and the system that base station clock synchronizes |
CN111258209A (en) * | 2018-12-25 | 2020-06-09 | 维沃移动通信有限公司 | Time information acquisition method, time information transmission method, terminal and network equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050149775A1 (en) * | 2004-01-06 | 2005-07-07 | Alcatel | Redundant synchronous clock distribution method, a related clock module and a related clock slave device |
CN1870490A (en) * | 2005-05-27 | 2006-11-29 | 中兴通讯股份有限公司 | Selection method for clock source in sychronous transmission system |
CN101009544A (en) * | 2006-01-27 | 2007-08-01 | 大唐移动通信设备有限公司 | System and method of automatic phase-locking tracking clock synchronization |
CN101192913A (en) * | 2007-08-08 | 2008-06-04 | 中兴通讯股份有限公司 | A system and method for clock synchronization and clock switch over optical transmission network |
CN101303894A (en) * | 2007-05-10 | 2008-11-12 | 瑞鼎科技股份有限公司 | Shift register and shift register apparatus |
CN101771661A (en) * | 2008-12-29 | 2010-07-07 | 华为技术有限公司 | Method, device and system for determining clock source |
-
2009
- 2009-12-30 CN CN2009102607785A patent/CN102118780A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050149775A1 (en) * | 2004-01-06 | 2005-07-07 | Alcatel | Redundant synchronous clock distribution method, a related clock module and a related clock slave device |
CN1870490A (en) * | 2005-05-27 | 2006-11-29 | 中兴通讯股份有限公司 | Selection method for clock source in sychronous transmission system |
CN101009544A (en) * | 2006-01-27 | 2007-08-01 | 大唐移动通信设备有限公司 | System and method of automatic phase-locking tracking clock synchronization |
CN101303894A (en) * | 2007-05-10 | 2008-11-12 | 瑞鼎科技股份有限公司 | Shift register and shift register apparatus |
CN101192913A (en) * | 2007-08-08 | 2008-06-04 | 中兴通讯股份有限公司 | A system and method for clock synchronization and clock switch over optical transmission network |
CN101771661A (en) * | 2008-12-29 | 2010-07-07 | 华为技术有限公司 | Method, device and system for determining clock source |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707765A (en) * | 2012-05-15 | 2012-10-03 | 江苏中科梦兰电子科技有限公司 | Timekeeping method using mixed clock source |
CN102707765B (en) * | 2012-05-15 | 2014-12-31 | 江苏中科梦兰电子科技有限公司 | Timekeeping method using mixed clock source |
CN104328335A (en) * | 2014-11-27 | 2015-02-04 | 常熟市勤丰铸件厂 | Novel rustless casting piece |
CN105992333A (en) * | 2015-02-04 | 2016-10-05 | 中国移动通信集团公司 | Processing method and processing apparatus of time synchronization of base station |
CN106209291A (en) * | 2016-08-30 | 2016-12-07 | 京信通信技术(广州)有限公司 | Clock source list update, clock synchronizing method and the system that base station clock synchronizes |
CN106209291B (en) * | 2016-08-30 | 2018-09-14 | 京信通信系统(中国)有限公司 | Clock source list update, clock synchronizing method and the system that base station clock synchronizes |
CN111258209A (en) * | 2018-12-25 | 2020-06-09 | 维沃移动通信有限公司 | Time information acquisition method, time information transmission method, terminal and network equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102769667B (en) | Method, equipment and system for generating ID | |
CN102238719B (en) | Time synchronization method and device and distributed time synchronization system | |
CN102118780A (en) | Method and base station for using multiple clock sources | |
CN107733720B (en) | Portable firmware upgrading method and device | |
CN102036361B (en) | Processing method, device and system for clock source selection | |
CN101765198B (en) | Clock synchronization method, clock synchronization device and clock synchronization system | |
CN101969384B (en) | Compatibility judging method, device and network equipment for switching between active and standby main control boards | |
JP2012182903A (en) | Storage battery control system and storage battery control method | |
CN101251587A (en) | Satellite navigation system and GPS bimodule time service device | |
CN101641916A (en) | Removal of ambiguities in forming new piconet controller (PNC) when the current PNC controller is suddenly unavailable | |
CN104883242A (en) | Method and system for transmitting access points, stations and beacon frames | |
CN102469569A (en) | Time synchronization method of mobile communication system and synchronization device thereof | |
EP2579066A1 (en) | Mobile communication terminal and location system selection method | |
CN103428738A (en) | Method for detecting abnormities of radio remote unit link and radio remote unit | |
CN101980504B (en) | Data sharing method, mobile terminal and server | |
US20230413247A1 (en) | Method for communication processing, terminal device, and non-transitory computer-readable storage medium | |
CN104581651A (en) | Terminal, trunk system and station positioning method of trunk system | |
JP2018091828A (en) | System and method for synchronization of time source in protective zone of digital electric power substation | |
EP2448342A1 (en) | Method and apparatus for realizing summer time in cdma system | |
CN103377052A (en) | Method and system for automatically downloading adaptive application programs on basis of file synchronization service | |
US11641632B2 (en) | Method for determining synchronization source and terminal | |
US20140256354A1 (en) | Mobile broadband device and assisted positioning method therefor | |
CN102695252B (en) | Third party positioning method and system, mobile terminal | |
CN101316386A (en) | System and method for monitoring geographical position of stolen mobile phone | |
CN107247277B (en) | GPS/Beidou dual-mode data splitter, splitting control system and splitting control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110706 |