A time delay compensation method, device and electronic equipment

By setting a timer in the base station to schedule data transmission based on link delay, the problem of increased RRU buffer capacity was solved, enabling timely data transmission and reducing equipment costs.

CN114125934BActive Publication Date: 2026-07-24新华三技术有限公司成都分公司
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
新华三技术有限公司成都分公司
Filing Date
2021-11-10
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

In multi-cell base station networking, the uneven link latency caused by the location difference between RRU and BBU requires existing technologies to add extra buffer capacity to each RRU to ensure data time alignment, which increases equipment costs.

Method used

By setting a timer in the base station, the start time is determined based on the link delay between the RRU and BBU, ensuring that data is sent at the start of the air interface time slot, avoiding additional buffering, and using the 1588 clock synchronization protocol to obtain the link delay and perform delay compensation.

Benefits of technology

This reduces the buffering requirements of the RRU, decreases equipment costs, and ensures timely data transmission, thereby improving system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114125934B_ABST
    Figure CN114125934B_ABST
Patent Text Reader

Abstract

The application provides a time delay compensation method, device and electronic equipment. In the application, a timer is set for a physical cell corresponding to a RRU according to a link time delay between a BBU and the RRU, so that the base station can schedule and transmit the to-be-sent service data for the RRU corresponding to the cell when the timer expires. Since the timer is independently set for the cell, the time difference between the time when the timer expires and the time when the air interface time slot starts is the link time delay between the RRU and the BBU, which is used for time delay compensation, so that the RRU can send data immediately after receiving the data, without additional buffering to wait for the air interface time, solving the problem of additional buffering capacity in the RRU and reducing the equipment cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network communication, and in particular to a delay compensation method, apparatus and electronic device. Background Technology

[0002] In multi-cell base station networking, due to factors such as the coverage and location of the Remote Radio Unit (RRU), it is inevitable that the RRU and the Building Baseband Unit (BBU) will be deployed in different locations, and the distance between the BBU and each RRU will vary. This means that the BBU needs to be connected to each RRU through optical fibers of different lengths, which in turn results in different link delays for data transmission from the BBU to each RRU.

[0003] In existing technologies, in order to ensure that the time point for RRU to send data is aligned with the air interface time, the BBU usually compensates for the link delay between it and the farthest RRU in the network, sends the data to each RRU in advance, and each RRU buffers the data and waits for the air interface time to arrive before sending it.

[0004] However, this leads to the problem that additional cache capacity needs to be added to each RRU according to the maximum link latency mentioned above. Furthermore, the more RRUs connected to the BBU and the farther the distance between the furthest RRU in the network and the BBU, the greater the overall cache capacity required by the system, resulting in an increase in RRU costs. Summary of the Invention

[0005] This application provides a latency compensation method, apparatus, and electronic device to solve the problem of needing to increase the buffer capacity in RRU, thereby reducing equipment costs.

[0006] According to a first aspect of the embodiments of this application, a delay compensation method is provided, the method comprising:

[0007] When the start time is reached, the target timer is started, and when the target timer expires, the service data that needs to be sent at the start time of the air interface time slot is scheduled to the target remote radio unit (RRU), so that the target RRU sends the service data to the air interface at the start time of the air interface time slot.

[0008] The aforementioned startup time is determined based on the target link delay between the target RRU and the baseband processing unit (BBU). The aforementioned target timer is set for the target cell and expires after a preset time. The aforementioned target cell is the physical cell corresponding to the aforementioned target RRU.

[0009] In one possible implementation, the aforementioned startup time is determined based on the target link delay between the target RRU and the baseband processing unit (BBU), including:

[0010] Obtain the target link delay between the target RRU and the target BBU;

[0011] The target time slot is determined from the air interface, and the start time of the target time slot is calculated by advancing the start time of the target time slot by the time length corresponding to the target link delay.

[0012] In one possible implementation, determining the target time slot from the air interface as described above includes:

[0013] Determine the current time slot in the above air interface that corresponds to the current absolute time;

[0014] The current time slot is extended by at least one time slot to become the target time slot.

[0015] In one possible implementation, the preset time is the duration of an air interface time slot or the duration of an air interface symbol.

[0016] In one possible implementation, if there are other different RRUs in the base station besides the target RRU corresponding to the target cell, and the difference in link latency between all RRUs corresponding to the target cell and the BBU is within a preset error range, then the start time is determined based on the target link latency between the target RRU and the BBU, including:

[0017] The link delay between any RRU and BBU corresponding to the target cell is obtained as the target link delay.

[0018] Furthermore, in one possible implementation, the above-mentioned scheduling of service data to be sent to the target RRU at the start time of the air interface time slot, so that the target RRU sends the service data to the air interface at the start time of the air interface time slot, further includes:

[0019] The service data to be sent to all RRUs corresponding to the target cell at the start of the air interface time slot is scheduled so that all RRUs corresponding to the target cell send the service data to the air interface at the start of the air interface time slot; wherein, the service data sent to the air interface by all RRUs corresponding to the target cell is the same.

[0020] According to a second aspect of the embodiments of this application, a time delay compensation device is provided, the device comprising:

[0021] The delay compensation unit is used to start the target timer when the start time is reached, and to schedule the service data that needs to be sent at the start time of the air interface time slot to the target RRU when the target timer expires, so that the target RRU can send the service data to the air interface at the start time of the air interface time slot.

[0022] The aforementioned startup time is determined based on the target link delay between the target RRU and the BBU. The aforementioned target timer is set for the target cell and expires after a preset time. The aforementioned target cell is the physical cell corresponding to the aforementioned target RRU.

[0023] In one possible implementation, the startup time in the aforementioned delay compensation unit is determined based on the target link delay between the target RRU and the BBU, including:

[0024] Obtain the target link delay between the target RRU and the target BBU;

[0025] The target time slot is determined from the air interface, and the start time of the target time slot is calculated by advancing the start time of the target time slot by the time length corresponding to the target link delay.

[0026] In one possible implementation, determining the target time slot from the air interface in the above-mentioned delay compensation unit includes:

[0027] Determine the current time slot in the above air interface that corresponds to the current absolute time;

[0028] The current time slot is extended by at least one time slot to become the target time slot.

[0029] In one possible implementation, if there are other different RRUs in the base station besides the target RRU corresponding to the target cell, and the difference in link delay between all RRUs corresponding to the target cell and the BBU is within a preset error range, then in the delay compensation unit, the start time is determined based on the target link delay between the target RRU and the BBU, including:

[0030] The link delay between any RRU and BBU corresponding to the target cell is obtained as the target link delay.

[0031] Furthermore, in one possible implementation, the delay compensation unit further includes scheduling the service data to be sent to the target RRU at the start of the air interface time slot, so that the target RRU sends the service data to the air interface at the start of the air interface time slot.

[0032] The service data to be sent to all RRUs corresponding to the target cell at the start of the air interface time slot is scheduled so that all RRUs corresponding to the target cell send the service data to the air interface at the start of the air interface time slot; wherein, the service data sent to the air interface by all RRUs corresponding to the target cell is the same.

[0033] According to a third aspect of the embodiments of this application, an electronic device is provided, the electronic device comprising: a processor and a machine-readable storage medium;

[0034] The aforementioned machine-readable storage medium stores machine-executable instructions that can be executed by the aforementioned processor;

[0035] The processor described above is used to execute the machine-executable instructions described above to implement the steps of any of the methods disclosed above.

[0036] As can be seen from the above technical solutions, in this embodiment, by setting a timer for the physical cell corresponding to the RRU based on the link delay between the BBU and RRU, the base station can schedule and transmit the service data to be sent for the RRU corresponding to the cell separately when the timer expires. Since the timer is set independently for the cell, by determining the start time of the timer based on the link delay, it can be ensured that the time difference between the timer's expiration time and the start time of the air interface time slot is the link delay between the RRU and BBU. This delay compensation allows the RRU to send data immediately after receiving it without additional buffering to wait for the air interface time to arrive, solving the problem of needing to increase the buffer capacity in the RRU and reducing equipment costs. Attached Figure Description

[0037] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0038] Figure 1 A flowchart of a time delay compensation method provided in an embodiment of this application;

[0039] Figure 2 This is a schematic diagram of the network structure provided in an embodiment of this application;

[0040] Figure 3 A timeline diagram provided for embodiments of this application;

[0041] Figure 4 A structural diagram of a time delay compensation device provided in an embodiment of this application;

[0042] Figure 5 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0043] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0044] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0045] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, and to make the above-mentioned objectives, features and advantages of the embodiments of this application more apparent and understandable, the technical solutions in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.

[0046] See Figure 1 , Figure 1 The method flowchart provided in this application embodiment can be applied to a base station. Optionally, the base station can be a 4G base station or a 5G base station, etc., and is applicable to any multi-cell networking scenario, such as independent multi-cell, cell merging, CoMP (Coordinated Multiple Points) cell, etc. This embodiment does not limit this.

[0047] like Figure 1 As shown, the process may include the following steps:

[0048] Step 101: When the start time is reached, start the target timer, and when the target timer expires, schedule the service data that needs to be sent at the start time of the air interface time slot to the target remote radio unit (RRU), so that the target RRU sends the service data to the air interface at the start time of the air interface time slot.

[0049] The aforementioned startup time is determined based on the target link delay between the target RRU and the baseband processing unit (BBU). The aforementioned target timer is set for the target cell and times out after a preset time. The aforementioned target cell is the physical cell corresponding to the aforementioned target RRU. In this embodiment, the aforementioned base station may correspond to one or more logical cells, each logical cell may correspond to one or more physical cells, and each physical cell may correspond to one or more RRUs. This embodiment does not impose any limitations on this. For ease of understanding and explanation, the case where each physical cell corresponds to one RRU is described as an example. One RRU in the aforementioned base station is determined as the target RRU, and the physical cell corresponding to the target RRU is the target cell. Based on the same principle, this method can be applied to the case where one physical cell corresponds to multiple RRUs, which will be introduced through embodiments later and will not be elaborated here.

[0050] Furthermore, in some types of base stations, the aforementioned RRU component may be called by other names or be part of other components. For example, in some 5G base stations, a BBU-AAU (Active Antenna Unit) structure is used. Although the AAU is called differently from the BBU, it essentially includes all the functions that the RRU in this embodiment needs to have. Therefore, the technical solutions disclosed in this embodiment can also be applied, and this embodiment does not limit it.

[0051] In this embodiment, it is assumed that clock and frequency synchronization have been completed between the base station and the air interface, and between the BBU and each RRU within the base station. For example, the Global Navigation Satellite System (GNSS) can be used as a reference source, and the BBU can synchronize with satellites in the Global Positioning System (GPS) or BeiDou system; the 1588 clock synchronization protocol can be used to complete the synchronization between the BBU and each RRU, etc. This embodiment does not limit the specific synchronization method, and the specific synchronization method can be implemented with reference to conventional technical means in the art, which will not be elaborated here.

[0052] In this embodiment, there are several ways for the base station to obtain the target link delay between the BBU and the target RRU. For example, the target link delay can be calculated using the timestamp in the protocol message during the synchronization process between the BBU and the target RRU via the 1588 clock synchronization protocol; after clock synchronization is completed, the BBU can send a message containing a timestamp to the target RRU, and the target RRU can calculate the target link delay based on the timestamp and report the delay value to the BBU via the IR interface; or after clock synchronization is completed, the target RRU can directly send a message containing a timestamp to the BBU, and the BBU can calculate the target link delay after receiving the message, etc. This embodiment does not limit the method of obtaining the target link delay. The target link delay here mainly refers to the actual time required for data to travel from the BBU to the target RRU via optical fiber, rather than a theoretical value calculated based on the straight-line distance or optical fiber length.

[0053] It should be noted that, in addition to the time for data to be transmitted in the optical fiber, in actual scenarios, the time required for the BBU to schedule data, the time required for the RRU to send the data to the air interface after receiving it, and so on may also be included. Since these times can already be obtained and compensated accordingly in the current base station data scheduling and processing, this embodiment mainly focuses on compensating for the delay caused by optical fiber data transmission. The time required for the above-mentioned data transmission other than optical fiber can be considered to have been compensated by other means, or it can be considered to have been included in the above-mentioned target link delay, etc. This embodiment does not limit this.

[0054] Optionally, the aforementioned base station may acquire the link delay between the BBU and each of the attached RRUs after startup or upon receiving an external command, or it may automatically acquire and store the corresponding link delay when a new RRU is accessed, or it may acquire the link delay of the corresponding RRU when a new cell is established, etc. This embodiment does not limit this.

[0055] In this embodiment, the target timer is set for a target cell, which is the physical cell corresponding to the target RRU. The start time of the target timer refers to the time when the target timer is started. After the target timer is started, it will time out after a preset time, triggering subsequent operations related to the target cell in the base station, and then restarting the timer according to the preset time, waiting for the next timeout and reset.

[0056] In this regard, by determining the start time of the target timer, it can be used to ensure that the time difference between the time when the target timer expires and the start time of the air interface time slot is the target link delay.

[0057] Optionally, as an embodiment, a target time slot can be determined from the air interface, and the start time of the target time slot can be determined by pushing forward the target link delay time length from the start time of the target time slot. In this way, the start time of the target time slot is aligned with the start time of a certain time slot in the air interface after the corresponding time of the target link delay.

[0058] Furthermore, the preset time can be set to the duration of one air interface time slot in the air interface to ensure that the time of each timeout of the target timer has the same time difference as the start time of a certain time slot in the air interface as the target link delay, thereby achieving delay compensation; however, the preset time can also be set to other lengths according to actual needs. For example, for base stations with functions such as Ultra-reliable and Low Latency Communications (URLLC), data scheduling and transmission can be performed with symbol-level precision. Therefore, the preset time can be set to the duration of one symbol in the air interface. This embodiment does not limit this.

[0059] It should be noted that for all physical cells in the same base station, the technical solutions disclosed in the embodiments of this application can be applied separately for delay compensation. That is, any physical cell can be used as a target cell and the method can be executed in parallel. However, the start time of the target timer for each target cell is set independently, and it is necessary to ensure that the preset time of all the above target timers in the same base station is equal.

[0060] Optionally, as an embodiment, the target time slot can be determined by: determining the current time slot in the air interface corresponding to the current absolute time; and extending the current time slot by at least one time slot as the target time slot.

[0061] There are multiple ways to determine the current absolute time and the current time slot, and this embodiment does not limit this method. For example, the current absolute time can be obtained from the GNSS or other clock sources. After obtaining the current absolute time, the base station can determine the time slot number of the time slot corresponding to the current absolute time in the air interface based on the time and the time slot number corresponding to that time in the protocol—for example, in protocol 38.401, the time 1980-01-16 00:00:19 corresponds to the time slot of the 0th frame, the 0th subframe, and the 0th time slot—combined with the time length of a single time slot in the air interface, and use that time slot as the current time slot.

[0062] After determining the current time slot, one or more time slot numbers can be extended from the current time slot, and the time slot corresponding to the extended time slot number can be used as the target time slot, thereby determining the target time slot.

[0063] The purpose of extending one or more time slot numbers as described above is to prevent the target link delay from being earlier than the current absolute time after subtracting the target time slot's start time, i.e., to prevent a situation where "the target timer needs to be started at a certain point in the past." Therefore, the start time of the selected target time slot should be later than the point in time after the target link delay has elapsed since the current absolute time. For example, let the current absolute time be T. now Let T0 be the start time of the target time slot and T be the delay of the target link. 1_delay Therefore, the start time of the selected target time slot should satisfy the following condition in Formula 1:

[0064] T0>T now +T 1_delay (Formula 1)

[0065] In this embodiment, any time slot in the above-mentioned air interface that satisfies the conditions in Formula 1 can be selected as the target time slot. In this embodiment, there are no other limitations on the selection of the target time slot.

[0066] Optionally, as an embodiment, after the target time slot is determined, the start time T of the target timer can be determined using the following formula 2. xtimer1 :

[0067] T xtimer1 =T0-T 1_delay (Formula 2)

[0068] Combining Formula 1 and Formula 2 ensures that the start time of the target timer is later than the current absolute time, thus avoiding the contradiction of needing to start the target timer at a certain point in the past.

[0069] In this embodiment, the target timer starts counting from the start time and instructs the base station to schedule service data to be sent through the target RRU each time a timeout occurs; optionally, the target timer may also instruct the base station to schedule service data to be sent through the target RRU when it starts.

[0070] Optionally, the service data to be sent through the target RRU can be determined by the base station in advance from all the service data to be sent through the logical cell corresponding to the target cell, and scheduled and instructed to send the received data to the air interface after the target timer expires; or the base station can wait after receiving the service data to be sent through the logical cell corresponding to the target cell until the target timer set for one or more target cells corresponding to the logical cell expires, and then the base station schedules the service data, determines the data to be sent through the target RRU corresponding to the target cell, and instructs the target RRU to send the received data to the air interface, etc. This embodiment does not limit this.

[0071] In this embodiment, the specific data scheduling and transmission method in step 101 can be executed according to the protocol. For example, when the target timer times out, it can send a scheduling request containing the frame number, subframe number, and time slot number to the data processing module in the base station, informing the data processing module to start processing the service data corresponding to the target cell at the current moment, so as to ensure that the service data can be sent to the air interface through the RRU when the time slot number arrives. Specifically, after receiving the scheduling request, the data processing module starts the data processing process, including data processing of the downlink control channel and data channel, such as MAC layer scheduling processing, packet assembly, and physical layer encoding, modulation, layer mapping precoding, and resource mapping, to convert the service data into in-phase / quadrature (I / Q) data, and transmit the I / Q data from the optical interface to the target RRU through optical fiber. After receiving the I / Q data, the target RRU immediately performs mid-frequency processing on the data and sends it to the air interface through the antenna. The above data scheduling, processing, and transmission methods are exemplary descriptions. In specific application scenarios, they can be adjusted according to the protocol provisions or actual conditions. This embodiment does not limit them.

[0072] Preferably, the above describes the case where one physical cell corresponds to one RRU. Based on the same principle, the above technical solution can also be applied to the case where one physical cell corresponds to multiple RRUs.

[0073] Using the physical cell corresponding to multiple RRUs as the target cell, the link delay between any one of the multiple RRUs and the BBU is obtained as the target link delay. It is required that the link delays between the multiple RRUs and the BBU are approximately equal, that is, the difference is within a preset error range, so as to ensure that delay compensation can be performed for multiple RRUs corresponding to the physical cell by using the same target timer set for the physical cell.

[0074] Similarly, when the target timer expires, all RRUs corresponding to the target cell are scheduled to send the service data at the start of the air interface time slot, so that all RRUs corresponding to the target cell send the service data to the air interface at the start of the air interface time slot. In the scenario where a physical cell corresponds to multiple RRUs via radio frequency merging, the data sent by the multiple RRUs is the same; however, in the scenario where there is a one-to-one correspondence between physical cells and RRUs, there is no such restriction, and the data that each RRU can send can be different.

[0075] This concludes the process. Figure 1 The process is shown below.

[0076] pass Figure 1 As shown in the flowchart, in this embodiment, by setting a timer for the physical cell corresponding to the RRU based on the link delay between the BBU and RRU, the base station can schedule and transmit the service data to be sent for the RRU corresponding to that cell separately when the timer expires. Since the timer is set independently for each cell, by determining the start time of the timer based on the link delay, it can be ensured that the time difference between the timer's expiration time and the start time of the air interface time slot is the link delay between the RRU and BBU. This delay compensation allows the RRU to send data immediately after receiving it without additional buffering to wait for the air interface time to arrive, solving the problem of needing to increase the buffer capacity in the RRU and reducing equipment costs.

[0077] To enable those skilled in the art to better understand the technical solutions provided in this embodiment, the following description, in conjunction with specific network structure diagrams, timeline diagrams, and embodiments, will illustrate... Figure 1 The technical solution will be explained in further detail.

[0078] See Figure 2 , Figure 2 This is a schematic diagram of the network structure in this embodiment. The diagram includes a base station 200, a BBU 210, RRUs 221, 231, 232, and 233, a physical cell 220, and a physical cell 230. RRUs 221, 231, 232, and 233 are multiple RRUs connected to the BBU 210 via optical fibers. The difference in link latency between RRUs 231, 232, and 233 and the BBU 210 is within a preset error range. RRU 221 corresponds to physical cell 220, and RRUs 231, 232, and 233 correspond to physical cell 230. Physical cells 220 and 230 can correspond to the same logical cell or different logical cells.

[0079] See Figure 3, Figure 3 This is a timeline diagram of this embodiment. The diagram includes an air interface 300, a target timer 320, and a target timer 330. The target timer 320 corresponds to the physical cell 220, and the target timer 330 corresponds to the physical cell 230.

[0080] As an optional embodiment, when one RRU corresponds to one physical cell, step 101 above can be implemented in the following manner:

[0081] BBU210 selects RRU221 as the target RRU, synchronizes its clock and frequency with the satellite via GNSS, and synchronizes its clock with RRU221 via the 1588 clock synchronization protocol. During the clock synchronization process with RRU221, the BBU210 calculates the target link delay T between BBU210 and RRU221 using the timestamp information in the clock synchronization message. 1_delay ;

[0082] BBU210 selects the target time slot Slot 0 from air interface 300. The specific selection method is as described in the relevant embodiment in step 101 above, and will not be repeated here. The start time T0 of the target time slot Slot 0 is an absolute time, and the target link delay T is calculated by subtracting this time from the aforementioned target link delay T. 1_delay The same duration is used as the start time T of the target timer 320. xtimer1 The target timer times out and resets after each air interface time slot in the air interface 300.

[0083] At the aforementioned startup time T xtimer1 Upon arrival, the target timer 320 is started, and a timeout occurs and the timer resets after each air interface timeslot. During each reset, information including the frame number, subframe number, and timeslot number is provided to the data scheduling module in the BBU210, instructing the data scheduling module to schedule the service data to be sent through the RRU221. Optionally, at the start time T of the target timer 320... xtimer1 Arrival can also be considered a timeout, and the above information should be provided to the data scheduling module and scheduling should be instructed.

[0084] After receiving information from the target timer 320, the BBU210 starts the data processing flow, which is the data processing of the downlink control channel and the data channel, including the scheduling processing of the Media Access Control (MAC) layer, packet assembly, and the encoding, modulation, layer mapping precoding and resource mapping of the physical layer, etc., converting the above service data into I / Q format and transmitting it to the RRU221 through optical fiber;

[0085] Since the time difference between the time of each timeout of the aforementioned target timer 320 and the start time of the time slot in the air interface 300 is fixed as the aforementioned target link delay T, 1_delay Therefore, the aforementioned I / Q data travels through the optical fiber with a time delay T equal to the target link. 1_delay After the same duration, the data is transmitted to the RRU. Upon receiving the I / Q data, the RRU immediately performs mid-frequency processing and sends the data to the air interface 300 via the antenna. This ensures that the data transmission time is aligned with the start time of the time slot in the air interface 300, without the need for additional buffering or waiting.

[0086] As an optional embodiment, when multiple RRUs correspond to a single physical cell, a similar approach can be taken to implement the above method:

[0087] The link delay between BBU210 and any one of RRU231, RRU232, and RUU233 is obtained as the target link delay T. 2_delay The RRU is used as the target RRU; another target timer 330 is set for physical cell 230, and the timeout time of target timer 330 is the same as that of target timer 320, with a start time T. xtimer2 Based on the target link delay T 2_delay Independently configured to compensate for different link delays; optionally, the start time T of the target timer 330 can be set. xtimer2 At this time, Slot 0 can still be used as the target time slot, or another time slot that meets the conditions can be selected as the target time slot. This embodiment does not limit this. After the target timer 330 times out, BBU210 schedules the service data to be sent through RRU231, RRU232, and RUU233. After receiving the service data, RRU231, RRU232, and RUU233 send it to the air interface 300. The content of the service data received and sent by RRU231, RRU232, and RUU233 is the same. Other steps can be performed with reference to the above case of one RRU corresponding to one physical cell, and will not be repeated here.

[0088] This concludes the process. Figure 2 , Figure 3 The diagram shown is shown in the image.

[0089] The method provided in this embodiment has been described above. The apparatus provided in this embodiment is described below:

[0090] See Figure 4 , Figure 4 This is a structural diagram of a time delay compensation device provided in an embodiment of this application. The device corresponds to… Figure 1 The process is shown below. Figure 4 As shown, the device may include:

[0091] The delay compensation unit 401 is used to start the target timer when the start time is reached, and to schedule the service data that needs to be sent at the start time of the air interface time slot to the target RRU when the target timer expires, so that the target RRU can send the service data to the air interface at the start time of the air interface time slot.

[0092] The aforementioned startup time is determined based on the target link delay between the target RRU and the BBU. The aforementioned target timer is set for the target cell and expires after a preset time. The aforementioned target cell is the physical cell corresponding to the aforementioned target RRU.

[0093] In one possible implementation, the startup time in the aforementioned delay compensation unit 401 is determined based on the target link delay between the target RRU and the BBU, including:

[0094] Obtain the target link delay between the target RRU and the target BBU;

[0095] The target time slot is determined from the air interface, and the start time of the target time slot is calculated by advancing the start time of the target time slot by the time length corresponding to the target link delay.

[0096] In one possible implementation, the delay compensation unit 401 described above, determining the target time slot from the air interface, includes:

[0097] Determine the current time slot in the above air interface that corresponds to the current absolute time;

[0098] The current time slot is extended by at least one time slot to become the target time slot.

[0099] In one possible implementation, if there are other different RRUs in the base station besides the target RRU corresponding to the target cell, and the difference in link delay between all RRUs corresponding to the target cell and the BBU is within a preset error range, then in the delay compensation unit 401, the start time is determined based on the target link delay between the target RRU and the BBU, including:

[0100] The link delay between any RRU and BBU corresponding to the target cell is obtained as the target link delay.

[0101] Furthermore, in one possible implementation, the delay compensation unit 401 further includes scheduling the service data to be sent to the target RRU at the start of the air interface time slot, so that the target RRU sends the service data to the air interface at the start of the air interface time slot.

[0102] The service data to be sent to all RRUs corresponding to the target cell at the start of the air interface time slot is scheduled so that all RRUs corresponding to the target cell send the service data to the air interface at the start of the air interface time slot; wherein, the service data sent to the air interface by all RRUs corresponding to the target cell is the same.

[0103] This concludes the process. Figure 4 Structural description of the device shown.

[0104] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0105] This application also provides a hardware structure. See [link to relevant documentation]. Figure 5 , Figure 5 This is a structural diagram of an electronic device provided in an embodiment of this application. Figure 5 As shown, the hardware structure may include: a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the method disclosed in the above example of this application.

[0106] Based on the same application concept as the above method, this application embodiment also provides a machine-readable storage medium storing a plurality of computer instructions, which, when executed by a processor, can implement the method disclosed in the above examples of this application.

[0107] For example, the aforementioned machine-readable storage medium can be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, etc. For instance, machine-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.

[0108] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0109] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.

[0110] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of this application can take 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.) containing computer-usable program code.

[0111] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0112] Furthermore, these computer program instructions can also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in the process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0113] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0114] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A time delay compensation method, characterized in that, The method is applied to a base station and includes: The target link delay between the target radio remote unit (RRU) and the baseband processing unit (BBU) is obtained; wherein, the target link delay is the actual delay time required for data to be transmitted from the BBU to the target RRU via optical fiber, rather than a theoretical value calculated based on the straight-line distance or optical fiber length. The target time slot is determined from the air interface, and the start time of the target time slot is advanced by the time length corresponding to the target link delay, which is used as the start time of the target time slot. When the start time is reached, the target timer is started, and when the target timer expires, the service data that needs to be sent at the start time of the air interface time slot is scheduled to the target RRU, so that the target RRU can send the service data to the air interface at the start time of the air interface time slot; The target timer is set independently for the target cell and times out after the duration of each air interface time slot. The target cell is the physical cell corresponding to the target RRU. The BBU is directly connected to each target RRU.

2. The method according to claim 1, characterized in that, Determining the target time slot from the air interface includes: Determine the current time slot in the air interface corresponding to the current absolute time; The current time slot is extended by at least one time slot to become the target time slot.

3. The method according to claim 1 or 2, characterized in that, If, in addition to the target RRU, there are other different RRUs in the base station corresponding to the target cell, and the difference in link latency between all RRUs corresponding to the target cell and the BBU is within a preset error range, then the start time is determined based on the target link latency between the target RRU and the BBU, including: The link delay between any RRU and BBU corresponding to the target cell is obtained as the target link delay; The step of scheduling the service data to be sent to the target RRU at the start time of the air interface time slot, so that the target RRU sends the service data to the air interface at the start time of the air interface time slot, further includes: Schedule the service data to be sent to all RRUs corresponding to the target cell at the start time of the air interface time slot, so that all RRUs corresponding to the target cell send the service data to the air interface at the start time of the air interface time slot; wherein, the service data sent to the air interface by all RRUs corresponding to the target cell is the same.

4. A time delay compensation device, characterized in that, The device is applied to a base station and includes: A delay compensation unit is used to obtain the target link delay between the target remote radio unit (RRU) and the baseband processing unit (BBU). The target link delay is the actual time required for data to travel from the BBU to the target RRU via optical fiber, and is not a theoretical value calculated based on straight-line distance or fiber length. A target time slot is determined from the air interface. The start time of the target time slot is shifted forward by the time length corresponding to the target link delay to obtain the start time of the target time slot. When the start time is reached, the target timer is started. If the target timer expires, service data that needs to be sent at the start time of the air interface time slot is scheduled to the target RRU, so that the target RRU sends the service data to the air interface at the start time of the air interface time slot. The target timer is set independently for the target cell and times out after the duration of each air interface time slot. The target cell is the physical cell corresponding to the target RRU. The BBU is directly connected to each target RRU.

5. The apparatus according to claim 4, characterized in that, In the time delay compensation unit, determining the target time slot from the air interface includes: Determine the current time slot in the air interface corresponding to the current absolute time; The current time slot is extended by at least one time slot to become the target time slot.

6. The apparatus according to claim 4 or 5, characterized in that, If, in addition to the target RRU, there are other different RRUs in the base station corresponding to the target cell, and the difference in link delay between all RRUs corresponding to the target cell and the BBU is within a preset error range, then in the delay compensation unit, the start time is determined based on the target link delay between the target RRU and the BBU, including: The link delay between any RRU and BBU corresponding to the target cell is obtained as the target link delay; In the delay compensation unit, scheduling the service data to be sent to the target RRU at the start time of the air interface time slot, so that the target RRU sends the service data to the air interface at the start time of the air interface time slot, further includes: Schedule the service data to be sent to all RRUs corresponding to the target cell at the start time of the air interface time slot, so that all RRUs corresponding to the target cell send the service data to the air interface at the start time of the air interface time slot; wherein, the service data sent to the air interface by all RRUs corresponding to the target cell is the same.

7. An electronic device, characterized in that, The electronic device includes: a processor and a machine-readable storage medium; The machine-readable storage medium stores machine-executable instructions that can be executed by the processor; The processor is used to execute the machine-executable instructions to implement the method steps of any one of claims 1-3.