Offline Authentication Code Generation for Transit Ticketing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing ticket virtualization technologies for subway and bus travel are limited in scope, restricting user access and failing to provide effective authentication without network connectivity, leading to delays and inefficiencies.
Innovation Solution
An information identification code-based authentication method that generates a unique code on a mobile device, allowing offline identity verification and subsequent server validation, enabling seamless travel without relying on continuous network connectivity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If online authentication is used for ticket virtualization, then payment security is improved, but user range is restricted and application scope is limited
Solution Approach 1:
The authentication process is divided into two independent parts: offline code generation on the user terminal and online verification on the server. This segmentation allows the system to serve both offline-only users and online-connected users, expanding the user base while maintaining security through the verification stage.
Solution Approach 2:
The authentication system is designed to handle multiple scenarios: users with network connectivity undergo full online verification, while users without network access can still authenticate using pre-generated offline codes. This multi-functionality makes the system universally applicable to diverse user situations.
2Reliability
If online authentication is used for ticket virtualization, then authentication validity is ensured, but network dependency increases causing delays in poor network conditions
Solution Approach 1:
Authentication codes are generated in advance on the user terminal before network connectivity is needed. The terminal creates valid authentication codes locally using preset policies, allowing users to authenticate immediately without waiting for network responses, thus eliminating authentication delays.
Solution Approach 2:
The offline authentication code acts as an intermediary that carries authentication information without requiring real-time network communication. This intermediary enables the authentication process to proceed independently of network conditions, removing the bottleneck caused by network dependency.
3Productivity
If offline code generation is implemented, then authentication speed is improved, but code security validation becomes challenging
Solution Approach 1:
The system implements a feedback mechanism where offline-generated codes are validated against server-side records during the next online connection. The server verifies whether the offline code matches the expected authentication data, providing feedback that ensures security validation while allowing fast offline authentication.
Solution Approach 2:
The system performs partial authentication offline (generating and presenting codes) and completes the full validation online when connectivity is available. This partial action approach maintains high authentication speed for the critical path while ensuring security through subsequent verification.
Data Source
AI summary
Embodiments of the present invention disclose an information identification code-based information authentication method, a terminal, and a computer storage medium. The method includes: generating an information identification code, the information identification code carrying a first identifier used for representing a user identity and a second identifier used for representing a generation time of the information identification code; and initiating, by a first terminal, or receiving, from the first terminal, a first request according to the information identification code, to request a second terminal to perform identity authentication on the first terminal to satisfy a target requirement.


