Patent ID: 8121127

Claim:
A method for handling multiple network packets, the method comprising: receiving a plurality of network packets by using a network device driver module within a multimedia device, wherein the multimedia device is connected to a network and comprises a simplified TCP/IP stack module; according to a receiving order that the network device driver module receives the network packets, copying each of the network packets into a buffer of the simplified TCP/IP stack module by sequentially storing the network packets from a beginning of the buffer, and recording a packet length of the copied network packet into a packet information table, wherein when sequentially storing the network packets, the network device driver module obtains an end address of the last network packet stored in the buffer and stores the next network packet into the buffer right after the end address, wherein the end address of the last network packet is an address location in the buffer where the last network packet ends; and sequentially obtaining the network packets from a beginning of the buffer only according to the packet lengths recorded in the packet information table and analyzing the network packets by using the simplified TCP/IP stack module, wherein each time only one of the network packets is obtained and analyzed by the simplified TCP/IP stack module.