Communication system, data transmission method and network equipment

By adopting sliding window mechanism and time offset adjustment in the distributed deployment scenario of the access network, the synchronization deviation problem is solved, and data synchronization and throughput improvement of the wireless communication system is achieved.

CN120264403APending Publication Date: 2025-07-04CHINA SATELLITE NETWORK SYSTEM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410001829.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the distributed deployment scenario of access network, due to the availability of GNSS or GPS receivers, synchronization deviations are caused, affecting the synchronization and throughput of the wireless communication system.

Method used

The sliding window mechanism is adopted to determine the sliding window size based on the link delay between the physical layer and the MAC layer, predict synchronous frame data through the neural network, adjust the time offset to achieve data synchronization, and reduce delay jitter through the traffic control of the bearer network node.

Benefits of technology

In the case of uncertain delay between MAC and PHY, data synchronization is maintained, which improves the throughput of wireless communication systems, reduces data delay jitter, and solves the problem of incomplete time synchronization between distributed base stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120264403A_ABST
    Figure CN120264403A_ABST
Patent Text Reader

Abstract

The invention discloses a communication system, a data transmission method and network equipment, which are used for solving the problem of synchronization deviation in a scene of distributed deployment of an access network. The communication system comprises a first device corresponding to a physical layer and a second device corresponding to a media access control (MAC) layer, and the first device and the second device are deployed in a distributed mode and establish communication connection. Wherein the second equipment sends data to the first equipment; a first device receives data sent by a second device in a time slot range corresponding to a sliding window by using the pre-configured sliding window; wherein the sliding window is determined based on the link time delay between the physical layer and the MAC layer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless communication, and particularly relates to a communication system, a data transmission method, and a network device. Background Art

[0002] In a wireless communication system, the main means of time synchronization is a GNSS (Global Navigation Satellite System) receiver or a GPS (Global Positioning System) receiver.

[0003] Since in some communication systems, there are certain availability problems with GNSS or GPS receivers, in the scenario of distributed deployment of the access network, there will be synchronization deviation problems. And based on this working scenario and working mode, currently, there is no mature anti-synchronization deviation solution for reference. Summary of the Invention

[0004] The present invention provides a communication system, a data transmission method, and a network device for solving the synchronization deviation problem existing in the scenario of distributed deployment of the access network.

[0005] In a first aspect, a communication system provided by an embodiment of the present invention includes a first device corresponding to the physical layer and a second device corresponding to the media access control (MAC) layer. The first device and the second device are distributedly deployed and establish a communication connection. Among them:

[0006] The second device sends data to the first device.

[0007] The first device uses a pre-configured sliding window to receive the data sent by the second device within the time slot range corresponding to the sliding window. The sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0008] The communication system provided by the present application ensures the timing synchronization relationship between distributed base stations by adopting a sliding window mechanism. Through the introduction of the sliding window mechanism, the system can still maintain data synchronization and ensure the throughput of the wireless communication system even when the delay between the MAC and the PHY is uncertain.

[0009] As an optional implementation manner, the size of the sliding window is determined based on the link delay jitter data between the physical layer and the MAC layer.

[0010] As an optional implementation manner, the link delay jitter data includes synchronization frame data. The first device specifically determines the size of the sliding window through the following method:

[0011] Collect the synchronization frame data transmitted between the physical layer and the MAC layer within the historical period, predict the collected synchronization frame data through a neural network, and determine the size of the sliding window according to the prediction result.

[0012] As an alternative implementation,

[0013] The first device determines whether data is detected within the time slot range corresponding to the sliding window, and receives the data within the time slot range corresponding to the sliding window according to the detection result.

[0014] As an alternative implementation, the first device is specifically configured to:

[0015] When the first device detects data within the time slot range corresponding to the sliding window, it receives the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

[0016] In this embodiment, by setting the time offset between distributed base stations, the communication delay between base stations can be correctly calculated and the time delay synchronization window can be accurately judged under the condition of base station synchronization deviation within a certain range. The problem of incomplete time synchronization between distributed base stations is effectively solved.

[0017] As an alternative implementation,

[0018] When the first device does not detect data within the time slot range corresponding to the sliding window, it determines the timing relationship of the data relative to the sliding window and sends the timing relationship to the second device;

[0019] The second device adjusts the pre-configured time offset according to the timing relationship and sends the adjusted time offset to the first device;

[0020] The first device receives the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0021] As an alternative implementation, the second device is specifically configured to:

[0022] If the timing relationship includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, the second device increases the pre-configured time offset; or,

[0023] If the timing relationship includes that the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window, the second device decreases the pre-configured time offset.

[0024] As an alternative implementation, the second device is specifically configured to:

[0025] Adjust a pre-configured time offset based on the time delay of data transmitted between a second device and a first device.

[0026] As an alternative implementation, the second device is specifically configured to:

[0027] Determine a first time delay of data transmitted between the second device and the first device with respect to the start frame and start time slot of the MAC layer, and a second time delay with respect to the start frame and start time slot of the physical layer;

[0028] Adjust a pre-configured time offset according to the first time delay and the second time delay.

[0029] As an alternative implementation, the first device is specifically further configured to determine whether data is detected within the time slots corresponding to the sliding window in the following manner:

[0030] Obtain the current data and a plurality of consecutive frames of historical data before the current data, perform smoothing filtering on the plurality of consecutive frames of historical data to obtain filtered data;

[0031] Determine whether the current data is detected within the time slots according to whether the filtered data is detected within the time slots.

[0032] As an alternative implementation, the first device is specifically configured to receive the data according to a time offset in the following manner:

[0033] Determine a target time slot within the time slots corresponding to the sliding window according to a pre-configured time offset;

[0034] Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

[0035] As an alternative implementation, a plurality of bearer network nodes are provided between the physical layer and the MAC layer; the second device is specifically further configured to:

[0036] Obtain the network status of each of the plurality of bearer network nodes;

[0037] Perform traffic control on each of the bearer network nodes according to the network status of each bearer network node.

[0038] As an alternative implementation, the second device is specifically configured to:

[0039] Determine the remaining status of the transmission bandwidth according to the network status of each bearer network node;

[0040] Perform scaling control on the peak rate in proportion according to the remaining status of the transmission bandwidth.

[0041] As an alternative implementation, the second device is further specifically configured to:

[0042] Obtain the historical network status of each bearer network node within a historical period;

[0043] For each bearer network node, perform a smoothing filtering process on the historical network status of the bearer network node to obtain the filtered network status corresponding to each bearer network node;

[0044] Perform traffic control on each bearer network node according to the filtered network status corresponding to each bearer network node.

[0045] In a second aspect, a data transmission method provided by an embodiment of the present invention is applied to a first device, and the first device corresponds to a physical layer. The method includes:

[0046] Receive data sent by a second device within a time slot range corresponding to the sliding window by using a pre-configured sliding window; wherein the second device corresponds to a MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0047] As an alternative implementation, the size of the sliding window is determined based on the jitter data of the link delay between the physical layer and the MAC layer.

[0048] As an alternative implementation, the link delay jitter data includes synchronization frame data, and the size of the sliding window is determined by the following method:

[0049] Collect the synchronization frame data transmitted between the physical layer and the MAC layer within a historical period, predict the collected synchronization frame data through a neural network, and determine the size of the sliding window according to the prediction result.

[0050] As an alternative implementation, the receiving the data sent by the second device within the time slot range corresponding to the sliding window includes:

[0051] Determine whether data is detected within the time slot range corresponding to the sliding window, and receive the data within the time slot range corresponding to the sliding window according to the detection result.

[0052] As an alternative implementation, the receiving the data within the time slot range corresponding to the sliding window according to the detection result includes:

[0053] When data is detected within the time slot range corresponding to the sliding window, receive the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

[0054] As an alternative implementation, the receiving the data within the time slot range corresponding to the sliding window according to the detection result includes:

[0055] When data is not detected within the time slot range corresponding to the sliding window, determine the timing relationship of the data relative to the sliding window, and send the timing relationship to a second device for instructing the second device to adjust the pre-configured time offset according to the timing relationship;

[0056] Receive the adjusted time offset sent by the second device, and receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0057] As an alternative implementation, determine whether data is detected within the time slot range corresponding to the sliding window in the following manner:

[0058] Obtain the current data and a plurality of consecutive frames of historical data before the current data, perform a smoothing filtering process on the plurality of consecutive frames of historical data to obtain filtered data;

[0059] Determine whether the current data is detected within the time slot range according to whether the filtered data is detected within the time slot range.

[0060] As an alternative implementation, receive the data according to the time offset in the following manner:

[0061] Determine a target time slot within the time slot range corresponding to the sliding window according to the pre-configured time offset;

[0062] Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

[0063] In a third aspect, a data transmission method provided by an embodiment of the present invention is applied to a second device, and the second device corresponds to the MAC layer. The method includes:

[0064] Send data to a first device for instructing the first device to use a pre-configured sliding window to receive the data within the time slot range corresponding to the sliding window; where the first device corresponds to the physical layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0065] As an alternative implementation, the method further includes:

[0066] Receiving the timing relationship of the data sent by the first device relative to the sliding window;

[0067] Adjusting a pre-configured time offset according to the timing relationship, and sending the adjusted time offset to the first device for instructing the first device to receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0068] As an alternative implementation, the adjusting a pre-configured time offset according to the timing relationship includes:

[0069] If the timing relationship includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, increasing the pre-configured time offset; or,

[0070] If the timing relationship includes that the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window, decreasing the pre-configured time offset.

[0071] As an alternative implementation, the adjusting a pre-configured time offset includes:

[0072] Adjusting the pre-configured time offset by using the transmission delay of the data between itself and the first device.

[0073] As an alternative implementation, the adjusting the pre-configured time offset by using the transmission delay of the data between itself and the first device includes:

[0074] Determining a first delay of the data transmitted between itself and the first device relative to the start frame and start time slot of the MAC layer, and a second delay relative to the start frame and start time slot of the physical layer;

[0075] Adjusting the pre-configured time offset according to the first delay and the second delay.

[0076] As an alternative implementation, a plurality of bearer network nodes are provided between the MAC layer and the physical layer; the method further includes:

[0077] Obtaining the network status of each of the plurality of bearer network nodes;

[0078] Performing traffic control on each of the bearer network nodes according to the network status of each bearer network node.

[0079] As an alternative implementation, the performing traffic control on each of the bearer network nodes according to the network status of each bearer network node includes:

[0080] Determine the margin status of the transmission bandwidth according to the network status of each bearer network node;

[0081] Perform scaling control on the peak rate in proportion according to the margin status of the transmission bandwidth.

[0082] As an optional implementation manner, the method further includes:

[0083] Obtain the historical network status of each bearer network node in a historical period;

[0084] For each bearer network node, perform smoothing filtering on the historical network status of the bearer network node to obtain the filtered network status corresponding to each bearer network node;

[0085] Perform traffic control on each bearer network node according to the filtered network status corresponding to each bearer network node.

[0086] In a fourth aspect, an embodiment of the present invention further provides a network device, where the network device includes a processor and a memory, the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and execute the following steps:

[0087] Use a pre-configured sliding window to receive data sent by a second device within the time slot range corresponding to the sliding window; wherein the first device corresponds to the physical layer, the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0088] As an optional implementation manner, the size of the sliding window is determined based on the jitter data of the link delay between the physical layer and the MAC layer.

[0089] As an optional implementation manner, the processor is specifically configured to execute:

[0090] Determine whether data is detected within the time slot range corresponding to the sliding window, and receive the data within the time slot range corresponding to the sliding window according to the detection result.

[0091] As an optional implementation manner, the processor is specifically configured to execute:

[0092] When data is detected within the time slot range corresponding to the sliding window, receive the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

[0093] As an alternative implementation, the processor is specifically configured to execute:

[0094] When no data is detected within the time slot range corresponding to the sliding window, determine the timing relationship of the data relative to the sliding window, and send the timing relationship to the second device for instructing the second device to adjust a pre-configured time offset according to the timing relationship;

[0095] Receive the adjusted time offset sent by the second device, and receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0096] As an alternative implementation, the processor is specifically configured to determine whether data is detected within the time slot range corresponding to the sliding window in the following manner:

[0097] Obtain the current data and a plurality of consecutive frames of historical data before the current data, perform a smoothing filtering process on the plurality of consecutive frames of historical data to obtain filtered data;

[0098] Determine whether the current data is detected within the time slot range according to whether the filtered data is detected within the time slot range.

[0099] As an alternative implementation, the processor is specifically configured to receive the data according to the time offset in the following manner:

[0100] Determine a target time slot within the time slot range corresponding to the sliding window according to the pre-configured time offset;

[0101] Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

[0102] In a fifth aspect, an embodiment of the present invention further provides a network device, where the network device includes a processor and a memory, the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and execute the following steps:

[0103] Send data to a first device for instructing the first device to receive the data within the time slot range corresponding to the sliding window by using a pre-configured sliding window; where the first device corresponds to the physical layer, the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0104] As an alternative implementation, the processor is specifically further configured to execute:

[0105] Receive the timing relationship of the data sent by the first device relative to the sliding window;

[0106] Adjust the pre-configured time offset according to the timing relationship, and send the adjusted time offset to the first device, for instructing the first device to receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0107] As an alternative implementation, the processor is specifically configured to execute:

[0108] If the timing relationship includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, increase the pre-configured time offset; or,

[0109] If the timing relationship includes that the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window, decrease the pre-configured time offset.

[0110] As an alternative implementation, the processor is specifically configured to execute:

[0111] Adjust the pre-configured time offset by using the transmission delay of the data between itself and the first device.

[0112] As an alternative implementation, the processor is specifically configured to execute:

[0113] Determine the first delay of the data transmitted between itself and the first device relative to the start frame and start time slot of the MAC layer, and the second delay relative to the start frame and start time slot of the physical layer;

[0114] Adjust the pre-configured time offset according to the first delay and the second delay.

[0115] As an alternative implementation, there are multiple bearer network nodes between the MAC layer and the physical layer; the processor is specifically further configured to execute:

[0116] Obtain the network status of each of the multiple bearer network nodes;

[0117] Perform traffic control on each bearer network node according to the network status of each bearer network node.

[0118] As an alternative implementation, the processor is specifically configured to execute:

[0119] Determine the remaining bandwidth status according to the network status of each bearer network node;

[0120] Perform scaling control on the peak rate in proportion according to the remaining bandwidth status.

[0121] As an alternative implementation, the processor is specifically further configured to execute:

[0122] Obtain the historical network status of each bearer network node within a historical period;

[0123] For each bearer network node, perform a smoothing filtering process on the historical network status of the bearer network node to obtain a filtered network status corresponding to each bearer network node;

[0124] Perform traffic control on each bearer network node according to the filtered network status corresponding to each bearer network node.

[0125] In a sixth aspect, an embodiment of the present invention further provides a data transmission device, and the device includes:

[0126] A receiving unit, configured to receive data sent by a second device within a time slot range corresponding to the sliding window by using a pre-configured sliding window;

[0127] Wherein the first device corresponds to the physical layer, the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0128] As an alternative implementation, the size of the sliding window is determined based on the jitter data of the link delay between the physical layer and the MAC layer.

[0129] As an alternative implementation, the receiving unit is specifically configured to:

[0130] Determine whether data is detected within the time slot range corresponding to the sliding window, and receive the data within the time slot range corresponding to the sliding window according to the detection result.

[0131] As an alternative implementation, the receiving unit is specifically configured to:

[0132] When data is detected within the time slot range corresponding to the sliding window, receive the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

[0133] As an alternative implementation, the receiving unit is specifically configured to:

[0134] When data is not detected within the time slot range corresponding to the sliding window, determine the timing relationship between the data and the sliding window, and send the timing relationship to the second device for instructing the second device to adjust the pre-configured time offset according to the timing relationship;

[0135] Receive the adjusted time offset sent by the second device, and receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0136] As an alternative implementation, the receiving unit is specifically configured to determine whether data is detected within the time slot range corresponding to the sliding window in the following manner:

[0137] Obtain the current data and multiple consecutive frames of historical data before the current data, perform smoothing filtering on the multiple consecutive frames of historical data to obtain filtered data;

[0138] Determine whether the current data is detected within the time slot range according to whether the filtered data is detected within the time slot range.

[0139] As an alternative implementation, the receiving unit is specifically configured to receive the data according to the time offset in the following manner:

[0140] Determine the target time slot within the time slot range corresponding to the sliding window according to the pre-configured time offset;

[0141] Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

[0142] In a seventh aspect, an embodiment of the present invention further provides a data transmission device, and the device includes:

[0143] A sending unit, configured to send data to a first device, for instructing the first device to use a pre-configured sliding window to receive the data within the time slot range corresponding to the sliding window;

[0144] Wherein the first device corresponds to the physical layer, the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0145] As an alternative implementation, it further includes an adjustment unit specifically configured to:

[0146] Receive the timing relationship between the data sent by the first device and the sliding window;

[0147] Adjust the pre-configured time offset according to the timing relationship, and send the adjusted time offset to the first device, for instructing the first device to receive the data within the time slot range corresponding to the adjusted time offset.

[0148] As an alternative implementation, the adjustment unit is specifically configured to:

[0149] If the timing relationship includes that the reception time slot where the data is located is before the earliest time slot corresponding to the sliding window, increase the pre-configured time offset; or,

[0150] If the timing relationship includes that the reception time slot where the data is located is after the latest time slot corresponding to the sliding window, decrease the pre-configured time offset.

[0151] As an optional implementation manner, the adjustment unit is specifically configured to:

[0152] Adjust the pre-configured time offset by using the time delay of the data transmitted between itself and the first device.

[0153] As an optional implementation manner, the adjustment unit is specifically configured to:

[0154] Determine the first time delay of the data transmitted between itself and the first device relative to the start frame and start time slot of the MAC layer, and the second time delay relative to the start frame and start time slot of the physical layer;

[0155] Adjust the pre-configured time offset according to the first time delay and the second time delay.

[0156] As an optional implementation manner, a plurality of bearer network nodes are provided between the MAC layer and the physical layer; the traffic control unit is further specifically configured to:

[0157] Obtain the network status of each of the plurality of bearer network nodes;

[0158] Perform traffic control on each of the bearer network nodes according to the network status of each bearer network node.

[0159] As an optional implementation manner, the traffic control unit is specifically configured to:

[0160] Determine the margin status of the transmission bandwidth according to the network status of each bearer network node;

[0161] Perform scaling control on the peak rate in proportion according to the margin status of the transmission bandwidth.

[0162] As an optional implementation manner, the traffic control unit is further specifically configured to:

[0163] Obtain the historical network status of each of the plurality of bearer network nodes within a historical period;

[0164] For each bearer network node, perform smoothing filtering on the historical network status of the bearer network node to obtain the filtered network status corresponding to each bearer network node;

[0165] Perform traffic control on each bearer network node according to the filtering network status corresponding to each bearer network node.

[0166] In an eighth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, it is used to implement the steps of the method described in any one of the above second aspect or third aspect.

[0167] In a ninth aspect, the present application provides a computer program product, which includes: computer program code, and when the computer program code runs on a computer, it causes the computer to execute the method described in any one of the second aspect or third aspect.

[0168] These aspects or other aspects of the present application will be more clearly understood in the following description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0169] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0170] Figure 1 A schematic diagram of a communication system provided by an embodiment of the present invention;

[0171] Figure 2 A schematic diagram of a physical layer sliding window of a distributed base station provided by an embodiment of the present invention;

[0172] Figure 3 A flowchart of distributed base station synchronization deviation time transfer provided by an embodiment of the present invention;

[0173] Figure 4 A schematic diagram of the delay deviation between distributed base stations provided by an embodiment of the present invention;

[0174] Figure 5 A schematic diagram of a traffic control strategy between distributed base stations provided by an embodiment of the present invention;

[0175] Figure 6 An implementation flowchart of a data transmission method provided by an embodiment of the present invention;

[0176] Figure 7 An implementation flowchart of another data transmission method provided by an embodiment of the present invention;

[0177] Figure 8 A schematic diagram of a network device provided by an embodiment of the present invention;

[0178] Figure 9 Another schematic diagram of a network device provided by an embodiment of the present invention;

[0179] Figure 10 Schematic diagram of a data transmission device provided by an embodiment of the present invention;

[0180] Figure 11 Schematic diagram of another data transmission device provided by an embodiment of the present invention. Detailed implementation manners

[0181] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part rather than all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0182] The term "and / or" in the embodiments of the present invention describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the front and rear associated objects.

[0183] The application scenarios described in the embodiments of the present invention are for more clearly illustrating the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those of ordinary skill in the art know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems. Among them, in the description of the present invention, unless otherwise specified, "a plurality of" means two or more.

[0184] Before introducing the communication system provided by the embodiments of the present application, for the sake of easy understanding, the technical background of the embodiments of the present application will be introduced in detail below.

[0185] In a wireless communication system, the main means of time synchronization is a GNSS receiver or a GPS receiver. Since there are certain availability issues with GNSS or GPS receivers in some communication systems, there will be synchronization deviation problems in the scenario of distributed deployment of the access network. There are strict time alignment requirements between the MAC (Media Access Control) layer and the PHY (Physical) layer in a wireless communication system. Taking the MIB frame (broadcast frame) as an example, after the time-frequency resources of the MIB are allocated by the MAC layer (distributed base station), the data that the MIB needs to send and the frame number actually required for air interface transmission of the data are brought to the PHY (distributed base station). The physical layer ensures that the data is sent to the terminal at the air interface frame number, and all terminals will align according to the timing of the base station. For other uplink and downlink service channels, it is similar. How to send data and reference signals in each frame and each time slot is scheduled in real time by the MAC layer, which notifies the distributed physical layer and the terminal in advance. And different users will be scheduled simultaneously in the same time slot. If the system frame numbers are not aligned, the terminal and the distributed physical layer cannot parse the physical layer data packet.

[0186] In addition, in the scenario of distributed deployment of the access network in a communication system, due to the existence of multiple nodes in the bearer network between the MAC and the PHY, delay jitter will be introduced. Each node of the bearer network of the distributed deployment communication system is in the way of immediate forwarding. Each link node has processing delay jitter, and there will also be delay jitter introduced by the change of modulation mode between each bearer network communication node, as well as the change of the position of the access network PHY, all of which will cause delay jitter, and the service continuity of wireless communication will be greatly affected.

[0187] Based on this, the present application provides a network optimization method. For the above-mentioned distributed deployment communication system, by adopting a sliding window mechanism and calculating the delay deviation, the timing synchronization relationship between distributed base stations is ensured. By introducing the sliding window mechanism, the system can still maintain data synchronization under the condition of uncertain delay between the MAC and the PHY, ensuring the throughput of the wireless communication system. By setting the time deviation offset between distributed base stations, the communication delay between base stations can be correctly calculated and the delay synchronization window can be accurately judged under the condition of base station synchronization deviation within a certain range. It effectively solves the problem of incomplete time synchronization between distributed base stations.

[0188] In addition, the present application also reduces the overall data delay jitter by referring to the traffic feedback information of each node of the bearer network during MAC scheduling. It overcomes various factors such as processing delay jitter introduced by the multi-hop mechanism of the bearer network, link uncertainty, and uncertainty introduced by the change of the position of the distributed base station, enabling the system to operate normally and ensuring the overall service capacity of the wireless communication system.

[0189] It should be noted that the first device in this embodiment can be a base station, such as a gNB (base station) in 5G, a macro base station, a micro base station, a CU (Central Unit), or a DU (Distributed Unit), etc.; it can also be a satellite, such as a GEO (Geostationary / Geosynchronous Orbit) satellite, a LEO (Low Earth Orbit) satellite, a MEO (Medium Earth Orbit) satellite, or a HEO (High Earth Orbit) satellite, etc.; it can also be a wireless device in unmanned driving, such as a drone, etc.; it can also be a wireless device in remote medical, a wireless device in smart grid, a wireless device in transportation safety, a wireless device in smart city, a wireless device in smart home, etc. This embodiment does not make too many limitations on this.

[0190] The second device in this embodiment can be a base station, such as a gNB (base station) in 5G, a macro base station, a micro base station, a CU (Central Unit), or a DU (Distributed Unit), etc.; it can also be a satellite, such as a GEO (Geostationary / Geosynchronous Orbit) satellite, a LEO (Low Earth Orbit) satellite, a MEO (Medium Earth Orbit) satellite, or a HEO (High Earth Orbit) satellite, etc.; it can also be a wireless device in unmanned driving, such as a drone, etc.; it can also be a wireless device in remote medical, a wireless device in smart grid, a wireless device in transportation safety, a wireless device in smart city, a wireless device in smart home, etc. This embodiment does not make too many limitations on this.

[0191] The bearer network in this embodiment can be a terrestrial network, an inter-satellite network, a satellite-terrestrial network, and can also be applied to a custom network for unmanned driving, and can also be an air network, a drone network, etc. This embodiment does not make too many limitations on this.

[0192] The bearer network node in this embodiment can be a terrestrial network node, an inter-satellite network node, a satellite-terrestrial network node, and can also be a custom network node for unmanned driving, an air network node, a drone network node, etc. This embodiment does not make too many limitations on this.

[0193] Such as Figure 1As shown in the figure, a communication system provided by the present application includes a first device 100 corresponding to the physical layer and a second device 101 corresponding to the media access control (MAC) layer. The first device 100 and the second device 101 are distributedly deployed and establish a communication connection. Among them:

[0194] The second device 101 sends data to the first device 100.

[0195] The first device 100 uses a pre-configured sliding window to receive the data sent by the second device 101 within the time slot range corresponding to the sliding window. The sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0196] In implementation, the sliding window in this embodiment is a receiving window for the physical layer to receive data sent by the MAC layer. As Figure 2 shown, this embodiment provides a schematic diagram of the physical layer sliding window of a distributed base station. The sliding window includes multiple time slots. The size of the sliding window (also understood as the time length) can be set to an integer multiple of the time slot length. Taking 5G millimeter wave as an example, the time slot length values under its respective subcarrier intervals are taken. For example, the size of the sliding window is 125 us, 250 us, 500 us, or 1 ms. Among them, the longer the time length of the sliding window, that is, the larger n in the figure, the better the anti-fluctuation performance at this time. However, due to time slot scheduling through the MAC, it will cause a larger delay and poor real-time performance. Therefore, the size of the sliding window in this embodiment can be defined according to actual needs, and this embodiment does not make too many limitations on this.

[0197] Optionally, the size of the sliding window in this embodiment is determined based on the link delay jitter data between the physical layer and the MAC layer. The link delay jitter data includes synchronization frame data.

[0198] In implementation, the data transmitted between the physical layer and the MAC layer can be collected. For example, the synchronization frame data transmitted between the physical layer and the MAC layer within a historical period is collected, the synchronization frame data within the historical period is statistically analyzed and the average value is calculated, and the average value is used as the size of the configured sliding window.

[0199] Optionally, the size of the sliding window is determined by the following method:

[0200] Collect the synchronization frame data transmitted between the physical layer and the MAC layer within a historical period, predict the collected synchronization frame data through a neural network, and determine the size of the sliding window according to the prediction result.

[0201] In implementation, the size of the sliding window can be configured by statistically analyzing and intelligently training the data transmitted on the bearer network link between the MAC layer and the PHY layer (physical layer).

[0202] It should be noted that the size of the sliding window in this embodiment can be a pre-configured fixed size, or the size of the currently configured sliding window can be updated based on the continuous frame data before the current frame data. This embodiment does not make excessive limitations on this.

[0203] In some embodiments, the first device determines whether data is detected within the time slot range corresponding to the sliding window, and receives the data within the time slot range corresponding to the sliding window according to the detection result.

[0204] In some embodiments, when the first device detects data within the time slot range corresponding to the sliding window, it receives the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

[0205] In implementation, according to the pre-configured time offset, a target time slot is determined from within the time slot range corresponding to the sliding window, and the data sent by the MAC layer is received on the target time slot to achieve data synchronization between the MAC layer and the physical layer. Herein, the target time slot in this embodiment refers to the reception time slot for achieving data synchronization between the MAC layer and the physical layer.

[0206] In some embodiments, this embodiment can also configure the time offset based on the link delay between the physical layer and the MAC layer. In implementation, the link delay information between the physical layer and the MAC layer can be collected, for example, the link delay information of data transmission between the physical layer and the MAC layer within a historical period is collected, the link delay information within the historical period is statistically analyzed, and the size of the time offset is configured according to the statistical result.

[0207] It should be noted that the size of the time offset in this embodiment can be a pre-configured fixed size, or the size of the currently configured time offset can be updated based on the continuous frame data before the current frame data. This embodiment does not make excessive limitations on this.

[0208] In implementation, since link delay will inevitably occur during the transmission of data between the MAC layer and the physical layer, a benchmark time offset can be set in advance to achieve the reception of synchronized data within the sliding window. Usually, the time offset can be configured by means of big data statistics and intelligent training based on the link delay. Usually, it can be set 2 to 3 time slots in advance. When the clock of any deployment node is unavailable, clock timing needs to be performed through the master node.

[0209] In some embodiments, when the first device does not detect data within the time slot range corresponding to the sliding window, it determines the timing relationship of the data relative to the sliding window and sends the timing relationship to the second device;

[0210] The second device adjusts a pre-configured time offset according to the timing relationship, and sends the adjusted time offset to the first device;

[0211] The first device receives the data within the time slots corresponding to the sliding window according to the adjusted time offset.

[0212] In some embodiments, the first device is specifically configured to receive the data according to the time offset in the following manner:

[0213] Determine a target time slot within the time slots corresponding to the sliding window according to the time offset; wherein, the time offset includes a pre-configured time offset or an adjusted time offset;

[0214] Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

[0215] Optionally, the timing relationship of the transmitted data with respect to the sliding window in this embodiment includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, and the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window.

[0216] In implementation, the second device is specifically configured to:

[0217] If the timing relationship includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, the second device increases the pre-configured time offset;

[0218] If the timing relationship includes that the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window, the second device decreases the pre-configured time offset.

[0219] As Figure 3 shown, this embodiment also provides a flowchart for distributed base station synchronization deviation time transfer, and the specific implementation process is as follows:

[0220] Step 300, based on the UTC of the MAC layer, determine SFN = 0;

[0221] In implementation, according to the Coordinated Universal Time (UTC) of the MAC layer, determine the SFN (System Frame Number) of the data sent by the MAC layer.

[0222] Step 301, based on the UTC of the PHY layer, determine SFN = 0;

[0223] Step 302, align the UTC of the MAC layer and the PHY layer, and align the SFN of the MAC layer and the PHY layer;

[0224] Step 303: Synchronize the data of the PHY and the terminal based on the aligned SFN.

[0225] Step 304: When the clocks are not synchronized, perform initial synchronization timing and pre-configure the time offset of the synchronization timing.

[0226] Step 305: Calibrate the SFN according to the time offset, and synchronize the data of the PHY and the terminal based on the calibrated SFN.

[0227] In some embodiments, in any one or any combination of the following ways, the target time slot is determined from the time slot range according to the pre-configured time offset:

[0228] Way a: The data sent by the MAC layer falls within the sliding window.

[0229] Optionally, when the data sent by the MAC layer is detected within the time slot range corresponding to the sliding window, the target time slot is determined from the time slot range according to the pre-configured time offset.

[0230] In implementation, when the data sent by the MAC layer falls within the sliding window of the physical layer, the data synchronization process is directly performed using the pre-configured time offset.

[0231] Way b: The data sent by the MAC layer falls outside the sliding window.

[0232] Optionally, when the data sent by the MAC layer is not detected within the time slot range corresponding to the sliding window, the pre-configured time offset is adjusted according to the timing relationship between the data sent by the MAC layer and the sliding window; according to the adjusted time offset, the target time slot is determined from the time slot range.

[0233] In implementation, when the data sent by the MAC layer falls outside the sliding window of the physical layer, a time calibration message is triggered, and a flag bit "too early" or "too late" can be set and then reported to the MAC layer. The MAC layer adjusts the pre-configured time offset by delaying or advancing according to the result reported by the PHY.

[0234] In implementation, in the following way, the pre-configured time offset is adjusted according to the timing relationship between the data sent by the MAC layer and the sliding window:

[0235] When it is detected that the receiving time slot where the data sent by the MAC layer is located is before the earliest time slot corresponding to the sliding window, the pre-configured time offset is adjusted by delaying.

[0236] When it is detected that the receiving time slot where the data sent by the MAC layer is located is after the earliest time slot corresponding to the sliding window, the pre-configured time offset is adjusted in advance.

[0237] In some embodiments, the second device is specifically configured to:

[0238] Adjust the pre-configured time offset by using the time delay of the data transmitted between the second device and the first device.

[0239] In implementation, the specific adjustment method is adjusted based on the time delay of the data transmitted between the MAC layer and the physical layer. The specific adjustment process of the second device is as follows:

[0240] Determine the first time delay of the data transmitted between the second device and the first device with respect to the start frame and start time slot of the MAC layer, and the second time delay with respect to the start frame and start time slot of the physical layer;

[0241] Adjust the pre-configured time offset according to the first time delay and the second time delay.

[0242] In implementation, the transmission delay between the MAC and the PHY can be measured in real time through the link delay management function, and the timing reference difference between the two can be established. Update the time slot number based on the time offset offset determined by the MAC.

[0243] As Figure 4 shown, this embodiment provides a schematic diagram of the delay deviation between distributed base stations. Assume that the time of the start TTI (Transmission Time Interval) of the 10ms frame of the MAC layer is 0, (SFN = 0, SL = 0); assume that the offset of the start TTI of the 10ms frame of the PHY layer relative to the TTI of the 10ms frame of the MAC layer is offset; assume that the transmission delay of the network is delay, and the transmission delays of the uplink and downlink are the same. t1 and t4 represent the time differences with respect to the start frame number 0 and time slot number 0 of the MAC, that is, the first time delay; t2 and t3 represent the time differences with respect to the start frame number 0 and time slot number 0 of the PHY, that is, the second time delay; the offset offset and the transmission delay delay are calculated through the following formula:

[0244] Delay = [(t4 - t3) + (t2 - t1)] / 2; offset = [(t4 - t3) - (t2 - t1)] / 2; Formula (1);

[0245] In Formula (1), t1 and t4 represent the first time delays relative to the start frame and start time slot of the MAC layer, t2 and t3 represent the second time delays relative to the start frame and start time slot of the physical layer, and offset represents the offset. Through the above formula, the MAC layer calculates the transmission delay delay between the MAC and the PHY and the offset of the start TTI of the 10 ms frame of the MAC relative to the start TTI time of the 10 ms of the PHY.

[0246] In implementation, according to the calculated offset, the pre-configured time offset is adjusted.

[0247] The derivation process of the above Formula (1) is as follows:

[0248] T2 + offset = t1 + delay => delay - offset = t2 - t1;

[0249] T4 = t3 + offset + delay => delay + offset = t4 - t3;

[0250] Among them, "=>" means derived, that is, after transforming the formula T2 + offset = t1 + delay, delay - offset = t2 - t1 is obtained; after transforming the formula T4 = t3 + offset + delay, delay + offset = t4 - t3 is obtained; through the formula delay - offset = t2 - t1 and the formula delay + offset = t4 - t3, delay and offset are solved.

[0251] In some embodiments, the first device is specifically further configured to determine whether data is detected within the time slots corresponding to the sliding window in the following manner, and is used to avoid the ping-pong effect through smoothing processing. The specific processing process is as follows:

[0252] Obtain the current data and consecutive multi-frame historical data before the current data, perform smoothing filtering processing on the consecutive multi-frame historical data to obtain filtered data;

[0253] Determine whether the current data is detected within the time slots according to whether the filtered data is detected within the time slots.

[0254] In some embodiments, multiple bearer network nodes are provided between the physical layer and the MAC layer; this embodiment can also perform traffic control through state feedback to avoid congestion and reduce the transmission jitter delay. The second device is specifically further configured to:

[0255] Obtain the network status of each bearer network node; perform traffic control on each bearer network node according to the network status of each bearer network node.

[0256] Optionally, the network status in this embodiment includes but is not limited to link bandwidth, congestion status, cache status, etc.

[0257] In some embodiments, the second device is specifically configured to perform traffic control on each bearer network node according to the network status of each bearer network node in the following manner:

[0258] Determine the remaining bandwidth status of the transmission bandwidth according to the network status of each bearer network node; perform scaling control on the peak rate in proportion according to the remaining bandwidth status of the transmission bandwidth.

[0259] During implementation, as Figure 5 shown, a schematic diagram of a traffic control strategy between distributed base stations is provided. There are multiple bearer network nodes set between the MAC layer and the PHY layer: each bearer network node can periodically report the network status and finally feedback it to the MAC layer. When the MAC layer performs data service scheduling, it can decrease or increase the peak rate in proportion according to the remaining bandwidth status of the transmission bandwidth to avoid congestion and reduce the transmission jitter delay.

[0260] During implementation, to avoid severe jitter of the data volume, the scaling strategy of the scheduler needs to introduce a smoothing filter strategy to avoid severe traffic jitter. The second device is specifically further configured to execute the following smoothing processing flow:

[0261] Obtain the historical network status of each bearer network node within a historical period;

[0262] For each bearer network node, perform smoothing filter processing on the historical network status of the bearer network node to obtain the filtered network status corresponding to each bearer network node;

[0263] Perform traffic control on each bearer network node according to the filtered network status corresponding to each bearer network node.

[0264] Based on the same inventive concept, the embodiment of the present invention further provides a data transmission method. As Figure 6 shown, the data transmission method is applied to a first device, and the first device corresponds to the physical layer. The method specifically performs the following steps:

[0265] Step 600: Receive the data sent by the second device within the time slot range corresponding to the sliding window by using a pre-configured sliding window; wherein the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0266] As an alternative implementation, the size of the sliding window is determined based on the jitter data of the link delay between the physical layer and the MAC layer.

[0267] The link delay jitter data includes synchronization frame data. Specifically, the first device determines the size of the sliding window in the following manner:

[0268] Collect the synchronization frame data transmitted between the physical layer and the MAC layer during a historical period, predict the collected synchronization frame data through a neural network, and determine the size of the sliding window according to the prediction result.

[0269] As an alternative implementation, receiving the data sent by the second device within the time slot range corresponding to the sliding window includes:

[0270] Determine whether data is detected within the time slot range corresponding to the sliding window, and receive the data within the time slot range corresponding to the sliding window according to the detection result.

[0271] As an alternative implementation, receiving the data within the time slot range corresponding to the sliding window according to the detection result includes:

[0272] When data is detected within the time slot range corresponding to the sliding window, receive the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

[0273] As an alternative implementation, receiving the data within the time slot range corresponding to the sliding window according to the detection result includes:

[0274] When data is not detected within the time slot range corresponding to the sliding window, determine the timing relationship of the data relative to the sliding window, and send the timing relationship to the second device for instructing the second device to adjust the pre-configured time offset according to the timing relationship;

[0275] Receive the adjusted time offset sent by the second device, and receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0276] As an alternative implementation, determine whether data is detected within the time slot range corresponding to the sliding window in the following manner:

[0277] Obtain the current data and multiple consecutive frames of historical data before the current data, perform smoothing filtering on the multiple consecutive frames of historical data to obtain filtered data;

[0278] Determine whether the current data is detected within the time slot range according to whether the filtered data is detected within the time slot range.

[0279] As an optional implementation, the data is received according to the time offset in the following manner:

[0280] Determine a target time slot within the time slot range corresponding to the sliding window according to a pre-configured time offset;

[0281] Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

[0282] Based on the same inventive concept, an embodiment of the present invention further provides a data transmission method, as Figure 7 shown, the data transmission method is applied to a second device, and the second device corresponds to the MAC layer. The specific implementation process of this method is as follows:

[0283] Step 700: Send data to a first device to instruct the first device to use a pre-configured sliding window to receive the data within the time slot range corresponding to the sliding window; wherein the first device corresponds to the physical layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0284] As an optional implementation, this method further includes:

[0285] Receive the timing relationship of the data sent by the first device relative to the sliding window;

[0286] Adjust the pre-configured time offset according to the timing relationship, and send the adjusted time offset to the first device to instruct the first device to receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0287] As an optional implementation, the adjusting the pre-configured time offset according to the timing relationship includes:

[0288] If the timing relationship includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, increase the pre-configured time offset; or,

[0289] If the timing relationship includes that the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window, decrease the pre-configured time offset.

[0290] As an optional implementation, the adjusting the pre-configured time offset includes:

[0291] Adjust a pre-configured time offset based on the time delay of data transmitted between itself and a first device.

[0292] As an alternative implementation, the adjusting a pre-configured time offset based on the time delay of data transmitted between itself and a first device includes:

[0293] Determine a first time delay of data transmitted between itself and the first device relative to the start frame and start time slot of the MAC layer, and a second time delay relative to the start frame and start time slot of the physical layer;

[0294] Adjust the pre-configured time offset according to the first time delay and the second time delay.

[0295] As an alternative implementation, a plurality of bearer network nodes are provided between the MAC layer and the physical layer; the method further includes:

[0296] Obtain the network status of each of the plurality of bearer network nodes;

[0297] Perform traffic control on each bearer network node according to the network status of each bearer network node.

[0298] As an alternative implementation, the performing traffic control on each bearer network node according to the network status of each bearer network node includes:

[0299] Determine the surplus status of the transmission bandwidth according to the network status of each bearer network node;

[0300] Perform scaling control on the peak rate in proportion according to the surplus status of the transmission bandwidth.

[0301] As an alternative implementation, the method further includes:

[0302] Obtain the historical network status of each of the plurality of bearer network nodes within a historical period;

[0303] For each bearer network node, perform smoothing filtering on the historical network status of the bearer network node to obtain a filtered network status corresponding to each bearer network node;

[0304] Perform traffic control on each bearer network node according to the filtered network status corresponding to each bearer network node.

[0305] Based on the same inventive concept, an embodiment of the present invention further provides a network device. Since this network device is the device in the method of the embodiment of the present invention, and the principle of this network device to solve problems is similar to that of the method, the implementation of this network device can refer to the implementation of the method, and the repeated parts will not be described again.

[0306] AsFigure 8 As shown, the network device includes a processor 800 and a memory 801. The memory 801 is used to store programs executable by the processor 800, and the processor 800 is used to read the programs in the memory 801 and execute the following steps:

[0307] Use a pre-configured sliding window to receive data sent by a second device within the time slot range corresponding to the sliding window; wherein the first device corresponds to the physical layer, the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0308] As an optional implementation manner, the size of the sliding window is determined based on the jitter data of the link delay between the physical layer and the MAC layer.

[0309] As an optional implementation manner, the processor 800 is specifically configured to execute:

[0310] Determine whether data is detected within the time slot range corresponding to the sliding window, and receive the data within the time slot range corresponding to the sliding window according to the detection result.

[0311] As an optional implementation manner, the processor 800 is specifically configured to execute:

[0312] When data is detected within the time slot range corresponding to the sliding window, receive the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

[0313] As an optional implementation manner, the processor 800 is specifically configured to execute:

[0314] When no data is detected within the time slot range corresponding to the sliding window, determine the timing relationship of the data relative to the sliding window, and send the timing relationship to the second device for instructing the second device to adjust the pre-configured time offset according to the timing relationship;

[0315] Receive the adjusted time offset sent by the second device, and receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0316] As an optional implementation manner, the processor 800 is specifically configured to determine whether data is detected within the time slot range corresponding to the sliding window in the following manner:

[0317] Obtain the current data and a continuous multi-frame historical data before the current data, perform a smoothing filtering process on the continuous multi-frame historical data to obtain filtered data;

[0318] Determine whether the current data is detected within the time slot range according to whether the filtered data is detected within the time slot range.

[0319] As an optional implementation manner, the processor 800 is specifically configured to receive the data according to the time offset in the following manner:

[0320] Determine a target time slot within the time slot range corresponding to the sliding window according to a pre-configured time offset;

[0321] Receive the data on the target time slot to implement data synchronization between the physical layer and the MAC layer.

[0322] Based on the same inventive concept, an embodiment of the present invention further provides a network device. Since this network device is the device in the method of the embodiment of the present invention, and the principle of this network device to solve problems is similar to that of the method, the implementation of this network device can refer to the implementation of the method, and the repeated parts will not be described again.

[0323] As Figure 9 shown, the network device includes a processor 900 and a memory 901. The memory 901 is used to store programs executable by the processor 900. The processor 900 is used to read the programs in the memory 901 and execute the following steps:

[0324] Send data to a first device to instruct the first device to receive the data within the time slot range corresponding to the sliding window by using a pre-configured sliding window; wherein the first device corresponds to the physical layer, the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0325] As an optional implementation manner, the processor 900 is specifically further configured to execute:

[0326] Receive the timing relationship of the data sent by the first device relative to the sliding window;

[0327] Adjust the pre-configured time offset according to the timing relationship, and send the adjusted time offset to the first device to instruct the first device to receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0328] As an optional implementation manner, the processor 900 is specifically configured to execute:

[0329] If the timing relationship includes that the reception time slot where the data is located is before the earliest time slot corresponding to the sliding window, increase the pre-configured time offset; or,

[0330] If the timing relationship includes that the reception time slot where the data is located is after the latest time slot corresponding to the sliding window, decrease the pre-configured time offset.

[0331] As an alternative implementation, the processor 900 is specifically configured to execute:

[0332] Adjust the pre-configured time offset by using the time delay of the data transmitted between itself and the first device.

[0333] As an alternative implementation, the processor 900 is specifically configured to execute:

[0334] Determine the first time delay of the data transmitted between itself and the first device with respect to the start frame and start time slot of the MAC layer, and the second time delay with respect to the start frame and start time slot of the physical layer;

[0335] Adjust the pre-configured time offset according to the first time delay and the second time delay.

[0336] As an alternative implementation, a plurality of bearer network nodes are provided between the MAC layer and the physical layer; the processor 900 is specifically further configured to execute:

[0337] Obtain the network status of each of the plurality of bearer network nodes;

[0338] Perform traffic control on each of the bearer network nodes according to the network status of each bearer network node.

[0339] As an alternative implementation, the processor 900 is specifically configured to execute:

[0340] Determine the margin status of the transmission bandwidth according to the network status of each bearer network node;

[0341] Perform scaling control on the peak rate in proportion according to the margin status of the transmission bandwidth.

[0342] As an alternative implementation, the processor 900 is specifically further configured to execute:

[0343] Obtain the historical network status of each of the plurality of bearer network nodes during a historical period;

[0344] For each bearer network node, perform smoothing filtering on the historical network status of the bearer network node to obtain the filtered network status corresponding to each bearer network node;

[0345] Perform traffic control on each bearer network node according to the filtering network status corresponding to each bearer network node.

[0346] An embodiment of the present invention further provides a data transmission device. Since this device is the device in the method of the embodiment of the present invention, and the principle of this device to solve problems is similar to that of this method, the implementation of this device can refer to the implementation of the method, and the repeated parts will not be elaborated.

[0347] As Figure 10 shown, the device includes:

[0348] A receiving unit 1000, configured to receive data sent by a second device within a time slot range corresponding to the sliding window by using a pre-configured sliding window;

[0349] Wherein the first device corresponds to the physical layer, the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0350] As an optional implementation manner, the size of the sliding window is determined based on the jitter data of the link delay between the physical layer and the MAC layer.

[0351] As an optional implementation manner, the receiving unit 1000 is specifically configured to:

[0352] Determine whether data is detected within the time slot range corresponding to the sliding window, and receive the data within the time slot range corresponding to the sliding window according to the detection result.

[0353] As an optional implementation manner, the receiving unit 1000 is specifically configured to:

[0354] When data is detected within the time slot range corresponding to the sliding window, receive the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

[0355] As an optional implementation manner, the receiving unit 1000 is specifically configured to:

[0356] When no data is detected within the time slot range corresponding to the sliding window, determine the timing relationship of the data relative to the sliding window, and send the timing relationship to the second device for instructing the second device to adjust the pre-configured time offset according to the timing relationship;

[0357] Receive the adjusted time offset sent by the second device, and receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0358] As an alternative implementation, the receiving unit 1000 is specifically configured to determine whether data is detected within the time slot range corresponding to the sliding window in the following manner:

[0359] Obtain the current data and a continuous number of frames of historical data before the current data, perform smoothing filtering on the continuous number of frames of historical data to obtain filtered data;

[0360] Determine whether the current data is detected within the time slot range according to whether the filtered data is detected within the time slot range.

[0361] As an alternative implementation, the receiving unit 1000 is specifically configured to receive the data according to the time offset in the following manner:

[0362] Determine a target time slot within the time slot range corresponding to the sliding window according to a pre-configured time offset;

[0363] Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

[0364] An embodiment of the present invention further provides a data transmission device. Since this device is the device in the method of the embodiment of the present invention, and the principle of this device to solve problems is similar to that of this method, the implementation of this device can refer to the implementation of the method, and the repeated parts will not be described again.

[0365] As Figure 11 shown, the device includes:

[0366] A sending unit 1100, configured to send data to a first device, for instructing the first device to use a pre-configured sliding window to receive the data within the time slot range corresponding to the sliding window;

[0367] Wherein the first device corresponds to the physical layer, the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

[0368] As an alternative implementation, it further includes an adjustment unit specifically configured to:

[0369] Receive the timing relationship between the data sent by the first device and the sliding window;

[0370] Adjust the pre-configured time offset according to the timing relationship, and send the adjusted time offset to the first device, for instructing the first device to receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

[0371] As an optional implementation manner, the adjustment unit is specifically configured to:

[0372] If the timing relationship includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, increase the pre-configured time offset; or,

[0373] If the timing relationship includes that the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window, decrease the pre-configured time offset.

[0374] As an optional implementation manner, the adjustment unit is specifically configured to:

[0375] Adjust the pre-configured time offset by using the transmission delay of the data between itself and the first device.

[0376] As an optional implementation manner, the adjustment unit is specifically configured to:

[0377] Determine the first delay of the data transmitted between itself and the first device relative to the start frame and start time slot of the MAC layer, and the second delay relative to the start frame and start time slot of the physical layer;

[0378] Adjust the pre-configured time offset according to the first delay and the second delay.

[0379] As an optional implementation manner, there are multiple bearer network nodes provided between the MAC layer and the physical layer; the traffic control unit further specifically configured to:

[0380] Obtain the network status of each of the multiple bearer network nodes;

[0381] Perform traffic control on each of the bearer network nodes according to the network status of each bearer network node.

[0382] As an optional implementation manner, the traffic control unit is specifically configured to:

[0383] Determine the margin status of the transmission bandwidth according to the network status of each bearer network node;

[0384] Perform scaling control on the peak rate in proportion according to the margin status of the transmission bandwidth.

[0385] As an optional implementation manner, the traffic control unit is further specifically configured to:

[0386] Obtain the historical network status of each bearer network node within a historical period;

[0387] For each bearer network node, perform smoothing filtering on the historical network status of the bearer network node to obtain the filtered network status corresponding to each bearer network node;

[0388] Perform traffic control on each bearer network node according to the filtered network status corresponding to each bearer network node.

[0389] Based on the same inventive concept, an embodiment of the present disclosure provides a computer storage medium. The computer storage medium includes: computer program code, which when running on a computer, causes the computer to execute any of the data transmission methods discussed above. Since the principle of the above computer storage medium for solving problems is similar to that of the data transmission method, the implementation of the above computer storage medium can refer to the implementation of the method, and the repeated parts will not be elaborated.

[0390] In a specific implementation process, the computer storage medium may include: a universal serial bus flash drive (USB, Universal Serial Bus Flash Drive), a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc, etc., various storage media that can store program code.

[0391] Based on the same inventive concept, an embodiment of the present disclosure further provides a computer program product. The computer program product includes: computer program code, which when running on a computer, causes the computer to execute any of the data transmission methods discussed above. Since the principle of the above computer program product for solving problems is similar to that of the data transmission method, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be elaborated.

[0392] The computer program product may adopt any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0393] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories and optical memories, etc.) that contain computer-usable program code.

[0394] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices produce a device for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0395] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing devices to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device that implements the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0396] These computer program instructions can also be loaded onto a computer or other programmable data processing devices, such that a series of operation steps are executed on the computer or other programmable devices to generate a computer-implemented process, so that the instructions executed on the computer or other programmable devices provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0397] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.

Claims

1. A communication system, characterized in that, The communication system includes a first device corresponding to the physical layer and a second device corresponding to the media access control (MAC) layer. The first device and the second device are distributedly deployed and establish a communication connection. Among them: The second device sends data to the first device. The first device uses a pre-configured sliding window to receive the data sent by the second device within the time slot range corresponding to the sliding window. The sliding window is determined based on the link delay between the physical layer and the MAC layer.

2. The system according to claim 1, wherein The size of the sliding window is determined based on the link delay jitter data between the physical layer and the MAC layer.

3. The system according to claim 2, characterized in that, The link delay jitter data includes synchronization frame data. The first device specifically determines the size of the sliding window in the following manner: Collect the synchronization frame data transmitted between the physical layer and the MAC layer during a historical period, predict the collected synchronization frame data through a neural network, and determine the size of the sliding window according to the prediction result.

4. The system according to claim 1, wherein The first device determines whether data is detected within the time slot range corresponding to the sliding window, and receives the data within the time slot range corresponding to the sliding window according to the detection result.

5. The system according to claim 4, characterized in that The first device specifically is used for: When the first device detects data within the time slot range corresponding to the sliding window, it receives the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

6. The system according to claim 4, wherein When the first device does not detect data within the time slot range corresponding to the sliding window, it determines the timing relationship of the data relative to the sliding window and sends the timing relationship to the second device; The second device adjusts the pre-configured time offset according to the timing relationship and sends the adjusted time offset to the first device; The first device receives the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

7. The system according to claim 6, wherein The second device specifically is used for: If the timing relationship includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, the second device increases the pre-configured time offset; or If the timing relationship includes that the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window, the second device decreases the pre-configured time offset.

8. The system according to claim 6, wherein The second device specifically is used for: Adjust the pre-configured time offset by using the delay of the data transmitted between the second device and the first device.

9. The system according to claim 8, wherein The second device specifically is used for: Determine the first delay of the data transmitted between the second device and the first device relative to the start frame and start time slot of the MAC layer, and the second delay relative to the start frame and start time slot of the physical layer; Adjust the pre-configured time offset according to the first delay and the second delay.

10. The system according to claim 4, wherein The first device specifically further determines whether data is detected within the time slot range corresponding to the sliding window in the following manner: Obtain the current data and multiple consecutive frames of historical data before the current data, perform smoothing filtering on the multiple consecutive frames of historical data to obtain filtered data; Determine whether the current data is detected within the time slot range according to whether the filtered data is detected within the time slot range.

11. The system according to claim 5 or 6, characterized in that, The first device is specifically configured to receive the data according to the time offset in the following manner: Determine a target time slot within the time slot range corresponding to the sliding window according to the time offset; Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

12. The system according to any one of claims 1 to 10, characterized in that, There are multiple bearer network nodes provided between the physical layer and the MAC layer; the second device is specifically further configured to: Obtain the network status of each of the multiple bearer network nodes; Perform traffic control on each bearer network node according to the network status of each bearer network node.

13. The system according to claim 12, characterized in that, The second device is specifically configured to: Determine the margin status of the transmission bandwidth according to the network status of each bearer network node; Perform scaling control on the peak rate in proportion according to the margin status of the transmission bandwidth.

14. The system according to claim 12, wherein The second device is specifically further configured to: Obtain the historical network status of each of the multiple bearer network nodes within a historical period; For each bearer network node, perform smoothing filtering on the historical network status of the bearer network node to obtain the filtered network status corresponding to each bearer network node; Perform traffic control on each bearer network node according to the filtered network status corresponding to each bearer network node.

15. A data transmission method, characterized in that, The data transmission method is applied to a first device, and the first device corresponds to the physical layer. The method includes: Receive data sent by a second device within the time slot range corresponding to a pre-configured sliding window; wherein the second device corresponds to the MAC layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

16. The method according to claim 15, characterized in that, The size of the sliding window is determined based on the jitter data of the link delay between the physical layer and the MAC layer.

17. The method according to claim 15, wherein The receiving the data sent by the second device within the time slot range corresponding to the sliding window includes: Determine whether data is detected within the time slot range corresponding to the sliding window, and receive the data within the time slot range corresponding to the sliding window according to the detection result.

18. The method according to claim 17, wherein The receiving the data within the time slot range corresponding to the sliding window according to the detection result includes: When data is detected within the time slot range corresponding to the sliding window, receive the data within the time slot range corresponding to the sliding window according to a pre-configured time offset, where the time offset is determined based on the link delay between the physical layer and the MAC layer.

19. The method according to claim 17, wherein The receiving the data within the time slot range corresponding to the sliding window according to the detection result includes: When data is not detected within the time slot range corresponding to the sliding window, determine the timing relationship of the data relative to the sliding window, and send the timing relationship to the second device for instructing the second device to adjust the pre-configured time offset according to the timing relationship. Receive the adjusted time offset sent by the second device, and receive the data within the time slot range corresponding to the sliding window according to the adjusted time offset.

20. The method according to claim 17, wherein Determine whether data is detected within the time slot range corresponding to the sliding window in the following manner: Obtain the current data and multiple consecutive frames of historical data before the current data, perform smoothing filtering on the multiple consecutive frames of historical data to obtain filtered data; Determine whether the current data is detected within the time slot range according to whether the filtered data is detected within the time slot range.

21. The method according to claim 18 or 19, characterized in that, Receive the data according to the time offset in the following manner: Determine the target time slot within the time slot range corresponding to the sliding window according to the pre-configured time offset; Receive the data on the target time slot to achieve data synchronization between the physical layer and the MAC layer.

22. A data transmission method, characterized in that, The data transmission method is applied to the second device, and the second device corresponds to the MAC layer. The method includes: Send data to the first device to instruct the first device to receive the data within the time slot range corresponding to the pre-configured sliding window; wherein the first device corresponds to the physical layer, the first device and the second device are distributedly deployed, and the sliding window is determined based on the link delay between the physical layer and the MAC layer.

23. The method according to claim 22, wherein The method further includes: Receive the timing relationship between the data sent by the first device and the sliding window; Adjust the pre-configured time offset according to the timing relationship, and send the adjusted time offset to the first device to instruct the first device to receive the data within the time slot range corresponding to the adjusted time offset.

24. The method according to claim 23, wherein The adjusting the pre-configured time offset according to the timing relationship includes: If the timing relationship includes that the receiving time slot where the data is located is before the earliest time slot corresponding to the sliding window, increase the pre-configured time offset; or, If the timing relationship includes that the receiving time slot where the data is located is after the latest time slot corresponding to the sliding window, decrease the pre-configured time offset.

25. The method according to claim 23, wherein The adjusting the pre-configured time offset includes: Adjust the pre-configured time offset by using the delay of the data transmitted between itself and the first device.

26. The method according to claim 25, wherein The adjusting the pre-configured time offset by using the delay of the data transmitted between itself and the first device includes: Determine the first delay of the data transmitted between itself and the first device with respect to the start frame and start time slot of the MAC layer, and the second delay with respect to the start frame and start time slot of the physical layer; Adjust the pre-configured time offset according to the first delay and the second delay.

27. The method according to any one of claims 22 to 26, characterized in that There are multiple bearer network nodes between the MAC layer and the physical layer; the method further includes: Obtain the network status of each of the multiple bearer network nodes; Perform traffic control on each bearer network node according to the network status of each bearer network node.

28. The method according to claim 27, wherein The performing traffic control on each bearer network node according to the network status of each bearer network node includes: Determine the surplus status of the transmission bandwidth according to the network status of each bearer network node; Scale the peak rate proportionally according to the remaining bandwidth status of the transmission.

29. The method according to claim 27, wherein The method further includes: Obtain the historical network status of each bearer network node within a historical period; For each bearer network node, perform a smoothing filtering process on the historical network status of the bearer network node to obtain the filtered network status corresponding to each bearer network node; Perform traffic control on each bearer network node according to the filtered network status corresponding to each bearer network node.

30. A network device, characterized in that, The network device includes a processor and a memory. The memory is used to store programs executable by the processor, and the processor is used to read the programs in the memory and execute the steps of the method according to any one of claims 15 to 29.

31. A computer storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, the steps of the method according to any one of claims 15 to 29 are implemented.