Data Transmission Method and Related Device

Information

  • Patent Application
  • 20230300500
  • Publication Number
    20230300500
  • Date Filed
    May 19, 2023
    a year ago
  • Date Published
    September 21, 2023
    9 months ago
Abstract
A data transmission method and a related device. The method includes an OLT obtains a first uplink transmission parameter of a first terminal corresponding to a first ONU. Then the OLT determines, based on the first uplink transmission parameter, a cycle period for performing data transmission with the first ONU, where each cycle period includes an uplink time window and a downlink time window, the uplink time window includes a first uplink transmission timeslot used by the first ONU to send uplink data, and the downlink time window is used by the OLT to send downlink data. Then the OLT sends an uplink grant message to the first ONU.
Description
Claims
  • 1. A data transmission method, comprising: obtaining, by an optical line terminal (OLT), a first uplink transmission parameter of a first terminal corresponding to a first optical network unit (ONU), wherein the first uplink transmission parameter comprises an amount of data to be sent by the first terminal each time and a period for sending data by the first terminal;determining, by the OLT, based on the first uplink transmission parameter, a cycle period for performing data transmission with the first ONU, wherein the cycle period comprises an uplink time window and a downlink time window, the uplink time window comprises a first uplink transmission timeslot used by the first ONU to send uplink data, and the downlink time window is used by the OLT to send downlink data;sending, by the OLT, an uplink grant message to the first ONU, wherein the uplink grant message indicates the first uplink transmission timeslot of the first ONU in each cycle period;receiving, by the OLT, in a first uplink transmission timeslot in a same cycle period, first uplink data sent by the first ONU;sending, by the OLT, first downlink data to the first ONU in a downlink time window in the same cycle period.
  • 2. The method according to claim 1, wherein the method further comprises: obtaining, by the OLT, a second uplink transmission parameter of a second terminal corresponding to a second ONU, wherein the second uplink transmission parameter comprises an amount of data to be sent by the second terminal each time and a period for sending data by the second terminal;wherein the determining, by the OLT based on the first uplink transmission parameter, the cycle period for performing data transmission with the first ONU comprises: determining, by the OLT, based on the first uplink transmission parameter and the second uplink transmission parameter, a cycle period for performing data transmission with the first ONU and the second ONU, wherein the uplink time window further comprises a second uplink transmission timeslot used by the second ONU to send uplink data; andwherein the method further comprises: sending, by the OLT, an uplink grant message to the second ONU, wherein the uplink grant message further indicates the second uplink transmission timeslot of the second ONU in each cycle period;receiving, by the OLT, in a second uplink transmission timeslot in the same cycle period, second uplink data sent by the second ONU; andsending, by the OLT, second downlink data to the second ONU in the downlink time window in the same cycle period.
  • 3. The method according to claim 2, wherein each cycle period further comprises a first time window, the first time window in each cycle period is located between the uplink time window and the downlink time window, and the method further comprises: sending, by the OLT, the first uplink data and the second uplink data to a first controller in a first time window in the same cycle period; andreceiving, in the first time window in the same cycle period, the first downlink data and the second downlink data sent by the first controller;wherein the first controller is configured to control the first terminal and the second terminal, the first uplink data comes from the first terminal, and the second uplink data comes from the second terminal.
  • 4. The method according to claim 3, wherein the sending, by the OLT, the first uplink data and the second uplink data to the first controller in the first time window in the same cycle period comprises: generating, by the OLT, an uplink aggregate data frame, wherein the aggregate data frame comprises the first uplink data and the second uplink data; andsending, by the OLT, the aggregate data frame to the first controller in the first time window in the same cycle period.
  • 5. The method according to claim 3, wherein the receiving, by the OLT in the first time window in the same cycle period, the first downlink data and the second downlink data sent by the first controller comprises: receiving, by the OLT in the first time window in the same cycle period, a downlink aggregate data frame sent by the first controller, wherein the downlink aggregate data frame comprises the first downlink data and the second downlink data.
  • 6. The method according to claim 3, wherein the obtaining, by the OLT, the first uplink transmission parameter of the first terminal corresponding to the first ONU comprises: receiving, by the OLT, using the first ONU, the first uplink transmission parameter sent by the first terminal; orreceiving, by the OLT, the first uplink transmission parameter sent by the first controller.
  • 7. The method according to claim 1, wherein the uplink time window in each cycle period is located before the downlink time window.
  • 8. The method according to claim 1, wherein the method further comprises: receiving, by the OLT, in the same cycle period, third downlink data sent by a second controller, wherein priorities of the first downlink data and the second downlink data are higher than a priority of the third downlink data; andsending, by the OLT, after the sending, by the OLT, first downlink data to the first ONU in a downlink time window in the same cycle period, and after the sending second downlink data to the second ONU in the downlink time window in the same cycle period,the third downlink data to a third ONU in the same cycle period.
  • 9. The method according to claim 1, wherein the cycle period further comprises a second time window and a third time window, the second time window is used by the first terminal to obtain the first uplink data, the third time window is used by the first ONU to send the first downlink data to the first terminal, and the second time window in each cycle period is located before the third time window.
  • 10. The method according to claim 1, wherein the uplink grant message is a physical layer operations, administration and maintenance (PLOAM) message or an optical network terminal management and control interface (OMCI) message, and the first controller is a programmable logic controller (PLC).
  • 11. An optical line terminal (OLT), comprising: a processor, a non-transitory memory, and an optical transceiver, wherein the processor, the non-transitory memory, and the optical transceiver are connected to each other by using a bus, and wherein the non-transitory memory stores a program to be executed by the processor, the program including instructions memory to perform the method according to claim 1.
  • 12. A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a program to be executed by a processor in an optical line terminal (OLT), the program including instructions to perform the method according to claim 1.
  • 13. A data transmission method, comprising: receiving, by an optical network unit (ONU), an uplink grant message sent by an optical line terminal (OLT);determining, by the ONU, based on the uplink grant message, a cycle period for performing data transmission with the OLT and an uplink transmission timeslot in each cycle period, wherein the cycle period comprises an uplink time window and a downlink time window, the uplink time window comprises an uplink transmission timeslot used by the ONU to send uplink data, and the downlink time window is used by the OLT to send downlink data;sending, by the ONU, uplink data to the OLT in an uplink transmission timeslot in a same cycle period; andreceiving, by the ONU, in a downlink time window in the same cycle period, downlink data sent by the OLT.
  • 14. The method according to claim 13, wherein the uplink time window in each cycle period is located before the downlink time window.
  • 15. The method according to claim 13, wherein the method further comprises, before the sending, by the ONU, the uplink data to the OLT in the uplink transmission timeslot in the same cycle period: receiving, by the ONU in the same cycle period, the uplink data sent by a terminal.
  • 16. The method according to claim 15, wherein the downlink data is sent by a controller to the OLT, the controller is configured to control the terminal, and the method further comprises, after the receiving, by the ONU in the downlink time window in the same cycle period, downlink data sent by the OLT, sending, by the ONU, the downlink data to the terminal in the same cycle period.
  • 17. The method according to claim 13, wherein the method further comprises, before the receiving, by the ONU, the uplink grant message sent by the OLT: receiving, by the ONU, an uplink transmission parameter sent by the terminal, and sending the uplink transmission parameter to the OLT, wherein the cycle period is determined by the OLT based on the uplink transmission parameter, and the uplink transmission parameter comprises an amount of data to be sent by the terminal each time and a period for sending data by the terminal.
  • 18. An optical network unit (ONU), comprising: a processor, a non-transitory memory, and an optical transceiver, wherein the processor, the non-transitory memory, and the optical transceiver are connected to each other by a bus, and wherein the non-transitory memory stores a program to be executed by the processor, the program including instructions memory to perform the method according to claim 13.
  • 19. A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a program to be executed by a processor in an optical network unit (ONU), the program including instructions to perform the method according to claim 13.
  • 20. A data transmission system, comprising a controller, an optical line terminal OLT, an optical network unit ONU, and a terminal, wherein: the OLT is configured to: obtain an uplink transmission parameter of the terminal corresponding to the ONU;determine, based on the uplink transmission parameter, a cycle period for performing data transmission with the ONU; andsend an uplink grant message to the ONU, wherein each cycle period comprises an uplink time window and a downlink time window, the uplink time window comprises an uplink transmission timeslot used by the ONU to send uplink data, the downlink time window is used by the OLT to send downlink data, and the uplink grant message indicates the uplink transmission timeslot of the ONU in each cycle period;the ONU is configured to: receive, in a same cycle period, uplink data sent by the terminal; andsend the uplink data to the OLT in the same cycle period;the OLT is further configured to_ receive, in the same cycle period, downlink data sent by the controller; andsend the downlink data to the ONU in the same cycle period; andthe ONU is further configured to: send the downlink data to the terminal in the same cycle period.
Priority Claims (1)
Number Date Country Kind
202011313875.9 Nov 2020 CN national
Continuations (1)
Number Date Country
Parent PCT/CN2021/130796 Nov 2021 WO
Child 18320848 US