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

By using wireless transmission time information and target data size in the wireless communication system to accurately allocate uplink time slots, it solves the problem of interference and competition between multiple WIFI devices, reduces delays and conflicts, and improves communication efficiency and reliability. .

CN118695370APending Publication Date: 2024-09-24HUAWEI TECH CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202310310088.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Co-channel or adjacent-channel interference between multiple WIFI devices in homes or campuses leads to poor WIFI experience, and traditional carrier sensing multiple access/conflict avoidance mechanisms lead to increased channel competition and delay.

Method used

By transmitting wireless transmission time information between the slave device and the master device, uplink time slots are accurately allocated, reducing time slot waste and improving communication reliability. Wireless transmission time information and target data size are used to allocate uplink time slots to ensure accurate time slots. slot allocation.

Benefits of technology

It reduces STA's uplink delay, improves communication efficiency and reliability, reduces air interface conflicts and time slot waste, and improves WIFI coverage and experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118695370A
    Figure CN118695370A
Patent Text Reader

Abstract

The invention provides first slave equipment, which is applied to the field of wireless communication. The first slave device includes a receiver and a transmitter. The transmitter is configured to transmit a first trigger frame to the first STA. The first trigger frame is used for indicating the first STA to upload the first uplink data. The first slave device is associated with the first STA. The transmitter is further configured to transmit the size of the target data to the master device before receiving the first uplink data. The target data comprises the first uplink data. The receiver is used for receiving information of an uplink time slot from the master device, and the uplink time slot is obtained according to the size of the target data. The receiver is also configured to receive first uplink data from the first STA. The transmitter is also configured to transmit the first uplink data to the primary device in the uplink time slot. In the invention, the time slot distribution of the next-level scheduling is carried out through the first uplink data which is not received yet, so that the uplink time delay of the STA can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] 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

[0002] As people have higher and higher requirements for home bandwidth quality, it is difficult for one AP (Access Point) to cover the home. More and more families use multi-AP networking to enhance the quality of home networks. Small campuses or small enterprises usually directly use multi-AP networking for wireless network coverage. AC (Access Controller) connects multiple APs through switches, and APs are deployed in different rooms of the home or different areas of the campus to provide WIFI access. Or in the FTTR (Fiber To The Room) scenario, the main FTTR device connects multiple slave FTTRs through a splitter, and the slave FTTRs are deployed in different rooms or different areas of the campus, and the slave FTTRs provide WIFI access services. WIFI signals (such as 2.4GHz, 5.2GHz, and 5.8GHz) have strong wall penetration capabilities, and there is a large co-channel or adjacent frequency interference between multiple WIFIs in the home; for large-open-plan scenarios in campuses or enterprises, the co-channel or adjacent frequency interference between multiple WIFIs will be even greater. WIFI 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 WIFI devices compete for air interface resources at the same time, resulting in a very poor WIFI experience. Summary of the invention

[0003] 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 next-level scheduling through first uplink data that has not yet been received.

[0004] In a first aspect, 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. Among them, the first slave device may not have started to receive the first uplink data, or has 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 according to 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.

[0005] In an optional manner of the first aspect, the transmitter is also 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.

[0006] In an optional manner of the first aspect, the transmitter is used to send a 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 can obtain the wireless transmission end time of the first uplink data according to 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 according to the wireless transmission end time and the size of the target data. In practical applications, the first slave device can also obtain the wireless transmission end time of the first uplink data according to 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 between the master device and the first slave device may not be synchronized, resulting in the wireless transmission end time obtained by the first slave device being different from the wireless transmission end time obtained by the master device. An inaccurate wireless transmission end time may result in an erroneous uplink time slot, thereby reducing the reliability of communication. Therefore, the present application can improve the reliability of communication.

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

[0008] In an optional manner of the first aspect, the first slave device further includes a processor. The processor is used to split the first uplink data into a plurality of uplink sub-data. The uplink time slot includes a plurality of discontinuous time periods. The transmitter is used to transmit the plurality of uplink sub-data to the master device in the plurality of time periods. The plurality of time periods correspond to the plurality of uplink sub-data one-to-one. By splitting the first uplink data into a plurality of uplink sub-data, the granularity of the uplink time slot divided by the master device can be reduced, and the uplink delay of other data can be reduced.

[0009] In an optional manner of the first aspect, the receiver is further configured to receive a first uplink control instruction from a master device, and perform air interface competition according to the first uplink control instruction. After the air interface competition is successful, the transmitter is configured to send a first trigger frame to the first STA. By controlling the air interface competition by the master device, the probability of conflict in the air interface competition can be reduced, thereby improving communication efficiency.

[0010] In an optional manner 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 compete for the air interface. Therefore, the probability of air interface conflict can be reduced by performing air interface scheduling through control instructions. Therefore, the present application can provide communication efficiency.

[0011] 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.

[0012] A 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 been received by the first slave device. Among them, 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 has 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 information about 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.

[0013] 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 according to the size of the target data and the wireless transmission time information.

[0014] In an optional manner of the second aspect, 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 first moment is the moment when the first slave device sends the first trigger frame. The processor is used to obtain the wireless transmission end moment of the first uplink data according to 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 according to the wireless transmission end moment and the size of the target data.

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

[0016] In an optional manner of the second aspect, the uplink time slot includes multiple discontinuous time periods. The transceiver is also used to receive multiple uplink sub-data from the first slave device in the multiple time periods. The multiple time periods correspond to the multiple uplink sub-data one by one. The processor is also used to combine the multiple uplink sub-data to obtain the first uplink data.

[0017] In an optional manner of the second aspect, the processor is further used to generate a first uplink control frame according to an air interface transmission order of at least one slave device. The transceiver is also used to send a first uplink control instruction to the first slave device. The first uplink control instruction is used to instruct the first slave device to perform air interface competition, and send a 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.

[0018] In an optional manner of the second aspect, at least one slave device also includes a second slave device. The transceiver is used 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 also used to send a second control instruction to the second slave device according to the air interface transmission order. The second control instruction is used to instruct the second slave device to perform air interface competition and perform air interface transmission. By sending the second control instruction triggered by the first reply frame, the probability of conflict in air interface competition can be reduced, thereby improving communication efficiency.

[0019] In an optional manner of the second aspect, the second slave device is associated with the 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 competition, and send a second trigger frame to the second STA after the air interface competition is successful. 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.

[0020] 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 for the air interface. Therefore, the present application can reduce the air interface idle time, thereby improving the transmission efficiency of the air interface.

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

[0022] In an optional manner of the second aspect, the control frame is transmitted between the master device and the first slave device and the second slave device through 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. By transmitting the control frame through the above protocol, the time interval between the second moment and the third moment can be controlled, thereby reducing the idle time of the air interface and improving the transmission efficiency of the air interface.

[0023] In an optional manner of the second aspect, the transceiver is further used to receive multiple buffer information from at least one slave device, and determine the air interface transmission order according to the multiple buffer information. The buffer information may include uplink buffer information and / or downlink buffer information. In the present application, the master device performs air interface scheduling according to the multiple buffer information, which can improve the transmission efficiency of the air interface.

[0024] The 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 according to 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.

[0025] The 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.

[0026] 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 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 information about 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 time slot.

[0027] The 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 used 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 used 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 also used to send a first reply frame to the master device. Based on the first reply frame, the master device is also used to send a second control instruction to the second slave device according to the air interface transmission order. The second slave device is used to perform air interface competition and air interface transmission according to the second control instruction.

[0028] 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.

[0029] 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 according to the size of the target data and the wireless transmission time information.

[0030] In an optional manner of the sixth aspect, the first slave device is also used to send a first trigger frame to the first STA, including: the first slave device is used to send a 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 also 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, 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 moment and the size of the first uplink data, and allocate an uplink time slot to the first slave device according to the wireless transmission end time and the size of the target data.

[0031] In an optional manner of the sixth aspect, the first control instruction is a first downlink control instruction. 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 send first downlink data to the first STA according to the first control instruction.

[0032] 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.

[0033] 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.

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

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

[0036] 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.

[0037] It should be understood that there are similarities between the description of the first aspect and the description of the aforementioned second aspect. Therefore, for the description of the first aspect, reference may be made to the description in any one of the optional modes in the aforementioned second aspect. Similarly, there are similarities between the descriptions of the second to sixth aspects and the description of the aforementioned first aspect. Therefore, for the description of any one of the second to sixth aspects, reference may be made to the description in the aforementioned first aspect or any one of the optional modes 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.

[0038] 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.

[0039] 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

[0040] Figure 1 A first flow chart of the data transmission method provided in the embodiment of the present application;

[0041] Figure 2 A second flow chart of the data transmission method provided in an embodiment of the present application;

[0042] Figure 3 The first timing diagram of uplink wireless transmission provided in an embodiment of the present application;

[0043] Figure 4 A third flow chart of the data transmission method provided in the embodiment of the present application;

[0044] Figure 5 A second timing diagram of uplink wireless transmission provided in an embodiment of the present application;

[0045] Figure 6A fourth flow chart of the data transmission method provided in an embodiment of the present application;

[0046] Figure 7 A timing diagram of downlink wireless transmission provided in an embodiment of the present application;

[0047] Figure 8 A fifth flow chart of the data transmission method provided in an embodiment of the present application;

[0048] Fig. 9 A timing diagram of wireless transmission provided in an embodiment of the present application;

[0049] Fig.10a A first structural diagram of a first slave device provided in an embodiment of the present application;

[0050] Fig.10b A second structural diagram of a first slave device provided in an embodiment of the present application;

[0051] Fig.11 A schematic diagram of the structure of the main device provided in the embodiment of the present application;

[0052] Fig.12a A first structural diagram of a communication system provided in an embodiment of the present application;

[0053] Figure 12b A second structural diagram of a communication system provided in an embodiment of the present application;

[0054] Fig.12c A third structural diagram of the communication system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] 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 STA by allocating time slots for the next level of scheduling through the first uplink data that has not yet been received. It should be understood that the "first", "second", "target", etc. used in this application are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. In addition, for simplicity and clarity, reference numbers and / or letters are repeated in multiple figures of this application. Repetition does not indicate a strict limiting relationship between various embodiments and / or configurations.

[0056] The data transmission method provided by the present application is applied to the field of wireless communication. In the field of wireless communication, there is a two-level scheduling between STA and optical line terminal (optical line termination, OLT). The first level scheduling is the wireless scheduling between STA and optical network terminal (optical network termination, ONT). The second level scheduling is the wired scheduling between ONT and OLT. The two-level scheduling reduces the uplink delay of STA.

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

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

[0059] 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, indicating that the first STA uploads the first uplink data after a short inter-frame space (SIFS).

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

[0061] The master device may also be referred to as a master gateway or access controller (AC). In a PON system, the master device may be referred to as a master ONU or master ONT. In a FTTR scenario, the master device may be referred to as 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 between the two may be by optical fiber, network cable, power line or cable, etc. At least one slave device includes a first slave device. When the master device and at least one slave device are connected by optical fiber, an optical splitter may also be included between the master device and at least one slave device. In the upstream direction, the upstream optical signals from each slave device are coupled to the master device through an optical splitter in a time-sharing manner. In the downstream direction, the master device distributes the downstream optical signal to all slave devices through an optical splitter.

[0062] 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 through the 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 the wireless transmission of the first uplink data. The first slave device can obtain the start time of the wireless transmission of the first uplink data according to the sending time of the first trigger frame, the transmission duration of the first trigger frame and SIFS. The first trigger frame includes the size of the uplink time slot of the wireless transmission. The first slave device obtains the end time of the wireless transmission of the first uplink data according to the start time of the wireless transmission of the first uplink data and the size of the uplink time slot. Alternatively, the wireless transmission time information includes the wireless transmission duration of the first trigger frame and the information of the first moment. The first moment is the moment 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 the wireless transmission of the first uplink data according to the first moment, the wireless transmission duration of the first trigger frame and SIFS, and then obtains the end time of the wireless transmission of the first uplink data according to the start time of the wireless transmission and the size of the first uplink data.

[0063] It should be understood that in actual applications, the first slave device can cache uplink cache data to be sent to the master device. The uplink cache 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 the uplink cache data and the first uplink data. When the target data includes the first uplink data and the uplink cache 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 cache data. In subsequent examples, the target data will be described as the first uplink data.

[0064] 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.

[0065] The master device allocates an uplink time slot for wired transmission to the first slave device according to 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 according to 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 according to 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.

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

[0067] The information of the uplink time slot includes the window opening start time and the window opening end time of the uplink time slot, or the information of the uplink time slot includes the window opening start time and the window opening duration of the uplink time slot. The window opening end time can be obtained according to the window opening start time and the window opening duration. The information of the uplink time slot is a wired signal, such as an optical signal or an electrical signal.

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

[0069] According to the description of the aforementioned step 101, it can be known that 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 the 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.

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

[0071] 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.

[0072] In the embodiment of the present application, the master device allocates the uplink time slot of wired transmission to the first slave device according to the size of the target data, that is, the master device allocates the time slot for the next level of scheduling through the first uplink data that has not been received by the first slave device. Therefore, the embodiment of the present application can reduce the residence time of the first uplink data on the first slave device, thereby reducing the uplink delay of the first STA.

[0073] It should be understood that when the target data includes the uplink buffer data and the first uplink data, the master device can allocate the window duration of the uplink time slot to the first slave device according to the size of the target data. At this time, the window duration allocated by the master device can be greater than the window duration allocated by the master device in the aforementioned step 103. The first slave device transmits the first uplink data and the uplink buffer data according to the uplink time slot allocated by the master device.

[0074] 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. 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 the second uplink data to the master device. Time period 4 is used for the third slave device to transmit the 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. Multiple time periods correspond to multiple uplink sub-data one by one.

[0075] According to the description of the aforementioned step 103, the window opening start time of the wired transmission may 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 may 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 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.

[0076] In an embodiment of the present application, the wireless module of the first slave device may have complete wireless functions. At this time, 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 a 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 a 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 an IP message to the master device. For example, the first slave device also includes an optical module, and the first slave device transmits an IP message to the master device through the optical module.

[0077] 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 a MAC layer message 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 message. 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 an IQ signal to the master device. The physical layer processing unit of the master device is used to perform physical layer related processing on the IQ signal. The MAC layer processing unit of the master device is used to perform MAC layer related processing on the MAC layer message.

[0078] When the wireless module of the first slave device has complete wireless functions, the first slave device can generate a first trigger frame through the MAC layer processing unit. When the wireless module of the first slave device does not have complete wireless functions, the first slave device can send relevant information of the first STA, such as a MAC address, to the master device. The master device generates a first trigger frame based on the relevant information of 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.

[0079] It should be understood that Figure 1It is only an example of the data transmission method provided by the embodiment of the present application. In practical applications, those skilled in the art can make adaptive modifications to the steps of the data transmission method according to needs. For example, in practical applications, the first slave device may not need to transmit wireless transmission time information to the master device. The master device takes the moment of receiving the first reply frame as the first moment. According to the aforementioned description method, the master device can obtain the end moment of wireless transmission of the first uplink data according to the first moment, the duration of the first trigger frame, SIFS and the size of the first uplink data. Alternatively, the master device obtains the end moment of wireless transmission of the first uplink data according to the first moment, the target duration and the size of the first uplink data. The target duration can be the default duration from the first slave device sending the first reply frame to the start of receiving the first uplink data. For another example, the master device allocates an uplink time slot to the first slave device only according to the size of the target data and the current moment. The time of the uplink time slot is later than the current moment. The duration of the uplink time slot is greater than the duration required to transmit the target data. The incremental part of the uplink time slot is used as compensation for the uncertain end moment of wireless transmission. The first slave device can transmit useless data or other cached data in the incremental part of the uplink time slot.

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

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

[0082] 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 to the multiple slave devices one by one. Figure 2 In the example, 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 used as an example for description. For the description of the master device, at least one slave device and the STA, please refer to the aforementioned Figure 1 Description in .

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

[0084] 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 according to 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 according to 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.

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

[0086] 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 according to requirements. Therefore, the embodiment of the present application does not limit the specific format of the first uplink control instruction.

[0087] 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.

[0088] After the air interface competition is successful, the first slave device sends a first trigger frame to the first STA. The first STA sends the first uplink data to the first slave device according to the first trigger frame. For the description of the first trigger frame, please refer to the aforementioned Figure 1 The first slave device receives first uplink data from the first STA.

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

[0090] 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 according to the size of the first uplink data, and sends the uplink time slot information to the first slave device. The first slave device transmits the first uplink data to the master device in the uplink time slot.

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

[0092] The master device sends an uplink control instruction to at least one slave device in sequence according to the uplink air interface transmission order of 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. In order to avoid air interface contention conflict between the second slave device and the first slave device, after the first slave device successfully competes for the air interface, the first slave device can send a first reply frame to the master device. The master device sends the second uplink control instruction to the second slave device according to the first reply frame.

[0093] 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.

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

[0095] It should be understood that Figure 2 In the description, at least one slave device includes a first slave device and a second slave device as an example. In practical applications, at least one slave device may also include more slave devices. For example, at least one slave device also includes a third slave device. The master device receives third uplink cache information from the third slave device. The master device determines the uplink air interface transmission order as the first slave device, the second slave device, and the third slave device according to the multiple uplink cache information. Figure 3 This is the first timing diagram of uplink wireless transmission provided in the embodiment of the present application. Figure 3 As shown, within t1, the first slave device receives the first uplink control instruction from the master device and performs air interface competition. After the air interface competition is successful, the first slave device sends the first trigger frame to the first STA within t2. After sending the first trigger frame, the first slave device receives the first uplink data from the first STA within T1. T1 can also be called the wireless transmission time of the first uplink data. Similarly, within t3, the second slave device receives the second uplink control instruction from the master device and performs air interface competition. After the air interface competition is successful, the second slave device sends the second trigger frame to the second STA within 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 called the wireless transmission time of the second uplink data. For the description of the third slave device, reference can be made to the description of the first slave device and the second slave device. Among them, t4 is after T1, and t6 is after T2.

[0096] According to the aforementioned Figure 2It can be seen from the description that 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 first slave device sending the first reply frame to the master device to the time from the second slave device receiving the second uplink control instruction can be less than or equal to 64 microseconds. Among them, the time when the first slave device sends the first reply frame is the second time. The second time can be Figure 3 The time when the second slave device receives the second uplink control instruction is the third time. The third time may be Figure 3 The end time of t3.

[0097] In order to accurately control the delay between the slave device and the master device, the slave device and the master device can communicate through 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 through the OTN protocol. The master device sends a second uplink control instruction to the second slave device through the OTN protocol.

[0098] exist Figure 3 In the embodiment, after the second slave device successfully competes for the air interface, it 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.

[0099] exist Figure 2 In the data transmission method provided, the master device performs uplink air interface scheduling for at least one STA associated with the slave device. Therefore, the STA associated with at least one slave device may not need to compete for the uplink air interface, thereby reducing the probability of air interface conflict. In addition, in order to further reduce the probability of air interface competition, at least one slave device may be in an uplink silent state. When an uplink control instruction is not received, the slave device in the uplink silent state will not send a trigger frame to the STA by way of air interface competition.

[0100] Figure 4 The third flow chart of the data transmission method provided in the embodiment of the present application is as follows. Figure 4 As shown, the data transmission method includes the following steps.

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

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

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

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

[0105] After receiving the first uplink control instruction, the first slave device performs air interface contention according to the first uplink control instruction and executes the aforementioned Figure 1 In step 101 and step 102 of the embodiment. 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 wireless transmission time information. The master device is used to perform steps 103 and 104. The first STA is used to perform step 105. The first slave device is also used to perform step 106.

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

[0107] 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.

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

[0109] After receiving the second uplink control instruction, the second slave device performs air interface competition according to the second uplink control instruction and executes the aforementioned Figure 1 Step 101 and step 102 in the embodiment of the present invention. 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 the 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 used to execute steps 103 and 104.

[0110] The second STA is used to execute step 105. The second slave device is also used to execute step 106.

[0111] It should be understood that Figure 4 The description of the data transmission method and the aforementioned Figure 1 and Figure 2 There is similar support for the description in . Figure 4 For a description of Figure 1 and Figure 2For example, for the description of steps 401 to 403, please refer to the aforementioned Figure 2 For example, the description of step 404 can refer to the description of steps 201 to 203 in the above description. Figure 1 Description of steps 101 to 106 in FIG.

[0112] Figure 5 This is the second timing diagram of uplink wireless transmission provided in the embodiment of the present application. Figure 5 As shown, in Figure 3 Based on the above, 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. Figure 2 In the description, the master device performs uplink air interface allocation for the STA associated with at least one slave device. In actual applications, the master device may also perform downlink air interface allocation for at least one slave device. Figure 6 The fourth flow chart of the data transmission method provided in the embodiment of the present application is as follows. Figure 6 As shown, the data transmission method includes the following steps.

[0113] 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.

[0114] The master device can periodically obtain multiple downlink cache information from at least one slave device. The multiple downlink cache information corresponds to the multiple slave devices one by one. For example, the master device obtains the first downlink cache information from the first slave device. The master device obtains the second downlink cache information from the second slave device. The downlink cache information is used to characterize the size of 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 cache information. For example, the master device determines the downlink air interface transmission order based on the size of the multiple downlink cache information. For another example, the master device determines the downlink air interface transmission order based on the size and priority of the multiple downlink cache information. For the description of the master device, at least one slave device and the STA, please refer to the aforementioned Figure 1 Description.

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

[0116] After determining the downlink air interface transmission order of at least one slave device, the master device sends a downlink control instruction to at least one slave device in sequence according to the downlink air interface transmission order. In the 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.

[0117] 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.

[0118] After successfully competing for the air interface, the first slave device sends the first downlink data to the first STA. The size of the first downlink data may be less than or equal to the size of the first downlink buffer data. After competing for the air interface, the first slave device may 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.

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

[0120] In order to avoid the second slave device and the first slave device competing for the air interface when the first slave device has not yet competed for the air interface, the master device can send a second downlink control instruction to the second slave device according to the first reply frame sent by the first slave device.

[0121] 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.

[0122] After successfully competing for the air interface, the second slave device sends the second downlink data to the second STA. The size of the second downlink data may be less than or equal to the size of the second downlink buffer data. After competing for the air interface, the second slave device may 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.

[0123] It should be understood that Figure 6 In the description, at least one slave device includes a first slave device and a second slave device as an example. In practical applications, at least one slave device may also include more slave devices. For example, at least one slave device also includes a third slave device. The master device receives third downlink buffer information from the third slave device. The master device determines the downlink air interface transmission order as the first slave device, the second slave device, and the third slave device according to the multiple downlink buffer information. Figure 7 This is a timing diagram of downlink wireless transmission provided in an embodiment of the present application. Figure 7As shown, within t1, the first slave device receives the first downlink control instruction from the master device and performs air interface competition. After the air interface competition is successful, the first slave device sends the first downlink data to the first STA within T1. T1 can also be called the wireless transmission time of the first downlink data. Similarly, within t2, the second slave device receives the second downlink control instruction from the master device and performs air interface competition. After the air interface competition is successful, the second slave device sends the second downlink data to the second STA within T2. ​​T2 can also be called the wireless transmission time of the second downlink data. For the description of the third slave device, reference can be made to the description of the first slave device and the second slave device. Among them, in order to reduce the probability of air interface conflict, t2 can be within T1, and t3 can be within T2.

[0124] exist Figure 6 In the data transmission method provided, the master device performs downlink air interface scheduling for at least one slave device. Therefore, at least one slave device may not need to compete for the downlink air interface, thereby reducing the probability of air interface conflict. In addition, in order to further reduce the probability of air interface competition, at least one slave device may be in a downlink silent state. When a downlink control instruction is not received, even if there is cached data to be sent to the STA in the slave device, the slave device in the downlink silent state will not send downlink data to the STA by way of air interface competition.

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

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

[0127] A slave device is used to send an uplink buffer information and a downlink buffer information to the master device. For the description of the uplink buffer information, please refer to the above Figure 2 For the description of downlink buffer information, please refer to the aforementioned Figure 6 For the description of the master device, at least one slave device and the STA, please refer to the aforementioned Figure 1 Description.

[0128] 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.

[0129] Assume that the multiple uplink cache information includes the first uplink cache information and the second uplink cache information. The multiple downlink cache information includes the first downlink cache information and the second downlink cache information. The master device can determine the air interface transmission order of at least one slave device according to the size of the multiple uplink cache information and the multiple downlink cache information. For example, the four cache information are sorted in order of size as the first downlink cache information, the second uplink cache information, the first uplink cache information, and the second downlink cache 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 according to the priority of the multiple uplink cache information and the multiple downlink cache information.

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

[0131] After determining the air interface transmission sequence of at least one slave device, the master device sends a control instruction to the at least one slave device in sequence according to the air interface transmission sequence. In the example of step 802, the air interface transmission sequence of 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.

[0132] 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.

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

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

[0135] 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 according to the first uplink control instruction. Figure 2 After sending the first uplink control instruction, the master device sends a second downlink control instruction to the second slave device. The second slave device performs air interface contention according to the second downlink control instruction and sends the second downlink data to the second STA.

[0136] It should be understood that Figure 8 The description of the data transmission method and the aforementioned Figure 4 and Figure 6 Therefore, the description of Figure 8 For a description of Figure 4 and Figure 6 For example, for the description of steps 803 to 804, please refer to the aforementioned Figure 6 For example, the description of step 806 can refer to the aforementioned Figure 4 Description of step 404 in .

[0137] Fig. 9 This is a timing diagram of wireless transmission provided in an embodiment of the present application. Fig. 9 As shown, within t1, the first slave device receives the first downlink control instruction from the master device and performs air interface competition. After the air interface competition is successful, the first slave device sends the first downlink data to the first STA within T1. Within t2, the second slave device receives the second uplink control instruction from the master device and performs air interface competition. After the air interface competition is successful, the second slave device sends the second trigger frame to the second STA within t3. After sending the second trigger frame, the second slave device receives the second uplink data from the second STA within T2, and transmits the second uplink data to the master device within T3. Similarly, within t4, the first slave device receives the first uplink control instruction from the master device and performs air interface competition. After the air interface competition is successful, the first slave device sends the first trigger frame to the first STA within t5. After sending the first trigger frame, the first slave device receives the first uplink data from the first STA within T4, and transmits the first uplink data to the master device within T5. Within t6, the second slave device receives the second downlink control instruction from the master device and performs air interface competition. After the air interface competition is successful, the second slave device sends the second downlink data to the second STA within T6. Among them, t3 is after T1, and t5 is after T2. In order to reduce the probability of air interface conflict, t2 can be within T1, t4 can be within T2, and t6 can be within T4.

[0138] According to the aforementioned Figure 3 As can be seen from the description, in the uplink data transmission, the time from the moment when the first slave device sends the first reply frame to the master device to the moment when the second slave device receives the second uplink control instruction can be less than or equal to 64 microseconds. Figure 7 and Fig. 9 In the embodiment, the master device may also send a second control instruction to the second slave device based on the first reply frame. The second control instruction is a second uplink control instruction or a second downlink control instruction. Figure 7 or Fig. 9 In the example, the time from the moment when the first slave device sends the first reply frame to the master device to the moment when the second slave device receives the second control instruction may be less than or equal to 64 microseconds.

[0139] According to the aforementioned Figure 3As can be seen from the description, 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 air interface transmission time of the first slave device ends. The air interface transmission time can be the wireless transmission time of the first downlink data and / or the first uplink data. For example, Figure 7 In the embodiment, the second slave device can receive the second uplink control instruction before the wireless transmission time of the first downlink data ends. Figure 8 In the data transmission method provided, the master device performs uplink air interface scheduling and downlink air interface scheduling at the same time. Therefore, the STA associated with at least one slave device and at least one slave device may not need to compete for the air interface, thereby reducing the probability of air interface conflict. In addition, in order to further reduce the probability of air interface competition, at least one slave device may be in a silent state. When no control instruction is received, the slave device in the silent state will not compete for the air interface. In order to avoid the STA from competing for the uplink air interface, the slave device may also send a silent instruction to the associated STA, and the silent instruction is used to instruct the associated STA not to compete for the air interface.

[0140] exist Figure 8 and Fig. 9 In the example, the master device sends four control instructions to the slave device, and the slave device performs four air interface competitions according to the four control instructions. In practical applications, the slave device can perform uplink and downlink data transmission respectively according to one control instruction, thereby reducing the number of air interface competitions. For example, the master device determines the air interface transmission order of at least one slave device according to the size 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 slave device and the second slave device 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 competition according to the first control instruction, and divides the time obtained by the air interface competition 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 also sends a second control instruction to the second slave device. The second slave device performs air interface competition according to the second control instruction, and divides the time obtained by the air interface competition 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.

[0141] It should be understood that Figure 5In the embodiment of the present invention, only the example that at least one slave device includes a first slave device and a second slave device is used for description. In practical applications, at least one slave device may also include more slave devices. For example, at least one slave device also includes a third slave device, a fourth slave device, and a fifth slave device. At this time, the master device may determine the air interface transmission order of the five slave devices based on the 10 cache information.

[0142] It should be understood that the size of the data to be transmitted indicated by the buffer information may be 0. For example, the size of the data to be uploaded by the first STA is 0. At this time, 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. Figure 8 In the example, 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 first slave device downlink, second slave device uplink, and second slave device downlink.

[0143] exist Figure 2 and Figure 4 In the example of , the air interface transmission order of at least one slave device is the uplink air interface transmission order. Figure 6 In the example of , the air interface transmission order of at least one slave device is the downlink air interface transmission order. Figure 8 In the example, the air interface transmission order of at least one slave device is a combination of the uplink air interface transmission order and the downlink air interface transmission order. In actual applications, the master device can update the air interface transmission order in real time. For example, in Figure 8 In the example of , after the master device determines the air interface transmission sequence, the master device receives the third buffer information of the third slave device. The master device updates the air interface transmission sequence according to the third buffer information.

[0144] The data transmission method provided in the embodiment of the present application is described above, and the first slave device and the master device provided in the embodiment of the present application are described below. Fig.10a This is a first structural diagram of a first slave device provided in an embodiment of the present application. Fig.10aAs shown, 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. Among them, the first slave device may not have started to receive the first uplink data, or has received part of the first uplink data. The target data includes the first uplink data. The receiver 1001 is used to receive information about the uplink time slot from the master device. The uplink time slot is obtained according to 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 in the uplink time slot. Fig.10b This is a second structural diagram of the first slave device provided in the embodiment of the present application. Fig.10b As shown, 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 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 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.

[0145] 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 a 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.

[0146] Fig.11 This is a schematic diagram of the structure of the main device provided in the embodiment of the present application. Fig.11As shown, 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 a first STA. The target data includes the first uplink data that has not been received by the first slave device. The first uplink data is sent by the first STA according to the first trigger frame. The processor 1101 is used to allocate an uplink time slot to the first slave device according to the size of the target data. The transceiver 1102 is also used to send information about 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. 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 memories. 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 information of an uplink time slot. In the master device 1100, the memory may be used to store first uplink data.

[0147] It should be understood that the description of the master device 1100 or the first slave device 1000 is similar to the description of the aforementioned data transmission method. Therefore, the description of the master device 1100 and / or the first slave device 1000 can refer to the aforementioned 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.

[0148] Fig.12a This is a first structural diagram of a communication system provided in an embodiment of the present application. Fig.12a As shown, the communication system 1200 includes a master device 1201 and at least one slave device. Fig.12aIn the example, at least one slave device includes slave devices 1202 to 1204. At least one slave device includes a first slave device. The first slave device can be any slave device among 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 the 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 according to 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 1201 in the uplink time slot. It should be understood that the description of the communication system 1200 is similar to the description of the aforementioned data transmission method. Therefore, the description of the communication system 1200 can refer to the aforementioned Figures 1 to 9 For example, the first slave device may be an SFU or a slave FTTR. The master device 1201 may be an MMU or a master FTTR. For another example, the first slave device does not have a complete wireless function. The master device 1201 is further configured to send a first trigger frame to the first slave device.

[0149] Figure 12b This is a second structural diagram of the communication system provided in the embodiment of the present application. Figure 12b As shown, in Fig.12a On the basis of the optical splitter 1301, the communication system 1200 further includes an optical splitter 1301. In the uplink direction, the uplink optical signals from each slave device are coupled to the master device 1201 through the optical splitter 1301 in a time-division manner. In the downlink direction, the master device 1201 distributes the downlink optical signals to all the slave devices through the optical splitter 1301. For example, in the uplink direction, the first slave device sends the first uplink data to the master device 1201 through the optical splitter 1301.

[0150] Fig.12c This is a third structural diagram of the communication system provided in the embodiment of the present application. Fig.12c As shown, in Figure 12b Based on the communication system 1200, the communication system 1200 further includes a main gateway 1401, an optical splitter 1402, a main device 1403 and a main device 1404. The main gateway 1401 may be an OLT. The main gateway 1401 is connected to multiple main devices via the optical splitter 1402. Fig.12cIn the example of FIG. 1 , the multiple master devices include master device 1201, master device 1403, and master device 1404. The master device may be an ONU or an ONT. In the upstream direction, the upstream optical signals from each master device are coupled to the master gateway 1401 through the optical splitter 1402 in a time-division manner. In the downstream direction, the master gateway 1401 distributes the downstream optical signals to all the master devices through the optical splitter 1402. For example, in the upstream direction, the master device 1201 sends the first upstream data to the master gateway 1401 through the optical splitter 1402.

[0151] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present 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 main 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 master 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, the at least one slave device includes a first slave device, and the first slave device is associated with a first station STA; 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 the 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 the wireless transmission duration of the first trigger frame.

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

Cited By

  • Access point energy-saving interaction method, device, equipment and system

    CN120499793A

  • Scheduling method, system and device

    CN120676472A

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

    EP4576901A1

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

    WO2024192994A1

  • Scheduling method and scheduling apparatus

    WO2026092087A1