Method and apparatus for paying fare
AssigneeAdvanced New Technologies Co., Ltd.
InventorsHong ZHANG, Jun WU, Jiankang SUN
Life of this patent
Estimating the term…
Abstract
Some embodiments of the application disclose a method and apparatus for paying a fare. When a user takes a public transit means, the user terminal establishes an NFC connection with the fare-collecting device of the public transit means, the user terminal transmits the encrypted account ID of the user to the fare-collecting device, and the fare-collecting device may request a server to deduct the fare from the account of the user.
Claims20
A computer-implemented method, comprising:
- establishing, by a user terminal device, a near field communication (NFC) connection with a fare-collecting device of a transit system;
- obtaining, by the user terminal device, a device ID of the fare-collecting device through the NFC connection;
- encrypting, by the user terminal device, the device ID and an account ID of a user account associated with the user terminal device to obtain encrypted data;
- and
- sending, by the user terminal device, the encrypted data to the fare-collecting device through the NFC connection such that the fare-collecting device decrypts the encrypted data to obtain decrypted data, verifies the decrypted data, and upon successful verification, deducts a fare from the user account.
A system for paying a fare, comprising a processor and a non-transitory computer-readable storage medium storing instructions executable by the processor to cause the system to perform operations comprising:
- establishing a near field communication (NFC) connection with a fare-collecting device of a transit system;
- obtaining a device ID of the fare-collecting device through the NFC connection;
- encrypting the device ID and an account ID of a user account associated with the user terminal device to obtain encrypted data;
- and
- sending the encrypted data to the fare-collecting device through the NFC connection such that the fare-collecting device decrypts the encrypted data to obtain decrypted data, verifies the decrypted data, and upon successful verification, deducts a fare from the user account.
A non-transitory computer-readable storage medium for paying a fare, configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:
- establishing a near field communication (NFC) connection with a fare-collecting device of a transit system;
- obtaining a device ID of the fare-collecting device through the NFC connection;
- encrypting the device ID and an account ID of a user account associated with the user terminal device to obtain encrypted data;
- and
- sending the encrypted data to the fare-collecting device through the NFC connection such that the fare-collecting device decrypts the encrypted data to obtain decrypted data, verifies the decrypted data, and upon successful verification, deducts a fare from the user account.
Dependencies are inferred from the claim text.