The invention provides a data sending method and
system based on time
delay constraint, and the method comprises the following steps: dividing a sending
queue into an eMAC
priority queue and a pMAC
priority queue, wherein the priority of the eMAC is higher than the priority of the pMAC; storing the plurality of pieces of to-be-sent data into corresponding priority queues according to priorities, calculating time required for sending the first to-be-sent data in the eMAC in an interference-
free state, and recording the time as theoretical time
delay; and when the execution parameter of the service primitive corresponding to the first to-be-sent data is kept, according to preset expected time
delay, theoretical time delay and second to-be-sent data in the pMAC, calculating the
preemption time for waiting for sending the first to-be-sent data, and sending the first to-be-sent data according to the
preemption time. Under the condition that the time delay constraint condition of the high-priority frame is satisfied, the low-priority data has more transmission opportunities as much as possible, and the time delay is reduced, so that the overall performance of the
system is improved, andthe relative fairness of
service flow transmission is ensured.