# US 2020/0402045 A1 · Resource deduction method and apparatus, intelligent terminal, and deduction server

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

- Number: US 2020/0402045 A1
- Document ID: US20200402045A1
- Status: Published application
- Kind: A1
- Application number: 17/014,973
- Filed: 2020-09-08
- Published: 2020-12-24
- Earliest claimed: 2015-09-30
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Jing ZANG; Zhenyu XU; Wa YE; Peiku LI; Jingwei CHEN; Sicheng HUANG; Cunjin LI; Zheng WANG; Mengsha ZHOU; Jiongchao LIN; Cunliang LI
- Web page: https://patentgrep.com/patent/US20200402045A1

## CPC

- G06Q 20/387: {Payment using discounts or coupons (relating to marketing G06Q30/02)}
- G06Q 20/3224: {Transactions dependent on location of M-devices}
- G06Q 20/405: {Establishing or using transaction specific rules}
- G06Q 30/0211: Determining the effectiveness of discounts or incentives
- G06Q 30/0236: {Incentive or reward received by requiring registration or ID from user}
- 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

## Abstract

The present disclosure belongs to the field of network technologies, and discloses a resource deduction method and apparatus, an intelligent terminal, and a deduction server. The method includes: sending a rule obtaining request for a deduction rule of a user-specified deduction item to the deduction server; receiving the deduction rule returned by the deduction server; calculating a second resource value that is obtained after applying the deduction rule to a first resource value associated with the user-specified deduction item; and sending a resource transfer request carrying the second resource value to the deduction server. The present disclosure resolves a problem that a merchant needs to manually calculate expense that is obtained after applying the deduction rule to the first resource, and payment efficiency is relatively low. Expense that is obtained after applying the deduction rule to the first resource is automatically calculated by using an intelligent terminal, and payment efficiency is improved.

## Claims

### Claim 1

A resource deduction method performed at a computer server having one or more processors and memory storing one or more programs to be executed by the one or more processors, the method comprising:
receiving, from a social networking application running at a mobile terminal, a deduction item obtaining request initiated by a user of the mobile terminal, the deduction item obtaining request including a user account identifier associated the user of the mobile terminal at the social networking application and a current location of the mobile terminal;
in response to the deduction item obtaining request, determining multiple deduction items in accordance with the user account identifier, the current location of the mobile terminal and the user's past consumption activities at service providers corresponding to the multiple deduction items and recorded under their respective service provider accounts at the social networking application;
returning the multiple deduction items to the mobile terminal, wherein the multiple deduction items are arranged at the mobile terminal using the social networking application in a predefined order according to at least their corresponding service providers' actual distances from the current location of the mobile terminal;
receiving, from the social networking application running at the mobile terminal, a rule obtaining request for a deduction rule associated with a user-specified deduction item; and
in response to the rule obtaining request, returning the deduction rule associated with the user-specified deduction item, wherein the mobile terminal applies, via the social networking application, a transaction corresponding to the deduction rule to a first resource value associated with the user-specified deduction item, the first resource value being used to indicate the quantity of resources that need to be transferred from the user account identifier of the user of the mobile terminal to the corresponding service provider account when a target object associated with the user-specified deduction item is assigned to the user account identifier;
receiving, from the social networking application running at the mobile terminal, a resource transfer request corresponding to the transaction; and
in response to the resource transfer request, returning a clearing notification to the mobile terminal, the clearing notification including an update to the user-specified deduction item at the corresponding service provider account according to the deduction rule to be displayed at the mobile terminal using the social networking application.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the mobile terminal applies, via the social networking application, a transaction corresponding to the deduction rule to a first resource value associated with the user-specified deduction item by:
calculating a second resource value after applying the transaction corresponding to the deduction rule;
subtracting, if the deduction rule comprises a third resource value and a deduction value that are restricted by a cash off deduction formula, when the first resource value is greater than the third resource value in the cash off deduction formula, the deduction value from the first resource value, to obtain a first candidate of the second resource value;
multiplying, if the deduction rule comprises a discount restriction condition and a first discount coefficient, when a user level of the user account identifier at a target object provider meets the discount restriction condition, the first resource value by the first discount coefficient, to obtain a second candidate of the second resource value, wherein the discount coefficient is less than 1;
multiplying, if the deduction rule comprises a point deduction condition and a second discount coefficient, when both the first resource value and a user point of the user account identifier at a target object provider meet the point deduction condition, the user point by the second discount coefficient, recording an obtained product as a deduction value, and subtracting the deduction value from the first resource value, to obtain a third candidate of the second resource value; and
choosing one or more of the first candidate, the second candidate and the third candidate as the calculated second resource value.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the mobile terminal selects a minimum of the first candidate, the second candidate and the third candidate as the calculated second resource value.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
sending the clearing notification to the mobile terminal after clearing from multiple deduction items that are capable of being used by the user account identifier.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
in response to the resource transfer request, instructing a resource transfer server to transfer a resource of the first resource value out of a resource account of the user account identifier to a resource account of the corresponding service provider account and generating the update to the user-specified deduction item according to the first resource value and the deduction rule.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the update to the user-specified deduction item includes at least one new deduction rule that is newly available to the user account identifier.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
in response to the rule obtaining request:
querying a prestored correspondence between a deduction item and a deduction rule for the deduction rule of the user-specified deduction item; and
returning the deduction rule associated with the user-specified deduction item to the mobile terminal.

### Claim 8

A computer server, comprising one or more processors, memory and one or more programs stored in the memory that, when executed by the one or more processors, cause the computer server to perform a plurality of operations including:
receiving, from a social networking application running at a mobile terminal, a deduction item obtaining request initiated by a user of the mobile terminal, the deduction item obtaining request including a user account identifier associated the user of the mobile terminal at the social networking application and a current location of the mobile terminal;
in response to the deduction item obtaining request, determining multiple deduction items in accordance with the user account identifier, the current location of the mobile terminal and the user's past consumption activities at service providers corresponding to the multiple deduction items and recorded under their respective service provider accounts at the social networking application;
returning the multiple deduction items to the mobile terminal, wherein the multiple deduction items are arranged at the mobile terminal using the social networking application in a predefined order according to at least their corresponding service providers' actual distances from the current location of the mobile terminal;
receiving, from the social networking application running at the mobile terminal, a rule obtaining request for a deduction rule associated with a user-specified deduction item; and
in response to the rule obtaining request, returning the deduction rule associated with the user-specified deduction item, wherein the mobile terminal applies, via the social networking application, a transaction corresponding to the deduction rule to a first resource value associated with the user-specified deduction item, the first resource value being used to indicate the quantity of resources that need to be transferred from the user account identifier of the user of the mobile terminal to the corresponding service provider account when a target object associated with the user-specified deduction item is assigned to the user account identifier;
receiving, from the social networking application running at the mobile terminal, a resource transfer request corresponding to the transaction; and
in response to the resource transfer request, returning a clearing notification to the mobile terminal, the clearing notification including an update to the user-specified deduction item at the corresponding service provider account according to the deduction rule to be displayed at the mobile terminal using the social networking application.

### Claim 9 (depends on 8)

The computer server according to claim 8, wherein the mobile terminal applies, via the social networking application, a transaction corresponding to the deduction rule to a first resource value associated with the user-specified deduction item by:
calculating a second resource value after applying the transaction corresponding to the deduction rule;
subtracting, if the deduction rule comprises a third resource value and a deduction value that are restricted by a cash off deduction formula, when the first resource value is greater than the third resource value in the cash off deduction formula, the deduction value from the first resource value, to obtain a first candidate of the second resource value;
multiplying, if the deduction rule comprises a discount restriction condition and a first discount coefficient, when a user level of the user account identifier at a target object provider meets the discount restriction condition, the first resource value by the first discount coefficient, to obtain a second candidate of the second resource value, wherein the discount coefficient is less than 1;
multiplying, if the deduction rule comprises a point deduction condition and a second discount coefficient, when both the first resource value and a user point of the user account identifier at a target object provider meet the point deduction condition, the user point by the second discount coefficient, recording an obtained product as a deduction value, and subtracting the deduction value from the first resource value, to obtain a third candidate of the second resource value; and
choosing one or more of the first candidate, the second candidate and the third candidate as the calculated second resource value.

### Claim 10 (depends on 9)

The computer server according to claim 9, wherein the mobile terminal selects a minimum of the first candidate, the second candidate and the third candidate as the calculated second resource value.

### Claim 11 (depends on 8)

The computer server according to claim 8, wherein the plurality of operations further comprise:
sending the clearing notification to the mobile terminal after clearing from multiple deduction items that are capable of being used by the user account identifier.

### Claim 12 (depends on 8)

The computer server according to claim 8, wherein the plurality of operations further comprise:
in response to the resource transfer request, instructing a resource transfer server to transfer a resource of the first resource value out of a resource account of the user account identifier to a resource account of the corresponding service provider account and generating the update to the user-specified deduction item according to the first resource value and the deduction rule.

### Claim 13 (depends on 12)

The computer server according to claim 12, wherein the update to the user-specified deduction item includes at least one new deduction rule that is newly available to the user account identifier.

### Claim 14 (depends on 8)

The computer server according to claim 8, wherein the plurality of operations further comprise:
in response to the rule obtaining request:
querying a prestored correspondence between a deduction item and a deduction rule for the deduction rule of the user-specified deduction item; and
returning the deduction rule associated with the user-specified deduction item to the mobile terminal.

### Claim 15

A non-transitory computer readable storage medium storing one or more computer readable instructions that, when being executed by one or more processors of a computer server, cause the computer to perform a plurality of operations including:
receiving, from a social networking application running at a mobile terminal, a deduction item obtaining request initiated by a user of the mobile terminal, the deduction item obtaining request including a user account identifier associated the user of the mobile terminal at the social networking application and a current location of the mobile terminal;
in response to the deduction item obtaining request, determining multiple deduction items in accordance with the user account identifier, the current location of the mobile terminal and the user's past consumption activities at service providers corresponding to the multiple deduction items and recorded under their respective service provider accounts at the social networking application;
returning the multiple deduction items to the mobile terminal, wherein the multiple deduction items are arranged at the mobile terminal using the social networking application in a predefined order according to at least their corresponding service providers' actual distances from the current location of the mobile terminal;
receiving, from the social networking application running at the mobile terminal, a rule obtaining request for a deduction rule associated with a user-specified deduction item; and
in response to the rule obtaining request, returning the deduction rule associated with the user-specified deduction item, wherein the mobile terminal applies, via the social networking application, a transaction corresponding to the deduction rule to a first resource value associated with the user-specified deduction item, the first resource value being used to indicate the quantity of resources that need to be transferred from the user account identifier of the user of the mobile terminal to the corresponding service provider account when a target object associated with the user-specified deduction item is assigned to the user account identifier;
receiving, from the social networking application running at the mobile terminal, a resource transfer request corresponding to the transaction; and
in response to the resource transfer request, returning a clearing notification to the mobile terminal, the clearing notification including an update to the user-specified deduction item at the corresponding service provider account according to the deduction rule to be displayed at the mobile terminal using the social networking application.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the mobile terminal applies, via the social networking application, a transaction corresponding to the deduction rule to a first resource value associated with the user-specified deduction item by:
calculating a second resource value after applying the transaction corresponding to the deduction rule;
subtracting, if the deduction rule comprises a third resource value and a deduction value that are restricted by a cash off deduction formula, when the first resource value is greater than the third resource value in the cash off deduction formula, the deduction value from the first resource value, to obtain a first candidate of the second resource value;
multiplying, if the deduction rule comprises a discount restriction condition and a first discount coefficient, when a user level of the user account identifier at a target object provider meets the discount restriction condition, the first resource value by the first discount coefficient, to obtain a second candidate of the second resource value, wherein the discount coefficient is less than 1;
multiplying, if the deduction rule comprises a point deduction condition and a second discount coefficient, when both the first resource value and a user point of the user account identifier at a target object provider meet the point deduction condition, the user point by the second discount coefficient, recording an obtained product as a deduction value, and subtracting the deduction value from the first resource value, to obtain a third candidate of the second resource value; and
choosing one or more of the first candidate, the second candidate and the third candidate as the calculated second resource value.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium according to claim 16, wherein the mobile terminal selects a minimum of the first candidate, the second candidate and the third candidate as the calculated second resource value.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the plurality of operations further comprise:
sending the clearing notification to the mobile terminal after clearing from multiple deduction items that are capable of being used by the user account identifier.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the plurality of operations further comprise:
in response to the resource transfer request, instructing a resource transfer server to transfer a resource of the first resource value out of a resource account of the user account identifier to a resource account of the corresponding service provider account and generating the update to the user-specified deduction item according to the first resource value and the deduction rule.

### Claim 20 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the plurality of operations further comprise:
in response to the rule obtaining request:
querying a prestored correspondence between a deduction item and a deduction rule for the deduction rule of the user-specified deduction item; and
returning the deduction rule associated with the user-specified deduction item to the mobile terminal.
