How to manage the conversational life cycle in the school WiFi network billings?
The most problematic and less visible part of the school WiFi network billing system is sessional life cycle management. What is it? Simply put, it's a complete process from user authentication to offline. Each time students access the Internet, they record start-up times, end-of-life, consumption traffic, and costs. If one session is not managed in place, it may be lost on the record: users are either not charged or double-counted, and how the reconciliations are not evenly balanced at the end of the month.
How the session was created and ended
The session is created with a successful authentication. Students enter the account password through Portal pages, and Authentication & Billing has been validated to send network privileges to users while recording the start time and initial billing status of the session. At the end of the session, users are forced to deline their user, the device is disconnected, or the account number is forced to be lined, or the billing period is settled, the system records the closing time and final use, and the session is completed.
It sounds simple, and it's much more complicated in the campus environment. Users do not go down by protocol. Most often: students close their notebooks and have Internet conversations hanging; dormitory power out, AP restarting, a bunch of sessions interrupted; mobile phones switch WiFi and traffic, web addresses change, session state confused. If the system only ends with simple logic that confirms success, active wire entry, and a lot of half-intermissions are left on the system, costing or missing.
What about idle sessions and abnormal breaks?
The idle session is the most common source of account risk. There is no flow for long periods of time after students have certified, and the conversation still takes on resources. The system needs a free time mechanism: there is no traffic activity for a given period, there is no idle talk, there is no recovery of network resources, there is no closure of the session and there is no standard answer to this problem.
The system is able to reconcile the session after an abnormal interruption: this session is settled correctly according to the time and flow of the final records, while releasing the resources it occupies. If a meeting that is abnormally interrupted is not kept clean and has a significant amount of volume, the number of online users is miscalculated and the resources are inoperable, with user experience and cost accuracy affected.
Imposition of disconnection and session avoidance charges
The campus scene is a very frequent time-consuming breakout: signals are not easy to break and go on, and there are shifts between classrooms and dormitories. When reconnecting, users may have dozens of conversations per day, cut up in pieces, miscalculated and easily spent time on the setup. It is reasonable that short breakbacks combine into the same session or at least combine the costing cycle so that user's time experience is continuous.
The double-counting is the other side. In reconnecting, if the old session is not complete and the new session starts, the system will recognize that it is a continuous connection to the same user rather than two separate sessions. It will identify the matching of account numbers, terminal information, time windows.
Clock Sync and Log Coherence
The time-counting costs depend on the time data. If there is no consistency in the time clocks for authentication servers, billing servers, and network devices, the start and end time records of the session are misplaced. Time errors may be insignificant at the minute level, but they accumulate to the minute level, which makes the minutes wrong.
Log consistency is also essential. Session logs, authentication logs, weblogs are linked by account numbers and time. Students complain about the deduction of a certain period of time, and the operator must be able to find the authentication records, session records, traffic details for that period, and three pairs of them will hold the conclusion. If each of the three sets of logs is separate, it is not possible to link up, and any controversy is unclear.
Validate session management effects with reconciliation
The session management is done well, and the reconciliations are used to verify it. Each day the details and the calculation results are repeated: will the number of conversations, average hours, total billings, anomalous meeting ratio are not abnormally volatile. A sudden increase in a period of unusual meetings indicates that the network is in order; the sum and flow of one day's billings are not matched and there are problems with the billing.
The session life-cycle management of the school WiFi network billing system, which seems to be technical details and a foundation for crediting. The conversation is well managed, the bills are clear, students trust and they move with care; loose session management leads to a proliferation of confusing accounts that end up being a contradiction between the transport team and the student.