[go: up one dir, main page]

WO2021120868A1 - Resource settlement method and apparatus, electronic device and storage medium - Google Patents

Resource settlement method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2021120868A1
WO2021120868A1 PCT/CN2020/124133 CN2020124133W WO2021120868A1 WO 2021120868 A1 WO2021120868 A1 WO 2021120868A1 CN 2020124133 W CN2020124133 W CN 2020124133W WO 2021120868 A1 WO2021120868 A1 WO 2021120868A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
party
value
consumption request
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2020/124133
Other languages
French (fr)
Chinese (zh)
Inventor
李坤
吉亚霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Publication of WO2021120868A1 publication Critical patent/WO2021120868A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0236Incentive or reward received by requiring registration or ID from user
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0239Online discounts or incentives
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • This application relates to the field of data processing technology, in particular to a resource settlement method and device, electronic equipment, and storage medium.
  • Resource settlement is usually an equivalent exchange, which is not conducive to increasing the repetition rate of resource exchange. Therefore, it is necessary to propose a solution that can effectively complete resource settlement.
  • one of the objectives of the embodiments of the present application is to provide a resource settlement method and device, electronic equipment, and storage medium to solve the above-mentioned problems.
  • the first aspect of this specification provides a resource settlement method, including: receiving a resource consumption request for a first party; and extracting the first party from the resource pool of the first party according to the resource consumption request.
  • Resources wherein the value of the first resource is less than the value of the resource that should be extracted in the resource consumption request; assign tasks to the first party, and monitor the operation behavior of the first party; wherein, the operation behavior It is used to determine whether the first party completes the task; in response to the first party not completing the task, a second resource is additionally extracted from the resource pool of the first party.
  • a resource settlement device which includes: a transceiver unit, configured to receive a resource consumption request for a first party; and a settlement unit, configured to communicate with the first party according to the resource consumption request.
  • the first resource is extracted from the resource pool; wherein the value of the first resource is less than the value of the resource that should be extracted in the resource consumption request;
  • the monitoring unit is configured to allocate tasks to the first party and monitor the first The operation behavior of the party; wherein, the operation behavior is used to determine whether the first party has completed the task;
  • the settlement unit is configured to respond to the first party not completing the task, and then obtain additional information from the
  • the second resource is extracted from the resource pool of the first party.
  • the third aspect of this specification provides an electronic device including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the method when the program is executed.
  • the fourth aspect of this specification provides a non-transitory computer-readable storage medium that stores computer instructions that are used to make the computer execute the method.
  • the resource settlement method and device, electronic equipment, and storage medium provided in this manual receive a resource consumption request for the first party and accordingly extract less than the resource from the first party’s resource pool. Consume the first resource of the value of the resource that the request should extract, and then monitor the operation behavior of the first party to determine whether it has completed the task. If the first party has not completed the task, it will additionally obtain the resource pool from the first party. In this way, under the premise that the first party consumes the first resource that is lower than the value of the resource that should be extracted, the first party can be prompted to complete a certain task, which is beneficial to increase participation The efficiency of transaction completion between parties, while improving resource utilization.
  • Fig. 1 is a schematic diagram of an implementation scenario of an embodiment disclosed in this specification
  • FIG. 3 is a schematic flowchart of another embodiment of the resource settlement method disclosed in this specification.
  • Figure 4 is a schematic block diagram of an embodiment of the resource settlement device disclosed in this specification.
  • FIG. 5 is a schematic diagram of the hardware structure of an embodiment of the electronic device disclosed in this specification.
  • Fig. 1 shows a schematic diagram of an implementation scenario of an embodiment disclosed in this specification.
  • a resource settlement device As shown in Figure 1, in a resource settlement system, there may be a resource settlement device, as well as the first party, the second party, the third party, and even more parties participating in the resource settlement.
  • the second party may reach a resource settlement agreement with the resource settlement device in advance, and authorize the resource settlement device accordingly, and then the second party may provide the resource settlement device with resources to be allocated (to Formed as the resource pool of the second party) for the resource settlement device to extract the resources to be allocated and allocate them to the corresponding first party when the conditions are met.
  • the second party can formulate corresponding tasks
  • the second party may complete task formulation together with the resource settlement device or other participants.
  • the task is opened for the first party after the resource settlement device extracts the first resource from the resource pool of the first party according to the resource consumption request; the task is completed according to the first party
  • the resource settlement device determines whether it is necessary to additionally extract a second resource from the resource pool of the first party.
  • the value of the second resource may be less than or equal to the difference between the value of the resource that should be extracted by the resource consumption request and the value of the first resource.
  • the first party When the first party needs to exchange resources with the third party, it may choose whether to reach a resource settlement agreement with the resource settlement device, or the first party may also reach a resource settlement agreement with the resource settlement device in advance. Settlement agreement. After reaching a resource settlement agreement, the first party may initiate a resource consumption request, and the resource settlement device extracts the first resource from the resource pool of the first party according to the resource consumption request; wherein, the first party The value of a resource is smaller than the value of the resource that should be extracted in the resource consumption request.
  • the resource settlement apparatus extracts a predetermined resource from the resource pool of the second party, and the value of the predetermined resource is the The difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource.
  • the third party may choose whether to reach a resource settlement agreement with the resource settlement device when it needs to exchange resources with the first party, or the third party may also reach a resource settlement agreement with the resource settlement device in advance. Settlement agreement.
  • the first party initiates a resource consumption request, and the resource settlement apparatus may also place the resources that should be extracted by the resource consumption request into the resource pool of the third party according to the resource consumption request.
  • the resource settlement device may also generate a resource consumption request code according to the authorization of the third party for the resource settlement agreement, and send it to the resource settlement device.
  • the third party returns the resource consumption request code.
  • the third party may show the resource consumption request code to the first party.
  • the resource consumption request code may be in the form of a barcode or a two-dimensional code.
  • the resource settlement apparatus may also generate a resource consumption code and return the resource consumption code to the first party.
  • the first party may show the resource consumption code to the third party.
  • the resource consumption code may be in the form of a barcode or a QR code, and the third party may use its own
  • the smart device initiates a resource consumption request to the resource settlement device by scanning the resource consumption code, or the resource consumption code can also be a string of verification codes, and the third party can use its own smart device to input and send The resource consumption code is used to initiate a resource consumption request to the resource settlement device, and so on.
  • the resource settlement apparatus may additionally extract a second resource from the resource pool of the first party; then, return the second resource to the resource pool of the first party; The resource pool of the second party; or, the resource corresponding to the difference between the value of the resource that should be extracted by the resource consumption request and the value of the first resource is returned to the resource pool of the second party.
  • judging that the first party has not completed the task may be performed by monitoring whether the operation behavior of the first party meets the requirements of the task.
  • the task may be a timed task
  • the monitoring the operation behavior of the first party includes: monitoring the operation behavior of the first party during a predetermined period to determine whether the first party is in the The timing task is completed within a predetermined period.
  • the first party, the second party, and the third party may all be devices capable of data interaction.
  • Such devices may be, for example, mobile phones, tablet computers, personal computers, notebook computers, and handheld computers (PDAs). ), wearable devices (such as smart glasses, smart watches), etc.
  • the resource settlement device may be in the form of a server when implemented.
  • the equipment of the first party, the second party, and the third party may be installed with software for data interaction with the resource settlement apparatus, or the first party, the second party, and the The third-party equipment may use a web terminal to realize data interaction with the resource settlement device.
  • the first party, the second party, and the third party can receive the interactive information from the resource settlement device, and the first party, the second party, and the third party can send the corresponding interactive information to the resource. Settlement device.
  • the foregoing embodiment distinguishes the second party from the third party, but in fact, the distinction between the second party and the third party may only be functional, for example, the second party is
  • the third party exchanges resources with the first party.
  • the respective functions of the second party and the third party can actually be combined into the functions of the main body of one party. For example, it can provide resources to be allocated and exchange resources with the first party.
  • the second party and the third party may be the same subject or different subjects, which can be distinguished according to actual needs without specific restrictions.
  • the first party may be a terminal user
  • the second party and the third party may be merchants.
  • Fig. 2 shows a schematic flowchart of an embodiment of the resource settlement method disclosed in this specification.
  • the resource settlement method includes steps 102 to 110.
  • Step 102 Receive a resource consumption request for the first party.
  • the first resource consumption request may be initiated by any party.
  • it may be initiated by the first party or a third party when the first party needs to exchange resources with a third party.
  • it may be initiated when the first party needs to exchange resources.
  • the resource consumption request may include the following information: the identity information of the first party and the third party, the resource exchange information between the first party and the third party, the resource settlement agreement signed by the first party, and the third party signing The resource settlement agreement; where the resource settlement agreement signed by the first party and the resource settlement agreement signed by the third party can be used to calculate the value of the first resource that needs to be extracted from the first party’s resource pool under the current resource exchange behavior .
  • Step 104 Extract a first resource from the resource pool of the first party according to the resource consumption request; wherein the value of the first resource is smaller than the value of the resource that should be extracted by the resource consumption request.
  • the value of the first resource may be preset by the second party or by the resource settlement device when the second party and the resource settlement device reach a resource settlement agreement.
  • the calculation rules for the value of the first resource may be various. For example, it may be specified that a single resource exchange corresponds to a predetermined resource, and the value of the first resource is the value of the resource to be extracted minus the value of the predetermined resource. For example, if the value of the resource to be extracted in the resource consumption request is 100, the value of the first resource may be the value of the resource to be extracted minus a predetermined resource value.
  • the predetermined resource value is, for example, 20.
  • the calculation rule for the value of the first resource may also determine the value of the corresponding first resource according to a certain proportion of the value of the resource to be extracted; for example, if the value of the resource to be extracted in the resource consumption request is 100, then The value of the first resource may be a certain proportion of the value of the resource to be extracted, such as 90%, then the value of the first resource is 90.
  • the calculation rule of the value of the first resource may also be that after the first party completes the task as required, it floats according to a certain percentage (for example, the percentage is reduced by 5% on the basis of the previous time, so that the resource that should be extracted When the value of is 100, the value of the first resource is 85).
  • the first party determines according to the number of other participants that the first party pulls into the resource settlement agreement.
  • the first party introduces other participants to join the resource settlement agreement, and according to the number of participants How much to set the value of the first resource, and so on.
  • the specific calculation rule for the value of the first resource can be set as required, and there is no particular limitation here.
  • the resources may include: resources related to network applications, where resources related to network applications may include: coupons, videos, audio, etc., coupons may include: consumption coupons, discount coupons, etc. .
  • Step 106 Assign a task to the first party and monitor the operation behavior of the first party; wherein the operation behavior is used to determine whether the first party completes the task.
  • the tasks assigned to the first party may also be various.
  • the task may be to require the first party to perform a specific operation behavior, such as: a second party with a specific party (the second party or the third party, or other participants) Resource exchange, registration as a member on the website of a specific party (which can be the second party or third party, or other participants), viewing by a specific party (which can be the second party or the third party) Three parties, or other participants) publish advertisements, browse webpages belonging to a specific party (it can be the second party or third party, or other participants), listen to the webpages belonging to a specific party (which can be The radio station of the second party or third party, or other participants), watching programs produced by a specific party (may be the second party or third party, or other participants), etc.
  • a specific operation behavior such as: a second party with a specific party (the second party or the third party, or other participants) Resource exchange, registration as a member on the website of a specific party (which can be the second party or third party, or other
  • the task may be formulated by the second party or the third party when the second party or the third party and the resource settlement device reach a resource settlement agreement for requesting the
  • the first party implements a specific operation behavior to complete the task after extracting the first resource from its resource pool according to the value of the first resource.
  • the resource settlement device may also push task reminder information to the first party as needed to remind the first party to complete the task in time.
  • the method of pushing the reminder information can be implemented by means of short message, phone call, pop-up message in the application, and the like.
  • the task may be a timed task, for example, the first party is required to implement a specific operation behavior within a predetermined period to complete the task.
  • the predetermined period can be set as required, for example, one week, one month, three months, and so on.
  • the predetermined period may also be set according to the different types of the tasks or the difficulty of completing the tasks.
  • the specific setting standards are not particularly limited here.
  • the resource settlement device may also push task reminder information to the first party before the expiration of the predetermined period as needed, so as to remind the first party to be within the predetermined period in time.
  • the method of pushing the reminder information can be implemented by means of short message, phone call, pop-up message in the application, and the like.
  • the tasks may be different for different resource exchange behaviors, or the tasks may also be different for different first parties, second parties, and/or third parties.
  • the task maker can modify or change the task at any time.
  • the monitoring operation may be completed by collecting and analyzing the operation behavior of the first party.
  • the software related to the resource settlement is installed in the device of the first party, the operation behavior of the first party can be automatically collected by embedding points in the software.
  • the operation behavior of the first party may be various operation behaviors of the first party.
  • a second resource exchange with a specific party (which can be the second party or a third party, or other participants) at a certain point in time, and at a certain point in time in a specific party ( It can be the second party or the third party, or it can be other participants) registered as a member on the website, watched by a specific party (can be the second party or third party, or It can be an advertisement published by other parties), browsed a webpage belonging to a specific party (which can be the second party or third party, or other parties) at a certain point in time, listened to it at a certain point in time
  • a radio station belonging to a specific party (which can be the second party or third party, or other participants) is watched by a specific party (which can be the second party or the third party) at a certain point in time.
  • Three parties, or other participating parties) produced programs, and so on.
  • the monitoring the operation behavior of the first party includes: monitoring the operation behavior of the first party within a predetermined period to determine whether the first party is in the The timing task is completed within the predetermined period.
  • the predetermined period can be set as required, for example, one week, one month, three months, and so on.
  • the predetermined period may also be set according to the different types of the tasks or the difficulty of completing the tasks.
  • the specific setting standards are not particularly limited here.
  • Step 108 In response to the first party not completing the task, additionally extract a second resource from the resource pool of the first party.
  • the task is to require the first party to exchange resources with the second party within one month of completing the resource exchange with the third party, and the first party does not exchange resources with the second party within one month.
  • the second party performs resource exchange (for example, there is no operation behavior of resource exchange with the second party in the operation behavior of the first party within the one month), then it is determined that the operation behavior does not meet the requirements of the task Requirement, that is, the first party has not completed the task.
  • the resource settlement device may additionally obtain the first resource from the resource pool of the first party.
  • the second resource is extracted from the resource pool of the first party.
  • the value of the second resource is less than or equal to the difference between the value of the resource to be extracted in the resource consumption request and the value of the first resource.
  • the resource settlement method may further include step 110: in response to the first party not completing the task, the resource settlement is completed, and for the current resource exchange behavior, there will be no additional extraction of the first party. 2. The situation of resources.
  • the resource settlement method receives a resource consumption request for the first party and extracts from the first party’s resource pool a value less than the resource that should be extracted by the resource consumption request. Then, it monitors the operation behavior of the first party to determine whether it has completed the task. If the first party has not completed the task, the second resource is additionally extracted from the first party’s resource pool; in this way, Under the premise that the first party consumes the first resource that is lower than the value of the resource that should be extracted, the first party can be prompted to complete a certain task, which is beneficial to improve the efficiency of transaction completion between the participants, and at the same time Improve resource utilization.
  • Fig. 3 shows a schematic flowchart of another embodiment of the resource settlement method disclosed in this specification.
  • the resource settlement method includes steps 202 to 226.
  • Step 202 Receive the authorization of the second party for the resource settlement agreement.
  • the second party may reach a resource settlement agreement with the resource settlement device in advance, and authorize the resource settlement device accordingly.
  • Step 204 Determine the task.
  • the task may be formulated by the second party, or determined through negotiation between the second party and the resource settlement device or the third party, or may be the second party, the The resource settlement device and the third party are jointly determined.
  • the specific task formulation method and task content are set according to needs.
  • the tasks can also be diverse.
  • the task may be to require the first party to perform a specific operation behavior, such as: a second party with a specific party (the second party or the third party, or other participants) Resource exchange, registration as a member on the website of a specific party (which can be the second party or third party, or other participants), viewing by a specific party (which can be the second party or the third party) Three parties, or other participants) publish advertisements, browse webpages belonging to a specific party (it can be the second party or third party, or other participants), listen to the webpages belonging to a specific party (which can be The radio station of the second party or third party, or other participants), watching programs produced by a specific party (may be the second party or third party, or other participants), etc. .
  • a specific operation behavior such as: a second party with a specific party (the second party or the third party, or other participants) Resource exchange, registration as a member on the website of a specific party (which can be the second party or third party, or other participants), viewing
  • the subject of formulating the task may be the second party, which is based on the consideration that the second party is the party that provides the resources to be allocated.
  • the subject of the task may not be the second party, but may be the resource settlement device, or may be the second party.
  • Step 206 Obtain the resource to be allocated provided by the second party and form it as a resource pool of the second party for the resource settlement device to allocate to the corresponding first party when the conditions are met.
  • Step 208 Receive a resource allocation request for the first party.
  • the resource allocation request for the first party may be initiated by any party.
  • it may be initiated by the first party or a third party when the first party needs to exchange resources with a third party.
  • it may be initiated when the first party needs to exchange resources.
  • Step 210 Allocate a predetermined resource to the first party according to the resource allocation request.
  • Step 212 Receive a resource consumption request for the first party.
  • the resource consumption request for the first party corresponds to a resource exchange behavior between the first party and the third party
  • the initiator may be the first party or the third party.
  • Step 214 Extract the predetermined resource from the resource pool of the second party.
  • the corresponding predetermined resource is extracted from the second resource pool, and the obtained predetermined resource is extracted for allocation to the first party.
  • Step 216 Extract a first resource from the resource pool of the first party according to the resource consumption request; wherein the value of the first resource is smaller than the value of the resource that should be extracted by the resource consumption request.
  • the value of the resource that should be extracted in the resource consumption request is the total amount of resource exchange when the first party and the third party are currently exchanging resources, and the value of the predetermined resource should be extracted in the resource consumption request
  • the difference between the value of the resource and the value of the first resource, and the value of the first resource is the value of the resource that the first party should exchange from its own resource pool to the third party.
  • Step 218 Put the resources that should be extracted by the resource consumption request into the third-party resource pool.
  • the resource that should be extracted in the resource consumption request obtained by the third party is a set of the first resource actually exchanged by the first party and the predetermined resource provided by the second party.
  • Step 220 Assign a task to the first party and monitor the operation behavior of the first party; wherein the operation behavior is used to determine whether the first party completes the task.
  • Step 222 In response to the first party not completing the task, additionally extract a second resource from the resource pool of the first party.
  • the resource settlement device needs to additionally extract a second resource from the resource pool of the first party.
  • the value of the second resource may be less than or equal to the difference between the value of the resource that should be extracted by the resource consumption request and the value of the first resource.
  • Step 224 Return the second resource to the resource pool of the second party; or return the resource corresponding to the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource To the resource pool of the second party.
  • the second resource extracted from the resource pool of the first party because the first party did not complete the task as required can be directly returned to the resource pool of the second party, thereby compensating for the predetermined resource provided by the second party at the beginning.
  • the resource corresponding to the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource may be returned to the resource pool of the second party.
  • the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource is not equal to the value of the second resource.
  • the value of the resource returned to the second party may be to fill in a predetermined resource originally provided by the second party, or it may be to compensate for a certain resource.
  • Step 226 In response to the operation behavior meeting the requirements of the task, the resource settlement is completed.
  • the resource settlement method receives a resource consumption request for the first party and extracts from the first party’s resource pool a value less than the resource that should be extracted by the resource consumption request. Then, it monitors the operation behavior of the first party to determine whether it has completed the task. If the first party has not completed the task, the second resource is additionally extracted from the first party’s resource pool; in this way, Under the premise that the first party consumes the first resource that is lower than the value of the resource that should be extracted, the first party can be prompted to complete a certain task, which is beneficial to improve the efficiency of transaction completion between the participants, and at the same time Improve resource utilization.
  • the method further includes: receiving a third party's authorization to the resource settlement agreement; generating a resource consumption request code according to the third party's authorization to the resource settlement agreement; The resource consumption request code.
  • the method further includes: receiving the resource consumption request code identification information of the first party for the resource consumption request code; responding to the resource consumption request code identification information for the first party Request for resource allocation, generate a resource consumption code, and return the resource consumption code to the first party; receive the resource consumption code identification information of the third party for the resource consumption code; respond to the resource allocation code If the identification information is a resource consumption request for the first party, the first resource is extracted from the resource pool of the first party.
  • the first party and the third party exchange resources can complete the information interaction in the resource exchange process by scanning the code or inputting the identification code, which can facilitate use and improve efficiency.
  • the method further includes: receiving a subsequent resource consumption request for the first party;
  • the task a third resource is extracted from the resource pool of the first party; wherein the value of the third resource is less than the value of the resource that should be extracted in the subsequent resource consumption request; in response to the operation behavior being not satisfied
  • the request of the task returns a message of rejecting the subsequent resource consumption request.
  • rejecting the secondary allocation the first party is urged to complete the corresponding task according to the contract after reaching the resource settlement agreement.
  • the operation behavior meets the requirements of the task, you can choose to directly extract the third resource from the resource pool of the first party without requiring the first party to perform a new task, thereby increasing the The enthusiasm of one party to complete the task.
  • the specific setting method can be selected according to needs, and is not particularly limited here.
  • the method may further include: receiving a subsequent resource allocation request for the first party; here, the subsequent resource consumption request for the first party
  • the allocation request is initiated when the first party performs the second resource exchange after the resource allocation request for the first party; here, the object of the second resource exchange can be a third party or another participant Or a second party; in response to the operation behavior meeting the requirements of the task, a new predetermined resource is allocated to the first party according to the subsequent resource allocation request; the new predetermined resource may be the same as the predetermined resource
  • the value of is equal, and it can also float up according to the completion of the task, and the specific setting method can be selected according to the needs.
  • the methods in the embodiments of this specification can be executed by a single device, such as a computer or a server.
  • the method in this embodiment can also be applied in a distributed scenario, and multiple devices cooperate with each other to complete.
  • one of the multiple devices can only perform one or more steps in the method of the embodiment of this specification, and the multiple devices will interact with each other to complete all the steps. The method described.
  • the method is executed on the server.
  • a server refers to a computer system that can provide services to other devices in the network.
  • the object served by the server is usually called a terminal or a client, and the server and the terminal can be connected through wired or wireless communication.
  • the server can be implemented in a variety of ways, and it can be a single computer device or a combination of multiple computer devices (such as a cluster server, a cloud server, etc.). In some application scenarios, the server can also be called the server, the cloud, etc.
  • the method can also be executed on a single computer (such as a workstation).
  • Fig. 4 shows a schematic block diagram of an embodiment of the resource settlement device disclosed in this specification.
  • the resource settlement device includes: a transceiver unit 301, configured to receive a resource consumption request for a first party; a settlement unit 302, configured to request a resource at the first party according to the resource consumption
  • the first resource is extracted from the pool; wherein the value of the first resource is less than the value of the resource that should be extracted in the resource consumption request;
  • the monitoring unit 303 is configured to allocate tasks to the first party and monitor the first The operation behavior of the party; wherein the operation behavior is used to determine whether the first party has completed the task;
  • the settlement unit 302 is configured to respond to the first party's failure to complete the task, and then additional follow-up
  • the second resource is extracted from the resource pool of the first party.
  • the resource settlement device receives a resource consumption request for the first party and extracts from the first party’s resource pool a value less than the resource that should be extracted by the resource consumption request. Then, it monitors the operation behavior of the first party to determine whether it has completed the task. If the first party has not completed the task, the second resource is additionally extracted from the first party’s resource pool; in this way, Under the premise that the first party consumes the first resource that is lower than the value of the resource that should be extracted, the first party can be prompted to complete a certain task, which is beneficial to improve the efficiency of transaction completion between the participants, and at the same time Improve resource utilization.
  • the value of the second resource is less than or equal to the difference between the value of the resource to be extracted in the resource consumption request and the value of the first resource.
  • the transceiving unit 301 is configured to receive a resource allocation request for the first party; the settlement unit 302 is configured to allocate predetermined resources to the first party according to the resource allocation request; wherein, The value of the predetermined resource is the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource.
  • the transceiving unit 301 is configured to receive the authorization of the second party to the resource settlement agreement; the monitoring unit 303 is configured to determine the task; the settlement unit 302 is configured to obtain the second party
  • the resources to be allocated provided by the party are formed as the resource pool of the second party.
  • the settlement unit 302 is configured to extract the predetermined resource from a resource pool of the second party.
  • the settlement unit 302 is configured to: return the second resource to the resource pool of the second party; or combine the value of the resource to be extracted in the resource consumption request with the first resource The resource corresponding to the difference in the value of is returned to the resource pool of the second party.
  • the transceiving unit 301 is configured to receive a third party's authorization to the resource settlement agreement; the settlement unit 302 is configured to generate a resource consumption request code according to the third-party's authorization to the resource settlement agreement; The transceiver unit 301 is configured to return the resource consumption request code to the third party.
  • the transceiving unit 301 is configured to receive the resource consumption request code identification information of the first party for the resource consumption request code; the settlement unit 302 is configured to identify the resource consumption request code in response to the resource consumption request code. If the information is a resource allocation request for the first party, a resource consumption code is generated; the transceiver unit 301 is configured to return the resource consumption code to the first party; The resource consumption code identification information of the resource consumption code; the settlement unit 302 is configured to respond to the resource consumption code identification information for the resource consumption request for the first party, in the resource pool of the first party Extract the first resource.
  • the settlement unit 302 is configured to put the resources that should be extracted in the resource consumption request into the third-party resource pool.
  • the transceiving unit 301 is configured to receive a subsequent resource consumption request for the first party; the settlement unit 302 is configured to respond to the completion of the task by the first party, A third resource is extracted from the resource pool of the first party; wherein the value of the third resource is smaller than the value of the resource that should be extracted in the subsequent resource consumption request.
  • the task is a timed task
  • the monitoring unit 303 is configured to monitor the operation behavior of the first party within a predetermined period to determine whether the first party completes the first party within the predetermined period. Timed tasks.
  • the apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
  • FIG. 5 shows a schematic diagram of a more specific hardware structure of an electronic device provided by this embodiment.
  • the device may include a processor 401, a memory 402, an input/output interface 403, a communication interface 404, and a bus 405.
  • the processor 401, the memory 402, the input/output interface 403, and the communication interface 404 realize the communication connection between each other in the device through the bus 405.
  • the processor 401 may be implemented by a general CPU (Central Processing Unit, central processing unit), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits for execution related Program to implement the technical solutions provided in the embodiments of this specification.
  • CPU Central Processing Unit
  • microprocessor microprocessor
  • ASIC Application Specific Integrated Circuit
  • the memory 402 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory, random access memory), static storage device, dynamic storage device, etc.
  • the memory 402 may store an operating system and other application programs.
  • related program codes are stored in the memory 402 and called and executed by the processor 401.
  • the input/output interface 403 is used to connect an input/output module to realize information input and output.
  • the input/output/module can be configured in the device as a component (not shown in the figure), or can be connected to the device to provide corresponding functions.
  • the input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and an output device may include a display, a speaker, a vibrator, an indicator light, and the like.
  • the communication interface 404 is used to connect a communication module (not shown in the figure) to realize the communication interaction between the device and other devices.
  • the communication module can realize communication through wired means (such as USB, network cable, etc.), or through wireless means (such as mobile network, WIFI, Bluetooth, etc.).
  • the bus 405 includes a path for transmitting information between various components of the device (for example, the processor 401, the memory 402, the input/output interface 403, and the communication interface 404).
  • the device may also include the equipment necessary for normal operation.
  • the above-mentioned device may also include only the components necessary to implement the solutions of the embodiments of the present specification, and not necessarily include all the components shown in the figures.
  • the computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technology
  • DRAM dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application provides a resource settlement method and apparatus. Said method comprises: receiving a resource consumption request for a first party, and on this basis, extracting, from a resource pool of the first party, a first resource which has a value less than that of a resource to be extracted by the resource consumption request; then monitoring an operation behavior of the first party to determine whether the first party completes a task; and if the first party does not complete the task, additionally extracting a second resource from the resource pool of the first party, improving the transaction completion efficiency between participants, and improving the resource utilization rate.

Description

资源结算方法及装置、电子设备、存储介质Resource settlement method and device, electronic equipment, and storage medium 技术领域Technical field

本申请涉及数据处理技术领域,尤其涉及一种资源结算方法及装置、电子设备、存储介质。This application relates to the field of data processing technology, in particular to a resource settlement method and device, electronic equipment, and storage medium.

背景技术Background technique

资源结算通常是一种等价交换,不利于提高资源交换的重复率。因此,需要提出一种能够有效完成资源结算的方案。Resource settlement is usually an equivalent exchange, which is not conducive to increasing the repetition rate of resource exchange. Therefore, it is necessary to propose a solution that can effectively complete resource settlement.

发明内容Summary of the invention

有鉴于此,本申请实施例的目的之一在于,提出一种资源结算方法及装置、电子设备、存储介质,以解决上述的问题。In view of this, one of the objectives of the embodiments of the present application is to provide a resource settlement method and device, electronic equipment, and storage medium to solve the above-mentioned problems.

基于上述目的,本说明书的第一方面,提供了一种资源结算方法,包括:接收针对第一方的资源消耗请求;根据所述资源消耗请求在所述第一方的资源池中提取第一资源;其中,所述第一资源的值小于所述资源消耗请求应提取的资源的值;为所述第一方分配任务,并监听所述第一方的操作行为;其中,所述操作行为用以确定所述第一方是否完成所述任务;响应于所述第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源。Based on the above objective, the first aspect of this specification provides a resource settlement method, including: receiving a resource consumption request for a first party; and extracting the first party from the resource pool of the first party according to the resource consumption request. Resources; wherein the value of the first resource is less than the value of the resource that should be extracted in the resource consumption request; assign tasks to the first party, and monitor the operation behavior of the first party; wherein, the operation behavior It is used to determine whether the first party completes the task; in response to the first party not completing the task, a second resource is additionally extracted from the resource pool of the first party.

本说明书的第二方面,提供了一种资源结算装置,包括:收发单元,用于接收针对第一方的资源消耗请求;结算单元,用于根据所述资源消耗请求在所述第一方的资源池中提取第一资源;其中,所述第一资源的值小于所述资源消耗请求应提取的资源的值;监听单元,用于为所述第一方分配任务,并监听所述第一方的操作行为;其中,所述操作行为用以确定所述第一方是否完成所述任务;所述结算单元,用于响应于所述第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源。In a second aspect of this specification, a resource settlement device is provided, which includes: a transceiver unit, configured to receive a resource consumption request for a first party; and a settlement unit, configured to communicate with the first party according to the resource consumption request. The first resource is extracted from the resource pool; wherein the value of the first resource is less than the value of the resource that should be extracted in the resource consumption request; the monitoring unit is configured to allocate tasks to the first party and monitor the first The operation behavior of the party; wherein, the operation behavior is used to determine whether the first party has completed the task; the settlement unit is configured to respond to the first party not completing the task, and then obtain additional information from the The second resource is extracted from the resource pool of the first party.

本说明书的第三方面,提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述的方法。The third aspect of this specification provides an electronic device including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the method when the program is executed.

本说明书的第四方面,提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行所述方法。The fourth aspect of this specification provides a non-transitory computer-readable storage medium that stores computer instructions that are used to make the computer execute the method.

从上面所述可以看出,本说明书提供的资源结算方法及装置、电子设备、存储介质,通过接收针对第一方的资源消耗请求并据此从第一方的资源池中提取小于所述资源消耗请求应提取的资源的值的第一资源,再接着监听第一方的操作行为以确定其是否完成任务,若第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源;这样,在使所述第一方以低于应提取资源值的第一资源进行消耗的前提下,能够促使所述第一方去完成某项任务,进而有利于提升参与方之间事务完成效率,同时提高资源利用率。It can be seen from the above that the resource settlement method and device, electronic equipment, and storage medium provided in this manual receive a resource consumption request for the first party and accordingly extract less than the resource from the first party’s resource pool. Consume the first resource of the value of the resource that the request should extract, and then monitor the operation behavior of the first party to determine whether it has completed the task. If the first party has not completed the task, it will additionally obtain the resource pool from the first party. In this way, under the premise that the first party consumes the first resource that is lower than the value of the resource that should be extracted, the first party can be prompted to complete a certain task, which is beneficial to increase participation The efficiency of transaction completion between parties, while improving resource utilization.

附图说明Description of the drawings

为了更清楚地说明本说明书实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of this specification, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.

图1为本说明书披露的一个实施例的实施场景示意图;Fig. 1 is a schematic diagram of an implementation scenario of an embodiment disclosed in this specification;

图2为本说明书披露的资源结算方法的一个实施例的流程示意图;2 is a schematic flowchart of an embodiment of the resource settlement method disclosed in this specification;

图3为本说明书披露的资源结算方法的另一个实施例的流程示意图;3 is a schematic flowchart of another embodiment of the resource settlement method disclosed in this specification;

图4为本说明书披露的资源结算装置的一个实施例的框图结构示意图;Figure 4 is a schematic block diagram of an embodiment of the resource settlement device disclosed in this specification;

图5为本说明书披露的电子设备的一个实施例的硬件结构示意图。FIG. 5 is a schematic diagram of the hardware structure of an embodiment of the electronic device disclosed in this specification.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本申请进一步详细说明。In order to make the objectives, technical solutions, and advantages of the present application clearer, the following further describes the present application in detail in conjunction with specific embodiments and with reference to the accompanying drawings.

需要说明的是,除非另外定义,本说明书使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象 的绝对位置改变后,则该相对位置关系也可能相应地改变。It should be noted that, unless otherwise defined, the technical terms or scientific terms used in this specification should be the ordinary meanings understood by those with ordinary skills in the field to which this disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity, or importance, but are only used to distinguish different components. "Include" or "include" and other similar words mean that the element or item appearing before the word covers the elements or items listed after the word and their equivalents, but does not exclude other elements or items. Similar words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "Down", "Left", "Right", etc. are only used to indicate the relative position relationship. When the absolute position of the described object changes, the relative position relationship may also change accordingly.

图1示出了本说明书披露的一个实施例的实施场景示意图。Fig. 1 shows a schematic diagram of an implementation scenario of an embodiment disclosed in this specification.

如图1所示,在一个资源结算系统中,可以有资源结算装置,以及参与资源结算的第一方、第二方、第三方,甚至更多参与方。As shown in Figure 1, in a resource settlement system, there may be a resource settlement device, as well as the first party, the second party, the third party, and even more parties participating in the resource settlement.

所述第二方,可以预先与所述资源结算装置达成资源结算协议,并据此向所述资源结算装置授权,然后,所述第二方可以向所述资源结算装置提供待分配资源(以形成为所述第二方的资源池),供所述资源结算装置在满足条件时提取所述待分配资源并向相应的第一方进行分配,同时,所述第二方可以制定相应的任务,或者,所述第二方可以与所述资源结算装置或其他参与方共同完成任务制定。所述任务,在所述资源结算装置根据所述资源消耗请求在所述第一方的资源池中提取第一资源后,为所述第一方开启;根据所述第一方完成所述任务的情况,所述资源结算装置确定是否需要再额外从所述第一方的资源池中提取第二资源。所述第二资源的值可以是小于或等于所述资源消耗请求应提取的资源的值与所述第一资源的值之差。The second party may reach a resource settlement agreement with the resource settlement device in advance, and authorize the resource settlement device accordingly, and then the second party may provide the resource settlement device with resources to be allocated (to Formed as the resource pool of the second party) for the resource settlement device to extract the resources to be allocated and allocate them to the corresponding first party when the conditions are met. At the same time, the second party can formulate corresponding tasks Or, the second party may complete task formulation together with the resource settlement device or other participants. The task is opened for the first party after the resource settlement device extracts the first resource from the resource pool of the first party according to the resource consumption request; the task is completed according to the first party In the case of, the resource settlement device determines whether it is necessary to additionally extract a second resource from the resource pool of the first party. The value of the second resource may be less than or equal to the difference between the value of the resource that should be extracted by the resource consumption request and the value of the first resource.

所述第一方,在需要与所述第三方进行资源交换时,可以选择是否与所述资源结算装置达成资源结算协议,或者,所述第一方也可以预先与所述资源结算装置达成资源结算协议。在达成资源结算协议后,所述第一方可以发起资源消耗请求,所述资源结算装置根据所述资源消耗请求,在所述第一方的资源池中提取第一资源;其中,所述第一资源的值小于所述资源消耗请求应提取的资源的值。可选地,在所述第一方的资源池中提取第一资源的步骤之后,所述资源结算装置从所述第二方的资源池中提取预定资源,所述预定资源的值为所述资源消耗请求应提取的资源的值与所述第一资源的值之差。When the first party needs to exchange resources with the third party, it may choose whether to reach a resource settlement agreement with the resource settlement device, or the first party may also reach a resource settlement agreement with the resource settlement device in advance. Settlement agreement. After reaching a resource settlement agreement, the first party may initiate a resource consumption request, and the resource settlement device extracts the first resource from the resource pool of the first party according to the resource consumption request; wherein, the first party The value of a resource is smaller than the value of the resource that should be extracted in the resource consumption request. Optionally, after the step of extracting the first resource from the resource pool of the first party, the resource settlement apparatus extracts a predetermined resource from the resource pool of the second party, and the value of the predetermined resource is the The difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource.

所述第三方,可以是在需要与所述第一方进行资源交换时,选择是否与所述资源结算装置达成资源结算协议,或者,所述第三方也可以预先与所述资源结算装置达成资源结算协议。所述第一方发起资源消耗请求,所述资源结算装置还可以根据所述资源消耗请求,将所述资源消耗请求应提取的资源放入所述第三方的资源池中。The third party may choose whether to reach a resource settlement agreement with the resource settlement device when it needs to exchange resources with the first party, or the third party may also reach a resource settlement agreement with the resource settlement device in advance. Settlement agreement. The first party initiates a resource consumption request, and the resource settlement apparatus may also place the resources that should be extracted by the resource consumption request into the resource pool of the third party according to the resource consumption request.

可选地,所述第三方在与所述资源结算装置达成资源结算协议后,所述资源结算装置还可以根据所述第三方的对资源结算协议的授权,生成资源消耗请求码,并向所述第三方返回所述资源消耗请求码。当与所述第一方进行资源交换时,所述第三方可以向所述第一方出示资源消耗请求码,所述资源消耗请求码的形式可以是条形码或二维码,所述第一方可以利用自己的智能设备通过扫描所述资源消耗请求码而向所述资源结算 装置发起资源消耗请求,或者,所述资源消耗请求码还可以是一串验证码,所述第一方可以利用自己的智能设备通过输入并发送所述资源消耗请求码的方式而向所述资源结算装置发起资源消耗请求,等等。Optionally, after the third party has reached a resource settlement agreement with the resource settlement device, the resource settlement device may also generate a resource consumption request code according to the authorization of the third party for the resource settlement agreement, and send it to the resource settlement device. The third party returns the resource consumption request code. When performing resource exchange with the first party, the third party may show the resource consumption request code to the first party. The resource consumption request code may be in the form of a barcode or a two-dimensional code. You can use your own smart device to initiate a resource consumption request to the resource settlement device by scanning the resource consumption request code, or the resource consumption request code can also be a string of verification codes, and the first party can use its own The smart device in, initiates a resource consumption request to the resource settlement device by inputting and sending the resource consumption request code, and so on.

可选地,响应于所述资源消耗请求码识别信息为所述资源消耗请求,所述资源结算装置还可以生成资源消耗码并向所述第一方返回所述资源消耗码。当与所述第三方进行资源交换时,所述第一方可以向所述第三方出示资源消耗码,所述资源消耗码的形式可以是条形码或二维码,所述第三方可以利用自己的智能设备通过扫描所述资源消耗码而向所述资源结算装置发起资源消耗请求,或者,所述资源消耗码还可以是一串验证码,所述第三方可以利用自己的智能设备通过输入并发送所述资源消耗码的方式而向所述资源结算装置发起资源消耗请求,等等。Optionally, in response to the resource consumption request code identification information being the resource consumption request, the resource settlement apparatus may also generate a resource consumption code and return the resource consumption code to the first party. When exchanging resources with the third party, the first party may show the resource consumption code to the third party. The resource consumption code may be in the form of a barcode or a QR code, and the third party may use its own The smart device initiates a resource consumption request to the resource settlement device by scanning the resource consumption code, or the resource consumption code can also be a string of verification codes, and the third party can use its own smart device to input and send The resource consumption code is used to initiate a resource consumption request to the resource settlement device, and so on.

可选地,若所述第一方未完成所述任务,所述资源结算装置还可以额外从所述第一方的资源池中提取第二资源;然后,将所述第二资源返回到所述第二方的资源池;或者,将所述资源消耗请求应提取的资源的值与所述第一资源的值的差值所对应的资源返回到所述第二方的资源池。Optionally, if the first party has not completed the task, the resource settlement apparatus may additionally extract a second resource from the resource pool of the first party; then, return the second resource to the resource pool of the first party; The resource pool of the second party; or, the resource corresponding to the difference between the value of the resource that should be extracted by the resource consumption request and the value of the first resource is returned to the resource pool of the second party.

可选地,判断所述第一方未完成所述任务,可以通过监听所述第一方的操作行为是否符合任务的要求来进行。Optionally, judging that the first party has not completed the task may be performed by monitoring whether the operation behavior of the first party meets the requirements of the task.

可选地,所述任务可以是定时任务,所述监听所述第一方的操作行为,包括:监听所述第一方在预定期间的操作行为,以确定所述第一方是否在所述预定期间完成所述定时任务。Optionally, the task may be a timed task, and the monitoring the operation behavior of the first party includes: monitoring the operation behavior of the first party during a predetermined period to determine whether the first party is in the The timing task is completed within a predetermined period.

可选地,所述第一方、第二方和第三方都可以是具有能够进行数据交互的设备,这样的设备可以是,例如,手机、平板电脑、个人电脑、笔记本电脑、掌上电脑(PDA)、可穿戴设备(如智能眼镜、智能手表)等等。所述资源结算装置在实现时可以是服务器端的形式。Optionally, the first party, the second party, and the third party may all be devices capable of data interaction. Such devices may be, for example, mobile phones, tablet computers, personal computers, notebook computers, and handheld computers (PDAs). ), wearable devices (such as smart glasses, smart watches), etc. The resource settlement device may be in the form of a server when implemented.

在一些场景下,所述第一方、第二方和第三方的设备中可以是安装有用于与所述资源结算装置进行数据交互的软件的,或者,所述第一方、第二方和第三方的设备可以是利用web端实现与所述资源结算装置的数据交互。这样,所述第一方、第二方和第三方才能接受来自所述资源结算装置的交互信息,并且所述第一方、第二方和第三方可将相应的交互信息发送至所述资源结算装置。In some scenarios, the equipment of the first party, the second party, and the third party may be installed with software for data interaction with the resource settlement apparatus, or the first party, the second party, and the The third-party equipment may use a web terminal to realize data interaction with the resource settlement device. In this way, the first party, the second party, and the third party can receive the interactive information from the resource settlement device, and the first party, the second party, and the third party can send the corresponding interactive information to the resource. Settlement device.

需要说明的是,前述实施例,将所述第二方与第三方进行了区分,但实际上,所 述第二方与所述第三方的区分可以仅仅是功能上的,例如第二方是向资源结算装置提供待分配资源的,所述第三方则是与第一方进行资源交换的。可以知道的是,所述第二方和第三方各自的功能其实是可以合并为一方主体的功能的,例如,既可以提供待分配资源,又可以与第一方进行资源交换。换言之,所述第二方和第三方,既可以同一主体,也可以是不同主体,这可以根据实际需求来进行区分,而不做特定限制。It should be noted that the foregoing embodiment distinguishes the second party from the third party, but in fact, the distinction between the second party and the third party may only be functional, for example, the second party is When the resource to be allocated is provided to the resource settlement device, the third party exchanges resources with the first party. It can be known that the respective functions of the second party and the third party can actually be combined into the functions of the main body of one party. For example, it can provide resources to be allocated and exchange resources with the first party. In other words, the second party and the third party may be the same subject or different subjects, which can be distinguished according to actual needs without specific restrictions.

可选地,所述第一方可以是终端用户,所述第二方和第三方可以是商户。Optionally, the first party may be a terminal user, and the second party and the third party may be merchants.

图2示出了本说明书披露的资源结算方法的一个实施例的流程示意图。Fig. 2 shows a schematic flowchart of an embodiment of the resource settlement method disclosed in this specification.

如图2所示,所述资源结算方法,包括步骤102~步骤110。As shown in Figure 2, the resource settlement method includes steps 102 to 110.

步骤102:接收针对第一方的资源消耗请求。Step 102: Receive a resource consumption request for the first party.

可选地,所述第一资源消耗请求可以是任意一方发起的。例如,可以是在第一方需要与第三方进行资源交换时,由第一方或第三方发起的。又比如,可以是在第一方需要进行资源交换时主动发起的。Optionally, the first resource consumption request may be initiated by any party. For example, it may be initiated by the first party or a third party when the first party needs to exchange resources with a third party. For another example, it may be initiated when the first party needs to exchange resources.

可选地,所述资源消耗请求中可以包括以下信息:第一方和第三方的身份信息、第一方与第三方之间的资源交换信息、第一方签订的资源结算协议、第三方签订的资源结算协议;其中,第一方签订的资源结算协议以及第三方签订的资源结算协议能够用于计算在当前资源交换行为下需要在所述第一方的资源池中提取第一资源的值。Optionally, the resource consumption request may include the following information: the identity information of the first party and the third party, the resource exchange information between the first party and the third party, the resource settlement agreement signed by the first party, and the third party signing The resource settlement agreement; where the resource settlement agreement signed by the first party and the resource settlement agreement signed by the third party can be used to calculate the value of the first resource that needs to be extracted from the first party’s resource pool under the current resource exchange behavior .

步骤104:根据所述资源消耗请求在所述第一方的资源池中提取第一资源;其中,所述第一资源的值小于所述资源消耗请求应提取的资源的值。Step 104: Extract a first resource from the resource pool of the first party according to the resource consumption request; wherein the value of the first resource is smaller than the value of the resource that should be extracted by the resource consumption request.

可选地,所述第一资源的值,可以是在所述第二方与所述资源结算装置达成资源结算协议时,由所述第二方或者由所述资源结算装置预先设定的。Optionally, the value of the first resource may be preset by the second party or by the resource settlement device when the second party and the resource settlement device reach a resource settlement agreement.

可选地,所述第一资源的值的计算规则可以是多种多样的。例如可以指定单次资源交换对应一个预定资源,所述第一资源的值即为所述应提取的资源的值减去所述预定资源的值。比如,若所述资源消耗请求应提取的资源的值为100,则所述第一资源的值可以是所述应提取的资源的值减去一个预定资源的值,这个预定资源的值比如是20,所述第一资源的值就是100-20=80。所述第一资源的值的计算规则也可以按照应提取的资源的值的一定比例确定对应的第一资源的值;例如,若所述资源消耗请求应提取的资源的值为100,则所述第一资源的值可以是所述应提取的资源的值的一定比例,比如90%,那么,第一资源的值就是90。所述第一资源的值的计算规则还可以是在所述第一方按照要求完成所述任务后,按照一定比例进行浮动(例如在前一次基础上将比例下降5%, 这样应提取的资源的值为100时第一资源的值就是85)。又比如是,根据所述第一方拉入所述资源结算协议中的其他参与方的数量来确定,例如,所述第一方通过介绍其他参与方加入所述资源结算协议,根据加入人数的多少来设定所述第一资源的值,等等。具体的所述第一资源的值的计算规则可以根据需要进行设定,在此不做特别限制。Optionally, the calculation rules for the value of the first resource may be various. For example, it may be specified that a single resource exchange corresponds to a predetermined resource, and the value of the first resource is the value of the resource to be extracted minus the value of the predetermined resource. For example, if the value of the resource to be extracted in the resource consumption request is 100, the value of the first resource may be the value of the resource to be extracted minus a predetermined resource value. The predetermined resource value is, for example, 20. The value of the first resource is 100-20=80. The calculation rule for the value of the first resource may also determine the value of the corresponding first resource according to a certain proportion of the value of the resource to be extracted; for example, if the value of the resource to be extracted in the resource consumption request is 100, then The value of the first resource may be a certain proportion of the value of the resource to be extracted, such as 90%, then the value of the first resource is 90. The calculation rule of the value of the first resource may also be that after the first party completes the task as required, it floats according to a certain percentage (for example, the percentage is reduced by 5% on the basis of the previous time, so that the resource that should be extracted When the value of is 100, the value of the first resource is 85). For another example, it is determined according to the number of other participants that the first party pulls into the resource settlement agreement. For example, the first party introduces other participants to join the resource settlement agreement, and according to the number of participants How much to set the value of the first resource, and so on. The specific calculation rule for the value of the first resource can be set as required, and there is no particular limitation here.

本说明书实施例中,所述资源可以包括:与网络应用相关的资源,其中,与网络应用相关的资源可以包括:券、视频、音频等,券可以包括:消费抵用券、打折券等等。In the embodiment of this specification, the resources may include: resources related to network applications, where resources related to network applications may include: coupons, videos, audio, etc., coupons may include: consumption coupons, discount coupons, etc. .

步骤106:为所述第一方分配任务,并监听所述第一方的操作行为;其中,所述操作行为用以确定所述第一方是否完成所述任务。Step 106: Assign a task to the first party and monitor the operation behavior of the first party; wherein the operation behavior is used to determine whether the first party completes the task.

可选地,为所述第一方分配的所述任务也可以是多种多样的。例如,所述任务可以是要求所述第一方实施特定的操作行为,比如:与某一特定方(可以是所述第二方或第三方,也可以是其他参与方)进行第二次的资源交换、在某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的网站上注册为会员、观看由某一特定方(可以是所述第二方或第三方,也可以是其他参与方)发布的广告、浏览属于某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的网页、收听属于某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的电台、观看由某一特定方(可以是所述第二方或第三方,也可以是其他参与方)制作的节目,等等。可选地,所述任务可以是在所述第二方或者所述第三方与所述资源结算装置达成资源结算协议时而由所述第二方或者所述第三方制定的,用于要求所述第一方在按照第一资源的值从其资源池中提取第一资源后实施特定的操作行为以完成所述任务。Optionally, the tasks assigned to the first party may also be various. For example, the task may be to require the first party to perform a specific operation behavior, such as: a second party with a specific party (the second party or the third party, or other participants) Resource exchange, registration as a member on the website of a specific party (which can be the second party or third party, or other participants), viewing by a specific party (which can be the second party or the third party) Three parties, or other participants) publish advertisements, browse webpages belonging to a specific party (it can be the second party or third party, or other participants), listen to the webpages belonging to a specific party (which can be The radio station of the second party or third party, or other participants), watching programs produced by a specific party (may be the second party or third party, or other participants), etc. . Optionally, the task may be formulated by the second party or the third party when the second party or the third party and the resource settlement device reach a resource settlement agreement for requesting the The first party implements a specific operation behavior to complete the task after extracting the first resource from its resource pool according to the value of the first resource.

可选地,所述资源结算装置还可以根据需要向所述第一方推送任务提醒信息,用以提醒所述第一方及时完成任务。所述提醒信息的推送方式可以采用短信、电话、在应用内弹出消息等方式来实现。Optionally, the resource settlement device may also push task reminder information to the first party as needed to remind the first party to complete the task in time. The method of pushing the reminder information can be implemented by means of short message, phone call, pop-up message in the application, and the like.

可选地,所述任务可以是定时任务,比如,要求所述第一方在预定期间内去实施特定的操作行为以完成所述任务。所述预定期间可以根据需要设置,例如,一周、一个月、三个月,等等。所述预定期间也可以根据所述任务类型的不同或者完成任务的难度高低来进行设定。具体的设定标准,在这里不做特别限制。Optionally, the task may be a timed task, for example, the first party is required to implement a specific operation behavior within a predetermined period to complete the task. The predetermined period can be set as required, for example, one week, one month, three months, and so on. The predetermined period may also be set according to the different types of the tasks or the difficulty of completing the tasks. The specific setting standards are not particularly limited here.

可选地,当所述任务是定时任务时,所述资源结算装置还可以根据需要在预定期间截止前向所述第一方推送任务提醒信息,用以提醒所述第一方及时在预定期间内完成任务。所述提醒信息的推送方式可以采用短信、电话、在应用内弹出消息等方式来实现。Optionally, when the task is a timed task, the resource settlement device may also push task reminder information to the first party before the expiration of the predetermined period as needed, so as to remind the first party to be within the predetermined period in time. Complete the task within. The method of pushing the reminder information can be implemented by means of short message, phone call, pop-up message in the application, and the like.

可选地,针对不用的资源交换行为,所述任务都可以是不同的,或者,针对不同的第一方、第二方和/或第三方,所述任务也可以是不同的。并且,制定任务者可以随时修改、变更所述任务。Optionally, the tasks may be different for different resource exchange behaviors, or the tasks may also be different for different first parties, second parties, and/or third parties. In addition, the task maker can modify or change the task at any time.

可选地,所述监听的操作,可以是通过采集并分析所述第一方的操作行为来完成的。可选地,若所述第一方的设备中安装有与所述资源结算有关的软件,可以通过在所述软件中埋点的形式自动搜集所述第一方的操作行为。Optionally, the monitoring operation may be completed by collecting and analyzing the operation behavior of the first party. Optionally, if the software related to the resource settlement is installed in the device of the first party, the operation behavior of the first party can be automatically collected by embedding points in the software.

可选地,所述第一方的操作行为可以是所述第一方的各种操作行为。例如,与某一特定方(可以是所述第二方或第三方,也可以是其他参与方)在某一时间点进行第二次的资源交换、在某一时间点在某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的网站上注册为会员、在某一时间点观看了由某一特定方(可以是所述第二方或第三方,也可以是其他参与方)发布的广告、在某一时间点浏览了属于某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的网页、在某一时间点收听了属于某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的电台、在某一时间点观看了由某一特定方(可以是所述第二方或第三方,也可以是其他参与方)制作的节目,等等。Optionally, the operation behavior of the first party may be various operation behaviors of the first party. For example, a second resource exchange with a specific party (which can be the second party or a third party, or other participants) at a certain point in time, and at a certain point in time in a specific party ( It can be the second party or the third party, or it can be other participants) registered as a member on the website, watched by a specific party (can be the second party or third party, or It can be an advertisement published by other parties), browsed a webpage belonging to a specific party (which can be the second party or third party, or other parties) at a certain point in time, listened to it at a certain point in time A radio station belonging to a specific party (which can be the second party or third party, or other participants) is watched by a specific party (which can be the second party or the third party) at a certain point in time. Three parties, or other participating parties) produced programs, and so on.

可选地,若所述任务为定时任务,所述监听所述第一方的操作行为,包括:监听所述第一方在预定期间内的操作行为,以确定所述第一方是否在所述预定期间内完成所述定时任务。Optionally, if the task is a timed task, the monitoring the operation behavior of the first party includes: monitoring the operation behavior of the first party within a predetermined period to determine whether the first party is in the The timing task is completed within the predetermined period.

所述预定期间可以根据需要设置,例如,一周、一个月、三个月,等等。所述预定期间也可以根据所述任务类型的不同或者完成任务的难度高低来进行设定。具体的设定标准,在这里不做特别限制。The predetermined period can be set as required, for example, one week, one month, three months, and so on. The predetermined period may also be set according to the different types of the tasks or the difficulty of completing the tasks. The specific setting standards are not particularly limited here.

步骤108:响应于所述第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源。Step 108: In response to the first party not completing the task, additionally extract a second resource from the resource pool of the first party.

例如,所述任务为要求所述第一方在与所述第三方完成资源交换的一个月内与所述第二方进行资源交换,而所述第一方未在该一个月内与所述第二方进行资源交换(例如在该一个月内所述第一方的操作行为中不存在与所述第二方进行资源交换的操作行为),则认定所述操作行为不满足所述任务的要求,亦即,所述第一方未完成所述任务。For example, the task is to require the first party to exchange resources with the second party within one month of completing the resource exchange with the third party, and the first party does not exchange resources with the second party within one month. The second party performs resource exchange (for example, there is no operation behavior of resource exchange with the second party in the operation behavior of the first party within the one month), then it is determined that the operation behavior does not meet the requirements of the task Requirement, that is, the first party has not completed the task.

当所述操作行为不满足所述任务的要求,则不能按照所述第一资源的值从所述第一方的资源池中提取第一资源,于是,所述资源结算装置则可以额外从所述第一方的资 源池中提取第二资源。When the operation behavior does not meet the requirements of the task, the first resource cannot be extracted from the resource pool of the first party according to the value of the first resource. Therefore, the resource settlement device may additionally obtain the first resource from the resource pool of the first party. The second resource is extracted from the resource pool of the first party.

可选地,所述第二资源的值小于或等于所述资源消耗请求应提取的资源的值与所述第一资源的值之差。Optionally, the value of the second resource is less than or equal to the difference between the value of the resource to be extracted in the resource consumption request and the value of the first resource.

可选地,所述资源结算方法,还可包括步骤110:响应于所述第一方未完成所述任务,则资源结算完成,对于当前次的资源交换行为,不再会出现额外提取所述第二资源的情况。Optionally, the resource settlement method may further include step 110: in response to the first party not completing the task, the resource settlement is completed, and for the current resource exchange behavior, there will be no additional extraction of the first party. 2. The situation of resources.

从上述实施例可以看出,本说明书提供的资源结算方法,通过接收针对第一方的资源消耗请求并据此从第一方的资源池中提取小于所述资源消耗请求应提取的资源的值的第一资源,再接着监听第一方的操作行为以确定其是否完成任务,若第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源;这样,在使所述第一方以低于应提取资源值的第一资源进行消耗的前提下,能够促使所述第一方去完成某项任务,进而有利于提升参与方之间事务完成效率,同时提高资源利用率。It can be seen from the above embodiment that the resource settlement method provided in this specification receives a resource consumption request for the first party and extracts from the first party’s resource pool a value less than the resource that should be extracted by the resource consumption request. Then, it monitors the operation behavior of the first party to determine whether it has completed the task. If the first party has not completed the task, the second resource is additionally extracted from the first party’s resource pool; in this way, Under the premise that the first party consumes the first resource that is lower than the value of the resource that should be extracted, the first party can be prompted to complete a certain task, which is beneficial to improve the efficiency of transaction completion between the participants, and at the same time Improve resource utilization.

图3示出了本说明书披露的资源结算方法的另一个实施例的流程示意图。Fig. 3 shows a schematic flowchart of another embodiment of the resource settlement method disclosed in this specification.

如图3所示,所述资源结算方法,包括步骤202~步骤226。As shown in FIG. 3, the resource settlement method includes steps 202 to 226.

步骤202:接收第二方的对资源结算协议的授权。Step 202: Receive the authorization of the second party for the resource settlement agreement.

所述第二方,可以预先与所述资源结算装置达成资源结算协议,并据此向所述资源结算装置授权。The second party may reach a resource settlement agreement with the resource settlement device in advance, and authorize the resource settlement device accordingly.

步骤204:确定任务。Step 204: Determine the task.

可选地,所述任务可以是所述第二方制定的,也可以是所述第二方与所述资源结算装置或所述第三方协商确定的,也可以是所述第二方、所述资源结算装置以及所述第三方共同确定的。具体的任务制定方式和任务的内容都是根据需要进行设置的。Optionally, the task may be formulated by the second party, or determined through negotiation between the second party and the resource settlement device or the third party, or may be the second party, the The resource settlement device and the third party are jointly determined. The specific task formulation method and task content are set according to needs.

所述任务也可以是多种多样的。例如,所述任务可以是要求所述第一方实施特定的操作行为,比如:与某一特定方(可以是所述第二方或第三方,也可以是其他参与方)进行第二次的资源交换、在某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的网站上注册为会员、观看由某一特定方(可以是所述第二方或第三方,也可以是其他参与方)发布的广告、浏览属于某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的网页、收听属于某一特定方(可以是所述第二方或第三方,也可以是其他参与方)的电台、观看由某一特定方(可以是所述第二方或第三方,也可以是其 他参与方)制作的节目,等等。The tasks can also be diverse. For example, the task may be to require the first party to perform a specific operation behavior, such as: a second party with a specific party (the second party or the third party, or other participants) Resource exchange, registration as a member on the website of a specific party (which can be the second party or third party, or other participants), viewing by a specific party (which can be the second party or the third party) Three parties, or other participants) publish advertisements, browse webpages belonging to a specific party (it can be the second party or third party, or other participants), listen to the webpages belonging to a specific party (which can be The radio station of the second party or third party, or other participants), watching programs produced by a specific party (may be the second party or third party, or other participants), etc. .

本步骤中,制定任务的主体可以是第二方,这是基于所述第二方是提供待分配资源的一方的考虑。实际上,可以知道,虽然第二方是提供待分配资源的一方,但该制定任务的主体也可以不是所述第二方,而可以是所述资源结算装置,或者可以是所述第二方授权制定任务的主体,等等。In this step, the subject of formulating the task may be the second party, which is based on the consideration that the second party is the party that provides the resources to be allocated. In fact, it can be known that although the second party is the party that provides the resources to be allocated, the subject of the task may not be the second party, but may be the resource settlement device, or may be the second party. The main body authorized to formulate tasks, and so on.

步骤206:获取所述第二方提供的待分配资源,并形成为所述第二方的资源池,以供所述资源结算装置在满足条件时向相应的第一方进行分配。Step 206: Obtain the resource to be allocated provided by the second party and form it as a resource pool of the second party for the resource settlement device to allocate to the corresponding first party when the conditions are met.

步骤208:接收针对所述第一方的资源分配请求。Step 208: Receive a resource allocation request for the first party.

可选地,所述针对所述第一方的资源分配请求可以是任意一方发起的。例如,可以是在第一方需要与第三方进行资源交换时,由第一方或第三方发起的。又比如,可以是在第一方需要进行资源交换时主动发起的。Optionally, the resource allocation request for the first party may be initiated by any party. For example, it may be initiated by the first party or a third party when the first party needs to exchange resources with a third party. For another example, it may be initiated when the first party needs to exchange resources.

步骤210:根据所述资源分配请求为所述第一方分配预定资源。Step 210: Allocate a predetermined resource to the first party according to the resource allocation request.

步骤212:接收针对第一方的资源消耗请求。Step 212: Receive a resource consumption request for the first party.

可选地,所述针对第一方的资源消耗请求对应于所述第一方与所述第三方进行的资源交换行为,发起方既可以是第一方也可以是第三方。Optionally, the resource consumption request for the first party corresponds to a resource exchange behavior between the first party and the third party, and the initiator may be the first party or the third party.

步骤214:从所述第二方的资源池中提取所述预定资源。Step 214: Extract the predetermined resource from the resource pool of the second party.

这里,当满足条件时,从第二资源池中将相应的预定资源提取出来,提取得到的预定资源用以向第一方进行分配。Here, when the condition is met, the corresponding predetermined resource is extracted from the second resource pool, and the obtained predetermined resource is extracted for allocation to the first party.

步骤216:根据所述资源消耗请求在所述第一方的资源池中提取第一资源;其中,所述第一资源的值小于所述资源消耗请求应提取的资源的值。Step 216: Extract a first resource from the resource pool of the first party according to the resource consumption request; wherein the value of the first resource is smaller than the value of the resource that should be extracted by the resource consumption request.

可选地,所述资源消耗请求应提取的资源的值是当前所述第一方与第三方进行资源交换时的资源交换总量,所述预定资源的值为所述资源消耗请求应提取的资源的值与所述第一资源的值之差,所述第一资源的值则为所述第一方应当从自己的资源池中交换给所述第三方的资源的值。Optionally, the value of the resource that should be extracted in the resource consumption request is the total amount of resource exchange when the first party and the third party are currently exchanging resources, and the value of the predetermined resource should be extracted in the resource consumption request The difference between the value of the resource and the value of the first resource, and the value of the first resource is the value of the resource that the first party should exchange from its own resource pool to the third party.

步骤218:将所述资源消耗请求应提取的资源放入所述第三方的资源池中。Step 218: Put the resources that should be extracted by the resource consumption request into the third-party resource pool.

这里,所述第三方所获得的所述资源消耗请求应提取的资源,为所述第一方实际交换的所述第一资源以及所述第二方所提供的预定资源的集合。Here, the resource that should be extracted in the resource consumption request obtained by the third party is a set of the first resource actually exchanged by the first party and the predetermined resource provided by the second party.

步骤220:为所述第一方分配任务,并监听所述第一方的操作行为;其中,所述操作行为用以确定所述第一方是否完成所述任务。Step 220: Assign a task to the first party and monitor the operation behavior of the first party; wherein the operation behavior is used to determine whether the first party completes the task.

步骤222:响应于所述第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源。Step 222: In response to the first party not completing the task, additionally extract a second resource from the resource pool of the first party.

这里,因为第一方未按要求完成所述任务,则所述资源结算装置需要额外再从所述第一方的资源池中提取第二资源。这里,所述第二资源的值可以是小于或等于所述资源消耗请求应提取的资源的值与所述第一资源的值的差值。Here, because the first party does not complete the task as required, the resource settlement device needs to additionally extract a second resource from the resource pool of the first party. Here, the value of the second resource may be less than or equal to the difference between the value of the resource that should be extracted by the resource consumption request and the value of the first resource.

步骤224:将所述第二资源返回到所述第二方的资源池;或者,将所述资源消耗请求应提取的资源的值与所述第一资源的值的差值所对应的资源返回到所述第二方的资源池。Step 224: Return the second resource to the resource pool of the second party; or return the resource corresponding to the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource To the resource pool of the second party.

这里,因为第一方未按要求完成所述任务而从其资源池提取的第二资源可以直接返回到所述第二方的资源池,从而补偿第二方一开始提供的预定资源。可选地,也可以是将所述资源消耗请求应提取的资源的值与所述第一资源的值的差值所对应的资源返回到所述第二方的资源池,这个情况中,所述资源消耗请求应提取的资源的值与所述第一资源的值的差值不等于所述第二资源的值。换言之,返回给第二方的资源的值,可以是填平所述第二方原先提供的预定资源,也可以是补偿一定的资源。Here, the second resource extracted from the resource pool of the first party because the first party did not complete the task as required can be directly returned to the resource pool of the second party, thereby compensating for the predetermined resource provided by the second party at the beginning. Optionally, the resource corresponding to the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource may be returned to the resource pool of the second party. In this case, The difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource is not equal to the value of the second resource. In other words, the value of the resource returned to the second party may be to fill in a predetermined resource originally provided by the second party, or it may be to compensate for a certain resource.

步骤226:响应于所述操作行为满足所述任务的要求,则资源结算完成。Step 226: In response to the operation behavior meeting the requirements of the task, the resource settlement is completed.

从上述实施例可以看出,本说明书提供的资源结算方法,通过接收针对第一方的资源消耗请求并据此从第一方的资源池中提取小于所述资源消耗请求应提取的资源的值的第一资源,再接着监听第一方的操作行为以确定其是否完成任务,若第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源;这样,在使所述第一方以低于应提取资源值的第一资源进行消耗的前提下,能够促使所述第一方去完成某项任务,进而有利于提升参与方之间事务完成效率,同时提高资源利用率。It can be seen from the above embodiment that the resource settlement method provided in this specification receives a resource consumption request for the first party and extracts from the first party’s resource pool a value less than the resource that should be extracted by the resource consumption request. Then, it monitors the operation behavior of the first party to determine whether it has completed the task. If the first party has not completed the task, the second resource is additionally extracted from the first party’s resource pool; in this way, Under the premise that the first party consumes the first resource that is lower than the value of the resource that should be extracted, the first party can be prompted to complete a certain task, which is beneficial to improve the efficiency of transaction completion between the participants, and at the same time Improve resource utilization.

作为一个可选实施例,所述方法还包括:接收第三方的对资源结算协议的授权;根据所述第三方的对资源结算协议的授权,生成资源消耗请求码;向所述第三方返回所述资源消耗请求码。As an optional embodiment, the method further includes: receiving a third party's authorization to the resource settlement agreement; generating a resource consumption request code according to the third party's authorization to the resource settlement agreement; The resource consumption request code.

可选地,所述方法还包括:接收所述第一方针对所述资源消耗请求码的资源消耗请求码识别信息;响应于所述资源消耗请求码识别信息为所述针对所述第一方的资源分配请求,则生成资源消耗码,并向所述第一方返回所述资源消耗码;接收所述第三方针 对所述资源消耗码的资源消耗码识别信息;响应于所述资源分配码识别信息为针对所述第一方的资源消耗请求,则在所述第一方的资源池中提取第一资源。Optionally, the method further includes: receiving the resource consumption request code identification information of the first party for the resource consumption request code; responding to the resource consumption request code identification information for the first party Request for resource allocation, generate a resource consumption code, and return the resource consumption code to the first party; receive the resource consumption code identification information of the third party for the resource consumption code; respond to the resource allocation code If the identification information is a resource consumption request for the first party, the first resource is extracted from the resource pool of the first party.

这样,第一方和第三方在进行资源交换时,可以通过扫码或者输入识别码的方式来完成资源交换过程中的信息交互,能够方便使用,提高效率。In this way, when the first party and the third party exchange resources, they can complete the information interaction in the resource exchange process by scanning the code or inputting the identification code, which can facilitate use and improve efficiency.

作为一个可选实施例,在所述资源分配完成的步骤110/步骤226之后,所述方法还包括:接收针对所述第一方的后续资源消耗请求;响应于所述第一方已完成所述任务,则在所述第一方的资源池中提取第三资源;其中,所述第三资源的值小于所述后续资源消耗请求应提取的资源的值;响应于所述操作行为不满足所述任务的要求,则返回拒绝所述后续资源消耗请求的消息,通过这种拒绝二次分配的方式,督促第一方在达成资源结算协议后依约完成相应的任务。As an optional embodiment, after the step 110/step 226 of the resource allocation is completed, the method further includes: receiving a subsequent resource consumption request for the first party; The task, a third resource is extracted from the resource pool of the first party; wherein the value of the third resource is less than the value of the resource that should be extracted in the subsequent resource consumption request; in response to the operation behavior being not satisfied The request of the task returns a message of rejecting the subsequent resource consumption request. Through this method of rejecting the secondary allocation, the first party is urged to complete the corresponding task according to the contract after reaching the resource settlement agreement.

可选地,这里,因为所述操作行为满足了所述任务的要求,可以选择直接在所述第一方的资源池中提取第三资源而不再要求第一方执行新任务,从而提高第一方完成任务的积极性。当然,也可以选择继续设置新的任务。具体设置方式可根据需要进行选择,在此不再特别限制。Optionally, here, because the operation behavior meets the requirements of the task, you can choose to directly extract the third resource from the resource pool of the first party without requiring the first party to perform a new task, thereby increasing the The enthusiasm of one party to complete the task. Of course, you can also choose to continue setting up new tasks. The specific setting method can be selected according to needs, and is not particularly limited here.

可选地,接收针对所述第一方的后续资源消耗请求的步骤之前,还可包括:接收针对所述第一方的后续资源分配请求;这里,所述针对所述第一方的后续资源分配请求是在针对所述第一方的资源分配请求之后,所述第一方进行第二次资源交换时发起的;这里第二次资源交换的对象可以是第三方,也可是另外的参与方或者第二方;响应于所述操作行为满足所述任务的要求,则根据所述后续资源分配请求为所述第一方分配新的预定资源;所述新的预定资源可以与所述预定资源的值相等,也可以根据任务完成情况上浮,具体设置方式根据需要进行选择。Optionally, before the step of receiving a subsequent resource consumption request for the first party, the method may further include: receiving a subsequent resource allocation request for the first party; here, the subsequent resource consumption request for the first party The allocation request is initiated when the first party performs the second resource exchange after the resource allocation request for the first party; here, the object of the second resource exchange can be a third party or another participant Or a second party; in response to the operation behavior meeting the requirements of the task, a new predetermined resource is allocated to the first party according to the subsequent resource allocation request; the new predetermined resource may be the same as the predetermined resource The value of is equal, and it can also float up according to the completion of the task, and the specific setting method can be selected according to the needs.

需要说明的是,本说明书实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本说明书实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成所述的方法。It should be noted that the methods in the embodiments of this specification can be executed by a single device, such as a computer or a server. The method in this embodiment can also be applied in a distributed scenario, and multiple devices cooperate with each other to complete. In this distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of this specification, and the multiple devices will interact with each other to complete all the steps. The method described.

可选地,在一个实施例中,本方法在服务器上执行。服务器是指网络中能对其它设备提供服务的计算机系统。服务器服务的对象通常称为终端或客户端,服务器与终端之间可以通过有线或者无线的方式通信连接。服务器的实现方式是多种多样的,可以是单台的计算机设备,也可以是多台计算机设备的组合(例如集群服务器,云服务器等)。 服务器在一些应用场景中也可以被称为服务端,云端等。在另一个实施例中,本方法也可以在单台计算机(例如工作站)上执行。Optionally, in one embodiment, the method is executed on the server. A server refers to a computer system that can provide services to other devices in the network. The object served by the server is usually called a terminal or a client, and the server and the terminal can be connected through wired or wireless communication. The server can be implemented in a variety of ways, and it can be a single computer device or a combination of multiple computer devices (such as a cluster server, a cloud server, etc.). In some application scenarios, the server can also be called the server, the cloud, etc. In another embodiment, the method can also be executed on a single computer (such as a workstation).

图4示出了本说明书披露的资源结算装置的一个实施例的框图结构示意图。Fig. 4 shows a schematic block diagram of an embodiment of the resource settlement device disclosed in this specification.

如图4所示,所述资源结算装置,包括:收发单元301,用于接收针对第一方的资源消耗请求;结算单元302,用于根据所述资源消耗请求在所述第一方的资源池中提取第一资源;其中,所述第一资源的值小于所述资源消耗请求应提取的资源的值;监听单元303,用于为所述第一方分配任务,并监听所述第一方的操作行为;其中,所述操作行为用以确定所述第一方是否完成所述任务;所述结算单元302,用于响应于所述第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源。As shown in FIG. 4, the resource settlement device includes: a transceiver unit 301, configured to receive a resource consumption request for a first party; a settlement unit 302, configured to request a resource at the first party according to the resource consumption The first resource is extracted from the pool; wherein the value of the first resource is less than the value of the resource that should be extracted in the resource consumption request; the monitoring unit 303 is configured to allocate tasks to the first party and monitor the first The operation behavior of the party; wherein the operation behavior is used to determine whether the first party has completed the task; the settlement unit 302 is configured to respond to the first party's failure to complete the task, and then additional follow-up The second resource is extracted from the resource pool of the first party.

从上述实施例可以看出,本说明书提供的资源结算装置,通过接收针对第一方的资源消耗请求并据此从第一方的资源池中提取小于所述资源消耗请求应提取的资源的值的第一资源,再接着监听第一方的操作行为以确定其是否完成任务,若第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源;这样,在使所述第一方以低于应提取资源值的第一资源进行消耗的前提下,能够促使所述第一方去完成某项任务,进而有利于提升参与方之间事务完成效率,同时提高资源利用率。It can be seen from the above embodiment that the resource settlement device provided in this specification receives a resource consumption request for the first party and extracts from the first party’s resource pool a value less than the resource that should be extracted by the resource consumption request. Then, it monitors the operation behavior of the first party to determine whether it has completed the task. If the first party has not completed the task, the second resource is additionally extracted from the first party’s resource pool; in this way, Under the premise that the first party consumes the first resource that is lower than the value of the resource that should be extracted, the first party can be prompted to complete a certain task, which is beneficial to improve the efficiency of transaction completion between the participants, and at the same time Improve resource utilization.

可选地,所述第二资源的值小于或等于所述资源消耗请求应提取的资源的值与所述第一资源的值之差。Optionally, the value of the second resource is less than or equal to the difference between the value of the resource to be extracted in the resource consumption request and the value of the first resource.

可选地,所述收发单元301,用于接收针对所述第一方的资源分配请求;所述结算单元302,用于根据所述资源分配请求为所述第一方分配预定资源;其中,所述预定资源的值为所述资源消耗请求应提取的资源的值与所述第一资源的值之差。Optionally, the transceiving unit 301 is configured to receive a resource allocation request for the first party; the settlement unit 302 is configured to allocate predetermined resources to the first party according to the resource allocation request; wherein, The value of the predetermined resource is the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource.

可选地,所述收发单元301,用于接收第二方的对资源结算协议的授权;所述监听单元303,用于确定所述任务;所述结算单元302,用于获取所述第二方提供的待分配资源,并形成为所述第二方的资源池。Optionally, the transceiving unit 301 is configured to receive the authorization of the second party to the resource settlement agreement; the monitoring unit 303 is configured to determine the task; the settlement unit 302 is configured to obtain the second party The resources to be allocated provided by the party are formed as the resource pool of the second party.

可选地,所述结算单元302,用于从所述第二方的资源池中提取所述预定资源。Optionally, the settlement unit 302 is configured to extract the predetermined resource from a resource pool of the second party.

可选地,所述结算单元302,用于:将所述第二资源返回到所述第二方的资源池;或者,将所述资源消耗请求应提取的资源的值与所述第一资源的值的差值所对应的资源返回到所述第二方的资源池。Optionally, the settlement unit 302 is configured to: return the second resource to the resource pool of the second party; or combine the value of the resource to be extracted in the resource consumption request with the first resource The resource corresponding to the difference in the value of is returned to the resource pool of the second party.

可选地,所述收发单元301,用于接收第三方的对资源结算协议的授权;所述结算单元302,用于根据所述第三方的对资源结算协议的授权,生成资源消耗请求码;所述 收发单元301,用于向所述第三方返回所述资源消耗请求码。Optionally, the transceiving unit 301 is configured to receive a third party's authorization to the resource settlement agreement; the settlement unit 302 is configured to generate a resource consumption request code according to the third-party's authorization to the resource settlement agreement; The transceiver unit 301 is configured to return the resource consumption request code to the third party.

可选地,所述收发单元301,用于接收所述第一方针对所述资源消耗请求码的资源消耗请求码识别信息;所述结算单元302,用于响应于所述资源消耗请求码识别信息为针对所述第一方的资源分配请求,则生成资源消耗码;所述收发单元301,用于向所述第一方返回所述资源消耗码;以及,接收所述第三方针对所述资源消耗码的资源消耗码识别信息;所述结算单元302,用于响应于所述资源消耗码识别信息为所述针对第一方的资源消耗请求,则在所述第一方的资源池中提取第一资源。Optionally, the transceiving unit 301 is configured to receive the resource consumption request code identification information of the first party for the resource consumption request code; the settlement unit 302 is configured to identify the resource consumption request code in response to the resource consumption request code. If the information is a resource allocation request for the first party, a resource consumption code is generated; the transceiver unit 301 is configured to return the resource consumption code to the first party; The resource consumption code identification information of the resource consumption code; the settlement unit 302 is configured to respond to the resource consumption code identification information for the resource consumption request for the first party, in the resource pool of the first party Extract the first resource.

可选地,所述结算单元302,用于将所述资源消耗请求应提取的资源放入所述第三方的资源池中。Optionally, the settlement unit 302 is configured to put the resources that should be extracted in the resource consumption request into the third-party resource pool.

可选地,所述收发单元301,用于接收针对所述第一方的后续资源消耗请求;所述结算单元302,用于响应于所述第一方已完成所述任务,则在所述第一方的资源池中提取第三资源;其中,所述第三资源的值小于所述后续资源消耗请求应提取的资源的值。Optionally, the transceiving unit 301 is configured to receive a subsequent resource consumption request for the first party; the settlement unit 302 is configured to respond to the completion of the task by the first party, A third resource is extracted from the resource pool of the first party; wherein the value of the third resource is smaller than the value of the resource that should be extracted in the subsequent resource consumption request.

可选地,所述任务为定时任务,所述监听单元303,用于监听所述第一方在预定期间内的操作行为,以确定所述第一方是否在所述预定期间内完成所述定时任务。Optionally, the task is a timed task, and the monitoring unit 303 is configured to monitor the operation behavior of the first party within a predetermined period to determine whether the first party completes the first party within the predetermined period. Timed tasks.

上述实施例的装置用于实现前述实施例中相应的方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

图5示出了本实施例所提供的一种更为具体的电子设备硬件结构示意图,该设备可以包括:处理器401、存储器402、输入/输出接口403、通信接口404和总线405。其中处理器401、存储器402、输入/输出接口403和通信接口404通过总线405实现彼此之间在设备内部的通信连接。FIG. 5 shows a schematic diagram of a more specific hardware structure of an electronic device provided by this embodiment. The device may include a processor 401, a memory 402, an input/output interface 403, a communication interface 404, and a bus 405. The processor 401, the memory 402, the input/output interface 403, and the communication interface 404 realize the communication connection between each other in the device through the bus 405.

处理器401可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 401 may be implemented by a general CPU (Central Processing Unit, central processing unit), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits for execution related Program to implement the technical solutions provided in the embodiments of this specification.

存储器402可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器402可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器402中,并由处理器401来调用执行。The memory 402 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory, random access memory), static storage device, dynamic storage device, etc. The memory 402 may store an operating system and other application programs. When the technical solutions provided in the embodiments of the present specification are implemented by software or firmware, related program codes are stored in the memory 402 and called and executed by the processor 401.

输入/输出接口403用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。 其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 403 is used to connect an input/output module to realize information input and output. The input/output/module can be configured in the device as a component (not shown in the figure), or can be connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and an output device may include a display, a speaker, a vibrator, an indicator light, and the like.

通信接口404用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 404 is used to connect a communication module (not shown in the figure) to realize the communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.), or through wireless means (such as mobile network, WIFI, Bluetooth, etc.).

总线405包括一通路,在设备的各个组件(例如处理器401、存储器402、输入/输出接口403和通信接口404)之间传输信息。The bus 405 includes a path for transmitting information between various components of the device (for example, the processor 401, the memory 402, the input/output interface 403, and the communication interface 404).

需要说明的是,尽管上述设备仅示出了处理器401、存储器402、输入/输出接口403、通信接口404以及总线405,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the processor 401, the memory 402, the input/output interface 403, the communication interface 404, and the bus 405, in the specific implementation process, the device may also include the equipment necessary for normal operation. Other components. In addition, those skilled in the art can understand that the above-mentioned device may also include only the components necessary to implement the solutions of the embodiments of the present specification, and not necessarily include all the components shown in the figures.

本实施例的计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.

上述对本说明书特定实施例进行了描述。其他实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本说明书的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本说明书的不同方面的许多其它变化,为了简明它们没有在细节中提供。Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary, and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples; under the idea of this specification, the above embodiments or The technical features in different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of this specification as described above, which are not provided in the details for the sake of brevity.

另外,为简化说明和讨论,并且为了不会使本说明书难以理解,在所提供的附图中可以示出或可以不示出与集成电路(IC)芯片和其它部件的公知的电源/接地连接。此外,可以以框图的形式示出装置,以便避免使本说明书难以理解,并且这也考虑了以下事实,即关于这些框图装置的实施方式的细节是高度取决于将要实施本说明书的平台的(即,这些细节应当完全处于本领域技术人员的理解范围内)。在阐述了具体细节(例如,电路)以描述本说明书的示例性实施例的情况下,对本领域技术人员来说显而易见的是,可以在没有这些具体细节的情况下或者这些具体细节有变化的情况下实施本说明书。因此,这些描述应被认为是说明性的而不是限制性的。In addition, in order to simplify the description and discussion, and in order not to make the description difficult to understand, the well-known power/ground connections to integrated circuit (IC) chips and other components may or may not be shown in the drawings provided. . In addition, the devices may be shown in the form of block diagrams in order to avoid making the description difficult to understand, and this also takes into account the fact that the details about the implementation of these block diagram devices are highly dependent on the platform on which the description will be implemented (ie , These details should be completely within the understanding of those skilled in the art). In the case where specific details (for example, a circuit) are described to describe the exemplary embodiments of the present specification, it is obvious to those skilled in the art that it may be possible without these specific details or when these specific details are changed. Implement this manual under. Therefore, these descriptions should be considered illustrative rather than restrictive.

尽管已经结合了本说明书的具体实施例对本说明书进行了描述,但是根据前面的描述,这些实施例的很多替换、修改和变型对本领域普通技术人员来说将是显而易见的。例如,其它存储器架构(例如,动态RAM(DRAM))可以使用所讨论的实施例。Although this specification has been described in conjunction with the specific embodiments of this specification, many substitutions, modifications and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.

本说明书的实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本说明书的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本说明书的保护范围之内。The embodiments of this specification are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims (24)

一种资源结算方法,包括:A resource settlement method, including: 接收针对第一方的资源消耗请求;Receive a resource consumption request for the first party; 根据所述资源消耗请求在所述第一方的资源池中提取第一资源;其中,所述第一资源的值小于所述资源消耗请求应提取的资源的值;Extracting a first resource from the resource pool of the first party according to the resource consumption request; wherein the value of the first resource is smaller than the value of the resource that should be extracted in the resource consumption request; 为所述第一方分配任务,并监听所述第一方的操作行为;其中,所述操作行为用以确定所述第一方是否完成所述任务;Assign tasks to the first party and monitor the operation behavior of the first party; wherein the operation behavior is used to determine whether the first party completes the task; 响应于所述第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源。In response to the first party not completing the task, a second resource is additionally extracted from the resource pool of the first party. 根据权利要求1所述的方法,其中,所述第二资源的值小于或等于所述资源消耗请求应提取的资源的值与所述第一资源的值之差。The method according to claim 1, wherein the value of the second resource is less than or equal to the difference between the value of the resource that should be extracted by the resource consumption request and the value of the first resource. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises: 接收针对所述第一方的资源分配请求;Receiving a resource allocation request for the first party; 根据所述资源分配请求为所述第一方分配预定资源;Allocating a predetermined resource to the first party according to the resource allocation request; 其中,所述预定资源的值为所述资源消耗请求应提取的资源的值与所述第一资源的值之差。Wherein, the value of the predetermined resource is the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource. 根据权利要求3所述的方法,其中,所述方法还包括:The method according to claim 3, wherein the method further comprises: 接收第二方的对资源结算协议的授权;Receive the authorization of the second party to the resource settlement agreement; 确定所述任务;Determine the task; 获取所述第二方提供的待分配资源,并形成为所述第二方的资源池。Obtain the to-be-allocated resource provided by the second party and form it as a resource pool of the second party. 根据权利要求4所述的方法,其中,在所述第一方的资源池中提取第一资源的步骤之后,还包括:The method according to claim 4, wherein after the step of extracting the first resource from the resource pool of the first party, the method further comprises: 从所述第二方的资源池中提取所述预定资源。Extract the predetermined resource from the resource pool of the second party. 根据权利要求5所述的方法,其中,从所述第一方的资源池中提取第二资源的步骤之后,还包括:The method according to claim 5, wherein after the step of extracting the second resource from the resource pool of the first party, the method further comprises: 将所述第二资源返回到所述第二方的资源池;或者Returning the second resource to the resource pool of the second party; or 将所述资源消耗请求应提取的资源的值与所述第一资源的值的差值所对应的资源返回到所述第二方的资源池。Returning the resource corresponding to the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource to the resource pool of the second party. 根据权利要求4所述的方法,其中,所述方法还包括:The method according to claim 4, wherein the method further comprises: 接收第三方的对资源结算协议的授权;Receive a third party’s authorization to the resource settlement agreement; 根据所述第三方的对资源结算协议的授权,生成资源消耗请求码;Generate a resource consumption request code according to the authorization of the third party to the resource settlement agreement; 向所述第三方返回所述资源消耗请求码。Return the resource consumption request code to the third party. 根据权利要求7所述的方法,其中,所述方法还包括:The method according to claim 7, wherein the method further comprises: 接收所述第一方针对所述资源消耗请求码的资源消耗请求码识别信息;Receiving the resource consumption request code identification information of the first party for the resource consumption request code; 响应于所述资源消耗请求码识别信息为针对所述第一方的资源分配请求,则生成资源消耗码,并向所述第一方返回所述资源消耗码;In response to the resource consumption request code identification information being a resource allocation request for the first party, generating a resource consumption code, and returning the resource consumption code to the first party; 接收所述第三方针对所述资源消耗码的资源消耗码识别信息;Receiving the resource consumption code identification information of the third party for the resource consumption code; 响应于所述资源消耗码识别信息为所述针对第一方的资源消耗请求,则在所述第一方的资源池中提取第一资源。In response to the resource consumption code identification information being the resource consumption request for the first party, the first resource is extracted from the resource pool of the first party. 根据权利要求8所述的方法,其中,所述方法还包括:The method according to claim 8, wherein the method further comprises: 将所述资源消耗请求应提取的资源放入所述第三方的资源池中。Put the resources that should be extracted by the resource consumption request into the third-party resource pool. 根据权利要求3所述的方法,其中,所述方法还包括:The method according to claim 3, wherein the method further comprises: 接收针对所述第一方的后续资源消耗请求;Receiving a subsequent resource consumption request for the first party; 响应于所述第一方已完成所述任务,则在所述第一方的资源池中提取第三资源;其中,所述第三资源的值小于所述后续资源消耗请求应提取的资源的值。In response to the completion of the task by the first party, a third resource is extracted from the resource pool of the first party; wherein the value of the third resource is less than the value of the resource that should be extracted in the subsequent resource consumption request value. 根据权利要求1所述的方法,其中,所述任务为定时任务,所述监听所述第一方的操作行为,包括:The method according to claim 1, wherein the task is a timed task, and the monitoring the operation behavior of the first party comprises: 监听所述第一方在预定期间内的操作行为,以确定所述第一方是否在所述预定期间内完成所述定时任务。Monitoring the operation behavior of the first party within a predetermined period to determine whether the first party completes the timing task within the predetermined period. 一种资源结算装置,包括:A resource settlement device includes: 收发单元,用于接收针对第一方的资源消耗请求;The transceiver unit is configured to receive a resource consumption request for the first party; 结算单元,用于根据所述资源消耗请求在所述第一方的资源池中提取第一资源;其中,所述第一资源的值小于所述资源消耗请求应提取的资源的值;A settlement unit, configured to extract a first resource from the resource pool of the first party according to the resource consumption request; wherein the value of the first resource is less than the value of the resource that should be extracted in the resource consumption request; 监听单元,用于为所述第一方分配任务,并监听所述第一方的操作行为;其中,所述操作行为用以确定所述第一方是否完成所述任务;The monitoring unit is configured to assign tasks to the first party and monitor the operation behavior of the first party; wherein the operation behavior is used to determine whether the first party completes the task; 所述结算单元,用于响应于所述第一方未完成所述任务,则额外从所述第一方的资源池中提取第二资源。The settlement unit is configured to additionally extract a second resource from the resource pool of the first party in response to the first party not completing the task. 根据权利要求12所述的装置,其中,所述第二资源的值小于或等于所述资源消耗请求应提取的资源的值与所述第一资源的值之差。The apparatus according to claim 12, wherein the value of the second resource is less than or equal to the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource. 根据权利要求12所述的装置,其中,所述收发单元,用于接收针对所述第一方的资源分配请求;The apparatus according to claim 12, wherein the transceiving unit is configured to receive a resource allocation request for the first party; 所述结算单元,用于根据所述资源分配请求为所述第一方分配预定资源;The settlement unit is configured to allocate a predetermined resource to the first party according to the resource allocation request; 其中,所述预定资源的值为所述资源消耗请求应提取的资源的值与所述第一资源的 值之差。Wherein, the value of the predetermined resource is the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource. 根据权利要求14所述的装置,其中,所述收发单元,用于接收第二方的对资源结算协议的授权;The device according to claim 14, wherein the transceiving unit is configured to receive the authorization of the second party to the resource settlement agreement; 所述监听单元,用于确定所述任务;The monitoring unit is used to determine the task; 所述结算单元,用于获取所述第二方提供的待分配资源,并形成为所述第二方的资源池。The settlement unit is configured to obtain the resource to be allocated provided by the second party and form it as a resource pool of the second party. 根据权利要求15所述的装置,其中,所述结算单元,用于从所述第二方的资源池中提取所述预定资源。The apparatus according to claim 15, wherein the settlement unit is configured to extract the predetermined resource from a resource pool of the second party. 根据权利要求16所述的装置,其中,所述结算单元,用于:The device according to claim 16, wherein the settlement unit is configured to: 将所述第二资源返回到所述第二方的资源池;或者Returning the second resource to the resource pool of the second party; or 将所述资源消耗请求应提取的资源的值与所述第一资源的值的差值所对应的资源返回到所述第二方的资源池。Returning the resource corresponding to the difference between the value of the resource to be extracted by the resource consumption request and the value of the first resource to the resource pool of the second party. 根据权利要求15所述的装置,其中,所述收发单元,用于接收第三方的对资源结算协议的授权;The device according to claim 15, wherein the transceiving unit is configured to receive a third party's authorization to the resource settlement agreement; 所述结算单元,用于根据所述第三方的对资源结算协议的授权,生成资源消耗请求码;The settlement unit is configured to generate a resource consumption request code according to the authorization of the third party to the resource settlement agreement; 所述收发单元,用于向所述第三方返回所述资源消耗请求码。The transceiver unit is configured to return the resource consumption request code to the third party. 根据权利要求18所述的装置,其中,所述收发单元,用于接收所述第一方针对所述资源消耗请求码的资源消耗请求码识别信息;The apparatus according to claim 18, wherein the transceiving unit is configured to receive the resource consumption request code identification information of the first party for the resource consumption request code; 所述结算单元,用于响应于所述资源消耗请求码识别信息为针对所述第一方的资源分配请求,则生成资源消耗码;The settlement unit is configured to generate a resource consumption code in response to the resource consumption request code identification information being a resource allocation request for the first party; 所述收发单元,用于向所述第一方返回所述资源消耗码;以及,接收所述第三方针对所述资源消耗码的资源消耗码识别信息;The transceiving unit is configured to return the resource consumption code to the first party; and receive the resource consumption code identification information of the third party for the resource consumption code; 所述结算单元,用于响应于所述资源消耗码识别信息为所述针对第一方的资源消耗请求,则在所述第一方的资源池中提取第一资源。The settlement unit is configured to extract the first resource from the resource pool of the first party in response to the resource consumption code identification information being the resource consumption request for the first party. 根据权利要求19所述的装置,其中,所述结算单元,用于将所述资源消耗请求应提取的资源放入所述第三方的资源池中。The apparatus according to claim 19, wherein the settlement unit is configured to put the resources that should be extracted by the resource consumption request into the resource pool of the third party. 根据权利要求14所述的装置,其中,所述收发单元,用于接收针对所述第一方的后续资源消耗请求;The apparatus according to claim 14, wherein the transceiving unit is configured to receive a subsequent resource consumption request for the first party; 所述结算单元,用于响应于所述第一方已完成所述任务,则在所述第一方的资源池中提取第三资源;其中,所述第三资源的值小于所述后续资源消耗请求应提取的资源的 值。The settlement unit is configured to extract a third resource from the resource pool of the first party in response to the completion of the task by the first party; wherein the value of the third resource is smaller than the subsequent resource The value of the resource that the consumption request should extract. 根据权利要求12所述的装置,其中,所述任务为定时任务,所述监听单元,用于监听所述第一方在预定期间内的操作行为,以确定所述第一方是否在所述预定期间内完成所述定时任务。The device according to claim 12, wherein the task is a timed task, and the monitoring unit is configured to monitor the operation behavior of the first party within a predetermined period to determine whether the first party is in the The timing task is completed within the predetermined period. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求1至11中任一项所述的方法。An electronic device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor implements the method according to any one of claims 1 to 11 when the processor executes the program . 一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1至11中任一所述方法。A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the method described in any one of claims 1 to 11.
PCT/CN2020/124133 2019-12-20 2020-10-27 Resource settlement method and apparatus, electronic device and storage medium Ceased WO2021120868A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911330388.0 2019-12-20
CN201911330388.0A CN111031140A (en) 2019-12-20 2019-12-20 Resource settlement method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021120868A1 true WO2021120868A1 (en) 2021-06-24

Family

ID=70212419

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124133 Ceased WO2021120868A1 (en) 2019-12-20 2020-10-27 Resource settlement method and apparatus, electronic device and storage medium

Country Status (3)

Country Link
CN (1) CN111031140A (en)
TW (1) TWI749554B (en)
WO (1) WO2021120868A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031140A (en) * 2019-12-20 2020-04-17 支付宝(杭州)信息技术有限公司 Resource settlement method and device, electronic equipment and storage medium
CN112184469B (en) * 2020-10-23 2023-07-11 腾讯科技(深圳)有限公司 Group interaction method, device, equipment and storage medium
CN113961360A (en) * 2021-11-10 2022-01-21 中国科学院计算机网络信息中心 Cloud resource settlement method and system
CN115016768A (en) * 2022-06-20 2022-09-06 鼎捷软件股份有限公司 System for automatically checking financial affairs and method for automatically checking financial affairs

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009105300A1 (en) * 2008-02-22 2009-08-27 Microsoft Corporation Tracking online advertising using payment services
CN104112214A (en) * 2013-04-22 2014-10-22 王臻浩 Apparatus and method for trading advertisements
US20180033062A1 (en) * 2013-09-23 2018-02-01 Thomas Jason Taylor Purchase including push transmission from purchaser to future purchaser
CN107730300A (en) * 2017-09-04 2018-02-23 天脉聚源(北京)科技有限公司 Platform returns the processing method and processing device of existing information
CN109636406A (en) * 2018-10-17 2019-04-16 阿里巴巴集团控股有限公司 Resource settlement method and device and electronic equipment
CN111031140A (en) * 2019-12-20 2020-04-17 支付宝(杭州)信息技术有限公司 Resource settlement method and device, electronic equipment and storage medium

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090055831A1 (en) * 2007-08-24 2009-02-26 Bauman Ellen M Allocating Network Adapter Resources Among Logical Partitions
US8265019B2 (en) * 2007-11-05 2012-09-11 Qualcomm Incorporated Scheduling a mix of best effort (BE) and delay QoS flows
TW201115458A (en) * 2009-10-29 2011-05-01 Ralink Technology Corp Buffer space allocation method and related packet switch
TWI448180B (en) * 2010-02-09 2014-08-01 Ind Tech Res Inst Apparatus and method for resource allocation in wireless communications
CN105988872B (en) * 2015-02-03 2020-02-18 阿里巴巴集团控股有限公司 Method and device for CPU resource allocation and electronic equipment
KR101712068B1 (en) * 2015-07-23 2017-03-06 주식회사 카카오 System and method for providing reward based on viral marketing method
CN107967173A (en) * 2016-10-20 2018-04-27 阿里巴巴集团控股有限公司 A kind of methods, devices and systems of scheduling of resource
CN110786058B (en) * 2017-08-18 2024-09-06 Oppo广东移动通信有限公司 Method for scheduling resources, terminal equipment and network equipment
TWI703887B (en) * 2017-08-30 2020-09-01 鴻海精密工業股份有限公司 Methods and related devices for resource allocation
EP4598210A3 (en) * 2017-09-28 2025-10-29 Nokia Technologies Oy Method, apparatus, computer program product and computer program
WO2019084734A1 (en) * 2017-10-30 2019-05-09 Oppo广东移动通信有限公司 Resource allocation method, network device and terminal device
CN109754271A (en) * 2017-11-03 2019-05-14 许圆圆 A kind of product promotion method and system
CN108280683B (en) * 2018-01-18 2022-04-22 百度在线网络技术(北京)有限公司 Coupon issuing method and device based on advertisement putting platform
WO2019191936A1 (en) * 2018-04-04 2019-10-10 Oppo广东移动通信有限公司 Resource allocation method and device, and computer storage medium
CN108711068A (en) * 2018-04-20 2018-10-26 杭州量聚网络科技有限公司 A kind of online free trial system of commodity
CN110148012B (en) * 2019-04-15 2024-08-13 中国平安人寿保险股份有限公司 User motivation method, device, computer equipment and storage medium
CN110232599A (en) * 2019-06-18 2019-09-13 深圳市元征科技股份有限公司 A kind of task mining rights method, apparatus, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009105300A1 (en) * 2008-02-22 2009-08-27 Microsoft Corporation Tracking online advertising using payment services
CN104112214A (en) * 2013-04-22 2014-10-22 王臻浩 Apparatus and method for trading advertisements
US20180033062A1 (en) * 2013-09-23 2018-02-01 Thomas Jason Taylor Purchase including push transmission from purchaser to future purchaser
CN107730300A (en) * 2017-09-04 2018-02-23 天脉聚源(北京)科技有限公司 Platform returns the processing method and processing device of existing information
CN109636406A (en) * 2018-10-17 2019-04-16 阿里巴巴集团控股有限公司 Resource settlement method and device and electronic equipment
CN111031140A (en) * 2019-12-20 2020-04-17 支付宝(杭州)信息技术有限公司 Resource settlement method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
TW202125218A (en) 2021-07-01
TWI749554B (en) 2021-12-11
CN111031140A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN110570282B (en) Cross-region resource transfer method, device, equipment and storage medium
WO2021120868A1 (en) Resource settlement method and apparatus, electronic device and storage medium
US9461998B2 (en) Techniques for call-based user verification
US10417620B2 (en) User attribute value transfer method and terminal
EP3232391A1 (en) Electronic device and payment method using the same
US10977648B2 (en) Transaction confirmation based on user attributes
CN107016420A (en) A business processing method and device
CN104933568A (en) Payment authentication method and device
CN104717131B (en) Information interacting method and server
US12470419B2 (en) Interaction method and apparatus, and electronic device
CN109714241A (en) The task processing method of group and the Task Processing Unit of group
CN107833037A (en) A kind of method that business by stages is realized based on credit
CN104616142B (en) Data transfer method, server, mobile terminal and system
CN114611716A (en) Federated learning system construction method, device, electronic device and readable storage medium
CN112686528A (en) Method, apparatus, server and medium for allocating customer service resources
CN105809466A (en) Request transmission method and device thereof
US20170372313A1 (en) Electronic device and system for payment
CN111476562A (en) A virtual resource transfer method, apparatus, electronic device and storage medium
CN111553700A (en) Payment risk identification method and device
CN113438614B (en) Flow package obtaining method and device, terminal and storage medium
CN113543115B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN107528822A (en) A business execution method and device
CN108156206B (en) Data transfer method, server, client and system
WO2020082833A1 (en) Transfer method and apparatus, and device
CN117611171A (en) Data transfer processing methods, devices, storage media and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20903771

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20903771

Country of ref document: EP

Kind code of ref document: A1