# US 10,872,342 B2 · Method and apparatus for offline payment, service processing, and payment processing

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

- Number: US 10,872,342 B2
- Document ID: US10872342B2
- Status: Granted
- Kind: B2
- Application number: 16/906,862
- Filed: 2020-06-19
- Published: 2020-10-08
- Granted: 2020-12-22
- Earliest claimed: 2017-08-22
- Assignees: Advanced New Technologies Co., Ltd.
- Applicants: Advanced New Technologies Co., Ltd.
- Inventors: Huacheng Zhang; Wei Wang
- Web page: https://patentgrep.com/patent/US10872342B2

## CPC

- G06Q 20/3274: {using a pictured code, e.g. barcode or QR-code, being displayed on the M-device}
- G06Q 20/405: {Establishing or using transaction specific rules}
- G06Q 20/02: involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- G06Q 20/204: {comprising interface for record bearing medium or carrier for electronic funds transfer or payment credit}
- G06Q 20/24: Credit schemes, i.e. "pay after"
- G06Q 20/3278: {RFID or NFC payments by means of M-devices}
- G06Q 20/4016: {involving fraud or risk level assessment in transaction processing}
- G06Q 40/12: Accounting
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- G06Q 20/202: {Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR}
- G06Q 20/322: {Aspects of commerce using mobile devices [M-devices]}
- G06Q 20/327: {Short range or proximity payments by means of M-devices}
- G06Q 2240/00: Transportation facility access, e.g. fares, tolls or parking
- 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
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

One or more implementations shown in the present specification provide an offline payment method. A communication connection between a collection device and a payment device is established, wherein both the collection device and the payment device are in an offline state. Payment data sent by the collection device is received by the payment device through the communication connection established to the collection device. Payment processing based on the payment data and account information of the payment device is performed by the payment device, to obtain a payment result. The payment result is returned, by the payment device to the collection device through the communication connection. Collection processing is performed, by the collection device, based on the payment result and obtained account information of the payment device, to obtain a collection result.

## Claims

### Claim 1

A computer-implemented method for an offline service processing, comprising:
establishing a communication connection between a service device and an end-user device, wherein both the service device and the end-user device are in an offline state;
obtaining, by the service device, account information of the end-user device;
obtaining, by the end-user device, account information of the service device;
receiving, by the end-user device through the communication connection established to the service device, service data sent by the service device;
performing, by the end-user device and to obtain a first service result, a first service processing based on the service data and account information of the end-user device;
generating, by the end-user device and based on the obtained service data, the account information of the end-user device, the obtained account information of the service device, and a first service processing time at which the first service processing is performed, a first service record;
returning, by the end-user device and through the communication connection, the first service result to the service device;
performing, by the service device and to obtain a second service result, a second service processing based on the first service result and obtained account information of the end-user device;
generating, by the service device and based on the service data, the account information of the service device, the obtained account information of the end-user device, and a second service processing time at which the second service processing is performed, a second service record;
receiving, by a server, the first service record sent by the end-user device when the end-user device is in an online state and the second service record sent by the service device when the service device is in an online state; and
performing, by the server and based on the first service record and the second service record, a service check,
wherein performing the service check based on the first service record and the second service record comprises:
determining, based on the account information of the end-user device, the account information of the service device, and the first service processing time that are comprised in the first service record and the account information of the end-user device, the account information of the service device, and the second service processing time that are comprised in the second service record, whether the first service record matches the second service record, and
wherein determining whether the First service record matches the second service record comprises:
determining whether the first service record and the second service record satisfy one or more conditions;
in response to determining that the first service record and the second service record satisfy the one or more conditions, determining that the first service record matches the second service record; and
in response to determining that the first service record and the second service record do not satisfy the one or more conditions, determining that the first service record does not match the second service record.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the communication connection comprises at least one of Bluetooth, infrared, ZigBee, or near field communication (NFC).

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein obtaining, by the service device, the account information of the end-user device comprises:
obtaining, by the service device, the account information of the end-user device by identifying a digital object identifier (DOI) displayed by the end-user device; or
obtaining, by the service device, the account information of the end-user device from the end-user device through the communication connection.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein receiving, by the end-user device through the communication connection established to the service device, the service data sent by the service device comprises:
obtaining, by the end-user device, a Bluetooth signal that is broadcast by the service device and that comprises the service data and account information; and
receiving the service data when determining that the account information comprised in the Bluetooth signal matches the account information of the end-user device.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein
the one or more conditions comprise:
the account information of the end-user device that k comprised in the first service record matches the account information of the end-user device that is comprised in the second service record;
the account information of the service device that is comprised in the first service record matches the account information of the service device that is comprised in the second service record; and
a difference between the first service processing time comprised in the first service record and the second service processing time comprised in the second service record is not greater than a specified value.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the service data comprises a friend addition request from the service device to the end-user device, and further comprising:
determining, by the end-user device, that a user of the end-user device agrees with the friend addition request sent by the service device;
establishing, by the end-user device, an offline friend relationship with the service device based on the account information of the service device;
returning, by the end-user device, an offline friend addition success message to the service device;
determining, by the service device, based on the offline friend addition success message, that the user of the end-user device agrees with the friend addition request; and
sending, between the service device and the end-user device, instant messages to each other through the communication connection.

### Claim 7

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising
establishing a communication connection between a service device and an end-user device, wherein both the service device and the end-user device are in an offline state;
obtaining, by the service device, account information of the end-user device;
obtaining, by the end-user device, account information of the service device,
receiving, by the end-user device through the communication connection established to the service device, service data sent by the service device;
performing, by the end-user device and to obtain a first service result, a first service processing based on the service data and account information of the end-user device;
generating, by the end-user device and based on the obtained service data, the account information of the end-user device, the obtained account information of the service device, and a first service processing time at which the first service processing is performed, a first service record;
returning, by the end-user device and through the communication connection, the first service result to the service device;
performing, by the service device and to obtain a second service result, a second service processing based on the first service result and obtained account information of the end-user device;
generating, by the service device and based on the service data, the account information of the service device, the obtained account information of the end-user device, and a second service processing time at which the second service processing is performed, a second service record;
receiving, by a server, the first service record sent by the end-user device when the end-user device is in an online state and the second service record sent by the service device when the service device is in an online state; and
performing, by the server and based on the first service record and the second service record, a service check,
wherein performing the service check based on the first service record and the second service record comprises:
determining, based on the account information of the end-user device, the account information of the service device, and the first service processing time that are comprised in the first service record and the account information of the end-user device, the account information of the service device and the second service processing time that are comprised in the second service record, whether the first service record matches the second service record, and
wherein determining whether the first service record matches the second service record comprises:
determining whether the first service record and the second service record satisfy one or more conditions;
in response to determining that the first service record and the second service record satisfy the one or more conditions, determining that the first service record matches the second service record; and
in response to determining that the first service record and the second service record do not satisfy the one or more conditions, determining that the first service record does not match the second service record.

### Claim 8 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein the communication connection comprises at least one of Bluetooth, infrared, ZigBee, or near field communication (NFC).

### Claim 9 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein obtaining, by the service device, the account information of the end-user device comprises:
obtaining, by the service device, the account information of the end-user device by identifying a digital object identifier (DOI) displayed by the end-user device; or
obtaining, by the service device, the account information of the end-user device from the end-user device through the communication connection.

### Claim 10 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein receiving, by the end-user device through the communication connection established to the service device, the service data sent by the service device comprises:
obtaining, by the end-user device, a Bluetooth signal that is broadcast by the service device and that comprises the service data and account information; and
receiving the service data when determining that the account information comprised in the Bluetooth signal matches the account information of the end-user device.

### Claim 11 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein
the one or more conditions comprise:
the account information of the end-user device that is comprised in the first service record matches the account information of the end-user device that is comprised in the second service record;
the account information of the service device that is comprised in the first service record matches the account information of the service device that is comprised in the second service record; and
a difference between the first service processing time comprised in the first service record and the second service processing time comprised in the second service record is not greater than a specified value.

### Claim 12 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein the service data comprises a friend addition request from the service device to the end-user device, and the operations further comprise:
determining, by the end-user device, that a user of the end-user device agrees with the friend addition request sent by the service device;
establishing, by the end-user device, an offline friend relationship with the service device based on the account information of the service device;
returning, by the end-user device, an offline friend addition success message to the service device;
determining, by the service device; based on the offline friend addition success message, that the user of the end-user device agrees with the friend addition request; and
sending, between the service device and the end-user device, instant messages to each other through the communication connection.

### Claim 13

A computer-implemented system, comprising:
one or more computers; and
one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:
establishing a communication connection between a service device and an end-user device, wherein both the service device and the end-user device are in an offline state;
obtaining, by the service device, account information of the end-user device;
obtaining, by the end-user device, account information of the service device;
receiving, by the end-user device through the communication connection established to the service device; service data sent by the service device;
performing, by the end-user device and to obtain a first service result, a first service processing based on the service data and account information of the end-user device;
generating, by the end-user device and based on the obtained service data, the account information of the end-user device, the obtained account information of the service device, and a first service processing time at which the first service processing is performed, a first service record;
returning, by the end-user device and through the communication connection, the first service result to the service device;
performing, by the service device and to obtain a second service result, a second service processing based on the first service result and obtained account information of the end-user device;
generating, by the service device and based on the service data, the account information of the service device, the obtained account information of the end-user device, and a second service processing time at which the second service processing is performed, a second service record;
receiving, by a server, the first service record sent by the end-user device when the end-user device is in an online state and the second service record sent by the service device when the service device is in an online state; and
performing, by the server and based on the first service record and the second service record, a service check,
wherein performing the service check based on the first service record and the second service record comprises:
determining, based on the account information of the end-user device, the account information of the service device, and the first service processing time that are comprised in the first service record and the account information of the end-user device, the account information of the service device, and the second service processing time that are comprised in the second service record, whether the first service record matches the second service record, and
wherein determining whether the first service record matches the second service record comprises:
determining whether the first service record and the second service record satisfy one or more conditions;
in response to determining that the first service record and the second service record satisfy the one or more conditions, determining that the first service record matches the second service record; and
in response to determining that the first service record and the second service record do not satisfy the one or more conditions, determining that the first service record does not match the second service record.

### Claim 14 (depends on 13)

The computer-implemented system of claim 13, wherein the communication connection comprises at least one of Bluetooth, infrared, ZigBee, or near field communication (NFC).

### Claim 15 (depends on 13)

The computer-implemented system of claim 13, wherein obtaining, by the service device, the account information of the end-user device comprises:
obtaining, by the service device, the account information of the end-user device by identifying a digital object identifier (DOI) displayed by the end-user device; or
obtaining, by the service device, the account information of the end-user device from the end-user device through the communication connection.

### Claim 16 (depends on 13)

The computer-implemented system of claim 13, wherein receiving, by the end-user device through the communication connection established to the service device, the service data sent by the service device comprises:
obtaining, by the end-user device, a Bluetooth signal that is broadcast by the service device and that comprises the service data and account information; and
receiving the service data when determining that the account information comprised in the Bluetooth signal matches the account information of the end-user device.

### Claim 17 (depends on 13)

The computer-implemented system of claim 13, wherein the service data comprises a friend addition request from the service device to the end-user device, and the operations further comprise:
determining, by the end-user device, that a user of the end-user device agrees with the friend addition request sent by the service device;
establishing, by the end-user device, an offline friend relationship with the service device based on the account information of the service device;
returning, by the end-user device, an offline friend addition success message to the service device;
determining, by the service device, based on the offline friend addition success message, that the user of the end-user device agrees with the friend addition request; and
sending, between the service device and the end-user device, instant messages to each other through the communication connection.

### Claim 18 (depends on 13)

The computer-implemented system of claim 13, wherein the one or more conditions comprise:
the account information of the end-user device that is comprised in the first service record matches the account information of the end-user device that is comprised in the second service record;
the account information of the service device that is comprised in the first service record matches the account information of the service device that is comprised in the second service record; and
a difference between the first service processing time comprised in the first service record and the second service processing time comprised in the second service record is not greater than a specified value.
