Downlink data synchronization method, device, unit, equipment and storage medium

By comparing theoretical frame information with actual frame information, adjusting the time advance amount or waiting time, the problem that downlink RE data cannot be synchronized with the RRU side is solved, and the accurate data transmission and system stability are achieved.

CN114339980BActive Publication Date: 2024-12-03GUANGZHOU HUIRUI SITONG INFORMATION SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111547517.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-12-03
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

In the prior art, downlink RE data cannot be finalized with the RRU side in the TDD system, and problems of loss or processing timeout are prone to occur.

Method used

By obtaining theoretical frame information in the synchronization control signal, generating and storing downlink data to be sent, comparing the actual frame information with the theoretical frame information, adjusting the time advance amount or waiting time to achieve consistency of the frame information, and when the frame information is consistent, Send data.

Benefits of technology

The final synchronization of downlink data and the RRU side is achieved, which avoids data loss and processing timeouts, and improves the stability and efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114339980B_ABST
    Figure CN114339980B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method, device, unit, equipment and storage medium for synchronizing downlink data, the method comprising: obtaining a synchronization control signal, the control signal having multiple theoretical frame information; generating at least one downlink data to be sent, and storing it in a cache unit; each downlink data to be sent has actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data with a preset first time advance; comparing the current theoretical frame information with the actual frame information of the cached downlink data to be sent one by one to obtain a comparison result; processing the downlink data to be sent according to the comparison result, reading and sending the downlink data to be sent corresponding to the actual frame information consistent with the current theoretical frame information. The present disclosure is used to solve the technical problem that the existing synchronization data processing method cannot be synchronized with the final RRU side.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of wireless communication technology, and in particular to a downlink data synchronization method, device, unit, equipment and storage medium. Background Art

[0002] For base stations using the TDD (Time Division Duplexing) system, the BBU (Building Base band Unite) needs to perform physical layer-related operations and processing on the signal to generate RE (Resource Element) data. In addition, the RE data sent by the BBU during downlink communication needs to be synchronized with the RRU (Remote Radio Unit) side.

[0003] The method provided by the related technology to achieve synchronization of downlink RE data with the RRU side is: to send RE data in advance at an agreed time (i.e., coarse synchronization). However, in cases where the system structure is complex, the processing power is insufficient, or anomalies occur during the transmission process, RE data is prone to loss or processing timeout, resulting in failure to achieve final synchronization with the RRU side. Summary of the invention

[0004] The present disclosure provides a downlink data synchronization method, device, unit, equipment and storage medium, which are used to solve the technical problem that the synchronization data processing method in the prior art cannot be finally synchronized with the RRU side.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for synchronizing downlink data, including:

[0006] Acquire a synchronous control signal, wherein the control signal has a plurality of theoretical frame information;

[0007] Generate at least one downlink data to be sent and store it in a cache unit; wherein each downlink data to be sent has actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data by a preset first time advance;

[0008] Comparing the current theoretical frame information with the cached actual frame information of the downlink data to be sent in a one-to-one correspondence to obtain a comparison result;

[0009] The downlink data to be sent is processed according to the comparison result, the actual frame information consistent with the current theoretical frame information is determined, and the downlink data to be sent corresponding to the consistent actual frame information is read and sent.

[0010] Optionally, the generating at least one downlink data to be sent includes:

[0011] Each of the downlink data to be sent is generated according to the following method:

[0012] According to the preset waiting time, an accelerator coefficient corresponding to the actual frame information is acquired, and according to the accelerator coefficient, the downlink data to be sent is generated.

[0013] Optionally, the processing the downlink data to be sent according to the comparison result includes:

[0014] If the comparison result indicates that the current theoretical frame information is greater than the actual frame information, the first time advance is increased or the waiting time is reduced.

[0015] Optionally, the increasing the first time advance or reducing the waiting time includes:

[0016] Calculating the difference between the current theoretical frame information and the actual frame information;

[0017] The first timing advance is increased or the waiting time is decreased according to the difference.

[0018] Optionally, the processing the downlink data to be sent according to the comparison result includes:

[0019] If the comparison result indicates that the current theoretical frame information is greater than the actual frame information, the downlink data to be sent corresponding to the actual frame information is cleared.

[0020] Optionally, the processing the downlink data to be sent according to the comparison result includes:

[0021] If the comparison result indicates that the current theoretical frame information is smaller than the actual frame information, the downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information, or, the downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information according to a preset waiting threshold.

[0022] Optionally, the downlink data to be sent waits for the arrival of theoretical frame information that is consistent with the actual frame information, or, after the downlink data to be sent waits for the arrival of theoretical frame information that is consistent with the actual frame information according to a preset waiting threshold, the method further includes:

[0023] Reduce the first time advance or increase the waiting time.

[0024] Optionally, the reducing the first time advance or increasing the waiting time includes:

[0025] Calculating the difference between the current theoretical frame information and the actual frame information;

[0026] The first timing advance is reduced or the waiting time is increased according to the difference.

[0027] Optionally, the downlink data to be sent waits for arrival of theoretical frame information consistent with the actual frame information according to a preset waiting threshold, including:

[0028] If the current theoretical frame information plus the preset waiting threshold is greater than or equal to the actual frame information, the downlink data to be sent corresponding to the actual frame information is retained, so that the corresponding downlink data to be sent waits for the arrival of the theoretical frame information consistent with the actual frame information; otherwise, the downlink data is cleared.

[0029] Optionally, the waiting threshold is 2 time slots.

[0030] In a second aspect, an embodiment of the present disclosure provides a synchronization device for downlink data, including:

[0031] A first acquisition module is used to acquire a synchronous control signal, wherein the control signal has a plurality of theoretical frame information;

[0032] A generation module, used to generate at least one downlink data to be sent and store it in a cache unit; wherein each of the downlink data to be sent has actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data at a preset first time advance;

[0033] A comparison module, used for comparing the current theoretical frame information with the cached actual frame information of the downlink data to be sent in a one-to-one correspondence to obtain a comparison result;

[0034] A processing module is used to process the downlink data to be sent according to the comparison result, determine the actual frame information consistent with the current theoretical frame information, read the downlink data to be sent corresponding to the consistent actual frame information, and send it.

[0035] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other via the communication bus;

[0036] The memory is used to store computer programs;

[0037] The processor is used to execute the program stored in the memory to implement the downlink data synchronization method described in the first aspect.

[0038] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for synchronizing downlink data described in the first aspect.

[0039] The above technical solution provided by the embodiment of the present disclosure has the following advantages over the prior art: In the method provided by the embodiment of the present disclosure, the downlink data to be sent has actual frame information. When generating the downlink data to be sent, the theoretical frame information corresponding to the generation of the downlink data is synchronized with the preset first time advance. When sending data, the actual frame information consistent with the current theoretical frame information is determined from the downlink data to be sent, and the downlink data to be sent corresponding to the consistent actual frame information is read and sent. By comparing the frame information to read the downlink data to be sent, the final synchronization with the RRU side can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0042] Figure 1 A schematic diagram of the structure of a base station provided in an embodiment of the present disclosure;

[0043] Figure 2 A schematic diagram of an example of time slot allocation provided in an embodiment of the present disclosure;

[0044] Figure 3 A schematic diagram of another example of time slot allocation provided in an embodiment of the present disclosure;

[0045] Figure 4 A structural diagram of the downlink data storage and reading process provided in an embodiment of the present disclosure;

[0046] Figure 5 A schematic diagram showing that the numbers of cached downlink data and theoretically to-be-sent data are consistent with each other in an embodiment of the present disclosure;

[0047] Figure 6 A schematic diagram of a situation in which the cached downlink data provided by an embodiment of the present disclosure arrives later than the data to be sent theoretically;

[0048] Figure 7A schematic diagram of a situation in which the cached downlink data provided by an embodiment of the present disclosure arrives earlier than the data to be theoretically sent;

[0049] Figure 8 A timing diagram of a downlink data synchronization method provided in an embodiment of the present disclosure;

[0050] Fig. 9 A schematic diagram of a flow chart of a method for synchronizing downlink data provided in an embodiment of the present disclosure;

[0051] Fig.10 A schematic diagram of the structure of a downlink data synchronization device provided by an embodiment of the present disclosure;

[0052] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0054] In order to solve the technical problem that the synchronization method in the prior art cannot achieve the final synchronization of the downlink RE data with the RRU side, the embodiment of the present disclosure provides a downlink data synchronization method. In specific applications, the downlink data synchronization method is applied to a base station structure such as Figure 1 As shown, the BBU provided by the embodiment of the present disclosure includes: a MAC layer (data link layer), a control management unit, a High PHY part accelerator unit, a synchronization management unit and an ecpri module. The RRU includes: a radio frequency unit, a synchronization management unit, a Low PHY part operation processing unit and an ecpri module.

[0055] In the BBU, the synchronization management unit manages the local frame information, including the cycle number, time slot ID and symbol ID, and periodically reports the theoretical frame information (frame ID, symbol ID, time slot ID) to the control management unit. The control management unit is responsible for docking with the MAC layer and performing rough synchronization based on the theoretical frame information reported by the synchronization management unit, and then calculates the accelerator coefficient and schedules the High PHY part accelerator unit to perform physical layer operations. The specific calculation method is based on the pre-setting of the relevant communication protocol.

[0056] Among them, regarding the frame information, it involves time slot allocation and numbering, among which, time slot allocation: for RE data, exemplary, such as Figure 2 As shown, a data frame corresponds to a cycle, and a cycle contains 10 time slots, namely, uplink time slot U, special time slot S and downlink time slot D, and each time slot can also be divided into multiple symbols. In an example, a time slot can be divided into 14 symbols, wherein the symbols in the uplink time slot U are all uplink symbols, the symbols in the downlink time slot D are all downlink symbols, and the special time slot S includes uplink symbol U, downlink symbol D and interval symbol G. The data corresponding to the uplink symbol (hereinafter referred to as "uplink symbol data") is used for uplink service transmission, and the data corresponding to the downlink symbol (hereinafter referred to as "downlink symbol data") is used for downlink service transmission. The number of time slots in a cycle and the number of symbols in a time slot can be set according to the clock frequency; the ratio of uplink time slot U, special time slot S and downlink time slot D in a cycle, and the ratio of uplink symbol U, downlink symbol D and interval symbol G in a special time slot can be set according to actual needs. The number of cycles (frames) in data (or signals), the number or types of time slots contained in a cycle, the number of symbols in a time slot, and the ratio of each type of symbol in a special time slot are collectively referred to as the time slot ratio of data (or signals).

[0057] As for the numbering, the numbering includes the cycle number (i.e., frame ID), the time slot number (i.e., time slot ID) and the symbol number (i.e., symbol ID). The numbering method of these three numbers is performed according to the time slot ratio. One embodiment of the numbering method is to perform from 1 to n according to the time slot or symbol type. Figure 3 As shown, the cycle number 1T represents the first cycle, the time slot number 1T1D represents the first downlink time slot of the first cycle, the symbol number 1T1D1d represents the first downlink symbol of the first downlink time slot of the first cycle, and so on. nTnDnD represents the nth downlink symbol of the nth downlink time slot of the nth cycle.

[0058] The accelerator unit of the High PHY part is divided into downlink algorithm accelerator operation and uplink algorithm accelerator operation. The downlink algorithm accelerator receives the accelerator coefficient sent by the control management module and generates downlink data to be sent.

[0059] The ecpri module, i.e., the cache unit, is responsible for caching the uplink data received in the uplink and storing the data in the internal RAM. The frame ID, symbol ID, time slot ID (including theoretical frame information) recorded in the uplink data content is reported by the synchronization management unit to the control management unit, wherein the above frame ID, symbol ID and time slot ID are theoretical frame information.

[0060] The ecpri module is also responsible for caching the downlink data to be sent, and sending the data according to the control of the instruction (i.e., synchronization control signal) sent by the synchronization management unit, that is, one-to-one comparison of the actual frame information of the downlink data and the theoretical frame information in the synchronization control signal, so that the corresponding downlink data is sent at the corresponding time according to the theoretical frame information, and the final synchronization is achieved. Figure 4 As shown, it is a structural schematic diagram of the downlink data storage and reading process provided by this embodiment.

[0061] In addition, it should be noted that since the synchronization method provided in this embodiment is used for RE data of downlink communication, the theoretical frame information does not include uplink time slots or uplink symbols, such as Figure 8 shown.

[0062] Specifically, the synchronization method provided in this embodiment may be used to achieve final synchronization of the air interface between the BBU and the RRU side. Figure 8 As shown, the theoretical frame information is synchronized with the air interface frame information corresponding to the generation of the theoretical frame information by a preset second time advance (dc). And, it can be understood that, since the RRU side does not involve the generation of RE data but only the transmission of RE data, the second time advance should be less than the above-mentioned first time advance or waiting time.

[0063] The following is a detailed description of a downlink data synchronization method provided by an embodiment of the present disclosure. Fig. 9 As shown, the embodiment of the present disclosure provides a method for synchronizing downlink data, and the method for synchronizing downlink data specifically includes the following steps:

[0064] Step 501, obtaining a synchronous control signal, wherein the control signal has a plurality of theoretical frame information;

[0065] The theoretical frame information refers to the time slot ID, frame ID and symbol ID that need to be sent theoretically at present. In specific implementation, the theoretical frame information can be obtained through the synchronization management unit, the theoretical frame information is reported to the control management unit, and the synchronization control signal carrying the theoretical frame information is sent to the ecpri module. Specifically, the above-mentioned method of obtaining the air interface frame information can be 1588 synchronization, or external GPS input, or RRU reporting.

[0066] Step 502, generating at least one downlink data to be sent and storing it in a cache unit; wherein each downlink data to be sent has actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data by a preset first time advance;

[0067] After the synchronization management unit obtains the theoretical frame information, the control management unit schedules the High PHY part accelerator unit to perform calculations to generate downlink data, wherein the downlink data carries actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data based on a preset first time advance.

[0068] Each of the downlink data to be sent is generated in the following manner: the High PHY part accelerator obtains the accelerator coefficient corresponding to the actual frame information according to a preset waiting time, and generates the corresponding downlink data to be sent according to the accelerator coefficient.

[0069] Specifically, the waiting time refers to the time the control management unit waits to send the accelerator coefficient to the High PHY part accelerator unit after the accelerator coefficient is calculated. The method of generating downlink data according to the accelerator coefficient is performed according to the relevant communication protocol, which is not described here.

[0070] Each actual frame information corresponds to a theoretical frame identification number, and from the perspective of the frame information of the data, each actual frame information is ahead of the corresponding theoretical frame information. The specific advance amount is the first time advance amount. The information identification number corresponding to the first time advance amount may be 2, 3, or other numbers.

[0071] For ease of understanding, an example is given here. If the theoretical frame information is 1T1D2d and 1T1D3d, then for the theoretical frame information 1T1D2d, the actual frame information in the downlink data obtained by the control management unit scheduling the High PHY part accelerator unit to perform calculations is 1T1D4d; and for the theoretical frame information 1T1D3d, the actual frame information in the downlink data obtained by the control management unit scheduling the High PHY part accelerator unit to perform calculations is 1T1D5d. The above-mentioned method of synchronizing the actual frame information with the theoretical frame information is also called coarse synchronization, that is, in an ideal case, it is expected that when the downlink data corresponding to the actual frame information 1T1D4d and 1T1D5d is generated and cached, the current theoretical frame information in the acquired control signal also happens to be 1T1D4d and 1T1D5d, thereby achieving synchronization.

[0072] Step 503, comparing the current theoretical frame information with the cached actual frame information of the downlink data to be sent in a one-to-one correspondence to obtain a comparison result;

[0073] Since the frame information includes: frame ID, time slot ID and symbol ID. When comparing, frame ID is compared first. When frame ID is the same, time slot ID is compared. When time slot ID is also the same, symbol ID is compared. That is, when comparing frame information, the priority of frame ID is higher than the priority of time slot ID, and the priority of time slot ID is higher than the priority of symbol ID.

[0074] Step 504: Process the downlink data to be sent according to the comparison result, determine the actual frame information that is consistent with the current theoretical frame information, read the downlink data to be sent corresponding to the consistent actual frame information, and send it.

[0075] During the comparison, the comparison is performed according to the priority provided in step 503, and only when the frame ID, time slot ID and symbol ID are all the same, the two frame information are considered to be consistent.

[0076] Due to the limited buffering capacity on the RRU side, the BBU needs to send downlink data according to the configured advance amount. The synchronization management unit generates the time slot ID, frame ID and symbol ID that need to be sent theoretically and sends them to the ecpri module, which is used by the ecpri module to determine whether the currently buffered downlink data is the valid data to be sent theoretically. Figure 5 As shown, if the numbers are consistent (time slot ID, frame ID and symbol ID are all consistent), it is considered to be valid data to be sent in theory.

[0077] If they are inconsistent, it is considered that the data does not belong to the valid data to be sent in the current theory. At this time, it is necessary to further determine whether the downlink data belongs to the early data (such as Figure 6 ) or late data (such as Figure 7 shown).

[0078] Specifically, if the comparison result indicates that the current theoretical frame information is greater than the actual frame information, it means that the data is late, so the first time advance is increased or the waiting time is reduced. In actual situations, if the data is late, the downlink data to be sent corresponding to the actual frame information is cleared.

[0079] The first time advance refers to the time corresponding to the frame information number difference between the actual frame information and the theoretical frame information. The waiting time refers to the time that the control management unit waits to send the accelerator coefficient to the High PHY part accelerator unit after the accelerator coefficient calculation is completed during the process of generating downlink data.

[0080] When increasing the first time advance or reducing the waiting time, the difference between the current theoretical frame information and the actual frame information may be calculated; and the first time advance may be increased or the waiting time may be reduced according to the difference.

[0081] For ease of understanding, an example is given here. When data arrives late, the difference between the theoretical frame information (also called theoretical ID value) and the actual frame information (also called actual ID value) is statistically calculated and reported to the control management unit by the synchronization management unit. The time of the difference is adjusted to the above-mentioned first time advance or waiting time. For example, according to coarse synchronization, the original agreed time is 5 symbols in advance (that is, the preset first time advance is 5 symbols). In the process of generating downlink data, the preset waiting time is 3 symbols. If the theoretical ID value - the actual ID value = 2 symbols, synchronization can be re-achieved by increasing the first time advance to 7 symbols or reducing the waiting time to 1 symbol.

[0082] In the embodiment of the present disclosure, by increasing the first time advance or reducing the waiting time, the downlink data can be generated earlier so as to catch up with the frame information to be sent currently.

[0083] If the comparison result indicates that the current theoretical frame information is less than the actual frame information, the downlink data to be sent waits for the arrival of the theoretical frame information that is consistent with the actual frame information, or the downlink data to be sent waits for the arrival of the theoretical frame information that is consistent with the actual frame information according to a preset waiting threshold, and the first time advance amount may be reduced or the waiting time may be increased. When reducing the first time advance amount or increasing the waiting time, the difference between the current theoretical frame information and the actual frame information may be calculated; and the first time advance amount may be reduced or the waiting time may be increased according to the difference.

[0084] However, in actual applications, the space of the cache unit is limited, and all early data cannot be stored, which will waste storage space. Therefore, if the current theoretical frame information plus the preset waiting threshold is greater than or equal to the actual frame information, the downlink data to be sent corresponding to the actual frame information is retained, so that the corresponding downlink data to be sent waits for the arrival of the theoretical frame information consistent with the actual frame information; otherwise, the downlink data is cleared.

[0085] In specific implementation, the preset waiting threshold can be set to 2 time slots. If the waiting threshold is set to 2 time slots, the delay fluctuation of the control management unit and the accelerator operation can be absorbed in theory.

[0086] For ease of understanding, an example is given here. When data arrives early, a preset waiting threshold for early data arrival is introduced as k (the following examples are given in symbols), that is, when the current theoretical ID is smaller than the actual ID, the theoretical ID gives the current ID+1, current ID+2, current ID+3, ..., current ID+k and other IDs in advance, and compares them with the current actual ID one by one. If there is a consistency, stop giving a new ID value, and wait for the corresponding theoretical ID to arrive, then read the data and send it. If there is no consistency, clear the data corresponding to the actual ID. For example, if the current actual ID is 1T1D10d, the current theoretical ID is 1T1D5d, and the waiting threshold k is 6 symbols, you can wait for the theoretical ID to arrive when it is 1T1D10d, then read the data and send it. If the threshold k is 4 symbols, clear the data corresponding to the actual ID.

[0087] In the disclosed embodiment, by comparing frame information, when data arrives late, the first time advance amount and the second time advance amount are adjusted; when data arrives early, waiting for trigger reading can be performed, so that the time of data transmission can be calibrated in real time to achieve final synchronization with the RRU side.

[0088] When the disclosed embodiment is specifically implemented, the control management unit is based on the frame information periodically reported by the synchronization management unit. At the same time, the synchronization management unit also sends a synchronization control signal to the ecpri module. The control signal carries theoretical frame information. After the first time advance is used to perform rough synchronization with the theoretical frame information, the actual frame information is obtained. After the rough synchronization, the control management unit calculates the accelerator coefficient according to the actual frame information, and after a preset waiting time, the coefficient is sent to the HighPHY part accelerator unit for calculation, so that the High PHY part accelerator unit generates downlink data to be sent according to the accelerator coefficient, and sends the generated downlink data to the ecpri module for caching. In theory, the theoretical frame information on the current control signal is the same as the actual frame information of the cached downlink data to be sent. However, the coefficient calculation time and the accelerator operation time (Tab) fluctuate greatly due to the differences in the number of users carried and the service configuration, so the time to generate the downlink data to be sent for each symbol is also fluctuating, and the RRU side needs to send data at a precise time, so the ecpri of the BBU needs to cache a certain amount of downlink data to be sent, and wait until the synchronization control signal notifies the downlink data of the symbol to be sent before sending the corresponding downlink data. If the data completed by the accelerator operation is later than the theoretical time to send the data, ecpri will notify the synchronization management unit, which will report to the control management unit to reduce the waiting time for the coefficient to be sent. In addition, the first time advance can be increased. If the data completed by the High PHY part accelerator operation is earlier than the theoretical time to send the data, the data is placed in the internal cache of ecpri and waits for the moment to send the data before sending it. The ultimate desired effect is that all symbol data is sent from the ecpri interface to the RRU at the theoretical time. In addition, if the data completed by the High PHY part accelerator operation is earlier than the theoretical time to send the data, the first time advance can be reduced or the waiting time can be increased.

[0089] Based on the same concept, a method and device for synchronizing downlink data is provided in an embodiment of the present disclosure. The specific implementation of the device can be found in the description of the method embodiment part, and the repeated parts will not be repeated. Fig.10 As shown, the device mainly includes:

[0090] An acquisition module 601 is used to acquire a synchronization control signal, wherein the control signal has a plurality of theoretical frame information;

[0091] A generating module 602 is used to generate at least one downlink data to be sent and store it in a cache unit; wherein each downlink data to be sent has actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data by a preset first time advance;

[0092] The comparison module 603 is used to compare the current theoretical frame information with the cached actual frame information of the downlink data to be sent in a one-to-one correspondence to obtain a comparison result;

[0093] The processing module 604 is used to process the downlink data to be sent according to the comparison result, determine the actual frame information consistent with the current theoretical frame information, read the downlink data to be sent corresponding to the consistent actual frame information, and send it.

[0094] In a specific embodiment, the generating module 602 is used to obtain the accelerator coefficient corresponding to the actual frame information according to a preset waiting time, and generate the downlink data to be sent according to the accelerator coefficient.

[0095] In a specific embodiment, the processing module 604 is configured to increase the first time advance or decrease the waiting time if the comparison result indicates that the current theoretical frame information is greater than the actual frame information.

[0096] In a specific embodiment, the processing module 604 is used to calculate the difference between the current theoretical frame information and the actual frame information; and increase the first time advance or reduce the waiting time according to the difference.

[0097] In a specific embodiment, the processing module 604 is used to clear the to-be-sent downlink data corresponding to the actual frame information if the comparison result indicates that the current theoretical frame information is greater than the actual frame information.

[0098] In a specific embodiment, the processing module 604 is used to wait for the arrival of theoretical frame information consistent with the actual frame information if the comparison result indicates that the current theoretical frame information is smaller than the actual frame information, or the downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information according to a preset waiting threshold.

[0099] In a specific embodiment, the processing module 604 is used to reduce the first time advance or increase the waiting time while the downlink data to be sent waits for the arrival of theoretical frame information that is consistent with the actual frame information, or after the downlink data to be sent waits for the arrival of theoretical frame information that is consistent with the actual frame information according to a preset waiting threshold.

[0100] In a specific embodiment, the processing module 604 is used to calculate the difference between the current theoretical frame information and the actual frame information; and reduce the first time advance or increase the waiting time according to the difference.

[0101] In a specific embodiment, the processing module 604 is used to retain the downlink data to be sent corresponding to the actual frame information if the current theoretical frame information plus the preset waiting threshold is greater than or equal to the actual frame information, so that the corresponding downlink data to be sent waits for the arrival of the theoretical frame information consistent with the actual frame information; otherwise, clear the downlink data.

[0102] In a specific embodiment, the waiting threshold is 2 time slots.

[0103] Based on the same concept, an electronic device is also provided in the embodiment of the present disclosure, such as Fig.11 As shown, the electronic device mainly includes: a processor 701, a memory 702 and a communication bus 703, wherein the processor 701 and the memory 702 communicate with each other through the communication bus 703. The memory 702 stores a program executable by the processor 701, and the processor 701 executes the program stored in the memory 702 to implement the following steps:

[0104] Acquire a synchronous control signal, wherein the control signal has a plurality of theoretical frame information;

[0105] Generate at least one downlink data to be sent and store it in a cache unit; wherein each downlink data to be sent has actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data by a preset first time advance;

[0106] Comparing the current theoretical frame information with the cached actual frame information of the downlink data to be sent in a one-to-one correspondence to obtain a comparison result;

[0107] The downlink data to be sent is processed according to the comparison result, the actual frame information consistent with the current theoretical frame information is determined, and the downlink data to be sent corresponding to the consistent actual frame information is read and sent.

[0108] The communication bus 703 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 703 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0109] The memory 702 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the processor 701.

[0110] The above-mentioned processor 701 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0111] In another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program runs on a computer, the computer executes a downlink data synchronization method described in the above embodiment.

[0112] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape, etc.), an optical medium (e.g., a DVD) or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0113] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0114] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for synchronizing downlink data, characterized in that: include: Acquire a synchronous control signal, wherein the control signal has a plurality of theoretical frame information; Generate at least one downlink data to be sent and store it in a cache unit; wherein each downlink data to be sent has actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data by a preset first time advance; Comparing the current theoretical frame information with the cached actual frame information of the downlink data to be sent in a one-to-one correspondence to obtain a comparison result; Processing the downlink data to be sent according to the comparison result, determining the actual frame information consistent with the current theoretical frame information, reading and sending the downlink data to be sent corresponding to the consistent actual frame information; The generating at least one downlink data to be sent includes: Each of the downlink data to be sent is generated according to the following method: According to a preset waiting time, an accelerator coefficient corresponding to the actual frame information is acquired, and according to the accelerator coefficient, the downlink data to be sent is generated; The processing of the downlink data to be sent according to the comparison result includes: If the comparison result indicates that the current theoretical frame information is greater than the actual frame information, increasing the first time advance or reducing the waiting time; If the comparison result indicates that the current theoretical frame information is smaller than the actual frame information, the downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information, or, the downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information according to a preset waiting threshold.

2. The method for synchronizing downlink data according to claim 1, characterized in that: The increasing the first time advance or reducing the waiting time includes: Calculating the difference between the current theoretical frame information and the actual frame information; The first timing advance is increased or the waiting time is decreased according to the difference.

3. The method for synchronizing downlink data according to any one of claims 1 to 2, characterized in that: The processing of the downlink data to be sent according to the comparison result includes: If the comparison result indicates that the current theoretical frame information is greater than the actual frame information, the downlink data to be sent corresponding to the actual frame information is cleared.

4. The method for synchronizing downlink data according to claim 1, characterized in that: The downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information, or, after the downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information according to a preset waiting threshold, the method further includes: Reduce the first time advance or increase the waiting time.

5. The method for synchronizing downlink data according to claim 4, characterized in that: The reducing the first time advance or increasing the waiting time comprises: Calculating the difference between the current theoretical frame information and the actual frame information; The first timing advance is reduced or the waiting time is increased according to the difference.

6. The method for synchronizing downlink data according to any one of claims 1 to 5, characterized in that: The downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information according to a preset waiting threshold, including: If the current theoretical frame information plus the preset waiting threshold is greater than or equal to the actual frame information, the downlink data to be sent corresponding to the actual frame information is retained, so that the corresponding downlink data to be sent waits for the arrival of the theoretical frame information consistent with the actual frame information; otherwise, the downlink data is cleared.

7. The method for synchronizing downlink data according to claim 6, characterized in that: The waiting threshold is 2 time slots.

8. A synchronization device for downlink data, characterized in that: include: A first acquisition module is used to acquire a synchronous control signal, wherein the control signal has a plurality of theoretical frame information; A generation module, used to generate at least one downlink data to be sent and store it in a cache unit; wherein each downlink data to be sent has actual frame information, and the actual frame information is synchronized with the theoretical frame information corresponding to the generation of the downlink data at a preset first time advance; A comparison module, used for comparing the current theoretical frame information with the cached actual frame information of the downlink data to be sent in a one-to-one correspondence to obtain a comparison result; A processing module, used for processing the downlink data to be sent according to the comparison result, determining the actual frame information consistent with the current theoretical frame information, reading the downlink data to be sent corresponding to the consistent actual frame information and sending it; The generating at least one downlink data to be sent includes: Each of the downlink data to be sent is generated according to the following method: According to a preset waiting time, an accelerator coefficient corresponding to the actual frame information is acquired, and according to the accelerator coefficient, the downlink data to be sent is generated; The processing of the downlink data to be sent according to the comparison result includes: If the comparison result indicates that the current theoretical frame information is greater than the actual frame information, increasing the first time advance or reducing the waiting time; If the comparison result indicates that the current theoretical frame information is smaller than the actual frame information, the downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information, or, the downlink data to be sent waits for the arrival of theoretical frame information consistent with the actual frame information according to a preset waiting threshold.

9. An electronic device, characterized in that: include: A processor, a memory and a communication bus, wherein the processor and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to execute the program stored in the memory to implement the downlink data synchronization method described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the downlink data synchronization method according to any one of claims 1 to 7 is implemented.