WO2020147568A1 - 基于区块链的存证方法和装置 - Google Patents

基于区块链的存证方法和装置 Download PDF

Info

Publication number
WO2020147568A1
WO2020147568A1 PCT/CN2019/129824 CN2019129824W WO2020147568A1 WO 2020147568 A1 WO2020147568 A1 WO 2020147568A1 CN 2019129824 W CN2019129824 W CN 2019129824W WO 2020147568 A1 WO2020147568 A1 WO 2020147568A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain
party payment
transaction
node device
information
Prior art date
Application number
PCT/CN2019/129824
Other languages
English (en)
French (fr)
Inventor
李敏
徐惠
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2020147568A1 publication Critical patent/WO2020147568A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • 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/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Definitions

  • This specification relates to the field of data processing technology, and in particular to a blockchain-based storage method and device.
  • Blockchain technology also known as distributed ledger technology, is an emerging technology in which several computing devices participate in "bookkeeping" and jointly maintain a complete distributed database. Because the blockchain technology has the characteristics of decentralization, openness and transparency, each computing device can participate in database records, and the rapid data synchronization between computing devices, the blockchain technology has been widely used in many fields. To apply.
  • one or more embodiments of this specification provide a blockchain-based deposit method, which is applied to a blockchain system including a third-party payment service node device; the method includes:
  • the third-party payment service node device obtains third-party payment usage information of the user, and the third-party payment usage information includes the user's third-party payment account information and fund flow information based on the third-party payment account;
  • the method further includes:
  • the blockchain further includes a node device associated with a financial institution; the distributed database of the blockchain also includes a third deposit transaction sent by the node device of the associated financial institution , The third deposit certificate transaction is used to provide a certificate for the fund flow information of the third-party payment account.
  • the first deposit transaction includes a hash digest of the third-party payment usage information.
  • the second deposit transaction includes a hash digest of the user registration information.
  • the blockchain is an alliance chain; the third-party payment service node device and the associated financial institution node device are alliance member node devices of the alliance chain.
  • this specification also provides a blockchain-based deposit device, which is applied to a blockchain system including a third-party payment service node device; the device includes:
  • An acquiring unit configured to acquire third-party payment usage information of a user, the third-party payment usage information including the user's third-party payment account information and fund flow information based on the third-party payment account;
  • a generating unit configured to generate a first deposit certificate transaction based on the third-party payment usage information
  • the sending unit is configured to send the first deposit transaction to the distributed database of the blockchain, so that the first deposit transaction is recorded in the blockchain after being verified by the node device consensus of the blockchain Distributed database of blockchain.
  • the acquiring unit is further configured to acquire user registration information of the third-party payment account, where the user registration information includes user identification information;
  • the generating unit is further configured to generate a second deposit transaction based on the registration information
  • the sending unit is further configured to send the second attestation transaction to the distributed database of the blockchain, so that the second attestation transaction is included after being verified by the node device consensus of the blockchain In the distributed database of the blockchain.
  • the blockchain further includes a node device associated with a financial institution; the distributed database of the blockchain also includes a third deposit transaction sent by the node device of the associated financial institution , The third deposit certificate transaction is used to provide a certificate for the fund flow information of the third-party payment account.
  • the first deposit transaction includes a hash digest of the third-party payment usage information.
  • the second deposit transaction includes a hash digest of the user registration information.
  • the blockchain is an alliance chain; the third-party payment service node device and the associated financial institution node device are alliance member node devices of the alliance chain.
  • this specification also proposes a computer device, including: a memory and a processor; the memory stores a computer program that can be run by the processor; when the processor runs the computer program, the above-mentioned third-party payment is executed The blockchain-based storage certificate method executed by the service node device.
  • This specification also provides a computer-readable storage medium on which a computer program is stored.
  • the computer program When the computer program is run by a processor, it executes the blockchain-based deposit method executed by the third-party payment service node device.
  • the blockchain-based deposit method and device provided in this manual set the service terminal of the third-party payment institution as the node device of the blockchain, and the distributed database storage mechanism based on blockchain technology
  • the user of the third-party payment institution uses the third-party payment usage information to generate the first deposit transaction
  • the certificate is stored in the distributed database of the blockchain, which is jointly maintained by the node equipment of the blockchain system and synchronized in real time.
  • the record can be traced back; and, based on the consensus mechanism of the blockchain, the above-mentioned first deposit transaction will not be tampered with after it is provided, thus ensuring the authenticity and security of the above-mentioned first deposit transaction.
  • Judicial forensics or other applications for security transactions provide an effective data basis.
  • FIG. 1 is a schematic flowchart of a blockchain-based deposit method according to an embodiment provided in this specification
  • Figure 2 is a schematic diagram of a blockchain-based certificate storage device provided by an embodiment provided in this specification
  • Fig. 3 is a hardware structure diagram of an embodiment of the blockchain-based storage device provided in this specification.
  • the steps of the corresponding method are not necessarily performed in the order shown and described in this specification.
  • the method may include more or fewer steps than described in this specification.
  • a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may also be combined into a single step in other embodiments. description.
  • a third-party payment institution usually refers to an independent institution with certain strength and reputation guarantee.
  • the user can currently complete the asynchronous payment for the purchase of goods based on the third-party payment, and the user can transfer and receive funds between the third-party payment accounts. Payment, or transfer and collection between the user’s other financial accounts and third-party payment accounts.
  • third-party payment institutions For third-party payment institutions, if users have black-and-white transactions, the third-party payment institutions have to cooperate with the judicial institutions to investigate and collect evidence and compensate the victimized users; when the third-party payment institutions conduct judicial recovery proceedings based on their own losses, their The benefits are often less than the cost of litigation; for this problem, third-party payment institutions can only superimpose risk control strategies by continuously adding technical inputs.
  • Figure 1 is a blockchain-based deposit method shown in an embodiment provided in this specification, which is applied to a blockchain system including a third-party payment service node device
  • the third-party payment service institution described in this embodiment refers to a financial service institution that undertakes the functions of third-party payment payment, transfer and remittance; the third-party payment service node device described in this embodiment refers to the aforementioned third-party payment service institution A terminal device set up and connected to the blockchain network.
  • the blockchain described in this embodiment can specifically refer to a P2P network system with a distributed data storage structure that is reached by each node device through a consensus mechanism.
  • the data in the blockchain is distributed in time connected one by one.
  • the next block contains the data summary of the previous block, and according to the specific consensus mechanism (such as POW, POS, DPOS or PBFT, etc.), all or part of the node data Backup.
  • the specific consensus mechanism such as POW, POS, DPOS or PBFT, etc.
  • the blockchain system has the characteristics of ensuring data security and preventing attack and tampering that other centralized database systems cannot match. It can be seen that, in the embodiments provided in this specification, the data included in the distributed database of the blockchain will not be attacked or tampered with, thereby ensuring that each node device in the above-mentioned blockchain system (including the above-mentioned first The authenticity and reliability of the data information deposited by the three-party payment service node device on the above-mentioned blockchain.
  • the terminal device of the above-mentioned third-party payment service organization can join the blockchain by following the corresponding node protocol and running the installation of the node protocol program as the node device of the blockchain.
  • Those skilled in the art usually refer to a node device with full backup of the data of the blockchain distributed database as a full node, and a node device with partial backup data of the blockchain distributed database (such as data with only the block header) It is called a light node, etc.; in this embodiment, the third-party payment service node device can be the above-mentioned full node or light node, as long as it is directly or indirectly connected to the above-mentioned blockchain, and can send or obtain blockchain information Any device for data in the distributed database can be referred to as the node device described in this embodiment.
  • the above-mentioned blockchain-based deposit method includes:
  • Step 102 The third-party payment service node device obtains the third-party payment usage information of the user.
  • the third-party payment usage information includes the user's third-party payment account information and fund flow information based on the third-party payment account.
  • the third-party payment usage information of the user mentioned in this embodiment refers to the record information of the user using the third-party payment service based on his own third-party payment account; it may include the user's own third-party payment account for payment (or collection ), transfer and remittance (or receipt) and other information on the use of capital flow.
  • the above-mentioned transfer and remittance (or collection) can include the transfer and remittance (or collection) between the third-party payment accounts of multiple users, and can also include the user’s third-party payment account and accounts of other financial institutions ( For example, the transfer and remittance (or collection) between bank accounts are not limited in this manual.
  • This manual does not limit the specific method for the third-party payment service node device to obtain the third-party payment usage information of the user. It can either obtain the third-party payment usage information of the user from the user’s third-party payment service client or Other servers or terminal devices of the third-party payment service organization obtain the third-party payment usage information of the above-mentioned users, and so on.
  • Step 104 Generate a first deposit certificate transaction based on the third-party payment usage information.
  • the transfer described in this specification refers to a piece of data that is created by the node device of the blockchain and needs to be finally released to the distributed database of the blockchain.
  • transactions in the blockchain are divided into narrow transactions and broad transactions.
  • a transaction in a narrow sense refers to a transfer of value issued by a user to the blockchain; for example, in a traditional Bitcoin blockchain network, a transaction can be a transfer initiated by the user in the blockchain.
  • a transaction refers to a piece of business data with business intent released by a user to the blockchain; for example, the third-party payment service node device described in the above-mentioned embodiment of this specification is used to provide the user’s Three-party payment usage information can be recorded as a transaction; the third-party payment service node device can organize the third-party payment usage information according to the preset data content generation rules and transaction data format to convert it into a transaction. Transaction-the first deposit certificate transaction.
  • the user's third-party payment usage information can be directly organized into the first deposit transaction according to the preset transaction data format, so as to facilitate Any node device on the blockchain obtains the information content of the third-party payment usage information of the above-mentioned user.
  • the user’s third-party payment usage information can be encrypted based on preset encryption rules. , And then generate the above-mentioned first deposit transaction.
  • the foregoing preset encryption rules can have multiple setting methods, such as symmetric encryption or asymmetric encryption, which are not limited in this specification.
  • the first deposit transaction described in this embodiment may also include the hash digest of the third-party payment usage information; by depositing the hash digest of the third-party payment usage information in the distribution of the blockchain
  • the database when obtaining evidence, it can be verified whether the above-mentioned third-party payment usage information corresponds to the stored hash digest. If it corresponds, it can be proved that the above-mentioned third-party payment usage information is original information, which has not been tampered with, and has as evidence Legality.
  • Step 106 Send the first deposit transaction to the distributed database of the blockchain, so that the first deposit transaction is included in the block after being verified by the node device consensus of the blockchain Chain of distributed databases.
  • uploading the first deposit transaction to the distributed database of the blockchain includes:
  • the consensus accounting node broadcasts the candidate block to the node device of the blockchain
  • the candidate block After the candidate block is verified and approved by the blockchain in accordance with a preset number of node devices, the candidate block is regarded as the latest block and added to the distributed database of the blockchain.
  • the node device with the accounting authority refers to the node device with the authority to generate candidate blocks.
  • the consensus bookkeeping node device can be determined from the node devices with the bookkeeping authority of the candidate block.
  • the aforementioned consensus mechanism may include a proof of work mechanism (PoW) or a proof of right mechanism ( PoS), or proof of share authorization mechanism (DPoS), etc.
  • the PoS or DPoS consensus mechanism is similar to PoW, and both belong to the consensus algorithm commonly used by the public blockchain to confirm the consensus accounting node equipment.
  • the embodiments provided in this specification can also use the alliance chain architecture to construct the block chain.
  • the above-mentioned third-party payment service node devices, or institutions that supervise financial service businesses, judicial institutions, etc. can be used as pre-selected alliance member node devices of the alliance chain to participate in block accounting.
  • the consensus process of the alliance chain is also controlled by the preselected node device. When there are more than a set ratio (such as 2/3) of node devices on the network to confirm a block, the transaction or data recorded in the block will be confirmed by the entire network.
  • a master node device can be elected from each node device in the blockchain, that is, the consensus accounting node described in the above embodiment (for example, every In a round of consensus, a master node device is re-elected, and other node devices are used as slave node devices.
  • the master node device further initiates transaction verification and consensus, and is responsible for the transaction data (or target data) passed based on the consensus as the block The chain creates the latest block.
  • the PBFT algorithm is due to the high efficiency of adopting this algorithm consensus and can meet the needs of high-frequency transaction volume.
  • third-party payment The service organization generates the first deposit transaction based on the user's frequent third-party payment usage; and the consensus delay is very low, basically meeting the requirements of real-time processing, and can quickly and real-time include the above in the new block of the blockchain
  • the first deposit certificate transaction moreover, the trusted node in the alliance chain network is used as the pre-selected accounting node, which takes into account security and stability; in addition, the use of the PBFT algorithm will not consume too much computer computing resources, nor is it necessarily Token circulation is required, so it has good usability.
  • the first deposit transaction generated based on the user's third-party payment usage information is decentralized and recorded on multiple blockchain nodes In, it is jointly maintained by the blockchain nodes and synchronized in real time, and all records can be traced back; and, based on the consensus mechanism of the blockchain, the first deposit transaction provided by the third-party payment service node device will not be tampered with after it is provided.
  • any node device on the blockchain (including a third-party payment service node device or a node device of a judicial institution) can directly obtain the above-mentioned first deposit transaction from the blockchain.
  • the anti-tampering mechanism of the block chain collects evidence, thereby reducing the litigation costs of third-party payment service institutions when dealing with users' black and gray transactions.
  • the evidence deposit methods provided in this manual may also include: User registration information of the third-party payment account, where the user registration information includes the user's identification information; generating a second deposit transaction based on the registration information; sending the second deposit transaction to the distribution of the blockchain A type database, so that the second deposit transaction is included in the distributed database of the blockchain after being verified by the node device consensus of the blockchain.
  • the above-mentioned user registration information can be obtained from the user's third-party payment service client, or from other servers or terminal devices of the third-party payment service organization, etc., which is not limited in this specification.
  • the above-mentioned user identification information may include personal user ID information, or business license information of enterprise users, as well as biological identification information of individual users, or biological identification information of relevant responsible persons of enterprise users, and so on.
  • the user’s third-party payment service client can obtain the user’s facial information, fingerprint information, or voiceprint information and other biological identification information through various collection methods, or it can obtain the user by scanning a card or manually entering it. And send the collected information to the server or terminal device of the third-party payment service institution.
  • the second deposit transaction described in the above embodiments may include the original text of the user registration information, or the encrypted cipher text of the user registration information, or the hash digest of the user registration information, etc.
  • One or more types of information By adopting the method of encrypting the identification information or converting the identification information into a hash digest, the original text of the above-mentioned identification information can be preserved and information leakage can be prevented.
  • the above-mentioned blockchain also includes node devices of associated financial institutions.
  • the associated financial institutions refer to financial institutions that have a fund circulation relationship with the above-mentioned third-party payment service institutions, and may include various banking institutions;
  • the distributed database of the blockchain also contains the third deposit transaction sent by the node device of the associated financial institution, and the third deposit transaction is used to provide a voucher for the fund flow information of the third-party payment account, for example,
  • the third deposit certificate transaction can be the user's account change information in the associated financial institution, which is used to provide the account notification or the fund transfer information included in the third-party payment usage information of the above-mentioned user based on the fund flow information of the third-party payment account. Notice etc.
  • the specific process of recording the third certificate transaction in the distributed database of the blockchain described in the above embodiment may be similar to the process of recording the first certificate transaction in the distributed database of the blockchain. This will not be repeated here.
  • the above-mentioned blockchain is an alliance chain; the above-mentioned third-party payment service node equipment and the above-mentioned associated financial institution node equipment can be alliance member node equipment of the alliance chain and participate in the construction of the above-mentioned alliance chain; It can be used as the node device preselected by the aforementioned alliance chain to participate in the consensus accounting of the aforementioned first deposit certificate transaction, second deposit certificate transaction, or third deposit certificate transaction.
  • the embodiment of this specification also provides a blockchain-based certificate storage device 20.
  • the device 20 can be implemented by software, or can be implemented by hardware or a combination of software and hardware. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions into the memory by the CPU (Central Process Unit, central processing unit) of the device where it is located. From a hardware perspective, in addition to the CPU, memory, and storage shown in Figure 3, the device where the network risk business is implemented usually includes other hardware such as chips for wireless signal transmission and reception, and/or Other hardware such as boards with network communication functions.
  • CPU Central Process Unit, central processing unit
  • Figure 2 shows that this specification also provides a blockchain-based deposit device 20, which is applied to a blockchain system including a third-party payment service node device; the device 20 includes:
  • the obtaining unit 202 is configured to obtain third-party payment usage information of the user, where the third-party payment usage information includes the user's third-party payment account information and fund flow information based on the third-party payment account;
  • the generating unit 204 is configured to generate a first deposit certificate transaction based on the third-party payment usage information
  • the sending unit 206 is configured to send the first deposit certificate transaction to the distributed database of the blockchain, so that the first deposit transaction is included in the blockchain after being verified by the node device consensus of the blockchain.
  • the distributed database of the blockchain is configured to send the first deposit certificate transaction to the distributed database of the blockchain, so that the first deposit transaction is included in the blockchain after being verified by the node device consensus of the blockchain.
  • the obtaining unit 202 is further configured to obtain user registration information of the third-party payment account, where the user registration information includes user identification information;
  • the generating unit 204 is further configured to generate a second deposit certificate transaction based on the registration information
  • the sending unit 206 is further configured to send the second deposit transaction to the distributed database of the blockchain, so that the second deposit transaction will be verified by the node device consensus of the blockchain. Included in the distributed database of the blockchain.
  • the blockchain further includes a node device associated with a financial institution; the distributed database of the blockchain also includes a third deposit transaction sent by the node device of the associated financial institution , The third deposit certificate transaction is used to provide a certificate for the fund flow information of the third-party payment account.
  • the first deposit transaction includes a hash digest of the third-party payment usage information.
  • the second deposit transaction includes a hash digest of the user registration information.
  • the blockchain is an alliance chain; the third-party payment service node device and the associated financial institution node device are alliance member node devices of the alliance chain.
  • the device embodiments described above are merely illustrative.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network modules. Some or all of the units or modules can be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement it without creative work.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game control Desk, tablet computer, wearable device, or any combination of these devices.
  • the embodiment of this specification also provides a computer device.
  • the computer device includes a memory and a processor.
  • the memory stores a computer program that can be run by the processor; when the processor runs the stored computer program, it executes each of the blockchain-based deposit methods executed by the third-party payment service node device in the embodiments of this specification. step.
  • the processor runs the stored computer program, it executes each of the blockchain-based deposit methods executed by the third-party payment service node device in the embodiments of this specification. step.
  • step For a detailed description of each step of the blockchain-based deposit method executed by the third-party payment service node device, please refer to the previous content and will not be repeated.
  • the embodiments of this specification also provide a computer-readable storage medium on which computer programs are stored. These computer programs, when run by a processor, execute the first step in the embodiments of this specification.
  • Each step of the blockchain-based deposit certificate method executed by the three-party payment service node device executes the first step in the embodiments of this specification.
  • Each step of the blockchain-based deposit certificate method executed by the three-party payment service node device executes the first step in the embodiments of this specification.
  • Each step of the blockchain-based deposit certificate method executed by the three-party payment service node device For a detailed description of each step of the blockchain-based deposit method executed by the third-party payment service node device, please refer to the previous content and will not be repeated.
  • the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent 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 computer-readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media including permanent and non-permanent, removable and non-removable media, can store information by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. As defined in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or other memory technologies
  • CD-ROM compact disc read-only memory
  • DVD digital versatile disc
  • the embodiments of the present specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of this specification can be in the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. .

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种基于区块链的存证方法和装置,应用于包括第三方支付服务节点设备的区块链系统;所述方法包括:所述第三方支付服务节点设备获取用户的第三方支付使用信息,所述第三方支付使用信息包括所述用户的第三方支付账户信息和基于所述第三方支付账户的资金流转信息(步骤102);基于所述第三方支付使用信息,生成第一存证交易(步骤104);将所述第一存证交易发送到所述区块链的分布式数据库,以使所述第一存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库(步骤106)。

Description

基于区块链的存证方法和装置 技术领域
本说明书涉及数据处理技术领域,尤其涉及一种基于区块链的存证方法和装置。
背景技术
区块链技术,也被称之为分布式账本技术,是一种由若干台计算设备共同参与“记账”,共同维护一份完整的分布式数据库的新兴技术。由于区块链技术具有去中心化、公开透明、每台计算设备可以参与数据库记录、并且各计算设备之间可以快速的进行数据同步的特性,使得区块链技术已在众多的领域中广泛的进行应用。
发明内容
有鉴于此,本说明书一个或多个实施例提供了一种基于区块链的存证方法,应用于包括第三方支付服务节点设备的区块链系统;所述方法包括:
所述第三方支付服务节点设备获取用户的第三方支付使用信息,所述第三方支付使用信息包括所述用户的第三方支付账户信息和基于所述第三方支付账户的资金流转信息;
基于所述第三方支付使用信息,生成第一存证交易;
将所述第一存证交易发送到区块链的分布式数据库,以使所述第一存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
在又一示出的实施方式中,所述的方法还包括:
获取所述第三方支付账户的用户注册信息,所述用户注册信息包括用户的身份识别信息;
基于所述注册信息生成第二存证交易;
将所述第二存证交易发送到区块链的分布式数据库,以使所述第二存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
在又一示出的实施方式中,所述区块链还包括与关联金融机构节点设备;所述区块链的分布式数据库还收录有所述关联金融机构节点设备发送的第三存证交易,所述第 三存证交易用以为所述第三方支付账户的资金流转信息提供凭证。
在又一示出的实施方式中,所述第一存证交易包括所述第三方支付使用信息的哈希摘要。
在又一示出的实施方式中,所述第二存证交易包括所述用户注册信息的哈希摘要。
在又一示出的实施方式中,所述区块链为联盟链;所述第三方支付服务节点设备、和所述关联金融机构节点设备为所述联盟链的联盟成员节点设备。
相应地,本说明书还提供了一种基于区块链的存证装置,应用于包括第三方支付服务节点设备的区块链系统;所述装置包括:
获取单元,用于获取用户的第三方支付使用信息,所述第三方支付使用信息包括所述用户的第三方支付账户信息和基于所述第三方支付账户的资金流转信息;
生成单元,用于基于所述第三方支付使用信息,生成第一存证交易;
发送单元,用于将所述第一存证交易发送到区块链的分布式数据库,以使所述第一存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
在又一示出的实施方式中,所述获取单元,进一步用于获取所述第三方支付账户的用户注册信息,所述用户注册信息包括用户的身份识别信息;
所述生成单元,进一步用于基于所述注册信息生成第二存证交易;
所述发送单元,进一步用于将所述第二存证交易发送到区块链的分布式数据库,以使所述第二存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
在又一示出的实施方式中,所述区块链还包括与关联金融机构节点设备;所述区块链的分布式数据库还收录有所述关联金融机构节点设备发送的第三存证交易,所述第三存证交易用以为所述第三方支付账户的资金流转信息提供凭证。
在又一示出的实施方式中,所述第一存证交易包括所述第三方支付使用信息的哈希摘要。
在又一示出的实施方式中,所述第二存证交易包括所述用户注册信息的哈希摘要。
在又一示出的实施方式中,所述区块链为联盟链;所述第三方支付服务节点设备、和所述关联金融机构节点设备为所述联盟链的联盟成员节点设备。
相应地,本说明书还提出了一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行上述第三方支付服务节点设备所执行的基于区块链的存证方法。
本说明书还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行上述第三方支付服务节点设备所执行的基于区块链的存证方法。
由以上技术方案可见,本说明书提供的基于区块链的存证方法及装置,将第三方支付机构的服务终端设置为区块链的节点设备,基于区块链技术的分布式数据库存储机制,将第三方支付机构的用户使用第三方支付的使用信息生成第一存证交易,而存证于区块链的分布式数据库中,由区块链系统的节点设备共同维护,实时进行同步,所有记录可回溯;而且,基于区块链的共识机制,上述第一存证交易不会在提供后被篡改,从而保证了上述第一存证交易的真实性和安全性,为基于上述第一存证交易进行的司法取证或其他应用提供了有效的数据基础。
附图说明
图1为本说明书所提供的一实施例所示的基于区块链的存证方法的流程示意图;
图2为本说明书所提供的一实施例提供的基于区块链的存证装置的示意图;
图3为运行本说明书所提供的基于区块链的存证装置实施例的一种硬件结构图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个 步骤进行描述。
第三方支付机构通常是指具备一定实力和信誉保障的独立机构,通过促成交易双方进行交易的网络支付模式,目前用户可以基于第三方支付完成商品购买异步支付、用户第三方支付账户之间转账收款、或用户的其他金融账户与第三方支付账户之间转账收款等金融。对于第三方支付机构而言,如果用户出现黑灰交易,第三方支付机构不得不配合司法机构进行调查取证及对受害用户的赔付;在第三方支付机构基于自身受损进行司法追偿诉讼时,其收益往往小于诉讼成本;对此问题,第三方支付机构只能通过不断追加技术投入以叠加风控策略。
基于以上提出的技术现状和问题,图1是本说明书所提供的一实施例所示的基于区块链的存证方法,应用于包括第三方支付服务节点设备的区块链系统
本实施例所述的第三方支付服务机构是指承担第三方支付的货款支付、转账汇款等功能的金融服务机构;本实施例所述的第三方支付服务节点设备是指上述第三方支付服务机构设置的、连接入区块链网络的终端设备。
本实施例所述的区块链,具体可指一个各节点设备通过共识机制达成的、具有分布式数据存储结构的P2P网络系统,该区块链内的数据分布在时间上相连的一个个“区块(block)”之内,后一区块包含前一区块的数据摘要,且根据具体的共识机制(如POW、POS、DPOS或PBFT等)的不同,达成全部或部分节点的数据全备份。本领域的技术人员熟知,由于区块链系统在相应共识机制下运行,已收录至区块链数据库内的数据很难被任意的节点篡改,例如采用Pow共识的区块链,至少需要全网51%算力的攻击才有可能篡改已有数据,因此区块链系统有着其他中心化数据库系统所无法比拟的保证数据安全、防攻击篡改的特性。由此可知,在本说明书所提供的实施例中,被收录至区块链的分布式数据库中的数据不会被攻击或篡改,从而保证了上述区块链系统中各节点设备(包括上述第三方支付服务节点设备)向上述区块链存证的数据信息的真实可靠性。
上述第三方支付服务机构的终端设备,可通过遵循相应节点协议、运行节点协议程序的安装来加入该区块链,作为该区块链的节点设备。本领域的技术人员通常将具有区块链分布式数据库的数据全备份的节点设备称为全节点,将具有区块链分布式数据库的部分备份数据(如仅有区块头的数据)的节点设备称为轻节点等;在本实施例中所述的第三方支付服务节点设备可以为上述的全节点或轻节点,只要直接或间接连入上述区块链、且可发送或获取区块链的分布式数据库的数据的任何设备均可称为本实施例所述 的节点设备。
如图1所示,上述基于区块链的存证方法包括:
步骤102,所述第三方支付服务节点设备获取用户的第三方支付使用信息,所述第三方支付使用信息包括所述用户的第三方支付账户信息和基于所述第三方支付账户的资金流转信息。
本实施例所述的用户的第三方支付使用信息,是指用户基于自身的第三方支付账户使用第三方支付服务的记录信息;可包括用户基于自身的第三方支付账户,进行货款支付(或收取)、转账汇款(或收款)等资金流转的使用信息。值得注意的是,上述转账汇款(或收款)可包括多个用户的第三方支付账户之间的转账汇款(或收款),也可包括用户的第三方支付账户与其他金融机构的账户(如银行账户)之间的转账汇款(或收款),在本说明书中不作限定。
本说明书并不限定上述第三方支付服务节点设备获取上述用户的第三方支付使用信息的具体方式,既可以从用户的第三方支付服务客户端获取上述用户的第三方支付使用信息,也可以从第三方支付服务机构的其他服务器或终端设备获取上述用户的第三方支付使用信息,等等。
步骤104,基于所述第三方支付使用信息,生成第一存证交易。
在本说明书中所描述的交易(transfer),是指通过区块链的节点设备创建,并需要最终发布至区块链的分布式数据库中的一笔数据。其中,区块链中的交易,存在狭义的交易以及广义的交易之分。狭义的交易是指用户向区块链发布的一笔价值转移;例如,在传统的比特币区块链网络中,交易可以是用户在区块链中发起的一笔转账。而广义的交易是指用户向区块链发布的一笔具有业务意图的业务数据;例如,本说明书的上述实施例所述的由第三方支付服务节点设备生成的、用于为上述用户的第三方支付使用信息进行存证的数据即可以为一笔交易;上述第三方支付服务节点设备可将上述第三方支付使用信息按照预设的数据内容生成规则和交易数据格式整理,从而转化为一笔交易——即第一存证交易。
上述基于第三方支付使用信息生成第一存证交易的具体方式可以有多种,例如,可将用户的第三方支付使用信息直接按照预设的交易数据格式整理成第一存证交易,从而方便区块链上任一节点设备对上述用户的第三方支付使用信息的信息内容获取。又如,由于用户的第三方支付使用信息通常涉及用户的账户信息、资金流转信息等隐私信息, 为保护用户信息的安全,可以将上述用户的第三方支付使用信息基于预设的加密规则加密后,再生成上述第一存证交易。上述预设的加密规则可以有多种设置方法,如对称加密或非对称加密,在本说明书中不作限定。
对数据原文进行数学哈希化处理以生成数据原文的哈希摘要(或称哈希指纹)是本领域常用的一种对数据原文的存证手段,通过存证哈希摘要基本上可唯一性地指向数据原文信息;而且哈希摘要占用的数据空间相对于数据原文,尤其是大数据量的数据原文,具有占用空间小的优点。鉴于以上的技术基础,本实施例所述的第一存证交易还可包括上述第三方支付使用信息的哈希摘要;通过将第三方支付使用信息的哈希摘要存证于区块链的分布式数据库中,可在取证时,验证上述第三方支付使用信息是否与被存证的哈希摘要对应,如果对应,则证明上述第三方支付使用信息为原始的信息,未经过篡改,具有作为证据的合法性。
步骤106,将所述第一存证交易发送到区块链的分布式数据库,以使所述第一存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
本实施例所述的将所述第一存证交易上传到所述区块链的分布式数据库中的详细过程,可依据所述区块链的共识机制及交易规则而具体设定。在一示出的实施例中,将所述第一存证交易上传到所述区块链的分布式数据库中,包括:
所述区块链中具有记账权限的节点设备将所述第一存证交易加入到候选区块;
从所述具有记账权限的节点设备中确定满足所述区块链共识机制的共识记账节点设备;
所述共识记账节点向所述区块链的节点设备广播所述候选区块;
在所述候选区块通过所述区块链符合预设数量的节点设备的验证认可后,所述候选区块被视为最新区块,加入到所述区块链的分布式数据库中。
在上述的实施例中,具有记账权限的节点设备是指具有生成候选区块权限的节点设备。根据所述区块链的共识机制,可从所述候选区块具有记账权限的节点设备中确定共识记账节点设备,上述共识机制可以包括工作量证明机制(PoW)、或权利证明机制(PoS)、或股份授权证明机制(DPoS)等。
PoS或DPoS共识机制与PoW类似,均属于公有区块链中确认共识记账节点设备所常选用的共识算法。在又一示出的实施例中,为降低交易或数据的确认时间、提高交易吞吐量、满足对安全和性能的需求,本说明书所提供的实施例还可选用联盟链架构来 构建该区块链。上述第三方支付服务节点设备、或对金融服务业务实行监管的机构、司法机构等可作为该联盟链的预选的联盟成员节点设备,参与区块的记账。联盟链的共识过程也由该预选的节点设备控制,当网络上有超过设定比例(如2/3)的节点设备确认一个区块,该区块记录的交易或数据将得到全网确认。
联盟链通常多采用权益证明或PBFT、RAFT等共识算法。在实现时,在区块链的每一轮共识开始之前,可以在区块链中的各节点设备中选举出一台主节点设备,即上述实施例所述的共识记账节点(比如,每一轮共识都重新选举出一主节点设备,其它节点设备作为从节点设备),由主节点设备进一步向发起交易的验证和共识,并负责基于共识通过的交易数据(或目标数据)为区块链创建最新的区块。
PBFT算法作为本说明书所提供的联盟链的共识算法的一种优选的实施方式,是由于采用该种算法共识的效率高,可满足高频交易量的需求,例如在本实施例中第三方支付服务机构基于用户频繁发生第三方支付使用行为而生成的第一存证交易;且共识的时延很低,基本达到实时处理的要求,能快速实时地在区块链的新生区块中收录上述第一存证交易;而且,将联盟链网络中可信节点作为预选的记账节点,兼顾了安全性与稳定性;另外,采用PBFT算法不会消耗过多的计算机算力资源,也不一定需要代币流通,因此具有良好的可使用性。
基于本实施例提供的存证方法,基于区块链技术的分布式数据库存储机制,将基于用户的第三方支付使用信息生成的第一存证交易去中心化地记录在多个区块链节点中,由区块链节点共同维护,实时进行同步,所有记录可回溯;而且,基于区块链的共识机制,第三方支付服务节点设备提供的第一存证交易不会在提供后被篡改,从而保证了存证数据的真实性和安全性,为基于该第一存证交易进行的对用户的第三方支付使用行为进行调查取证或其他应用提供了有效的数据基础;在出现用户基于第三方支付账户进行黑灰交易时,区块链上的任一节点设备(包括第三方支付服务节点设备、或司法机构的节点设备)可从区块链上直接获取上述第一存证交易,基于区块链的防篡改机制进行取证,从而降低了第三方支付服务机构应对用户黑灰交易时的诉讼成本。
在又一示出的实施方式中,为进一步加强对第三方支付服务用户的监管力度,提升对用户的第三方支付服务使用行为的取证全面性,本说明书提供的存证方法还可包括:获取所述第三方支付账户的用户注册信息,所述用户注册信息包括用户的身份识别信息;基于所述注册信息生成第二存证交易;将所述第二存证交易发送到区块链的分布式数据库,以使所述第二存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链 的分布式数据库。
类似地,上述用户注册信息既可以从用户的第三方支付服务客户端获取,也可以从第三方支付服务机构的其他服务器或终端设备获取,等等,在本说明书中不作限定。
上述用户的身份识别信息可包括个人用户的身份证件信息、或企业用户的营业执照信息,还可包括个人用户的生物学识别信息、或企业用户的相关责任人的生物学识别信息等等。用户的第三方支付服务客户端可以通过各种采集方式获取用户的人脸信息、或指纹信息、或声纹信息等生物学身份识别信息,或者,可以通过扫描刷卡或手动录入的方式,获取用户的证件信息等,并将采集到的上述信息发送到上述第三方支付服务机构的服务器或终端设备。
由于用户的身份识别信息通常为隐私信息,如果直接将用户的身份识别信息的明文备份于区块链的分布式数据库中进行存证,其他节点设备均可获取到上述身份识别信息的明文,有可能会带来身份信息泄露的安全隐患。因此与第一存证交易类似,上述各实施例所述的第二存证交易可以包括上述用户注册信息的原文、或上述用户注册信息的加密密文、或上述用户注册信息的哈希摘要等信息的一种或多种。采用将身份识别信息加密或将身份识别信息的转化为哈希摘要的方式,既可以为上述身份识别信息的原文进行存证,又可以防止信息泄露。
上述实施例所述的将所述第二存证交易收录到区块链的分布式数据库的具体过程,可以与上述第一存证交易被收录到区块链的分布式数据库的过程类似,在此不再赘述。
本领域的技术人员应知,用户在使用第三方支付服务时,有时会涉及第三方支付账户与外部金融账户之间的资金流转,因此为了完善对用户的第三方支付服务使用情况的调查取证,建立完整的证据链,上述区块链还包括关联金融机构的节点设备,所述关联金融机构是指与上述第三方支付服务机构具有资金流通关系的金融机构,可包括各银行机构;而且,所述区块链的分布式数据库还收录有所述关联金融机构节点设备发送的第三存证交易,所述第三存证交易用以为所述第三方支付账户的资金流转信息提供凭证,例如,第三存证交易可以为用户在关联金融机构的账户变动信息,用以为上述用户的第三方支付使用信息所包括的,基于所述第三方支付账户的资金流转信息提供到账通知、或资金划出通知等。
上述实施例所述的将所述第三存证交易收录到区块链的分布式数据库的具体过程,可以与上述第一存证交易被收录到区块链的分布式数据库的过程类似,在此不再赘述。 值得注意的是,当上述区块链为联盟链时;上述第三方支付服务节点设备、和上述关联金融机构节点设备均可为所述联盟链的联盟成员节点设备,参与构建上述联盟链;还可作为上述联盟链预选的节点设备,参与到对上述第一存证交易、第二存证交易、或第三存证交易的共识记账中。
与上述流程实现对应,本说明书的实施例还提供了基于区块链的存证装置20。该装置20可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为逻辑意义上的装置,是通过所在设备的CPU(Central Process Unit,中央处理器)将对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,除了图3所示的CPU、内存以及存储器之外,网络风险业务的实现装置所在的设备通常还包括用于进行无线信号收发的芯片等其他硬件,和/或用于实现网络通信功能的板卡等其他硬件。
图2所示为本说明书还提供了一种基于区块链的存证装置20,应用于包括第三方支付服务节点设备的区块链系统;所述装置20包括:
获取单元202,用于获取用户的第三方支付使用信息,所述第三方支付使用信息包括所述用户的第三方支付账户信息和基于所述第三方支付账户的资金流转信息;
生成单元204,用于基于所述第三方支付使用信息,生成第一存证交易;
发送单元206,用于将所述第一存证交易发送到区块链的分布式数据库,以使所述第一存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
在又一示出的实施方式中,所述获取单元202,进一步用于获取所述第三方支付账户的用户注册信息,所述用户注册信息包括用户的身份识别信息;
所述生成单元204,进一步用于基于所述注册信息生成第二存证交易;
所述发送单元206,进一步用于将所述第二存证交易发送到区块链的分布式数据库,以使所述第二存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
在又一示出的实施方式中,所述区块链还包括与关联金融机构节点设备;所述区块链的分布式数据库还收录有所述关联金融机构节点设备发送的第三存证交易,所述第三存证交易用以为所述第三方支付账户的资金流转信息提供凭证。
在又一示出的实施方式中,所述第一存证交易包括所述第三方支付使用信息的哈 希摘要。
在又一示出的实施方式中,所述第二存证交易包括所述用户注册信息的哈希摘要。
在又一示出的实施方式中,所述区块链为联盟链;所述第三方支付服务节点设备、和所述关联金融机构节点设备为所述联盟链的联盟成员节点设备。
上述装置20中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,相关之处参见方法实施例的部分说明即可,在此不再赘述。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部单元或模块来实现本说明书方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
上述实施例阐明的装置、单元、模块,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
与上述方法实施例相对应,本说明书的实施例还提供了一种计算机设备,如图3所示,该计算机设备包括存储器和处理器。其中,存储器上存储有能够由处理器运行的计算机程序;处理器在运行存储的计算机程序时,执行本说明书实施例中第三方支付服务节点设备所执行的基于区块链的存证方法的各个步骤。对上述第三方支付服务节点设备所执行的基于区块链的存证方法的各个步骤的详细描述请参见之前的内容,不再重复。
与上述方法实施例相对应,本说明书的实施例还提供了一种计算机可读存储介质,该存储介质上存储有计算机程序,这些计算机程序在被处理器运行时,执行本说明书实施例中第三方支付服务节点设备所执行的基于区块链的存证方法的各个步骤。对上述第三方支付服务节点设备所执行的基于区块链的存证方法的各个步骤的详细描述请参见之前的内容,不再重复。
以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。
计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书的实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书的实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。

Claims (14)

  1. 一种基于区块链的存证方法,应用于包括第三方支付服务节点设备的区块链系统;所述方法包括:
    所述第三方支付服务节点设备获取用户的第三方支付使用信息,所述第三方支付使用信息包括所述用户的第三方支付账户信息和基于所述第三方支付账户的资金流转信息;
    基于所述第三方支付使用信息,生成第一存证交易;
    将所述第一存证交易发送到所述区块链的分布式数据库,以使所述第一存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
  2. 根据权利要求1所述的方法,还包括:
    获取所述第三方支付账户的用户注册信息,所述用户注册信息包括用户的身份识别信息;
    基于所述注册信息生成第二存证交易;
    将所述第二存证交易发送到区块链的分布式数据库,以使所述第二存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
  3. 根据权利要求1或2所述的方法,所述区块链还包括与关联金融机构节点设备;所述区块链的分布式数据库还收录有所述关联金融机构节点设备发送的第三存证交易,所述第三存证交易用以为所述第三方支付账户的资金流转信息提供凭证。
  4. 根据权利要求1所述的方法,所述第一存证交易包括所述第三方支付使用信息的哈希摘要。
  5. 根据权利要求2所述的方法,所述第二存证交易包括所述用户注册信息的哈希摘要。
  6. 根据权利要求3所述的方法,所述区块链为联盟链;所述第三方支付服务节点设备、和所述关联金融机构节点设备为所述联盟链的联盟成员节点设备。
  7. 一种基于区块链的存证装置,应用于包括第三方支付服务节点设备的区块链系统;所述装置包括:
    获取单元,用于获取用户的第三方支付使用信息,所述第三方支付使用信息包括所述用户的第三方支付账户信息和基于所述第三方支付账户的资金流转信息;
    生成单元,用于基于所述第三方支付使用信息,生成第一存证交易;
    发送单元,用于将所述第一存证交易发送到区块链的分布式数据库,以使所述第一存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
  8. 根据权利要求7所述的装置,
    所述获取单元,进一步用于获取所述第三方支付账户的用户注册信息,所述用户注册信息包括用户的身份识别信息;
    所述生成单元,进一步用于基于所述注册信息生成第二存证交易;
    所述发送单元,进一步用于将所述第二存证交易发送到区块链的分布式数据库,以使所述第二存证交易被所述区块链的节点设备共识验证后,被收录于所述区块链的分布式数据库。
  9. 根据权利要求7或8所述的装置,所述区块链还包括与关联金融机构节点设备;所述区块链的分布式数据库还收录有所述关联金融机构节点设备发送的第三存证交易,所述第三存证交易用以为所述第三方支付账户的资金流转信息提供凭证。
  10. 根据权利要求7所述的装置,所述第一存证交易包括所述第三方支付使用信息的哈希摘要。
  11. 根据权利要求8所述的装置,所述第二存证交易包括所述用户注册信息的哈希摘要。
  12. 根据权利要求9所述的装置,所述区块链为联盟链;所述第三方支付服务节点设备、和所述关联金融机构节点设备为所述联盟链的联盟成员节点设备。
  13. 一种计算机设备,包括:存储器和处理器;所述存储器上存储有可由所述处理器运行的计算机程序;所述处理器运行所述计算机程序时,执行如权利要求1到6任意一项所述的方法。
  14. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行如权利要求1到6任意一项所述的方法。
PCT/CN2019/129824 2019-01-16 2019-12-30 基于区块链的存证方法和装置 WO2020147568A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910041267.8A CN110009340A (zh) 2019-01-16 2019-01-16 基于区块链的存证方法和装置
CN201910041267.8 2019-01-16

Publications (1)

Publication Number Publication Date
WO2020147568A1 true WO2020147568A1 (zh) 2020-07-23

Family

ID=67165442

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/129824 WO2020147568A1 (zh) 2019-01-16 2019-12-30 基于区块链的存证方法和装置

Country Status (3)

Country Link
CN (1) CN110009340A (zh)
TW (1) TWI779231B (zh)
WO (1) WO2020147568A1 (zh)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039972A (zh) * 2020-08-26 2020-12-04 支付宝(杭州)信息技术有限公司 一种业务的处理方法、装置及设备
CN112488715A (zh) * 2020-12-17 2021-03-12 欧冶链金再生资源有限公司 一种废钢行业区块链存储方法
CN112596957A (zh) * 2020-12-29 2021-04-02 东软集团股份有限公司 用于区块链的方法、装置、存储介质及电子设备
CN112668058A (zh) * 2020-12-31 2021-04-16 车主邦(北京)科技有限公司 一种基于区块链技术的物流订单处理方法和装置
CN112950415A (zh) * 2021-03-11 2021-06-11 全链通有限公司 基于区块链的司法固证方法、平台和系统
CN112988901A (zh) * 2021-04-06 2021-06-18 湖北央中巨石信息技术有限公司 一种基于区块链的存证数据上链方法
CN113095828A (zh) * 2021-04-27 2021-07-09 支付宝(杭州)信息技术有限公司 基于区块链的数据存证方法及装置
CN114219489A (zh) * 2021-12-24 2022-03-22 中远海运科技股份有限公司 一种实时上传交易信息的区块链存证方法
CN114553897A (zh) * 2022-01-12 2022-05-27 盐城矩阵运营管理有限公司 服务请求处理方法、系统及电子设备
CN114666342A (zh) * 2022-03-04 2022-06-24 广东钜联信息科技有限公司 一种联盟链节点共识方法和区块链系统
CN115225651A (zh) * 2022-06-13 2022-10-21 许亦雄 应用于区块链金融和在线支付的信息安全防护方法及装置
CN117196621A (zh) * 2023-08-23 2023-12-08 大唐微电子技术有限公司 一种数字货币支付存取证系统和方法

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110009340A (zh) * 2019-01-16 2019-07-12 阿里巴巴集团控股有限公司 基于区块链的存证方法和装置
CN110363513A (zh) * 2019-07-15 2019-10-22 湖南智慧政务区块链科技有限公司 基于区块链的联合支付方法和装置
CN111768180B (zh) * 2020-06-24 2022-05-24 江苏荣泽信息科技股份有限公司 一种区块链账户余额的存证及恢复方法
CN114726912A (zh) * 2020-12-19 2022-07-08 北京万集科技股份有限公司 数据处理方法、装置及电子设备
CN113298507B (zh) * 2021-06-15 2023-08-22 英华达(上海)科技有限公司 支付验证方法、系统、电子设备和存储介质
CN114781004B (zh) * 2022-06-15 2022-09-30 恒生电子股份有限公司 基于区块链的数据存证方法、装置、电子设备及存储介质
CN117171720B (zh) * 2023-08-17 2024-03-22 哈尔滨工业大学 一种基于行为指纹的数据归属权鉴别系统及方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180293556A1 (en) * 2017-04-05 2018-10-11 Samsung Sds Co., Ltd. Method and system for processing blockchain-based real-time transaction
CN109002732A (zh) * 2018-07-17 2018-12-14 深圳前海微众银行股份有限公司 数据存证方法、设备和系统以及数据取证方法
CN109064120A (zh) * 2018-07-10 2018-12-21 马上游科技股份有限公司 基于区域链的旅游电子合同数字存证系统及存证方法
CN109947848A (zh) * 2019-01-30 2019-06-28 阿里巴巴集团控股有限公司 基于区块链的存证方法和装置
CN110009340A (zh) * 2019-01-16 2019-07-12 阿里巴巴集团控股有限公司 基于区块链的存证方法和装置
CN110032882A (zh) * 2018-12-29 2019-07-19 阿里巴巴集团控股有限公司 基于区块链的存证方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632274A (zh) * 2013-11-08 2014-03-12 青岛中科英泰商用系统有限公司 有顾客交易提示和视频监控的超市自助结算用防损方法
CN107944868A (zh) * 2017-12-07 2018-04-20 杭州趣链科技有限公司 一种基于区块链智能合约的电子存证系统和管理方法
CN108288222A (zh) * 2018-03-05 2018-07-17 数字乾元科技有限公司 基于区块链的财税处理系统及方法
CN108920965A (zh) * 2018-06-25 2018-11-30 北京奇虎科技有限公司 一种区块链存证方法及装置
CN109165957A (zh) * 2018-08-14 2019-01-08 海南高灯科技有限公司 基于区块链的发票数据报销方法、系统及相关设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180293556A1 (en) * 2017-04-05 2018-10-11 Samsung Sds Co., Ltd. Method and system for processing blockchain-based real-time transaction
CN109064120A (zh) * 2018-07-10 2018-12-21 马上游科技股份有限公司 基于区域链的旅游电子合同数字存证系统及存证方法
CN109002732A (zh) * 2018-07-17 2018-12-14 深圳前海微众银行股份有限公司 数据存证方法、设备和系统以及数据取证方法
CN110032882A (zh) * 2018-12-29 2019-07-19 阿里巴巴集团控股有限公司 基于区块链的存证方法和装置
CN110009340A (zh) * 2019-01-16 2019-07-12 阿里巴巴集团控股有限公司 基于区块链的存证方法和装置
CN109947848A (zh) * 2019-01-30 2019-06-28 阿里巴巴集团控股有限公司 基于区块链的存证方法和装置

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039972B (zh) * 2020-08-26 2023-10-27 蚂蚁胜信(上海)信息技术有限公司 一种业务的处理方法、装置及设备
CN112039972A (zh) * 2020-08-26 2020-12-04 支付宝(杭州)信息技术有限公司 一种业务的处理方法、装置及设备
CN112488715A (zh) * 2020-12-17 2021-03-12 欧冶链金再生资源有限公司 一种废钢行业区块链存储方法
CN112596957A (zh) * 2020-12-29 2021-04-02 东软集团股份有限公司 用于区块链的方法、装置、存储介质及电子设备
CN112668058A (zh) * 2020-12-31 2021-04-16 车主邦(北京)科技有限公司 一种基于区块链技术的物流订单处理方法和装置
CN112950415A (zh) * 2021-03-11 2021-06-11 全链通有限公司 基于区块链的司法固证方法、平台和系统
CN112950415B (zh) * 2021-03-11 2024-01-16 全链通有限公司 基于区块链的司法固证方法、平台和系统
CN112988901A (zh) * 2021-04-06 2021-06-18 湖北央中巨石信息技术有限公司 一种基于区块链的存证数据上链方法
CN113095828A (zh) * 2021-04-27 2021-07-09 支付宝(杭州)信息技术有限公司 基于区块链的数据存证方法及装置
CN113095828B (zh) * 2021-04-27 2023-09-01 支付宝(杭州)信息技术有限公司 基于区块链的数据存证方法及装置
CN114219489A (zh) * 2021-12-24 2022-03-22 中远海运科技股份有限公司 一种实时上传交易信息的区块链存证方法
CN114553897A (zh) * 2022-01-12 2022-05-27 盐城矩阵运营管理有限公司 服务请求处理方法、系统及电子设备
CN114666342A (zh) * 2022-03-04 2022-06-24 广东钜联信息科技有限公司 一种联盟链节点共识方法和区块链系统
CN115225651A (zh) * 2022-06-13 2022-10-21 许亦雄 应用于区块链金融和在线支付的信息安全防护方法及装置
CN117196621A (zh) * 2023-08-23 2023-12-08 大唐微电子技术有限公司 一种数字货币支付存取证系统和方法

Also Published As

Publication number Publication date
CN110009340A (zh) 2019-07-12
TWI779231B (zh) 2022-10-01
TW202029086A (zh) 2020-08-01

Similar Documents

Publication Publication Date Title
WO2020147568A1 (zh) 基于区块链的存证方法和装置
WO2020155789A1 (zh) 基于区块链的存证方法和装置
TWI694350B (zh) 基於區塊鏈的資訊監管方法及裝置
US11507929B2 (en) Digital fiat currency
CN110363527B (zh) 基于区块链的存证、监管方法和装置
TWI773912B (zh) 基於區塊鏈的理賠方法和裝置
WO2020248603A1 (zh) 基于区块链的虚拟资源分配方法和装置
US11283627B2 (en) Method and apparatus for generating blockchain transaction
CN107180350B (zh) 一种基于区块链的多方共享交易元数据的方法、装置及系统
WO2019105407A1 (zh) 一种适合区块链隐私保护的零知识证明方法和介质
WO2020103566A1 (zh) 一种区块链存证方法、装置和计算机设备
EP3933642B1 (en) Managing transactions in multiple blockchain networks
WO2020220759A1 (zh) 一种基于区块链的支付方法和装置
WO2020134631A1 (zh) 基于区块链的数据处理方法和装置
CN115632854A (zh) 一种基于区块链的数据处理方法和装置
WO2020125234A1 (zh) 一种基于区块链的数据处理方法和装置
TW202026926A (zh) 基於區塊鏈的存證方法和裝置
US11372848B2 (en) Managing transactions in multiple blockchain networks
US11403632B2 (en) Managing transactions in multiple blockchain networks
US20200175588A1 (en) Blockchain-based payment
Hardjono et al. Privacy-preserving claims exchange networks for virtual asset service providers
El Sobky et al. A-survey-of-blockchain-from-the-viewpoints-of-applications-challenges-and-chances
GAJJELA et al. SECURITY AND PRIVACY SOLUTIONS BASED ON BLOCKCHAIN FOR INTERNET OF THINGS (IOT)

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: 19909836

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19909836

Country of ref document: EP

Kind code of ref document: A1