Patent ID: 7584506

Claim:
A packet service apparatus, comprising: a packet data input part for receiving a packet data through a network and storing the packet data in a shared memory, wherein the packet data comprises at least a source IP address and a destination IP address, and wherein the shared memory is shared by and accessible from i) a kernel area of an operating system of the packet service apparatus and ii) a user area; a filtering part for determining whether the packet data stored in the shared memory satisfies with a predetermined filtering rule and deleting the packet data if the packet data satisfies with the predetermined filtering rule; a packet output part for transmitting the packet data correspondingly to the destination IP address if the packet data does not satisfy with the predetermined filtering rule; a protocol analyzing part for analyzing total amount of packet and user information by analyzing the packet data per application protocol if the packet data does not satisfy with the predetermined filtering rule; and a data storing part for converting the analyzed information by the protocol analyzing part correspondingly to a predetermined standard format and storing the converted information, wherein the shared memory is a ring-shaped queue type, wherein the writable blocks of the shared memory are maximized when a ReadStart value is equal to a NextRead value, wherein data are written up to the very right block of the shared memory corresponding to the ReadStart value, and wherein NextRead value increases whenever data are read from the shared memory.