Font Size: a A A

The Design And Implementation Of A Gate Billing System In Linux Operating System

Posted on:2012-02-11Degree:MasterType:Thesis
Country:ChinaCandidate:S ZhuFull Text:PDF
GTID:2218330362957493Subject:Software engineering
Abstract/Summary:PDF Full Text Request
As the popularization of network and the development of application service, it becomes more complication for network provider to manage users, so the requirement of network billing technology becomes more and more high. Usually, traditional billing system can not meet these needs. How to realize a network billing system of stable, precision and high performance is the key to solve this problem.The realization of gate billing system in Linux operating system is based on the netfilter technology of the Linux kernel, which can capture packets from kernel and analyze the flow rate, and don't need to deliver packets to user space. It avoids the frequent communication between kernel and user space. The communication between kernel and user space adopt the netlink asynchronous communication technology. After sending messages, the kernel won't have to wait the receiver to accept the message. It has less influence on system when sending mass of data.In the aspect of dealing with users' requirement, the system adopts multi-threading, concurrent processing and epoll technology instead of the traditional select polling mechanism. It can effectively reduce the system loads when mass users connect simultaneously. When the user sending the connect request, the system apply the iptables tool provided by Linux to realize the network control, and start the gate billing system in the meanwhile. The system receives the users' informations regularly and save the informations to MYSQL database.Through the test, the gate billing system in Linux operating system can realize the accurate billing and network control for different types of user, and show a higher performance.
Keywords/Search Tags:Gateway, Netfilter, Netlink, Iptables
PDF Full Text Request
Related items