Device and method for generating trigger data frame

The invention relates to communication networks with data frames or data packets as units, in particular to a device for generating a trigger data frame. The device comprises a sending control module, a scanning timing module, a random number generating module and data flow ID cache FIFO, and the scanning timing module, the random number generating module and the data flow ID cache FIFO are respectively connected with the sending control module. The scanning timing module is used for generating scanning trigger signals with multiple periods to be input to the sending control module. The sending control module generates data flow ID signals. The random number generating module generates random numbers according to the scanning signals of the sending control module and inputs the random numbers to the sending control module. The data flow ID cache FIFO is connected with a frame sending device and is used for caching and sending the data flow ID output by the sending control module to trigger the frame sending device. The sending control module comprises a frame sending control database which comprises a plurality of items, and each item comprises control information corresponding to each sent data flow. The device can simultaneously support a plurality of items of data flow with multiple frame sending periods, resource consumption is small, and random delay time is convenient to add.