Patent ID: 12010088

Abstract:
This application provides techniques comprising S1: establishing a queue for accommodating m file descriptors for creating n1 first access request data packets; S2: creating an ith file descriptor in the queue, sending an ith first access request data packet by using the ith file descriptor, and monitoring a source port recorded by the ith file descriptor; S3: at every first preset time interval t1, enabling i to automatically increase by 1, continuing to perform operation S2, and setting preset monitoring time T for each source port, where T=t1*m; and S4: ending monitoring of an (i−m)th source port and destroying a corresponding file descriptor while creating an ith file descriptor in the queue when m*j<i≤m*(j+1), and stopping monitoring of other source ports in response to detecting that a first port receives a response data packet, where the first port is any source port in a monitored state.