Resource allocation method and device, and electronic payment method
AssigneeAdvanced New Technologies Co., Ltd.
InventorLeiming YUAN
Life of this patent
Estimating the term…
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for allocating resources are provided. One of the methods includes receiving a first request from a first client for accessing a server, wherein the first request includes token information corresponding to resource information of a second client; determining, according to the token information included in the first request, the resource information of the second client corresponding to the token information; receiving resource allocation information from the first client; and allocating resource according to the resource allocation information from the first client and the resource information of the second client.
Claims20
A method, comprising:
- acquiring, by a server, account information of a second client operated by a merchant;
- verifying, by the server, whether the account information of the second client meets one or more requirements for payment;
- in response to verifying that the account information of the second client meets the one or more requirements for payment, establishing, by the server, a first correspondence between the account information and token information;
- generating, by the server, (i) a uniform resource locator carrying the token information and (ii) a bar code or a two-dimensional code corresponding to the uniform resource locator;
- saving, by the server, the first correspondence between the account information and the token information and a second correspondence between the token information and the uniform resource locator;
- transmitting, by the server, the bar code or the two-dimensional code to the second client;
- receiving, by the server, a first request from a first client operated by a customer for accessing the server, wherein the first request includes the uniform resource locator and is based on a result of the first client scanning the bar code or the two-dimensional code to extract the uniform resource locator from the bar code or the two-dimensional code;
- in response to receiving the first request from the first client, determining, by the server, the token information carried in the uniform resource locator based on the second correspondence;
- in response to successfully determining the token information based on the second correspondence, determining, by the server according to the token information, the account information of the second client based on the first correspondence;
- and
- transferring, by the server, funds from an account associated with the first client to an account associated with the second client according to the account information of the second client.
An apparatus comprising:
- one or more processors;
- and
- a memory coupled to the one or more processors and configured with instructions executable by the one or more processors, wherein the one or more processors are configured to execute the instructions to perform operations including:
- acquiring account information of a second client operated by a merchant;
- verifying whether the account information of the second client meets one or more requirements for payment;
- in response to verifying that the account information of the second client meets the one or more requirements for payment, establishing a first correspondence between the account information and token information;
- generating (i) a uniform resource locator carrying the token information and (ii) a bar code or a two-dimensional code corresponding to the uniform resource locator;
- saving the first correspondence between the account information and the token information and a second correspondence between the token information and the uniform resource locator;
- transmitting the bar code or the two-dimensional code to the second client;
- receiving a first request from a first client operated by a customer for accessing the server, wherein the first request includes the uniform resource locator and is based on a result of the first client scanning the bar code or the two-dimensional code to extract the uniform resource locator from the bar code or the two-dimensional code;
- in response to receiving the first request from the first client, determining the token information carried in the uniform resource locator based on the second correspondence;
- in response to successfully determining the token information based on the second correspondence, determining, according to the token information, the account information of the second client based on the first correspondence;
- and
- transferring funds from an account associated with the first client to an account associated with the second client according to the account information of the second client.
One or more non-transitory computer-readable storage media storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations including:
- acquiring account information of a second client operated by a merchant;
- verifying whether the account information of the second client meets one or more requirements for payment;
- in response to verifying that the account information of the second client meets the one or more requirements for payment, establishing a first correspondence between the account information and token information;
- generating (i) a uniform resource locator carrying the token information and (ii) a bar code or a two-dimensional code corresponding to the uniform resource locator;
- saving the first correspondence between the account information and the token information and a second correspondence between the token information and the uniform resource locator;
- transmitting the bar code or the two-dimensional code to the second client;
- receiving a first request from a first client operated by a customer for accessing the server, wherein the first request includes the uniform resource locator and is based on a result of the first client scanning the bar code or the two-dimensional code to extract the uniform resource locator from the bar code or the two-dimensional code;
- in response to receiving the first request from the first client, determining the token information carried in the uniform resource locator based on the second correspondence;
- in response to successfully determining the token information based on the second correspondence, determining, according to the token information, the account information of the second client based on the first correspondence;
- and
- transferring funds from an account associated with the first client to an account associated with the second client according to t the account information of the second client.
Dependencies are inferred from the claim text.