# US 2021/0342814 A1 · Method and apparatus for paying fare

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342814 A1
- Document ID: US20210342814A1
- Status: Published application
- Kind: A1
- Application number: 17/359,685
- Filed: 2021-06-28
- Published: 2021-11-04
- Earliest claimed: 2017-10-31
- Assignees: Advanced New Technologies Co., Ltd.
- Applicants: Advanced New Technologies Co., Ltd.
- Inventors: Hong ZHANG; Jun WU; Jiankang SUN
- Web page: https://patentgrep.com/patent/US20210342814A1

## CPC

- G06Q 20/3278: {RFID or NFC payments by means of M-devices}
- G06Q 20/38215: {Use of certificates or encrypted proofs of transaction rights}
- G06Q 20/145: {Payments according to the detected use or quantity}
- G06Q 20/28: Pre-payment schemes, e.g. "pay before"
- G06Q 20/382: {insuring higher security of transaction}
- G06Q 20/3821: {Electronic credentials}
- G06Q 20/3823: {combining multiple encryption tools for a transaction}
- G06Q 20/407: {Cancellation of a transaction}
- G06Q 2220/10: Usage protection of distributed data files
- H04L 9/3226: {using a predetermined code, e.g. password, passphrase or PIN (network architectures or network communication protocols for supporting authentication of entities using passwords in a packet data network H04L63/083)}
- H04L 9/3297: {involving time stamps, e.g. generation of time stamps}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The method of claim 1, wherein the encrypting the device ID and an account ID of a user account associated with the user terminal device to obtain the encrypted data comprises:
obtaining a timestamp indicating a time of encryption; and
encrypting the device ID, the timestamp, and the account ID to obtain the encrypted data.

### Claim 3 (depends on 2)

The method of claim 2, wherein the decrypted data is verified when a time interval between the time of encryption and a current time is smaller than a time-length threshold.

### Claim 4 (depends on 1)

The method of claim 1, wherein the encrypting the device ID and an account ID of a user account associated with the user terminal device to obtain the encrypted data comprises:
encrypting, through a payment application installed on the terminal device, the device ID and the account ID according to an encryption algorithm agreed by the payment application and the transit system.

### Claim 5 (depends on 1)

The method of claim 1, wherein the user terminal device comprises:
an NFC font-end chip;
an NFC antenna; and
a security chip storing account balance of the user account.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
receiving, from the fare-collecting device, an updated account balance after the deduction and storing the updated account balance in the security chip.

### Claim 7 (depends on 1)

The method of claim 1, wherein the decrypted data is verified when the device ID in the encrypted data is consistent with the device ID of the fare-collecting device.

### Claim 8 (depends on 1)

The method of claim 1, wherein the fare is deducted from the user account by:
sending the account ID to a server to deduct the fare.

### Claim 9

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.

### Claim 10 (depends on 9)

The system of claim 9, wherein the encrypting the device ID and an account ID of a user account associated with the user terminal device to obtain the encrypted data comprises:
obtaining a timestamp indicating a time of encryption; and
encrypting the device ID, the timestamp, and the account ID to obtain the encrypted data.

### Claim 11 (depends on 10)

The system of claim 10, wherein the decrypted data is verified when a time interval between the time of encryption and a current time is smaller than a time-length threshold.

### Claim 12 (depends on 9)

The system of claim 9, wherein the encrypting the device ID and an account ID of a user account associated with the user terminal device to obtain the encrypted data comprises:
encrypting, through a payment application installed in the system, the device ID and the account ID according to an encryption algorithm agreed by the payment application and the transit system.

### Claim 13 (depends on 9)

The system of claim 9, further comprising:
an NFC font-end chip;
an NFC antenna; and
a security chip storing account balance of the user account.

### Claim 14 (depends on 13)

The system of claim 13, wherein the operations further comprise:
receiving, from the fare-collecting device, an updated account balance after the deduction and storing the updated account balance in the security chip.

### Claim 15 (depends on 9)

The system of claim 9, wherein the decrypted data is verified when the device ID in the encrypted data is consistent with the device ID of the fare-collecting device.

### Claim 16

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.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the encrypting the device ID and an account ID of a user account associated with the user terminal device to obtain the encrypted data comprises:
obtaining a timestamp indicating a time of encryption; and
encrypting the device ID, the timestamp, and the account ID to obtain the encrypted data.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the decrypted data is verified when a time interval between the time of encryption and a current time is smaller than a time-length threshold.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the encrypting the device ID and an account ID of a user account associated with the user terminal device comprises:
encrypting, through an installed payment application, the device ID and the account ID according to an encryption algorithm agreed by the installed payment application and the transit system.

### Claim 20 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, further comprising a security chip storing account balance of the user account, and
wherein the operations further comprise:
receiving, from the fare-collecting device, an updated account balance after the deduction and storing the updated account balance in the security chip.
