The invention provides a data flow control method for TDD uplink and downlink time slot ratio, and belongs to the field of data flow control, and the method comprises the following steps: a 5G module establishes communication connection with a 5GNR module through a
serial port AT instruction, periodically sends a synchronization information request instruction, and receives
wireless network synchronization information from the 5GNR module; the synchronization information comprises
time synchronization data, frame structure data and frame structure
time information data, the
time synchronization data is used for calibrating
system clock skew, the frame structure data comprises two formats of a single-bit frame and a multi-
byte frame, the single-bit frame is defined as a fixed-length frame only containing a single data bit and is used for transmitting a basic synchronization state identifier, and the multi-
byte frame is defined as a multi-
byte frame. The multi-byte frame is defined as an extended data frame comprising a plurality of independent bytes, and each byte carries a specific parameter value for transmitting a TDD slot configuration parameter.