CN111489145A - Resource transfer method, device and equipment based on block chain - Google Patents

Resource transfer method, device and equipment based on block chain Download PDF

Info

Publication number
CN111489145A
CN111489145A CN202010587927.5A CN202010587927A CN111489145A CN 111489145 A CN111489145 A CN 111489145A CN 202010587927 A CN202010587927 A CN 202010587927A CN 111489145 A CN111489145 A CN 111489145A
Authority
CN
China
Prior art keywords
initiator
resource transfer
points
target object
transfer request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010587927.5A
Other languages
Chinese (zh)
Other versions
CN111489145B (en
Inventor
刘晓磊
王吉元
蒋海滔
陈敏聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202011269504.5A priority Critical patent/CN112200552B/en
Priority to CN202010587927.5A priority patent/CN111489145B/en
Publication of CN111489145A publication Critical patent/CN111489145A/en
Application granted granted Critical
Publication of CN111489145B publication Critical patent/CN111489145B/en
Priority to PCT/CN2021/100773 priority patent/WO2021259147A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons
    • 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/0222During e-commerce, i.e. online transactions
    • 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/0226Incentive systems for frequent usage, e.g. frequent flyer miles programs or point systems
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the specification discloses a resource transfer method, a device and equipment based on a block chain, which are applied to a block chain node, wherein the method comprises the following steps: receiving a resource transfer request for a target object, wherein the resource transfer request comprises a first number of points required for trading the target object and an identifier of an initiator of the resource transfer request; if the block chain contains the identifier of the initiator, acquiring the digital identity information of the initiator of the resource transfer request; and providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs so as to transfer the resources of the target object.

Description

Resource transfer method, device and equipment based on block chain
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for resource transfer based on a block chain.
Background
Generally, a user can obtain a large number of points through online shopping or offline shopping, and application scenarios of the points are very few, and generally, the application scenarios of the points can be used for improving the security degree of an account, or giving a certain authority or level to a corresponding user, and the like, specifically, when the points of the user reach a certain specified point threshold value, the account of the user is promoted from a common security level to a medium security level, or when the points of the user reach a certain specified point threshold value, the level of the user is promoted from 2 levels to 3 levels, and the authority with 3 levels is compared with the authority with 2 levels, so that the user can obtain 10 coupons and the like every month. How to enable integration to have a wider application scenario becomes an important issue to be solved currently.
Disclosure of Invention
An object of an embodiment of the present disclosure is to provide a method, an apparatus, and a device for resource transfer based on a block chain, so as to provide a technical solution that enables integration to have a wider application scenario.
In order to implement the above technical solution, the embodiments of the present specification are implemented as follows:
an embodiment of the present disclosure provides a resource transfer method based on a block chain, which is applied to a block chain node, and the method includes: receiving a resource transfer request for a target object, wherein the resource transfer request comprises a first number of points required for trading the target object and an identifier of an initiator of the resource transfer request. And if the block chain contains the identifier of the initiator, acquiring the digital identity information of the initiator of the resource transfer request. And providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs so as to transfer the resources of the target object.
An embodiment of the present specification provides an apparatus for resource transfer based on a block chain, where the apparatus includes: the resource transfer request module receives a resource transfer request for a target object, wherein the resource transfer request comprises a first number of points required for trading the target object and an identifier of an initiator of the resource transfer request. And the identity information acquisition module is used for acquiring the digital identity information of the initiator of the resource transfer request if the blockchain contains the identifier of the initiator. The first resource transfer module is used for providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs so as to transfer the resources of the target object.
An embodiment of the present specification provides a resource transfer device based on a block chain, where the resource transfer device based on a block chain includes: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: receiving a resource transfer request for a target object, wherein the resource transfer request comprises a first number of points required for trading the target object and an identifier of an initiator of the resource transfer request. And if the block chain contains the identifier of the initiator, acquiring the digital identity information of the initiator of the resource transfer request. And providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs so as to transfer the resources of the target object.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a block chain-based resource transfer method according to an embodiment of the present disclosure;
FIG. 2 is a block chain-based resource transfer method according to another embodiment of the present disclosure;
FIG. 3 is a block chain based resource transfer apparatus embodiment of the present disclosure;
fig. 4 is an embodiment of a resource transfer apparatus based on a block chain according to the present disclosure.
Detailed Description
The embodiment of the specification provides a resource transfer method, a resource transfer device and resource transfer equipment based on a block chain.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
Example one
As shown in fig. 1, an embodiment of the present disclosure provides a resource transfer method based on a block chain, where an execution subject of the method may be a block chain node, and in practical applications, the block chain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone and a tablet computer, and may also be a device such as a personal computer. The server may be an independent server, or a server cluster formed by a plurality of servers, and the server may be a background server of a certain service (such as a transaction service), or a background server of an application (such as a shopping application provided by a certain brand). The method may specifically comprise the steps of:
in step S102, a resource transfer request for a target object is received, where the resource transfer request includes a first number of credits required for trading the target object and an identifier of an initiator of the resource transfer request.
The target object may be a commodity to be purchased or another object (such as a certain article or a certain resource) that needs to be resource-transferred, where the resource transfer may be a process of transferring the ownership of a certain amount of resources in one resource account to another resource account. The point may be a resource obtained in some manner, for example, a point obtained by purchasing a certain commodity, or a point obtained by going to a store off a certain line for consumption, and the like, and may be specifically set according to actual conditions, and this is not limited in this embodiment of the present specification. The first amount may be any number, such as 10 or 20. The identifier may be a name, a code, or account information of the initiator, or may also be an IP (Internet Protocol) Address, an MAC (Media Access Control Address) Address, or the like of a terminal device used by the initiator, or may also be a UID (user identification) generated in advance for the user and/or the merchant, or the like, which may be specifically set according to an actual situation, and this is not limited in this embodiment of the specification.
In implementation, generally, a user may obtain a large number of points through online shopping or offline shopping, but application scenarios of the points are very few, and generally, the application scenarios of the points may be used to improve a security degree of an account, or give a certain authority or level to a corresponding user, and specifically, when the points of the user reach a certain specified point threshold, the account of the user is upgraded from a normal security level to a medium security level, or when the points of the user reach a certain specified point threshold, the level of the user is upgraded from 2 levels to 3 levels, and the authority having the 3 levels is compared with the authority having the 2 levels, so that the user may obtain 10 coupons and the like every month. How to enable integration to have a wider application scenario becomes an important issue to be solved currently. The embodiment of the present specification provides an optional processing scheme, which may specifically include the following:
the resource transfer processing method includes that an application program for resource transfer can be developed in advance, an initiator can install the application program in a terminal device used by the initiator, the initiator can perform resource transfer processing through the application program, specifically, the initiator can log in a shopping website and can search and select commodities (target objects) needing to be purchased in the shopping website, after selection is completed, resource transfer processing can be performed on the selected target objects, namely, a merchant can settle the target objects selected by the initiator to obtain the number (first number) of points required for trading of the target objects, and the merchant can provide the first number of points of settlement results to the initiator. The initiator may start the application installed in the terminal device, the application may include an input box of a numerical value of a point to be transferred, the initiator may input a first number of points in the input box, after the input is completed, the initiator may click a determination key in the application, the terminal device may obtain the first number of points required for a transaction for the target object in the input box and an identifier of the initiator to generate a resource transfer request for the target object, and may send the resource transfer request to the block chain node, and the block chain node may receive the resource transfer request for the target object.
Or, the initiator may also go to an offline store of a certain merchant, and may select a commodity (i.e., a target object) to be purchased in the offline store, after the selection is completed, the merchant may settle the target object selected by the initiator, and the merchant may provide the first number of points of the settlement result to the initiator. The initiator may start the application installed in the terminal device, and input a first number of points in the input box, after the input is completed, the initiator may click a determination key in the application, and the terminal device may obtain the first number and an identifier of the initiator to generate a resource transfer request for the target object, and may send the resource transfer request to the block chain node.
In step S104, if the blockchain includes the identifier of the initiator, the digital identity information of the initiator of the resource transfer request is obtained.
The digital identity information may be information that a user can be identifiably depicted through digital information, that is, the digital identity information is represented in a form of concentrating real identity information into digital codes, so as to bind, query and verify the personal real-time behavior information of the user. The digital identity information may not only include the birth information, individual description, biological characteristics and other identity encoding information of the user, but also relate to personal behavior information (such as transaction information or entertainment information) with various attributes and the like. The digital Identity information can be presented in various ways, such as DID (Decentralized Identity) and the like.
In implementation, after receiving the resource transfer request, the block link node may extract the identifier of the initiator from the resource transfer request, and may search, based on the identifier of the initiator, specifically, the UID of the initiator, and the like, whether the block chain includes the identifier of the initiator or not from the block chain, and if the identifier of the initiator (such as the UID and the like) can be found from the block chain, it indicates that the initiator has been registered in advance in the block chain, and in addition, in order to provide a convenient resource transfer process for the user, it may not be necessary for the initiator to register a corresponding resource account in advance, but only digital identity information needs to be allocated in advance in the block chain, and for this reason, digital identity information corresponding to the identifier of the initiator may be acquired from the digital identity information stored in advance in the block chain, and if the block link node can acquire the digital identity information of the initiator, it indicates that the initiator has the digital identity information in the block chain, at this time, the resource account of the initiator does not need to be acquired and the resource transfer process is performed through the resource account, but the resource transfer process may be performed directly through the digital identity information, and specifically, the process of step S106 described below may be performed.
In step S106, the occupation right of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request is provided to the merchant to which the target object belongs, so as to perform resource transfer processing on the target object.
In implementation, after acquiring the digital identity information of the initiator, the block link point may directly perform resource transfer processing through the digital identity information of the initiator, so that the resource transfer processing may be completed without the initiator registering a corresponding resource account in advance, the resource transfer processing process is simplified, and the resource transfer efficiency is improved, specifically, the block link point may acquire points owned by the initiator based on the digital identity information of the initiator, and may determine whether the number of the points owned by the initiator is greater than or equal to a first number, if the number of the points owned by the initiator is less than the first number, the block link point may send a notification message that the number of the points owned by the initiator is insufficient to the initiator, if the number of the points owned by the initiator is greater than or equal to the first number, the first number of the points may be acquired from the points owned by the initiator, and the acquired occupation right of the first number of points can be provided for the digital identity information of the merchant to which the target object belongs, so that the resource transfer processing is carried out on the target object. After the resource transfer processing is successful, a notification message of successful resource transfer can be sent to the initiator, so that the initiator completes resource transfer of the target object, and subsequently, the merchant can provide the target object to the initiator in a mailing mode or the like, or the initiator can take the target object away from an off-line shop of the merchant.
The embodiment of the specification provides a resource transfer method based on a block chain, which is applied to a block chain node, determines whether the block chain comprises an identifier of an initiator of a resource transfer request contained in the resource transfer request of a target object, and performs resource transfer processing through points corresponding to digital identity information of the initiator under the condition that the block chain can comprise the identifier of the initiator, so as to provide a novel resource transfer mode, enrich the current resource transfer types, in addition, the initiator or a merchant can perform resource transfer processing directly through the digital identity information without registering corresponding resource accounts in advance, thereby greatly improving the resource transfer efficiency, simultaneously, because the related information of the corresponding resource accounts is not required to be set or stored for different users in advance, thus, memory resources required for information storage and processing pressure of the blockchain node can be saved.
Example two
As shown in fig. 2, an embodiment of the present disclosure provides a resource transfer method based on a block chain, where an execution subject of the method may be a block chain node, and in practical applications, the block chain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone and a tablet computer, and may also be a device such as a personal computer. The server may be an independent server, or a server cluster formed by a plurality of servers, and the server may be a background server of a certain service (such as a transaction service), or a background server of an application (such as a shopping application provided by a certain brand). The method may specifically comprise the steps of:
in step S202, a resource transfer request for a target object is received, where the resource transfer request includes a first number of credits required to trade the target object and an identification of an initiator of the resource transfer request.
In implementation, an application for resource transfer may be developed in advance, and the initiator may install the application in the terminal device used by the initiator. When the initiator needs to settle the target object, the initiator may start the application installed in the terminal device, and input a first number of credits in an input box of numerical values of the credits to be transferred, after the input is completed, the initiator may click a determination key in the application, the terminal device may obtain the first number of credits required for a transaction to the target object in the input box and an identifier of the initiator to generate a resource transfer request for the target object, and may send the resource transfer request to a block chain node, and the block chain node may receive the resource transfer request for the target object.
In step S204, it is queried whether the block chain contains the identifier of the initiator.
In implementation, a user may send a registration request to the blockchain through the terminal device, and the blockchain node may assign a unique identifier, such as a UID, to the user based on the registration request of the user, and may store the identifier of the user in the blockchain. When the block link node receives a resource transfer request for the target object, the identifier of the initiator may be extracted from the resource transfer request, and the identifier of the initiator may be searched for in the pre-stored user identifier. If the identifier of the initiator is not found, it indicates that the initiator has not registered in the block chain, and at this time, the block chain link point may send a registration prompt message to the initiator, so that the initiator performs a registration application to obtain a corresponding identifier. If the identification of the initiator is found, the following process of step S206 may be performed.
In step S206, if the blockchain includes the identifier of the initiator, a resource account pre-registered by the initiator of the resource transfer request is acquired.
The resource account may be an account for recording the amount of the resource owned by the corresponding user, specifically, an account of a certain bank card, a resource account registered in a certain financial institution, or the like. The resources may include a variety of resources such as currency, points, coupons, etc.
In implementation, if the identifier of the initiator is found in the pre-stored user identifier, it indicates that the initiator has been registered in the block chain, and at this time, resource transfer processing may be performed, where before resource transfer processing, a user may also register a resource account in advance according to an actual situation, specifically, a corresponding resource account may be registered through a registration entry provided in the application installed in the terminal device of the user and a preset registration flow, and specifically, may be set according to an actual situation, which is not limited in this description embodiment. After finding the identifier of the initiator from the blockchain, the blockchain node may find whether the resource account of the initiator is included in the resource accounts pre-stored in the blockchain, or the blockchain node may send an inquiry request to the server or the blockchain where the resource account is located, where the server or the blockchain where the resource account is located may find the resource account of the sender in the pre-registered resource accounts, and if the resource account of the initiator is found, it indicates that the initiator has pre-registered the corresponding resource account, and if the resource account of the initiator is not found, the resource transfer processing may be performed in other manners, which may specifically refer to the processing in step S208 below.
If the resource account of the initiator is found, the resource transfer process may be performed in the following manner, which may specifically include the following steps: and if the resource account registered in advance by the initiator of the resource transfer request is acquired, providing the occupation permission of the first number of points in the resource account of the initiator of the resource transfer request to the merchant to which the target object belongs.
In implementation, if the resource account of the initiator is obtained in the above manner, it may be determined whether the number of credits owned by the resource account of the initiator is greater than or equal to a first number, and if the number of credits owned by the resource account of the initiator is greater than or equal to the first number, the possession authority of the first number of credits in the resource account of the initiator may be transferred to the merchant to which the target object belongs, and the possession authority of the initiator on the first number of credits may be cancelled. If the number of credits owned in the resource account of the initiator is smaller than the first number, a credit shortage notification message may be sent to the initiator, so that the initiator may obtain more credits or perform resource transfer processing in other resource transfer manners, and the like.
In step S208, if the resource account previously registered by the initiator of the resource transfer request is not obtained, the digital identity information of the initiator of the resource transfer request is obtained.
In implementation, if the resource account registered in advance by the initiator that obtains the resource transfer request is not obtained, the resource transfer processing cannot be performed through the resource account of the initiator, and therefore, a more simplified resource transfer manner may be adopted to perform the resource transfer processing, that is, the resource transfer processing may be directly performed through the digital identity information, and the process of directly performing the resource transfer processing through the digital identity information may refer to the relevant contents in the first embodiment, which is not described herein again.
It should be noted that, in the case that the resource account registered in advance by the initiator of the resource transfer request is not acquired, the resource transfer processing may be directly performed through the digital identity information, and in addition, the resource transfer processing may also be directly performed through the digital identity information in other various cases, for example, the resource transfer processing may also be directly performed through the digital identity information in the case that the merchant to which the target object belongs has not registered in advance or opened the resource account for receiving resources, or the resource transfer processing may also be directly performed through the digital identity information in the case that the merchant to which the target object belongs has not opened the function for receiving resources, and the like.
In step S210, the number of points owned by the initiator is acquired.
In implementation, after the digital identity information of the initiator is acquired in the above manner, the number of credits owned by the initiator may be acquired through the digital identity information of the initiator. In practical applications, the digital identity information and the number of credits may be stored in the blockchain in advance, or the number of credits owned by the initiator may be stored in a server or a blockchain outside the blockchain, at this time, the initiator may send a credit acquisition request to the server or another blockchain, the server or another blockchain may send a corresponding number of credits to a blockchain node based on the credit acquisition request, and the blockchain node may acquire the number of credits owned by the initiator.
In step S212, if the number of credits owned by the initiator is not less than the first number, a first number of credits is selected from the credits corresponding to the digital identity information of the initiator according to the preset deduction sequence information of the credits owned by the initiator, the possession authority of the selected first number of credits is provided to the merchant to which the target object belongs, and the possession authority of the initiator on the first number of credits is cancelled.
In practical applications, the point obtained by the user usually has a service life or an expiration date, for example, the expiration date of 10 points obtained today is 1 month or 10 days, and when the corresponding point exceeds the expiration date, the point will disappear, and for this reason, the deduction order of the user may be set according to the distance of the remaining expiration date time in the expiration date information of the point, for example, in 50 points owned by the user, where the remaining expiration date of 10 points is 2 days, the remaining expiration date of 15 points is 10 days, the remaining expiration date of 20 points is 1 year, and the remaining expiration date of 5 points is 1 month, the deduction order is from front to back: 10 integration, 15 integration, 5 integration, 20 integration, etc.
In implementation, in order to check and cancel the point owned by the user in time, a deduction order of the point may be preset, so that the point which is about to reach the validity period is checked and canceled as soon as possible, where the deduction order of the point may be preset by the block link point, or may be preset in the block link node by a technician in the process of writing the application program, or may be preset by the application program in the terminal device in the process of using by the user, and information of the deduction order after setting is provided to the block link node for storage. After the blockchain node acquires the number of the credits owned by the initiator, the acquired number may be compared with the first number to determine whether the acquired number is greater than or equal to the first number, if the acquired number is greater than or equal to the first number, preset deduction sequence information of the credits owned by the initiator may be acquired, and the first number of credits may be selected from the credits corresponding to the digital identity information of the initiator through the deduction sequence information, for example, based on the above example, if the first number is 25, the number 50 of the credits owned by the initiator is greater than the first number 25, at this time, the deduction sequence may be sequentially from front to back: of the 10, 15, 5, and 20 integrals, a first number of integrals (i.e., 25 integrals) are obtained, and by the above subtraction sequence, the 10 and 15 integrals can be selected, thereby obtaining the 25 integral. Then, the selected occupation right of the first number of points may be provided to the merchant to which the target object belongs, and the occupation right of the initiator for the first number of points may be cancelled, which may specifically refer to the relevant contents in the first embodiment, and will not be described herein again.
In addition, if the number of credits owned by the initiator is smaller than the first number, more credits may be obtained in various ways, and an alternative processing method is provided below, which may be specifically referred to as the processing of step a2 and step a4 below.
In step a2, a credit issue request of the merchant is obtained, where the credit issue request includes a third number of credits to be issued, an identifier of the target party, and an identifier of the merchant.
The target party may credit the object party to be issued, the target party may include a plurality of target parties or one target party, and the target party may include the initiator.
In implementation, a merchant may issue points to users periodically or aperiodically, and the mechanism for triggering the issuing of the points may include various mechanisms, for example, the points may be issued to users who have purchased goods provided by the merchant, or the points may be issued to users who have purchased some specified goods provided by the merchant currently, or a point obtaining entry may be directly set in a page of the merchant, so as to trigger the issuing of the points, and the like, which may be set according to actual situations. In this embodiment, a detailed description is given by taking an example of points issued to a user who has purchased a product provided by the merchant, specifically, when a predetermined period is reached or some marketing activities are performed, information (which may include an identifier of the user) about the user who has purchased the product provided by the merchant may be obtained, from which an identifier of a target party may be obtained, and at the same time, a third number of points to be issued and the identifier of the merchant may also be obtained, and a point issue request may be generated by using the obtained information, and may be sent to a block chain node, and the block chain node may obtain the point issue request of the merchant.
In step a4, the target party is provided with the possession authority of the third amount of points of the merchant according to the identification of the target party and the identification of the merchant, and the possession authority of the third amount of points of the merchant is cancelled.
The third number may be any number, such as 10 or 50.
After the block chain node obtains the point issuing request of the merchant, the third number of the points to be issued, the identification of the target party and the identification of the merchant can be extracted from the point issuing request, the digital identity information of the merchant can be obtained through the identification of the merchant, and the number of the points owned by the merchant can be determined through the digital identity information of the merchant. The digital identity information of the target party can be obtained through the identification of the target party, and then the possession authority of the third number of points in the points owned by the merchant can be provided for the target party, and the possession authority of the merchant for the third number of points can be cancelled. So that the target party may receive a third amount of points issued by the merchant.
In addition to obtaining points by the way of issuing points by the merchant, a corresponding number of points can be obtained by the way of redeeming the points, and the following also provides a point obtaining way, which may specifically include the following: obtaining a redemption request for a fourth quantity of resources; and exchanging the fourth quantity of resources into a fifth quantity of points corresponding to the fourth quantity based on a preset point exchange rule, providing the occupation right of the exchanged fifth quantity of points to the initiator of the resource transfer request, and canceling the occupation right of the initiator to the fourth quantity of resources.
The point redemption rule may be a rule that the points are equivalently redeemed with other types of resources, specifically, 1 yuan may be redeemed for 10 points, and the like.
In implementation, when the points are required to be exchanged, the initiator may calculate, in advance, the number of points (that is, a fifth number) required to be exchanged according to a point exchange rule, and determine a fourth number of resources required to correspond to the fifth number, and after the above processing is completed, an exchange request for the fourth number of resources may be generated through the fourth number and the fifth number, and the exchange request may be provided to the blockchain node. The blockchain node can extract a fourth quantity and a fifth quantity from the exchange request, then can determine whether the fourth quantity and the fifth quantity are accurate through a preset point exchange rule, if so, the fourth quantity of resources are exchanged into the fifth quantity of points corresponding to the fourth quantity, the occupation right of the exchanged fifth quantity of points is provided for the initiator of the resource transfer request, and the occupation right of the initiator on the fourth quantity of resources is cancelled.
In addition, the initiator may also exchange the points for other resources, such as may exchange the points for currency or coupons, etc., and an alternative processing method is provided below, which may specifically include the processing of step B2 and step B4 below.
In step B2, a redemption request for a second quantity of points is received.
In implementation, in addition to the point issuing manner of the merchant, the point may be obtained in a corresponding number by a point redemption manner, specifically, when the point redemption is required, the initiator may calculate, in advance, the number of points (that is, the second number) to be redeemed according to a point redemption rule, and determine the resource of the resource transfer value corresponding to the second number, and after the processing is completed, a redemption request for the point in the second number may be generated by the second number and the resource transfer value corresponding to the second number, and the redemption request may be provided to the blockchain node.
In step B4, based on a predetermined point exchange rule, a second number of points are exchanged for a resource of a resource transfer value corresponding to the second number, and the occupation right of the resource transfer value obtained by exchange is provided to the initiator of the resource transfer request, so as to cancel the occupation right of the initiator for the second number of points.
In implementation, the block node may extract the second quantity and the resource transfer value corresponding to the second quantity from the exchange request, and then, may determine whether the second quantity and the resource transfer value corresponding to the second quantity are accurate through a predetermined point exchange rule, if so, exchange the point of the second quantity for the resource of the resource transfer value corresponding to the second quantity, and provide the occupation right of the resource of the exchanged resource transfer value to the initiator of the resource transfer request, so as to cancel the occupation right of the initiator for the point of the second quantity.
In practical applications, the initiator may perform processes such as returning goods, and the processes of steps S214 to S218 described below may be performed for this purpose.
In step S214, a transaction rollback request for the target object is received, where the transaction rollback request includes a first number of points required for performing a transaction for the target object and a resource transfer information sheet for performing a resource transfer process for the target object.
The resource transfer information sheet may be a record sheet for recording related information involved in the resource transfer process, and the resource transfer information sheet may specifically be an order or the like.
In implementation, if the initiator is not satisfied with the target object or no longer needs the target object, the target object may be backed, at this time, the initiator may initiate a request such as return of goods through the terminal device, the terminal device may obtain the first number of points required for performing a transaction on the target object, a resource transfer information sheet for performing resource transfer processing on the target object, and other relevant information, may generate a transaction back request for the target object based on the obtained information, and may provide the transaction back request to the blockchain node, so that the blockchain node may obtain the transaction back request for the target object.
In step S216, it is inquired whether a resource transfer information sheet for performing resource transfer processing on the target object is stored in advance, and the number of points transferred to the exchange for performing the transaction on the target object is acquired.
In implementation, after acquiring a transaction rollback request for a target object, a block link point may determine whether the transaction exists, at this time, the block link point may search whether a resource transfer information sheet for performing resource transfer processing on the target object exists from the pre-selected and stored resource transfer information sheets, and if the resource transfer information sheet for performing resource transfer processing on the target object is found, it indicates that the transaction exists, and at this time, the number of points transferred for performing transaction on the target object may be acquired.
In step S218, if the resource transfer information sheet is queried and the number of credits transferred for conducting a transaction on the target object is a first number, the possession authority of the first number of credits of the merchant is provided to the initiator, and the possession authority of the merchant on the first number of credits is cancelled.
In implementation, if the resource transfer information sheet is queried, it indicates that the transaction exists, at this time, the number of credits transferred for performing the transaction on the target object may be acquired, and if the acquired number of credits transferred for performing the transaction on the target object is the first number, the possession authority of the first number of credits of the merchant may be provided to the initiator, and the possession authority of the first number of credits of the merchant may be cancelled. If the resource transfer information sheet is inquired, but the number of the acquired points transferred by trading the target object is not equal to the first number, a notification message of failure of transaction rollback can be sent to the initiator, and if the resource transfer information sheet is not inquired, a notification message of failure of transaction rollback can also be sent to the initiator.
The embodiment of the specification provides a resource transfer method based on a block chain, which is applied to a block chain node, determines whether the block chain comprises an identifier of an initiator of a resource transfer request contained in the resource transfer request of a target object, and performs resource transfer processing through points corresponding to digital identity information of the initiator under the condition that the block chain can comprise the identifier of the initiator, so as to provide a novel resource transfer mode, enrich the current resource transfer types, in addition, the initiator or a merchant can perform resource transfer processing directly through the digital identity information without registering corresponding resource accounts in advance, thereby greatly improving the resource transfer efficiency, simultaneously, because the related information of the corresponding resource accounts is not required to be set or stored for different users in advance, thus, memory resources required for information storage and processing pressure of the blockchain node can be saved.
In addition, under the condition that the initiator and the merchant both have resource accounts, resource transfer processing can be carried out through the resource accounts, the initiator can also initiate a transaction rollback request to the target object, and the block chain nodes can realize the rollback processing of the target object and the points.
EXAMPLE III
Based on the same idea, the block chain-based resource transfer method provided in the embodiment of the present specification further provides a block chain-based resource transfer device, as shown in fig. 3.
The resource transfer device based on the block chain comprises: a resource transfer request module 301, an identity information obtaining module 302, and a first resource transfer module 303, where:
a resource transfer request module 301, configured to receive a resource transfer request for a target object, where the resource transfer request includes a first number of points required for performing a transaction on the target object and an identifier of an initiator of the resource transfer request;
an identity information obtaining module 302, configured to obtain digital identity information of the initiator of the resource transfer request if the blockchain includes the identifier of the initiator;
the first resource transfer module 303 is configured to provide the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs, so as to perform resource transfer processing on the target object.
In this embodiment of this specification, the identity information obtaining module 302 includes:
the query unit is used for querying whether the block chain contains the identifier of the initiator;
an account acquisition unit, configured to acquire a resource account pre-registered by the initiator of the resource transfer request if the blockchain includes the identifier of the initiator;
and the identity information acquisition unit is used for acquiring the digital identity information of the initiator of the resource transfer request if the resource account registered in advance by the initiator of the resource transfer request is not acquired.
In an embodiment of this specification, the apparatus further includes:
and the second resource transfer module is used for providing the occupation permission of the first number of points in the resource account of the initiator of the resource transfer request to the merchant to which the target object belongs if the resource account registered in advance by the initiator of the resource transfer request is obtained.
In an embodiment of this specification, the apparatus further includes:
a redemption request module to receive a redemption request for a second number of points;
and the exchange module is used for exchanging the second number of points into the resources of the resource transfer value corresponding to the second number based on a preset point exchange rule, providing the occupation authority of the resources of the resource transfer value obtained by exchange to the initiator of the resource transfer request, and canceling the occupation authority of the initiator on the second number of points.
In an embodiment of this specification, the apparatus further includes:
the point issuing request module is used for acquiring a point issuing request of the merchant, wherein the point issuing request comprises a third number of points to be issued, an identifier of a target party and an identifier of the merchant;
and the point issuing module is used for providing the occupation permission of the third number of points of the merchant to the target party according to the identification of the target party and the identification of the merchant and canceling the occupation permission of the third number of points of the merchant.
In this embodiment of the present specification, the first resource transfer module 303 includes:
an integral number acquisition unit that acquires the number of the integrals owned by the initiator;
and the resource transfer unit is used for selecting the credits of the first number from the credits corresponding to the digital identity information of the initiator according to preset deduction sequence information of the credits owned by the initiator if the number of the credits owned by the initiator is not less than the first number, providing the occupancy right of the selected credits of the first number to a merchant to which the target object belongs, and canceling the occupancy right of the credits of the first number by the initiator.
In an embodiment of the present specification, the preset deduction order information is information determined based on the integrated validity period information.
In an embodiment of this specification, the apparatus further includes:
a transaction rollback request module, configured to receive a transaction rollback request for the target object, where the transaction rollback request includes a first number of points required for performing a transaction on the target object and a resource transfer information sheet for performing resource transfer processing on the target object;
the processing module is used for inquiring whether a resource transfer information sheet for carrying out resource transfer processing on the target object is stored in advance or not and acquiring the number of points transferred by trading the target object;
and the third resource transfer module is used for providing the occupation authority of the first number of points of the merchant to the initiator and canceling the occupation authority of the merchant to the first number of points if the resource transfer information sheet is inquired and the number of the points transferred by trading the target object is the first number.
The embodiment of the present specification provides a resource transfer device based on a block chain, which determines whether a block chain includes an identifier of an initiator of a resource transfer request included in a resource transfer request of a target object, and performs resource transfer processing through points corresponding to digital identity information of the initiator under the condition that the block chain can include the identifier of the initiator, thereby providing a novel resource transfer mode, enriching current resource transfer types, and furthermore, an initiator or a merchant can perform resource transfer processing directly through the digital identity information without registering a corresponding resource account in advance, thereby greatly improving resource transfer efficiency, and meanwhile, since it is not necessary to set or store related information of the corresponding resource account for different users in advance, it is possible to save storage resources required by information storage, and processing pressure of blockchain nodes.
In addition, under the condition that the initiator and the merchant both have resource accounts, resource transfer processing can be carried out through the resource accounts, the initiator can also initiate a transaction rollback request to the target object, and the block chain nodes can realize the rollback processing of the target object and the points.
Example four
Based on the same idea, the block chain-based resource transfer apparatus provided in the embodiment of the present specification further provides a block chain-based resource transfer device, as shown in fig. 4.
The resource transfer device based on the block chain may be the block chain node provided in the above embodiment, and the block chain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone and a tablet computer, or may be a device such as a personal computer. The server may be an independent server, or a server cluster formed by a plurality of servers, and the server may be a background server of a certain service (such as a transaction service), or a background server of an application (such as a shopping application provided by a certain brand).
A blockchain-based resource transfer device may vary significantly due to configuration or performance, and may include one or more processors 401 and memory 402, where the memory 402 may store one or more stored applications or data. Wherein memory 402 may be transient or persistent. The application program stored in memory 402 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for a blockchain-based resource transfer device. Still further, the processor 401 may be configured to communicate with the memory 402 to execute a series of computer-executable instructions in the memory 402 on a blockchain based resource transfer device. The blockchain-based resource transfer apparatus may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input-output interfaces 405, one or more keyboards 406.
In particular, in this embodiment, the blockchain based resource transfer device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the blockchain based resource transfer device, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
receiving a resource transfer request for a target object, wherein the resource transfer request comprises a first number of points required for trading the target object and an identifier of an initiator of the resource transfer request;
if the block chain contains the identifier of the initiator, acquiring the digital identity information of the initiator of the resource transfer request;
and providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs so as to transfer the resources of the target object.
In this embodiment of the present specification, the acquiring digital identity information of the initiator of the resource transfer request if the blockchain includes the identifier of the initiator includes:
inquiring whether the block chain contains the identifier of the initiator;
if the block chain contains the identifier of the initiator, acquiring a resource account pre-registered by the initiator of the resource transfer request;
and if the resource account pre-registered by the initiator of the resource transfer request is not acquired, acquiring the digital identity information of the initiator of the resource transfer request.
In the embodiment of this specification, the method further includes:
and if the resource account registered in advance by the initiator of the resource transfer request is acquired, providing the occupation permission of the first number of points in the resource account of the initiator of the resource transfer request to the merchant to which the target object belongs.
In the embodiment of this specification, the method further includes:
receiving a redemption request for a second amount of points;
and exchanging the second amount of points into resources of resource transfer values corresponding to the second amount based on a preset point exchange rule, providing the occupation permission of the resources of the resource transfer values obtained by exchange to the initiator of the resource transfer request, and canceling the occupation permission of the initiator on the second amount of points.
In the embodiment of this specification, the method further includes:
acquiring a credit issuing request of the merchant, wherein the credit issuing request comprises a third number of credits to be issued, an identifier of a target party and an identifier of the merchant;
and providing the occupation permission of the third number of points of the merchant to the target party according to the identifier of the target party and the identifier of the merchant, and canceling the occupation permission of the third number of points of the merchant.
In this embodiment of the present specification, the providing, to a merchant to which the target object belongs, an occupation right of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to perform resource transfer processing on the target object includes:
acquiring the number of points owned by the initiator;
if the number of the credits owned by the initiator is not less than the first number, selecting the credits of the first number from the credits corresponding to the digital identity information of the initiator according to preset deduction sequence information of the credits owned by the initiator, providing the occupation authority of the selected credits of the first number to the merchant to which the target object belongs, and canceling the occupation authority of the initiator on the credits of the first number.
In an embodiment of the present specification, the preset deduction order information is information determined based on the integrated validity period information.
In the embodiment of this specification, the method further includes:
receiving a transaction rollback request for the target object, wherein the transaction rollback request comprises a first number of points required for performing transaction on the target object and a resource transfer information sheet for performing resource transfer processing on the target object;
inquiring whether a resource transfer information sheet for carrying out resource transfer processing on the target object is stored in advance, and acquiring the number of points transferred by trading the target object;
if the resource transfer information sheet is inquired and the number of the points transferred by the transaction of the target object is the first number, the occupation right of the first number of the points of the merchant is provided for the initiator, and the occupation right of the merchant to the first number of the points is cancelled.
The embodiment of the present specification provides a resource transfer device based on a block chain, which determines whether a block chain includes an identifier of an initiator of a resource transfer request included in a resource transfer request of a target object, and performs resource transfer processing through points corresponding to digital identity information of the initiator under the condition that the block chain can include the identifier of the initiator, thereby providing a novel resource transfer mode, enriching current resource transfer types, and furthermore, an initiator or a merchant can perform resource transfer processing directly through the digital identity information without registering a corresponding resource account in advance, thereby greatly improving resource transfer efficiency, and meanwhile, since it is not necessary to set or store related information of the corresponding resource account for different users in advance, it is possible to save storage resources required by information storage, and processing pressure of blockchain nodes.
In addition, under the condition that the initiator and the merchant both have resource accounts, resource transfer processing can be carried out through the resource accounts, the initiator can also initiate a transaction rollback request to the target object, and the block chain nodes can realize the rollback processing of the target object and the points.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 th generation of 20 th century, it is obvious that improvements in Hardware (for example, improvements in Circuit structures such as diodes, transistors and switches) or software (for improvement in method flow) can be distinguished for a technical improvement, however, as technology develops, many of the improvements in method flow today can be regarded as direct improvements in Hardware Circuit structures, designers almost all obtain corresponding Hardware Circuit structures by Programming the improved method flow into Hardware circuits, and therefore, it cannot be said that an improvement in method flow cannot be realized by Hardware entity modules, for example, Programmable logic devices (Programmable logic devices L organic devices, P L D) (for example, Field Programmable Gate Arrays (FPGAs) are integrated circuits whose logic functions are determined by user Programming of devices), and a digital system is "integrated" on a P L D "by self Programming of designers without requiring many kinds of integrated circuits manufactured and manufactured by special chip manufacturers to design and manufacture, and only a Hardware software is written in Hardware programs such as Hardware programs, software programs, such as Hardware programs, software, Hardware programs, software programs, Hardware programs, software, Hardware programs, software, Hardware programs, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software.
A controller may be implemented in any suitable manner, e.g., in the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers (PLC's) and embedded microcontrollers, examples of which include, but are not limited to, microcontrollers 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone L abs C8051F320, which may also be implemented as part of the control logic of a memory.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable blockchain based resource transfer device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable blockchain based resource transfer device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable blockchain-based resource transfer device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable block chain-based resource transfer device to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (14)

1. A resource transfer method based on a block chain is applied to a block chain node, and the method comprises the following steps:
receiving a resource transfer request for a target object, wherein the resource transfer request comprises a first number of points required for trading the target object and an identifier of an initiator of the resource transfer request;
if the block chain contains the identifier of the initiator, acquiring the digital identity information of the initiator of the resource transfer request;
and providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs so as to transfer the resources of the target object.
2. The method of claim 1, wherein if the identifier of the initiator is included in the blockchain, acquiring the digital identity information of the initiator of the resource transfer request further comprises:
inquiring whether the block chain contains the identifier of the initiator;
if the block chain contains the identifier of the initiator, acquiring a resource account pre-registered by the initiator of the resource transfer request;
and if the resource account pre-registered by the initiator of the resource transfer request is not acquired, acquiring the digital identity information of the initiator of the resource transfer request.
3. The method of claim 2, further comprising:
and if the resource account registered in advance by the initiator of the resource transfer request is acquired, providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs.
4. The method of claim 1, further comprising:
receiving a redemption request for a second amount of points;
and exchanging the second amount of points into resources of resource transfer values corresponding to the second amount based on a preset point exchange rule, providing the occupation permission of the resources of the resource transfer values obtained by exchange to the initiator of the resource transfer request, and canceling the occupation permission of the initiator on the second amount of points.
5. The method of claim 1, further comprising:
acquiring a credit issuing request of the merchant, wherein the credit issuing request comprises a third number of credits to be issued, an identifier of a target party and an identifier of the merchant;
and providing the occupation permission of the third number of points of the merchant to the target party according to the identifier of the target party and the identifier of the merchant, and canceling the occupation permission of the third number of points of the merchant.
6. The method according to claim 1, wherein the providing the ownership right of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs to perform the resource transfer process on the target object includes:
acquiring the number of points owned by the initiator;
if the number of the credits owned by the initiator is not less than the first number, selecting the credits of the first number from the credits corresponding to the digital identity information of the initiator according to preset deduction sequence information of the credits owned by the initiator, providing the occupation authority of the selected credits of the first number to the merchant to which the target object belongs, and canceling the occupation authority of the initiator on the credits of the first number.
7. The method of claim 6, wherein the preset deduction order information is information determined based on the integrated expiration date information.
8. The method of claim 1, further comprising:
receiving a transaction rollback request for the target object, wherein the transaction rollback request comprises a first number of points required for performing transaction on the target object and a resource transfer information sheet for performing resource transfer processing on the target object;
inquiring whether a resource transfer information sheet for carrying out resource transfer processing on the target object is stored in advance, and acquiring the number of points transferred by trading the target object;
if the resource transfer information sheet is inquired and the number of the points transferred by the transaction of the target object is the first number, the occupation right of the first number of the points of the merchant is provided for the initiator, and the occupation right of the merchant to the first number of the points is cancelled.
9. An apparatus for block chain based resource transfer, the apparatus comprising:
the resource transfer request module is used for receiving a resource transfer request for a target object, wherein the resource transfer request comprises a first number of points required for trading of the target object and an identifier of an initiator of the resource transfer request;
the identity information acquisition module is used for acquiring the digital identity information of the initiator of the resource transfer request if the block chain contains the identifier of the initiator;
the first resource transfer module is used for providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs so as to transfer the resources of the target object.
10. The apparatus of claim 9, the identity information acquisition module comprising:
the query unit is used for querying whether the block chain contains the identifier of the initiator;
an account acquisition unit, configured to acquire a resource account pre-registered by the initiator of the resource transfer request if the blockchain includes the identifier of the initiator;
and the identity information acquisition unit is used for acquiring the digital identity information of the initiator of the resource transfer request if the resource account registered in advance by the initiator of the resource transfer request is not acquired.
11. The apparatus of claim 10, the apparatus further comprising:
and the second resource transfer module is used for providing the occupation permission of the first number of points in the resource account of the initiator of the resource transfer request to the merchant to which the target object belongs if the resource account registered in advance by the initiator of the resource transfer request is obtained.
12. The apparatus of claim 9, the apparatus further comprising:
a redemption request module to receive a redemption request for a second number of points;
and the exchange module is used for exchanging the second number of points into the resources of the resource transfer value corresponding to the second number based on a preset point exchange rule, providing the occupation authority of the resources of the resource transfer value obtained by exchange to the initiator of the resource transfer request, and canceling the occupation authority of the initiator on the second number of points.
13. The apparatus of claim 9, the first resource transfer module, comprising:
an integral number acquisition unit that acquires the number of the integrals owned by the initiator;
and the resource transfer unit is used for selecting the credits of the first number from the credits corresponding to the digital identity information of the initiator according to preset deduction sequence information of the credits owned by the initiator if the number of the credits owned by the initiator is not less than the first number, providing the occupancy right of the selected credits of the first number to a merchant to which the target object belongs, and canceling the occupancy right of the credits of the first number by the initiator.
14. A blockchain based resource transfer device, the blockchain based resource transfer device comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a resource transfer request for a target object, wherein the resource transfer request comprises a first number of points required for trading the target object and an identifier of an initiator of the resource transfer request;
if the block chain contains the identifier of the initiator, acquiring the digital identity information of the initiator of the resource transfer request;
and providing the occupation permission of the first number of points in the points corresponding to the digital identity information of the initiator of the resource transfer request to the merchant to which the target object belongs so as to transfer the resources of the target object.
CN202010587927.5A 2020-06-24 2020-06-24 Resource transfer method, device and equipment based on block chain Active CN111489145B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202011269504.5A CN112200552B (en) 2020-06-24 2020-06-24 Resource transfer method, device and equipment based on block chain
CN202010587927.5A CN111489145B (en) 2020-06-24 2020-06-24 Resource transfer method, device and equipment based on block chain
PCT/CN2021/100773 WO2021259147A1 (en) 2020-06-24 2021-06-18 Block chain-based resource transfer method, apparatus and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010587927.5A CN111489145B (en) 2020-06-24 2020-06-24 Resource transfer method, device and equipment based on block chain

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202011269504.5A Division CN112200552B (en) 2020-06-24 2020-06-24 Resource transfer method, device and equipment based on block chain

Publications (2)

Publication Number Publication Date
CN111489145A true CN111489145A (en) 2020-08-04
CN111489145B CN111489145B (en) 2020-10-23

Family

ID=71810600

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011269504.5A Active CN112200552B (en) 2020-06-24 2020-06-24 Resource transfer method, device and equipment based on block chain
CN202010587927.5A Active CN111489145B (en) 2020-06-24 2020-06-24 Resource transfer method, device and equipment based on block chain

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202011269504.5A Active CN112200552B (en) 2020-06-24 2020-06-24 Resource transfer method, device and equipment based on block chain

Country Status (2)

Country Link
CN (2) CN112200552B (en)
WO (1) WO2021259147A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881483A (en) * 2020-08-07 2020-11-03 广州运通链达金服科技有限公司 Resource account binding method, device, equipment and medium based on block chain
CN113256321A (en) * 2021-04-12 2021-08-13 深圳市豪斯莱科技有限公司 Block chain-based point distribution and recovery system
CN113762941A (en) * 2021-09-06 2021-12-07 支付宝(杭州)信息技术有限公司 Asset management method and device based on block chain and electronic equipment
WO2021259147A1 (en) * 2020-06-24 2021-12-30 支付宝(杭州)信息技术有限公司 Block chain-based resource transfer method, apparatus and device
CN114331397A (en) * 2021-12-28 2022-04-12 北京百度网讯科技有限公司 Information processing method, device, electronic equipment and storage medium
CN114881274A (en) * 2022-05-19 2022-08-09 中国银行股份有限公司 Resource reservation method, device and equipment based on block chain

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581141A (en) * 2021-02-22 2021-03-30 支付宝(杭州)信息技术有限公司 Transaction processing method, device and system based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146573A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 Commodity integration method and its device, block chain node based on block chain
CN109636606A (en) * 2018-12-13 2019-04-16 应范物联网有限公司 Integration processing method, device and the point trading platform of point trading platform
CN110245927A (en) * 2019-06-20 2019-09-17 北京艾摩瑞策科技有限公司 A kind of integral method of commerce based on block chain
CN110264267A (en) * 2019-06-20 2019-09-20 北京艾摩瑞策科技有限公司 A kind of accumulated point exchanging method based on block chain

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105303400A (en) * 2015-09-30 2016-02-03 腾讯科技(深圳)有限公司 Resource deduction method and device
CN106779805A (en) * 2016-11-24 2017-05-31 中国银行股份有限公司 Integration circulation method and device between a kind of different businessmans based on block chain
EP3652692A4 (en) * 2018-09-19 2020-07-08 Istanbul Takas Ve Saklama Bankasi Anonim Sirketi Digitally encrypted asset transfer method based on gold
CN109658096B (en) * 2018-12-04 2023-04-28 北京创世智链信息技术研究院 Digital rights and interests proving conversion system based on block chain
CN118313829A (en) * 2018-12-14 2024-07-09 创新先进技术有限公司 Event processing method and device based on block chain and electronic equipment
CN110458612B (en) * 2019-07-25 2023-12-08 深圳市元征科技股份有限公司 Information processing method and related products
CN111163132A (en) * 2019-12-11 2020-05-15 支付宝(杭州)信息技术有限公司 Service providing method, device, equipment and system based on block chain
CN113643030B (en) * 2020-03-03 2024-05-28 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN111008841B (en) * 2020-03-05 2020-06-09 支付宝(杭州)信息技术有限公司 Service processing system, service processing method, device and equipment
CN111028084A (en) * 2020-03-11 2020-04-17 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment based on block chain
CN112200552B (en) * 2020-06-24 2022-08-16 支付宝(杭州)信息技术有限公司 Resource transfer method, device and equipment based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146573A (en) * 2018-09-05 2019-01-04 深圳正品创想科技有限公司 Commodity integration method and its device, block chain node based on block chain
CN109636606A (en) * 2018-12-13 2019-04-16 应范物联网有限公司 Integration processing method, device and the point trading platform of point trading platform
CN110245927A (en) * 2019-06-20 2019-09-17 北京艾摩瑞策科技有限公司 A kind of integral method of commerce based on block chain
CN110264267A (en) * 2019-06-20 2019-09-20 北京艾摩瑞策科技有限公司 A kind of accumulated point exchanging method based on block chain

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021259147A1 (en) * 2020-06-24 2021-12-30 支付宝(杭州)信息技术有限公司 Block chain-based resource transfer method, apparatus and device
CN111881483A (en) * 2020-08-07 2020-11-03 广州运通链达金服科技有限公司 Resource account binding method, device, equipment and medium based on block chain
CN111881483B (en) * 2020-08-07 2024-02-23 广州运通链达金服科技有限公司 Resource account binding method, device, equipment and medium based on blockchain
CN113256321A (en) * 2021-04-12 2021-08-13 深圳市豪斯莱科技有限公司 Block chain-based point distribution and recovery system
CN113762941A (en) * 2021-09-06 2021-12-07 支付宝(杭州)信息技术有限公司 Asset management method and device based on block chain and electronic equipment
CN114331397A (en) * 2021-12-28 2022-04-12 北京百度网讯科技有限公司 Information processing method, device, electronic equipment and storage medium
CN114331397B (en) * 2021-12-28 2024-02-13 北京百度网讯科技有限公司 Information processing method, apparatus, electronic device and storage medium
CN114881274A (en) * 2022-05-19 2022-08-09 中国银行股份有限公司 Resource reservation method, device and equipment based on block chain

Also Published As

Publication number Publication date
CN111489145B (en) 2020-10-23
WO2021259147A1 (en) 2021-12-30
CN112200552B (en) 2022-08-16
CN112200552A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN112200552B (en) Resource transfer method, device and equipment based on block chain
US11915332B2 (en) System and process for tokenization and management of liability
CN110020902B (en) Cross-link certificate storage method, access method, device and electronic equipment
US10489779B2 (en) Multi-network token bin routing with defined verification parameters
CN106899666B (en) Data processing method and device for service identification
CN107026838B (en) Method and device for issuing electronic certificate
US20210383396A1 (en) Systems and methods for use in facilitating application of services for purchase transactions based on tokens
CN110175916B (en) Fund flow checking method and device
CN110992162A (en) Resource processing method, device, equipment and system
US11989751B2 (en) Energy product instant rebate engine
CN106875182B (en) Service processing method and device
CN105493123A (en) Identifying media store users eligible for promotions
US20140164119A1 (en) Method and system for geocoding authorizations and financial transaction messages for location-based services
CN113222667A (en) Equity sharing processing method and device
CN109150994B (en) Hotspot data processing method and device and electronic equipment
CN106874327B (en) Counting method and device for business data
CN115330366A (en) Bill processing method and device for transaction bill
CN113497805B (en) Registration processing method, device, equipment and system
CN114297675A (en) Processing method, device, equipment and medium for auditing request of target object
WO2014205321A1 (en) Method and system for linking mobile data and transaction data for improved location based targeting
CN113795857A (en) System and method for communicating anonymized transactions between nodes of a computer network
CN111582904A (en) Information verification and cancellation system and method
CN110046954B (en) Card application processing method, device, equipment and system
CN116362735A (en) Payment method and device
CN118172054A (en) Payment processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40034126

Country of ref document: HK