Time synchronization method and communication equipment
By detecting and selecting synchronization sources with excellent signal performance for time synchronization, the problem of poor synchronization effects caused by weak satellite signals in home base stations in indoor environments is solved, achieving stable time synchronization and reducing cross-time slot interference.
Patent Information
- Application Number
- CN202310327353.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
Due to the weak satellite signals of home base stations in indoor environments, the time synchronization effect is poor. It is difficult for existing technology to effectively solve this problem.
By detecting the types and signal performance of multiple synchronization sources that can be monitored by the home base station, the target synchronization source is determined and time synchronization is performed to improve the synchronization effect.
It improves the time synchronization effect of home base stations and reduces cross-time slot interference. It is suitable for home base station synchronization in different scenarios, including synchronization with the public network and internal synchronization in isolated islands.
Smart Images

Figure CN118741670A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a time synchronization method and communication equipment. Background Art
[0002] Home NodeB / Home Evolved NodeB (HNB / HeNB) is a small, low-power cellular base station, mainly used in indoor scenarios such as homes and offices. Home base stations are one of the preferred solutions for indoor fifth-generation mobile communication (5G) coverage enhancement. They are superior to WiFi in key performance aspects such as capacity, speed, and security. They also cleverly use the already-entered network cables or optical fibers for backhaul, eliminating the need for complex construction such as pulling dedicated lines and drilling holes through walls. They can quickly achieve 5G deep coverage in scenarios such as homes, business halls, conference rooms, and small shops, providing stable, secure, and end-to-end guaranteed network services for indoor services.
[0003] For the Time Division Duplexing (TDD) mode, strict time synchronization needs to be maintained between base stations in the network to reduce cross-slot interference. At present, the commonly used synchronization solution is to embed a satellite receiver in the indoor baseband processing unit (Building Baseband Unit, BBU), receive positioning signals from positioning satellites (for example, Global Positioning System (GPS), Beidou, etc.), obtain time synchronization, and send synchronization signals to the distribution unit (Distribute Unit, DU) and user equipment (User Equipment, UE, also known as terminal equipment).
[0004] However, home base stations are generally used indoors, where satellite signals are weak and the effect of time synchronization via satellite signals is poor. Summary of the invention
[0005] The embodiments of the present application provide a time synchronization method and a communication device to solve the problem that the time synchronization effect of the existing home base station is poor.
[0006] To solve the above technical problems, this application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a time synchronization method, which is applied to a first home base station. The method includes:
[0008] Detecting types of N synchronization sources of the first home base station, where the first home base station can monitor a signal transmitted by each of the N synchronization sources, where N is a positive integer;
[0009] Determining a target synchronization source from the N synchronization sources based on types of the N synchronization sources;
[0010] Perform time synchronization on the target synchronization source.
[0011] In a second aspect, an embodiment of the present application provides a communication device, including:
[0012] a type detection module, configured to detect types of N synchronization sources of the first home base station, wherein the first home base station can monitor a signal transmitted by each of the N synchronization sources, where N is a positive integer;
[0013] A determination module, configured to determine a target synchronization source from the N synchronization sources based on types of the N synchronization sources;
[0014] A synchronization module is used to perform time synchronization on the target synchronization source.
[0015] In a third aspect, an embodiment of the present application provides a communication device, including a transceiver and a processor.
[0016] The processor is configured to:
[0017] Detecting types of N synchronization sources of the first home base station, wherein the first home base station can monitor a signal transmitted by each of the N synchronization sources, where N is a positive integer;
[0018] Determining a target synchronization source from the N synchronization sources based on types of the N synchronization sources;
[0019] Perform time synchronization on the target synchronization source.
[0020] In a fourth aspect, an embodiment of the present application provides a communication device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the time synchronization method described in the first aspect above.
[0021] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the time synchronization method described in the first aspect are implemented; or when the computer program is executed by a processor, the steps of the time synchronization method described in the second aspect are implemented.
[0022] In this embodiment, the types of N synchronization sources of the first home base station can be detected. Since the N synchronization sources are synchronization sources whose transmitted signals can be monitored by the first home base station, that is, the first home base station can monitor the signals transmitted by the N synchronization sources, and different types of synchronization sources have different transmission powers, resulting in different signal transmission performances. Therefore, in this embodiment, the type of the synchronization source is also considered, that is, the signal transmission performance of the synchronization source is also considered. The types of the N synchronization sources are used to select a target synchronization source from the N synchronization sources as the synchronization source for time synchronization of the first home base station, which can improve the effect of the first home base station synchronizing with the target synchronization source. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0024] Figure 1 This is one of the flow charts of a time synchronization method provided in an embodiment of the present application;
[0025] Figure 2 This is the second flowchart of a time synchronization method provided in an embodiment of the present application;
[0026] Figure 3 It is a module schematic diagram of a communication device provided in an embodiment of the present application;
[0027] Figure 4 It is a structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] 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.
[0029] See also Figure 1 , Figure 1 is a flow chart of a time synchronization method provided in an embodiment of the present application, which is applied to a first home base station for execution, such as Figure 1 As shown, the time synchronization method provided in this embodiment includes the following steps:
[0030] Step 101: Detect types of N synchronization sources of a first home base station. The first home base station can monitor a signal transmitted by each of the N synchronization sources.
[0031] N is a positive integer. It can be understood that the N synchronization sources can be understood as synchronization sources whose transmitted signals can be monitored / received by the first home base station, that is, the first home base station can monitor / receive signals transmitted by N synchronization sources. In addition, any two of the N synchronization sources can monitor the signals transmitted by each other, that is, it can be understood that the N synchronization sources can be first determined according to the transmission source corresponding to the signal monitored by the first home base station. Exemplarily, the synchronization source can be a base station, that is, a synchronous base station. The types of synchronization sources can include macro station type, micro station type and home base station type. The first home base station can detect the type of each synchronization source among its N synchronization sources, that is, the type of the detected synchronization source can be a macro station type, a micro station type or a home base station type, and it can also be understood that the detectable synchronization source can be a macro station, a micro station or a home base station. In an example, different types of synchronization sources have different transmission powers. Generally, the transmission power of a macro station is greater than that of a micro station, and the transmission power of a micro station is greater than that of a home base station. The signals transmitted by different synchronization sources can carry their own transmission powers. The first home base station can receive signals transmitted by N synchronization sources, and determine the type corresponding to each of the N synchronization sources according to the transmission power parameters in the signals transmitted by the N synchronization sources.
[0032] In addition, in one example, time synchronization can be performed once at intervals of a preset duration, that is, cyclic time synchronization is required. In this way, detecting the types of the N synchronization sources of the first home base station may include: detecting the types of the N synchronization sources of the first home base station at intervals of a preset duration, that is, each time the types of the N synchronization sources of the first home base station are detected, a target synchronization source can be determined from the N synchronization sources based on the types of the detected N synchronization sources, and time synchronization is performed on the target synchronization source to achieve one time synchronization.
[0033] Step 102: Based on the types of the N synchronization sources, determine a target synchronization source from the N synchronization sources.
[0034] Step 103: Perform time synchronization with the target synchronization source.
[0035] The type of synchronization source is used to select a target synchronization source from N synchronization sources, and the first home base station performs time synchronization with the target synchronization source. It should be noted that in the related art, there are multiple specific methods for time synchronization, and the embodiment of the present application does not limit which synchronization method is used to perform time synchronization with the target synchronization source. In an example, the performance parameters of N synchronization sources can be used to select a synchronization source with the largest performance parameter from the N synchronization sources as the target synchronization source. The performance parameter can also be called a signal quality parameter or a signal performance parameter. The performance parameter of the synchronization source can characterize the communication performance of the synchronization source to the first home base station.
[0036] In this embodiment, the types of N synchronization sources of the first home base station can be detected. Since the N synchronization sources are synchronization sources whose transmitted signals can be monitored by the first home base station, that is, the first home base station can monitor the signals transmitted by the N synchronization sources, and different types of synchronization sources have different transmission powers, resulting in different signal transmission performances. Therefore, in this embodiment, the type of the synchronization source is also considered, that is, the signal transmission performance of the synchronization source is also considered. The types of the N synchronization sources are used to select a target synchronization source from the N synchronization sources as the synchronization source for time synchronization of the first home base station, which can improve the effect of the first home base station synchronizing with the target synchronization source.
[0037] In one embodiment, based on the types of the N synchronization sources, determining a target synchronization source from the N synchronization sources includes:
[0038] In the case that the N synchronization sources do not include the macro base station type and the micro base station type synchronization sources, a target synchronization source is determined from the N synchronization sources based on the priorities of the N synchronization sources.
[0039] If the synchronization source types may include macro station type, micro station type and home base station type, the N synchronization sources do not include synchronization sources of macro station type and micro station type. It can also be understood that the N synchronization sources only include synchronization sources of home base station type. In the case where the N synchronization sources do not include synchronization sources of macro station type and micro station type, the target synchronization source for providing time synchronization for the first home base station can be selected according to the priority of the N synchronization sources. It can be understood that the higher the priority, the higher the probability of being selected.
[0040] That is, in this embodiment, if the N synchronization sources do not include macro station type and micro station type synchronization sources, the target synchronization source can be selected from the N synchronization sources according to their priorities, thereby improving the rationality of the target synchronization source selection. The target synchronization source selected by priority is used to provide time synchronization for the first home base station, that is, the time synchronization takes into account the priority of each synchronization source, thereby improving the effect of time synchronization.
[0041] In one embodiment, when the N synchronization sources do not include the synchronization sources of the macro station type and the micro station type, the method further includes: configuring the priority of the first home base station as the second priority, that is, in this example, first determine whether the N synchronization sources do not include the synchronization sources of the macro station type and the micro station type, if not, not only can the target synchronization source be selected based on the priority, but also because the first home base station cannot be synchronized to the macro station or the micro station, the priority of the first home base station can be configured as the second priority. Exemplarily, the second priority can be a low priority.
[0042] In one embodiment, after configuring the priority of the first home base station as the second priority, the method further includes: sending a first target message, wherein the first target message includes the priority of the first home base station and the synchronization cluster where the first home base station is located.
[0043] In the case where the N synchronization sources include a synchronization source of the first priority, after time synchronization is performed on the target synchronization source, the first home base station may send a first target message so that the device receiving the first target message learns the priority of the first home base station and the synchronization cluster to which it belongs. Exemplarily, sending the first target message includes at least one of the following: broadcasting the first target message; sending the first target message through the Xn interface. That is, the first home base station may broadcast the priority of the first home base station and the synchronization cluster to which it belongs through air interface broadcasting. In addition, the base stations may communicate through the Xn interface, and the first home base station may also send the first target message through the Xn interface. In this way, the flexibility of the first home base station in sending the first target message may be improved.
[0044] In addition, it should be noted that, in the present embodiment, the initial synchronization cluster of any device (the first home base station, the synchronization source, etc.) is the identifier of the arbitrary device itself (which may be the cell ID of the device, i.e., the cell identifier, for example, if the device is a base station, it is the cell identifier of the base station), that is, before the arbitrary device performs the first time synchronization with another synchronization source (any device in the synchronization source of the arbitrary device) (the arbitrary device does not perform time synchronization with the other synchronization source), the synchronization cluster of the arbitrary device only includes the identifier of the arbitrary device itself, that is, the device itself is clustered, and the arbitrary device performs time synchronization with the other synchronization source, and the identifier of the arbitrary device can be added to the synchronization cluster where the other synchronization source is located, and the synchronization cluster where the other synchronization source is located is updated, that is, the synchronization cluster after the identifier of the arbitrary device is added to the synchronization cluster where the other synchronization source is located can be used as the synchronization cluster of the arbitrary device, and at this time, the synchronization cluster where the other synchronization source is located is also updated, that is, the identifier of the arbitrary device is added, wherein the arbitrary device is a child synchronization device of the other synchronization source, and the other synchronization source is the parent synchronization device of the arbitrary device. It should be noted that if the other synchronization source subsequently synchronizes time with a synchronization source other than the other synchronization source, the synchronization cluster where the other synchronization source is located can be updated.
[0045] Based on the priorities of the N synchronization sources, a target synchronization source is determined from the N synchronization sources, including:
[0046] In a case where the N synchronization sources include a synchronization source of the first priority and the number of the synchronization sources of the first priority is 1, determining the synchronization source of the first priority as the target synchronization source;
[0047] When the N synchronization sources include synchronization sources of the first priority and the number of synchronization sources of the first priority is greater than 1, the synchronization source with the largest performance parameter among the synchronization sources of the first priority is determined as the target synchronization source, and the performance parameter of the synchronization source is used to represent the communication performance from the synchronization source to the first home base station.
[0048] If there is only one synchronization source of the first priority among the N synchronization sources, then this synchronization source is selected as the target synchronization source. If there are more than one (at least two) synchronization sources of the first priority among the N synchronization sources, then the synchronization source with the best performance parameters is selected from at least two synchronization sources of the first priority as the target synchronization source. Exemplarily, the first priority is higher than the second priority, the first priority may be a high priority, and the second priority is a low priority. In an example, the performance parameters in the embodiment of the present application may include but are not limited to at least one of the signal-to-noise ratio and the received signal power.
[0049] That is, in this embodiment, a first-priority synchronization source included in the N synchronization sources can be directly used as the target synchronization source; or, when the number of first-priority synchronization sources among the N synchronization sources is greater than 1, the performance parameters of the first-priority synchronization sources can be considered. The larger the performance parameter, the better the communication performance to the first home base station. The synchronization source with the largest performance parameter among the first-priority synchronization sources is determined as the target synchronization source, thereby ensuring the communication performance between the first home base station and the target synchronization source, thereby improving the effect of time synchronization of the first home base station to the target synchronization source.
[0050] In an embodiment, the N synchronization sources include a synchronization source of the first priority, and after time synchronization is performed on the target synchronization source, the method further includes: configuring the priority of the first home base station to the first priority.
[0051] In the case that the N synchronization sources do not include macro station type and micro station type synchronization sources, it is necessary to determine whether the N synchronization sources include a synchronization source of the first priority. In the case that the N synchronization sources include a synchronization source of the first priority, a target synchronization source is selected from the synchronization sources of the first priority. The priority of the selected target synchronization source is the first priority. After the first home base station performs time synchronization with the target synchronization source, the priority of the first home base station can be configured as the first priority to ensure the consistency of the priority of the first home base station and the target synchronization source synchronized with it.
[0052] In one embodiment, determining a target synchronization source from the N synchronization sources based on the priorities of the N synchronization sources includes:
[0053] In the case where the N synchronization sources do not include a synchronization source of the first priority, a target synchronization cluster with the largest number of synchronization device identifiers is determined from the synchronization clusters where the N synchronization sources are located; wherein each synchronization cluster where the N synchronization sources are located includes the identifier of at least one synchronization device, and at least one synchronization device of the synchronization cluster includes a root synchronization device and M sub-synchronization devices, where M is an integer, and any device among the M sub-synchronization devices performs time synchronization with the root synchronization device, or performs time synchronization with other devices in the synchronization cluster, and the other device is a device among the remaining devices among the M sub-synchronization devices except any synchronization device and the root synchronization device, and the identifier of at least one synchronization device in the synchronization cluster where the synchronization source is located includes the identifier of the synchronization source;
[0054] A target synchronization source is determined from the target synchronization cluster, where the target synchronization source is a synchronization device with the largest performance parameter in the target synchronization cluster, and the performance parameter of the synchronization device is used to represent the performance of the synchronization device to the first home base station.
[0055] It should be noted that one synchronization cluster corresponds to one root synchronization device. For example, the synchronization cluster of device B is its own identification. After device A performs time synchronization with device B, the device identification of device A can be added to the synchronization cluster of device B to update the synchronization cluster of device B, which can be used as the synchronization cluster of device A (including the device identifications of device A and device B. At this time, devices A and B are in the same synchronization cluster). The root synchronization device in the synchronization cluster is device B, and the child synchronization device is device A. It should be noted that after obtaining the synchronization cluster of device A, if device B has not yet performed time synchronization with a device other than device B, and subsequently device B has performed synchronization with a device other than device B, for example, device B performs time synchronization with device C, and adds the device identification of device B to the synchronization cluster of device C (for example, the device identification of device C itself) as the synchronization cluster of device B, that is, at this time, the synchronization cluster of device B is updated again. At this time, the synchronization cluster where device B is located can include the device identification of device B and the device identification of device C. Afterwards, device C performs time synchronization with device A, adds the device identification of device C to the synchronization cluster of device A (device identification of device A and device B), updates the synchronization cluster of device A, and uses it as the synchronization cluster where device C is located, including the device identifications of device A, device B, and device C. At this time, the root synchronization device in the synchronization cluster of device C is device B, and the sub-synchronization devices include device B and device C. Afterwards, device D performs time synchronization with device B, adds the device identification of device D to the synchronization cluster of device C, updates the synchronization cluster of device C, and uses it as the synchronization cluster of device D. Exemplarily, in the embodiment of the present application, for each of the multiple home base stations (including the first home base station), time synchronization may be performed once at intervals of a preset time length, so that the multiple home base stations may eventually belong to the same synchronization cluster, and each time synchronization process is similar to the time synchronization process of the first home base station described above, except that the subject of the time synchronization method is different.
[0056] In the case that the N synchronization sources do not include the synchronization source of the first priority, the first home base station can select the target synchronization cluster with the largest number of synchronization device identifiers from the synchronization clusters where the N synchronization sources are respectively located. When multiple home base stations are synchronized, the overall synchronization speed of the multiple home base stations can be accelerated, and the target synchronization source with the best performance parameters can be selected from the target synchronization cluster to ensure the effect of time synchronization of the first home base station to the target synchronization source.
[0057] In one embodiment, after performing time synchronization on the target synchronization source, the method further includes:
[0058] The identifier of the first home base station is added to the synchronization cluster where the target synchronization source is located, so as to update the synchronization cluster where the target synchronization source is located. The first home base station is a synchronization device in the synchronization cluster where the updated target synchronization source is located.
[0059] It should be noted that after time synchronization is performed on the target synchronization source, the device identifier of the first home base station can be added to the synchronization cluster where the target synchronization source is located, and the synchronization cluster where the target synchronization source is located is updated. The synchronization cluster where the updated target synchronization source is located can be used as the synchronization cluster of the first home device. At this time, the synchronization devices in the synchronization cluster where the first home base station is located include the first home base station and the synchronization devices in the synchronization cluster where the target synchronization source is located. That is, in this embodiment, the synchronization cluster where the target synchronization source is located after adding the device identifier of the first home base station can be used as the synchronization cluster where the first home base station is located, and the synchronization cluster where the target synchronization source is located is updated at the same time.
[0060] In one embodiment, after adding the identifier of the first home base station to the synchronization cluster where the target synchronization source is located to update the synchronization cluster where the target synchronization source is located, the method further includes:
[0061] A second target message is sent, where the second target message includes the priority of the first home base station and the synchronization cluster where the first home base station is located.
[0062] By sending the second target message, the priority of the first home base station and the synchronization cluster where the first home base station is located can be notified to other devices, so that the device receiving the second target message can timely know the current priority of the first home base station and the latest synchronization cluster where the first home base station is currently located. Exemplarily, sending the second target message includes at least one of the following: broadcasting the second target message; sending the second target message through the Xn interface.
[0063] In one embodiment, based on the types of the N synchronization sources, determining a target synchronization source from the N synchronization sources includes:
[0064] In a case where the N synchronization sources include a synchronization source of a target type, a target synchronization source is determined from the synchronization sources of the target type, wherein the target type includes a macro station type or a micro station type.
[0065] That is, in the case where the N synchronization sources include macro station type or micro station type synchronization sources, the target synchronization source can be determined from the macro station type or micro station type synchronization sources. For example, if the N synchronization sources include a macro station type synchronization source, the target synchronization source can be selected from the macro station type synchronization sources; if the N synchronization sources include a micro station type synchronization source, the target synchronization source can be selected from the micro station type synchronization sources; if the N synchronization sources include both macro station type and micro station type synchronization sources, the target synchronization source can be selected from the macro station type and micro station type synchronization sources.
[0066] Since macro stations and micro stations have stronger transmission power and better communication performance than home base stations, in this embodiment, when the N synchronization sources include macro station type or micro station type synchronization sources, a target synchronization source can be selected from the macro station type and / or micro station type synchronization sources, and time synchronization is performed on the target synchronization source. In this way, communication performance during the time synchronization process can be improved, thereby improving the time synchronization effect.
[0067] In one embodiment, determining a target synchronization source from synchronization sources of a target type includes:
[0068] When the number of synchronization sources of the target type is 1, the synchronization source of the target type is determined as the target synchronization source
[0069] When the number of synchronization sources of the target type is greater than 1, the synchronization source with the largest performance parameter among the synchronization sources of the target type is determined as the target synchronization source, and the performance parameter of the synchronization source is used to represent the communication performance from the synchronization source to the first home base station.
[0070] If there is only one macro station or micro station among N synchronization sources, this macro station or micro station is selected as the target synchronization source. If there are more than one macro station or micro station among N synchronization sources (at least two), the one with the best performance parameters is selected from the at least two macro stations or micro stations as the target synchronization source.
[0071] That is, in this embodiment, a macro station or micro station included in the N synchronization sources can be directly used as the target synchronization source. Alternatively, when the number of macro stations or micro stations in the N synchronization sources is greater than 1, the performance parameters of the macro station or micro station can be considered. The larger the performance parameter, the better the communication performance to the first home base station. The macro station or micro station with the largest performance parameter is used as the target synchronization source to ensure the communication performance between the first home base station and the target synchronization source, thereby improving the effect of time synchronization of the first home base station to the target synchronization source.
[0072] In an embodiment, when the N synchronization sources include a synchronization source of the target type, the method further comprises: configuring the priority of the first home base station to be the first priority.
[0073] In the case where the N synchronization sources do not include synchronization sources of the macro station type and the micro station type, the priority of the first home base station is configured as the second priority. Subsequently, it can be further determined whether the N synchronization sources include synchronization sources of the first priority. In the case where the N synchronization sources include synchronization sources of the first priority, a target synchronization source is selected from the synchronization sources of the first priority, and after time synchronization is performed on the target synchronization source, the priority of the first home base station is updated to the first priority. In the case where the N synchronization sources include synchronization sources of the macro station type or the micro station type, the priority of the first home base station can be configured as the first priority. In this way, in the case where the N synchronization sources are of different types, different priority configuration strategies can be used to configure the priority of the first home base station, which can improve the flexibility of priority configuration.
[0074] In one embodiment, after configuring the priority of the first home base station to be the first priority, the method further includes:
[0075] A third target message is sent, where the third target message includes the priority of the first home base station and the synchronization cluster where the first home base station is located.
[0076] That is, in the case where the N synchronization sources include a synchronization source of the target type, after the priority of the first home base station is configured as the first priority, a third target message may be sent, so that a device receiving the third target message learns the current priority of the first home base station and the synchronization cluster in which the first home base station is currently located. Exemplarily, sending the third target message includes at least one of the following: broadcasting the third target message; sending the third target message through an Xn interface.
[0077] The above process is described in detail below with reference to a specific embodiment.
[0078] For TDD mode, all base stations in the network need to maintain strict clock synchronization to avoid cross-slot interference. At present, in related technologies, base stations prefer to use satellite synchronization solutions. One technical solution is to embed a satellite receiver in the BBU, receive positioning signals from positioning satellites (GPS, Beidou, etc.), obtain clock synchronization, and send synchronization signals to DU and UE. For indoor base stations, the satellite signal is weak, which easily leads to poor time synchronization. The satellite synchronization solution is not completely applicable. On the other hand, the satellite receiver also increases the hardware cost of the base station to a certain extent.
[0079] Another related synchronization scheme is to synchronize through air interface synchronization, and realize synchronization between base stations and base stations by using Sniffer to monitor nearby synchronization sources. However, in actual applications, multiple synchronization sources may be detected. According to the composition of multiple synchronization sources, there are three typical situations: one is that there are macro base stations or micro base stations among multiple synchronization sources; the second is that all multiple synchronization sources are home base stations, some of which have completed public network synchronization; the third is that all multiple synchronization sources are home base stations, and none of them are synchronized with the public network. In view of the above complex situations, it is urgent to establish a synchronization mechanism.
[0080] At present, in the related technologies, there is a lack of a good synchronization mechanism in the home base station synchronization technology. This application proposes a home base station synchronization method, summarizes two typical scenarios, establishes a synchronization mechanism, avoids cross-slot interference caused by asynchrony between base stations, and solves the problem of disorder and time-consuming synchronization process.
[0081] Scenario 1: For several adjacent home base stations (which can monitor each other's signals), at least one of them can monitor the public network. A synchronization mechanism with "synchronization priority" as the core is proposed to solve the synchronization problem between adjacent home base stations and between home base stations and macro and micro base stations, so that all home base stations can be synchronized with the public network;
[0082] Scenario 2: For several adjacent home base stations, none of them can monitor the public network, which is equivalent to an "isolated island". A synchronization mechanism with "synchronization cluster" as the core is proposed, so that the home base stations within the "isolated island" can quickly reach a stable and unified synchronization state.
[0083] like Figure 2 As shown, the specific process of the time synchronization method in the embodiment of the present application is as follows:
[0084] The first home base station is turned on. It should be noted that the first home base station may be any home base station among the multiple home base stations.
[0085] Detecting types of N synchronization sources of the first home base station;
[0086] Determine whether the N synchronization sources include a macro base station or a micro base station;
[0087] In the case that only the home base station is included in the N synchronization sources, the priority of the first home base station may be configured as a low priority, and then the current latest priority of the first home base station (here, the low priority) and the current latest synchronization cluster of the first home base station may be sent out through the air interface or the Xn interface;
[0088] And enter the priority synchronization mode, that is, detect whether the N synchronization sources include a high priority synchronization source;
[0089] If the N synchronization sources include a high priority synchronization source, further determine whether there is only one high priority synchronization source;
[0090] If there is only one high-priority synchronization source, this high-priority synchronization source is used as the target synchronization source, the first home base station performs time synchronization with the only high-priority synchronization source, sets its own priority to the high priority, inherits the synchronization cluster where the target synchronization source is located (including the cell identifier of at least one synchronization device), establishes the synchronization cluster of the first home base station based on the cell identifier of the first home base station and the synchronization cluster where the target synchronization source is located, and sends the current latest priority of the first home base station (here is the high priority) and the current latest synchronization cluster where it is located (this time including the cell identifier of the first home base station and the cell identifier in the synchronization cluster where the inherited target synchronization source is located) through the air interface or Xn interface, and subsequently periodically detects the type of the synchronization source of the first home base station in a cyclic manner;
[0091] If there is more than one high-priority synchronization source, the signal quality synchronization mode is entered, and a high-priority synchronization source with the largest received signal power or signal-to-noise ratio can be selected as the target synchronization source. The first home base station performs time synchronization with the high-priority synchronization source with the best signal quality, and sets its own priority to the high priority, inherits the synchronization cluster where the target synchronization source is located, and establishes the synchronization cluster of the first home base station based on the cell identifier of the first home base station and the synchronization cluster where the target synchronization source is located, and sends the current latest priority of the first home base station (here is the high priority) and its current latest synchronization cluster (this time including the cell identifier of the first home base station and the cell identifier in the synchronization cluster where the inherited target synchronization source is located) through the air interface or Xn interface, and subsequently periodically detects the type of the synchronization source of the first home base station in a cyclic manner;
[0092] If the N synchronization sources do not include a high priority synchronization source, searching for a target synchronization cluster with the largest number of synchronization device identifiers (eg, cell identifiers) according to the synchronization clusters where the N synchronization sources are located;
[0093] It can be further determined whether the target synchronization cluster with the largest number is unique;
[0094] In the case where the target synchronization cluster is unique, a synchronization device with the largest received signal power or signal-to-noise ratio is selected as the target synchronization source in the unique target synchronization cluster, that is, a synchronization device with the best signal quality in the unique target synchronization cluster is selected as the target synchronization source, and synchronization is performed to the target synchronization source, that is, synchronization is completed to the target synchronization cluster, the priority of the first home device itself is still low priority, and the synchronization cluster where the target synchronization source is located is inherited, and the synchronization cluster of the first home base station is established based on the cell identifier of the first home base station and the synchronization cluster where the target synchronization source is located, and the current latest priority of the first home base station (here is low priority) and the current latest synchronization cluster where it is located (including the cell identifier of the first home base station and the cell identifier in the synchronization cluster where the inherited target synchronization source is located) are sent out through the air interface or Xn interface, and the type of the synchronization source of the first home base station is subsequently periodically detected in a cyclic manner;
[0095] When the target synchronization cluster is not unique, that is, there are at least two, enter the quality signal synchronization mode, that is, select the synchronization device with the largest received signal power or signal-to-noise ratio as the target synchronization source among all the synchronization devices of at least two target synchronization clusters, that is, select the synchronization device with the best signal quality among all the synchronization devices of multiple target synchronization clusters as the target synchronization source, that is, complete synchronization with the target synchronization cluster corresponding to the synchronization device with the best signal quality, the priority of the first home device itself is still low priority, inherit the synchronization cluster where the target synchronization source is located, and establish the synchronization cluster of the first home base station based on the cell identifier of the first home base station and the synchronization cluster where the target synchronization source is located, and send the current latest priority of the first home base station (here is low priority) and its current latest synchronization cluster (including the cell identifier of the first home base station and the cell identifier in the synchronization cluster where the inherited target synchronization source is located) through the air interface or Xn interface, and then periodically detect the type of the synchronization source of the first home base station in a cyclic manner;
[0096] In the case where the N synchronization sources include a macro station or a micro station, the first home base station selects a target synchronization source from the macro station or the micro station in the N synchronization sources, and the first home base station performs time synchronization with the target synchronization source. It can be understood that the first home base station synchronizes with the public network time. After the time synchronization, the first home base station can set its own priority to a high priority, and join the synchronization cluster where the target synchronization source is located, and send the current latest priority (here is the high priority) of the first home base station and the current latest synchronization cluster where the first home base station is located through the air interface or the Xn interface, and then periodically cycle to detect the type of the synchronization source of the first home base station;
[0097] For periodic cycle detection of synchronization source type, after the home base station completes time synchronization through the above steps, its sniffer monitoring function is always on, and the type of its synchronization source is detected according to a certain period, and the priority of its synchronization source can also be obtained to avoid synchronization errors caused by loss or change of synchronization source. When a change in synchronization source is detected, the above steps are repeated to update the synchronization status.
[0098] For example, the multiple home base stations include home base stations A, B, C, and D. The target synchronization source selected by home base station A is home base station B. Home base station A synchronizes with home base station B. At this time, the synchronization cluster of home base station B only includes the cell identifier of home device B itself. The cell identifier of home base station A can be added to the synchronization cluster of home base station B to obtain the synchronization cluster of home base station A, which includes the cell identifiers of home base station A and home base station B. Similarly, the target synchronization source selected by home base station C is home base station D. Home base station C synchronizes with home base station D. At this time, the synchronization cluster of home base station D only includes the cell identifier of home device D itself. The cell identifier of home base station C can be added to the synchronization cluster of home base station D to obtain the synchronization cluster of home base station C, which includes the cell identifiers of home base station C and home base station D. The target synchronization source selected by home base station D is home base station C, that is, the obtained synchronization cluster of home base station D is consistent with the synchronization cluster of home base station C, and both include the cell identifiers of home base station C and home base station C. Subsequently, when home base station B selects a target synchronization source, the selected target synchronization source is home base station C. Then home base station B performs time synchronization with home base station C, and the cell identifier of home base station B is added to the synchronization cluster of home base station C. The synchronization cluster of home base station C is updated. The updated synchronization cluster of home base station C includes the cell identifiers of home base station B, home base station C and home base station D. At this time, the synchronization cluster of home base station B is the updated synchronization cluster of home base station C, that is, home base station B is updated from the synchronization cluster of the above-mentioned home base station A to the synchronization cluster of home base station C. At this time, the above four home base stations have each completed a time synchronization, and each has a preset time interval before performing the next time synchronization, that is, periodically detecting the type of synchronization source of the home base station. For example, for home base station A, in the next time synchronization process, the type of its synchronization source is re-detected, and the selected target synchronization source is still home base station B. At this time, home base station B is already in the same synchronization cluster with home base station C and home base station D. In this way, home base station A synchronizes with home base station B, that is, completes synchronization with its synchronization cluster, and the cell identifier of home base station A is added to the latest synchronization cluster of the current home base station B. In addition, the target synchronization source selected for the next time synchronization of home base stations B, C and D is the same as the target synchronization source selected in the above time synchronization process. Home base stations B, C and D are still in the same synchronization cluster. In this way, home base station A is synchronized to the synchronization cluster formed by home base stations B, C and D, and home base stations A, B, C and D are in the same synchronization cluster.
[0099] In addition, it should be noted that in the method of broadcasting messages through the air interface, SIB messages can be broadcasted, and the broadcasting can be repeated according to a certain time period. The above-mentioned first target message can be a first SIB message, the second target message can be a second SIB message, and the third target message can be a third SIB message. A reserved bit can be selected from the SIB message to carry the priority, that is, the priority is indicated by a reserved bit. It is also possible to use some reserved bits in the SIB message broadcast by the home base station to broadcast the cell IDs of all synchronous base stations in the synchronous cluster where the home base station is located, and the cell ID of each device is different.
[0100] Through the above time synchronization method, the home base station in any scenario can achieve a stable synchronization state and solve the problem of cross-slot interference. For home base stations that are surrounded by macro / micro base stations or can establish indirect connections with macro / micro base stations through other home base stations, this solution can enable them to synchronize with the public network time; and for one or more "island-type" home base stations, this solution will enable them to form a synchronization cluster composed entirely of low-synchronization priority home base stations, which will operate in a stable and unified synchronization state to reduce cross-slot interference.
[0101] In summary, for scenario 1: for several adjacent home base stations, there is at least one home base station that can monitor the public network. The embodiment of the present application proposes a synchronization mechanism with "synchronization priority" as the core, marking the synchronization status of the home base station with "priority", and the home base station that has completed synchronization with the public network has a high priority, and the home base station that has not been synchronized has a low priority, and the low priority is synchronized to the high priority.
[0102] For scenario 2: For several adjacent home base stations, any of which cannot monitor the public network, it is equivalent to an "isolated island". The embodiment of the present application proposes a synchronization mechanism with a "synchronization cluster" as the core. All home base stations in the "isolated island" are of low priority, and a certain feature C of the synchronization cluster (such as the number of synchronization device identifiers contained in the synchronization cluster) is used as the basis for selecting the synchronization source, so that the home base stations in the "isolated island" can quickly reach a stable and unified synchronization state.
[0103] The embodiment of the present application proposes a priority and information interaction method, and provides two solutions: air interface broadcast and Xn interface interaction. The interaction information may include the device's own priority and the cell ID it carries. The cell ID includes its own and that inherited from the synchronization source. This is used as the priority synchronization mode, and a synchronization cluster is established to form a synchronization cluster synchronization mode.
[0104] The embodiment of the present application proposes a signal quality synchronization mode, which uses the received signal power or signal-to-noise ratio as the basis for selecting the synchronization source. In the case where multiple synchronization sources of the same priority are detected, when multiple synchronization sources are all high priority, select a synchronization source with the best signal quality for synchronization; when multiple synchronization sources are all low priority, detect the synchronization cluster with the largest number of synchronization devices. If there is only one such synchronization cluster, synchronize directly to it; if there are multiple such synchronization clusters, select a synchronization cluster with the best signal quality for synchronization.
[0105] like Figure 3 As shown, Figure 3 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application, such as Figure 3 As shown, the communication device 300 may be a first home base station, and the communication device 300 includes:
[0106] The type detection module 301 is used to detect the types of N synchronization sources of the first home base station. The first home base station can monitor the signal transmitted by each of the N synchronization sources, where N is a positive integer.
[0107] A determination module 302, configured to determine a target synchronization source from the N synchronization sources based on the types of the N synchronization sources;
[0108] The synchronization module 303 is used to perform time synchronization with the target synchronization source.
[0109] In one embodiment, the determination module 302 includes:
[0110] The first determination module is used to determine a target synchronization source from N synchronization sources based on the priorities of the N synchronization sources when the N synchronization sources do not include macro base station type and micro base station type synchronization sources.
[0111] In one embodiment, the first determining module includes:
[0112] a first determining unit, configured to determine the synchronization source of the first priority as a target synchronization source when the N synchronization sources include a synchronization source of the first priority and the number of the synchronization sources of the first priority is 1;
[0113] The second determination unit is used to determine the synchronization source with the largest performance parameter among the synchronization sources of the first priority as the target synchronization source when the N synchronization sources include a synchronization source of the first priority and the number of synchronization sources of the first priority is greater than 1, and the performance parameter of the synchronization source is used to represent the communication performance from the synchronization source to the first home base station.
[0114] In one embodiment, the N synchronization sources include a synchronization source of a first priority, and the communication device 300 further includes:
[0115] The first configuration module is used to configure the priority of the first home base station to the first priority after the synchronization module 303 performs time synchronization with the target synchronization source.
[0116] In one embodiment, the first determining module includes:
[0117] a third determination unit, configured to determine, when the N synchronization sources do not include a synchronization source of the first priority, a target synchronization cluster with the largest number of synchronization device identifiers from the synchronization clusters where the N synchronization sources are located; wherein each synchronization cluster where the N synchronization sources are located includes an identifier of at least one synchronization device, and at least one synchronization device of the synchronization cluster includes a root synchronization device and M sub-synchronization devices, where M is an integer, and any device among the M sub-synchronization devices performs time synchronization with the root synchronization device, or performs time synchronization with other devices in the synchronization cluster, and the other device is a device among the remaining devices among the M sub-synchronization devices except any synchronization device and the root synchronization device, and the identifier of at least one synchronization device in the synchronization cluster where the synchronization source is located includes the identifier of the synchronization source;
[0118] The fourth determining unit is used to determine a target synchronization source from the target synchronization cluster, where the target synchronization source is a synchronization device with the largest performance parameter in the target synchronization cluster, and the performance parameter of the synchronization device is used to represent the communication performance from the synchronization device to the first home base station.
[0119] In one embodiment, when the N synchronization sources do not include a macro station type and a micro station type synchronization source, the communication device further includes:
[0120] The second configuration module is configured to configure the priority of the first home base station to be a second priority.
[0121] In one embodiment, the communication device 300 further includes:
[0122] The first sending module is used to send a first target message after the second configuration module configures the priority of the first home base station to the second priority, wherein the first target message includes the priority of the first home base station and the synchronization cluster where the first home base station is located.
[0123] In one embodiment, sending a first target message includes at least one of the following:
[0124] broadcasting a first target message;
[0125] The first target message is sent through the Xn interface.
[0126] In one embodiment, the communication device 300 further includes:
[0127] The adding module is used for adding the identifier of the first home base station to the synchronization cluster where the target synchronization source is located after the synchronization module performs time synchronization with the target synchronization source, so as to update the synchronization cluster where the target synchronization source is located. The first home base station is a synchronization device in the synchronization cluster where the updated target synchronization source is located.
[0128] In one embodiment, the communication device 300 further includes:
[0129] The second sending module is used to add the identifier of the first home base station to the synchronization cluster where the target synchronization source is located, and then send a second target message after the adding module adds the identifier of the first home base station to the synchronization cluster where the target synchronization source is located, and the second target message includes the priority of the first home base station and the synchronization cluster where the first home base station is located.
[0130] In one embodiment, the determination module 302 includes:
[0131] The second determination module is used to determine a target synchronization source from the synchronization sources of the target type when the N synchronization sources include a synchronization source of the target type, wherein the target type includes a macro station type or a micro station type.
[0132] In one embodiment, the second determining module includes:
[0133] a fifth determining unit, configured to determine the synchronization source of the target type as the target synchronization source when the number of synchronization sources of the target type is 1;
[0134] The sixth determination unit is used to determine the synchronization source with the largest performance parameter among the synchronization sources of the target type as the target synchronization source when the number of the synchronization sources of the target type is greater than 1, and the performance parameter of the synchronization source is used to represent the communication performance from the synchronization source to the first home base station.
[0135] In one embodiment, when the N synchronization sources include a synchronization source of the target type, the communication device further includes:
[0136] The third configuration module is configured to configure the priority of the first home base station to be the first priority.
[0137] In one embodiment, the communication device 300 further includes:
[0138] The third sending module is used to send a third target message after the third configuration module configures the priority of the first home base station to the first priority, where the third target message includes the priority of the first home base station and the synchronization cluster where the first home base station is located.
[0139] The communication device provided in this embodiment can implement each process of each embodiment of the above-mentioned time synchronization method, the technical features correspond one to one, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0140] An embodiment of the present application also provides a communication device, including: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, each process of the above-mentioned time synchronization method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0141] For details, see Figure 4 The embodiment of the present application further provides a communication device, which may be a first home base station. The communication device may include a bus 401, a transceiver 402, an antenna 403, a bus interface 404, a processor 405 and a memory 406.
[0142] The processor 405 is used for:
[0143] Detecting types of N synchronization sources of the first home base station, where the first home base station can monitor a signal transmitted by each of the N synchronization sources, where N is a positive integer;
[0144] Based on the types of the N synchronization sources, determining a target synchronization source from the N synchronization sources;
[0145] Synchronize time with the target synchronization source.
[0146] In one embodiment, the processor 405 is specifically configured to:
[0147] In the case that the N synchronization sources do not include the macro base station type and the micro base station type synchronization sources, a target synchronization source is determined from the N synchronization sources based on the priorities of the N synchronization sources.
[0148] In one embodiment, the processor 405 is specifically configured to:
[0149] In a case where the N synchronization sources include a synchronization source of the first priority and the number of the synchronization sources of the first priority is 1, determining the synchronization source of the first priority as the target synchronization source;
[0150] When the N synchronization sources include synchronization sources of the first priority and the number of synchronization sources of the first priority is greater than 1, the synchronization source with the largest performance parameter among the synchronization sources of the first priority is determined as the target synchronization source, and the performance parameter of the synchronization source is used to represent the communication performance from the synchronization source to the first home base station.
[0151] In one embodiment, the N synchronization sources include a synchronization source of the first priority, and the processor 405 is further configured to configure the priority of the first home base station to the first priority after performing time synchronization on the target synchronization source.
[0152] In one embodiment, the processor 405 is specifically configured to:
[0153] In the case where the N synchronization sources do not include a synchronization source of the first priority, a target synchronization cluster with the largest number of synchronization device identifiers is determined from the synchronization clusters where the N synchronization sources are located; wherein each synchronization cluster where the N synchronization sources are located includes the identifier of at least one synchronization device, and at least one synchronization device of the synchronization cluster includes a root synchronization device and M sub-synchronization devices, where M is an integer, and any device among the M sub-synchronization devices performs time synchronization with the root synchronization device, or performs time synchronization with other devices in the synchronization cluster, and the other device is a device among the remaining devices among the M sub-synchronization devices except any synchronization device and the root synchronization device, and the identifier of at least one synchronization device in the synchronization cluster where the synchronization source is located includes the identifier of the synchronization source;
[0154] A target synchronization source is determined from the target synchronization cluster, where the target synchronization source is a synchronization device with the largest performance parameter in the target synchronization cluster, and the performance parameter of the synchronization device is used to represent the communication performance from the synchronization device to the first home base station.
[0155] In one embodiment, when the N synchronization sources do not include a macro station type and a micro station type synchronization source, the processor 405 is further configured to:
[0156] The priority of the first home base station is configured as the second priority.
[0157] In one embodiment, the transceiver 402 is configured to send a first target message after the processor 405 configures the priority of the first home base station to the second priority, where the first target message includes the priority of the first home base station and the synchronization cluster where the first home base station belongs.
[0158] In one embodiment, sending a first target message includes at least one of the following:
[0159] broadcasting a first target message;
[0160] The first target message is sent through the Xn interface.
[0161] In one embodiment, the processor 405 is further configured to:
[0162] After time synchronization is performed on the target synchronization source, the identifier of the first home base station is added to the synchronization cluster where the target synchronization source is located to update the synchronization cluster where the target synchronization source is located. The first home base station is a synchronization device in the synchronization cluster where the updated target synchronization source is located.
[0163] In one embodiment, the transceiver 402 is also used for the processor 405 to add the identifier of the first home base station to the synchronization cluster where the target synchronization source is located, so as to update the synchronization cluster where the target synchronization source is located, and then send a second target message, wherein the second target message includes the priority of the first home base station and the synchronization cluster where the first home base station is located.
[0164] In one embodiment, the processor 405 is specifically configured to:
[0165] In a case where the N synchronization sources include a synchronization source of a target type, a target synchronization source is determined from the synchronization sources of the target type, wherein the target type includes a macro station type or a micro station type.
[0166] In one embodiment, the processor 405 is specifically configured to:
[0167] When the number of synchronization sources of the target type is 1, the synchronization source of the target type is determined as the target synchronization source
[0168] When the number of synchronization sources of the target type is greater than 1, the synchronization source with the largest performance parameter among the synchronization sources of the target type is determined as the target synchronization source, and the performance parameter of the synchronization source is used to represent the communication performance from the synchronization source to the first home base station.
[0169] In one embodiment, when the N synchronization sources include a synchronization source of the target type, the processor 405 is further configured to:
[0170] The priority of the first home base station is configured as the first priority.
[0171] In one embodiment, the transceiver 402 is further configured to:
[0172] After the processor 405 configures the priority of the first home base station as the first priority, a third target message is sent, where the third target message includes the priority of the first home base station and the synchronization cluster to which the first home base station belongs.
[0173] exist Figure 4In the embodiment, a bus architecture (represented by bus 401) is shown, bus 401 may include any number of interconnected buses and bridges, bus 401 links various circuits including one or more processors represented by processor 405 and memory represented by memory 406. Bus 401 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 404 provides an interface between bus 401 and transceiver 402. Transceiver 402 may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. Data processed by processor 405 is transmitted on a wireless medium via antenna 403, and further, antenna 403 also receives data and transmits the data to processor 405.
[0174] Processor 405 is responsible for managing bus 401 and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory 406 may be used to store data used by processor 405 when performing operations.
[0175] Optionally, the processor 405 may be a CPU, an ASIC, an FPGA or a CPLD.
[0176] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned time synchronization method embodiment applied to the first communication device is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0177] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0178] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0179] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A time synchronization method, characterized in that: Applied to a first home base station, the method includes: Detecting types of N synchronization sources of the first home base station, where the first home base station can monitor a signal transmitted by each of the N synchronization sources, where N is a positive integer; Determining a target synchronization source from the N synchronization sources based on types of the N synchronization sources; Perform time synchronization on the target synchronization source.
2. The time synchronization method according to claim 1, characterized in that: The determining a target synchronization source from the N synchronization sources based on the types of the N synchronization sources includes: In a case where the N synchronization sources do not include a macro base station type and a micro base station type synchronization source, the target synchronization source is determined from the N synchronization sources based on the priorities of the N synchronization sources.
3. The time synchronization method according to claim 2, characterized in that: The determining the target synchronization source from the N synchronization sources based on the priorities of the N synchronization sources includes: In a case where the N synchronization sources include a synchronization source of a first priority and the number of the synchronization sources of the first priority is 1, determining the synchronization source of the first priority as the target synchronization source; When the N synchronization sources include synchronization sources of the first priority level, and the number of synchronization sources of the first priority level is greater than 1, the synchronization source with the largest performance parameter among the synchronization sources of the first priority level is determined as the target synchronization source, and the performance parameter of the synchronization source is used to represent the communication performance from the synchronization source to the first home base station.
4. The time synchronization method according to claim 3, characterized in that: The N synchronization sources include a synchronization source of the first priority, and after performing time synchronization on the target synchronization source, the method further includes: The priority of the first home base station is configured as the first priority.
5. The time synchronization method according to claim 2, characterized in that: The determining the target synchronization source from the N synchronization sources based on the priorities of the N synchronization sources includes: In the case that the N synchronization sources do not include a synchronization source of the first priority, a target synchronization cluster with the largest number of synchronization device identifiers is determined from the synchronization clusters where the N synchronization sources are located; wherein each synchronization cluster where the N synchronization sources are located includes the identifier of at least one synchronization device, and at least one synchronization device of the synchronization cluster includes a root synchronization device and M sub-synchronization devices, where M is an integer, and any one of the M sub-synchronization devices performs time synchronization with the root synchronization device, or performs time synchronization with other devices in the synchronization cluster, and the other device is a device among the remaining devices of the M sub-synchronization devices except any one of the synchronization devices and the root synchronization device, and the identifier of at least one synchronization device in the synchronization cluster where the synchronization source is located includes the identifier of the synchronization source; The target synchronization source is determined from the target synchronization cluster, the target synchronization source is a synchronization device with the largest performance parameter in the target synchronization cluster, and the performance parameter of the synchronization device is used to represent the communication performance from the synchronization device to the first home base station.
6. The time synchronization method according to claim 2, characterized in that: In the case where the N synchronization sources do not include a macro station type and a micro station type synchronization source, the method further includes: The priority of the first home base station is configured as the second priority.
7. The time synchronization method according to claim 6, characterized in that: After configuring the priority of the first home base station as the second priority, the method further includes: A first target message is sent, where the first target message includes the priority of the first Home NodeB and the synchronization cluster where the first Home NodeB is located.
8. The time synchronization method according to claim 7, characterized in that: The sending of the first target message includes at least one of the following: broadcasting the first target message; The first target message is sent through the Xn interface.
9. The time synchronization method according to any one of claims 1 to 8, characterized in that: After performing time synchronization on the target synchronization source, the method further includes: The identifier of the first home base station is added to the synchronization cluster where the target synchronization source is located, so as to update the synchronization cluster where the target synchronization source is located, and the first home base station is a synchronization device in the updated synchronization cluster where the target synchronization source is located.
10. The time synchronization method according to claim 9, characterized in that: After adding the identifier of the first home base station to the synchronization cluster where the target synchronization source is located to update the synchronization cluster where the target synchronization source is located, the method further includes: A second target message is sent, where the second target message includes the priority of the first Home NodeB and the synchronization cluster where the first Home NodeB is located.
11. The time synchronization method according to claim 1, characterized in that: The determining a target synchronization source from the N synchronization sources based on the types of the N synchronization sources includes: In a case where the N synchronization sources include a synchronization source of a target type, the target synchronization source is determined from the synchronization sources of the target type, wherein the target type includes a macro station type or a micro station type.
12. The time synchronization method according to claim 11, characterized in that: The determining the target synchronization source from the synchronization sources of the target type includes: When the number of synchronization sources of the target type is 1, the synchronization source of the target type is determined as the target synchronization source When the number of synchronization sources of the target type is greater than 1, a synchronization source with the largest performance parameter among the synchronization sources of the target type is determined as the target synchronization source, and the performance parameter of the synchronization source is used to represent the communication performance from the synchronization source to the first home base station.
13. The time synchronization method according to claim 11, characterized in that: In the case where the N synchronization sources include a synchronization source of a target type, the method further includes: The priority of the first home base station is configured as a first priority.
14. The time synchronization method according to claim 13, characterized in that: After configuring the priority of the first home base station as the first priority, the method further includes: A third target message is sent, where the third target message includes the priority of the first Home NodeB and the synchronization cluster where the first Home NodeB is located.
15. A communication device, characterized in that: include: A type detection module, configured to detect types of N synchronization sources of a first home base station, wherein the first home base station can monitor a signal transmitted by each of the N synchronization sources, where N is a positive integer; A determination module, configured to determine a target synchronization source from the N synchronization sources based on types of the N synchronization sources; A synchronization module is used to perform time synchronization on the target synchronization source.
16. A communication device, characterized in that: Including transceiver and processor, The processor is configured to: Detecting types of N synchronization sources of the first home base station, wherein the first home base station can monitor a signal transmitted by each of the N synchronization sources, where N is a positive integer; Determining a target synchronization source from the N synchronization sources based on types of the N synchronization sources; Perform time synchronization on the target synchronization source.
17. A communication device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method according to any one of claims 1 to 14 are implemented.
18. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any one of the methods of claims 1 to 4.
