Method of calculating broadband access server dhcp user's on-line time
First Claim
1. A method of time charging to DHCP online users in a broadband access server, comprising the steps of:
- a) setting an inner time, an outer time and a flow threshold for counting data flow of the users in the broadband access server, the inner time being shorter than the outer time;
b) starting time charging to the users by instruction of the access server to the users sooner after the users access the access server and are authenticated successfully, c) establishing a circular link list to each user for recording data flow of the user in the access server;
d) defining a number of elements in the circular link list as a multiple of the outer time to the inner time in the access server; and
e) detecting the data flow of the user according to the inner time in the access server, and recording the data flow as a content of a head pointer of the circular link list in turn, until a difference between data flow newly detected and the content rerecorded in the head pointer is not more than the flow threshold.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of calculating broadband access server DHCP user'"'"'s on-line time includes the steps of: (a) setting an inner time, an outer time and a flow threshold for said access server to count user'"'"'s data flow, wherein the inner time is shorter than the outer time; (b) starting time charging to the users by instruction of the access server to the users sooner after the users access the access server and are authenticated successfully; (c) establishing a circular link list to each user for recording data flow of the user in the access server; (d) defining a number of elements in the circular link list as a multiple of the outer time to the inner time in the access server; (e) detecting the data flow of the user according to the inner time in the access server, and recording the data flow as a content of a head pointer of the circular link list in turn, until a difference between data flow newly detected and the content rerecorded in the head pointer is not more than the flow threshold.
13 Citations
12 Claims
-
1. A method of time charging to DHCP online users in a broadband access server, comprising the steps of:
-
a) setting an inner time, an outer time and a flow threshold for counting data flow of the users in the broadband access server, the inner time being shorter than the outer time;
b) starting time charging to the users by instruction of the access server to the users sooner after the users access the access server and are authenticated successfully, c) establishing a circular link list to each user for recording data flow of the user in the access server;
d) defining a number of elements in the circular link list as a multiple of the outer time to the inner time in the access server; and
e) detecting the data flow of the user according to the inner time in the access server, and recording the data flow as a content of a head pointer of the circular link list in turn, until a difference between data flow newly detected and the content rerecorded in the head pointer is not more than the flow threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 11, 12)
-
-
9. A method of time charging to DHCP online users in a broadband access server, characterized in that the method comprises the steps of:
-
detecting data flow of an authenticated user by using an inner time interval being shorter than an outer time interval and a flow threshold in the broadband access server and establishing a circular link list corresponding the user so as to decide whether the user is in an IDLE state; and
if the user is not in the IDLE state, recording current data flow in the circular link list and continuedly detecting the data flow;
otherwise, determining the user in IDLE state. - View Dependent Claims (10)
-
Specification