Clock synchronization method, device, equipment and medium
By obtaining synchronization signals from different sources, base station clock synchronization processing is realized, which solves the problem in the existing technology that base station clock synchronization design relies on traditional communication technology, and provides a highly reliable and flexible clock synchronization solution suitable for ICT convergence scenarios. .
Patent Information
- Application Number
- CN202410182904.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2024-10-18
AI Technical Summary
Existing general server architectures and solutions lack time synchronization processing system design, resulting in base station clock synchronization design relying on traditional communication technology and failing to meet the needs of information and communication technology (ICT) convergence scenarios.
By obtaining at least one of the synchronization signal generated by the clock source of the base station, the synchronization signal obtained by the serial interface, and the clock synchronization protocol message obtained by the Ethernet interface from the core network, clock synchronization processing is performed on the base station to implement multiple clock sources. Program compatibility and high-reliability clock synchronization.
It achieves the flexibility and versatility of base station clock synchronization and can provide highly reliable clock synchronization signals for various functional modules of the base station to meet the synchronization needs of ICT convergence scenarios.
Smart Images

Figure CN118804258A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a clock synchronization method, apparatus, device and medium. Background Art
[0002] In existing wireless communications, the clock synchronization function between base stations is very important. The role of clock processing in wireless networks is mainly to synchronize the entire wireless network. Failure in clock synchronization will lead to a decline in user call quality or even single-talk, dropped calls and other faults. In the traditional communication field, clock modules are designed and implemented by each manufacturer, and there are many different solutions. With the development of the convergence trend of information and communication technology (ICT), the realization of base stations based on general server platforms is the most important form and feature of open base stations. However, since the existing general server architecture and solutions do not have a system design for time synchronization processing, the clock synchronization design of the implemented base stations still continues the dedicated implementation of traditional communication technology (CT), and there are many different solutions, which is inconsistent with the trend of ICT convergence. Summary of the invention
[0003] The embodiments of the present application provide a clock synchronization method, apparatus, device and medium to solve the problem of how to meet the base station synchronization requirements in ICT fusion scenarios.
[0004] In a first aspect, a clock synchronization method is provided, which is applied to a base station, and includes:
[0005] Acquire at least one of a first synchronization signal, a second synchronization signal, and a third synchronization signal through a first module, wherein the first synchronization signal is generated by a clock source of the base station, the second synchronization signal is determined based on a synchronization signal acquired by the base station through a serial interface, and the third synchronization signal is determined based on a clock synchronization protocol message acquired by the base station from a core network through an Ethernet interface;
[0006] The first module performs clock synchronization processing on the second module of the base station according to at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal.
[0007] Optionally, the first module includes a clock module, and obtaining the third synchronization signal through the first module includes:
[0008] Obtaining a clock synchronization protocol message from the core network through the Ethernet interface;
[0009] Sending the clock synchronization protocol message to the first processor of the base station through the Ethernet interface, obtaining a TOD signal according to the clock synchronization protocol message by the first processor of the base station, and sending the TOD signal to the clock module by the first processor of the base station;
[0010] A pulse per second (1PPS) signal is sent to the clock module via the Ethernet interface, wherein the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
[0011] Optionally, the first module includes a clock module and an acceleration card, and obtaining the third synchronization signal through the first module includes:
[0012] Obtaining a clock synchronization protocol message from the core network through the Ethernet interface;
[0013] Sending the clock synchronization protocol message to the second processor of the acceleration card through the Ethernet interface, the second processor of the acceleration card obtains a TOD signal according to the clock synchronization protocol message, and the second processor of the acceleration card sends the TOD signal to the clock module;
[0014] A 1PPS signal is sent to the clock module through the Ethernet interface, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
[0015] Optionally, the first synchronization signal, the second synchronization signal or the third synchronization signal includes: a 1PPS signal and / or a TOD signal.
[0016] Optionally, obtaining a TOD signal according to the clock synchronization protocol message includes:
[0017] Obtaining absolute clock information according to the clock synchronization protocol message;
[0018] Acquire the 1PPS signal;
[0019] The TOD signal is determined according to the 1PPS signal, the absolute clock information, and the TOD signal format.
[0020] In a second aspect, a clock synchronization device is provided, which is applied to a base station, including: a first module, the first module is used to obtain at least one of a first synchronization signal, a second synchronization signal, and a third synchronization signal, the first synchronization signal is generated by a clock source of the base station, the second synchronization signal is determined based on a synchronization signal obtained by the base station through a serial interface, and the third synchronization signal is determined based on a clock synchronization protocol message obtained by the base station from a core network through an Ethernet interface;
[0021] The first module is further configured to perform clock synchronization processing on the second module of the base station according to at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal.
[0022] Optionally, the device further includes an Ethernet interface and a first processor, and the first module includes a clock module;
[0023] The Ethernet interface obtains a clock synchronization protocol message from the core network;
[0024] The Ethernet interface sends the clock synchronization protocol message to the first processor of the base station, the first processor of the base station obtains a TOD signal according to the clock synchronization protocol message, and the first processor of the base station sends the TOD signal to the clock module;
[0025] The Ethernet interface sends a 1PPS signal to the clock module, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
[0026] Optionally, the device further includes an Ethernet interface, and the first module includes a clock module and an acceleration card;
[0027] The Ethernet interface sends the clock synchronization protocol message to the second processor of the acceleration card, the second processor of the acceleration card obtains a TOD signal according to the clock synchronization protocol message, and the second processor of the acceleration card sends the TOD signal to the clock module;
[0028] The Ethernet interface sends a 1PPS signal to the clock module, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
[0029] Optionally, the first synchronization signal, the second synchronization signal or the third synchronization signal includes: a 1PPS signal and / or a TOD signal.
[0030] Optionally, obtaining a TOD signal according to the clock synchronization protocol message includes: obtaining absolute clock information according to the clock synchronization protocol message; obtaining the 1PPS signal; and determining the TOD signal according to the 1PPS signal, the absolute clock information, and a TOD signal format.
[0031] In a third aspect, a base station is provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0032] In a fourth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0033] According to a fifth aspect, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0034] In an embodiment of the present application, at least one of a first synchronization signal, a second synchronization signal and a third synchronization signal is obtained through a first module, wherein the first synchronization signal is generated by a clock source of the base station, the second synchronization signal is determined based on a synchronization signal obtained by the base station through a serial interface, and the third synchronization signal is determined based on a clock synchronization protocol message obtained by the base station from a core network through an Ethernet interface; clock synchronization processing is performed on the second module of the base station according to at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal through the first module, and a variety of clock source schemes can be compatible and adapted, with high versatility, and highly reliable clock synchronization signals can be flexibly provided for various functional modules of the base station (such as a central processing unit (CPU), an accelerator card, a remote radio unit (RRU), etc.) to meet the synchronization requirements of the base station. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0036] Figure 1 It is a flowchart of a clock synchronization method provided by an embodiment of the present application;
[0037] Figure 2 It is one of the schematic diagrams of the clock synchronization system provided in the embodiment of the present application;
[0038] Figure 3 This is the second schematic diagram of the clock synchronization system provided in the embodiment of the present application;
[0039] Figure 4 is a schematic diagram of an Ethernet interface clock recovery function provided by an embodiment of the present application;
[0040] Figure 5 is a structural block diagram of a clock synchronization device provided in an embodiment of the present application;
[0041] Figure 6It is a schematic diagram of a base station provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0043] The term "comprise" and any variation thereof in the specification and claims of the present application are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. In addition, the use of "and / or" in the specification and claims to indicate at least one of the connected objects, such as A and / or B, means that A alone, B alone, and A and B exist in three cases.
[0044] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0045] See also Figure 1 An embodiment of the present application provides a clock synchronization method, which is applied to a base station, such as a base station that integrates an Internet server and a wireless communication base station. The specific steps include: step 101 and step 102.
[0046] Step 101: obtaining at least one of a first synchronization signal, a second synchronization signal, and a third synchronization signal through a first module, wherein the first synchronization signal is generated by a clock source of the base station, the second synchronization signal is determined based on a synchronization signal obtained by the base station through a serial interface, and the third synchronization signal is determined based on a clock synchronization protocol message obtained by the base station from a core network through an Ethernet interface;
[0047] Optionally, the type of the clock source includes at least one of the following: a Global Positioning System (GPS) clock source, a Global Navigation Satellite System (GNSS) clock source
[0048] Optionally, the serial interface is an interface for data communication between the base station and an external device, and the serial interface includes but is not limited to an RS422 interface.
[0049] Optionally, the Ethernet interface may correspond to multiple types of network cards, which may be based on different data transmission speeds, connection media or usage scenarios. For example, the Ethernet network card type includes but is not limited to at least one of the following: a wired Ethernet network card, a fiber-optic Ethernet network card.
[0050] Step 102: Perform clock synchronization processing on the second module of the base station according to at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal through the first module.
[0051] For example, the first module sends at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal to the second module of the base station to perform clock synchronization processing.
[0052] For another example, the first module obtains a fourth synchronization signal according to at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal, and sends the fourth synchronization signal to the second module of the base station for clock synchronization processing.
[0053] Optionally, the first synchronization signal, the second synchronization signal, the third synchronization signal or the fourth synchronization signal includes: a pulse per second (1 Pulse Per Second, 1PPS) signal and / or a time of day (Time Of Day, TOD) signal.
[0054] Optionally, the second module includes but is not limited to a CPU, an accelerator card, a remote radio unit (RRU), etc. For example, the RRU may be connected to the base station via a common public radio interface (CPRI).
[0055] An accelerator card generally refers to a hardware device used to accelerate specific processing tasks in a base station. Accelerator cards are mainly used to optimize and accelerate data processing, such as signal processing, packet forwarding, encryption and decryption, and other operations. Accelerator cards can take a variety of technical forms, such as using a dedicated digital signal processor, field programmable gate array, or customized application-specific integrated circuit. By using such a hardware acceleration solution, the load on the base station central processor can be significantly reduced, the energy efficiency ratio can be improved, the latency can be reduced, and the base station can support more data transmission and user connections.
[0056] In one implementation of the present application, the first module includes a clock module, and obtaining the third synchronization signal through the first module includes:
[0057] Obtain clock synchronization protocol messages from the core network through the Ethernet interface;
[0058] Sending the clock synchronization protocol message to the first processor of the base station through the Ethernet interface, obtaining a TOD signal according to the clock synchronization protocol message by the first processor of the base station, and sending the TOD signal to the clock module by the first processor of the base station;
[0059] A 1PPS signal is sent to the clock module through the Ethernet interface, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
[0060] It should be noted that, in this embodiment, there is no specific limitation on the order in which the clock module obtains the TOD signal and the IPPS signal.
[0061] Optionally, the Ethernet interface sends the clock synchronization protocol message to the first processor of the base station via a Precision Time Protocol (PTP) using a Peripheral Component Interconnect Express (PCIE) interface.
[0062] Optionally, the clock synchronization protocol includes, for example, the Network Time Protocol (NTP) and the Precision Time Protocol (PTP).
[0063] In one implementation of the present application, the first module includes a clock module and one or more acceleration cards, and obtaining the third synchronization signal through the first module includes:
[0064] Obtain clock synchronization protocol messages from the core network through the Ethernet interface;
[0065] Sending the clock synchronization protocol message to the second processor of the acceleration card through the Ethernet interface, the second processor of the acceleration card obtains a TOD signal according to the clock synchronization protocol message, and the second processor of the acceleration card sends the TOD signal to the clock module;
[0066] A 1PPS signal is sent to the clock module through the Ethernet interface, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
[0067] In one implementation of the present application, obtaining the TOD signal according to the clock synchronization protocol message includes:
[0068] Obtaining absolute clock information according to the clock synchronization protocol message;
[0069] Acquire a 1PPS signal sent by the Ethernet interface, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message;
[0070] A TOD signal is determined according to the 1PPS signal, the absolute clock information, and the TOD signal format.
[0071] Further, a TOD signal is determined based on the 1PPS signal, the absolute clock information, the transmission delay error clock compensation amount, and the TOD signal format.
[0072] Among them, the 1PPS signal is used to determine the clock transmission delay compensation amount, and the "absolute clock information" refers to the exact time value based on the global unified time standard (such as Coordinated Universal Time UTC). This information is usually used to accurately synchronize clocks between various computers and network devices to ensure that they can operate at the same or close absolute time.
[0073] Optionally, the Ethernet interface includes a 1PPS recovery module, which can process the clock synchronization protocol message to obtain a 1PPS signal.
[0074] The embodiments of the present application are compatible with and adaptable to a variety of clock source solutions, have high versatility, and can flexibly provide highly reliable clock synchronization signals for various functional modules of the base station to meet the synchronization requirements of the base station.
[0075] See also Figure 2 ,The clock module is responsible for the base station clock synchronization function as a ,separate module, which can handle the processing and transmission of clock ,information from different schemes and provide accurate clock synchronization signals for ,other modules of the system.
[0076] In this embodiment, the base station may include: a clock module, a serial interface, an Ethernet interface and a first processor. Further, the base station may also include: an acceleration card 1, an acceleration card 2 and an RRU.
[0077] The specific workflow of clock synchronization is described as follows:
[0078] Step 1: Synchronize the clock module.
[0079] The clock module generates 1PulsePerSecond (1PPS) signal and time of day (TOD) signal through the built-in Global Positioning System (GPS) and Global Navigation Satellite System (GNSS) clock sources, and transmits them to each module of the base station system for clock synchronization.
[0080] Step 2: Perform clock synchronization according to the synchronization signal of the serial interface.
[0081] For example, the clock module obtains the relevant 1PPS signal and TOD signal by obtaining the synchronization signal of the RS422 interface, and transmits them to each module of the base station system for clock synchronization.
[0082] Step 3: Synchronize the clock according to the Ethernet interface.
[0083] The clock module obtains the 1PPS signal through the Ethernet interface, obtains the TOD signal through the first processor, and transmits it to each module of the base station system for clock synchronization. The Ethernet interface transmits the precision clock protocol data to the first processor through PCIE, the first processor parses the relevant TOD signal, and transmits the TOD signal to the clock module through the Universal Asynchronous Receiver / Transmitter (UART). The clock module transmits the unified 1PPS signal to the first processor through GPIO, and transmits the TOD signal to the first processor through UART for use by the first processor.
[0084] Optionally, the Ethernet interface can be a backhaul network card.
[0085] In this application, the clock module can be designed as a separate module on the mainboard, or it can be designed on the accelerator card (i.e., the accelerator card clock module). The specific implementation scheme is as follows: Figure 3 The base station shown includes: an integrated clock module and an acceleration card, a serial interface, an Ethernet interface and a first processor, and the acceleration card includes a second processor. Further, the base station may also include: an acceleration card 2 and an RRU.
[0086] The specific workflow of clock synchronization is described as follows:
[0087] Step 1: Synchronize the clock module.
[0088] The clock module generates 1PPS signal and TOD signal through the built-in GPS and GNSS clock sources, and transmits them to each module of the base station system for clock synchronization.
[0089] Step 2: Perform clock synchronization according to the synchronization signal of the serial interface.
[0090] For example, the clock module obtains the relevant 1PPS signal and TOD signal by obtaining the synchronization signal of the RS422 port, and transmits them to each module of the base station system for clock synchronization.
[0091] Step 3: Synchronize the clock according to the Ethernet interface.
[0092] The clock module obtains the 1PPS signal and the TOD signal through the Ethernet interface, wherein the TOD signal is obtained by parsing the precision clock protocol data by the second processor in the accelerator card. Then the clock module transmits the corresponding clock signal (TOD signal and 1PPS signal) to other functional modules of the base station.
[0093] See also Figure 4 ,The specific implementation scheme of the Ethernet interface clock recovery function is as follows: the base station includes: an Ethernet interface, a PCIe bus, a first processor and a clock module. Further, the base station may also include a serial interface, an accelerator card, an RRU, etc. Among them, the Ethernet interface includes a 1PPS recovery module, and the first processor may include a TOD analysis module.
[0094] The Ethernet interface receives the clock synchronization protocol message sent by the core network, designs a 1PPS recovery module in the Ethernet interface for parsing the clock synchronization protocol message to recover the 1PPS signal, and inputs the 1PPS signal to the general purpose input / output (GPIO) pin and the clock module of the first processor through the signal output pin in the Ethernet interface, and the Ethernet interface transmits the clock synchronization protocol message to the PCIe data bus; the first processor receives the clock synchronization protocol message through the PCIe data bus, and parses the TOD signal from the clock synchronization protocol message through the TOD module of the first processor. The message parsing process of the TOD signal includes:
[0095] Step 1: Parse and identify the clock synchronization protocol message from the message header.
[0096] Step 2: Analyze the absolute clock information from the message information.
[0097] Step 3: Add the absolute clock information to the transmission delay error clock compensation amount, and complete the data preparation for the next second clock information transmission.
[0098] Step 4: After receiving the 1PPS signal, send the TOD signal.
[0099] Before sending a specific TOD signal, the system is waiting to receive a 1PPS signal. Once the 1PPS signal is detected, it will use this as a precise time marker to trigger the sending of the TOD signal to ensure that the TOD signal is synchronized with the global unified time standard.
[0100] Step 5: Determine the clock transmission delay compensation amount according to the 1PPS signal.
[0101] Step 6: Repeat step 1.
[0102] Then the first processor generates a TOD signal according to the TOD signal format requirement and transmits it to the clock module through the UART port on the first processor; the clock module obtains 10M, 1PPS signals and TOD signals for the entire system clock synchronization.
[0103] See also Figure 5 , an embodiment of the present application provides a clock synchronization device, which is applied to a base station, and the device 500 includes: a first module 501, the first module is used to obtain at least one of a first synchronization signal, a second synchronization signal and a third synchronization signal, the first synchronization signal is generated by a clock source of the base station, the second synchronization signal is determined based on a synchronization signal obtained by the base station through a serial interface, and the third synchronization signal is determined based on a clock synchronization protocol message obtained by the base station from a core network through an Ethernet interface;
[0104] The first module 501 is further configured to perform clock synchronization processing on the second module of the base station according to at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal.
[0105] In one embodiment of the present application, the device further includes an Ethernet interface and a first processor, and the first module includes a clock module;
[0106] The Ethernet interface obtains a clock synchronization protocol message from the core network;
[0107] The Ethernet interface sends the clock synchronization protocol message to the first processor of the base station, the first processor of the base station obtains a TOD signal according to the clock synchronization protocol message, and the first processor of the base station sends the TOD signal to the clock module;
[0108] The Ethernet interface sends a 1PPS signal to the clock module, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
[0109] In one embodiment of the present application, the device further includes an Ethernet interface, and the first module includes a clock module and an accelerator card;
[0110] The Ethernet interface sends the clock synchronization protocol message to the second processor of the acceleration card, the second processor of the acceleration card obtains a TOD signal according to the clock synchronization protocol message, and the second processor of the acceleration card sends the TOD signal to the clock module;
[0111] The Ethernet interface sends a 1PPS signal to the clock module, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
[0112] In one embodiment of the present application, the first synchronization signal, the second synchronization signal or the third synchronization signal includes: a 1PPS signal and / or a TOD signal.
[0113] In one embodiment of the present application, obtaining a TOD signal according to the clock synchronization protocol message includes: obtaining absolute clock information according to the clock synchronization protocol message; obtaining the 1PPS signal; determining the TOD signal according to the 1PPS signal, the absolute clock information, and the TOD signal format.
[0114] The device provided in the embodiment of the present application can achieve Figure 1 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.
[0115] like Figure 6 As shown, the embodiment of the present application also provides a base station 600, including a processor 601, a memory 602, a program or instruction stored in the memory 602 and executable on the processor 601, and the program or instruction is executed by the processor 601 to implement the above Figure 1 The various processes of the method embodiment can achieve the same technical effect. To avoid repetition, they will not be described here.
[0116] The embodiment of the present application also provides a readable storage medium on which a program or instruction is stored, and when the program or instruction is executed by a processor, the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0117] The processor is the processor in the base station described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0118] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.
[0119] The steps of the method or algorithm described in conjunction with the contents disclosed in this application can be implemented in hardware or by executing software instructions in a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disks, mobile hard disks, read-only optical disks, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be carried in an ASIC. In addition, the ASIC can be carried in a core network interface device. Of course, the processor and the storage medium can also exist in the core network interface device as discrete components.
[0120] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0121] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation methods of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the scope of protection of the present application.
[0122] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0123] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0124] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0126] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A clock synchronization method, applied to a base station, characterized in that: include: Acquire at least one of a first synchronization signal, a second synchronization signal, and a third synchronization signal through a first module, wherein the first synchronization signal is generated by a clock source of the base station, the second synchronization signal is determined based on a synchronization signal acquired by the base station through a serial interface, and the third synchronization signal is determined based on a clock synchronization protocol message acquired by the base station from a core network through an Ethernet interface; The first module performs clock synchronization processing on the second module of the base station according to at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal.
2. The method according to claim 1, characterized in that The first module includes a clock module, and obtaining the third synchronization signal through the first module includes: Obtaining a clock synchronization protocol message from the core network through the Ethernet interface; Sending the clock synchronization protocol message to the first processor of the base station through the Ethernet interface, obtaining a date and time TOD signal by the first processor of the base station according to the clock synchronization protocol message, and sending the TOD signal to the clock module by the first processor of the base station; A pulse per second (1PPS) signal is sent to the clock module via the Ethernet interface, wherein the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
3. The method according to claim 1, characterized in that The first module includes a clock module and an acceleration card, and obtaining a third synchronization signal through the first module includes: Obtaining a clock synchronization protocol message from the core network through the Ethernet interface; Sending the clock synchronization protocol message to the second processor of the acceleration card through the Ethernet interface, the second processor of the acceleration card obtains a TOD signal according to the clock synchronization protocol message, and the second processor of the acceleration card sends the TOD signal to the clock module; A 1PPS signal is sent to the clock module through the Ethernet interface, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
4. The method according to claim 2 or 3, characterized in that: Obtaining a TOD signal according to the clock synchronization protocol message includes: Obtaining absolute clock information according to the clock synchronization protocol message; Acquire the 1PPS signal; The TOD signal is determined according to the 1PPS signal, the absolute clock information, and the TOD signal format.
5. A clock synchronization device, applied to a base station, characterized in that: include: A first module, the first module is used to obtain at least one of a first synchronization signal, a second synchronization signal and a third synchronization signal, the first synchronization signal is generated by a clock source of the base station, the second synchronization signal is determined based on a synchronization signal obtained by the base station through a serial interface, and the third synchronization signal is determined based on a clock synchronization protocol message obtained by the base station from a core network through an Ethernet interface; The first module is also used to perform clock synchronization processing on the second module of the base station according to at least one of the first synchronization signal, the second synchronization signal and the third synchronization signal.
6. The device according to claim 5, characterized in that The device also includes an Ethernet interface and a first processor, and the first module includes a clock module; The Ethernet interface obtains a clock synchronization protocol message from the core network; The Ethernet interface sends the clock synchronization protocol message to the first processor of the base station, the first processor of the base station obtains a TOD signal according to the clock synchronization protocol message, and the first processor of the base station sends the TOD signal to the clock module; The Ethernet interface sends a 1PPS signal to the clock module, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
7. The device according to claim 5, characterized in that The device also includes an Ethernet interface, and the first module includes a clock module and an accelerator card; The Ethernet interface sends the clock synchronization protocol message to the second processor of the acceleration card, the second processor of the acceleration card obtains a TOD signal according to the clock synchronization protocol message, and the second processor of the acceleration card sends the TOD signal to the clock module; The Ethernet interface sends a 1PPS signal to the clock module, where the 1PPS signal is obtained by the Ethernet interface according to the clock synchronization protocol message.
8. The device according to claim 6 or 7, characterized in that Obtaining a TOD signal according to the clock synchronization protocol message includes: Obtaining absolute clock information according to the clock synchronization protocol message; Acquire the 1PPS signal; The TOD signal is determined according to the 1PPS signal, the absolute clock information, and the TOD signal format.
9. A base station, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction implements the steps of the method according to any one of claims 1 to 4 when executed by the processor.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
11. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 5.
