Slave device, master device, communication system, and data transmission method

By using wireless transmission time information for uplink time slot allocation in the wireless communication system, the delay problem caused by channel competition in a multi-device coexistence environment is solved, and the communication efficiency and reliability of WIFI are improved.

WO2024192994A1PCT designated stage expired Publication Date: 2024-09-26HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2023/120771
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-21
Filing Date
2023-09-22
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Multiple WIFI devices in homes or small campuses lead to serious channel competition due to co-channel or adjacent-channel interference, resulting in poor WIFI experience. The traditional CSMA/CA mechanism cannot effectively manage uplink delay, resulting in resource waste and unstable communication.

Method used

By transmitting wireless transmission time information between the slave device and the master device, the uplink time slot allocation is dynamically adjusted to ensure the accurate end time of uplink data transmission, reduce delay and improve communication reliability.

Benefits of technology

It effectively reduces the STA's uplink delay, improves communication efficiency and reliability, reduces resource waste, and improves the WIFI experience in a multi-device coexistence environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023120771_26092024_PF_FP
    Figure CN2023120771_26092024_PF_FP
Patent Text Reader

Abstract

The present application provides a first slave device, applied to the field of wireless communications. The first slave device comprises a receiver and a transmitter. The transmitter is used for sending a first trigger frame to a first STA. The first trigger frame is used for instructing the first STA to upload first uplink data. The first slave device is associated with the first STA. Before receiving the first uplink data, the transmitter is further used for sending the size of target data to a master device. The target data comprises the first uplink data. The receiver is used for receiving information of an uplink time slot from the master device, wherein the uplink time slot is obtained according to the size of the target data. The receiver is further used for receiving the first uplink data from the first STA. The transmitter is further used for transmitting the first uplink data to the master device in the uplink time slot. According to the present application, time slot allocation of next-stage scheduling is performed by means of the first uplink data that is not received, and thus, uplink delay of an STA can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Slave device, master device, communication system and data transmission method

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 21, 2023, with application number CN202310310088.6 and application name “Slave device, master device, communication system and data transmission method”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of wireless communications, and in particular to a slave device, a master device, a communication system, and a data transmission method. Background Art

[0003] As people's demands for home broadband quality grow, a single access point (AP) is insufficient to provide adequate coverage within the home. More and more households are adopting multiple AP networks to enhance home network quality. Small campuses or small businesses often directly adopt multiple AP networks for wireless network coverage. An access controller (AC) connects multiple APs via a switch, and these APs are deployed in different rooms of a home or different areas of a campus to provide Wi-Fi access. Alternatively, in a fiber-to-the-room (FTTR) scenario, a master FTTR device connects to multiple slave FTTRs via an optical splitter. These slave FTTRs are deployed in different rooms or different areas of a campus, providing Wi-Fi access. Wi-Fi signals (such as 2.4GHz, 5.2GHz, and 5.8GHz) have strong wall penetration, resulting in significant co-channel and adjacent-channel interference between multiple Wi-Fi devices within a home. In large campuses or businesses, this interference is even greater. Wi-Fi uses the carrier sense multiple access with collision avoidance (CSMA / CA) mechanism defined in the traditional 802.11 protocol to compete for channels. When there is co-channel or adjacent channel interference, multiple Wi-Fi devices compete for air interface resources simultaneously, resulting in a very poor Wi-Fi experience.

[0004] Summary of the Invention

[0005] The present application provides a slave device, a master device, a communication system and a data transmission method, which can reduce the uplink delay of a station (STA) by allocating time slots for the next level of scheduling through first uplink data that has not yet been received.

[0006] The first aspect of the present application provides a first slave device. The first slave device includes a receiver and a transmitter. The transmitter is used to send a first trigger frame to the first STA. The first trigger frame is used to instruct the first STA to upload the first uplink data. The first slave device is associated with the first STA. Before receiving the first uplink data, the transmitter is also used to send the size of the target data to the master device. The first slave device may not have started to receive the first uplink data, or may have received part of the first uplink data. The target data includes the first uplink data. The receiver is used to receive information about the uplink time slot from the master device. The uplink time slot is obtained based on the size of the target data. The receiver is also used to receive the first uplink data from the first STA. The transmitter is also used to transmit the first uplink data to the master device in the uplink time slot.

[0007] In an optional manner of the first aspect, the transmitter is further used to send wireless transmission time information to the master device. The wireless transmission time information includes the wireless transmission time information of the first trigger frame or the first uplink data. The uplink time slot is obtained based on the size of the target data and the wireless transmission time information. If the master device allocates an uplink time slot to the first slave device only based on the size of the target data, it may cause the window opening time of the uplink time slot to be earlier than the end time of the wireless transmission of the first uplink data, thereby resulting in a waste of the uplink time slot. In the present application, through the wireless transmission time information, the master device can obtain the end time of the wireless transmission of the first uplink data, thereby allocating a more accurate uplink time slot to the first slave device. Therefore, the present application can save transmission resources.

[0008] In an optional embodiment of the first aspect, the transmitter is configured to send a first trigger frame to a first STA at a first moment. The wireless transmission time information of the first trigger frame includes information about the first moment and the wireless transmission duration of the first trigger frame. The master device may determine the wireless transmission end time of the first uplink data based on the transmission duration of the first trigger frame, the first moment, and the size of the first uplink data, and allocate an uplink time slot to the first slave device based on the wireless transmission end time and the size of the target data. In actual applications, the first slave device may also determine the wireless transmission end time of the first uplink data based on the first moment, the transmission duration of the first trigger frame, and the size of the first uplink data. The first slave device sends the wireless transmission end time to the master device. However, the clocks of the master device and the first slave device may be out of sync, resulting in a difference between the wireless transmission end time obtained by the first slave device and the wireless transmission end time obtained by the master device. An inaccurate wireless transmission end time may result in an incorrect uplink time slot, thereby reducing communication reliability. Therefore, the present application can improve communication reliability.

[0009] In an optional embodiment of the first aspect, the receiver is further configured to receive a first trigger frame from the master device. In some application scenarios, the first slave device may not have complete wireless functionality and thus cannot generate the first trigger frame. Therefore, the present application can improve the generalizability of the technical solution.

[0010] In an optional embodiment of the first aspect, the first slave device further includes a processor. The processor is configured to split the first uplink data into multiple uplink sub-data. The uplink time slot includes multiple discontinuous time periods. The transmitter is configured to transmit the multiple uplink sub-data to the master device during the multiple time periods. The multiple time periods correspond one-to-one to the multiple uplink sub-data. By splitting the first uplink data into multiple uplink sub-data, the granularity of the uplink time slots allocated by the master device can be reduced, thereby reducing the uplink latency of other data.

[0011] In an optional embodiment of the first aspect, the receiver is further configured to receive a first uplink control instruction from the master device and perform air interface contention according to the first uplink control instruction. After the air interface contention is successful, the transmitter is configured to send a first trigger frame to the first STA. Control of the air interface contention by the master device can reduce the probability of air interface contention conflicts, thereby improving communication efficiency.

[0012] In an optional embodiment of the first aspect, before receiving the first uplink control instruction, the first slave device is in a silent state. The first slave device in the silent state does not engage in air interface contention. Therefore, air interface scheduling using control instructions can reduce the probability of air interface conflicts. Therefore, the present application can improve communication efficiency.

[0013] In an optional manner of the first aspect, wired communication is performed between the master device and the first slave device, and wireless communication is performed between the first slave device and the first STA.

[0014] The second aspect of the present application provides a master device. The master device includes a processor and a transceiver. The transceiver is used to receive the size of target data from a first slave device. The first slave device can carry the size of the target data through a first reply frame. The first slave device is associated with a first STA. The target data includes first uplink data that has not yet been received by the first slave device. Particularly, at the second moment when the first slave device sends the first reply frame, the first slave device may not have started to receive the first uplink data, or may have received part of the first uplink data. The first uplink data is sent by the first STA according to the first trigger frame. The processor is used to allocate an uplink time slot to the first slave device according to the size of the target data. The transceiver is also used to send uplink time slot information to the first slave device, and receive the first uplink data from the first slave device in the uplink time slot.

[0015] In an optional manner of the second aspect, the transceiver is further configured to receive wireless transmission time information from the first slave device. The wireless transmission time information includes wireless transmission time information of the first trigger frame or the first uplink data. The processor is configured to allocate an uplink time slot to the first slave device based on the size of the target data and the wireless transmission time information.

[0016] In an optional manner of the second aspect, the wireless transmission time information of the first trigger frame includes information about a first moment and a wireless transmission duration of the first trigger frame. The first moment is the moment when the first slave device transmits the first trigger frame. The processor is configured to determine a wireless transmission end time of the first uplink data based on the transmission duration of the first trigger frame, the first moment, and the size of the first uplink data, and allocate an uplink time slot to the first slave device based on the wireless transmission end time and the size of the target data.

[0017] In an optional manner of the second aspect, the processor is further configured to generate a first trigger frame, and the transceiver is further configured to transmit the first trigger frame to the first slave device.

[0018] In an optional embodiment of the second aspect, the uplink timeslot includes multiple discontinuous time periods. The transceiver is further configured to receive multiple uplink sub-data from the first slave device during the multiple time periods. The multiple time periods correspond to the multiple uplink sub-data in a one-to-one manner. The processor is further configured to combine the multiple uplink sub-data to obtain first uplink data.

[0019] In an optional manner of the second aspect, the processor is further configured to generate a first uplink control frame based on an air interface transmission order of at least one slave device. The transceiver is further configured to send a first uplink control instruction to the first slave device. The first uplink control instruction is configured to instruct the first slave device to perform air interface contention and, upon successful completion of the air interface contention, to send a first trigger frame to the first STA. The at least one slave device includes the first slave device.

[0020] In an optional embodiment of the second aspect, at least one slave device further includes a second slave device. The transceiver is configured to receive a first reply frame from the first slave device. The first reply frame includes the size of the target data. Based on the first reply frame, the transceiver is further configured to send a second control instruction to the second slave device according to an air interface transmission order. The second control instruction is configured to instruct the second slave device to perform air interface contention and air interface transmission. Sending the second control instruction by triggering the first reply frame can reduce the probability of air interface contention conflicts, thereby improving communication efficiency.

[0021] In an optional manner of the second aspect, the second slave device is associated with a second STA. The second control instruction is a second uplink control instruction or a second downlink control instruction. The second uplink control instruction is used to instruct the second slave device to perform air interface contention and, upon successful air interface contention, send a second trigger frame to the second STA. The second trigger frame is used to instruct the second STA to upload second uplink data. The second downlink control instruction is used to instruct the second slave device to perform air interface contention and, upon successful air interface contention, send second downlink data to the second STA.

[0022] In an optional manner of the second aspect, the moment when the first slave device sends the first reply frame is the second moment. The moment when the second slave device receives the second control instruction is the third moment. The interval between the second moment and the third moment is less than or equal to 64 microseconds. By controlling the time interval between the second moment and the third moment, the second slave device can receive the control instruction before the wireless transmission of the first uplink data ends. If the second slave device receives the control instruction after the last air interface transmission ends, it will cause idle time in the air interface. Therefore, the present application can reduce the air interface idle time, thereby improving the transmission efficiency of the air interface.

[0023] In an optional manner of the second aspect, the third moment is within a wireless transmission time period of the first uplink data. If the second slave device receives the control instruction after the previous air interface transmission ends, idle time may occur on the air interface. Therefore, the present application can reduce the air interface idle time, thereby improving air interface transmission efficiency.

[0024] In an optional manner of the second aspect, a control frame is transmitted between the master device and the first slave device and the second slave device via a passive optical network (PON) protocol, an optical transport network (OTN) protocol, or a time-sensitive network (TSN) protocol. The control frame includes a first reply frame and a second control instruction. Transmitting the control frame via the above-mentioned protocol can control the time interval between the second moment and the third moment, thereby reducing air interface idle time and improving air interface transmission efficiency.

[0025] In an optional embodiment of the second aspect, the transceiver is further configured to receive multiple buffer information from at least one slave device and determine an air interface transmission order based on the multiple buffer information. The buffer information may include uplink buffer information and / or downlink buffer information. In this application, the master device performs air interface scheduling based on the multiple buffer information, thereby improving air interface transmission efficiency.

[0026] A third aspect of the present application provides a communication system. The communication system includes a master device and at least one slave device. The master device is connected to the at least one slave device. The at least one slave device includes a first slave device. The first slave device is associated with a first STA. The first slave device is used to send a first trigger frame to the first STA. The first trigger frame is used to instruct the first STA to upload first uplink data. Before receiving the first uplink data, the first slave device is also used to send the size of the target data to the master device. The target data includes the first uplink data. The master device is used to allocate an uplink time slot to the first slave device based on the size of the target data and the wireless transmission time information, and send the uplink time slot information to the first slave device. The first slave device is also used to receive the first uplink data from the first STA and transmit the first uplink data to the master device in the uplink time slot.

[0027] A fourth aspect of the present application provides a data transmission method. The data transmission method includes the following steps: a first slave device sends a first trigger frame to a first STA. The first trigger frame is used to instruct the first STA to upload first uplink data. The first slave device is associated with the first STA. Before receiving the first uplink data, the first slave device sends the size of the target data to the master device. The target data includes the first uplink data. The first slave device receives information about the uplink time slot from the master device. The uplink time slot is obtained based on the size of the target data. The first slave device receives the first uplink data from the first STA. The first slave device transmits the first uplink data to the master device in the uplink time slot.

[0028] A fifth aspect of the present application provides a data transmission method. The data transmission method includes the following steps: a master device receives the size of target data from a first slave device. The first slave device is associated with a first STA. The target data includes first uplink data that has not yet been received by the first slave device. The first uplink data is sent by the first STA based on a first trigger frame. The master device allocates an uplink time slot to the first slave device based on the size of the target data. The master device sends uplink time slot information to the first slave device. The master device receives the first uplink data from the first slave device in the uplink time slot.

[0029] A sixth aspect of the present application provides a communication system. An optical communication system master device and at least one slave device. The master device is connected to the at least one slave device. The at least one slave device includes a first slave device and a second slave device. The master device is configured to send a first control instruction to the first slave device according to the air interface transmission order of the at least one slave device. The first slave device is configured to perform air interface competition and air interface transmission according to the first control instruction. After the air interface competition is successful, the first slave device is further configured to send a first reply frame to the master device. Based on the first reply frame, the master device is further configured to send a second control instruction to the second slave device according to the air interface transmission order. The second slave device is configured to perform air interface competition and air interface transmission according to the second control instruction.

[0030] In an optional manner of the sixth aspect, the first control instruction is a first uplink control instruction. After the air interface competition is successful, the first slave device is also used to send a first trigger frame to the first STA. The first trigger frame is used to instruct the first STA to upload the first uplink data. The first STA is associated with the first slave device. The first reply frame includes the size of the target data. The target data includes the first uplink data. The master device is also used to allocate an uplink time slot to the first slave device according to the size of the target data, and send information about the uplink time slot to the first slave device. The first slave device is used to perform air interface transmission according to the first control instruction, including: the first slave device is used to receive the first uplink data from the first STA. The first slave device is also used to transmit the first uplink data to the master device in the uplink time slot.

[0031] In an optional manner of the sixth aspect, the first reply frame further includes wireless transmission time information. The wireless transmission time information includes wireless transmission time information of the first trigger frame or the first uplink data. The master device is further configured to allocate an uplink time slot to the first slave device based on the size of the target data and the wireless transmission time information.

[0032] In an optional manner of the sixth aspect, the first slave device is further configured to send a first trigger frame to the first STA, including: the first slave device is configured to send the first trigger frame to the first STA at a first moment. The wireless transmission time information of the first trigger frame includes information of the first moment and the wireless transmission duration of the first trigger frame. The master device is further configured to allocate an uplink time slot to the first slave device based on the size of the target data and the wireless transmission time information, including: the master device is configured to obtain a wireless transmission end time of the first uplink data based on the transmission duration of the first trigger frame, the first moment, and the size of the first uplink data, and allocate an uplink time slot to the first slave device based on the wireless transmission end time and the size of the target data.

[0033] In an optional manner of the sixth aspect, the first control instruction is a first downlink control instruction. The first slave device is configured to perform air interface transmission according to the first control instruction, including: the first slave device is configured to send first downlink data to the first STA according to the first control instruction.

[0034] In an optional manner of the sixth aspect, the first slave device is further configured to send a first reply frame to the master device, including: the first slave device is configured to send the first reply frame to the master device at a second moment. The second slave device is further configured to receive a second control instruction at a third moment.

[0035] In an optional manner of the sixth aspect, the interval between the second moment and the third moment is less than or equal to 64 microseconds.

[0036] In an optional manner of the sixth aspect, the third moment is before the end of the air interface transmission time of the first slave device.

[0037] In an optional manner of the sixth aspect, the second control instruction is a second uplink control instruction or a second downlink control instruction.

[0038] In an optional manner of the sixth aspect, before receiving the first control instruction, the first slave device is in a silent state. Before receiving the second control instruction, the second slave device is in a silent state.

[0039] It should be understood that the description of the first aspect is similar to the description of the second aspect. Therefore, with respect to the description of the first aspect, reference may be made to the description in any one of the optional methods in the second aspect. Similarly, the descriptions of the second to sixth aspects are similar to the description of the first aspect. Therefore, with respect to the description of any one of the second to sixth aspects, reference may be made to the description in the first aspect or any one of the optional methods in the first aspect. For example, wired communication is performed between the master device and the first slave device. Wireless communication is performed between the first slave device and the first STA.

[0040] The seventh aspect of the present application provides a computer storage medium, characterized in that instructions are stored in the computer storage medium, and when the instructions are executed on a computer, the computer executes the method as described in the second aspect or any one of the embodiments of the second aspect; or the computer executes the method as described in the third aspect or any one of the embodiments of the third aspect.

[0041] In an eighth aspect, the present application provides a computer program product, characterized in that when the computer program product is executed on a computer, it enables the computer to execute the method as described in the second aspect or any one of the embodiments of the second aspect; or enables the computer to execute the method as described in the third aspect or any one of the embodiments of the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] FIG1 is a schematic diagram of the first process of the data transmission method provided in an embodiment of the present application;

[0043] FIG2 is a second flow chart of the data transmission method provided in an embodiment of the present application;

[0044] FIG3 is a first timing diagram of uplink wireless transmission provided in an embodiment of the present application;

[0045] FIG4 is a third flow chart of the data transmission method provided in an embodiment of the present application;

[0046] FIG5 is a second timing diagram of uplink wireless transmission provided in an embodiment of the present application;

[0047] FIG6 is a fourth flow chart of the data transmission method provided in an embodiment of the present application;

[0048] FIG7 is a timing diagram of downlink wireless transmission provided in an embodiment of the present application;

[0049] FIG8 is a fifth flow chart of the data transmission method provided in an embodiment of the present application;

[0050] FIG9 is a timing diagram of wireless transmission provided in an embodiment of the present application;

[0051] FIG10a is a first structural diagram of a first slave device provided in an embodiment of the present application;

[0052] FIG10b is a second structural diagram of the first slave device provided in an embodiment of the present application;

[0053] FIG11 is a schematic structural diagram of a main device provided in an embodiment of the present application;

[0054] FIG12a is a first structural diagram of a communication system provided in an embodiment of the present application;

[0055] FIG12b is a second structural diagram of the communication system provided in an embodiment of the present application;

[0056] Figure 12c is a third structural diagram of the communication system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The present application provides a slave device, a master device, a communication system, and a data transmission method. By allocating time slots for the next level of scheduling based on first uplink data that has not yet been received, the uplink latency of STAs can be reduced. It should be understood that the terms "first," "second," and "target" used in this application are used solely for descriptive purposes and are not to be construed as indicating or implying relative importance or order. Furthermore, for the sake of simplicity and clarity, reference numbers and / or letters are repeated in multiple figures of this application. This repetition does not imply a strict relationship between the various embodiments and / or configurations.

[0058] The data transmission method provided in this application is applicable to the field of wireless communications. In this field, two levels of scheduling exist between STAs and optical line terminals (OLTs). The first level of scheduling involves wireless scheduling between STAs and optical network terminals (ONTs). The second level of scheduling involves wired scheduling between the ONT and the OLT. This two-level scheduling reduces STA uplink latency.

[0059] To this end, the present application provides a data transmission method. Figure 1 is a first flow chart of the data transmission method provided in an embodiment of the present application. As shown in Figure 1, the data transmission method includes the following steps.

[0060] In step 101, a first slave device sends a first trigger frame to a first STA.

[0061] The first slave device may also be referred to as a slave gateway or access point (AP). In a passive optical network (PON) system, the first slave device may be referred to as a slave optical network unit (ONU) or a slave ONT. In a fiber to the room (FTTR) scenario, the first slave device may be referred to as a sub FTTR unit (SFU) or a slave FTTR. The first slave device and the first STA communicate via wireless signals. The first STA is associated with the first slave device. The first slave device sends a first trigger frame to the first STA. Association refers to the state after the first STA accesses the first slave device. After the first STA accesses the first slave device, the first STA and the first slave device can transmit service signals. The first trigger frame is used to allocate an uplink time slot for wireless transmission to the first STA, instructing the first STA to upload the first uplink data after a short inter-frame space (SIFS).

[0062] In step 102, the first slave device sends the size and wireless transmission time information of the first uplink data to the master device.

[0063] The master device can also be called a master gateway or access controller (AC). In a PON system, the master device can be called a master ONU or a master ONT. In an FTTR scenario, the master device can be called a main FTTR unit (MMU) or a master FTTR. The master device and at least one slave device are connected wirelessly or by wire. When the master device and at least one slave device are connected by wire, the connection method between the two can be an optical fiber, a network cable, a power line or an electrical cable, etc. The at least one slave device includes a first slave device. When the master device and at least one slave device are connected by an optical fiber, an optical splitter can also be included between the master device and the at least one slave device. In the upstream direction, the upstream optical signals from each slave device are time-divided and coupled to the master device through the optical splitter. In the downstream direction, the master device distributes the downstream optical signal to all slave devices through the optical splitter.

[0064] The first slave device sends the size and wireless transmission time information of the first uplink data to the master device. The first slave device can carry the size and wireless transmission time information of the first uplink data in a first reply frame. The wireless transmission time information can be the wireless transmission time information of the first trigger frame or the first uplink data. For example, the wireless transmission time information is the end time of wireless transmission of the first uplink data. The first slave device can obtain the start time of wireless transmission of the first uplink data based on the sending time of the first trigger frame, the transmission duration of the first trigger frame, and the SIFS. The first trigger frame includes the size of the uplink timeslot for wireless transmission. The first slave device obtains the end time of wireless transmission of the first uplink data based on the start time of wireless transmission of the first uplink data and the uplink timeslot size. Alternatively, the wireless transmission time information includes the wireless transmission duration of the first trigger frame and information about a first time. The first time is the time when the first slave device sends the first trigger frame to the first STA. After receiving the wireless transmission time information, the master device obtains the start time of wireless transmission of the first uplink data based on the first time, the wireless transmission duration of the first trigger frame, and the SIFS. It then obtains the end time of wireless transmission of the first uplink data based on the start time of wireless transmission and the size of the first uplink data.

[0065] It should be understood that in actual applications, the first slave device can cache uplink buffer data to be sent to the master device. The uplink buffer data can be received by the first slave device from an associated STA, such as the first STA. Therefore, the first slave device can send the size of the target data and wireless transmission time information to the master device. The target data can be the first uplink data, or the target data includes uplink buffer data and the first uplink data. When the target data includes the first uplink data and the uplink buffer data, the first reply frame can include 2 fields. One field is used to indicate the size of the first uplink data. The other field is used to indicate the size of the uplink buffer data. In subsequent examples, the target data will be described as the first uplink data.

[0066] In step 103, the master device allocates an uplink time slot to the first slave device according to the size of the first uplink data and the wireless transmission time information.

[0067] The master device allocates an uplink time slot for wired transmission to the first slave device based on the size of the first uplink data and the wireless transmission time information. Specifically, the master device allocates a window start time of the uplink time slot to the first slave device based on the wireless transmission time information. For example, the wireless transmission time information is the end time of the wireless transmission of the first uplink data. The window start time may be equal to or later than the end time of the wireless transmission. In order to reduce the uplink delay of the first STA, the window start time may be as close as possible to the end time of the wireless transmission, for example, the window start time is equal to the end time of the wireless transmission. The master device also allocates a window duration of the uplink time slot to the first slave device based on the size of the first uplink data. For example, the master device obtains the window duration based on the optical link transmission rate and the size of the first uplink data.

[0068] In step 104, the master device sends uplink time slot information to the first slave device.

[0069] The uplink timeslot information includes the windowing start time and windowing end time of the uplink timeslot, or the uplink timeslot information includes the windowing start time and windowing duration of the uplink timeslot. The windowing end time can be obtained based on the windowing start time and windowing duration. The uplink timeslot information is a wired signal, such as an optical signal or an electrical signal.

[0070] In step 105 , the first STA sends first uplink data to the first slave device.

[0071] According to the description of the aforementioned step 101, the first STA receives the first trigger frame from the first slave device. The first STA sends the first uplink data to the first slave device according to the first trigger frame. For example, after receiving the first trigger frame and after SIFS, the first STA sends the first uplink data to the first slave device. It should be understood that in this embodiment of the present application, there is no strictly defined timing relationship between step 105 and steps 102 to 104. For example, step 104 may be after step 105. For another example, the start time of the wireless transmission of the first uplink data is before step 102, and the end time of the wireless transmission of the first uplink data is after step 104.

[0072] In step 106 , the first slave device transmits first uplink data to the master device in an uplink time slot.

[0073] In the aforementioned step 104, the first slave device receives the uplink time slot information of the wired transmission from the master device. After receiving the first uplink data of the first STA, the first slave device transmits the first uplink data to the master device in the uplink time slot.

[0074] In this embodiment of the present application, the master device allocates a wired transmission uplink time slot to the first slave device based on the size of the target data. That is, the master device allocates a time slot for the next level of scheduling based on the first uplink data that has not yet been received by the first slave device. Therefore, this embodiment of the present application can reduce the residence time of the first uplink data on the first slave device, thereby reducing the uplink latency of the first STA.

[0075] It should be understood that when the target data includes the uplink buffered data and the first uplink data, the master device can allocate a window duration of the uplink timeslot to the first slave device based on the size of the target data. In this case, the window duration allocated by the master device can be greater than the window duration allocated by the master device in step 103. The first slave device transmits the first uplink data and the uplink buffered data according to the uplink timeslot allocated by the master device.

[0076] It should be understood that when the size of the first uplink data is greater than the first threshold, the uplink time slot may include multiple discontinuous time periods. The time periods between the multiple time periods are used for other slave devices to transmit uplink data. For example, the multiple time periods include time period 1, time period 3, and time period 5. Time period 2 is also included between time period 1 and time period 3. Time period 4 is also included between time period 3 and time period 5. The at least one slave device also includes a second slave device and a third slave device. Time period 2 is used for the second slave device to transmit second uplink data to the master device. Time period 4 is used for the third slave device to transmit third uplink data to the master device. The first slave device splits the first uplink data into multiple uplink sub-data. Multiple time periods are used to transmit multiple uplink sub-data. The multiple time periods correspond one-to-one to the multiple uplink sub-data.

[0077] According to the description of the aforementioned step 103, the window opening start time of the wired transmission can be equal to or later than the wireless transmission end time. When the uplink time slot includes multiple discontinuous time periods, the window opening start time of the wired transmission can be earlier than the wireless transmission end time. For example, the multiple uplink sub-data include uplink sub-data 1, uplink sub-data 2, and uplink sub-data 3. When the first slave device receives uplink sub-data 1 but has not yet received uplink sub-data 2 and uplink sub-data 3, the first slave device sends uplink sub-data 1 to the master device in time period 1 according to the information of the uplink time slot. At this time, the window opening start time of the wired transmission is later than the wireless transmission end time of the uplink sub-data 1 and earlier than the wireless transmission end time of the first uplink data.

[0078] In an embodiment of the present application, the wireless module of the first slave device may have complete wireless functions. In this case, the wireless module includes a media access control (MAC) layer processing unit, a physical layer processing unit and a radio frequency unit. In the uplink direction, the radio frequency unit is used to receive the wireless signal of the first uplink data from the first STA and convert the wireless signal into an in-phase quadrature (IQ) signal. The physical layer processing unit is used to perform physical layer related processing on the IQ signal, such as synchronization, Fourier transform, mapping or descrambling, etc., to obtain a MAC layer message. The physical layer processing unit is used to transmit the MAC layer message to the MAC layer processing unit. The MAC layer processing unit is used to perform MAC layer related processing on the MAC layer message, such as deframing, cyclic redundancy check (CRC) or acknowledgement (ACK) frame reply, etc., to obtain an Internet protocol (IP) message. The MAC layer processing unit is used to transmit the IP message to the master device. For example, the first slave device also includes an optical module, and the first slave device transmits the IP message to the master device via the optical module.

[0079] In an embodiment of the present application, the wireless module of the first slave device may not have complete wireless functions. For example, the wireless module of the first slave device includes a physical layer processing unit and a radio frequency unit, but does not include a MAC layer processing unit. The first slave device is used to transmit MAC layer messages to the master device. The MAC layer processing unit of the master device is used to perform MAC layer related processing on the MAC layer messages. For another example, the wireless module of the first slave device includes a radio frequency unit, but does not include a physical layer processing unit and a MAC layer processing unit. The first slave device is used to transmit IQ signals to the master device. The physical layer processing unit of the master device is used to perform physical layer related processing on the IQ signals. The MAC layer processing unit of the master device is used to perform MAC layer related processing on the MAC layer messages.

[0080] When the wireless module of the first slave device has complete wireless functionality, the first slave device can generate a first trigger frame through the MAC layer processing unit. If the wireless module of the first slave device does not have complete wireless functionality, the first slave device can send relevant information about the first STA, such as the MAC address, to the master device. The master device generates a first trigger frame based on the relevant information about the first STA and sends the first trigger frame to the first slave device. Before step 101, the first slave device receives the first trigger frame from the master device.

[0081] It should be understood that Figure 1 is only an example of the data transmission method provided by the embodiments of the present application. In actual applications, those skilled in the art may adapt the steps of the data transmission method as needed. For example, in actual applications, the first slave device may not need to transmit wireless transmission time information to the master device. The master device uses the moment of receiving the first reply frame as the first moment. According to the aforementioned method, the master device can determine the end time of wireless transmission of the first uplink data based on the first moment, the duration of the first trigger frame, the SIFS, and the size of the first uplink data. Alternatively, the master device can determine the end time of wireless transmission of the first uplink data based on the first moment, the target duration, and the size of the first uplink data. The target duration can be a default duration from the time the first slave device sends the first reply frame to the time it begins receiving the first uplink data. In another example, the master device can allocate an uplink timeslot to the first slave device based solely on the size of the target data and the current time. The time of the uplink timeslot is later than the current time. The duration of the uplink timeslot is greater than the duration required to transmit the target data. The incremental portion of the uplink timeslot is used to compensate for the uncertain end time of wireless transmission. The first slave device can transmit useless data or other buffered data in the incremental portion of the uplink timeslot.

[0082] Figure 2 is a second flow chart of the data transmission method provided in an embodiment of the present application. As shown in Figure 2, the data transmission method includes the following steps.

[0083] In step 201 , a master device receives a plurality of uplink buffer information from at least one slave device.

[0084] The master device may periodically receive multiple uplink buffer information from at least one slave device. The at least one slave device includes multiple slave devices. The multiple uplink buffer information corresponds one-to-one to the multiple slave devices. In the example of FIG2 , the master device receives first uplink buffer information from the first slave device. The master device receives second uplink buffer information from the second slave device. The uplink buffer information is used to indicate the size of the data to be uploaded by the STA associated with the slave device. For example, the first uplink buffer information is obtained by the first slave device from the associated first STA. The first uplink buffer information is used to indicate the size of the first uplink data. The second uplink buffer information is obtained by the second slave device from the associated second STA. The second uplink buffer information is used to indicate the size of the second uplink data. It should be understood that the first STA may also include other uplink data to be uploaded. Therefore, the first uplink buffer information may include the size of other uplink data and the first uplink data. In subsequent examples, only the uplink buffer information including the size of the first uplink data is described as an example. For the description of the master device, at least one slave device, and the STA, reference may be made to the description in FIG1 above.

[0085] In step 202, the master device determines an uplink air interface transmission order of at least one slave device according to a plurality of uplink buffer information.

[0086] In the embodiment of the present application, only at least one slave device including a first slave device and a second slave device is described as an example. The master device may determine the uplink air interface transmission order of at least one slave device based on the size of multiple uplink cache information. For example, when the size of the first uplink cache information is larger than the size of the second uplink cache information, the master device determines that the uplink air interface transmission order of the first slave device takes precedence over the uplink air interface transmission order of the second slave device. When the size of the first uplink cache information is less than or equal to the size of the second uplink cache information, the master device determines that the uplink air interface transmission order of the second slave device takes precedence over the uplink air interface transmission order of the first slave device. The master device may also determine the uplink air interface transmission order based on the priority of multiple uplink cache information. For example, when the priority of the first uplink data is greater than the priority of the second uplink data, the master device determines that the uplink air interface transmission order of the first slave device takes precedence over the uplink air interface transmission order of the second slave device.

[0087] In step 203, the master device sends a first uplink control instruction to the first slave device.

[0088] After determining the uplink air interface transmission order of at least one slave device, the master device sends an uplink control instruction to the slave device with the highest priority. Therefore, when the uplink air interface transmission order of the first slave device takes precedence over the uplink air interface transmission order of the second slave device, the master device sends the first uplink control instruction to the first slave device. Those skilled in the art can design the format of the first uplink control instruction as needed. Therefore, the embodiments of the present application do not limit the specific format of the first uplink control instruction.

[0089] In step 204, the first slave device performs air interface contention according to the first uplink control instruction, and receives first uplink data from the associated first STA.

[0090] After successfully competing for the air interface, the first slave device sends a first trigger frame to the first STA. The first STA sends first uplink data to the first slave device based on the first trigger frame. For a description of the first trigger frame, refer to the description in FIG. 1 . The first slave device receives the first uplink data from the first STA.

[0091] In step 205 , the first slave device transmits first uplink data to the master device.

[0092] After receiving the first uplink data, the first slave device sends the size of the first uplink data to the master device. The master device allocates an uplink time slot for wired transmission to the first slave device based on the size of the first uplink data and sends uplink time slot information to the first slave device. The first slave device transmits the first uplink data to the master device within the uplink time slot.

[0093] In step 206, the master device sends a second uplink control instruction to the second slave device.

[0094] The master device sequentially sends uplink control instructions to at least one slave device in the order of uplink air interface transmission of the at least one slave device. After sending the first uplink control instruction, the master device sends a second uplink control instruction to the second slave device. To avoid air interface contention between the second slave device and the first slave device, after the first slave device successfully completes air interface contention, the first slave device may send a first reply frame to the master device. The master device sends the second uplink control instruction to the second slave device based on the first reply frame.

[0095] In step 207 , the second slave device performs air interface contention according to the second uplink control instruction, and receives second uplink data from the associated second STA.

[0096] In step 208 , the second slave device transmits second uplink data to the master device.

[0097] It should be understood that FIG2 illustrates an example in which at least one slave device includes a first slave device and a second slave device. In actual applications, the at least one slave device may further include more slave devices. For example, the at least one slave device may further include a third slave device. The master device receives third uplink buffer information from the third slave device. Based on the multiple uplink buffer information, the master device determines the uplink air interface transmission order as the first slave device, the second slave device, and the third slave device. FIG3 illustrates a first timing diagram of uplink wireless transmission provided in an embodiment of the present application. As shown in FIG3 , during time t1, the first slave device receives a first uplink control instruction from the master device and performs air interface contention. After successfully performing air interface contention, the first slave device sends a first trigger frame to the first STA during time t2. After sending the first trigger frame, the first slave device receives first uplink data from the first STA during time T1. T1 may also be referred to as the wireless transmission time for the first uplink data. Similarly, during time t3, the second slave device receives a second uplink control instruction from the master device and performs air interface contention. After successfully performing air interface contention, the second slave device sends a second trigger frame to the second STA during time t4. After sending the second trigger frame, the second slave device receives the second uplink data from the second STA within T2. ​​T2 can also be referred to as the wireless transmission time of the second uplink data. For the description of the third slave device, refer to the description of the first and second slave devices. T4 is after T1, and t6 is after T2.

[0098] According to the description of Figure 2 above, the master device can send a second downlink control instruction to the second slave device based on the first reply frame. In order to reduce the idle time of the air interface, the second slave device can start air interface competition before the wireless transmission of the first uplink data ends. Therefore, in an embodiment of the present application, the second slave device can receive the second uplink control instruction before the wireless transmission of the first uplink data ends. For example, t3 is within T1. To this end, in an embodiment of the present application, the loop delay between the slave device and the master device is determined and controllable. For example, the time from the moment the first slave device sends the first reply frame to the master device to the moment the second slave device receives the second uplink control instruction can be less than or equal to 64 microseconds. Among them, the moment the first slave device sends the first reply frame is the second moment. The second moment can be the starting moment of t2 in Figure 3. The moment the second slave device receives the second uplink control instruction is the third moment. The third moment can be the ending moment of t3 in Figure 3.

[0099] To accurately control the latency between the slave and master devices, the slave and master devices can communicate using the PON protocol, the optical transport network (OTN) protocol, or the time-sensitive network (TSN) protocol. For example, the first slave device sends a first reply frame to the master device using the OTN protocol. The master device then sends a second uplink control command to the second slave device using the OTN protocol.

[0100] In Figure 3, after successfully competing for the air interface, the second slave device can also send a second reply frame to the master device. The second reply frame is used to indicate that the second slave device has successfully competed for the air interface. The master device sends a third uplink control instruction to the third slave device based on the second reply frame.

[0101] In the data transmission method provided in Figure 2, the master device performs uplink air interface scheduling for at least one STA associated with a slave device. Therefore, the STA associated with the at least one slave device does not need to compete for uplink air interface traffic, thereby reducing the probability of air interface conflicts. Furthermore, to further reduce the probability of air interface contention, at least one slave device can be in an uplink silent state. If no uplink control command is received, the slave device in the uplink silent state will not send a trigger frame to the STA through air interface contention.

[0102] Figure 4 is a third flow chart of the data transmission method provided in an embodiment of the present application. As shown in Figure 4, the data transmission method includes the following steps.

[0103] In step 401, a master device receives a plurality of uplink buffer information from at least one slave device.

[0104] In step 402, the master device determines an uplink air interface transmission order of at least one slave device according to a plurality of uplink buffer information.

[0105] In step 403, the master device sends a first uplink control instruction to the first slave device.

[0106] In step 404, air interface contention is performed according to the first uplink control instruction, and the aforementioned steps 101 to 106 are executed.

[0107] After receiving the first uplink control instruction, the first slave device performs air interface contention according to the first uplink control instruction and executes steps 101 and 102 in Figure 1 . In step 102, the first slave device sends a first reply frame to the master device. The first reply frame includes the size of the first uplink data and the wireless transmission time information. The master device is configured to execute steps 103 and 104. The first STA is configured to execute step 105. The first slave device is also configured to execute step 106.

[0108] In step 405, the master device sends a second uplink control instruction to the second slave device.

[0109] In order to avoid air interface contention conflict between the second slave device and the first slave device, the master device may send a second uplink control instruction to the second slave device according to the first reply frame.

[0110] In step 406 , air interface contention is performed according to the second uplink control instruction, and the aforementioned steps 101 to 106 are executed.

[0111] After receiving the second uplink control instruction, the second slave device competes for the air interface according to the second uplink control instruction and executes steps 101 and 102 in Figure 1 . In step 102, the second slave device sends a second reply frame to the master device. The second reply frame includes the size of the second uplink data and wireless transmission time information. The wireless transmission time information includes the wireless transmission time information of the second trigger frame or the second uplink data. The master device is configured to execute steps 103 and 104. The second STA is configured to execute step 105. The second slave device is also configured to execute step 106.

[0112] It should be understood that the description of the data transmission method in FIG4 has similar support to the description in FIG1 and FIG2 . Therefore, the description of FIG4 can refer to the description in FIG1 and FIG2 . For example, the description of steps 401 to 403 can refer to the description of steps 201 to 203 in FIG2 . For another example, the description of step 404 can refer to the description of steps 101 to 106 in FIG1 .

[0113] Figure 5 is the second timing diagram of the uplink wireless transmission provided in an embodiment of the present application. As shown in Figure 5, based on Figure 3, the first slave device sends the first uplink data to the master device within T4. T4 can also be called the wired transmission time of the first uplink data. Similarly, the second slave device sends the second uplink data to the master device within T5. T5 can also be called the wired transmission time of the second uplink data. The third slave device sends the third uplink data to the master device within T6. T6 can also be called the wired transmission time of the third uplink data. In the description of Figure 2 above, the master device performs uplink air interface allocation for the STA associated with at least one slave device. In actual applications, the master device can also perform downlink air interface allocation for at least one slave device. Figure 6 is a fourth flow chart of the data transmission method provided in an embodiment of the present application. As shown in Figure 6, the data transmission method includes the following steps.

[0114] In step 601, the master device determines a downlink air interface transmission order of at least one slave device according to multiple downlink buffer information.

[0115] The master device can periodically obtain multiple downlink buffer information from at least one slave device. The multiple downlink buffer information corresponds to the multiple slave devices one-to-one. For example, the master device obtains the first downlink buffer information from the first slave device. The master device obtains the second downlink buffer information from the second slave device. The downlink buffer information is used to characterize the size of the downlink data waiting to be sent to the STA in the slave device. The master device determines the downlink air interface transmission order of at least one slave device based on the multiple downlink buffer information. For example, the master device determines the downlink air interface transmission order based on the size of the multiple downlink buffer information. For another example, the master device determines the downlink air interface transmission order based on the size and priority of the multiple downlink buffer information. For the description of the master device, at least one slave device and the STA, please refer to the description of Figure 1 above.

[0116] In step 602, the master device sends a first downlink control instruction to the first slave device.

[0117] After determining the downlink air interface transmission order of at least one slave device, the master device sequentially sends downlink control instructions to the at least one slave device according to the downlink air interface transmission order. In this embodiment of the present application, it is assumed that the downlink air interface transmission order of the first slave device takes precedence over the downlink air interface transmission order of the second slave device. Therefore, the master device first sends the first downlink control instruction to the first slave device.

[0118] In step 603, the first slave device performs air interface contention according to the first downlink control instruction, and sends first downlink data to the first STA.

[0119] After successfully competing for the air interface, the first slave device sends first downlink data to the first STA. The size of the first downlink data can be less than or equal to the size of the first downlink buffered data. After competing for the air interface, the first slave device can send a first reply frame to the master device. The first reply frame is used to indicate that the first slave device has successfully competed for the downlink air interface.

[0120] In step 604, the master device sends a second downlink control instruction to the second slave device.

[0121] To avoid the second slave device and the first slave device from competing for the air interface when the first slave device has not yet competed for the air interface, the master device may send a second downlink control instruction to the second slave device based on the first reply frame sent by the first slave device.

[0122] In step 605, the second slave device performs air interface contention according to the second downlink control instruction, and sends second downlink data to the second STA.

[0123] After successfully competing for the air interface, the second slave device sends second downlink data to the second STA. The size of the second downlink data can be less than or equal to the size of the second downlink buffered data. After competing for the air interface, the second slave device can send a second reply frame to the master device. The second reply frame is used to indicate that the second slave device has successfully competed for the downlink air interface.

[0124] It should be understood that FIG6 illustrates an example in which at least one slave device includes a first slave device and a second slave device. In actual applications, the at least one slave device may further include more slave devices. For example, the at least one slave device may further include a third slave device. The master device receives third downlink buffer information from the third slave device. Based on the multiple downlink buffer information, the master device determines the downlink air interface transmission order as the first slave device, the second slave device, and the third slave device. FIG7 is a timing diagram of downlink wireless transmission provided in an embodiment of the present application. As shown in FIG7, during time t1, the first slave device receives a first downlink control instruction from the master device and performs air interface contention. After successfully performing air interface contention, the first slave device transmits first downlink data to the first STA within time T1. T1 may also be referred to as the wireless transmission time for the first downlink data. Similarly, during time t2, the second slave device receives a second downlink control instruction from the master device and performs air interface contention. After successfully performing air interface contention, the second slave device transmits second downlink data to the second STA within time T2. T2 may also be referred to as the wireless transmission time for the second downlink data. The description of the third slave device can refer to the description of the first and second slave devices. In order to reduce the probability of air interface conflict, t2 may be within T1, and t3 may be within T2.

[0125] In the data transmission method provided in Figure 6, the master device performs downlink air interface scheduling for at least one slave device. Therefore, at least one slave device is freed from downlink air interface contention, thereby reducing the probability of air interface conflicts. Furthermore, to further reduce the probability of air interface contention, at least one slave device can be in a downlink silent state. If no downlink control command is received, even if the slave device has buffered data to be sent to a STA, the slave device in the downlink silent state will not send downlink data to the STA through air interface contention.

[0126] In the data transmission method provided in Figure 2, the master device performs uplink air interface scheduling for at least one STA associated with a slave device. In the example of Figure 6, the master device performs downlink air interface scheduling for at least one slave device. In actual applications, the master device can perform both uplink and downlink air interface scheduling. Figure 8 is a fifth flow chart of the data transmission method provided in an embodiment of the present application. As shown in Figure 8, the data transmission method includes the following steps.

[0127] In step 801, the master device receives a plurality of uplink buffer information and a plurality of downlink buffer information from at least one slave device.

[0128] A slave device is used to send uplink buffer information and downlink buffer information to the master device. For a description of the uplink buffer information, refer to the description of step 201 in Figure 2. For a description of the downlink buffer information, refer to the description of step 601 in Figure 6. For a description of the master device, at least one slave device, and STA, refer to the description of Figure 1.

[0129] In step 802, the master device determines an air interface transmission order of at least one slave device according to a plurality of uplink buffer information and a plurality of downlink buffer information.

[0130] Assume that the multiple uplink buffer information includes the first uplink buffer information and the second uplink buffer information. The multiple downlink buffer information includes the first downlink buffer information and the second downlink buffer information. The master device can determine the air interface transmission order of at least one slave device based on the size of the multiple uplink buffer information and the multiple downlink buffer information. For example, the four buffer information are sorted in order of size as the first downlink buffer information, the second uplink buffer information, the first uplink buffer information, and the second downlink buffer information. The master device determines that the air interface transmission order of at least one slave device is the first slave device downlink, the second slave device uplink, the first slave uplink, and the second slave device downlink. In other examples, the master device can also determine the air interface transmission order of at least one slave device based on the priority of the multiple uplink buffer information and the multiple downlink buffer information.

[0131] In step 803, the master device sends a first downlink control instruction to the first slave device.

[0132] After determining the air interface transmission order of at least one slave device, the master device sequentially sends control instructions to the at least one slave device according to the air interface transmission order. In the example of step 802, the air interface transmission order of the at least one slave device is first slave device downlink, first slave device uplink, first slave uplink, and second slave device downlink. Therefore, the master device sends a first downlink control instruction to the first slave device.

[0133] In step 804, the first slave device performs air interface contention according to the first downlink control instruction and sends first downlink data to the first STA.

[0134] In step 805, the master device sends a second uplink control instruction to the second slave device.

[0135] In step 806 , air interface contention is performed according to the second uplink control instruction, and the aforementioned steps 101 to 106 are executed.

[0136] After sending the second uplink control instruction, the master device sends the first uplink control instruction to the first slave device. The first slave device performs air interface contention based on the first uplink control instruction. The first slave device performs air interface contention based on the first uplink control instruction and transmits first uplink data to the master device according to the method described in FIG2 . After sending the first uplink control instruction, the master device sends the second downlink control instruction to the second slave device. The second slave device performs air interface contention based on the second downlink control instruction and transmits second downlink data to the second STA.

[0137] It should be understood that the description of the data transmission method in FIG8 is similar to the descriptions in FIG4 and FIG6 . Therefore, the description of FIG8 can refer to the descriptions in FIG4 and FIG6 . For example, the description of steps 803-804 can refer to the description of steps 602-603 in FIG6 . For another example, the description of step 806 can refer to the description of step 404 in FIG4 .

[0138] Figure 9 is a timing diagram of wireless transmission provided by an embodiment of the present application. As shown in Figure 9, during time t1, the first slave device receives a first downlink control instruction from the master device and engages in air interface contention. After successfully competing for the air interface, the first slave device transmits first downlink data to the first STA within time T1. During time t2, the second slave device receives a second uplink control instruction from the master device and engages in air interface contention. After successfully competing for the air interface, the second slave device transmits a second trigger frame to the second STA within time t3. After sending the second trigger frame, the second slave device receives second uplink data from the second STA within time T2 and transmits the second uplink data to the master device within time T3. Similarly, during time t4, the first slave device receives a first uplink control instruction from the master device and engages in air interface contention. After successfully competing for the air interface, the first slave device transmits a first trigger frame to the first STA within time t5. After sending the first trigger frame, the first slave device receives first uplink data from the first STA within time T4 and transmits the first uplink data to the master device within time T5. During time t6, the second slave device receives the second downlink control command from the master device and competes for the air interface. After successfully competing for the air interface, the second slave device sends the second downlink data to the second STA within time T6. Here, t3 is after T1, and t5 is after T2. To reduce the probability of air interface conflicts, t2 can be within T1, t4 can be within T2, and t6 can be within T4.

[0139] As described in the aforementioned FIG. 3 , in uplink data transmission, the time between the first slave device sending the first reply frame to the master device and the second slave device receiving the second uplink control instruction can be less than or equal to 64 microseconds. Similarly, in FIG. 7 and FIG. 9 , the master device can also send a second control instruction to the second slave device based on the first reply frame. The second control instruction is either a second uplink control instruction or a second downlink control instruction. Therefore, in the examples of FIG. 7 or FIG. 9 , the time between the first slave device sending the first reply frame to the master device and the second slave device receiving the second control instruction can be less than or equal to 64 microseconds.

[0140] As shown in the description of FIG. 3 , the second slave device can receive the second uplink control instruction before the wireless transmission of the first uplink data ends. In practical applications, the second slave device can receive the second control instruction before the end of the air interface transmission time of the first slave device. The air interface transmission time can be the wireless transmission time of the first downlink data and / or the first uplink data. For example, in FIG. 7 , the second slave device can receive the second uplink control instruction before the end of the wireless transmission time of the first downlink data. In the data transmission method provided in FIG. 8 , the master device simultaneously performs uplink air interface scheduling and downlink air interface scheduling. Therefore, the STA associated with at least one slave device and the at least one slave device do not need to engage in air interface contention, thereby reducing the probability of air interface contention. Furthermore, to further reduce the probability of air interface contention, at least one slave device can be in a silent state. When not receiving a control instruction, a slave device in a silent state does not engage in air interface contention. To prevent STAs from engaging in uplink air interface contention, the slave device can also send a silent command to the associated STA. The silent command instructs the associated STA not to engage in air interface contention.

[0141] In the examples of Figures 8 and 9, the master device sent four control instructions to the slave device, and the slave device performed four air interface contention rounds based on these four control instructions. In actual applications, the slave device can perform uplink and downlink data transmission separately based on a single control instruction, thereby reducing the number of air interface contention rounds. For example, the master device determines the air interface transmission order of at least one slave device based on the sizes of multiple uplink buffer information and multiple downlink buffer information. The air interface transmission order is first slave downlink, first slave uplink, second slave downlink, and second slave uplink. The master device sends control instructions to the first and second slave devices in sequence according to the air interface transmission order. First, the master device sends a first control instruction to the first slave device. The first slave device performs air interface contention based on the first control instruction and divides the time obtained from the air interface contention into two parts. One part is used to send the first downlink data to the first STA. The other part is used to send the first trigger frame to the first STA and receive the first uplink data from the first STA. Similarly, the master device sends a second control instruction to the second slave device. The second slave device performs air interface contention based on the second control instruction and divides the time obtained from the air interface contention into two parts. One part is used to send the second downlink data to the second STA. The other part is used to send a second trigger frame to the second STA and receive second uplink data from the second STA.

[0142] It should be understood that in the embodiment of FIG. 5 , the description is based on the example of at least one slave device including a first slave device and a second slave device. In actual applications, the at least one slave device may further include more slave devices. For example, the at least one slave device may further include a third slave device, a fourth slave device, and a fifth slave device. In this case, the master device may determine the air interface transmission order of the five slave devices based on the ten cached information.

[0143] It should be understood that the size of the data to be transmitted indicated by the buffer information can be 0. For example, the size of the data to be uploaded by the first STA is 0. In this case, the size of the data to be transmitted indicated by the first uplink buffer information is 0. When the first STA has no data to be uploaded, the master device does not need to send the first uplink control instruction to the first slave device. For example, in the example of Figure 8, the size of the data to be uploaded by the first STA is 0, and the air interface transmission order determined by the master device is the first slave device downlink, the second slave device uplink, and the second slave device downlink.

[0144] In the examples of Figures 2 and 4 , the air interface transmission order of at least one slave device is an uplink air interface transmission order. In the example of Figure 6 , the air interface transmission order of at least one slave device is a downlink air interface transmission order. In the example of Figure 8 , the air interface transmission order of at least one slave device is a combination of an uplink air interface transmission order and a downlink air interface transmission order. In actual applications, the master device can update the air interface transmission order in real time. For example, in the example of Figure 8 , after the master device determines the air interface transmission order, the master device receives third cache information from a third slave device. The master device updates the air interface transmission order based on the third cache information.

[0145] The data transmission method provided in the embodiment of the present application is described above. The first slave device and the master device provided in the embodiment of the present application are described below. Figure 10a is a first structural schematic diagram of the first slave device provided in the embodiment of the present application. As shown in Figure 10a, the first slave device 1000 includes a receiver 1001 and a transmitter 1002. The transmitter 1002 is used to send a first trigger frame to the first STA. The first trigger frame is used to instruct the first STA to upload the first uplink data. The first slave device is associated with the first STA. Before receiving the first uplink data, the transmitter 1002 is also used to send the size of the target data to the master device. The first slave device may not have started receiving the first uplink data, or may have received part of the first uplink data. The target data includes the first uplink data. The receiver 1001 is used to receive uplink time slot information from the master device. The uplink time slot is obtained based on the size of the target data. The receiver 1001 is also used to receive the first uplink data from the first STA. The transmitter 1002 is also used to transmit the first uplink data to the master device during the uplink time slot. Figure 10b is a second structural diagram of the first slave device provided in an embodiment of the present application. As shown in Figure 10b, the first slave device 1000 includes a wired module 1003 and a wireless module 1004. The wireless module 1004 is used to send a first trigger frame to the first STA. The first trigger frame is used to instruct the first STA to upload the first uplink data. The first slave device is associated with the first STA. The wired module 1003 can be an optical transceiver module. Before receiving the first uplink data, the wired module 1003 is also used to send the size of the target data to the master device. The target data includes the first uplink data. The wired module 1003 is also used to receive uplink time slot information from the master device. The uplink time slot is obtained based on the size of the target data. The wireless module 1004 is also used to receive the first uplink data from the first STA. The wired module 1003 is also used to transmit the first uplink data to the master device in the uplink time slot.

[0146] In other embodiments, the first slave device 1000 may further include a processor. The processor may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor may further include a hardware chip or other general-purpose processor. The hardware chip may be an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.

[0147] Figure 11 is a schematic diagram of the structure of the master device provided in an embodiment of the present application. As shown in Figure 11, the master device 1100 includes a processor 1101 and a transceiver 1102. The transceiver 1102 is used to receive the size of the target data from the first slave device. The first slave device can carry the size of the target data through a first reply frame. The first slave device is associated with the first STA. The target data includes the first uplink data that has not yet been received by the first slave device. The first uplink data is sent by the first STA based on the first trigger frame. The processor 1101 is used to allocate an uplink time slot to the first slave device based on the size of the target data. The transceiver 1102 is also used to send uplink time slot information to the first slave device and receive the first uplink data from the first slave device in the uplink time slot. In other embodiments, the master device 1100 and / or the first slave device 1000 may also include a memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), or a flash memory. The volatile memory may be a random access memory (RAM). In the first slave device 1000, the memory may be used to store uplink timeslot information. In the master device 1100, the memory may be used to store the first uplink data.

[0148] It should be understood that the description of the master device 1100 or the first slave device 1000 shares similarities with the aforementioned description of the data transmission method. Therefore, for the description of the master device 1100 and / or the first slave device 1000, reference can be made to the descriptions in any of Figures 1 to 9 . For example, the first slave device may be an SFU or a slave FTTR. The master device may be an MMU or a master FTTR.

[0149] Figure 12a is a first structural diagram of a communication system provided in an embodiment of the present application. As shown in Figure 12a, the communication system 1200 includes a master device 1201 and at least one slave device. In the example of Figure 12a, the at least one slave device includes slave devices 1202 to 1204. The at least one slave device includes a first slave device. The first slave device can be any slave device from slave devices 1202 to 1204. The first slave device is associated with a first STA. The first slave device is used to send a first trigger frame to the first STA. The first trigger frame is used to instruct the first STA to upload first uplink data. Before receiving the first uplink data, the first slave device is also used to send the size of the target data to the master device. The target data includes the first uplink data. The master device 1201 is used to allocate an uplink time slot to the first slave device based on the size of the target data and wireless transmission time information, and send uplink time slot information to the first slave device. The first slave device is also used to receive the first uplink data from the first STA and transmit the first uplink data to the master device 1201 in the uplink time slot. It should be understood that the description of communication system 1200 shares similarities with the aforementioned description of the data transmission method. Therefore, the description of communication system 1200 may refer to the description of any of Figures 1 to 9 . For example, the first slave device may be an SFU or a slave FTTR. Master device 1201 may be an MMU or a master FTTR. For another example, the first slave device may not have full wireless functionality. Master device 1201 is further configured to send a first trigger frame to the first slave device.

[0150] Figure 12b is a second schematic diagram of the structure of the communication system provided in an embodiment of the present application. As shown in Figure 12b, based on Figure 12a, communication system 1200 further includes an optical splitter 1301. In the uplink direction, the uplink optical signals from each slave device are time-divided and coupled to master device 1201 through optical splitter 1301. In the downlink direction, master device 1201 distributes the downlink optical signals to all slave devices via optical splitter 1301. For example, in the uplink direction, a first slave device sends first uplink data to master device 1201 via optical splitter 1301.

[0151] Figure 12c is a third structural diagram of the communication system provided in an embodiment of the present application. As shown in Figure 12c, based on Figure 12b, the communication system 1200 further includes a master gateway 1401, an optical splitter 1402, a master device 1403, and a master device 1404. The master gateway 1401 can be an OLT. The master gateway 1401 is connected to multiple master devices via the optical splitter 1402. In the example of Figure 12c, the multiple master devices include the master device 1201, the master device 1403, and the master device 1404. The master devices can be ONUs or ONTs. In the upstream direction, the upstream optical signals from each master device are time-divided and coupled to the master gateway 1401 via the optical splitter 1402. In the downstream direction, the master gateway 1401 distributes the downstream optical signals to all master devices via the optical splitter 1402. For example, in the upstream direction, the master device 1201 sends the first upstream data to the master gateway 1401 via the optical splitter 1402.

[0152] The above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the protection scope of the present application.

Claims

1. A first slave device, characterized in that: It includes a receiver and a transmitter, wherein: The transmitter is used to send a first trigger frame to a first station STA, where the first trigger frame is used to instruct the first STA to upload first uplink data, and the first slave device is associated with the first STA; Before receiving the first uplink data, the transmitter is further used to send a size of target data to the master device, where the target data includes the first uplink data; The receiver is used to receive information of an uplink time slot from the master device, where the uplink time slot is obtained according to the size of the target data; The receiver is further configured to receive the first uplink data from the first STA; The transmitter is further configured to transmit the first uplink data to the master device in the uplink time slot.

2. The first slave device according to claim 1, characterized in that The transmitter is further used to send wireless transmission time information to the master device, where the wireless transmission time information includes the wireless transmission time information of the first trigger frame or the first uplink data; The uplink time slot is obtained according to the size of the target data and the wireless transmission time information.

3. The first slave device according to claim 2, characterized in that The transmitter is used to send a first trigger frame to the first STA, including: the transmitter is used to send the first trigger frame to the first STA at a first moment, and the wireless transmission time information of the first trigger frame includes information of the first moment and the wireless transmission duration of the first trigger frame.

4. The first slave device according to any one of claims 1 to 3, characterized in that: The receiver is further configured to receive the first trigger frame from the master device.

5. The first slave device according to any one of claims 1 to 4, characterized in that: The first slave device further comprises a processor, wherein: The processor is used to split the first uplink data into a plurality of uplink sub-data, wherein the uplink time slot includes a plurality of discontinuous time periods; The transmitter is also used to transmit the first uplink data to the master device in the uplink time slot, including: the transmitter is used to transmit the multiple uplink sub-data to the master device in the multiple time periods, and the multiple time periods correspond to the multiple uplink sub-data in a one-to-one manner.

6. The first slave device according to any one of claims 1 to 5, characterized in that: The receiver is further configured to receive a first uplink control instruction from the master device, and perform air interface contention according to the first uplink control instruction; The transmitter is used to send the first trigger frame to the first STA, including: after the air interface competition is successful, the transmitter is used to send the first trigger frame to the first STA.

7. The first slave device according to claim 6, characterized in that Before receiving the first uplink control instruction, the first slave device is in a silent state.

8. The first slave device according to any one of claims 1 to 7, characterized in that: The master device and the first slave device perform wired communication, and the first slave device and the first STA perform wireless communication.

9. A master device, characterized in that: Includes a processor and a transceiver, wherein: The transceiver is used to receive the size of target data from the first slave device, where the first slave device is associated with a first station STA, the target data includes first uplink data that has not been received by the first slave device, and the first uplink data is sent by the first STA according to a first trigger frame; The processor is used for allocating an uplink time slot to the first slave device according to the size of the target data; The transceiver is further configured to send information of the uplink time slot to the first slave device, and receive the first uplink data from the first slave device in the uplink time slot.

10. The master device according to claim 9, characterized in that: The transceiver is further used to receive wireless transmission time information from the first slave device, where the wireless transmission time information includes wireless transmission time information of the first trigger frame or the first uplink data; The processor is used to allocate the uplink time slot to the first slave device according to the size of the target data, including: the processor is used to allocate the uplink time slot to the first slave device according to the size of the target data and the wireless transmission time information.

11. The main device according to claim 10, characterized in that: The wireless transmission time information of the first trigger frame includes information of a first moment and a wireless transmission duration of the first trigger frame, wherein the first moment is a moment when the first slave device sends the first trigger frame; The processor is used to allocate the uplink time slot to the first slave device according to the size of the target data and the wireless transmission time information, including: the processor is used to obtain the wireless transmission end time of the first uplink data according to the transmission duration of the first trigger frame, the first time and the size of the first uplink data, and allocate the uplink time slot to the first slave device according to the wireless transmission end time and the size of the target data.

12. The master device according to any one of claims 9 to 11, characterized in that: The processor is further configured to generate the first trigger frame; The transceiver is further configured to transmit the first trigger frame to the first slave device.

13. The master device according to any one of claims 9 to 12, characterized in that: The uplink time slot includes a plurality of discontinuous time periods; The transceiver is further used to receive the first uplink data from the first slave device in the uplink time slot, including: the transceiver is further used to receive a plurality of uplink sub-data from the first slave device in the plurality of time periods, the plurality of time periods corresponding to the plurality of uplink sub-data one by one; The processor is further configured to combine the multiple uplink sub-data to obtain the first uplink data.

14. The master device according to any one of claims 9 to 13, characterized in that: The processor is further configured to generate a first uplink control frame according to an air interface transmission sequence of at least one slave device; The transceiver is also used to send the first uplink control instruction to the first slave device, and the first uplink control instruction is used to instruct the first slave device to compete for the air interface, and send the first trigger frame to the first STA after the air interface competition is successful. The at least one slave device includes the first slave device.

15. The main device according to claim 14, characterized in that: The at least one slave device further comprises a second slave device; The transceiver is used to receive the size of the target data from the first slave device, including: the transceiver is used to receive a first reply frame from the first slave device, the first reply frame including the size of the target data; Based on the first reply frame, the transceiver is further used to send a second control instruction to the second slave device according to the air interface transmission sequence, and the second control instruction is used to instruct the second slave device to perform air interface competition and air interface transmission.

16. The main device according to claim 15, characterized in that: The second slave device is associated with a second STA, and the second control instruction is a second uplink control instruction or a second downlink control instruction; The second control instruction is used to instruct the second slave device to perform air interface competition and perform air interface transmission, including: The second uplink control instruction is used to instruct the second slave device to perform air interface competition, and send a second trigger frame to the second STA after the air interface competition is successful, and the second trigger frame is used to instruct the second STA to upload second uplink data; The second downlink control instruction is used to instruct the second slave device to perform air interface competition, and send second downlink data to the second STA after the air interface competition is successful.

17. The master device according to claim 15 or 16, characterized in that: The time when the first slave device sends the first reply frame is the second time, the time when the second slave device receives the second control instruction is the third time, and the interval between the second time and the third time is less than or equal to 64 microseconds.

18. The master device according to any one of claims 15 to 17, characterized in that: The third moment is within a wireless transmission time period of the first uplink data.

19. The master device according to any one of claims 15 to 18, characterized in that: The master device and the first slave device and the second slave device transmit control frames via a passive optical network PON protocol, an optical transport network OTN protocol or a time sensitive network TSN protocol, and the control frames include the first reply frame and the second control instruction.

20. The master device according to any one of claims 14 to 19, characterized in that: The transceiver is further configured to receive a plurality of buffer information from the at least one slave device, and determine the air interface transmission sequence according to the plurality of buffer information.

21. A communication system, characterized in that: The device comprises a master device and at least one slave device, wherein: The master device is connected to the at least one slave device, wherein the at least one slave device includes a first slave device, wherein the first slave device and The first station STA association; The first slave device is used to send a first trigger frame to the first STA, where the first trigger frame is used to instruct the first STA to upload first uplink data; Before receiving the first uplink data, the first slave device is further used to send a size of target data to the master device, where the target data includes the first uplink data; The master device is used to allocate an uplink time slot to the first slave device according to the size of the target data and the wireless transmission time information, and send information of the uplink time slot to the first slave device; The first slave device is further configured to receive the first uplink data from the first STA, and transmit the first uplink data to the master device in the uplink timeslot.

22. The communication system according to claim 21, characterized in that The first slave device is further used to send wireless transmission time information to the master device, where the wireless transmission time information includes wireless transmission time information of the first trigger frame or the first uplink data; The master device is used to allocate an uplink time slot to the first slave device according to the size of the target data, including: the master device is used to allocate the uplink time slot to the first slave device according to the size of the target data and the wireless transmission time information.

23. The communication system according to claim 22, characterized in that The first slave device is used to send a first trigger frame to the first STA, including: the first slave device is used to send the first trigger frame to the first STA at a first moment, and the wireless transmission time information of the first trigger frame includes information of the first moment and the wireless transmission duration of the first trigger frame; The master device is also used to allocate the uplink time slot to the first slave device according to the size of the target data and the wireless transmission time information, including: the master device is used to obtain the wireless transmission end time of the first uplink data according to the transmission duration of the first trigger frame, the first time and the size of the first uplink data, and allocate the uplink time slot to the first slave device according to the wireless transmission end time and the size of the target data.

24. The communication system according to any one of claims 21 to 23, characterized in that: The master device is further configured to generate the first trigger frame, and transmit the first trigger frame to the first slave device; The first slave device is further configured to receive the first trigger frame from the master device.

25. The communication system according to any one of claims 21 to 24, characterized in that: The first slave device is further used to split the first uplink data into a plurality of uplink sub-data, and the uplink time slot includes a plurality of discontinuous time periods; The first slave device is also used to transmit the first uplink data to the master device in the uplink time slot, including: the first slave device is also used to transmit the multiple uplink sub-data to the master device in the multiple time periods, and the multiple time periods correspond to the multiple uplink sub-data one by one.

26. A data transmission method, characterized in that: include: The first slave device sends a first trigger frame to a first station STA, where the first trigger frame is used to instruct the first STA to upload first uplink data, and the first slave device is associated with the first STA; Before receiving the first uplink data, the first slave device sends a size of target data to the master device, the target data including the first uplink data; The first slave device receives information of an uplink time slot from the master device, where the uplink time slot is obtained according to the size of the target data; The first slave device receives the first uplink data from the first STA; The first slave device transmits the first uplink data to the master device in the uplink time slot.

27. The data transmission method according to claim 26, characterized in that: The method further comprises: The first slave device sends wireless transmission time information to the master device, where the wireless transmission time information includes wireless transmission time information of the first trigger frame or the first uplink data; The uplink time slot is obtained according to the size of the target data and the wireless transmission time information.

28. The data transmission method according to claim 27, characterized in that: The first slave device sending a first trigger frame to the first STA includes: the first slave device sending the first trigger frame to the first STA at a first moment, and the wireless transmission time information of the first trigger frame includes information of the first moment and wireless transmission time information of the first trigger frame. Line transmission time.

29. The data transmission method according to any one of claims 26 to 28, characterized in that: The method further comprises: The first slave device receives the first trigger frame from the master device.

30. The data transmission method according to any one of claims 26 to 29, characterized in that: The method further comprises: The first slave device receives a first uplink control instruction from the master device, and performs air interface contention according to the first uplink control instruction; The first slave device sending the first trigger frame to the first STA includes: after air interface competition is successful, the first slave device sending the first trigger frame to the first STA.

31. A data transmission method, characterized in that: include: The master device receives the size of target data from the first slave device, where the first slave device is associated with a first station STA, the target data includes first uplink data that has not been received by the first slave device, and the first uplink data is sent by the first STA according to a first trigger frame; The master device allocates an uplink time slot to the first slave device according to the size of the target data; The master device sends the information of the uplink time slot to the first slave device; The master device receives the first uplink data from the first slave device in the uplink timeslot.

32. The data transmission method according to claim 31, characterized in that: The method further comprises: The master device receives wireless transmission time information from the first slave device, where the wireless transmission time information includes wireless transmission time information of the first trigger frame or the first uplink data; The master device allocating an uplink time slot to the first slave device according to the size of the target data includes: the master device allocating the uplink time slot to the first slave device according to the size of the target data and the wireless transmission time information.

33. The data transmission method according to claim 32, characterized in that: The wireless transmission time information of the first trigger frame includes information of a first moment and a wireless transmission duration of the first trigger frame, wherein the first moment is a moment when the first slave device sends the first trigger frame; The master device allocates the uplink time slot to the first slave device according to the size of the target data and the wireless transmission time information, including: the master device obtains the wireless transmission end time of the first uplink data according to the transmission duration of the first trigger frame, the first time and the size of the first uplink data, and allocates the uplink time slot to the first slave device according to the wireless transmission end time and the size of the target data.

34. The data transmission method according to any one of claims 31 to 33, characterized in that: The method further comprises: The master device generates the first trigger frame, and transmits the first trigger frame to the first slave device.

35. The data transmission method according to any one of claims 31 to 34, characterized in that: The method further comprises: The master device sends a first uplink control instruction to the first slave device according to the air interface transmission order of at least one slave device, wherein the first uplink control instruction is used to instruct the first slave device to compete for the air interface, and send the first trigger frame to the first STA after the air interface competition is successful, and the at least one slave device includes the first slave device.

Citation Information

Patent Citations

  • Slave device, master device, communication system, and data transmission method

    CN118695370A

  • Communication method and system, master device and slave device applying same, and unmanned aerial vehicle

    CN108495371A

  • Chain type multi-hop efficient transmission method and system for mine tunnel environment, equipment and terminal

    CN113630204A

  • Communication method and device

    CN114375052A

  • Cascade ONT processing method, device and system

    CN115701138A

Cited By

  • FTTR data transmission method, electronic device, readable storage medium and program product

    CN122661030A

  • Communication method and communication apparatus

    WO2026092059A1

  • Communication method and apparatus

    WO2026118512A1