TW202125218A - Resource settlement method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
TW202125218A
TW202125218A TW109116049A TW109116049A TW202125218A TW 202125218 A TW202125218 A TW 202125218A TW 109116049 A TW109116049 A TW 109116049A TW 109116049 A TW109116049 A TW 109116049A TW 202125218 A TW202125218 A TW 202125218A
Authority
TW
Taiwan
Prior art keywords
resource
party
value
task
consumption request
Prior art date
Application number
TW109116049A
Other languages
Chinese (zh)
Other versions
TWI749554B (en
Inventor
李坤
吉亞霖
Original Assignee
大陸商支付寶(杭州)信息技術有限公司
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 大陸商支付寶(杭州)信息技術有限公司 filed Critical 大陸商支付寶(杭州)信息技術有限公司
Publication of TW202125218A publication Critical patent/TW202125218A/en
Application granted granted Critical
Publication of TWI749554B publication Critical patent/TWI749554B/en

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; CALCULATING OR 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; CALCULATING OR 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

Landscapes

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

Abstract

The invention provides a resource settlement method and device. The method comprises the following steps: receiving a resource consumption request for a first party, and extracting a first resource smaller than a value of a resource to be extracted by the resource consumption request from a resource pool of the first party; monitoring the operation behavior of the first party to determine whether the first party completes the task or not: if the first party does not complete the task, additionally extracting the second resource from the resource pool of the first party, thereby facilitating the improvement of transaction completion efficiency between participants, and improving the resource utilization rate.

Description

資源結算方法及裝置、電子設備、儲存媒體Resource settlement method and device, electronic equipment, storage medium

本發明關於資料處理技術領域,尤其關於一種資源結算方法及裝置、電子設備、儲存媒體。The present invention relates to the field of data processing technology, in particular to a resource settlement method and device, electronic equipment, and storage media.

現有的資源結算通常是一種等價交換,不利於提高資源交換的重複率。因此,需要提出一種能夠有效完成資源結算的方案。The existing 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.

有鑑於此,本發明實施例的目的之一在於,提出一種資源結算方法及裝置、電子設備、儲存媒體,以解決上述的問題。 基於上述目的,本說明書的第一態樣,提供了一種資源結算方法,包括: 接收針對第一方的資源消耗請求; 根據所述資源消耗請求在所述第一方的資源池中提取第一資源;其中,所述第一資源的值小於所述資源消耗請求應提取的資源的值; 為所述第一方分配任務,並監聽所述第一方的操作行為;其中,所述操作行為用以確定所述第一方是否完成所述任務; 回應於所述第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源。 本說明書的第二態樣,提供了一種資源結算裝置,包括: 收發單元,用於接收針對第一方的資源消耗請求; 結算單元,用於根據所述資源消耗請求在所述第一方的資源池中提取第一資源;其中,所述第一資源的值小於所述資源消耗請求應提取的資源的值; 監聽單元,用於為所述第一方分配任務,並監聽所述第一方的操作行為;其中,所述操作行為用以確定所述第一方是否完成所述任務; 所述結算單元,用於回應於所述第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源。 本說明書的第三態樣,提供了一種電子設備,包括記憶體、處理器及儲存在記憶體上並可在處理器上運行的計算機程式,所述處理器執行所述程式時實現所述的方法。 本說明書的第四態樣,提供了一種非暫態計算機可讀儲存媒體,所述非暫態計算機可讀儲存媒體儲存計算機指令,所述計算機指令用於使所述計算機執行所述方法。 從上面所述可以看出,本說明書提供的資源結算方法及裝置、電子設備、儲存媒體,透過接收針對第一方的資源消耗請求並據此從第一方的資源池中提取小於所述資源消耗請求應提取的資源的值的第一資源,再接著監聽第一方的操作行為以確定其是否完成任務,若第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源;這樣,在使所述第一方以低於應提取資源值的第一資源進行消耗的前提下,能夠促使所述第一方去完成某項任務,進而有利於提升參與方之間事務完成效率,同時提高資源利用率。In view of this, one of the objectives of the embodiments of the present invention is to provide a resource settlement method and device, electronic equipment, and storage medium to solve the above-mentioned problems. Based on the above objectives, the first aspect of this specification provides 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 failure of the first party to complete the task, a second resource is additionally extracted from the resource pool of the first party. The second aspect of this specification provides a resource settlement device, including: 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 failure of the first party to complete the task. The third aspect of this specification provides an electronic device including a memory, a processor, and a computer program stored on the memory and running on the processor. The processor executes the program when the program is executed. method. The fourth aspect of the present specification provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to 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.

為使本發明的目的、技術方案和優點更加清楚明白,以下結合具體實施例,並參照圖式,對本發明進一步詳細說明。 需要說明的是,除非另外定義,本說明書使用的技術術語或者科學術語應當為本公開所屬領域內具有一般技能的人士所理解的通常意義。本公開中使用的“第一”、“第二”以及類似的詞語並不表示任何順序、數量或者重要性,而只是用來區分不同的組成部分。“包括”或者“包含”等類似的詞語意指出現該詞前面的元件或者物件涵蓋出現在該詞後面列舉的元件或者物件及其等同,而不排除其他元件或者物件。“連接”或者“相連”等類似的詞語並非限定於物理的或者機械的連接,而是可以包括電性的連接,不管是直接的還是間接的。“上”、“下”、“左”、“右”等僅用於表示相對位置關係,當被描述對象的絕對位置改變後,則該相對位置關係也可能相應地改變。 圖1示出了本說明書披露的一個實施例的實施場景示意圖。 如圖1所示,在一個資源結算系統中,可以有資源結算裝置,以及參與資源結算的第一方、第二方、第三方,甚至更多參與方。 所述第二方,可以預先與所述資源結算裝置達成資源結算協議,並據此向所述資源結算裝置授權,然後,所述第二方可以向所述資源結算裝置提供待分配資源(以形成為所述第二方的資源池),供所述資源結算裝置在滿足條件時提取所述待分配資源並向相應的第一方進行分配,同時,所述第二方可以制定相應的任務,或者,所述第二方可以與所述資源結算裝置或其他參與方共同完成任務制定。所述任務,在所述資源結算裝置根據所述資源消耗請求在所述第一方的資源池中提取第一資源後,為所述第一方開啟;根據所述第一方完成所述任務的情況,所述資源結算裝置確定是否需要再額外從所述第一方的資源池中提取第二資源。所述第二資源的值可以是小於或等於所述資源消耗請求應提取的資源的值與所述第一資源的值之差。 所述第一方,在需要與所述第三方進行資源交換時,可以選擇是否與所述資源結算裝置達成資源結算協議,或者,所述第一方也可以預先與所述資源結算裝置達成資源結算協議。在達成資源結算協議後,所述第一方可以發起資源消耗請求,所述資源結算裝置根據所述資源消耗請求,在所述第一方的資源池中提取第一資源;其中,所述第一資源的值小於所述資源消耗請求應提取的資源的值。可選地,在所述第一方的資源池中提取第一資源的步驟之後,所述資源結算裝置從所述第二方的資源池中提取預定資源,所述預定資源的值為所述資源消耗請求應提取的資源的值與所述第一資源的值之差。 所述第三方,可以是在需要與所述第一方進行資源交換時,選擇是否與所述資源結算裝置達成資源結算協議,或者,所述第三方也可以預先與所述資源結算裝置達成資源結算協議。所述第一方發起資源消耗請求,所述資源結算裝置還可以根據所述資源消耗請求,將所述資源消耗請求應提取的資源放入所述第三方的資源池中。 可選地,所述第三方在與所述資源結算裝置達成資源結算協議後,所述資源結算裝置還可以根據所述第三方的對資源結算協議的授權,產生資源消耗請求碼,並向所述第三方返回所述資源消耗請求碼。當與所述第一方進行資源交換時,所述第三方可以向所述第一方出示資源消耗請求碼,所述資源消耗請求碼的形式可以是條形碼或二維碼,所述第一方可以利用自己的智慧型設備透過掃描所述資源消耗請求碼而向所述資源結算裝置發起資源消耗請求,或者,所述資源消耗請求碼還可以是一串驗證碼,所述第一方可以利用自己的智慧型設備透過輸入並發送所述資源消耗請求碼的方式而向所述資源結算裝置發起資源消耗請求,等等。 可選地,回應於所述資源消耗請求碼識別資訊為所述資源消耗請求,所述資源結算裝置還可以產生資源消耗碼並向所述第一方返回所述資源消耗碼。當與所述第三方進行資源交換時,所述第一方可以向所述第三方出示資源消耗碼,所述資源消耗碼的形式可以是條形碼或二維碼,所述第三方可以利用自己的智慧型設備透過掃描所述資源消耗碼而向所述資源結算裝置發起資源消耗請求,或者,所述資源消耗碼還可以是一串驗證碼,所述第三方可以利用自己的智慧型設備透過輸入並發送所述資源消耗碼的方式而向所述資源結算裝置發起資源消耗請求,等等。 可選地,若所述第一方未完成所述任務,所述資源結算裝置還可以額外從所述第一方的資源池中提取第二資源;然後,將所述第二資源返回到所述第二方的資源池;或者,將所述資源消耗請求應提取的資源的值與所述第一資源的值的差值所對應的資源返回到所述第二方的資源池。 可選地,判斷所述第一方未完成所述任務,可以透過監聽所述第一方的操作行為是否符合任務的要求來進行。 可選地,所述任務可以是定時任務,所述監聽所述第一方的操作行為,包括:監聽所述第一方在預定期間的操作行為,以確定所述第一方是否在所述預定期間完成所述定時任務。 可選地,所述第一方、第二方和第三方都可以是具有能夠進行資料交互的設備,這樣的設備可以是,例如,手機、平板電腦、個人電腦、筆記型電腦、個人數位助理(PDA)、可穿戴設備(如智慧型眼鏡、智慧型手錶)等等。所述資源結算裝置在實現時可以是伺服器端的形式。 在一些場景下,所述第一方、第二方和第三方的設備中可以是安裝有用於與所述資源結算裝置進行資料交互的軟體的,或者,所述第一方、第二方和第三方的設備可以是利用web端實現與所述資源結算裝置的資料交互。這樣,所述第一方、第二方和第三方才能接受來自所述資源結算裝置的交互資訊,並且所述第一方、第二方和第三方可將相應的交互資訊發送至所述資源結算裝置。 需要說明的是,前述實施例,將所述第二方與第三方進行了區分,但實際上,所述第二方與所述第三方的區分可以僅僅是功能上的,例如第二方是向資源結算裝置提供待分配資源的,所述第三方則是與第一方進行資源交換的。可以知道的是,所述第二方和第三方各自的功能其實是可以合併為一方主體的功能的,例如,既可以提供待分配資源,又可以與第一方進行資源交換。換言之,所述第二方和第三方,既可以同一主體,也可以是不同主體,這可以根據實際需求來進行區分,而不做特定限制。 可選地,所述第一方可以是終端使用者,所述第二方和第三方可以是商戶。 圖2示出了本說明書披露的資源結算方法的一個實施例的流程示意圖。 如圖2所示,所述資源結算方法,包括: 步驟102:接收針對第一方的資源消耗請求。 可選地,所述第一資源消耗請求可以是任意一方發起的。例如,可以是在第一方需要與第三方進行資源交換時,由第一方或第三方發起的。又比如,可以是在第一方需要進行資源交換時主動發起的。 可選地,所述資源消耗請求中可以包括以下資訊:第一方和第三方的身份資訊、第一方與第三方之間的資源交換資訊、第一方簽訂的資源結算協議、第三方簽訂的資源結算協議;其中,第一方簽訂的資源結算協議以及第三方簽訂的資源結算協議能夠用於計算在當前資源交換行為下需要在所述第一方的資源池中提取第一資源的值。 步驟104:根據所述資源消耗請求在所述第一方的資源池中提取第一資源;其中,所述第一資源的值小於所述資源消耗請求應提取的資源的值。 可選地,所述第一資源的值,可以是在所述第二方與所述資源結算裝置達成資源結算協議時,由所述第二方或者由所述資源結算裝置預先設定的。 可選地,所述第一資源的值的計算規則可以是多種多樣的。例如可以指定單次資源交換對應一個預定資源,所述第一資源的值即為所述應提取的資源的值減去所述預定資源的值。比如,若所述資源消耗請求應提取的資源的值為100,則所述第一資源的值可以是所述應提取的資源的值減去一個預定資源的值,這個預定資源的值比如是20,所述第一資源的值就是100-20=80。所述第一資源的值的計算規則也可以按照應提取的資源的值的一定比例確定對應的第一資源的值;例如,若所述資源消耗請求應提取的資源的值為100,則所述第一資源的值可以是所述應提取的資源的值的一定比例,比如90%,那麼,第一資源的值就是90。所述第一資源的值的計算規則還可以是在所述第一方按照要求完成所述任務後,按照一定比例進行浮動(例如在前一次基礎上將比例下降5%,這樣應提取的資源的值為100時第一資源的值就是85)。又比如是,根據所述第一方拉入所述資源結算協議中的其他參與方的數量來確定,例如,所述第一方透過介紹其他參與方加入所述資源結算協議,根據加入人數的多少來設定所述第一資源的值,等等。具體的所述第一資源的值的計算規則可以根據需要進行設定,在此不做特別限制。 本說明書實施例中,所述資源可以包括:與網路應用相關的資源,其中,與網路應用相關的資源可以包括:券、視頻、音頻等,券可以包括:消費抵用券、打折券等等。 步驟106:為所述第一方分配任務,並監聽所述第一方的操作行為;其中,所述操作行為用以確定所述第一方是否完成所述任務。 可選地,為所述第一方分配的所述任務也可以是多種多樣的。例如,所述任務可以是要求所述第一方實施特定的操作行為,比如:與某一特定方(可以是所述第二方或第三方,也可以是其他參與方)進行第二次的資源交換、在某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的網站上註冊為會員、觀看由某一特定方(可以是所述第二方或第三方,也可以是其他參與方)發佈的廣告、瀏覽屬某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的網頁、收聽屬某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的電臺、觀看由某一特定方(可以是所述第二方或第三方,也可以是其他參與方)製作的節目,等等。可選地,所述任務可以是在所述第二方或者所述第三方與所述資源結算裝置達成資源結算協議時而由所述第二方或者所述第三方制定的,用於要求所述第一方在按照第一資源的值從其資源池中提取第一資源後實施特定的操作行為以完成所述任務。 可選地,所述資源結算裝置還可以根據需要向所述第一方推送任務提醒資訊,用以提醒所述第一方及時完成任務。所述提醒資訊的推送方式可以採用簡訊、電話、在應用內彈出消息等方式來實現。 可選地,所述任務可以是定時任務,比如,要求所述第一方在預定期間內去實施特定的操作行為以完成所述任務。所述預定期間可以根據需要設置,例如,一周、一個月、三個月,等等。所述預定期間也可以根據所述任務類型的不同或者完成任務的難度高低來進行設定。具體的設定標準,在這裡不做特別限制。 可選地,當所述任務是定時任務時,所述資源結算裝置還可以根據需要在預定期間截止前向所述第一方推送任務提醒資訊,用以提醒所述第一方及時在預定期間內完成任務。所述提醒資訊的推送方式可以採用簡訊、電話、在應用內彈出消息等方式來實現。 可選地,針對不用的資源交換行為,所述任務都可以是不同的,或者,針對不同的第一方、第二方和/或第三方,所述任務也可以是不同的。並且,制定任務者可以隨時修改、變更所述任務。 可選地,所述監聽的操作,可以是透過採集並分析所述第一方的操作行為來完成的。可選地,若所述第一方的設備中安裝有與所述資源結算有關的軟體,可以透過在所述軟體中埋點的形式自動搜集所述第一方的操作行為。 可選地,所述第一方的操作行為可以是所述第一方的各種操作行為。例如,與某一特定方(可以是所述第二方或第三方,也可以是其他參與方)在某一時間點進行第二次的資源交換、在某一時間點在某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的網站上註冊為會員、在某一時間點觀看了由某一特定方(可以是所述第二方或第三方,也可以是其他參與方)發佈的廣告、在某一時間點瀏覽了屬某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的網頁、在某一時間點收聽了屬某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的電臺、在某一時間點觀看了由某一特定方(可以是所述第二方或第三方,也可以是其他參與方)製作的節目,等等。 可選地,若所述任務為定時任務,所述監聽所述第一方的操作行為,包括:監聽所述第一方在預定期間內的操作行為,以確定所述第一方是否在所述預定期間內完成所述定時任務。 所述預定期間可以根據需要設置,例如,一周、一個月、三個月,等等。所述預定期間也可以根據所述任務類型的不同或者完成任務的難度高低來進行設定。具體的設定標準,在這裡不做特別限制。 步驟108:回應於所述第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源。 例如,所述任務為要求所述第一方在與所述第三方完成資源交換的一個月內與所述第二方進行資源交換,而所述第一方未在該一個月內與所述第二方進行資源交換(例如在該一個月內所述第一方的操作行為中不存在與所述第二方進行資源交換的操作行為),則認定所述操作行為不滿足所述任務的要求,亦即,所述第一方未完成所述任務。 當所述操作行為不滿足所述任務的要求,則不能按照所述第一資源的值從所述第一方的資源池中提取第一資源,於是,所述資源結算裝置則可以額外從所述第一方的資源池中提取第二資源。 可選地,所述第二資源的值小於或等於所述資源消耗請求應提取的資源的值與所述第一資源的值之差。 可選地,所述資源結算方法,還可包括步驟110:回應於所述第一方未完成所述任務,則資源結算完成,對於當前次的資源交換行為,不再會出現額外提取所述第二資源的情況。 從上述實施例可以看出,本說明書提供的資源結算方法,透過接收針對第一方的資源消耗請求並據此從第一方的資源池中提取小於所述資源消耗請求應提取的資源的值的第一資源,再接著監聽第一方的操作行為以確定其是否完成任務,若第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源;這樣,在使所述第一方以低於應提取資源值的第一資源進行消耗的前提下,能夠促使所述第一方去完成某項任務,進而有利於提升參與方之間事務完成效率,同時提高資源利用率。 圖3示出了本說明書披露的資源結算方法的另一個實施例的流程示意圖。 如圖3所示,所述資源結算方法,包括: 步驟202:接收第二方的對資源結算協議的授權。 所述第二方,可以預先與所述資源結算裝置達成資源結算協議,並據此向所述資源結算裝置授權。 步驟204:確定任務。 可選地,所述任務可以是所述第二方制定的,也可以是所述第二方與所述資源結算裝置或所述第三方協商確定的,也可以是所述第二方、所述資源結算裝置以及所述第三方共同確定的。具體的任務制定方式和任務的內容都是根據需要進行設置的。 所述任務也可以是多種多樣的。例如,所述任務可以是要求所述第一方實施特定的操作行為,比如:與某一特定方(可以是所述第二方或第三方,也可以是其他參與方)進行第二次的資源交換、在某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的網站上註冊為會員、觀看由某一特定方(可以是所述第二方或第三方,也可以是其他參與方)發佈的廣告、瀏覽屬某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的網頁、收聽屬某一特定方(可以是所述第二方或第三方,也可以是其他參與方)的電臺、觀看由某一特定方(可以是所述第二方或第三方,也可以是其他參與方)製作的節目,等等。 本步驟中,制定任務的主體可以是第二方,這是基於所述第二方是提供待分配資源的一方的考慮。實際上,可以知道,雖然第二方是提供待分配資源的一方,但該制定任務的主體也可以不是所述第二方,而可以是所述資源結算裝置,或者可以是所述第二方授權制定任務的主體,等等。 步驟206:獲取所述第二方提供的待分配資源,並形成為所述第二方的資源池,以供所述資源結算裝置在滿足條件時向相應的第一方進行分配。 步驟208:接收針對所述第一方的資源分配請求。 可選地,所述針對所述第一方的資源分配請求可以是任意一方發起的。例如,可以是在第一方需要與第三方進行資源交換時,由第一方或第三方發起的。又比如,可以是在第一方需要進行資源交換時主動發起的。 步驟210:根據所述資源分配請求為所述第一方分配預定資源。 步驟212:接收針對第一方的資源消耗請求。 可選地,所述針對第一方的資源消耗請求對應於所述第一方與所述第三方進行的資源交換行為,發起方既可以是第一方也可以是第三方。 步驟214:從所述第二方的資源池中提取所述預定資源。 這裡,當滿足條件時,從第二資源池中將相應的預定資源提取出來,提取得到的預定資源用以向第一方進行分配。 步驟216:根據所述資源消耗請求在所述第一方的資源池中提取第一資源;其中,所述第一資源的值小於所述資源消耗請求應提取的資源的值。 可選地,所述資源消耗請求應提取的資源的值是當前所述第一方與第三方進行資源交換時的資源交換總量,所述預定資源的值為所述資源消耗請求應提取的資源的值與所述第一資源的值之差,所述第一資源的值則為所述第一方應當從自己的資源池中交換給所述第三方的資源的值。 步驟218:將所述資源消耗請求應提取的資源放入所述第三方的資源池中。 這裡,所述第三方所獲得的所述資源消耗請求應提取的資源,為所述第一方實際交換的所述第一資源以及所述第二方所提供的預定資源的集合。 步驟220:為所述第一方分配任務,並監聽所述第一方的操作行為;其中,所述操作行為用以確定所述第一方是否完成所述任務。 步驟222:回應於所述第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源。 這裡,因為第一方未按要求完成所述任務,則所述資源結算裝置需要額外再從所述第一方的資源池中提取第二資源。這裡,所述第二資源的值可以是小於或等於所述資源消耗請求應提取的資源的值與所述第一資源的值的差值。 步驟224:將所述第二資源返回到所述第二方的資源池;或者,將所述資源消耗請求應提取的資源的值與所述第一資源的值的差值所對應的資源返回到所述第二方的資源池。 這裡,因為第一方未按要求完成所述任務而從其資源池提取的第二資源可以直接返回到所述第二方的資源池,從而補償第二方一開始提供的預定資源。可選地,也可以是將所述資源消耗請求應提取的資源的值與所述第一資源的值的差值所對應的資源返回到所述第二方的資源池,這個情況中,所述資源消耗請求應提取的資源的值與所述第一資源的值的差值不等於所述第二資源的值。換言之,返回給第二方的資源的值,可以是填平所述第二方原先提供的預定資源,也可以是補償一定的資源。 步驟226:回應於所述操作行為滿足所述任務的要求,則資源結算完成。 從上述實施例可以看出,本說明書提供的資源結算方法,透過接收針對第一方的資源消耗請求並據此從第一方的資源池中提取小於所述資源消耗請求應提取的資源的值的第一資源,再接著監聽第一方的操作行為以確定其是否完成任務,若第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源;這樣,在使所述第一方以低於應提取資源值的第一資源進行消耗的前提下,能夠促使所述第一方去完成某項任務,進而有利於提升參與方之間事務完成效率,同時提高資源利用率。 作為一個可選實施例,所述方法還包括: 接收第三方的對資源結算協議的授權; 根據所述第三方的對資源結算協議的授權,產生資源消耗請求碼; 向所述第三方返回所述資源消耗請求碼。 可選地,所述方法還包括: 接收所述第一方針對所述資源消耗請求碼的資源消耗請求碼識別資訊; 回應於所述資源消耗請求碼識別資訊為所述針對所述第一方的資源分配請求,則產生資源消耗碼,並向所述第一方返回所述資源消耗碼; 接收所述第三方針對所述資源消耗碼的資源消耗碼識別資訊; 回應於所述資源分配碼識別資訊為針對所述第一方的資源消耗請求,則在所述第一方的資源池中提取第一資源。 這樣,第一方和第三方在進行資源交換時,可以透過掃碼或者輸入識別碼的方式來完成資源交換過程中的資訊交互,能夠方便使用,提高效率。 作為一個可選實施例,在所述資源分配完成的步驟110/步驟226之後,所述方法還包括: 接收針對所述第一方的後續資源消耗請求; 回應於所述第一方已完成所述任務,則在所述第一方的資源池中提取第三資源;其中,所述第三資源的值小於所述後續資源消耗請求應提取的資源的值; 回應於所述操作行為不滿足所述任務的要求,則返回拒絕所述後續資源消耗請求的消息,透過這種拒絕二次分配的方式,督促第一方在達成資源結算協議後依約完成相應的任務。 可選地,這裡,因為所述操作行為滿足了所述任務的要求,可以選擇直接在所述第一方的資源池中提取第三資源而不再要求第一方執行新任務,從而提高第一方完成任務的積極性。當然,也可以選擇繼續設置新的任務。具體設置方式可根據需要進行選擇,在此不再特別限制。 可選地,接收針對所述第一方的後續資源消耗請求的步驟之前,還可包括: 接收針對所述第一方的後續資源分配請求;這裡,所述針對所述第一方的後續資源分配請求是在針對所述第一方的資源分配請求之後,所述第一方進行第二次資源交換時發起的;這裡第二次資源交換的對象可以是第三方,也可是另外的參與方或者第二方; 回應於所述操作行為滿足所述任務的要求,則根據所述後續資源分配請求為所述第一方分配新的預定資源;所述新的預定資源可以與所述預定資源的值相等,也可以根據任務完成情況上浮,具體設置方式根據需要進行選擇。 需要說明的是,本說明書實施例的方法可以由單個設備執行,例如一台計算機或伺服器等。本實施例的方法也可以應用於分布式場景下,由多台設備相互配合來完成。在這種分布式場景的情況下,這多台設備中的一台設備可以只執行本說明書實施例的方法中的某一個或多個步驟,這多台設備相互之間會進行交互以完成所述的方法。 可選地,在一個實施例中,本方法在伺服器上執行。伺服器是指網路中能對其它設備提供服務的計算機系統。伺服器服務的對象通常稱為終端或客戶端,伺服器與終端之間可以透過有線或者無線的方式通訊連接。伺服器的實現方式是多種多樣的,可以是單台的計算機設備,也可以是多台計算機設備的組合(例如集群伺服器,雲伺服器等)。伺服器在一些應用場景中也可以被稱為伺服端,雲端等。在另一個實施例中,本方法也可以在單台計算機(例如工作站)上執行。 圖4示出了本說明書披露的資源結算裝置的一個實施例的方塊圖結構示意圖。 如圖4所示,所述資源結算裝置,包括: 收發單元301,用於接收針對第一方的資源消耗請求; 結算單元302,用於根據所述資源消耗請求在所述第一方的資源池中提取第一資源;其中,所述第一資源的值小於所述資源消耗請求應提取的資源的值; 監聽單元303,用於為所述第一方分配任務,並監聽所述第一方的操作行為;其中,所述操作行為用以確定所述第一方是否完成所述任務; 所述結算單元302,用於回應於所述第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源。 從上述實施例可以看出,本說明書提供的資源結算裝置,透過接收針對第一方的資源消耗請求並據此從第一方的資源池中提取小於所述資源消耗請求應提取的資源的值的第一資源,再接著監聽第一方的操作行為以確定其是否完成任務,若第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源;這樣,在使所述第一方以低於應提取資源值的第一資源進行消耗的前提下,能夠促使所述第一方去完成某項任務,進而有利於提升參與方之間事務完成效率,同時提高資源利用率。 可選地,所述第二資源的值小於或等於所述資源消耗請求應提取的資源的值與所述第一資源的值之差。 可選地,所述收發單元301,用於接收針對所述第一方的資源分配請求; 所述結算單元302,用於根據所述資源分配請求為所述第一方分配預定資源; 其中,所述預定資源的值為所述資源消耗請求應提取的資源的值與所述第一資源的值之差。 可選地,所述收發單元301,用於接收第二方的對資源結算協議的授權; 所述監聽單元303,用於確定所述任務; 所述結算單元302,用於獲取所述第二方提供的待分配資源,並形成為所述第二方的資源池。 可選地,所述結算單元302,用於從所述第二方的資源池中提取所述預定資源。 可選地,所述結算單元302,用於: 將所述第二資源返回到所述第二方的資源池;或者 將所述資源消耗請求應提取的資源的值與所述第一資源的值的差值所對應的資源返回到所述第二方的資源池。 可選地,所述收發單元301,用於接收第三方的對資源結算協議的授權; 所述結算單元302,用於根據所述第三方的對資源結算協議的授權,產生資源消耗請求碼; 所述收發單元301,用於向所述第三方返回所述資源消耗請求碼。 可選地,所述收發單元301,用於接收所述第一方針對所述資源消耗請求碼的資源消耗請求碼識別資訊; 所述結算單元302,用於回應於所述資源消耗請求碼識別資訊為針對所述第一方的資源分配請求,則產生資源消耗碼; 所述收發單元301,用於向所述第一方返回所述資源消耗碼;以及,接收所述第三方針對所述資源消耗碼的資源消耗碼識別資訊; 所述結算單元302,用於回應於所述資源消耗碼識別資訊為所述針對第一方的資源消耗請求,則在所述第一方的資源池中提取第一資源。 可選地,所述結算單元302,用於將所述資源消耗請求應提取的資源放入所述第三方的資源池中。 可選地,所述收發單元301,用於接收針對所述第一方的後續資源消耗請求; 所述結算單元302,用於回應於所述第一方已完成所述任務,則在所述第一方的資源池中提取第三資源;其中,所述第三資源的值小於所述後續資源消耗請求應提取的資源的值。 可選地,所述任務為定時任務,所述監聽單元303,用於監聽所述第一方在預定期間內的操作行為,以確定所述第一方是否在所述預定期間內完成所述定時任務。 上述實施例的裝置用於實現前述實施例中相應的方法,並且具有相應的方法實施例的有益效果,在此不再贅述。 圖5示出了本實施例所提供的一種更為具體的電子設備硬體結構示意圖,該設備可以包括:處理器401、記憶體402、輸入/輸出介面403、通訊介面404和匯流排405。其中處理器401、記憶體402、輸入/輸出介面403和通訊介面404透過匯流排405實現彼此之間在設備內部的通訊連接。 處理器401可以採用通用的CPU(Central Processing Unit,中央處理器)、微處理器、應用專用積體電路(Application Specific Integrated Circuit,ASIC)、或者一個或多個積體電路等方式實現,用於執行相關程式,以實現本說明書實施例所提供的技術方案。 記憶體402可以採用ROM(Read Only Memory,唯讀記憶體)、RAM(Random Access Memory,隨機存取記憶體)、靜態儲存設備,動態儲存設備等形式實現。記憶體402可以儲存操作系統和其他應用程式,在透過軟體或者韌體來實現本說明書實施例所提供的技術方案時,相關的程式代碼保存在記憶體402中,並由處理器401來調用執行。 輸入/輸出介面403用於連接輸入/輸出模組,以實現資訊輸入及輸出。輸入輸出/ 模組可以作為組件配置在設備中(圖中未示出),也可以外接於設備以提供相應功能。其中輸入設備可以包括鍵盤、滑鼠、觸摸螢幕、麥克風、各類感測器等,輸出設備可以包括顯示器、揚聲器、振動器、指示燈等。 通訊介面404用於連接通訊模組(圖中未示出),以實現本設備與其他設備的通訊交互。其中通訊模組可以透過有線方式(例如USB、網線等)實現通訊,也可以透過無線方式(例如行動網路、WIFI、藍牙等)實現通訊。 匯流排405包括一通路,在設備的各個組件(例如處理器401、記憶體402、輸入/輸出介面403和通訊介面404)之間傳輸資訊。 需要說明的是,儘管上述設備僅示出了處理器401、記憶體402、輸入/輸出介面403、通訊介面404以及匯流排405,但是在具體實施過程中,該設備還可以包括實現正常運行所必需的其他組件。此外,本領域的技術人員可以理解的是,上述設備中也可以僅包含實現本說明書實施例方案所必需的組件,而不必包含圖中所示的全部組件。 本實施例的計算機可讀媒體包括永久性和非永久性、可行動和非可行動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是計算機可讀指令、資料結構、程式的模組或其他資料。計算機的儲存媒體的例子包括,但不限於相變內部記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式化唯讀記憶體(EEPROM)、快閃記憶體或其他內部記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁碟儲存或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備存取的資訊。 上述對本說明書特定實施例進行了描述。其他實施例在所附申請專利範圍的範圍內。在一些情況下,在權利要求書中記載的動作或步驟可以按照不同於實施例中的順序來執行並且仍然可以實現期望的結果。另外,在圖式中描繪的過程不一定要求示出的特定順序或者連續順序才能實現期望的結果。 在某些實施方式中,多任務處理和並行處理也是可以的或者可能是有利的。 所屬領域的普通技術人員應當理解:以上任何實施例的討論僅為示例性的,並非旨在暗示本公開的範圍(包括權利要求)被限於這些例子;在本說明書的思路下,以上實施例或者不同實施例中的技術特徵之間也可以進行組合,步驟可以以任意順序實現,並存在如上所述的本說明書的不同態樣的許多其它變化,為了簡明它們沒有在細節中提供。 另外,為簡化說明和討論,並且為了不會使本說明書難以理解,在所提供的圖式中可以示出或可以不示出與積體電路(IC)晶片和其它部件的公知的電源/接地連接。此外,可以以方塊圖的形式示出裝置,以便避免使本說明書難以理解,並且這也考慮了以下事實,即關於這些框圖裝置的實施方式的細節是高度取決於將要實施本說明書的平台的(即,這些細節應當完全處於本領域技術人員的理解範圍內)。在闡述了具體細節(例如,電路)以描述本說明書的示例性實施例的情況下,對本領域技術人員來說顯而易見的是,可以在沒有這些具體細節的情況下或者這些具體細節有變化的情況下實施本說明書。因此,這些描述應被認為是說明性的而不是限制性的。 儘管已經結合了本說明書的具體實施例對本說明書進行了描述,但是根據前面的描述,這些實施例的很多替換、修改和變型對本領域普通技術人員來說將是顯而易見的。例如,其它記憶體架構(例如,動態RAM(DRAM))可以使用所討論的實施例。 本說明書的實施例旨在涵蓋落入所附權利要求的寬泛範圍之內的所有這樣的替換、修改和變型。因此,凡在本說明書的精神和原則之內,所做的任何省略、修改、等同替換、改進等,均應包含在本說明書的保護範圍之內。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the 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. Fig. 1 shows a schematic diagram of an implementation scenario of an embodiment disclosed in this specification. 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 third party’s authorization to 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 smart device 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 device 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 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 can 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. 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 personal digital assistants. (PDA), wearable devices (such as smart glasses, smart watches), etc. The resource settlement device may be in the form of a server when implemented. In some scenarios, the equipment of the first, second, and third parties may be installed with software for data interaction with the resource settlement device, or the first, second, and 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. Fig. 2 shows a schematic flowchart of an embodiment of the resource settlement method disclosed in this specification. As shown in Figure 2, the resource settlement method includes: 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 . 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. 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 for 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 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 has pulled 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 and many more. 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 or third party) Three parties, or other participants) publish advertisements, browse web pages belonging to a specific party (the second party or third party, or other participants), listen to a specific party (may 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 has reached a resource settlement agreement with the resource settlement device for requesting 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 a 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), 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. Step 108: In response to the first party not completing the task, additionally extract a second resource from the first party's resource pool. 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. 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 The second resource situation. It can be seen from the above-mentioned embodiments 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. Fig. 3 shows a schematic flowchart of another embodiment of the resource settlement method disclosed in this specification. As shown in Figure 3, the resource settlement method includes: 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. 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 or third party) Three parties, or other participants) publish advertisements, browse web pages belonging to a specific party (the second party or third party, or other participants), listen to a specific party (may 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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-mentioned embodiments 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: 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. Optionally, the method further includes: Receiving the resource consumption request code identification information of the first party for the resource consumption request code; Responding that the resource consumption request code identification information is the 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 that the resource allocation code identification information is for the resource consumption request of 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 is convenient for use and improves efficiency. As an optional embodiment, after step 110/step 226 of the resource allocation is completed, the method further includes: 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; In response to the operation behavior that does not meet the requirements of the task, a message that rejects the subsequent resource consumption request is returned. Through this method of rejecting secondary allocation, the first party is urged to complete the corresponding response after reaching the resource settlement agreement. Task. 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: Receive a subsequent resource allocation request for the first party; here, the subsequent resource allocation request for the first party is after the resource allocation request for the first party, the first party performs a second Initiated during the second resource exchange; here, the object of the second resource exchange can be a third party, 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 equal to the value of the predetermined resource, or It can be floated 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 method 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 a server. A server refers to a computer system that can provide services to other devices in the network. The object served by a 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, which 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 a server, cloud, etc. In another embodiment, 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. As shown in Figure 4, the resource settlement device includes: The transceiver unit 301 is configured to receive a resource consumption request for the first party; The settlement unit 302 is 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 smaller than the value of the resource that should be extracted in the resource consumption request; The monitoring unit 303 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 302 is configured to additionally extract a second resource from the resource pool of the first party in response to the failure of the first party to complete the task. It can be seen from the above-mentioned embodiments that the resource settlement device provided in this specification receives a resource consumption request for the first party and accordingly extracts a value from the resource pool of the first party that is less than the resource value 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. 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. 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 resources to be allocated provided by the second party, and form them as a resource pool of the second party. Optionally, the settlement unit 302 is configured to extract the predetermined resource from a resource pool of the second party. Optionally, the settlement unit 302 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. Optionally, the transceiver unit 301 is configured to receive a third party's authorization for the resource settlement agreement; The settlement unit 302 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 301 is configured to return the resource consumption request code to the third party. Optionally, the transceiver unit 301 is configured to receive resource consumption request code identification information of the first party for the resource consumption request code; The settlement unit 302 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 transceiver unit 301 is configured to return the resource consumption code to the first party; and receive resource consumption code identification information of the third party for the resource consumption code; The settlement unit 302 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. 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. 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 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 less than the value of the subsequent The value of the resource that the resource consumption request should extract. 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. FIG. 5 shows a more specific schematic diagram of the 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 within the device through the bus 405. The processor 401 can be implemented by a general CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc., for Execute related programs to realize the technical solutions provided in the embodiments of this specification. The memory 402 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 402 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the related program codes are stored in the memory 402 and called and executed by the processor 401 . The input/output interface 403 is used for connecting input/output modules 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 devices can include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices can include displays, speakers, vibrators, indicator lights, and so on. 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). 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 a place for normal operation. Other required components. In addition, those skilled in the art can understand that the above-mentioned devices 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 media in this embodiment includes permanent and non-permanent, movable and non-movable media, and information storage can be realized by any method or technology. 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 internal memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM). ), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other internal memory technology, CD-ROM, digital Versatile discs (DVD) or other optical storage, magnetic cassettes, magnetic tape 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 attached patent application. In some cases, the actions or steps described in the claims may 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 result. 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, and they are not provided in the details for the sake of brevity. In addition, in order to simplify the description and discussion, and in order not to make the description difficult to understand, the figures provided may or may not show the well-known power/ground connections with integrated circuit (IC) chips and other components. connect. 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 of the implementation of these block diagram devices are highly dependent on the platform on which the description will be implemented (That is, these details should be fully within the understanding of those skilled in the art). In the case where specific details (for example, circuits) 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. 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)) can 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 shall be included in the protection scope of this specification.

301:收發單元 302:結算單元 303:監聽單元 401:處理器 402:記憶體 403:輸入/輸出介面 404:通訊介面 405:匯流排 102:步驟 104:步驟 106:步驟 108:步驟 202:步驟 204:步驟 206:步驟 208:步驟 210:步驟 212:步驟 214:步驟 216:步驟 218:步驟 220:步驟 222:步驟 224:步驟 228:步驟301: Transceiver unit 302: Settlement Unit 303: monitor unit 401: processor 402: Memory 403: input/output interface 404: Communication interface 405: Bus 102: Step 104: Step 106: step 108: Step 202: step 204: Step 206: Step 208: Step 210: Step 212: Step 214: Step 216: Step 218: Step 220: step 222: Step 224: Step 228: Step

為了更清楚地說明本說明書實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本說明書的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些圖式獲得其他的圖式。 [圖1]為本說明書披露的一個實施例的實施場景示意圖; [圖2]為本說明書披露的資源結算方法的一個實施例的流程示意圖; [圖3]為本說明書披露的資源結算方法的另一個實施例的流程示意圖; [圖4]為本說明書披露的資源結算裝置的一個實施例的方塊圖結構示意圖; [圖5]為本說明書披露的電子設備的一個實施例的硬體結構示意圖。In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following will briefly introduce the drawings that need to be used in the embodiments or the description of the prior art. Obviously, the drawings in the following description are merely the present For some of the embodiments of the specification, for those of ordinary skill in the art, without creative work, other schemes can be obtained based on these schemes. [Figure 1] This is a schematic diagram of an implementation scenario of an embodiment disclosed in this specification; [Figure 2] A schematic flow diagram of an embodiment of the resource settlement method disclosed in this specification; [Figure 3] A schematic flow diagram of another embodiment of the resource settlement method disclosed in this specification; [FIG. 4] This is a schematic structural diagram of a 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.

Claims (24)

一種資源結算方法,包括: 接收針對第一方的資源消耗請求; 根據該資源消耗請求在該第一方的資源池中提取第一資源;其中,該第一資源的值小於該資源消耗請求應提取的資源的值; 為該第一方分配任務,並監聽該第一方的操作行為;其中,該操作行為用以確定該第一方是否完成該任務; 回應於該第一方未完成該任務,則額外從該第一方的資源池中提取第二資源。A resource settlement method, including: Receive a resource consumption request for the first party; Extracting the 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; 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; In response to the first party not completing the task, the 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 to be extracted in the resource consumption request and the value of the first resource. 根據請求項1之方法,其中,該方法還包括: 接收針對該第一方的資源分配請求; 根據該資源分配請求為該第一方分配預定資源; 其中,該預定資源的值為該資源消耗請求應提取的資源的值與該第一資源的值之差。The method according to claim 1, wherein the method further includes: 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 includes: 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 includes: The predetermined resource is extracted 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 includes: Return the second resource to 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. 根據請求項4之方法,其中,該方法還包括: 接收第三方的對資源結算協議的授權; 根據該第三方的對資源結算協議的授權,產生資源消耗請求碼; 向該第三方返回該資源消耗請求碼。The method according to claim 4, wherein the method further includes: 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 includes: Receiving the resource consumption request code identification information of the resource consumption request code of the first policy; In response that the resource consumption request code identification information is a resource allocation request for the first party, a resource consumption code is generated, and the resource consumption code is returned to the first party; Receive the resource consumption code identification information of the third party for the resource consumption code; In response that the resource consumption code identification information is 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 includes: 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 includes: Receiving a subsequent resource consumption request for the first party; In response that the first party has completed 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 for the subsequent resource consumption request. 根據請求項1之方法,其中,該任務為定時任務,該監聽該第一方的操作行為,包括: 監聽該第一方在預定期間內的操作行為,以確定該第一方是否在該預定期間內完成該定時任務。The method according to claim 1, wherein the task is a timed task, and the monitoring of 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 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; The settlement unit is configured to extract the 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 used 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 failure of the first party to complete the task. 根據請求項12之裝置,其中,該第二資源的值小於或等於該資源消耗請求應提取的資源的值與該第一資源的值之差。The device 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 in the resource consumption request and the value of the first resource. 根據請求項12之裝置,其中,該收發單元,用於接收針對該第一方的資源分配請求; 該結算單元,用於根據該資源分配請求為該第一方分配預定資源; 其中,該預定資源的值為該資源消耗請求應提取的資源的值與該第一資源的值之差。The device according to claim 12, wherein the transceiver 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 transceiver 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 used 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 device according to claim 15, wherein the settlement unit is configured to extract the predetermined resource from the resource pool of the second party. 根據請求項16之裝置,其中,該結算單元,用於: 將該第二資源返回到該第二方的資源池;或者 將該資源消耗請求應提取的資源的值與該第一資源的值的差值所對應的資源返回到該第二方的資源池。The device according to claim 16, wherein the settlement unit is used for: Return the second resource to 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. 根據請求項15之裝置,其中,該收發單元,用於接收第三方的對資源結算協議的授權; 該結算單元,用於根據該第三方的對資源結算協議的授權,產生資源消耗請求碼; 該收發單元,用於向該第三方返回該資源消耗請求碼。The device according to claim 15, wherein the transceiver unit is used to receive a third party's authorization to the resource settlement agreement; The settlement unit is used to generate a resource consumption request code according to the authorization of the third party to the resource settlement agreement; The transceiver unit is used to return the resource consumption request code to the third party. 根據請求項18之裝置,其中,該收發單元,用於接收該第一方針對該資源消耗請求碼的資源消耗請求碼識別資訊; 該結算單元,用於回應於該資源消耗請求碼識別資訊為針對該第一方的資源分配請求,則產生資源消耗碼; 該收發單元,用於向該第一方返回該資源消耗碼;以及,接收該第三方針對該資源消耗碼的資源消耗碼識別資訊; 該結算單元,用於回應於該資源消耗碼識別資訊為該針對第一方的資源消耗請求,則在該第一方的資源池中提取第一資源。The device according to claim 18, wherein the transceiver unit is configured to receive resource consumption request code identification information of the resource consumption request code of the first policy; 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 transceiver 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 used for extracting the first resource from the resource pool of the first party in response to that the resource consumption code identification information is the resource consumption request for the first party. 根據請求項19之裝置,其中,該結算單元,用於將該資源消耗請求應提取的資源放入該第三方的資源池中。The device according to claim 19, wherein the settlement unit is configured to put the resource that should be extracted in the resource consumption request into the resource pool of the third party. 根據請求項14之裝置,其中,該收發單元,用於接收針對該第一方的後續資源消耗請求; 該結算單元,用於回應於該第一方已完成該任務,則在該第一方的資源池中提取第三資源;其中,該第三資源的值小於該後續資源消耗請求應提取的資源的值。The device according to claim 14, wherein the transceiver 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 less than the resource that should be extracted for the subsequent resource consumption request Value. 根據請求項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 completes the timed task within the predetermined period . 一種電子設備,包括記憶體、處理器及儲存在記憶體上並可在處理器上運行的計算機程式,該處理器執行該程式時實現如請求項1至11任意一項之方法。An electronic device includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor. The processor implements the method as any one of claim items 1 to 11 when the processor executes the program. 一種非暫態計算機可讀儲存媒體,該非暫態計算機可讀儲存媒體儲存計算機指令,該計算機指令用於使該計算機執行請求項1至11任意一項之方法。A non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute the method of any one of request items 1 to 11.
TW109116049A 2019-12-20 2020-05-14 Resource settlement method and device, electronic equipment, storage medium TWI749554B (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 (2)

Publication Number Publication Date
TW202125218A true TW202125218A (en) 2021-07-01
TWI749554B TWI749554B (en) 2021-12-11

Family

ID=70212419

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109116049A TWI749554B (en) 2019-12-20 2020-05-14 Resource settlement method and device, electronic equipment, 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

Family Cites Families (23)

* 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
US20090216579A1 (en) * 2008-02-22 2009-08-27 Microsoft Corporation Tracking online advertising using payment services
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
CN104112214A (en) * 2013-04-22 2014-10-22 王臻浩 Device taking advertisements as transaction objects and method thereof
US20180033062A1 (en) * 2013-09-23 2018-02-01 Thomas Jason Taylor Purchase including push transmission from purchaser to future purchaser
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
EP3627926B1 (en) * 2017-08-18 2021-09-01 Guangdong Oppo Mobile Telecommunications Corp., Ltd. A method, terminal device and network device for scheduling resources
US10973005B2 (en) * 2017-08-30 2021-04-06 Hon Hai Precision Industry Co., Ltd. Methods and related devices for resource allocation
CN107730300A (en) * 2017-09-04 2018-02-23 天脉聚源(北京)科技有限公司 Platform returns the processing method and processing device of existing information
WO2019061174A1 (en) * 2017-09-28 2019-04-04 Nokia Shanghai Bell Co., Ltd. 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
CN109636406B (en) * 2018-10-17 2023-09-08 创新先进技术有限公司 Resource settlement method and device and electronic equipment
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
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
CN111031140A (en) 2020-04-17
TWI749554B (en) 2021-12-11
WO2021120868A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
WO2021120868A1 (en) Resource settlement method and apparatus, electronic device and storage medium
US10699301B2 (en) Data-processing method and apparatus, and computer storage medium for electronic resource transfer
US10623353B2 (en) Method and system for controlling message dissemination from public accounts to user accounts
US9948645B2 (en) Techniques for call-based user verification
US10417620B2 (en) User attribute value transfer method and terminal
CN104933568B (en) A kind of payment method for authenticating and device
CN110570282A (en) cross-region resource transfer method, device, equipment and storage medium
CN111597467A (en) Display method and device and electronic equipment
TWI709930B (en) Joint payment method and system based on binding relationship
CN109714241A (en) The task processing method of group and the Task Processing Unit of group
US10003590B2 (en) Methods and systems for linking untrusted applications to server systems
US20230291591A1 (en) Interaction method and apparatus, and electronic device
US20180096324A1 (en) Transaction interactions between node groups
CN104717131A (en) Information interaction method and server
CN105809466A (en) Request transmission method and device thereof
CN112686528A (en) Method, apparatus, server and medium for allocating customer service resources
CN106169137B (en) Resource transfer method, device and system
CN107528822A (en) A kind of business performs method and device
TW202405714A (en) Payment method, apparatus and system based on 5G messaging application, and device and medium
CN101808110A (en) Forum access method based on mobile communication equipment terminal
CN113313566A (en) Internal settlement method, internal settlement device, storage medium and electronic equipment
TWM530999U (en) Real-time system for loan and repayment
TWM581731U (en) Transfer system
US20180089646A1 (en) Transferring funds between financial accounts of two accountholders
TWI772639B (en) Transfer system and method for generating transfer object list