Unlocking is not executed merely because the distance is <1.2m; the following conditions must be met simultaneously:
- Continuous Approach to the Door: The last 3 ranging values are strictly monotonically decreasing (distance shortening), ruling out wandering or walking past the door.
- Standstill Verification: After entering the action zone, the distance fluctuation is <0.15m and the duration lasts for ≥0.8 seconds (indicating the user actively stopped to prepare to open the door).
- Consistent Phone Attitude: The smartphone gyroscope shows a near-horizontal orientation and the acceleration is stable (ruling out swinging the phone in hand or bumping inside a bag).
- Security Lockout: If the action zone is entered 3 consecutive times without unlocking (the user just walked past), the ranging request will be temporarily blocked for 2 minutes.