CN112668043B - Digital data payment and storage method, client and system based on blockchain - Google Patents

Digital data payment and storage method, client and system based on blockchain Download PDF

Info

Publication number
CN112668043B
CN112668043B CN202011519268.8A CN202011519268A CN112668043B CN 112668043 B CN112668043 B CN 112668043B CN 202011519268 A CN202011519268 A CN 202011519268A CN 112668043 B CN112668043 B CN 112668043B
Authority
CN
China
Prior art keywords
data
client
blockchain
authorization
user client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011519268.8A
Other languages
Chinese (zh)
Other versions
CN112668043A (en
Inventor
钱进
赵静
孔兰菊
肖宗水
郝树伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Diwei Intelligent Technology Co.,Ltd.
Original Assignee
Dareway Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dareway Software Co ltd filed Critical Dareway Software Co ltd
Priority to CN202011519268.8A priority Critical patent/CN112668043B/en
Publication of CN112668043A publication Critical patent/CN112668043A/en
Application granted granted Critical
Publication of CN112668043B publication Critical patent/CN112668043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明公开了基于区块链的数字资料支付与存入方法、客户端及系统,包括:资料拥有方客户端将授权使用的资料目录及资料可使用权限汇总,生成授权二维码;资料拥有方客户端接收资料使用方客户端反馈的确认需要使用资料的消息;所述确认需要使用资料的消息,是由资料使用方客户端对授权二维码进行扫描解析后,接收到资料使用方的确认使用操作指令得到的;资料拥有方客户端将资料的授权令牌,发送给资料使用方客户端;同时,资料拥有方客户端将本次交易存储到区块链中;资料使用方客户端将授权令牌发送给区块链,请求从区块链上获取资料;区块链对授权信息进行解析,并将资料发送给资料使用方客户端。

The invention discloses a blockchain-based digital data payment and deposit method, client and system, including: the data owner client summarizes the authorized data catalog and data use rights, and generates an authorized two-dimensional code; the data owner The client of the data user receives the message of confirming the need to use the data from the client of the data user; the message of confirming the need to use the data is received by the client of the data user after scanning and analyzing the authorized QR code. Confirm the use of operation instructions; the data owner client sends the authorization token of the data to the data user client; at the same time, the data owner client stores this transaction in the blockchain; the data user client Send the authorization token to the blockchain and request to obtain data from the blockchain; the blockchain parses the authorization information and sends the data to the data user client.

Description

基于区块链的数字资料支付与存入方法、客户端及系统Blockchain-based digital data payment and deposit method, client and system

技术领域technical field

本申请涉及区块链应用技术领域,特别是涉及基于区块链的数字资料支付与存入方法、客户端及系统。This application relates to the technical field of block chain application, in particular to a block chain-based digital data payment and deposit method, client and system.

背景技术Background technique

本部分的陈述仅仅是提到了与本申请相关的背景技术,并不必然构成现有技术。The statements in this section merely mention the background art related to this application, and do not necessarily constitute the prior art.

日常生活中,每个人都有繁多的各类资料,资料包括但不限于资产证明、身份证明、资格证明、资信证明、知识产权、资质证书、批文批件、报告、交易凭证等,当需要使用这些资料时,我们需要随身携带这些容易丢失或被破坏的纸质资料,而资料使用方使用资料时也需要仔细地检查审核,以免收到造假、篡改、伪造的各类资料。In daily life, everyone has a variety of materials, including but not limited to asset certificates, identity certificates, qualification certificates, credit certificates, intellectual property rights, qualification certificates, approval documents, reports, transaction certificates, etc. When you need to use these We need to carry these paper materials that are easy to be lost or damaged when we use the materials, and the data users also need to carefully check and review the materials when using the materials, so as to avoid receiving various types of materials that are falsified, tampered, or forged.

而区块链技术可以保障链上的信息资料不可篡改、不可伪造,因此是一个合适的资料存储与传递的载体。数字资料就是在资料电子化的基础上,利用区块链平台提供的加密解密技术、签名验签技术等对资料进行数字化处理,保证通过区块链上的智能合约可以被施加一定操作并改变自身状态的,以数字化形式保存在区块链上的资料。The blockchain technology can ensure that the information on the chain cannot be tampered with or forged, so it is a suitable carrier for data storage and transmission. Digital data is based on the digitization of data, using the encryption and decryption technology and signature verification technology provided by the blockchain platform to digitize the data to ensure that certain operations can be imposed on the smart contract on the blockchain and change itself. Stateful, data stored on the blockchain in digital form.

但是现有的区块链应用缺乏便捷、快速的数字资料使用方式,不能实现数字资料在拥有方和使用方之间自然、快速、简单的传递,人们在使用现有的区块链应用时不但无法感受区块链的资料可信流转,甚至在入门使用阶段就陷入了困难。However, the existing blockchain applications lack a convenient and fast way to use digital data, and cannot realize the natural, fast and simple transfer of digital data between the owner and the user. When people use the existing blockchain applications, they not only Unable to feel the credible flow of data in the blockchain, and even encountered difficulties in the initial stage of use.

根据专利检索的结果,现有的大多数区块链应用都和数字货币挂钩,关于数字资料可信流转的比较少,而与数字资料相关的专利中,大多数使用的是区块链的可信存储功能,却忽略了其天然的流转功能,因此迫切需要一个全新的基于区块链的数字资料可信流转、使用装置。According to the results of the patent search, most of the existing blockchain applications are linked to digital currency, and there are relatively few digital data credible circulation, and most of the patents related to digital data use the blockchain Therefore, there is an urgent need for a brand-new trusted transfer and use device for digital data based on blockchain.

发明内容Contents of the invention

为了解决现有技术的不足,本申请提供了基于区块链的数字资料支付与存入方法、客户端及系统;提供二维码扫描功能,让使用者可以像移动支付一样,便捷、安全的使用自己区块链上的数字资料。In order to solve the deficiencies of the prior art, this application provides a blockchain-based digital data payment and deposit method, client and system; it provides a two-dimensional code scanning function, allowing users to pay as conveniently and safely as mobile payment Use digital data on your own blockchain.

第一方面,基于区块链的数字资料支付与存入方法,包括:In the first aspect, the blockchain-based digital data payment and deposit method includes:

资料拥有方客户端将授权使用的资料目录及资料可使用权限汇总,生成授权二维码;The client side of the data owner summarizes the authorized data catalog and data use rights, and generates an authorized QR code;

资料拥有方客户端接收资料使用方客户端反馈的确认需要使用资料的消息;所述确认需要使用资料的消息,是由资料使用方客户端对授权二维码进行扫描解析后,接收到资料使用方的确认使用操作指令得到的;The client of the data owner receives the message from the client of the data user confirming that the data needs to be used; The party's confirmation is obtained using the operating instructions;

资料拥有方客户端将资料的授权令牌,发送给资料使用方客户端;同时,资料拥有方客户端将本次交易存储到区块链中;The data owner client sends the authorization token of the data to the data user client; at the same time, the data owner client stores the transaction in the blockchain;

资料使用方客户端将授权令牌发送给区块链,请求从区块链上获取资料;The data user client sends the authorization token to the blockchain, requesting to obtain data from the blockchain;

区块链对授权信息进行解析,并将资料发送给资料使用方客户端。The blockchain parses the authorization information and sends the data to the client of the data user.

资料可使用权限,包括:下载使用权限或在线阅览权限;Data usage rights, including: download rights or online viewing rights;

第二方面,资料拥有方客户端,包括:In the second aspect, the data owner client includes:

授权码生成模块,其被配置为:将资料目录及资料可使用权限进行汇总并转换为授权二维码形式;An authorization code generation module, which is configured to: summarize and convert the data catalog and data usage rights into an authorized two-dimensional code form;

第一通信模块,其被配置为:接收资料使用方客户端反馈的确认使用消息;The first communication module is configured to: receive a confirmation use message fed back by the data user client;

资料授权发送模块,其被配置为:将资料的授权令牌或授权二维码,发送给资料使用方客户端;The data authorization sending module is configured to: send the data authorization token or authorization QR code to the data user client;

交易上链模块,其被配置为:将资料的支付或授权内容、结果上传到区块链进行保存。The transaction on-chain module is configured to: upload the payment or authorization content and results of the data to the blockchain for storage.

第三方面,资料使用方客户端,包括:The third aspect, data user client, includes:

第二通信模块,其被配置为:接收授权二维码;The second communication module is configured to: receive an authorization two-dimensional code;

授权码解析模块,其被配置为:对授权二维码进行扫描解析,得到资料目录及资料可使用权限;The authorization code parsing module is configured to: scan and analyze the authorized QR code to obtain the data directory and data usable permissions;

资料获取模块,其被配置为:将授权令牌发送给区块链,请求从区块链上获取资料;The data acquisition module is configured to: send the authorization token to the block chain, and request to obtain the data from the block chain;

资料存储模块,其被配置为:接收区块链发送过来的资料,并存储到本地数据库中。The data storage module is configured to: receive the data sent by the blockchain and store it in a local database.

第四方面,区块链,包括:The fourth aspect, blockchain, includes:

存储模块,其被配置为:存储资料拥有方客户端将授权令牌发送给资料使用方客户端的交易记录;还用于存储资料拥有方客户端存储的资料;The storage module is configured to: store the transaction record that the client of the data owner sends the authorization token to the client of the data user; it is also used to store the data stored by the client of the data owner;

第三通信模块,其被配置为:接收资料使用方客户端发送资料获取请求和授权消息;The third communication module is configured to: receive a data acquisition request and an authorization message sent by the data user client;

解析模块,其被配置为:对授权令牌进行解析;A parsing module configured to: parse the authorization token;

第三通信模块,其被配置为:将资料发送给资料使用方客户端。The third communication module is configured to: send the data to the data user client.

第五方面,基于区块链的数字资料支付与存入系统,包括:资料拥有方客户端、资料使用方客户端和区块链;Fifth aspect, digital data payment and deposit system based on blockchain, including: data owner client, data user client and blockchain;

资料拥有方客户端生成授权二维码;The data owner client generates an authorization QR code;

资料拥有方客户端接收资料使用方客户端反馈的确认使用消息;所述确认使用消息,是由资料使用方客户端对授权二维码进行扫描解析后,接收到资料使用方的确认使用操作指令得到的;The data owner client receives the confirmation use message fed back by the data user client; the confirmation use message is received by the data user after scanning and analyzing the authorized QR code by the data user client owned;

资料拥有方客户端将资料的授权令牌,发送给资料使用方客户端;同时,资料拥有方客户端将本次交易存储到区块链中;The data owner client sends the authorization token of the data to the data user client; at the same time, the data owner client stores the transaction in the blockchain;

资料使用方客户端将授权令牌发送给区块链,请求从区块链上获取资料;The data user client sends the authorization token to the blockchain, requesting to obtain data from the blockchain;

区块链对授权令牌进行解析,并将资料发送给资料使用方客户端。The blockchain parses the authorization token and sends the data to the data user client.

第六方面,基于区块链的数字资料支付与存入方法,包括:In the sixth aspect, the blockchain-based digital data payment and deposit method includes:

资料使用方客户端,根据资料使用需求生成资料请求二维码;The client side of the data user generates a data request QR code according to the data usage requirements;

资料拥有方客户端扫描并解析二维码,得到资料的使用需求;The client side of the data owner scans and analyzes the QR code to obtain the usage requirements of the data;

资料拥有方客户端根据资料使用需求生成资料的授权令牌;The data owner client generates data authorization tokens according to data usage requirements;

资料拥有方客户端发送资料的授权令牌给资料使用方客户端,并将本次交易记录到区块链中;The data owner client sends the authorization token of the data to the data user client, and records this transaction in the blockchain;

资料使用方客户端向区块链发送资料获取请求和授权令牌;The data user client sends a data acquisition request and authorization token to the blockchain;

区块链解析授权令牌,并将资料发送给资料使用方客户端;The blockchain parses the authorization token and sends the data to the data user client;

资料使用方客户端接收区块链发送过来的资料,并将资料存储到本地数据库。The data user client receives the data sent by the blockchain and stores the data in the local database.

所述区块链,用于数字资料存储和可信流转的底层平台。The blockchain is an underlying platform for digital data storage and credible transfer.

第七方面,资料使用方客户端,包括:In the seventh aspect, the data user client includes:

二维码生成模块,其被配置为:根据资料使用需求生成资料请求二维码;A two-dimensional code generation module configured to: generate a data request two-dimensional code according to data use requirements;

第四通信模块,其被配置为:向区块链发送资料获取请求和授权信息;The fourth communication module is configured to: send a data acquisition request and authorization information to the block chain;

第四通信模块,其被配置为:接收区块链发送过来的资料,并将资料存储到本地数据库。The fourth communication module is configured to: receive the data sent by the blockchain, and store the data in a local database.

第八方面,资料拥有方客户端,包括:In the eighth aspect, the data owner client includes:

二维码解析模块,其被配置为:扫描并解析二维码,得到资料的使用需求;The two-dimensional code analysis module is configured to: scan and analyze the two-dimensional code to obtain the use requirements of the data;

授权信息生成模块,其被配置为:根据资料使用需求生成资料的授权令牌;An authorization information generation module configured to: generate an authorization token for the data according to the data use requirements;

第五通信模块,其被配置为:发送资料的授权令牌给资料使用方客户端,并将本次交易记录到区块链中。The fifth communication module is configured to: send the data authorization token to the data user client, and record this transaction into the block chain.

第九方面,基于区块链的数字资料支付与存入系统,包括:资料使用方客户端、资料拥有方客户端和区块链;Ninth aspect, digital data payment and deposit system based on blockchain, including: data user client, data owner client and blockchain;

资料使用方客户端,根据资料使用需求生成资料请求二维码;The client side of the data user generates a data request QR code according to the data usage requirements;

资料拥有方客户端扫描并解析二维码,得到资料的使用需求;资料拥有方客户端根据资料使用需求生成资料的授权令牌;资料拥有方客户端发送资料的授权信息给资料使用方客户端,并将本次交易记录到区块链中;The data owner client scans and parses the QR code to obtain the usage requirements of the data; the data owner client generates the data authorization token according to the data usage requirements; the data owner client sends the data authorization information to the data user client , and record this transaction into the blockchain;

资料使用方客户端向区块链发送资料获取请求和授权令牌;The data user client sends a data acquisition request and authorization token to the blockchain;

区块链解析授权信息,并将资料发送给资料使用方客户端;The blockchain parses the authorization information and sends the data to the client of the data user;

资料使用方客户端接收区块链发送过来的资料,并将资料存储到本地数据库。The data user client receives the data sent by the blockchain and stores the data in the local database.

与现有技术相比,本申请的有益效果是:Compared with prior art, the beneficial effect of the present application is:

(1)减少了资料拥有方携带大量纸质资料的困扰,避免了纸质资料容易丢失、破损、伪造、篡改等风险;(1) It reduces the trouble of the data owner carrying a large amount of paper materials, and avoids the risk of easy loss, damage, forgery, and tampering of paper materials;

(2)提供了便捷、快速的基于区块链的资料使用方式,提供与移动支付相似的扫描二维码方式支付数字资料,创新了资料的可信流转模式。(2) It provides a convenient and fast blockchain-based data usage method, provides digital data payment by scanning QR codes similar to mobile payment, and innovates the trusted circulation mode of data.

本发明附加方面的优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Advantages of additional aspects of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

构成本申请的一部分的说明书附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。The accompanying drawings constituting a part of the present application are used to provide further understanding of the present application, and the schematic embodiments and descriptions of the present application are used to explain the present application, and do not constitute an improper limitation of the present application.

图1是一种基于区块链的数字资料支付与存入装置;Figure 1 is a blockchain-based digital data payment and deposit device;

图2是本发明装置在资料拥有方主动支付资料时的具体调用方法;Fig. 2 is the specific calling method of the device of the present invention when the data owner actively pays for the data;

图3时本发明装置在资料请求方请求获取资料时的具体调用方法。Figure 3 shows the specific calling method of the device of the present invention when the data requester requests to obtain data.

具体实施方式Detailed ways

应该指出,以下详细说明都是示例性的,旨在对本申请提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本申请所属技术领域的普通技术人员通常理解的相同含义。It should be pointed out that the following detailed description is exemplary and is intended to provide further explanation to the present application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本申请的示例性实施方式。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terminology used here is only for describing specific implementations, and is not intended to limit the exemplary implementations according to the present application. As used herein, unless the context clearly dictates otherwise, the singular is intended to include the plural, and it should also be understood that the terms "comprising" and "having" and any variations thereof are intended to cover a non-exclusive Comprising, for example, a process, method, system, product, or device comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include steps or units not explicitly listed or for these processes, methods, Other steps or units inherent in a product or equipment.

在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。In the case of no conflict, the embodiments and the features in the embodiments of the present invention can be combined with each other.

实施例一Embodiment one

本实施例提供了基于区块链的数字资料支付与存入方法;This embodiment provides a blockchain-based digital data payment and deposit method;

如图2所示,基于区块链的数字资料支付与存入方法,包括:As shown in Figure 2, the blockchain-based digital data payment and deposit methods include:

Sa101:资料拥有方客户端将授权使用的资料目录及资料可使用权限汇总,生成授权二维码;资料可使用权限,包括:下载使用权限或在线阅览权限;Sa101: The client of the data owner summarizes the authorized data catalog and data use rights to generate an authorized QR code; the data use rights include: download and use rights or online reading rights;

Sa102:资料拥有方客户端接收资料使用方客户端反馈的确认需要使用资料的消息;所述确认需要使用资料的消息,是由资料使用方客户端对授权二维码进行扫描解析后,接收到资料使用方的确认使用操作指令得到的;Sa102: The data owner client receives a message from the data user client confirming that the data needs to be used; the message confirming that the data needs to be used is received by the data user client after scanning and analyzing the authorized QR code The confirmation of the data user is obtained by using the operation instruction;

Sa103:资料拥有方客户端将资料的授权令牌,发送给资料使用方客户端;同时,资料拥有方客户端将本次交易存储到区块链中;Sa103: The data owner client sends the authorization token of the data to the data user client; at the same time, the data owner client stores the transaction in the blockchain;

Sa104:资料使用方客户端将授权令牌发送给区块链,请求从区块链上获取资料;Sa104: The data user client sends the authorization token to the blockchain, requesting to obtain data from the blockchain;

Sa105:区块链对授权信息进行解析,并将资料发送给资料使用方客户端。Sa105: The blockchain parses the authorization information and sends the data to the client of the data user.

实施例二Embodiment two

资料拥有方客户端,包括:Data owner clients, including:

授权码生成模块,其被配置为:将资料目录及资料可使用权限进行汇总并转换为授权二维码形式;An authorization code generation module, which is configured to: summarize and convert the data catalog and data usage rights into an authorized two-dimensional code form;

第一通信模块,其被配置为:接收资料使用方客户端反馈的确认使用消息;The first communication module is configured to: receive a confirmation use message fed back by the data user client;

资料授权发送模块,其被配置为:将资料的授权令牌或授权二维码,发送给资料使用方客户端;The data authorization sending module is configured to: send the data authorization token or authorization QR code to the data user client;

交易上链模块,其被配置为:将资料的支付或授权内容、结果上传到区块链进行保存。The transaction on-chain module is configured to: upload the payment or authorization content and results of the data to the blockchain for storage.

实施例三Embodiment three

资料使用方客户端,包括:Clients of data users, including:

第二通信模块,其被配置为:接收授权二维码;The second communication module is configured to: receive an authorization two-dimensional code;

授权码解析模块,其被配置为:对授权二维码进行扫描解析,得到资料目录及资料可使用权限;The authorization code parsing module is configured to: scan and analyze the authorized QR code to obtain the data directory and data usable permissions;

资料获取模块,其被配置为:将授权令牌发送给区块链,请求从区块链上获取资料;The data acquisition module is configured to: send the authorization token to the block chain, and request to obtain the data from the block chain;

资料存储模块,其被配置为:接收区块链发送过来的资料,并存储到本地数据库中。The data storage module is configured to: receive the data sent by the blockchain and store it in a local database.

实施例四Embodiment four

区块链,包括:Blockchain, including:

存储模块,其被配置为:存储资料拥有方客户端将授权令牌发送给资料使用方客户端的交易记录;还用于存储资料拥有方客户端存储的资料;The storage module is configured to: store the transaction record that the client of the data owner sends the authorization token to the client of the data user; it is also used to store the data stored by the client of the data owner;

第三通信模块,其被配置为:接收资料使用方客户端发送资料获取请求和授权消息;The third communication module is configured to: receive a data acquisition request and an authorization message sent by the data user client;

解析模块,其被配置为:对授权令牌进行解析;A parsing module configured to: parse the authorization token;

第三通信模块,其被配置为:将资料发送给资料使用方客户端。The third communication module is configured to: send the data to the data user client.

实施例五Embodiment five

如图1所示,基于区块链的数字资料支付与存入系统,包括:资料拥有方客户端、资料使用方客户端和区块链;As shown in Figure 1, the blockchain-based digital data payment and deposit system includes: data owner client, data user client and blockchain;

资料拥有方客户端生成授权二维码;The data owner client generates an authorization QR code;

资料拥有方客户端接收资料使用方客户端反馈的确认使用消息;所述确认使用消息,是由资料使用方客户端对授权二维码进行扫描解析后,接收到资料使用方的确认使用操作指令得到的;The data owner client receives the confirmation use message fed back by the data user client; the confirmation use message is received by the data user after scanning and analyzing the authorized QR code by the data user client owned;

资料拥有方客户端将资料的授权令牌,发送给资料使用方客户端;同时,资料拥有方客户端将本次交易存储到区块链中;The data owner client sends the authorization token of the data to the data user client; at the same time, the data owner client stores the transaction in the blockchain;

资料使用方客户端将授权令牌发送给区块链,请求从区块链上获取资料;The data user client sends the authorization token to the blockchain, requesting to obtain data from the blockchain;

区块链对授权令牌进行解析,并将资料发送给资料使用方客户端。The blockchain parses the authorization token and sends the data to the data user client.

实施例六Embodiment six

本实施例提供了基于区块链的数字资料支付与存入方法;This embodiment provides a blockchain-based digital data payment and deposit method;

如图3所示,基于区块链的数字资料支付与存入方法,包括:As shown in Figure 3, the blockchain-based digital data payment and deposit methods include:

Sb101:资料使用方客户端,根据资料使用需求生成资料请求二维码;Sb101: Data user client, generate data request QR code according to data usage requirements;

Sb102:资料拥有方客户端扫描并解析二维码,得到资料的使用需求;Sb102: The client side of the data owner scans and parses the QR code to obtain the usage requirements of the data;

Sb103:资料拥有方客户端根据资料使用需求生成资料的授权令牌;Sb103: The client side of the data owner generates an authorization token for the data according to the data use requirements;

Sb104:资料拥有方客户端发送资料的授权令牌给资料使用方客户端,并将本次交易记录到区块链中;Sb104: The data owner client sends the authorization token of the data to the data user client, and records this transaction in the blockchain;

Sb105:资料使用方客户端向区块链发送资料获取请求和授权令牌;Sb105: The data user client sends a data acquisition request and authorization token to the blockchain;

Sb106:区块链解析授权令牌,并将资料发送给资料使用方客户端;Sb106: The blockchain parses the authorization token, and sends the data to the data user client;

Sb107:资料使用方客户端接收区块链发送过来的资料,并将资料存储到本地数据库。Sb107: The data user client receives the data sent by the blockchain and stores the data in the local database.

所述区块链,用于数字资料存储和可信流转的底层平台。The blockchain is an underlying platform for digital data storage and credible transfer.

实施例七Embodiment seven

资料使用方客户端,包括:Clients of data users, including:

二维码生成模块,其被配置为:根据资料使用需求生成资料请求二维码;A two-dimensional code generation module configured to: generate a data request two-dimensional code according to data use requirements;

第四通信模块,其被配置为:向区块链发送资料获取请求和授权信息;The fourth communication module is configured to: send a data acquisition request and authorization information to the block chain;

第四通信模块,其被配置为:接收区块链发送过来的资料,并将资料存储到本地数据库。The fourth communication module is configured to: receive the data sent by the blockchain, and store the data in a local database.

实施例八Embodiment eight

资料拥有方客户端,包括:Data owner clients, including:

二维码解析模块,其被配置为:扫描并解析二维码,得到资料的使用需求;授权信息生成模块,其被配置为:根据资料使用需求生成资料的授权令牌;The two-dimensional code analysis module is configured to: scan and analyze the two-dimensional code to obtain the use requirements of the data; the authorization information generation module is configured to: generate the authorization token of the data according to the data use requirements;

第五通信模块,其被配置为:发送资料的授权令牌给资料使用方客户端,并将本次交易记录到区块链中。The fifth communication module is configured to: send the data authorization token to the data user client, and record this transaction into the block chain.

实施例九Embodiment nine

基于区块链的数字资料支付与存入系统,包括:资料使用方客户端、资料拥有方客户端和区块链;Blockchain-based digital data payment and deposit system, including: data user client, data owner client and blockchain;

资料使用方客户端,根据资料使用需求生成资料请求二维码;The client side of the data user generates a data request QR code according to the data usage requirements;

资料拥有方客户端扫描并解析二维码,得到资料的使用需求;资料拥有方客户端根据资料使用需求生成资料的授权令牌;资料拥有方客户端发送资料的授权信息给资料使用方客户端,并将本次交易记录到区块链中;The data owner client scans and parses the QR code to obtain the usage requirements of the data; the data owner client generates the data authorization token according to the data usage requirements; the data owner client sends the data authorization information to the data user client , and record this transaction into the blockchain;

资料使用方客户端向区块链发送资料获取请求和授权令牌;The data user client sends a data acquisition request and authorization token to the blockchain;

区块链解析授权信息,并将资料发送给资料使用方客户端;The blockchain parses the authorization information and sends the data to the client of the data user;

资料使用方客户端接收区块链发送过来的资料,并将资料存储到本地数据库。The data user client receives the data sent by the blockchain and stores the data in the local database.

以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, there may be various modifications and changes in the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application shall be included within the protection scope of this application.

Claims (8)

1.基于区块链的数字资料支付与存入方法,其特征是,包括:1. The digital data payment and deposit method based on the block chain, which is characterized in that it includes: 资料拥有方客户端将授权使用的资料目录及资料可使用权限汇总,生成授权二维码;The client side of the data owner summarizes the authorized data catalog and data use rights, and generates an authorized QR code; 资料拥有方客户端接收资料使用方客户端反馈的确认需要使用资料的消息;所述确认需要使用资料的消息,是由资料使用方客户端对授权二维码进行扫描解析后,接收到资料使用方的确认使用操作指令得到的;The client of the data owner receives the message from the client of the data user confirming that the data needs to be used; The party's confirmation is obtained using the operating instructions; 资料拥有方客户端将资料的授权令牌,发送给资料使用方客户端;同时,资料拥有方客户端将本次交易存储到区块链中;The data owner client sends the authorization token of the data to the data user client; at the same time, the data owner client stores the transaction in the blockchain; 资料使用方客户端将授权令牌发送给区块链,请求从区块链上获取资料;The data user client sends the authorization token to the blockchain, requesting to obtain data from the blockchain; 区块链对授权信息进行解析,并将资料发送给资料使用方客户端;The blockchain parses the authorization information and sends the data to the client of the data user; 还包括:资料使用方客户端,根据资料使用需求生成资料请求二维码;资料拥有方客户端扫描并解析二维码,得到资料的使用需求;资料拥有方客户端根据资料使用需求生成资料的授权令牌;资料拥有方客户端发送资料的授权令牌给资料使用方客户端,并将本次交易记录到区块链中;资料使用方客户端向区块链发送资料获取请求和授权令牌;区块链解析授权令牌,并将资料发送给资料使用方客户端;资料使用方客户端接收区块链发送过来的资料,并将资料存储到本地数据库;所述区块链,用于数字资料存储和可信流转的底层平台。It also includes: the data user client generates a data request QR code according to the data usage requirements; the data owner client scans and parses the QR code to obtain the data usage requirements; the data owner client generates data according to the data usage requirements Authorization token; the data owner client sends the data authorization token to the data user client, and records this transaction in the blockchain; the data user client sends a data acquisition request and authorization order to the blockchain brand; the block chain parses the authorization token, and sends the data to the data user client; the data user client receives the data sent by the block chain, and stores the data in the local database; the block chain uses The underlying platform for digital data storage and trusted transfer. 2.如权利要求1所述的基于区块链的数字资料支付与存入方法,其特征是,资料可使用权限,包括:下载使用权限或在线阅览权限。2. The blockchain-based digital data payment and deposit method according to claim 1, characterized in that the data usage rights include: download usage rights or online browsing rights. 3.资料拥有方客户端,用于实现权利要求1-2任一项权利要求所述的基于区块链的数字资料支付与存入方法,其特征是,包括:3. The client of the data owner, used to implement the blockchain-based digital data payment and deposit method described in any one of claims 1-2, characterized in that it includes: 授权码生成模块,其被配置为:将资料目录及资料可使用权限进行汇总并转换为授权二维码形式;An authorization code generation module, which is configured to: summarize and convert the data catalog and data usage rights into an authorized two-dimensional code form; 第一通信模块,其被配置为:接收资料使用方客户端反馈的确认使用消息;The first communication module is configured to: receive a confirmation use message fed back by the data user client; 资料授权发送模块,其被配置为:将资料的授权令牌或授权二维码,发送给资料使用方客户端;The data authorization sending module is configured to: send the data authorization token or authorization QR code to the data user client; 交易上链模块,其被配置为:将资料的支付或授权内容、结果上传到区块链进行保存。The transaction on-chain module is configured to: upload the payment or authorization content and results of the data to the blockchain for storage. 4.资料使用方客户端,用于实现权利要求1-2任一项权利要求所述的基于区块链的数字资料支付与存入方法,其特征是,包括:4. The data user client is used to implement the blockchain-based digital data payment and deposit method described in any one of claims 1-2, characterized in that it includes: 第二通信模块,其被配置为:接收授权二维码;The second communication module is configured to: receive an authorization two-dimensional code; 授权码解析模块,其被配置为:对授权二维码进行扫描解析,得到资料目录及资料可使用权限;The authorization code parsing module is configured to: scan and analyze the authorized QR code to obtain the data directory and data usable permissions; 资料获取模块,其被配置为:将授权令牌发送给区块链,请求从区块链上获取资料;The data acquisition module is configured to: send the authorization token to the block chain, and request to obtain the data from the block chain; 资料存储模块,其被配置为:接收区块链发送过来的资料,并存储到本地数据库中。The data storage module is configured to: receive the data sent by the blockchain and store it in a local database. 5.区块链,用于实现权利要求1-2任一项权利要求所述的基于区块链的数字资料支付与存入方法,其特征是,包括:5. Block chain, for realizing the method for payment and deposit of digital data based on block chain described in any one of claims 1-2, characterized in that, comprising: 存储模块,其被配置为:存储资料拥有方客户端将授权令牌发送给资料使用方客户端的交易记录;还用于存储资料拥有方客户端存储的资料;The storage module is configured to: store the transaction record that the client of the data owner sends the authorization token to the client of the data user; it is also used to store the data stored by the client of the data owner; 第三通信模块,其被配置为:接收资料使用方客户端发送资料获取请求和授权消息;The third communication module is configured to: receive a data acquisition request and an authorization message sent by the data user client; 解析模块,其被配置为:对授权令牌进行解析;A parsing module configured to: parse the authorization token; 第三通信模块,其被配置为:将资料发送给资料使用方客户端。The third communication module is configured to: send the data to the data user client. 6.基于区块链的数字资料支付与存入系统,其特征是,包括:资料拥有方客户端、资料使用方客户端和区块链;6. The blockchain-based digital data payment and deposit system is characterized by: data owner client, data user client and blockchain; 资料拥有方客户端生成授权二维码;The data owner client generates an authorization QR code; 资料拥有方客户端接收资料使用方客户端反馈的确认使用消息;所述确认使用消息,是由资料使用方客户端对授权二维码进行扫描解析后,接收到资料使用方的确认使用操作指令得到的;The data owner client receives the confirmation use message fed back by the data user client; the confirmation use message is received by the data user after scanning and analyzing the authorized QR code by the data user client owned; 资料拥有方客户端将资料的授权令牌,发送给资料使用方客户端;同时,资料拥有方客户端将本次交易存储到区块链中;The data owner client sends the authorization token of the data to the data user client; at the same time, the data owner client stores the transaction in the blockchain; 资料使用方客户端将授权令牌发送给区块链,请求从区块链上获取资料;The data user client sends the authorization token to the blockchain, requesting to obtain data from the blockchain; 区块链对授权令牌进行解析,并将资料发送给资料使用方客户端;The blockchain parses the authorization token and sends the data to the data user client; 还包括:资料使用方客户端,根据资料使用需求生成资料请求二维码;资料拥有方客户端扫描并解析二维码,得到资料的使用需求;资料拥有方客户端根据资料使用需求生成资料的授权令牌;资料拥有方客户端发送资料的授权信息给资料使用方客户端,并将本次交易记录到区块链中;资料使用方客户端向区块链发送资料获取请求和授权令牌;区块链解析授权信息,并将资料发送给资料使用方客户端;资料使用方客户端接收区块链发送过来的资料,并将资料存储到本地数据库。It also includes: the data user client generates a data request QR code according to the data usage requirements; the data owner client scans and parses the QR code to obtain the data usage requirements; the data owner client generates data according to the data usage requirements Authorization token; the data owner client sends data authorization information to the data user client, and records this transaction into the blockchain; the data user client sends data acquisition requests and authorization tokens to the blockchain ; The blockchain parses the authorization information and sends the data to the data user client; the data user client receives the data sent by the blockchain and stores the data in the local database. 7.资料使用方客户端,基于如权利要求6所述的基于区块链的数字资料支付与存入系统,其特征是,包括:7. The data user client, based on the blockchain-based digital data payment and deposit system as claimed in claim 6, is characterized in that it includes: 二维码生成模块,其被配置为:根据资料使用需求生成资料请求二维码;A two-dimensional code generation module configured to: generate a data request two-dimensional code according to data use requirements; 第四通信模块,其被配置为:向区块链发送资料获取请求和授权信息;The fourth communication module is configured to: send a data acquisition request and authorization information to the block chain; 第四通信模块,其被配置为:接收区块链发送过来的资料,并将资料存储到本地数据库。The fourth communication module is configured to: receive the data sent by the blockchain, and store the data in a local database. 8.资料拥有方客户端,基于如权利要求6所述的基于区块链的数字资料支付与存入系统,其特征是,包括:8. The data owner client, based on the blockchain-based digital data payment and deposit system as claimed in claim 6, is characterized in that it includes: 二维码解析模块,其被配置为:扫描并解析二维码,得到资料的使用需求;The two-dimensional code analysis module is configured to: scan and analyze the two-dimensional code to obtain the use requirements of the data; 授权信息生成模块,其被配置为:根据资料使用需求生成资料的授权令牌;An authorization information generation module configured to: generate an authorization token for the data according to the data use requirements; 第五通信模块,其被配置为:发送资料的授权令牌给资料使用方客户端,并将本次交易记录到区块链中。The fifth communication module is configured to: send the data authorization token to the data user client, and record this transaction into the block chain.
CN202011519268.8A 2020-12-21 2020-12-21 Digital data payment and storage method, client and system based on blockchain Active CN112668043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011519268.8A CN112668043B (en) 2020-12-21 2020-12-21 Digital data payment and storage method, client and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011519268.8A CN112668043B (en) 2020-12-21 2020-12-21 Digital data payment and storage method, client and system based on blockchain

Publications (2)

Publication Number Publication Date
CN112668043A CN112668043A (en) 2021-04-16
CN112668043B true CN112668043B (en) 2023-08-11

Family

ID=75406827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011519268.8A Active CN112668043B (en) 2020-12-21 2020-12-21 Digital data payment and storage method, client and system based on blockchain

Country Status (1)

Country Link
CN (1) CN112668043B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019078879A1 (en) * 2017-10-20 2019-04-25 Hewlett Packard Enterprise Development Lp Permissions from entities to access information
CN108763942A (en) * 2018-05-22 2018-11-06 山大地纬软件股份有限公司 Digital license based on block chain licenses device and its application method
CN108923908B (en) * 2018-06-25 2022-05-31 百度在线网络技术(北京)有限公司 Authorization processing method, device, equipment and storage medium
US11245576B2 (en) * 2018-09-07 2022-02-08 Dell Products L.P. Blockchain-based configuration profile provisioning system
CN110675253A (en) * 2019-08-15 2020-01-10 山大地纬软件股份有限公司 Block chain-based exclusive digital asset trusted keeping and transferring device and method
CN110929231A (en) * 2019-12-06 2020-03-27 北京阿尔山区块链联盟科技有限公司 Digital asset authorization method and device and server

Also Published As

Publication number Publication date
CN112668043A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
US11222331B2 (en) Method and system for blockchain-based gemstone ownership, identity, custody, supply-chain transfer, trading, and secure payments
CN108460605B (en) Block chain-based tracing and anti-counterfeiting method and system for paper artwork
CN110020956A (en) A kind of exchange method and system, computer equipment and storage medium of transregional piece of chain
CN108389059A (en) Digital copyrighted work protection, transaction and distributing method based on ownership and system
EP2850772A1 (en) Secure transaction object creation, propagation and invocation
CN106452756A (en) Construction verification method and device capable of verifying security two-dimensional code offline
CN102855577B (en) Multiple commodity antifake check method based on cloud computing
US20230109369A1 (en) First copyright holder authentication system using blockchain, and method therefor
CN108537314A (en) Product marketing system and method based on Quick Response Code
US20030023566A1 (en) Authenticating method
CN101593338A (en) A kind of method and system of handling electronic transaction request
Said et al. A blockchain-based conceptual model to address educational certificate verification challenges in Tanzania
Sakho et al. Blockchain: Perspectives and issues
CN113362063A (en) Asset digitalization method based on block chain and transaction platform thereof
CN109118377A (en) A kind of processing method, system and the electronic equipment of the Claims Resolution event based on block chain
CN108881121A (en) A kind of P2P credit based on mobile Internet mutually sees system and method
KR20000049674A (en) Method for providing and authenticating an electronic signature using a web site
CN113704734A (en) Distributed digital identity-based method for realizing certificate verification and related device
CN112668043B (en) Digital data payment and storage method, client and system based on blockchain
Guth A sample DRM system
Malaurie-Vignal Blockchain, intellectual property and fashion
CN108710785A (en) Resource distribution method and device
Honeyman Digest of the First UNSENIX Workshop on Electronic Commerce (EC 95)
RU117198U1 (en) SYSTEM OF TRUSTED LEGALLY VALUABLE ELECTRONIC DOCUMENT CIRCULATION
Goswami et al. Self-sovereign identity to secure digital identity using blockchain technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 250101 No. 300 Gangxing Road, High-tech Zone, Jinan City, Shandong Province

Patentee after: Diwei Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: 250101 No. 300 Gangxing Road, High-tech Zone, Jinan City, Shandong Province

Patentee before: DAREWAY SOFTWARE Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address