WO2021164194A1 - 一种基于区块链的积分管理方法及相关装置 - Google Patents
一种基于区块链的积分管理方法及相关装置 Download PDFInfo
- Publication number
- WO2021164194A1 WO2021164194A1 PCT/CN2020/103408 CN2020103408W WO2021164194A1 WO 2021164194 A1 WO2021164194 A1 WO 2021164194A1 CN 2020103408 W CN2020103408 W CN 2020103408W WO 2021164194 A1 WO2021164194 A1 WO 2021164194A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- service
- blockchain
- ledger
- blockchain node
- quantitative value
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6227—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
Definitions
- This application relates to the field of blockchain technology, and in particular to a method and related devices for point management based on blockchain.
- the party who uploads the data can get points, and the party who queries the data deducts the points.
- the company needs to publicly upload the data and the corresponding points. The inventor realized that this would This results in enterprise data leakage and low data security. If the uploaded data and the corresponding points are not publicly disclosed, the points of each enterprise cannot be managed accurately.
- the embodiments of the present application provide a point management method and related devices based on blockchain, which are beneficial to improve data security and accurately manage points of various enterprises.
- the first aspect of the present application provides a point management method based on a blockchain.
- the blockchain includes N blockchain nodes, where N is a positive integer, and the method includes.
- the ledgers all include the accounts of the N blockchain nodes.
- the first blockchain node among the N blockchain nodes executes the first service
- it is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- a service quantitative value of a service is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- the first point is increased or decreased for the account of the first blockchain node in the point management ledger .
- the second aspect of the present application provides a point management device based on a blockchain.
- the blockchain includes N blockchain nodes, where N is a positive integer, and the device includes.
- the creation unit is configured to create a point management account book and M service record accounts on the blockchain, where M is a positive integer, the M service record accounts correspond to M types of services, and the points management account book and The M service record ledgers all include the accounts of the N blockchain nodes.
- the recording unit is configured to record the first blockchain in the first service record ledger corresponding to the first service when the first blockchain node among the N blockchain nodes executes the first service
- the node executes the service quantified value of the first service.
- the determining unit is configured to determine the first point that matches the service quantified value of the first service.
- the verification unit is configured to verify whether the service quantitative value of the first service and the first score satisfy a preset relationship.
- An update unit configured to increase or decrease the account of the first blockchain node in the point management ledger if the service quantitative value of the first service and the first point satisfy the preset relationship The first integral.
- the third aspect of the present application provides an electronic device, the electronic device includes a memory and a processor, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, and the computer program includes Program instructions, the processor is used to execute the program instructions of the memory, wherein.
- the ledgers all include the accounts of the N blockchain nodes.
- the first blockchain node among the N blockchain nodes executes the first service
- it is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- a service quantitative value of a service is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- the first point is increased or decreased for the account of the first blockchain node in the point management ledger .
- the fourth aspect of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, they are used to implement the following steps .
- the ledgers all include the accounts of the N blockchain nodes.
- the first blockchain node among the N blockchain nodes executes the first service
- it is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- a service quantitative value of a service is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- the first point is increased or decreased for the account of the first blockchain node in the point management ledger .
- points management ledgers and M service record ledgers are created on the blockchain.
- the first block of the N blockchain nodes When the first block of the N blockchain nodes is When the chain node executes the first service, it records the service quantitative value of the first blockchain node executing the first service in the first service record ledger corresponding to the first service, and determines the first point that matches the service quantitative value of the first service , Verifying whether the service quantitative value of the first service and the first points meet the preset relationship, and if the preset relationship is satisfied, the first point is increased or decreased for the account of the first blockchain node in the point management ledger.
- the service quantified value and points of the blockchain nodes are encrypted and stored, which improves the data security of the enterprise.
- the service quantified value and points are both ciphertext, the service is verified Whether the quantified value and the corresponding points meet the preset relationship, only when the preset relationship is met, the points are added or reduced for the account of the blockchain node, so that the increase or decrease of the points meets the preset relationship, and the accuracy of each The points of the enterprise are managed.
- FIG. 1 is a schematic diagram of a point management system based on blockchain provided by an embodiment of the application.
- FIG. 2 is a schematic diagram of a point management account book and a service record account book on the blockchain provided by an embodiment of the application.
- FIG. 3 is a flowchart of a point management method based on blockchain provided by an embodiment of the application.
- FIG. 4 is a flowchart of another point management method based on blockchain provided by an embodiment of the application.
- FIG. 5 is a schematic diagram of a point management device based on blockchain provided by an embodiment of the application.
- FIG. 6 is a schematic diagram of the structure of an electronic device in a hardware operating environment involved in an embodiment of the application.
- the blockchain-based point management method and related devices provided by the embodiments of the present application are beneficial to improving data security and accurately managing the points of each enterprise.
- FIG. 1 is a schematic diagram of a point management system 100 based on blockchain according to an embodiment of the application.
- the point management system 100 includes N blockchain nodes 101, where N is a positive integer, and the N blockchain nodes 101 include the first blockchain node 102.
- the ledgers all include the accounts of the N blockchain nodes 101.
- the execution of the first blockchain node 102 is recorded in the first service record ledger corresponding to the first service
- the service quantitative value of the first service Determine the first point that matches the service quantified value of the first service. It is verified whether the service quantitative value of the first service and the first point satisfy a preset relationship. If the service quantified value of the first service and the first point satisfy the preset relationship, the first blockchain node 102 account is added or reduced in the point management ledger. integral.
- the aforementioned N blockchain nodes 101 include enterprises, banks, financial institutions, etc., and the N blockchain nodes 101 are located on the blockchain, and each is an independent node on the blockchain.
- Each of the N blockchain nodes 101 has an account under the points management ledger and M service record books, and the account of the blockchain node in the service record ledger records the service quantitative value of the execution service ,
- the blockchain node records the points in the account in the points management ledger.
- the execution of the first service by the first blockchain node 102 includes that the first blockchain node 102 provides services or consumes services.
- Blockchain is a decentralized storage and computing technology. It generates durable and unmodifiable records by superimposing data blocks in chronological order, and will be included in the storage in each node of the blockchain network, so that Collectively maintain a reliable database in a decentralized manner.
- each type of service will be managed through an independent service record book.
- the service type includes provision type service and consumption type service.
- provision type service can be data entry
- consumption type service can be data query.
- the blockchain node is a financial institution, and the service provided by the financial institution is to enter credit data or query credit data.
- the credit data includes list verification data, including blacklists, graylists, and whitelists.
- the specific service provided by the financial institution is a blacklist entry
- the corresponding service record book is a blacklist entry service ledger.
- the specific service provided by the financial institution is the blacklist query
- the corresponding service record book is the blacklist query service account.
- Point management is carried out through a point management ledger.
- Point management includes the increase and decrease of points, the increase of points corresponding to the type of service provided, and the decrease of points corresponding to the type of consumption service. For example, if a financial institution enters a blacklist, the financial institution You can increase the points, and if the financial institution queries the blacklist, the financial institution will reduce the points.
- the service quantified value and points of the blockchain node are encrypted and stored, which improves the data security of the enterprise. Moreover, under the condition that the service quantified value and the points are both ciphertext, the service quantified value is verified And whether the corresponding points meet the preset relationship, only when the preset relationship is met, the points will be increased or decreased for the account of the blockchain node, so that the increase or decrease of the points meets the preset relationship, and the accuracy of each enterprise is realized. Points for management.
- FIG. 2 is a schematic diagram of a point management account book and a service record account book on a blockchain provided by an embodiment of the application.
- the blockchain includes N blockchain nodes, where N is a positive integer, and the N blockchain nodes respectively correspond to N financial institutions.
- the point management ledger includes the accounts of the N financial institutions, for example, the account of the first financial institution, the account of the second financial institution, the account of the Nth financial institution, and so on.
- the M service record books include service record books 1, service record books 2, service record books M, etc., wherein each service record book in the M service record books includes accounts of the N financial institutions, for example, First financial institution account, second financial institution account, Nth financial institution account, etc.
- FIG. 3 is a flowchart of a blockchain-based point management method provided by an embodiment of the application.
- the blockchain includes N blockchain nodes, and N is a positive integer.
- a method for managing points based on blockchain provided in this embodiment may include.
- Each service record book includes the accounts of the N blockchain nodes.
- the aforementioned N blockchain nodes include enterprises, banks, financial institutions, etc., and the N blockchain nodes are located on the blockchain, and each is an independent node on the blockchain.
- Each of the N blockchain nodes has an account under the point management ledger and M service record books.
- the account of the blockchain node in the service record ledger records the quantitative value of the service that executes the service.
- the blockchain node records the points in the account in the points management ledger.
- Blockchain is a decentralized storage and computing technology. It generates durable and unmodifiable records by superimposing data blocks in chronological order, and will be included in the storage in each node of the blockchain network, so that Collectively maintain a reliable database in a decentralized manner.
- each type of service will be managed through an independent service record book.
- the service type includes provision type service and consumption type service.
- provision type service can be data entry
- consumption type service can be data query.
- the blockchain node is a financial institution, and the service provided by the financial institution is to enter credit data or query credit data.
- the credit data includes list verification data, including blacklists, graylists, and whitelists.
- the specific service provided by the financial institution is a blacklist entry
- the corresponding service record book is a blacklist entry service ledger.
- the specific service provided by the financial institution is the blacklist query
- the corresponding service record book is the blacklist query service account.
- Point management is carried out through a point management ledger.
- Point management includes the increase and decrease of points, the increase of points corresponding to the type of service provided, and the decrease of points corresponding to the type of consumption service. For example, if a financial institution enters a blacklist, the financial institution You can increase the points, and if the financial institution queries the blacklist, the financial institution will reduce the points.
- the blockchain node A creates the first ledger (the first ledger is, for example, the points management ledger), then the blockchain node A has the administrator authority for the first ledger, and the administrator authority can control the All accounts are managed. That is, when the blockchain node B uploads the credit data, the blockchain node A can add points to the account of the blockchain node B under the first ledger. When the blockchain node B queries the credit information data, the blockchain node A can reduce the points for the blockchain node B's account under the first ledger. At the same time, in addition to blockchain node A, other blockchain nodes have access to the first ledger and can view their own accounts.
- the first ledger is, for example, the points management ledger
- the blockchain has the characteristics of decentralization.
- the permissions are set, in order to prevent the problem of centralization, that is, to prevent the blockchain node A that creates the first ledger from having too much power, it can be independent and credible
- the execution of the first service by the first blockchain node includes the provision of service or consumption service by the first blockchain node.
- each type of service will be managed through an independent service record book, and the service types include providing type services and consumption type services.
- the service types include providing type services and consumption type services.
- the first service performed by the first blockchain node is a blacklist entry
- the corresponding first service record ledger is a blacklist entry service ledger
- the first blockchain node is recorded in the first service record ledger Enter the quantitative value of the blacklist.
- the first service performed by the first blockchain node is to query the blacklist
- the corresponding first service record ledger is the blacklist query service ledger
- the first blockchain node’s query blacklist is recorded in the first service record ledger. Quantized value.
- the quantitative value of the service performed by the blockchain node is encrypted and stored on the blockchain.
- the quantified value of the service performed by the blockchain node is related to the specific service performed by the blockchain.
- the blockchain node enters a blacklist on the blockchain, and entering the blacklist can be regarded as the blockchain node's execution.
- the number of entries entered into the blacklist by the blockchain node is the quantitative value of the services entered into the blacklist.
- querying the blacklist can be regarded as a specific service performed by the blockchain node.
- the blockchain node queries the number of blacklists, namely To query the service quantified value of the blacklist service.
- the first service record ledger corresponding to the first service records the quantitative value of the service provided by the first blockchain node for the first service, and the points management ledger
- the account of the first blockchain node will increase the corresponding points for the first service.
- the first service record ledger corresponding to the first service will record the quantitative value of the first service consumed by the first blockchain node, and the first area in the point management ledger
- the account of the blockchain node will reduce the corresponding points for the first service.
- the points of the first blockchain node are also encrypted and stored on the blockchain.
- the pedersen commitment encryption algorithm is mainly used.
- the ECDH elliptic curve diffie-hellman key exchange
- the account of the first blockchain node in the point management ledger will increase the corresponding points of the first service.
- the account of the first blockchain node in the point management ledger will reduce the corresponding points for the first service.
- the preset relationship is preset, and the preset relationship includes a proportional relationship, an exponential relationship, a logarithmic relationship, and the like.
- the preset relationship between the service quantitative value and the points may be different.
- the preset relationship between the quantitative value of the service and the points is: The points are 3 times the quantified value of the service.
- the preset relationship between the service quantitative value and the points is. The points are twice the quantified value of the service.
- a point management ledger and M service record ledgers are created on the blockchain.
- the node executes the first service, it records the service quantitative value of the first blockchain node executing the first service in the first service record ledger corresponding to the first service, and determines the first point that matches the service quantitative value of the first service, It is verified whether the service quantitative value of the first service and the first points meet the preset relationship, and if the preset relationship is satisfied, the first point is added or decreased for the account of the first blockchain node in the point management ledger.
- the service quantified value and points of the blockchain nodes are encrypted and stored, which improves the data security of the enterprise.
- the service quantified value and points are both ciphertext, the service is verified Whether the quantified value and the corresponding points meet the preset relationship, only when the preset relationship is met, the points are added or reduced for the account of the blockchain node, so that the increase or decrease of the points meets the preset relationship, and the accuracy of each The points of the enterprise are managed.
- FIG. 4 is a flowchart of another method for managing points based on a blockchain provided by another embodiment of the application.
- the blockchain includes N blockchain nodes, where N is a positive integer, and the N
- the blockchain node includes a first blockchain node and a second blockchain node.
- another blockchain-based point management method provided by an embodiment of the present application may include.
- M service recording ledgers correspond to M types of services
- the points management ledgers and M service recording ledgers both include the accounts of N blockchain nodes.
- the account of the blockchain node in the service record ledger records the quantitative value of the service that performs the service
- the account of the blockchain node in the point management ledger records the points.
- each type of service will be managed through an independent service record book.
- the service type includes provision type service and consumption type service.
- provision type service can be data entry
- consumption type service can be data query.
- the point management is carried out through a point management ledger.
- the point management includes the increase and decrease of points, the increase of points corresponding to the type of service provided, and the decrease of points corresponding to the type of consumption service.
- all N blockchain nodes can access the point management ledger and M service record ledgers, if the second blockchain node creates at least one of the point management ledger and M service record books ,
- the second blockchain node has administrator authority for the at least one ledger, and the administrator authority is used to allow the second blockchain node to manage all accounts in the at least one ledger.
- the second blockchain node creates the points management ledger
- the second blockchain node has administrator rights to the points management ledger
- the second blockchain node can manage all accounts under the points management ledger.
- other blockchain nodes have access to the points management ledger and can view their own accounts. Through permission control, it is possible to avoid management confusion due to multiple blockchain nodes having management permissions on the ledger, which is conducive to accurate management of the ledger.
- the first blockchain node executes the first service.
- the execution of the first service by the first blockchain node includes.
- the first blockchain node provides services or consumes services.
- the service type includes a provision type service and a consumption type service.
- the provision type service may be data entry
- the consumption type service may be data query.
- the first blockchain node is a financial institution, and the service provided by the financial institution is to enter credit data or query credit data.
- the credit data includes list verification data, including blacklist, graylist, and whitelist. List etc.
- each type of service will be managed through an independent service record book, and the service types include providing type services and consumption type services.
- the service types include providing type services and consumption type services.
- the first service executed by the first blockchain node is blacklist entry
- the corresponding first service record ledger is the blacklist entry service ledger.
- the first service performed by the first blockchain node is to query the blacklist
- the corresponding first service record ledger is the blacklist query service ledger.
- recording the quantified service value of the first blockchain node executing the first service in the first service recording ledger includes. Look up the account of the first blockchain node in the first service record book. The service quantitative value of the first service is recorded on the account of the first blockchain node.
- the quantified value of the first blockchain node entering the blacklist is recorded in the first service recording ledger.
- the first service performed by the first blockchain node is to query the blacklist, and then the quantified value of the first blockchain node to query the blacklist is recorded in the first service record book.
- the quantitative value of the service performed by the blockchain node is encrypted and stored on the blockchain.
- the quantified value of the service performed by the blockchain node is related to the specific service performed by the blockchain.
- the blockchain node enters a blacklist on the blockchain, and entering the blacklist can be regarded as the blockchain node's execution.
- the number of entries entered into the blacklist by the blockchain node is the quantitative value of the services entered into the blacklist.
- querying the blacklist can be regarded as a specific service performed by the blockchain node.
- the blockchain node queries the number of blacklists, namely To query the service quantified value of the blacklist service.
- the first service recording ledger will record the quantitative value of the service provided by the first blockchain node for the first service, and the first blockchain node in the point management ledger The account will increase the corresponding points for the first service.
- the first service recording ledger will record the quantitative value of the first blockchain node's consumption of the first service, and the account of the first blockchain node in the point management ledger will be Reduce the corresponding points for the first service.
- the first ratio is preset. Before verifying whether the product of the service quantified value of the first service and the first ratio is the same as the first point, it also includes.
- the first ratio is set according to the service type of the first service. Store the first ratio on the blockchain. Determine the identity of the first ratio. Establish a mapping relationship between the identifier of the first ratio and the storage location of the first ratio on the blockchain. Store the mapping relationship on the blockchain.
- the number of points corresponding to the service quantitative value is preset, that is, the first ratio that the service quantitative value and the first point needs to be satisfied is preset.
- the first ratio satisfied by the service quantitative value and the points is stored on the blockchain, but the first ratio is not stored in the points management ledger, nor is it stored in the service record ledger.
- the identification of the first ratio is determined, and the identification of the first ratio may be, for example, an ID number or the like. Establish a mapping relationship between the identifier of the first ratio and the storage location of the first ratio on the blockchain. In this way, for any blockchain node, as long as the identifier of the first ratio is known, the first ratio can be viewed.
- a blockchain node enters a blacklist on the blockchain, where the number of entries entered into the blacklist by the blockchain node is the service quantified value entered into the blacklist service, and the number of entries entered into the blacklist is verified and Is the product of the first proportion the same as the first integral.
- a blockchain node queries the blacklist on the blockchain, where the number of blacklist queries by the blockchain node is the service quantified value of the query blacklist service, and the number and the number of the blacklist queries are verified. Is the product of a ratio the same as the first integral.
- each of the M types of service types belongs to the first category or the second category, where the first category is a providing category and the second category is a consumption category.
- the first type of service may be data entry
- the second type of service may be data query.
- services of the first category correspond to an increase in points
- services of the second category correspond to a decrease in points.
- the services of the blockchain node entering the blacklist belong to the first category of services
- the services of the blockchain node querying the blacklist belong to the second category of services
- the services of the blockchain node applying for blacklist authorization also belong to the second category. Categories of services.
- the first service performed by the first blockchain node is to enter the blacklist, look up the account of the first blockchain node in the points management ledger, and add the first point to the account of the first blockchain node, and The increased first point meets a certain proportional relationship with the number of entries in the blacklist by the first blockchain node.
- the account of the first blockchain node is searched in the points management ledger, and the first point is reduced for the account of the first blockchain node, and The reduced first point meets a certain proportional relationship with the number of blacklist queries by the first blockchain node.
- the points will not be added to the account of the first blockchain node in the point management ledger, and in the first service Deleting the service quantified value of the first blockchain node to perform the first service in the record book indicates that the first blockchain node failed to perform the first service.
- an execution failure message is sent to the first blockchain node, where the execution failure message is used to prompt the first blockchain node to fail to execute the first service.
- the first blockchain node executes the first service
- the first block is recorded in the first service record ledger corresponding to the first service
- the chain node executes the service quantitative value of the first service, determines the first point that matches the service quantitative value of the first service, and verifies whether the product of the service quantitative value of the first service and the first ratio is the same as the first point, if the same, Then, the first point is added or reduced in the point management ledger for the account of the first blockchain node. If they are not the same, the quantitative value of the service performed by the first blockchain node for the first service is deleted in the first service record ledger.
- the service quantified value and points of the blockchain nodes are encrypted and stored, which improves the data security of the enterprise.
- the service is verified Whether the quantitative value and the corresponding points meet the preset proportional relationship. If they are satisfied, the account of the blockchain node will increase or decrease the points. If not, the blockchain node will fail to perform the service and delete the recorded service quantitative value. And does not increase or decrease the points. In this way, the increase or decrease of the service quantitative value and the points meets the preset proportional relationship, which realizes the accurate management of the points of each enterprise.
- FIG. 5 is a schematic diagram of a point management device based on a blockchain according to an embodiment of the application.
- the blockchain includes N blockchain nodes, and N is a positive integer.
- a point management device based on blockchain provided by an embodiment of the present application may include.
- the creating unit 501 is configured to create a point management account book and M service record accounts on the blockchain, where M is a positive integer, the M service record accounts correspond to M service types, and the point management account book Both the M service record ledgers include the accounts of the N blockchain nodes.
- the recording unit 502 is configured to record the first block in the first service record ledger corresponding to the first service when the first block chain node among the N block chain nodes executes the first service
- the chain node executes the service quantitative value of the first service.
- the determining unit 503 is configured to determine the first point that matches the service quantified value of the first service.
- the verification unit 504 is configured to verify whether the service quantitative value of the first service and the first score satisfy a preset relationship.
- the updating unit 505 is configured to, if the service quantitative value of the first service and the first points satisfy the preset relationship, add an account of the first blockchain node in the point management ledger or Reduce the first point.
- all of the N blockchain nodes can access the point management account book and the M service record account books, if the second blockchain node among the N blockchain nodes At least one of the points management account book and the M service record accounts is created, then the second blockchain node has administrator authority for the at least one account book, and the administrator authority is used to allow The second blockchain node manages all accounts in the at least one ledger.
- the recording unit 502 is specifically used for. Determine the service type of the first service. Determine the first service recording ledger corresponding to the service type of the first service in the M service recording ledgers. Search for the account of the first blockchain node in the first service record ledger. The service quantitative value of the first service is recorded on the account of the first blockchain node.
- the device further includes a first processing unit 506, and the setting unit 506 is used for.
- the first ratio is set according to the service type of the first service.
- the first ratio is stored on the blockchain.
- the identification of the first ratio is determined.
- a mapping relationship between the identifier of the first ratio and the storage location of the first ratio on the blockchain is established.
- the mapping relationship is stored on the blockchain.
- the verification unit 504 is specifically used for. It is verified whether the product of the service quantified value of the first service and the first ratio is the same as the first score. If the product of the service quantitative value of the first service and the first ratio is the same as the first score, it is determined that the service quantitative value of the first service and the first score satisfy the preset relationship. If the product of the service quantitative value of the first service and the first ratio is different from the first score, it is determined that the service quantitative value of the first service and the first score do not satisfy the preset relationship .
- each of the M service types belongs to the first category or the second category, and the updating unit 505 is specifically configured to use it.
- the device further includes a second processing unit 507, and the second processing unit 507 is configured to. If the service quantitative value of the first service and the first points do not satisfy the preset relationship, delete the first blockchain node's execution of the first service in the first service record book Service quantitative value. Sending an execution failure message to the first blockchain node, where the execution failure message is used to prompt the first blockchain node to fail to execute the first service.
- FIG. 6 is a schematic structural diagram of an electronic device in a hardware operating environment involved in an embodiment of the application.
- the electronic device of the hardware operating environment involved in the embodiment of the present application may include.
- the processor 601 is, for example, a CPU.
- the memory 602 optionally, the memory may be a high-speed RAM memory, or a stable memory, such as a disk memory.
- the communication interface 603 is used to implement connection and communication between the processor 601 and the memory 602.
- FIG. 6 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or a combination of certain components, or different component arrangements. .
- the memory 602 may include an operating system, a network communication module, and points management programs.
- the operating system is a program that manages and controls the hardware and software resources of an electronic device, a program that supports point management, and the operation of other software or programs.
- the network communication module is used to implement communication between various components in the memory 602 and communication with other hardware and software in the electronic device.
- the processor 601 is configured to execute the points management program stored in the memory 602, and implement the following steps.
- the ledgers all include the accounts of the N blockchain nodes.
- the first blockchain node among the N blockchain nodes executes the first service
- it is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- a service quantitative value of a service is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- the first point is increased or decreased for the account of the first blockchain node in the point management ledger .
- the computer-readable storage medium may be non-volatile or volatile.
- the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps.
- the ledgers all include the accounts of the N blockchain nodes.
- the first blockchain node among the N blockchain nodes executes the first service
- it is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- a service quantitative value of a service is recorded in the first service record ledger corresponding to the first service that the first blockchain node executes the first service.
- the first point is increased or decreased for the account of the first blockchain node in the point management ledger .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Databases & Information Systems (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
一种基于区块链的积分管理方法及相关装置。该方法包括:在区块链上创建积分管理账本和M个服务记录账本,所述M个服务记录账本与M种服务类型对应,积分管理账本和M个服务记录账本都包括N个区块链节点的账户(301);当N个区块链节点中的第一区块链节点执行第一服务时,在第一服务对应的第一服务记录账本中记录第一区块链节点执行第一服务的服务量化值(302);确定与第一服务的服务量化值匹配的第一积分(303);验证第一服务的服务量化值与第一积分是否满足预设关系(304);若第一服务的服务量化值与第一积分满足预设关系,则在积分管理账本中为第一区块链节点的账户增加或者减少第一积分(305)。该方法有利于提高数据安全性,以及准确地对各个企业的积分进行管理。
Description
本申请要求于2020年02月17日提交中国专利局、申请号为202010096181.8,发明名称为“一种基于区块链的积分管理方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及区块链技术领域,尤其涉及一种基于区块链的积分管理方法及相关装置。
随着信息化的发展,数据的安全性越来越重要,对于企业而言,每家企业都有大量的针对自己企业客户的征信数据,并且征信数据对于数据安全性要求较高。
目前,企业与企业之间进行数据共享时,上传数据方可以获得积分,查询数据方扣除积分,为了计算积分的增减,企业需要公开上传的数据以及对应的积分,发明人意识到,这样会造成企业数据泄露,数据安全性较低,如果不公开上传的数据以及对应的积分,则无法准确地对各个企业的积分进行管理。
本申请实施例提供一种基于区块链的积分管理方法及相关装置,有利于提高数据安全性,以及准确地对各个企业的积分进行管理。
本申请第一方面提供一种基于区块链的积分管理方法,所述区块链包括N个区块链节点,N为正整数,所述方法包括。
在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户。
当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值。
确定与所述第一服务的服务量化值匹配的第一积分。
验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。
若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
本申请第二方面提供了一种基于区块链的积分管理装置,所述区块链包括N个区块链节点,N为正整数,所述装置包括。
创建单元,用于在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户。
记录单元,用于当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值。
确定单元,用于确定与所述第一服务的服务量化值匹配的第一积分。
验证单元,用于验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。
更新单元,用于若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
本申请第三方面提供了一种电子设备,所述电子设备包括存储器和处理器,所述处理器、和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器用于执行所述存储器的所述程序指令,其中。
在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户。
当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值。
确定与所述第一服务的服务量化值匹配的第一积分。
验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。
若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
本申请第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被处理器执行时,用于实现以下步骤。
在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户。
当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值。
确定与所述第一服务的服务量化值匹配的第一积分。
验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。
若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
可以看到,通过本申请提出的基于区块链的积分管理方法及相关装置,在区块链上创建积分管理账本和M个服务记录账本,当N个区块链节点中的第一区块链节点执行第一服务时,在第一服务对应的第一服务记录账本中记录第一区块链节点执行第一服务的服务量化值,确定与第一服务的服务量化值匹配的第一积分,验证第一服务的服务量化值与第一积分是否满足预设关系,若满足预设关系,则在积分管理账本中为第一区块链节点的账户增加或者减少第一积分。这样,在区块链上,区块链节点的服务量化值和积分都是加密存储的,提高了企业的数据安全性,并且,在服务量化值和积分都是密文的条件下,验证服务量化值和相应的积分是否满足预设关系,只有在满足预设关系的情况下才为区块链节点的账户增加或者减少积分,使得积分的增减满足预设关系,实现了准确地对各个企业的积分进行管理。
图1为本申请实施例提供的一种基于区块链的积分管理系统的示意图。
图2为本申请实施例提供的一种区块链上积分管理账本和服务记录账本的示意图。
图3为本申请实施例提供的一种基于区块链的积分管理方法的流程图。
图4为本申请实施例提供的另一种基于区块链的积分管理方法的流程图。
图5为本申请实施例提供的一种基于区块链的积分管理装置的示意图。
图6为本申请实施例涉及的硬件运行环境的电子设备结构示意图。
本申请实施例提供的基于区块链的积分管理方法及相关装置,有利于提高数据安全性,以及准确地对各个企业的积分进行管理。
下面对本申请实施例进行详细介绍。
首先参见图1,图1为本申请实施例提供的一种基于区块链的积分管理系统100的示意图。其中,如图1所示,积分管理系统100包括N个区块链节点101,其中,N为正整数,所述N个区块链节点101包括第一区块链节点102。
在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点101的账户。当所述N个区块链节点101中的第一区块链节点102执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点102执行所述第一服务的服务量化值。确定与所述第一服务的服务量化值匹配的第一积分。验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点102的账户增加或者减少所述第一积分。
其中,上述N个区块链节点101包括企业、银行、金融机构等,该N个区块链节点101位于区块链上,各自为区块链上的独立节点。该N个区块链节点101中的每个区块链节点在积分管理账本和M个服务记录账本下都有账户,区块链节点在服务记录账本中的账户记录了执行服务的服务量化值,区块链节点在积分管理账本中的账户记录了积分。第一区块链节点102执行第一服务包括第一区块链节点102提供服务或者消费服务。区块链是一种去中心化的存储和计算技术,其通过将数据块按照时间顺序叠加而生成持久的不可修改的记录,并且将计入存储在区块链网络的各个节点中,使得以去中心化的方式集体维护一个可靠数据库。
具体的,每一种类型的服务都会通过一个独立的服务记录账本进行管理,服务类型包括提供类型服务和消费类型服务,例如,提供类型服务可以是数据录入,消费类型服务可以是数据查询。举例来说,区块链节点是金融机构,金融机构提供的服务为录入征信数据或者查询征信数据,其中,征信数据包括名单核验类数据,具体包括黑名单、灰名单和白名单等。金融机构具体提供的服务为录入黑名单,那么对应的服务记录账本为黑名单录入服务账本。金融机构具体提供的服务为查询黑名单,那么对应的服务记录账本为黑名单查询服务账本。
并且,积分管理通过一个积分管理账本进行,积分管理包括积分的增加和减少,提供类型服务对应积分的增加,消费类型服务对应积分的减少,举例来说,金融机构录入黑名单,则该金融机构可以增加积分,金融机构查询黑名单,则该金融机构减少积分。
在区块链上,区块链节点的服务量化值和积分都是加密存储的,提高了企业的数据安全性,并且,在服务量化值和积分都是密文的条件下,验证服务量化值和相应的积分是否满足预设关系,只有在满足预设关系的情况下才为区块链节点的账户增加或者减少积分,使得积分的增减满足预设关系,实现了准确地对各个企业的积分进行管理。
参见图2,图2为本申请实施例提供的一种区块链上积分管理账本和服务记录账本的示意图。如图2所示,区块链包括N个区块链节点,N为正整数,该N个区块链节点分别对应N个金融机构。在该区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,该M个服务记录账本与M种服务类型对应。该积分管理账本包括该N个金融机构的账户,例如,第一金融机构账户、第二金融机构账户、第N金融机构账户等。该M个服务记录账本包括服务记录账本1、服务记录账本2、服务记录账本M等,其中,该M个服务记录账本中的每个服务记录账本都包括该N个金融机构的账户,例如,第一金融机构账户、第二金融机构账户、第N金融机构账户等。
参见图3,图3为本申请的一个实施例提供的一种基于区块链的积分管理方法的流程图,区块链包括N个区块链节点,N为正整数。其中,如图3所示,本实施例提供的一种基于区块链的积分管理方法可以包括。
301、在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户。
其中,上述N个区块链节点包括企业、银行、金融机构等,该N个区块链节点位于区块链上,各自为区块链上的独立节点。该N个区块链节点中的每个区块链节点在积分管理账本和M个服务记录账本下都有账户,区块链节点在服务记录账本中的账户记录了执行服务的服务量化值,区块链节点在积分管理账本中的账户记录了积分。区块链是一种去中心化的存储和计算技术,其通过将数据块按照时间顺序叠加而生成持久的不可修改的记录,并且将计入存储在区块链网络的各个节点中,使得以去中心化的方式集体维护一个可靠数据库。
具体的,每一种类型的服务都会通过一个独立的服务记录账本进行管理,服务类型包括提供类型服务和消费类型服务,例如,提供类型服务可以是数据录入,消费类型服务可以是数据查询。举例来说,区块链节点是金融机构,金融机构提供的服务为录入征信数据或者查询征信数据,其中,征信数据包括名单核验类数据,具体包括黑名单、灰名单和白名单等。金融机构具体提供的服务为录入黑名单,那么对应的服务记录账本为黑名单录入服务账本。金融机构具体提供的服务为查询黑名单,那么对应的服务记录账本为黑名单查询服务账本。
并且,积分管理通过一个积分管理账本进行,积分管理包括积分的增加和减少,提供类型服务对应积分的增加,消费类型服务对应积分的减少,举例来说,金融机构录入黑名单,则该金融机构可以增加积分,金融机构查询黑名单,则该金融机构减少积分。
在区块链上,所有的区块链节点都可以访问服务记录账本和积分管理账本,但是区块链节点对账本及账本中的账户的权限不同。
具体的,如果区块链节点A创建了第一账本(第一账本例如是积分管理账本),那么区块链节点A对第一账本拥有管理员权限,管理员权限可以对第一账本下的所有账户进行管理。即当区块链节点B上传征信数据时,区块链节点A可以为第一账本下区块链节点B的账户增加积分。当区块链节点B查询征信数据时,区块链节点A可以为第一账本下区块链节点B的账户减少积分。同时,除了区块链节点A以外,其他的区块链节点对第一账本拥有访问权限,可以查看自己的账户。
可选的,区块链具有去中心化的特性,设置了权限后,为了防止中心化的问题,即防止创建第一账本的区块链节点A的权利过大,可以由独立的、有公信力的第三方来管理区块链节点A,其中,独立有公信力的第三方例如政府机构等。
302、当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值。
其中,第一区块链节点执行第一服务包括第一区块链节点提供服务或者消费服务。具体的,每一种类型的服务都会通过一个独立的服务记录账本进行管理,服务类型包括提供类型服务和消费类型服务。举例来说,第一区块链节点执行的第一服务为录入黑名单,那么对应的第一服务记录账本为黑名单录入服务账本,在该第一服务记录账本中记录第一区块链节点录入黑名单的量化值。第一区块链节点执行的第一服务为查询黑名单,那么对应的第一服务记录账本为黑名单查询服务账本,在该第一服务记录账本中记录第一区块链节点查询黑名单的量化值。
可选的,为了保证区块链节点的数据隐私安全,区块链节点执行服务的服务量化值在区块链上是加密存储的。并且,区块链节点执行服务的服务量化值与区块链具体执行的服务有关,例如,区块链节点在区块链上录入黑名单,录入黑名单即可以当做该区块链节点执行了一项具体的服务,其中,该区块链节点录入黑名单的条数,即为录入黑名单服务的服务量化值。再例如,区块链节点在区块链上查询黑名单,查询黑名单即可以当做该区块链节点执行了一项具体的服务,其中,该区块链节点查询黑名单的条数,即为查询黑名单服务的服务量化值。
303、确定与所述第一服务的服务量化值匹配的第一积分。
具体的,当第一区块链节点提供了第一服务后,该第一服务对应的第一服务记录账本会记录第一区块链节点提供第一服务的服务量化值,并且积分管理账本中第一区块链节点的账户会增加该第一服务相应的积分。当第一区块链节点消费了第一服务后,该第一服务对应的第一服务记录账本会记录第一区块链节点消费第一服务的服务量化值,并且积分管理账本中第一区块链节点的账户会减少该第一服务相应的积分。
为了保证区块链节点的数据隐私安全,第一区块链节点的积分在区块链上也是加密存储的。其中,对于账户的剩余积分,主要用到了佩德森承诺(pedersen commitment)加密算法。对于另外的一些公共信息,比如区块链节点应当增加的积分值或者应当减少的积分值,使用ECDH(elliptic curve diffie–hellman key exchange)的方式进行加密。
304、验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。
具体的,当第一区块链节点提供了第一服务后,积分管理账本中第一区块链节点的账户会增加该第一服务相应的积分。当第一区块链节点消费了第一服务后,积分管理账本中第一区块链节点的账户会减少该第一服务相应的积分。为了实现准确地对区块链节点的积分进行管理,需要验证服务量化值与对应的积分是否满足预设关系。
其中,在积分管理系统初始化阶段,预先设置该预设关系,该预设关系包括比例关系、指数关系、对数关系等。并且,对于不同服务类型的服务,服务量化值与积分的预设关系可能不同。举例来说,对于黑名单录入服务,服务量化值与积分的预设关系为。积分是服务量化值的3倍。对于白名单录入服务,服务量化值与积分的预设关系为。积分是服务量化值的2倍。
305、若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
可以看到,通过本申请实施例提出的基于区块链的积分管理方法,在区块链上创建积分管理账本和M个服务记录账本,当N个区块链节点中的第一区块链节点执行第一服务时,在第一服务对应的第一服务记录账本中记录第一区块链节点执行第一服务的服务量化值,确定与第一服务的服务量化值匹配的第一积分,验证第一服务的服务量化值与第一积分是否满足预设关系,若满足预设关系,则在积分管理账本中为第一区块链节点的账户增加或者减少第一积分。这样,在区块链上,区块链节点的服务量化值和积分都是加密存储的,提高了企业的数据安全性,并且,在服务量化值和积分都是密文的条件下,验证服务量化值和相应的积分是否满足预设关系,只有在满足预设关系的情况下才为区块链节点的账户增加或者减少积分,使得积分的增减满足预设关系,实现了准确地对各个企业的积分进行管理。
参见图4,图4为本申请的另一个实施例提供的另一种基于区块链的积分管理方法的流程图,区块链包括N个区块链节点,N为正整数,该N个区块链节点包括第一区块链节点和第二区块链节点。其中,如图4所示,本申请实施例提供的另一种基于区块链的积分管理方法可以包括。
401、在区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数。
其中,M个服务记录账本与M种服务类型对应,积分管理账本和M个服务记录账本都包括N个区块链节点的账户。区块链节点在服务记录账本中的账户记录了执行服务的服务量化值,区块链节点在积分管理账本中的账户记录了积分。
具体的,每一种类型的服务都会通过一个独立的服务记录账本进行管理,服务类型包括提供类型服务和消费类型服务,例如,提供类型服务可以是数据录入,消费类型服务可以是数据查询。并且,积分管理通过一个积分管理账本进行,积分管理包括积分的增加和减少,提供类型服务对应积分的增加,消费类型服务对应积分的减少。
在区块链上,所有的区块链节点都可以访问服务记录账本和积分管理账本,但是区块链节点对账本及账本中的账户的权限不同。
在一种可能的示例中,N个区块链节点都可以访问积分管理账本和M个服务记录账本,若第二区块链节点创建了积分管理账本和M个服务记录账本中的至少一个账本,则第二区块链节点有对该至少一个账本的管理员权限,该管理员权限用于允许第二区块链节点对该至少一个账本中的所有账户进行管理。
具体的,如果第二区块链节点创建了积分管理账本,那么第二区块链节点对积分管理账本拥有管理员权限,第二区块链节点可以对积分管理账本下的所有账户进行管理。同时,除了第二区块链节点以外,其他的区块链节点对积分管理账本拥有访问权限,可以查看自己的账户。通过权限控制,可以避免由于多个区块链节点对账本拥有管理权限导致管理混乱的情况,有利于实现准确地对账本进行管理。
402、第一区块链节点执行第一服务。
在一种可能的示例中,第一区块链节点执行第一服务包括。第一区块链节点提供服务或者消费服务。具体的,服务类型包括提供类型服务和消费类型服务,例如,提供类型服务可以是数据录入,消费类型服务可以是数据查询。举例来说,第一区块链节点是金融机构,金融机构提供的服务为录入征信数据或者查询征信数据,其中,征信数据包括名单核验类数据,具体包括黑名单、灰名单和白名单等。
403、确定该第一服务的服务类型,在M个服务记录账本中确定与第一服务的服务类型对应的第一服务记录账本。
具体的,每一种类型的服务都会通过一个独立的服务记录账本进行管理,服务类型包括提供类型服务和消费类型服务。举例来说,第一区块链节点执行的第一服务为录入黑名单,那么对应的第一服务记录账本为黑名单录入服务账本。第一区块链节点执行的第一服务为查询黑名单,那么对应的第一服务记录账本为黑名单查询服务账本。这样,通过独立的服务记录账本对不同类型的服务进行记录,有利于避免由于服务过多而出现记录混乱的情况。
404、在第一服务记录账本中记录第一区块链节点执行第一服务的服务量化值。
在一种可能的示例中,在第一服务记录账本中记录第一区块链节点执行第一服务的服务量化值包括。在第一服务记录账本中查找第一区块链节点的账户。在第一区块链节点的账户上记录第一服务的服务量化值。
举例来说,第一区块链节点执行的第一服务为录入黑名单,那么在该第一服务记录账本中记录第一区块链节点录入黑名单的量化值。第一区块链节点执行的第一服务为查询黑名单,那么在该第一服务记录账本中记录第一区块链节点查询黑名单的量化值。
可选的,为了保证区块链节点的数据隐私安全,区块链节点执行服务的服务量化值在区块链上是加密存储的。并且,区块链节点执行服务的服务量化值与区块链具体执行的服务有关,例如,区块链节点在区块链上录入黑名单,录入黑名单即可以当做该区块链节点执行了一项具体的服务,其中,该区块链节点录入黑名单的条数,即为录入黑名单服务的服务量化值。再例如,区块链节点在区块链上查询黑名单,查询黑名单即可以当做该区块链节点执行了一项具体的服务,其中,该区块链节点查询黑名单的条数,即为查询黑名单服务的服务量化值。
405、确定与第一服务的服务量化值匹配的第一积分。
具体的,当第一区块链节点提供了第一服务后,第一服务记录账本会记录第一区块链节点提供第一服务的服务量化值,并且积分管理账本中第一区块链节点的账户会增加该第一服务相应的积分。当第一区块链节点消费了第一服务后,第一服务记录账本会记录第一区块链节点消费第一服务的服务量化值,并且积分管理账本中第一区块链节点的账户会减少该第一服务相应的积分。
406、验证第一服务的服务量化值和第一比例的乘积是否与第一积分相同。
其中,第一比例为预先设置。在验证第一服务的服务量化值和第一比例的乘积是否与第一积分相同之前,还包括。根据第一服务的服务类型设置第一比例。将第一比例存储在区块链上。确定第一比例的标识。建立第一比例的标识与第一比例在区块链上的存储位置的映射关系。将映射关系存储在区块链上。
具体的,在系统初始化阶段,根据第一服务的服务类型,预先设置服务量化值对应的积分数,即预先设置服务量化值与第一积分需要满足的第一比例。其中,服务量化值与积分满足的第一比例存储在区块链上,但是第一比例不存储在积分管理账本,也不存储在服务记录账本。确定第一比例的标识,第一比例的标识例如可以是ID号码等。建立第一比例的标识与第一比例在区块链上的存储位置的映射关系。这样,对于任意一个区块链节点而言,只要知道该第一比例的标识,即可以查看该第一比例。
举例来说,区块链节点在区块链上录入黑名单,其中,该区块链节点录入黑名单的条数,即为录入黑名单服务的服务量化值,验证录入黑名单的条数和第一比例的乘积是否与第一积分相同。再例如,区块链节点在区块链上查询黑名单,其中,该区块链节点查询黑名单的条数,即为查询黑名单服务的服务量化值,验证查询黑名单的条数和第一比例的乘积是否与第一积分相同。
407、若第一服务的服务量化值和第一比例的乘积与第一积分相同,判断第一服务的服务类型所属的类别。
具体的,M种服务类型中的每种服务类型属于第一类别或者第二类别,其中,第一类别为提供类,第二类别为消费类。例如,第一类别的服务可以是数据录入,第二类别的服务可以是数据查询。并且,第一类别的服务对应积分的增加,第二类别的服务对应积分的减少。
举例来说,区块链节点录入黑名单的服务属于第一类别的服务,区块链节点查询黑名单的服务属于第二类别的服务,区块链节点申请黑名单授权的服务也属于第二类别的服务。
408、若第一服务的服务类型属于第一类别,则在积分管理账本中为第一区块链节点的账户增加第一积分。
例如,第一区块链节点执行的第一服务为录入黑名单,则在积分管理账本中查找第一区块链节点的账户,并为第一区块链节点的账户增加第一积分,并且增加的第一积分与第一区块链节点录入黑名单的条数满足一定的比例关系。
409、若第一服务的服务类型属于第二类别,则在积分管理账本中为第一区块链节点的账户减少第一积分。
例如,第一区块链节点执行的第一服务为查询黑名单,则在积分管理账本中查找第一区块链节点的账户,并为第一区块链节点的账户减少第一积分,并且减少的第一积分与第一区块链节点查询黑名单的条数满足一定的比例关系。
410、若第一服务的服务量化值和第一比例的乘积与第一积分不相同,则在第一服务记录账本中删除第一区块链节点执行第一服务的服务量化值。
具体的,若第一服务的服务量化值与第一比例的成绩与第一积分不相同,则不会在积分管理账本中为第一区块链节点的账户增加积分,并且,在第一服务记录账本中删除第一区块链节点执行第一服务的服务量化值,表示第一区块链节点执行第一服务失败。
可选的,向第一区块链节点发送执行失败消息,该执行失败消息用于提示第一区块链节点执行第一服务失败。
可以看到,通过本申请实施例提出的基于区块链的积分管理方法,当第一区块链节点执行第一服务时,在第一服务对应的第一服务记录账本中记录第一区块链节点执行第一服务的服务量化值,确定与第一服务的服务量化值匹配的第一积分,验证第一服务的服务量化值和第一比例的乘积是否与第一积分相同,若相同,则在积分管理账本中为第一区块链节点的账户增加或者减少第一积分,若不相同,则在第一服务记录账本中删除第一区块链节点执行第一服务的服务量化值。这样,在区块链上,区块链节点的服务量化值和积分都是加密存储的,提高了企业的数据安全性,并且,在服务量化值和积分都是密文的条件下,验证服务量化值和相应的积分是否满足预设的比例关系,若满足,则为区块链节点的账户增加或者减少积分,若不满足,则区块链节点执行服务失败,删除记录的服务量化值,并且不对积分进行增减。这样,服务量化值与积分的增减满足预设的比例关系,实现了准确地对各个企业的积分进行管理。
参见图5,图5为本申请的一个实施例提供的一种基于区块链的积分管理装置的示意图,区块链包括N个区块链节点,N为正整数。其中,如图5所示,本申请实施例提供的一种基于区块链的积分管理装置可以包括。
创建单元501,用于在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户。
记录单元502,用于当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值。
确定单元503,用于确定与所述第一服务的服务量化值匹配的第一积分。
验证单元504,用于验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。
更新单元505,用于若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
在一种可能的示例中,所述N个区块链节点都可以访问所述积分管理账本和所述M个服务记录账本,若所述N个区块链节点中的第二区块链节点创建了所述积分管理账本和所述M个服务记录账本中的至少一个账本,则所述第二区块链节点有对所述至少一个账本的管理员权限,所述管理员权限用于允许所述第二区块链节点对所述至少一个账本中的所有账户进行管理。
在一种可能的示例中,记录单元502具体用于。确定所述第一服务的服务类型。在所述M个服务记录账本中确定与所述第一服务的服务类型对应的所述第一服务记录账本。在所述第一服务记录账本中查找所述第一区块链节点的账户。在所述第一区块链节点的账户上记录所述第一服务的服务量化值。
在一种可能的示例中,所述装置还包括第一处理单元506,设置单元506用于。根据所述第一服务的服务类型设置第一比例。将所述第一比例存储在所述区块链上。确定所述第一比例的标识。建立所述第一比例的标识与所述第一比例在所述区块链上的存储位置的映射关系。将所述映射关系存储在所述区块链上。
在一种可能的示例中,验证单元504具体用于。验证所述第一服务的服务量化值和所述第一比例的乘积是否与所述第一积分相同。若所述第一服务的服务量化值和所述第一比例的乘积与所述第一积分相同,则确定所述第一服务的服务量化值与所述第一积分满足所述预设关系。若所述第一服务的服务量化值和所述第一比例的乘积与所述第一积分不同,则确定所述第一服务的服务量化值与所述第一积分不满足所述预设关系。
在一种可能的示例中,所述M种服务类型中的每种服务类型属于第一类别或者第二类别,更新单元505具体用于。确定所述第一服务的服务类型。若所述第一服务的服务类型属于所述第一类别,则在所述积分管理账本中为所述第一区块链节点的账户增加所述第一积分。若所述第一服务的服务类型属于所述第二类别,则在所述积分管理账本中为所述第一区块链节点的账户减少所述第一积分。
在一种可能的示例中,所述装置还包括第二处理单元507,第二处理单元507用于。若所述第一服务的服务量化值与所述第一积分不满足所述预设关系,则在所述第一服务记录账本中删除所述第一区块链节点执行所述第一服务的服务量化值。向所述第一区块链节点发送执行失败消息,所述执行失败消息用于提示所述第一区块链节点执行所述第一服务失败。
本申请基于区块链的积分管理装置的具体实施可参见上述基于区块链的积分管理方法的各实施例,在此不做赘述。
参见图6,图6为本申请的实施例涉及的硬件运行环境的电子设备结构示意图。其中,如图6所示,本申请的实施例涉及的硬件运行环境的电子设备可以包括。
处理器601,例如CPU。
存储器602,可选的,存储器可以为高速RAM存储器,也可以是稳定的存储器,例如磁盘存储器。
通信接口603,用于实现处理器601和存储器602之间的连接通信。
本领域技术人员可以理解,图6中示出的电子设备的结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图6所示,存储器602中可以包括操作系统、网络通信模块以及积分管理的程序。操作系统是管理和控制电子设备硬件和软件资源的程序,支持积分管理的程序以及其他软件或程序的运行。网络通信模块用于实现存储器602内部各组件之间的通信,以及与电子设备中其他硬件和软件之间通信。
在图6所示的电子设备中,处理器601用于执行存储器602中存储的积分管理的程序,实现以下步骤。
在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户。
当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值。
确定与所述第一服务的服务量化值匹配的第一积分。
验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。
若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
本申请电子设备的具体实施可参见上述基于区块链的积分管理方法的各实施例,在此不做赘述。
本申请的另一个实施例提供了一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性的。所述计算机可读存储介质存储有计算机程序,计算机程序被处理器执行以实现以下步骤。
在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户。
当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值。
确定与所述第一服务的服务量化值匹配的第一积分。
验证所述第一服务的服务量化值与所述第一积分是否满足预设关系。
若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
本申请计算机可读存储介质的具体实施可参见上述基于区块链的积分管理方法的各实施例,在此不做赘述。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (20)
- 一种基于区块链的积分管理方法,其中,所述区块链包括N个区块链节点,N为正整数,所述方法包括:在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户;当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值;确定与所述第一服务的服务量化值匹配的第一积分;验证所述第一服务的服务量化值与所述第一积分是否满足预设关系;若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
- 根据权利要求1所述的方法,其中,所述N个区块链节点都可以访问所述积分管理账本和所述M个服务记录账本,若所述N个区块链节点中的第二区块链节点创建了所述积分管理账本和所述M个服务记录账本中的至少一个账本,则所述第二区块链节点有对所述至少一个账本的管理员权限,所述管理员权限用于允许所述第二区块链节点对所述至少一个账本中的所有账户进行管理。
- 根据权利要求1所述的方法,其中,所述在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值包括:确定所述第一服务的服务类型;在所述M个服务记录账本中确定与所述第一服务的服务类型对应的所述第一服务记录账本;在所述第一服务记录账本中查找所述第一区块链节点的账户;在所述第一区块链节点的账户上记录所述第一服务的服务量化值。
- 根据权利要求3所述的方法,其中,所述验证所述第一服务的服务量化值与所述第一积分是否满足预设关系之前,所述方法还包括:根据所述第一服务的服务类型设置第一比例;将所述第一比例存储在所述区块链上;确定所述第一比例的标识;建立所述第一比例的标识与所述第一比例在所述区块链上的存储位置的映射关系;将所述映射关系存储在所述区块链上。
- 根据权利要求4所述的方法,其中,所述验证所述第一服务的服务量化值与所述第一积分是否满足预设关系包括:验证所述第一服务的服务量化值和所述第一比例的乘积是否与所述第一积分相同;若所述第一服务的服务量化值和所述第一比例的乘积与所述第一积分相同,则确定所述第一服务的服务量化值与所述第一积分满足所述预设关系;若所述第一服务的服务量化值和所述第一比例的乘积与所述第一积分不同,则确定所述第一服务的服务量化值与所述第一积分不满足所述预设关系。
- 根据权利要求1至5任一项所述的方法,其中,所述M种服务类型中的每种服务类型属于第一类别或者第二类别,所述在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分包括:确定所述第一服务的服务类型;若所述第一服务的服务类型属于所述第一类别,则在所述积分管理账本中为所述第一区块链节点的账户增加所述第一积分;若所述第一服务的服务类型属于所述第二类别,则在所述积分管理账本中为所述第一区块链节点的账户减少所述第一积分。
- 根据权利要求1所述的方法,其中,所述方法还包括:若所述第一服务的服务量化值与所述第一积分不满足所述预设关系,则在所述第一服务记录账本中删除所述第一区块链节点执行所述第一服务的服务量化值;向所述第一区块链节点发送执行失败消息,所述执行失败消息用于提示所述第一区块链节点执行所述第一服务失败。
- 一种基于区块链的积分管理装置,其中,所述区块链包括N个区块链节点,N为正整数,所述装置包括:创建单元,用于在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户;记录单元,用于当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值;确定单元,用于确定与所述第一服务的服务量化值匹配的第一积分;验证单元,用于验证所述第一服务的服务量化值与所述第一积分是否满足预设关系;更新单元,用于若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
- 一种电子设备,其中,所述电子设备包括存储器和处理器,所述处理器、和所述存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器用于执行所述存储器的所述程序指令,其中:在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户;当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值;确定与所述第一服务的服务量化值匹配的第一积分;验证所述第一服务的服务量化值与所述第一积分是否满足预设关系;若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
- 根据权利要求9所述的电子设备,其中,所述N个区块链节点都可以访问所述积分管理账本和所述M个服务记录账本,若所述N个区块链节点中的第二区块链节点创建了所述积分管理账本和所述M个服务记录账本中的至少一个账本,则所述第二区块链节点有对所述至少一个账本的管理员权限,所述管理员权限用于允许所述第二区块链节点对所述至少一个账本中的所有账户进行管理。
- 根据权利要求9所述的电子设备,其中,所述处理器用于:确定所述第一服务的服务类型;在所述M个服务记录账本中确定与所述第一服务的服务类型对应的所述第一服务记录账本;在所述第一服务记录账本中查找所述第一区块链节点的账户;在所述第一区块链节点的账户上记录所述第一服务的服务量化值。
- 根据权利要求11所述的电子设备,其中,所述处理器用于:根据所述第一服务的服务类型设置第一比例;将所述第一比例存储在所述区块链上;确定所述第一比例的标识;建立所述第一比例的标识与所述第一比例在所述区块链上的存储位置的映射关系;将所述映射关系存储在所述区块链上。
- 根据权利要求12所述的电子设备,其中,所述处理器用于:验证所述第一服务的服务量化值和所述第一比例的乘积是否与所述第一积分相同;若所述第一服务的服务量化值和所述第一比例的乘积与所述第一积分相同,则确定所述第一服务的服务量化值与所述第一积分满足所述预设关系;若所述第一服务的服务量化值和所述第一比例的乘积与所述第一积分不同,则确定所述第一服务的服务量化值与所述第一积分不满足所述预设关系。
- 根据权利要求9至13任一项所述的电子设备,其中,所述M种服务类型中的每种服务类型属于第一类别或者第二类别,所述处理器用于:确定所述第一服务的服务类型;若所述第一服务的服务类型属于所述第一类别,则在所述积分管理账本中为所述第一区块链节点的账户增加所述第一积分;若所述第一服务的服务类型属于所述第二类别,则在所述积分管理账本中为所述第一区块链节点的账户减少所述第一积分。
- 根据权利要求9所述的电子设备,其中,所述处理器用于:若所述第一服务的服务量化值与所述第一积分不满足所述预设关系,则在所述第一服务记录账本中删除所述第一区块链节点执行所述第一服务的服务量化值;向所述第一区块链节点发送执行失败消息,所述执行失败消息用于提示所述第一区块链节点执行所述第一服务失败。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被处理器执行时,用于实现以下步骤:在所述区块链上创建积分管理账本和M个服务记录账本,其中,M为正整数,所述M个服务记录账本与M种服务类型对应,所述积分管理账本和所述M个服务记录账本都包括所述N个区块链节点的账户;当所述N个区块链节点中的第一区块链节点执行第一服务时,在所述第一服务对应的第一服务记录账本中记录所述第一区块链节点执行所述第一服务的服务量化值;确定与所述第一服务的服务量化值匹配的第一积分;验证所述第一服务的服务量化值与所述第一积分是否满足预设关系;若所述第一服务的服务量化值与所述第一积分满足所述预设关系,则在所述积分管理账本中为所述第一区块链节点的账户增加或者减少所述第一积分。
- 根据权利要求16所述的计算机可读存储介质,其中,所述N个区块链节点都可以访问所述积分管理账本和所述M个服务记录账本,若所述N个区块链节点中的第二区块链节点创建了所述积分管理账本和所述M个服务记录账本中的至少一个账本,则所述第二区块链节点有对所述至少一个账本的管理员权限,所述管理员权限用于允许所述第二区块链节点对所述至少一个账本中的所有账户进行管理。
- 根据权利要求16所述的计算机可读存储介质,其中,所述程序指令被处理器执行时,还用于实现以下步骤:确定所述第一服务的服务类型;在所述M个服务记录账本中确定与所述第一服务的服务类型对应的所述第一服务记录账本;在所述第一服务记录账本中查找所述第一区块链节点的账户;在所述第一区块链节点的账户上记录所述第一服务的服务量化值。
- 根据权利要求18所述的计算机可读存储介质,其中,所述程序指令被处理器执行时,还用于实现以下步骤:根据所述第一服务的服务类型设置第一比例;将所述第一比例存储在所述区块链上;确定所述第一比例的标识;建立所述第一比例的标识与所述第一比例在所述区块链上的存储位置的映射关系;将所述映射关系存储在所述区块链上。
- 根据权利要求19所述的计算机可读存储介质,其中,所述程序指令被处理器执行时,还用于实现以下步骤:验证所述第一服务的服务量化值和所述第一比例的乘积是否与所述第一积分相同;若所述第一服务的服务量化值和所述第一比例的乘积与所述第一积分相同,则确定所述第一服务的服务量化值与所述第一积分满足所述预设关系;若所述第一服务的服务量化值和所述第一比例的乘积与所述第一积分不同,则确定所述第一服务的服务量化值与所述第一积分不满足所述预设关系。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010096181.8A CN111368311A (zh) | 2020-02-17 | 2020-02-17 | 一种基于区块链的积分管理方法及相关装置 |
CN202010096181.8 | 2020-02-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021164194A1 true WO2021164194A1 (zh) | 2021-08-26 |
Family
ID=71206264
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/103408 WO2021164194A1 (zh) | 2020-02-17 | 2020-07-22 | 一种基于区块链的积分管理方法及相关装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111368311A (zh) |
WO (1) | WO2021164194A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116258521A (zh) * | 2022-12-02 | 2023-06-13 | 东莞盟大集团有限公司 | 基于区块链技术的二级节点标识应用积分管理方法 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111368311A (zh) * | 2020-02-17 | 2020-07-03 | 深圳壹账通智能科技有限公司 | 一种基于区块链的积分管理方法及相关装置 |
CN112184246A (zh) * | 2020-10-13 | 2021-01-05 | 深圳壹账通智能科技有限公司 | 账本管理方法、装置、设备以及存储介质 |
CN112581136B (zh) * | 2020-12-28 | 2024-08-30 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | 区块链的块数据结构、账本数据结构、管理方法及装置 |
CN113421178B (zh) * | 2021-06-10 | 2024-05-10 | 上海骑士征途科技服务有限公司 | 积分流通方法、装置、设备和存储介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109242663A (zh) * | 2018-09-05 | 2019-01-18 | 金蝶软件(中国)有限公司 | 一种基于区块链技术的记账方法及系统 |
CN110334525A (zh) * | 2019-05-23 | 2019-10-15 | 积惠多(北京)科技有限公司 | 一种基于区块链多层联盟式账户管理系统及方法 |
CN110472958A (zh) * | 2019-08-26 | 2019-11-19 | 山东望天信息科技有限公司 | 基于区块链智能合约和墨客子链的账户积分安全保障方法 |
CN110555312A (zh) * | 2019-08-27 | 2019-12-10 | 北京艾摩瑞策科技有限公司 | 基于区块链向电商平台使用者发送奖励的方法及其装置 |
CN110570240A (zh) * | 2019-08-27 | 2019-12-13 | 北京艾摩瑞策科技有限公司 | 在区块链上向生活服务平台使用者发送奖励的方法及装置 |
CN110689430A (zh) * | 2019-09-17 | 2020-01-14 | 中国人民大学 | 一种基于贡献激励的区块链协作方法及系统 |
CN111368311A (zh) * | 2020-02-17 | 2020-07-03 | 深圳壹账通智能科技有限公司 | 一种基于区块链的积分管理方法及相关装置 |
-
2020
- 2020-02-17 CN CN202010096181.8A patent/CN111368311A/zh active Pending
- 2020-07-22 WO PCT/CN2020/103408 patent/WO2021164194A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109242663A (zh) * | 2018-09-05 | 2019-01-18 | 金蝶软件(中国)有限公司 | 一种基于区块链技术的记账方法及系统 |
CN110334525A (zh) * | 2019-05-23 | 2019-10-15 | 积惠多(北京)科技有限公司 | 一种基于区块链多层联盟式账户管理系统及方法 |
CN110472958A (zh) * | 2019-08-26 | 2019-11-19 | 山东望天信息科技有限公司 | 基于区块链智能合约和墨客子链的账户积分安全保障方法 |
CN110555312A (zh) * | 2019-08-27 | 2019-12-10 | 北京艾摩瑞策科技有限公司 | 基于区块链向电商平台使用者发送奖励的方法及其装置 |
CN110570240A (zh) * | 2019-08-27 | 2019-12-13 | 北京艾摩瑞策科技有限公司 | 在区块链上向生活服务平台使用者发送奖励的方法及装置 |
CN110689430A (zh) * | 2019-09-17 | 2020-01-14 | 中国人民大学 | 一种基于贡献激励的区块链协作方法及系统 |
CN111368311A (zh) * | 2020-02-17 | 2020-07-03 | 深圳壹账通智能科技有限公司 | 一种基于区块链的积分管理方法及相关装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116258521A (zh) * | 2022-12-02 | 2023-06-13 | 东莞盟大集团有限公司 | 基于区块链技术的二级节点标识应用积分管理方法 |
Also Published As
Publication number | Publication date |
---|---|
CN111368311A (zh) | 2020-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12045372B2 (en) | Securing access to confidential data using a blockchain ledger | |
US11438383B2 (en) | Controlling permissible actions a computing device can perform on a data resource based on a use policy evaluating an authorized context of the device | |
US10055561B2 (en) | Identity risk score generation and implementation | |
US20240135021A1 (en) | Integration of a block chain, managing group authority and access in an enterprise environment | |
WO2021164194A1 (zh) | 一种基于区块链的积分管理方法及相关装置 | |
WO2020207233A1 (zh) | 一种区块链的权限控制方法及装置 | |
US10356094B2 (en) | Uniqueness and auditing of a data resource through an immutable record of transactions in a hash history | |
US11757850B2 (en) | Distributed logging for securing non-repudiable multi-party transactions | |
CN111033489B (zh) | 用于数据遍历的方法和设备 | |
US20220263660A1 (en) | Authentication through use of an unforgable hash function based credential | |
JP2023524659A (ja) | 低信頼の特権アクセス管理 | |
TW202025020A (zh) | 基於區塊鏈的內容管理系統及方法、裝置、電子設備 | |
TWI812366B (zh) | 一種資料共用方法、裝置、設備及存儲介質 | |
US11900347B2 (en) | Computing system for configurable off-chain storage for blockchains | |
WO2023239849A1 (en) | Internet protocol (ip) whitelisting for signed uniform resource locators (urls) | |
Ding et al. | Enabling efficient multi-keyword search over fine-grained authorized healthcare blockchain system | |
Ghani et al. | Cloud storage architecture: research challenges and opportunities | |
KR102416336B1 (ko) | 블록체인을 관리하기 위한 장치, 방법, 시스템 및 컴퓨터 판독가능 저장 매체 | |
US20240045979A1 (en) | Blockchain managed access system | |
US20240214228A1 (en) | Blockchain based public key infrastructure | |
US20230153450A1 (en) | Privacy data management in distributed computing systems | |
CN111131254B (zh) | 文件处理方法、区块链节点、区块链和存储介质 | |
CN116346476A (zh) | 一种基于区块链的微电网终端设备交互方法、装置和设备 | |
White et al. | Security concepts for cloud computing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20920324 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07/12/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20920324 Country of ref document: EP Kind code of ref document: A1 |