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

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

Info

Publication number
TWI749554B
TWI749554B TW109116049A TW109116049A TWI749554B TW I749554 B TWI749554 B TW I749554B TW 109116049 A TW109116049 A TW 109116049A TW 109116049 A TW109116049 A TW 109116049A TW I749554 B TWI749554 B TW I749554B
Authority
TW
Taiwan
Prior art keywords
resource
party
value
task
consumption request
Prior art date
Application number
TW109116049A
Other languages
Chinese (zh)
Other versions
TW202125218A (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)
  • 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

本說明書提供一種提供的資源結算方法及裝置,透過接收針對第一方的資源消耗請求並據此從第一方的資源池中提取小於所述資源消耗請求應提取的資源的值的第一資源,再接著監聽第一方的操作行為以確定其是否完成任務,若第一方未完成所述任務,則額外從所述第一方的資源池中提取第二資源,有利於提升參與方之間事務完成效率,同時提高資源利用率。This specification provides a resource settlement method and device, by receiving a resource consumption request for a first party, and extracting a first resource that is less than the value of the resource that should be extracted by the resource consumption request from the resource pool of the first party accordingly. , 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 extract the second resource from the resource pool of the first party, which is beneficial to improve the participation of the participants. Efficient completion of inter-transactions, while improving resource utilization.

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 foregoing 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 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 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 smaller 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, and the processor implements the program when the program is executed. method. 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 collect 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 increase participation Transaction completion efficiency 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))可以使用所討論的實施例。 本說明書的實施例旨在涵蓋落入所附權利要求的寬泛範圍之內的所有這樣的替換、修改和變型。因此,凡在本說明書的精神和原則之內,所做的任何省略、修改、等同替換、改進等,均應包含在本說明書的保護範圍之內。For the purpose of the present invention, The technical solutions and advantages are clearer and clearer, In combination with specific embodiments, And refer to the schema, The present invention will be described in further detail. It should be noted, 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. As used in this disclosure, "first", "Second" and similar words do not indicate any order, Quantity or importance, It is only used to distinguish different components. "Include" or "include" and other similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents. It does not exclude other components or objects. Similar words such as "connected" or "connected" are not limited to physical or mechanical connections. It can include electrical connections, Whether it is direct or indirect. "superior", "Down", "Left", "Right" and so on are only used to indicate the relative position relationship, When the absolute position of the described object changes, The relative positional 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, And the first party involved in resource settlement, Second party, Third party, Even more parties. The second party, It is possible to reach a resource settlement agreement with the resource settlement device in advance, And authorize the resource settlement device accordingly, Then, The second party may provide resources to be allocated to the resource settlement device (to form a resource pool for the second party), For the resource settlement device to extract the resource to be allocated and allocate it to the corresponding first party when the condition is 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, After the resource settlement apparatus extracts the first resource from the resource pool of the first party according to the resource consumption request, Open for the first party; According to the completion of the task by 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 to be extracted by the resource consumption request and the value of the first resource. The first party, When it is necessary to exchange resources with said third party, You can 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. After reaching a resource settlement agreement, The first party may initiate a resource consumption request, The resource settlement device according to the resource consumption request, Extract the first resource from the resource pool of the first party; in, The value of the first 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 device extracts a predetermined resource from the resource pool of the second party, 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. Said third party, It can be when it needs to exchange resources with the first party, Choosing whether to reach a resource settlement agreement with the resource settlement device, or, The third party may also reach a resource settlement agreement with the resource settlement device in advance. The first party initiates a resource consumption request, The resource settlement device may also, according to the resource consumption request, Put the resources that should be extracted by the resource consumption request into the third-party resource pool. Optionally, After the third party reaches a resource settlement agreement with the resource settlement device, The resource settlement device may also be based on the authorization of the third party to the resource settlement agreement, Generate resource consumption request code, And return the resource consumption request code to the third party. When exchanging resources with the first party, The third party may show the resource consumption request code to the first party, The form of the resource consumption request code may be a barcode or a QR code, The first party may use its 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 may also be a string of verification codes, The first party can use its own smart device to initiate a resource consumption request to the resource settlement device by inputting and sending the resource consumption request code, etc. 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 form of the resource consumption code can be a barcode or a QR code, The third party can use its own smart device to initiate a resource consumption request to the resource settlement device by scanning the resource consumption code, or, The resource consumption code may also be a string of verification codes, The third party can use its own smart device to initiate a resource consumption request to the resource settlement device by inputting and sending the resource consumption code, etc. Optionally, If the first party has not completed the task, The resource settlement device may additionally extract a second resource from the resource pool of the first party; Then, Returning 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 that should be extracted by the resource consumption request and the value of the first resource to the resource pool of the second party. Optionally, Determining that the first party has not completed the task, It can be performed by monitoring whether the operation behavior of the first party meets the requirements of the task. Optionally, The task can be a timed task, Said monitoring the operation behavior of the first party, include: Monitor the operation behavior of the first party during a predetermined period, To determine whether the first party completes the timing task within the predetermined period. Optionally, The first party, Both the second party and the third party can be devices that can interact with data, Such equipment can be, For example, mobile phone, tablet, personal computer, Laptop, Personal Digital Assistant (PDA), Wearable devices (such as smart glasses, Smart watch) and so on. The resource settlement device may be in the form of a server when implemented. In some scenarios, The first party, The equipment of the second party and the third party may be installed with software for data interaction with the resource settlement device, or, The first party, The equipment of the second party and the third party may use a web terminal to realize data interaction with the resource settlement device. so, The first party, Only the second party and the third party can accept the interactive information from the resource settlement device, And the first party, The second party and the third party can send corresponding interactive information to the resource settlement device. It should be noted, 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 provides resources to be allocated to the resource settlement device, The third party exchanges resources with the first party. What you can know is, The respective functions of the second party and the third party can actually be combined into the functions of one party, For example, Can provide resources to be allocated, It can also exchange resources with the first party. In other words, Said second party and third party, Both can be the same subject, It can also be different subjects, This can be distinguished according to actual needs, Without making specific restrictions. Optionally, The first party may be an end 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. as shown in picture 2, The resource settlement method, include: 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 can be when the first party needs to exchange resources with a third party, Initiated by the first party or third party. For another example, It can 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 exchange of information between the first party and the third party, The resource settlement agreement signed by the first party, Resource settlement agreement signed by a third party; in, 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 resource pool of the first party under the current resource exchange behavior. Step 104: Extracting the first resource from the resource pool of the first party according to the resource consumption request; in, The value of the first resource is smaller than the value of the resource that should be extracted in the resource consumption request. Optionally, The value of the first resource, It may be when the second party and the resource settlement device reach a resource settlement agreement, Pre-set by the second party or by the resource settlement device. Optionally, The calculation rules for the value of the first resource may be various. For example, you can specify that a single resource exchange corresponds to a predetermined resource, 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, Then the value of the first resource may be the value of the resource to be extracted minus the value of a predetermined resource, For example, the value of this predetermined resource is 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 that should be extracted, Like 90%, So, 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, Float according to a certain ratio (for example, reduce the ratio by 5% on the basis of the previous time, In this way, when the value of the resource to be extracted is 100, the value of the first resource is 85). Another example is, Determined according to the number of other parties 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, Set the value of the first resource according to the number of people joining, etc. The specific calculation rule for the value of the first resource can be set as required, There are no special restrictions here. In the embodiments of this specification, The resources may include: Resources related to web applications, in, Resources related to web applications can include: Coupons, video, Audio, etc., Vouchers can include: Consumption vouchers, Discount coupons and so on. Step 106: Assign tasks to the first party, And monitor the operation behavior of the first party; in, 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, for example: With a specific party (which can be said second party or third party, It can also be other participants) for the second resource exchange, On a particular party (which can be the second party or the third party, It can also be registered as a member on the website of other participants, Watched by a specific party (which can be the second party or the third party, It can also be an advertisement published by other parties), Browsing belongs to a specific party (it can be said second party or third party, It can also be the webpage of other parties), The listener belongs to a specific party (it can be the second party or the third party, It can also be the station of other participants), Watched by a specific party (which can be the second party or the third party, It can also be a program produced by 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, It is used to require the first party to perform 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, It is used to remind the first party to complete the task in time. The reminder information push method can adopt short message, telephone, This can be achieved by means of pop-up messages in the application. Optionally, The task can 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, etc. The predetermined period may also be set according to the different types of the tasks or the difficulty of completing the tasks. Specific setting standards, There are no special restrictions 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 a predetermined period as needed, It is used to remind the first party to complete the task within a predetermined period in time. The reminder information push method can adopt short message, telephone, This can be achieved by means of pop-up messages in the application. Optionally, For unused resource exchange behaviors, The tasks can all be different, or, For different first parties, Second parties and/or third parties, The tasks can also be different. and, The person who sets the task can modify it at any time, Change the task described. Optionally, The monitoring operation, It can be done 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, With a specific party (which can be said second party or third party, It can also be other participants) for the second resource exchange at a certain point in time, At a certain point in time on a particular party (which can be the second party or the third party, It can also be registered as a member on the website of other participants, Watched by a specific party (may be the second party or the third party, It can also be an advertisement published by other parties), Browsing at a certain point in time belongs to a specific party (it can be the second party or the third party, It can also be the webpage of other parties), At a certain point in time, I listened to a specific party (it could be the second party or the third party, It can also be the stations of other parties), Watched by a specific party (may be the second party or the third party, It can also be a program produced by other parties), etc. Optionally, If the task is a timed task, Said monitoring the operation behavior of the first party, include: Monitor 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. The predetermined period can be set according to needs, For example, One week, One month, Three months, etc. The predetermined period may also be set according to the different types of the tasks or the difficulty of completing the tasks. Specific setting standards, There are no special restrictions here. Step 108: In response to the failure of the first party to complete the task, Then, the second resource is additionally extracted 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, The first party did not exchange resources with the second party within the month (for example, there was no resource exchange operation with the second party in the operation behavior of the first party within the month behavior), It is determined that the operation behavior does not meet the requirements of the task, that is, The first party has not completed the task. When the operation behavior does not meet the requirements of the task, Then the first resource cannot be extracted from the resource pool of the first party according to the value of the first resource, then, The resource settlement device may additionally extract a second resource 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 by the resource consumption request and the value of the first resource. Optionally, The resource settlement method, It may also include step 110: In response to the failure of the first party to complete the task, The resource settlement is completed, For the current resource exchange behavior, There will be no additional extraction of the second resource. As can be seen from the above embodiment, The resource settlement method provided in this manual, By receiving a resource consumption request for the first party and extracting a first resource from the resource pool of the first party based on this that is less than the value of the resource that should be extracted by the resource consumption request, 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, Then additionally extract a second resource from the resource pool of the first party; so, On the premise that the first party consumes a first resource lower than the value of the resource that should be extracted, Can prompt the first party to complete a certain task, In turn, it helps to improve the efficiency of transaction completion between the participants, 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, include: Step 202: Receive the authorization of the second party to the resource settlement agreement. The second party, It is possible to reach a resource settlement agreement with the resource settlement device in advance, And based on this, authorize the resource settlement device. Step 204: Determine the task. Optionally, The task may be formulated by the second party, It may also be determined through negotiation between the second party and the resource settlement device or the third party, It can also be the second party, Determined jointly by the resource settlement device and the third party. 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, for example: With a specific party (which can be said second party or third party, It can also be other participants) for the second resource exchange, On a particular party (which can be the second party or the third party, It can also be registered as a member on the website of other participants, Watched by a specific party (which can be the second party or the third party, It can also be an advertisement published by other parties), Browsing belongs to a specific party (it can be said second party or third party, It can also be the webpage of other parties), The listener belongs to a specific party (it can be the second party or the third party, It can also be the station of other participants), Watched by a specific party (which can be the second party or the third party, It can also be a program produced by other participants), etc. In this step, The subject of the task can be the second party, This is based on the consideration that the second party is the party that provides the resources to be allocated. Actually, Know, Although the second party is the party that provides the resources to be allocated, However, the subject of the task may not be the second party, Instead, it may be the resource settlement device, Or it can be the subject authorized by the second party to formulate the task, etc. Step 206: Acquiring resources to be allocated provided by the second party, And form a resource pool of the second party, This allows the resource settlement device to allocate to the corresponding first party when the conditions are met. Step 208: Receiving 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 can be when the first party needs to exchange resources with a third party, Initiated by the first party or third party. For another example, It can be initiated when the first party needs to exchange resources. Step 210: Allocating 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 the resource exchange behavior between the first party and the third party, The initiator can be either the first party or the third party. Step 214: Extract the predetermined resource from the resource pool of the second party. here, When the conditions are met, Extract the corresponding predetermined resource from the second resource pool, The extracted predetermined resources are used to allocate to the first party. Step 216: Extracting the first resource from the resource pool of the first party according to the resource consumption request; in, The value of the first resource is smaller than the value of the resource that should be extracted in 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 is currently exchanging resources with the third party, The value of the predetermined resource is the difference between the value of the resource to be extracted in the resource consumption request and the value of the first resource, 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, The set of the first resource actually exchanged for the first party and the predetermined resource provided by the second party. Step 220: Assign tasks to the first party, And monitor the operation behavior of the first party; in, The operation behavior is used to determine whether the first party completes the task. Step 222: In response to the failure of the first party to complete the task, Then, the second resource is additionally extracted from the resource pool of the first party. here, Because the first party did not complete the task as required, Then 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: 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 that should 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 its resource pool because the first party did not complete the task as required can be directly returned to the resource pool of the second party, This compensates for the predetermined resources provided by the second party at the beginning. Optionally, It may also be that 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, 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, It can be to fill in the predetermined resources originally provided by the second party, It can also compensate for certain resources. Step 226: In response to the operational behavior meeting the requirements of the task, The resource settlement is completed. As can be seen from the above embodiment, The resource settlement method provided in this manual, By receiving a resource consumption request for the first party and extracting a first resource from the resource pool of the first party based on this that is less than the value of the resource that should be extracted by the resource consumption request, 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, Then additionally extract a second resource from the resource pool of the first party; so, On the premise that the first party consumes a first resource lower than the value of the resource that should be extracted, Can prompt the first party to complete a certain task, In turn, it helps to improve the efficiency of transaction completion between the participants, At the same time improve resource utilization. As an optional embodiment, The method also includes: Receive a third party’s authorization to the resource settlement agreement; According to the authorization of the third party to the resource settlement agreement, Generate resource consumption request code; Return the resource consumption request code to the third party. Optionally, The method also includes: 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 the resource allocation request for the first party, Then a resource consumption code is generated, And return 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 allocation code identification information being a resource consumption request for the first party, Then, the first resource is extracted from the resource pool of the first party. so, When the first party and the third party exchange resources, The information interaction in the resource exchange process can be completed by scanning the code or entering the identification code. Can be used easily, Improve efficiency. As an optional embodiment, After the step 110/step 226 of the resource allocation is completed, The method also includes: Receiving a subsequent resource consumption request for the first party; In response to the completion of the task by the first party, Then extract the third resource from the resource pool of the first party; in, The value of the third resource is smaller than the value of the resource that should be extracted in the subsequent resource consumption request; In response to the operational behavior not meeting the requirements of the task, Then return a message rejecting the subsequent resource consumption request, Through this way of rejecting secondary distribution, Urge the first party to complete the corresponding tasks in accordance with 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 new tasks, Thereby increasing the enthusiasm of the first 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, There are no special restrictions here. Optionally, Before the step of receiving a subsequent resource consumption request for the first party, It can also include: Receiving 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, Initiated when the first party exchanges resources for the second time; The object of the second resource exchange here can be a third party, It can also be another participant or second party; In response to the operational behavior meeting the requirements of the task, Then allocate a new predetermined resource 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, You can also float up according to the completion of the task, The specific setting method is selected according to the needs. It should be noted, The method of the embodiment of this specification can be executed by a single device, For example, a computer or server. The method of this embodiment can also be applied in a distributed scenario, It is completed by the cooperation of multiple devices. In this distributed scenario, One of the multiple devices may only perform one or more steps in the method in the embodiment of this specification. These multiple devices will interact with each other to complete the method described. Optionally, In one embodiment, This method is executed on the server. A server refers to a computer system that can provide services to other devices in the network. The objects served by the server are usually called terminals or clients. The server and the terminal can be connected via wired or wireless communication. There are many ways to implement the server, It can be a single computer device, It can also be a combination of multiple computer equipment (such as cluster servers, Cloud server, etc.). The server can also be called a server in some application scenarios, Cloud and so on. In another embodiment, This 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, include: The transceiver unit 301, Used to receive a resource consumption request for the first party; Settlement unit 302, Configured to extract the first resource from the resource pool of the first party according to the resource consumption request; in, The value of the first resource is less than the value of the resource that should be extracted in the resource consumption request; Monitoring unit 303, For assigning tasks to the first party, And monitor the operation behavior of the first party; in, The operation behavior is used to determine whether the first party completes the task; The settlement unit 302, Used to respond to the failure of the first party to complete the task, Then, the second resource is additionally extracted from the resource pool of the first party. As can be seen from the above embodiment, The resource settlement device provided in this manual, By receiving a resource consumption request for the first party and extracting a first resource from the resource pool of the first party based on this that is less than the value of the resource that should be extracted by the resource consumption request, 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, Then additionally extract a second resource from the resource pool of the first party; so, On the premise that the first party consumes a first resource lower than the value of the resource that should be extracted, Can prompt the first party to complete a certain task, In turn, it helps to improve the efficiency of transaction completion between the participants, 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 by the resource consumption request and the value of the first resource. Optionally, The transceiver unit 301, Configured to receive a resource allocation request for the first party; The settlement unit 302, Configured to allocate a predetermined resource to the first party according to the resource allocation request; in, 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 transceiver unit 301, Used to receive the authorization of the second party to the resource settlement agreement; The monitoring unit 303, Used to determine the task; The settlement unit 302, For obtaining resources to be allocated provided by the second party, And formed into the resource pool of the second party. Optionally, The settlement unit 302, It is used to extract the predetermined resource from the resource pool of the second party. Optionally, The settlement unit 302, Used for: 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 that should 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, Used to receive authorization from a third party to the resource settlement agreement; The settlement unit 302, Used to authorize the resource settlement agreement according to the third party, Generate resource consumption request code; The transceiver unit 301, Used to return the resource consumption request code to the third party. Optionally, The transceiver unit 301, For receiving the resource consumption request code identification information of the first party for the resource consumption request code; The settlement unit 302, For responding to the resource consumption request code identification information as a resource allocation request for the first party, A resource consumption code is generated; The transceiver unit 301, Used to return the resource consumption code to the first party; as well as, Receiving the resource consumption code identification information of the third party for the resource consumption code; The settlement unit 302, For responding to the resource consumption code identification information being the resource consumption request for the first party, Then, the first resource is extracted from the resource pool of the first party. Optionally, The settlement unit 302, It is used to put the resource that should be extracted by the resource consumption request into the resource pool of the third party. Optionally, The transceiver unit 301, For receiving a subsequent resource consumption request for the first party; The settlement unit 302, Used to respond to the completion of the task by the first party, Then extract a third resource from the resource pool of the first party; in, The value of the third resource is smaller than the value of the resource that should be extracted in the subsequent resource consumption request. Optionally, The task is a timed task, The monitoring unit 303, Used to monitor the operation behavior of the first party within a predetermined period of time, To determine whether the first party completes the timing task within the predetermined period. The device in the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, And has the beneficial effects of the corresponding method embodiments, I won't repeat it here. FIG. 5 shows a schematic diagram of a more specific hardware structure of an electronic device provided by this embodiment. The equipment may include: Processor 401, Memory 402, Input/output interface 403, Communication interface 404 and bus 405. Where the processor 401, 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 may adopt a general CPU (Central Processing Unit, CPU), microprocessor, Application Specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), Or one or more integrated circuits, etc., Used to execute related programs, In order to realize the technical solutions provided in the embodiments of this specification. The memory 402 can adopt ROM (Read Only Memory, Read-only memory), RAM (Random Access Memory, Random access memory), Static storage equipment, Realize in the form of dynamic storage equipment. The memory 402 can store the operating system and other application programs, When implementing the technical solutions provided in the embodiments of this specification through software or firmware, The related program code is stored in the memory 402, And it is called and executed by the processor 401. The input/output interface 403 is used to connect input/output modules, To achieve information input and output. The input/output/module can be configured in the device as a component (not shown in the figure), It can also be connected to the device to provide corresponding functions. The input device can include a keyboard, mouse, Touch the screen, microphone, Various sensors, etc., Output devices can include displays, speaker, Vibrator, Indicator lights, etc. The communication interface 404 is used to connect to a communication module (not shown in the figure), In order to realize the communication interaction between this device and other devices. Among them, the communication module can be wired (such as USB, Network cable, etc.) to achieve communication, It can also be done wirelessly (e.g. mobile network, WIFI, Bluetooth, etc.) to achieve communication. The busbar 405 includes a passage, In the various components of the device (such as the processor 401, Memory 402, Information is transmitted between the input/output interface 403 and the communication interface 404). It should be noted, Although the above device only shows the processor 401, Memory 402, Input/output interface 403, Communication interface 404 and bus 405, But in the specific implementation process, The device may also include other components necessary for normal operation. also, Those skilled in the art can understand that, The above-mentioned equipment may also include only the components necessary to implement the solutions of the embodiments of this specification. It is not necessary to include all the components shown in the figure. The computer-readable medium of this embodiment includes permanent and non-permanent, Actionable and non-actionable media can be stored by any method or technology. Information can be computer readable instructions, Data structure, The module or other data of the program. Examples of computer storage media include, But not limited to phase change internal 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 internal memory technology, CD-ROM (CD-ROM), Digital versatile disc (DVD) or other optical storage, Magnetic cassette tape, 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 attached patent application. In some cases, The actions or steps described in the claims can be performed in a different order from the embodiment 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 field should understand: The discussion of any of the above embodiments is only exemplary, It 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 manual, The technical features in the above embodiments or different embodiments can also be combined, The steps can be implemented in any order, And there are many other variations of different aspects of this specification as described above, They are not provided in the details for brevity. in addition, To simplify the description and discussion, And in order not to make this manual 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 provided drawings. also, The device can be shown in the form of a block diagram, In order to avoid making this manual difficult to understand, And this also takes into account the following facts, That is to say, the details of the implementation of these block diagram devices are highly dependent on the platform on which this specification will be implemented (ie, These details should be fully within the understanding of those skilled in the art). After expounding specific details (e.g., Circuit) to describe the exemplary embodiment of this specification, It is obvious to those skilled in the art that This description can be implemented without these specific details or when these specific details are changed. 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, But according to the previous description, Many alternatives to these embodiments, Modifications and variations will be obvious to those of ordinary skill in the art. For example, Other memory architectures (e.g., Dynamic RAM (DRAM)) can use the discussed embodiment. The embodiments of this specification are intended to cover all such alternatives, Modifications and variants. therefore, Within the spirit and principles of this manual, Any omissions made, Revise, Equivalent replacement, Improvements etc., All should be included in the protection scope of this manual.

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 explain 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 flowchart of another embodiment of the resource settlement method disclosed in this specification; [Figure 4] This is a schematic diagram of a block diagram structure 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 includes: receiving a resource consumption request for a first party; extracting a first resource from a resource pool of the first party according to the resource consumption request; wherein the value of the first resource is smaller than the resource consumption request response The value of the extracted resource; 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; responding to the first party not completing the first party Task, the second resource is additionally extracted from the resource pool of the first party, where the method further includes: receiving a resource allocation request for the first party; and allocating a predetermined resource to the first party according to the resource allocation request; Receive a follow-up resource consumption request for the first party; respond to the operation behavior that does not meet the requirements of the task, then return to reject the follow-up resource consumption request. 根據請求項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 value of the predetermined resource is the difference between the value of the resource to be extracted in 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 the second party's resource pool. 根據請求項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: extracting 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 includes: returning the second resource to the resource pool of the second party; or requesting the resource consumption The resource corresponding to the difference between the value of the resource to be extracted 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: receiving a third party's authorization to the resource settlement agreement; generating a resource consumption request code based on the third party's authorization to the resource settlement agreement; and returning the resource to the third party Consume request code. 根據請求項7之方法,其中,該方法還包括:接收該第一方針對該資源消耗請求碼的資源消耗請求碼識別資訊;回應於該資源消耗請求碼識別資訊為針對該第一方的資源分配請求,則產生資源消耗碼,並向該第一方返回該 資源消耗碼;接收該第三方針對該資源消耗碼的資源消耗碼識別資訊;回應於該資源消耗碼識別資訊為該針對第一方的資源消耗請求,則在該第一方的資源池中提取第一資源。 The method according to claim 7, wherein the method further comprises: receiving the resource consumption request code identification information of the resource consumption request code of the first policy; responding that the resource consumption request code identification information is the resource for the first party Allocation request, a resource consumption code is generated, and the first party returns the Resource consumption code; receive the resource consumption code identification information of the third party for the resource consumption code; in response to the resource consumption code identification information for the resource consumption request for the first party, extract it from the resource pool of the first party The first resource. 根據請求項8之方法,其中,該方法還包括:將該資源消耗請求應提取的資源放入該第三方的資源池中。 The method according to claim 8, wherein the method further includes: putting the resource that should be extracted in the resource consumption request into the resource pool of the third party. 根據請求項3之方法,其中,接收針對該第一方的後續資源消耗請求-還包括:回應於該第一方已完成該任務,則在該第一方的資源池中提取第三資源;其中,該第三資源的值小於該後續資源消耗請求應提取的資源的值。 The method according to claim 3, wherein receiving a subsequent resource consumption request for the first party-further includes: in response to the first party having completed the task, extracting a third resource from the first party's resource pool; 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. 根據請求項1之方法,其中,該任務為定時任務,該監聽該第一方的操作行為,包括:監聽該第一方在預定期間內的操作行為,以確定該第一方是否在該預定期間內完成該定時任務。 The method according to claim 1, wherein the task is a timed task, and 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 predetermined period Complete the timing task within the period. 一種資源結算裝置,包括:收發單元,用於接收針對第一方的資源消耗請求;結算單元,用於根據該資源消耗請求在該第一方的資源池中提取第一資源;其中,該第一資源的值小於該資源消耗請求應提取的資源的值;監聽單元,用於為該第一方分配任務,並監聽該第一 方的操作行為;其中,該操作行為用以確定該第一方是否完成該任務;該結算單元,用於回應於該第一方未完成該任務,則額外從該第一方的資源池中提取第二資源,其中,該收發單元,用於接收針對該第一方的資源分配請求;該結算單元,用於根據該資源分配請求為該第一方分配預定資源;其中,該收發單元,用於接收針對該第一方的後續資源消耗請求;該結算單元,用於回應於該操作行為不滿足該任務的要求,則返回拒絕該後續資源消耗請求。 A resource settlement device includes: a transceiver unit, configured to receive a resource consumption request for a first party; a settlement unit, configured to extract a first resource from a resource pool of the first party according to the resource consumption request; wherein, the first party The value of a resource is less than the value of the resource that should be extracted in the resource consumption request; the monitoring unit is used to allocate tasks to the first party and monitor the first party. 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 used to respond to the first party’s failure to complete the task, and then additional resources from the first party’s resource pool The second resource is extracted, where 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 transceiving unit, It is used to receive a subsequent resource consumption request for the first party; the settlement unit is used to respond to the operation behavior that does not meet the requirements of the task, and then return to reject the subsequent resource consumption request. 根據請求項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 value of the predetermined resource is the difference between the value of the resource to be extracted in the resource consumption request and the value of the first resource. 根據請求項14之裝置,其中,該收發單元,用於接收第二方的對資源結算協議的授權;該監聽單元,用於確定該任務;該結算單元,用於獲取該第二方提供的待分配資源,並形成為該第二方的資源池。 The device according to claim 14, wherein the transceiving unit is used 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 information provided by the second party The resources to be allocated are formed as the resource pool of the second party. 根據請求項15之裝置,其中,該結算單 元,用於從該第二方的資源池中提取該預定資源。 The device according to claim 15, wherein the statement Yuan, used 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 configured to: return the second resource to the resource pool of the second party; or the value of the resource that should be extracted in the resource consumption request and the value of the first resource The resource corresponding to the difference of 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 based on the third party's authorization 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 the resource consumption request code identification information of the resource consumption request code of the first policy; and the settlement unit is configured to respond to the resource consumption request code identification information as Generate a resource consumption code for the resource allocation request of 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 to respond to the resource consumption code identification information as the resource consumption request for the first party, and then extract the first resource from the resource pool of the first party. 根據請求項19之裝置,其中,該結算單 元,用於將該資源消耗請求應提取的資源放入該第三方的資源池中。 The device according to claim 19, wherein the statement Yuan, used to put the resource that should be extracted by the resource consumption request into the resource pool of the third party. 根據請求項14之裝置,其中,該結算單元,用於回應於該第一方已完成該任務,則在該第一方的資源池中提取第三資源;其中,該第三資源的值小於該後續資源消耗請求應提取的資源的值。 The device according to claim 14, wherein 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 value of the resource that should be extracted for this subsequent resource consumption request. 根據請求項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 that is stored on the memory and can be run on the processor. The processor implements the method of any one of claims 1 to 11 when the program is executed. 一種非暫態計算機可讀儲存媒體,該非暫態計算機可讀儲存媒體儲存計算機指令,該計算機指令用於使該計算機執行請求項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 TW202125218A (en) 2021-07-01
TWI749554B true 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI811004B (en) * 2022-06-20 2023-08-01 大陸商鼎捷軟件股份有限公司 System and method for automatically checking finance

Families Citing this family (3)

* 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

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201115458A (en) * 2009-10-29 2011-05-01 Ralink Technology Corp Buffer space allocation method and related packet switch
TWI406536B (en) * 2007-11-05 2013-08-21 Qualcomm Inc Method, wireless communications apparatus, and computer program product that facilitate scheduling a best effort flow and a flow with a delay requirement within a wireless communications environment
TWI430102B (en) * 2007-08-24 2014-03-11 Ibm Network adapter resources allocating method,storage medium,and computer
TWI448180B (en) * 2010-02-09 2014-08-01 Ind Tech Res Inst Apparatus and method for resource allocation in wireless communications
TW201629759A (en) * 2015-02-03 2016-08-16 Alibaba Group Services Ltd Apparatus, device and method for allocating cpu resources
CN107730300A (en) * 2017-09-04 2018-02-23 天脉聚源(北京)科技有限公司 Platform returns the processing method and processing device of existing information
TW201816627A (en) * 2016-10-20 2018-05-01 香港商阿里巴巴集團服務有限公司 Resource scheduling method, device, and system
TW201914340A (en) * 2017-08-18 2019-04-01 大陸商Oppo廣東移動通信有限公司 Method, terminal device and network device for scheduling resources
TW201914341A (en) * 2017-08-30 2019-04-01 鴻海精密工業股份有限公司 Methods and related devices for resource allocation
TW201918106A (en) * 2017-10-30 2019-05-01 大陸商Oppo廣東移動通信有限公司 Method, network device and the terminal device for resource allocation
CN109754271A (en) * 2017-11-03 2019-05-14 许圆圆 A kind of product promotion method and system
TW201922021A (en) * 2017-09-28 2019-06-01 芬蘭商諾基亞科技公司 Method, apparatus, computer program product and computer program
TW201943306A (en) * 2018-04-04 2019-11-01 大陸商Oppo廣東移動通信有限公司 Method for allocating resources and devices and computer storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090216579A1 (en) * 2008-02-22 2009-08-27 Microsoft Corporation Tracking online advertising using payment services
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
KR101712068B1 (en) * 2015-07-23 2017-03-06 주식회사 카카오 System and method for providing reward based on viral marketing method
CN108280683B (en) * 2018-01-18 2022-04-22 百度在线网络技术(北京)有限公司 Coupon issuing method and device based on advertisement putting platform
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

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI430102B (en) * 2007-08-24 2014-03-11 Ibm Network adapter resources allocating method,storage medium,and computer
TWI406536B (en) * 2007-11-05 2013-08-21 Qualcomm Inc Method, wireless communications apparatus, and computer program product that facilitate scheduling a best effort flow and a flow with a delay requirement within a wireless communications environment
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
TW201629759A (en) * 2015-02-03 2016-08-16 Alibaba Group Services Ltd Apparatus, device and method for allocating cpu resources
TW201816627A (en) * 2016-10-20 2018-05-01 香港商阿里巴巴集團服務有限公司 Resource scheduling method, device, and system
TW201914340A (en) * 2017-08-18 2019-04-01 大陸商Oppo廣東移動通信有限公司 Method, terminal device and network device for scheduling resources
TW201914341A (en) * 2017-08-30 2019-04-01 鴻海精密工業股份有限公司 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
TW201922021A (en) * 2017-09-28 2019-06-01 芬蘭商諾基亞科技公司 Method, apparatus, computer program product and computer program
TW201918106A (en) * 2017-10-30 2019-05-01 大陸商Oppo廣東移動通信有限公司 Method, network device and the terminal device for resource allocation
CN109754271A (en) * 2017-11-03 2019-05-14 许圆圆 A kind of product promotion method and system
TW201943306A (en) * 2018-04-04 2019-11-01 大陸商Oppo廣東移動通信有限公司 Method for allocating resources and devices and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI811004B (en) * 2022-06-20 2023-08-01 大陸商鼎捷軟件股份有限公司 System and method for automatically checking finance

Also Published As

Publication number Publication date
CN111031140A (en) 2020-04-17
WO2021120868A1 (en) 2021-06-24
TW202125218A (en) 2021-07-01

Similar Documents

Publication Publication Date Title
TWI749554B (en) Resource settlement method and device, electronic equipment, storage medium
US9948645B2 (en) Techniques for call-based user verification
CN110213523A (en) Video conference processing method, system, device, computer equipment and storage medium
CN103442126A (en) Mobile phone communication method and system based on cloud service
US10165058B2 (en) Dynamic local function binding apparatus and method
CN109472699B (en) Automatic artificial intelligence data sharing method and device based on block chain
CN109714241A (en) The task processing method of group and the Task Processing Unit of group
TWI709930B (en) Joint payment method and system based on binding relationship
US10003590B2 (en) Methods and systems for linking untrusted applications to server systems
CN103297462B (en) The verification method and device of a kind of business object
US8918464B1 (en) Systems and methods for assigning conference attendees among multiple conference servers prior to a conference event
US20230291591A1 (en) Interaction method and apparatus, and electronic device
CN108011899A (en) A kind of session establishment optimization method, device and system
CN105809466A (en) Request transmission method and device thereof
CN104717131A (en) Information interaction method and server
TW201931818A (en) Electronic certificate transmission method, apparatus and device
CN106302368B (en) Transaction methods and device
CN106296154B (en) Transaction processing method and system
CN103532932B (en) A kind of ability open system, method for processing business and equipment
CN113114678B (en) Service execution method and device
CN107395663B (en) Data acquisition method and device
CN106169137B (en) Resource transfer method, device and system
CN107730411A (en) Trusteeship service line reports a method and relevant device
CN107046547A (en) Abnormal operation recognition methods and device
TW202405714A (en) Payment method, apparatus and system based on 5G messaging application, and device and medium