
Since the adoption of Ministry of Public Security Order No.176, many venue operators have discovered a hidden compliance pitfall. The Portal page pops up normally and guests connect successfully, yet inspectors cannot pull up a user’s full internet history when searching by mobile number.
The root cause is not missing authentication, but what data the system writes the moment verification succeeds.
For guests, clicking “Agree & Authenticate” means internet access is granted. For the system, this is only the start of a data record. The data written right after authentication determines whether internet activity can be traced back to a specific person. This step is often dismissed as a minor implementation detail, yet most traceability failures occur here.
Neither record can be omitted. Without both, the access logs become untraceable raw data with no associated user identity.
The most common engineering mistake: only saving authentication records. You have complete login logs and full traffic logs, yet the two datasets cannot be matched. The result: you can view access records, but not identify the user behind them.
The 4-tuple written after authentication binds four critical attributes of a single internet session:
Account ID (mobile number / ID number), terminal MAC address, terminal IP address, login timestamp.
Only when all four items are grouped together can the system confirm: Who used which device, at what time, from which IP address to go online.
Why store them as a single group instead of four separate records?
IP addresses change dynamically, MAC addresses can be modified, and multiple users may go online at overlapping times. In hotel environments, an IP address is immediately reassigned to the next guest after checkout. If you rely solely on IP for correlation, two different guests’ logs will be mixed together.
The 4-tuple locks the network occupancy strictly within a fixed time window. The exact fields follow the interface specification of the integrated version, but traceability breaks if any one of the four items is missing.
Cloud Audit correlates Session ID with access logs entirely on the cloud.
Key point: no local log server is deployed on-site. All traffic logs are uploaded to the cloud and matched against authentication records via Session ID.
Three items to verify during integration:
The third point is frequently overlooked. If authentication records are retained but the correlation relationship expires, the log data becomes useless for traceability.
This is a hidden fault with zero impact on user experience: guests browse the internet normally, yet the backend fails to persist session data.
Three typical root causes:
Troubleshooting suggestion: Compare the hourly count of successful authentications against the number of sessions successfully written to the database. Abnormal deviations indicate data loss. Do not wait until an inspection to discover log gaps.
Data writing is handled by the Cloud Portal plug-in.
The plug-in connects to existing ONTs without modifying the original broadband forwarding functions. It delivers Portal pages, runs multi-channel verification (SMS, ID documents including passports & Mainland Travel Permits for HK/Mac/TW residents, and WeChat login), and writes the 4-tuple data. All records and correlations are stored on the cloud; no extra log storage hardware is needed on the premises.
The same capability runs on the Dream Gateway under AINOPOL’s Integrated Access & Security Solution. Authentication, local log retention and security protection are consolidated on a single device.
The only difference between the two scenarios is the deployment carrier; the data structure remains identical, so the same field checklist can be used for cross-scenario troubleshooting.
Q1: What key data is written after Portal authentication?
A1: A 4-tuple consisting of account ID (mobile number/ID number), terminal MAC, terminal IP and login time, plus a Session ID for log correlation. Exact fields shall follow the official interface specification.
Q2: How are authentication records matched with traffic logs?
A2: Correlation is achieved on the cloud via Session ID. Traffic logs are aggregated remotely and aligned with authentication data without local log servers on-site.
Q3: Will historical session data be lost after replacing the ONT or terminal device?
A3: Cloud-stored logs remain intact and are managed centrally. Device replacement does not require log migration. New authentication and data writing will still be executed by the Cloud Portal plug-in per policy.