CN108646983A - The treating method and apparatus of storage service data on block chain - Google Patents

The treating method and apparatus of storage service data on block chain Download PDF

Info

Publication number
CN108646983A
CN108646983A CN201810434004.9A CN201810434004A CN108646983A CN 108646983 A CN108646983 A CN 108646983A CN 201810434004 A CN201810434004 A CN 201810434004A CN 108646983 A CN108646983 A CN 108646983A
Authority
CN
China
Prior art keywords
block chain
target data
data
target
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810434004.9A
Other languages
Chinese (zh)
Other versions
CN108646983B (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.)
Beijing Rong Chain Technology Co Ltd
Original Assignee
Beijing Rong Chain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Rong Chain Technology Co Ltd filed Critical Beijing Rong Chain Technology Co Ltd
Priority to CN201810434004.9A priority Critical patent/CN108646983B/en
Publication of CN108646983A publication Critical patent/CN108646983A/en
Application granted granted Critical
Publication of CN108646983B publication Critical patent/CN108646983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a kind for the treatment of method and apparatus of the storage service data on block chain.Wherein, this method includes:Business datum is obtained, and defines the type of transaction of business datum;Based on construction method corresponding with type of transaction, the target data to be uploaded to block chain network is built according to business datum;It will be in target data storage to the block chain of corresponding node in block chain network.The present invention solves in the prior art, since the data recorded on block chain only have transaction data not have business datum, in the case that business datum is tampered, and the technical issues of being unable to ensure information security.

Description

在区块链上存储业务数据的处理方法和装置Processing method and device for storing business data on block chain

技术领域technical field

本发明涉及互联网领域,具体而言,涉及一种在区块链上存储业务数据的处理方法和装置。The present invention relates to the field of the Internet, in particular to a processing method and device for storing business data on a block chain.

背景技术Background technique

在互联网信息技术领域,一些业务数据通常都会通过一个中心服务器的数据库存储,但是一旦中心服务器受到攻击,那么数据很有可能就会被篡改或者丢失,造成的损失将是不可估量。比特币为了解决这一问题提出了区块链技术,但是,比特币只是将经济学概念中的交易数据写入了区块链,对于一些功能性的业务数据却并没有记录到区块链。因此针对这一现状,需要开发了一种将功能性数据写入区块链的方法。In the field of Internet information technology, some business data is usually stored in the database of a central server, but once the central server is attacked, the data is likely to be tampered with or lost, causing immeasurable losses. In order to solve this problem, Bitcoin proposed blockchain technology. However, Bitcoin only writes the transaction data in the concept of economics into the blockchain, but does not record some functional business data into the blockchain. Therefore, in response to this situation, it is necessary to develop a method for writing functional data into the blockchain.

针对上述现有技术中,由于区块链上记录的数据只有交易数据没有业务数据,当业务数据被篡改的情况下,无法确保信息安全的问题,目前尚未提出有效的解决方案。In the above-mentioned prior art, since the data recorded on the blockchain only has transaction data but no business data, when the business data is tampered with, information security cannot be ensured, and no effective solution has been proposed yet.

发明内容Contents of the invention

本发明实施例提供了一种在区块链上存储业务数据的处理方法和装置,以至少解决现有技术中,由于区块链上记录的数据只有交易数据没有业务数据,当业务数据被篡改的情况下,无法确保信息安全的技术问题。The embodiment of the present invention provides a processing method and device for storing business data on the block chain to at least solve the problem in the prior art that when the business data is tampered Under the circumstances, it is impossible to ensure the technical problems of information security.

根据本发明实施例的一个方面,提供了一种业务数据的处理方法,包括:获取业务数据,并定义业务数据的交易类型;基于与交易类型对应的构建方法,根据业务数据构建待上传至区块链网络的目标数据;将目标数据存储到区块链网络中对应节点的区块链上。According to an aspect of an embodiment of the present invention, a method for processing business data is provided, including: obtaining business data, and defining the transaction type of the business data; based on the construction method corresponding to the transaction type, constructing the The target data of the block chain network; store the target data on the block chain of the corresponding node in the block chain network.

根据本发明实施例的另一方面,还提供了一种业务数据的处理装置,包括:获取单元,用于获取业务数据,并定义业务数据的交易类型;构建单元,用于基于与交易类型对应的构建方法,根据业务数据构建待上传至区块链网络的目标数据;存储单元,用于将目标数据存储到区块链网络中对应节点的区块链上。According to another aspect of the embodiments of the present invention, there is also provided a processing device for business data, including: an acquisition unit, configured to acquire business data, and define a transaction type of the business data; a construction unit, configured to The construction method constructs the target data to be uploaded to the block chain network according to the business data; the storage unit is used to store the target data on the block chain of the corresponding node in the block chain network.

在本发明实施例中,通过获取业务数据,并定义业务数据的交易类型;基于与交易类型对应的构建方法,根据业务数据构建待上传至区块链网络的目标数据;将目标数据存储到区块链网络中对应节点的区块链上,达到了将业务数据存储到区块链以防止业务数据被篡改的目的,从而实现了提高业务数据的安全性的技术效果,进而解决了现有技术中,由于区块链上记录的数据只有交易数据没有业务数据,当业务数据被篡改的情况下,无法确保信息安全的技术问题。In the embodiment of the present invention, by acquiring business data and defining the transaction type of the business data; based on the construction method corresponding to the transaction type, constructing the target data to be uploaded to the block chain network according to the business data; storing the target data in the block On the block chain of the corresponding node in the block chain network, the purpose of storing business data in the block chain to prevent business data from being tampered with is achieved, thereby achieving the technical effect of improving the security of business data, and then solving the problem of existing technology Among them, since the data recorded on the blockchain only has transaction data and no business data, when the business data is tampered with, the technical problem of information security cannot be ensured.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的一种在区块链上存储业务数据的处理方法流程图;Fig. 1 is a flow chart of a processing method for storing business data on a block chain according to an embodiment of the present invention;

图2是根据本发明实施例的一种可选的在区块链上存储业务数据的处理方法流程图;Fig. 2 is a flow chart of an optional processing method for storing business data on a block chain according to an embodiment of the present invention;

图3是根据本发明实施例的一种可选的生成区块链数据的方法流程图;FIG. 3 is a flow chart of an optional method for generating blockchain data according to an embodiment of the present invention;

图4是根据本发明实施例的一种可选的在区块链上写入业务数据的方法流程图;以及Fig. 4 is a flow chart of an optional method for writing business data on the block chain according to an embodiment of the present invention; and

图5是根据本发明实施例的一种在区块链上存储业务数据的处理装置示意图。Fig. 5 is a schematic diagram of a processing device for storing business data on a blockchain according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.

根据本发明实施例,提供了一种在区块链上存储业务数据的处理方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, an embodiment of a processing method for storing business data on a block chain is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be performed on a computer such as a set of computer-executable instructions system, and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

图1是根据本发明实施例的一种在区块链上存储业务数据的处理方法流程图,如图1所示,该方法包括如下步骤:Fig. 1 is a flow chart of a processing method for storing business data on a block chain according to an embodiment of the present invention. As shown in Fig. 1, the method includes the following steps:

步骤S102,获取业务数据,并定义业务数据的交易类型。Step S102, acquiring business data and defining transaction types of the business data.

具体地,上述业务数据可以是与交易关联的一些功能性业务数据,包括但不限于电量数据、用户数据(例如,注册、登录、访问、投票等)。这些业务数据可以扩展为一种交易,在区块链上记录。上述交易类型可以是预先定义的业务数据所属交易的类型,即不同的业务数据,其计算和交易方法可能均不相同,因而,在获取到业务数据后,至少要获取该业务数据的交易类型,以便根据该交易类型确定业务数据的计算或交易规则或方法。Specifically, the above business data may be some functional business data associated with the transaction, including but not limited to electricity data, user data (for example, registration, login, access, voting, etc.). These business data can be expanded into a transaction and recorded on the blockchain. The above transaction types may be the types of transactions to which the business data belongs, that is, different business data may have different calculation and transaction methods. Therefore, after obtaining the business data, at least the transaction type of the business data must be obtained. Calculation or transaction rules or methods to determine business data according to this transaction type.

一种可选的实施例中,可以将功能性业务数据存储到数据库,并在配置文件中定义业务数据的交易类型。In an optional embodiment, the functional business data can be stored in the database, and the transaction type of the business data can be defined in the configuration file.

步骤S104,基于与交易类型对应的构建方法,根据业务数据构建待上传至区块链网络的目标数据。Step S104, based on the construction method corresponding to the transaction type, construct the target data to be uploaded to the blockchain network according to the business data.

具体地,在根据获取到的业务数据确定该业务数据的类型后,可以基于该交易类型对应的构建方法,根据该业务数据构建对应的待上传至区块链网络的目标数据。Specifically, after determining the type of the business data according to the acquired business data, the corresponding target data to be uploaded to the blockchain network can be constructed according to the business data based on the construction method corresponding to the transaction type.

作为一种可选的实施例,可以根据配置文件中定义的交易类型,设计业务数据的交易流程,具体地,构建共有的交易数据,同时根据不同类型交易调用相对应类的方法来处理业务数据,在构建待上传至区块链网络的目标数据的时候,可以根据功能需求,调用功能性业务类的构造方法构建业务交易数据,并将功能性业务数据和主流程数据构建目标数据。As an optional embodiment, according to the transaction type defined in the configuration file, the transaction process of business data can be designed, specifically, the shared transaction data can be constructed, and the method of the corresponding class can be called according to different types of transactions to process the business data , when constructing the target data to be uploaded to the blockchain network, according to the functional requirements, the construction method of the functional business class can be called to construct the business transaction data, and the functional business data and the main process data can be used to construct the target data.

步骤S106,将目标数据存储到区块链网络中对应节点的区块链上。Step S106, storing the target data on the blockchain of the corresponding node in the blockchain network.

具体地,在通过上述步骤S104构建待上传至区块链网络的目标数据后,将目标数据存储到区块链网络中对应节点的区块链上。Specifically, after the target data to be uploaded to the blockchain network is constructed through the above step S104, the target data is stored on the blockchain of the corresponding node in the blockchain network.

由上可知,在本申请上述实施例中,在获取到任意一种业务的业务数据后,基于与该种交易类型对应的构建方法,根据获取到的业务数据构建待上传至区块链网络的目标数据,并将构建的目标数据存储到区块链网络中对应节点的区块链上,达到了将业务数据存储到区块链以防止业务数据被篡改的目的,从而实现了提高业务数据的安全性的技术效果,进而解决了现有技术中,由于区块链上记录的数据只有交易数据没有业务数据,当业务数据被篡改的情况下,无法确保信息安全的技术问题。It can be seen from the above that in the above-mentioned embodiments of the present application, after obtaining the business data of any kind of business, based on the construction method corresponding to the type of transaction, the business data to be uploaded to the block chain network is constructed according to the obtained business data. Target data, and store the built target data on the blockchain of the corresponding node in the blockchain network, so as to achieve the purpose of storing business data in the blockchain to prevent business data from being tampered with, thereby realizing the improvement of business data. The technical effect of security further solves the technical problem that in the existing technology, because the data recorded on the blockchain only has transaction data and no business data, when the business data is tampered with, the technical problem of information security cannot be ensured.

需要说明的是,为了保证区块链上存储的数据的准确性,在将待上传至区块链网络的目标数据上传到区块链网络的时候,作为一种可选的实例,如图2所示,可以包括如下步骤:It should be noted that, in order to ensure the accuracy of the data stored on the blockchain, when uploading the target data to be uploaded to the blockchain network, as an optional example, as shown in Figure 2 As shown, the following steps may be included:

步骤S202,生成目标数据在区块链网络中的标识信息;Step S202, generating identification information of the target data in the blockchain network;

步骤S204,基于标识信息,对目标数据的合法性进行验证;Step S204, verifying the validity of the target data based on the identification information;

步骤S206,在验证目标数据合法的情况下,将目标数据存储到区块链网络中对应节点的区块链上。Step S206, in the case of verifying that the target data is legal, store the target data on the block chain of the corresponding node in the block chain network.

可选地,生成目标数据在区块链网络的标识信息,可以包括如下步骤:根据目标数据,生成对应的哈希值;根据哈希值,生成目标数据在区块链网络中的标识信息。Optionally, generating the identification information of the target data in the blockchain network may include the following steps: generating a corresponding hash value according to the target data; and generating identification information of the target data in the blockchain network according to the hash value.

可选地,根据目标数据,生成对应的哈希值,包括:对目标数据进行加密处理,得到加密后的数据,其中,加密处理包括如下至少之一:采用密钥加密、添加数字签名;根据加密后的数据,生成对应的哈希值。Optionally, generating a corresponding hash value according to the target data includes: performing encryption processing on the target data to obtain encrypted data, wherein the encryption processing includes at least one of the following: encrypting with a key, adding a digital signature; The encrypted data generates a corresponding hash value.

可选地,根据哈希值,生成目标数据在区块链网络中的标识信息,可以包括:将哈希值转换为对应的十六进制数值,将十六进制数值作为目标数据在区块链网络中的标识信息。Optionally, generating the identification information of the target data in the blockchain network according to the hash value may include: converting the hash value into a corresponding hexadecimal value, and using the hexadecimal value as the target data in the block Identification information in the blockchain network.

可选地,在根据哈希值,生成目标数据在区块链网络中的标识信息之前,上述方法还可以包括:对哈希值进行加密处理,其中,加密处理包括如下至少之一:采用密钥加密、添加数字签名。Optionally, before generating the identification information of the target data in the blockchain network according to the hash value, the above method may further include: performing encryption processing on the hash value, wherein the encryption processing includes at least one of the following: Key encryption, add digital signature.

一种可选的实施例中,上述标识信息可以是目标数据对应的交易ID,对目标数据添加间戳、签名、并基于哈希算法生成对应的交易ID,具体地,作为一种可选的实施方式,可以获取当前时间,并记录交易时间戳,引入Node.js的加解密模块Crypto模块进行加密,通过Ed25519组件签名认证,并对签名后的目标数据通过sha256哈希算法生成简单哈希值。可选地,还可以利用签名算法Ed25519对上述哈希值加上密钥进行签名。进一步地,还可以对生成的哈希值进行再一次加密,并对加密后的哈希值(二进制数)进行多进制(例如,16进制)处理,生成对应的交易ID。In an optional embodiment, the above-mentioned identification information may be the transaction ID corresponding to the target data, adding a timestamp and signature to the target data, and generating the corresponding transaction ID based on the hash algorithm, specifically, as an optional The implementation method can obtain the current time and record the transaction timestamp, introduce the encryption and decryption module Crypto module of Node.js to encrypt, pass the Ed25519 component signature authentication, and generate a simple hash value for the signed target data through the sha256 hash algorithm . Optionally, the signature algorithm Ed25519 can also be used to sign the hash value plus the key. Further, the generated hash value can also be encrypted again, and the encrypted hash value (binary number) can be multi-aryed (for example, hexadecimal) to generate a corresponding transaction ID.

可选地,作为一种可选的实施例,基于标识信息,对目标数据的合法性进行验证,可以包括如下步骤:对目标数据进行业务验证;在目标数据通过业务验证的情况下,基于标识信息,对目标数据的合法性进行验证。Optionally, as an optional embodiment, verifying the validity of the target data based on the identification information may include the following steps: performing business verification on the target data; information to verify the legitimacy of the target data.

具体地,在对目标数据的合法性进行验证时,不仅要对目标数据的交易ID、签名、时间戳等信息进行验证,还要对目标数据的业务逻辑进行验证,例如,当业务数据为电量数据的情况下需要验证电量数据是否符合电量计算规则等。Specifically, when verifying the legitimacy of the target data, it is necessary not only to verify the transaction ID, signature, time stamp and other information of the target data, but also to verify the business logic of the target data. For example, when the business data is electricity In the case of data, it is necessary to verify whether the power data conforms to the power calculation rules, etc.

可选地,在目标数据通过业务验证的情况下,基于标识信息,对目标数据的合法性进行验证,可以包括:在目标数据通过业务验证的情况下,基于标识信息,判断目标区块链上是否存在目标数据;在目标区块链上不存在目标数据的情况下,基于标识信息,对目标数据的合法性进行验证。Optionally, when the target data passes business verification, verifying the legitimacy of the target data based on the identification information may include: when the target data passes the business verification, based on the identification information, judging Whether the target data exists; if the target data does not exist on the target blockchain, based on the identification information, the legitimacy of the target data is verified.

其中,作为一种可选的实施方式,将目标数据存储到区块链网络中对应节点的区块链上,可以包括如下步骤:如果目标数据被记载在目标区块链上,则区块链网络中其他节点将目标数据同步至对应的区块链上;如果目标数据未被记载在目标区块链上,则目标区块链的节点将目标数据广播至区块链网络上的其他节点,其中,通过任意一个节点验证的目标数据被存储到对应的区块链上。Wherein, as an optional implementation, storing the target data on the block chain of the corresponding node in the block chain network may include the following steps: if the target data is recorded on the target block chain, the block chain Other nodes in the network synchronize the target data to the corresponding blockchain; if the target data is not recorded on the target blockchain, the nodes of the target blockchain broadcast the target data to other nodes on the blockchain network, Among them, the target data verified by any node is stored in the corresponding blockchain.

具体地,在对目标数据进行合法性验证后,未被区块链网络节点确认的目标数据需要通过P2P网络进行广播,广播出去之后可能会被任何一个节点经过验证之后记录进区块链;如果目标数据被区块链网络的某个节点写入到区块了,那么其他的节点就会将此区块同步过来(包括交易),然后进行验证,并解决分叉问题。利用区块链技术进行同步,待其他节点验证成功后插入自己区块链数据库中。Specifically, after the legality of the target data is verified, the target data that has not been confirmed by the blockchain network nodes needs to be broadcast through the P2P network. After the broadcast, it may be verified by any node and recorded in the blockchain; if When the target data is written into the block by a node of the blockchain network, other nodes will synchronize the block (including transactions), then verify it, and solve the fork problem. Use blockchain technology for synchronization, and insert it into your own blockchain database after other nodes verify successfully.

作为一种优选的实施例,图3是根据本发明实施例的一种可选的生成区块链数据的方法流程图,如图3所示,在构建待上传至区块链网络的目标数据后,可以为待上传至区块链的目标数据添加时间戳,并对添加时间戳后的目标数据进行加密,生成对应的哈希值,然后使用业务方提供的密钥对哈希值添加数字签名,并对添加数字签名的目标数据进行十六进制处理,得到目标数据的标识信息(例如,交易ID),以便基于该标识信息上传到区块链网络。As a preferred embodiment, Fig. 3 is a flow chart of an optional method for generating blockchain data according to an embodiment of the present invention. As shown in Fig. 3, when constructing the target data to be uploaded to the blockchain network After that, you can add a time stamp to the target data to be uploaded to the blockchain, and encrypt the target data after adding the time stamp to generate a corresponding hash value, and then use the key provided by the business party to add a number to the hash value Signature, and perform hexadecimal processing on the target data with the digital signature to obtain the identification information (for example, transaction ID) of the target data, so as to upload to the block chain network based on the identification information.

作为一种优选的实施例,图4是根据本发明实施例的一种可选的在区块链上写入业务数据的方法流程图,如图4所示,包括如下步骤:As a preferred embodiment, Fig. 4 is a flow chart of an optional method for writing business data on the blockchain according to an embodiment of the present invention, as shown in Fig. 4, including the following steps:

(1)创建一个配置文件,定义交易类型,包括但不限于功能性交易和转账交易;(1) Create a configuration file to define transaction types, including but not limited to functional transactions and transfer transactions;

(2)将创建的或者采集的某些功能性业务数据存储到数据库以便后面在构建交易数据的时候查询;(2) Store some created or collected functional business data in the database for later query when constructing transaction data;

(3)导入用户数据,包括用户密码(私钥),地址等数据;(3) Import user data, including user password (private key), address and other data;

(4)利用前面的用户数据构建交易的公共数据,以供后面步骤的数字签名和验证等功能使用。(4) Use the previous user data to construct the public data of the transaction, which will be used for digital signature and verification functions in the following steps.

(5)在上步之后,通过判断交易类型调用相应交易类型的相应方法构建业务数据。(5) After the previous step, build business data by judging the transaction type and calling the corresponding method of the corresponding transaction type.

(6)将上两步构建的数据组合成一个完整的交易数据。(6) Combine the data constructed in the previous two steps into a complete transaction data.

(7)对交易进行签名,以防止数据在传播过程中被篡改,在这里举例将电表数据写入到交易里面去。(7) Sign the transaction to prevent the data from being tampered with during the propagation process. Here, for example, the data of the electric meter is written into the transaction.

(8)对交易做hash等一系列处理,生成一个交易ID,以便后面的验证。(8) Perform a series of processing such as hash on the transaction to generate a transaction ID for later verification.

(9)根据需求对交易做进一步的处理(例如,对电量数据的四舍五入、取整等处理操作)。(9) Perform further processing on the transaction according to the requirements (for example, processing operations such as rounding and rounding of the power data).

(10)再次验证交易的合法性,防止在处理过程中产生不合法的数据。(10) Verify the legitimacy of the transaction again to prevent illegal data from being generated during processing.

(11)再次验证功能性业务数据是否被篡改,防止在处理过程中发生改动。(11) Verify again whether the functional business data has been tampered with to prevent changes during processing.

(12)判断交易是否存在,如果存在,那么将不做后续处理。(12) Determine whether the transaction exists, and if so, no follow-up processing will be performed.

(13)如果交易不存在,那么将验证交易的签名、时间戳等信息。(13) If the transaction does not exist, the signature, timestamp and other information of the transaction will be verified.

(14)此时系统的另外一个线程每隔16秒就会产生一个区块,并且会将未经确认的交易写入最后产生的区块。(14) At this time, another thread of the system will generate a block every 16 seconds, and will write unconfirmed transactions into the last generated block.

(15)如果交易还未来及时被写入,那么交易将通过p2p网络广播出去,这样就实现了分布式的存储,防止单个节点被攻击之后数据丢失或者被篡改。(15) If the transaction has not been written in time in the future, the transaction will be broadcasted through the p2p network, thus realizing distributed storage and preventing data loss or tampering after a single node is attacked.

(16)广播出去之后可能会被任何一个节点经过验证之后记录进区块链。(16) After broadcasting, it may be recorded into the blockchain by any node after verification.

(17)如果交易被写入到区块了,那么其他的节点就会将此区块同步过来(包括交易),然后进行验证,并解决分叉问题。(17) If the transaction is written into the block, other nodes will synchronize the block (including the transaction), then verify it, and solve the fork problem.

(18)验证通过之后将区块和交易保存到本地数据库。(18) Save the blocks and transactions to the local database after the verification is passed.

通过本申请上述实施例,每次全网升级的时候,可以根据需求在底层新增一些功能性交易类型,相比于智能合约,此方法的解析相对简单,管理成本低廉,针对性较强。Through the above-mentioned embodiments of this application, each time the entire network is upgraded, some functional transaction types can be added at the bottom layer according to the needs. Compared with smart contracts, the analysis of this method is relatively simple, the management cost is low, and the pertinence is strong.

根据本发明实施例,还提供了一种用于实现上述在区块链上存储业务数据的处理方法的装置实施例,图5是根据本发明实施例的一种在区块链上存储业务数据的处理装置示意图,如图5所示,该装置包括:获取单元501、构建单元503和存储单元505。According to an embodiment of the present invention, a device embodiment for implementing the above-mentioned processing method for storing business data on a blockchain is also provided. FIG. 5 is a method for storing business data on a blockchain according to an embodiment of the present invention. A schematic diagram of a processing device of , as shown in FIG. 5 , the device includes: an acquisition unit 501 , a construction unit 503 and a storage unit 505 .

其中,获取单元501,用于获取业务数据,并定义业务数据的交易类型;Wherein, the obtaining unit 501 is used to obtain business data and define the transaction type of the business data;

构建单元503,用于基于与交易类型对应的构建方法,根据业务数据构建待上传至区块链网络的目标数据;The construction unit 503 is used to construct the target data to be uploaded to the block chain network according to the business data based on the construction method corresponding to the transaction type;

存储单元505,用于将目标数据存储到区块链网络中对应节点的区块链上。The storage unit 505 is configured to store the target data on the blockchain of the corresponding node in the blockchain network.

此处需要说明的是,上述获取单元501、构建单元503和存储单元505对应于方法实施例中的步骤S102至S106,上述模块与对应的步骤所实现的示例和应用场景相同,但不限于上述方法实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以在诸如一组计算机可执行指令的计算机系统中执行。It should be noted here that the acquisition unit 501, construction unit 503, and storage unit 505 above correspond to steps S102 to S106 in the method embodiment, and the examples and application scenarios implemented by the above-mentioned modules are the same as those of the corresponding steps, but are not limited to the above-mentioned The content disclosed in the method embodiment. It should be noted that, as a part of the apparatus, the above-mentioned modules can be executed in a computer system such as a set of computer-executable instructions.

由上可知,在本申请上述实施例中,在通过获取单元501获取到任意一种业务的业务数据后,通过构建单元503基于与该种交易类型对应的构建方法,根据获取到的业务数据构建待上传至区块链网络的目标数据,并通过存储单元505将构建的目标数据存储到区块链网络中对应节点的区块链上,达到了将业务数据存储到区块链以防止业务数据被篡改的目的,从而实现了提高业务数据的安全性的技术效果,进而解决了现有技术中,由于区块链上记录的数据只有交易数据没有业务数据,当业务数据被篡改的情况下,无法确保信息安全的技术问题。It can be seen from the above that, in the above-mentioned embodiments of the present application, after obtaining the business data of any type of business through the acquisition unit 501, the construction unit 503 constructs a The target data to be uploaded to the block chain network, and store the constructed target data on the block chain of the corresponding node in the block chain network through the storage unit 505, so as to store the business data in the block chain to prevent the business data The purpose of being tampered with, thereby achieving the technical effect of improving the security of business data, and then solving the problem in the prior art, since the data recorded on the blockchain only has transaction data and no business data, when the business data is tampered with, Technical issues that cannot ensure information security.

在一种可选的实例中,上述存储单元可以包括:生成模块,用于生成目标数据在区块链网络中的标识信息;验证模块,用于基于标识信息,对目标数据的合法性进行验证;存储模块,用于在验证目标数据合法的情况下,将目标数据存储到区块链网络中对应节点的区块链上。In an optional example, the above-mentioned storage unit may include: a generating module, configured to generate identification information of the target data in the blockchain network; a verification module, configured to verify the legitimacy of the target data based on the identification information ; The storage module is used to store the target data on the block chain of the corresponding node in the block chain network under the condition of verifying that the target data is legal.

可选地,上述生成模块可以包括:第一生成子模块,用于根据目标数据,生成对应的哈希值;第二生成子模块,用于根据哈希值,生成目标数据在区块链网络中的标识信息。Optionally, the above-mentioned generation module may include: a first generation sub-module for generating a corresponding hash value according to the target data; a second generation sub-module for generating the target data according to the hash value in the block chain network Identification information in .

可选地,上述第一生成子模块还用于对目标数据进行加密处理,得到加密后的数据,并根据加密后的数据,生成对应的哈希值,其中,加密处理包括如下至少之一:采用密钥加密、添加数字签名。Optionally, the above-mentioned first generation submodule is also used to encrypt the target data to obtain encrypted data, and generate a corresponding hash value according to the encrypted data, wherein the encryption processing includes at least one of the following: Encrypt with a key and add a digital signature.

可选地,上述第二生成子模块还用于将哈希值转换为对应的十六进制数值,将十六进制数值作为目标数据在区块链网络中的标识信息。Optionally, the above-mentioned second generating submodule is also used to convert the hash value into a corresponding hexadecimal value, and use the hexadecimal value as the identification information of the target data in the blockchain network.

在一种可选的实施例,上述装置还可以包括:加密模块,用于对哈希值进行加密处理,其中,加密处理包括如下至少之一:采用密钥加密、添加数字签名。In an optional embodiment, the above-mentioned device may further include: an encryption module, configured to perform encryption processing on the hash value, wherein the encryption processing includes at least one of the following: encrypting with a key, and adding a digital signature.

在一种可选的实施例,上述验证模块还用于对目标数据进行业务验证,并在目标数据通过业务验证的情况下,基于标识信息,对目标数据的合法性进行验证。In an optional embodiment, the verification module is further configured to perform business verification on the target data, and verify the validity of the target data based on the identification information when the target data passes the business verification.

在一种可选的实施例,上述验证模块还用于在目标数据通过业务验证的情况下,基于标识信息,判断目标区块链上是否存在目标数据,并在目标区块链上不存在目标数据的情况下,基于标识信息,对目标数据的合法性进行验证。In an optional embodiment, the above verification module is also used to judge whether the target data exists on the target blockchain based on the identification information when the target data passes the business verification, and there is no target data on the target blockchain. In the case of data, based on the identification information, the legality of the target data is verified.

在一种可选的实施例,上述存储单元包括:同步模块,用于如果目标数据被记载在目标区块链上,则区块链网络中其他节点将目标数据同步至对应的区块链上;传播模块,用于如果目标数据未被记载在目标区块链上,则目标区块链的节点将目标数据广播至区块链网络上的其他节点,其中,通过任意一个节点验证的目标数据被存储到对应的区块链上。In an optional embodiment, the above-mentioned storage unit includes: a synchronization module, used for other nodes in the blockchain network to synchronize the target data to the corresponding blockchain if the target data is recorded on the target blockchain ; Propagation module, used for if the target data is not recorded on the target block chain, the node of the target block chain broadcasts the target data to other nodes on the block chain network, wherein, the target data verified by any node are stored on the corresponding blockchain.

根据本发明实施例,还提供了一种存储介质,存储介质包括存储的程序,其中,程序执行上述方法实施例中任意一项的可选的或优选的在区块链上存储业务数据的处理方法。According to an embodiment of the present invention, a storage medium is also provided, and the storage medium includes a stored program, wherein the program executes the optional or preferred processing of storing business data on the blockchain in any one of the above method embodiments method.

根据本发明实施例,还提供了一种处理器,其特征在于,处理器用于运行程序,其中,程序运行时执行上述方法实施例中任意一项的可选的或优选的在区块链上存储业务数据的处理方法。According to an embodiment of the present invention, there is also provided a processor, characterized in that the processor is used to run a program, wherein, when the program is running, any one of the above method embodiments is optionally or preferably performed on the block chain The processing method for storing business data.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be realized in other ways. Wherein, the device embodiments described above are only illustrative. For example, the division of the units may be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes. .

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (10)

1. a kind of processing method of the storage service data on block chain, which is characterized in that including:
Business datum is obtained, and defines the type of transaction of the business datum;
Based on construction method corresponding with the type of transaction, built according to the business datum to be uploaded to block chain network Target data;
It will be in target data storage to the block chain of corresponding node in block chain network.
2. according to the method described in claim 1, it is characterized in that, by corresponding in target data storage to block chain network On the block chain of node, including:
Generate identification information of the target data in the block chain network;
Based on the identification information, the legitimacy of the target data is verified;
In the case where the verification target data is legal, by target data storage to corresponding node in block chain network On block chain.
3. according to the method described in claim 2, it is characterized in that, generate the target data the block chain network mark Know information, including:
According to the target data, corresponding cryptographic Hash is generated;
According to the cryptographic Hash, identification information of the target data in the block chain network is generated.
4. according to the method described in claim 3, it is characterized in that, according to the target data, corresponding cryptographic Hash is generated, is wrapped It includes:
The target data is encrypted, encrypted data are obtained, wherein the encryption include it is following at least One of:Using key encryption, addition digital signature;
According to the encrypted data, corresponding cryptographic Hash is generated.
5. according to the method described in claim 3, it is characterized in that, according to the cryptographic Hash, the target data is generated in institute The identification information in block chain network is stated, including:
The cryptographic Hash is converted into corresponding hexadecimal values, is existed the hexadecimal values as the target data Identification information in the block chain network.
6. according to the method described in claim 5, it is characterized in that, according to the cryptographic Hash, generates the target data and exist Before identification information in the block chain network, the method further includes:
The cryptographic Hash is encrypted, wherein the encryption includes at least one following:Encrypted using key, Add digital signature.
7. according to the method described in claim 2, it is characterized in that, being based on the identification information, the conjunction to the target data Method is verified, including:
Business verification is carried out to the target data;
In the case where the target data is verified by business, it is based on the identification information, to the legal of the target data Property is verified.
8. according to the method described in claim 2, it is characterized in that, in the case where the target data is verified by business, Based on the identification information, the legitimacy of the target data is verified, including:
In the case where the target data is verified by business, be based on the identification information, judge on target block chain whether There are the target datas;
In the case where the target data is not present on the target block chain, it is based on the identification information, to the target The legitimacy of data is verified.
9. according to the method described in claim 8, it is characterized in that, by corresponding in target data storage to block chain network On the block chain of node, including:
If the target data is documented on the target block chain, other nodes will be described in the block chain network Target data is synchronized on corresponding block chain;
If the target data is not documented on the target block chain, the node of the target block chain is by the mesh Mark other nodes in data broadcasting to the block chain network, wherein pass through the target data quilt of any one node verification It stores on corresponding block chain.
10. a kind of processing unit of the storage service data on block chain, which is characterized in that including:
Acquiring unit for obtaining business datum, and defines the type of transaction of the business datum;
Construction unit is built to be uploaded for being based on construction method corresponding with the type of transaction according to the business datum To the target data of block chain network;
Storage unit, for the target data to be stored to the block chain to corresponding node in block chain network.
CN201810434004.9A 2018-05-08 2018-05-08 Processing method and device for storing service data on block chain Active CN108646983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810434004.9A CN108646983B (en) 2018-05-08 2018-05-08 Processing method and device for storing service data on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810434004.9A CN108646983B (en) 2018-05-08 2018-05-08 Processing method and device for storing service data on block chain

Publications (2)

Publication Number Publication Date
CN108646983A true CN108646983A (en) 2018-10-12
CN108646983B CN108646983B (en) 2021-04-06

Family

ID=63749431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810434004.9A Active CN108646983B (en) 2018-05-08 2018-05-08 Processing method and device for storing service data on block chain

Country Status (1)

Country Link
CN (1) CN108646983B (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109509095A (en) * 2018-11-14 2019-03-22 成都皓图智能科技有限责任公司 A kind of video active identification method of combination block chain
CN109587238A (en) * 2018-12-03 2019-04-05 百度在线网络技术(北京)有限公司 The data processing of block chain and synchronous method, device, equipment and storage medium
CN109743198A (en) * 2018-12-25 2019-05-10 中链科技有限公司 Intelligent block network establishing method and system
CN109766727A (en) * 2018-12-25 2019-05-17 中链科技有限公司 Intelligent block network establishing method and system
CN109902494A (en) * 2019-01-24 2019-06-18 北京融链科技有限公司 Data encryption storage method, device, and file storage system
CN110009334A (en) * 2018-11-07 2019-07-12 阿里巴巴集团控股有限公司 A method and device for constructing Merkle tree and simple payment verification
CN110011800A (en) * 2018-11-07 2019-07-12 阿里巴巴集团控股有限公司 A kind of block chain method for reading data and device
CN110493268A (en) * 2019-09-24 2019-11-22 腾讯科技(深圳)有限公司 A kind of data processing method and device based on block chain network
CN111078700A (en) * 2019-12-13 2020-04-28 山东众阳健康科技集团有限公司 Data synchronization method and system based on block chain
CN111259413A (en) * 2020-01-10 2020-06-09 上海旺链信息科技有限公司 Data management method and device based on block chain
CN111311832A (en) * 2020-03-04 2020-06-19 长春市万易科技有限公司 Gas payment method based on block chain
CN111339203A (en) * 2020-02-28 2020-06-26 北京金和网络股份有限公司 Block chain data acquisition method, device and system
WO2019228572A3 (en) * 2019-09-12 2020-07-09 Alibaba Group Holding Limited Log-structured storage systems
CN111429134A (en) * 2018-12-21 2020-07-17 北京京东尚科信息技术有限公司 Blockchain-based data transaction method and device
CN111478948A (en) * 2020-03-20 2020-07-31 深圳市芯链科技有限公司 Block chain access method, Internet of things equipment and storage medium
CN111783134A (en) * 2019-01-31 2020-10-16 阿里巴巴集团控股有限公司 A method and device for concealing transactions written into a blockchain
CN112102081A (en) * 2020-08-19 2020-12-18 小米数字科技有限公司 Method and device for generating block chain, readable storage medium and block chain network
CN112311881A (en) * 2020-10-30 2021-02-02 中国联合网络通信集团有限公司 Visible optical network sharing method based on block chain and visible optical network equipment
CN112434040A (en) * 2020-11-30 2021-03-02 泰康保险集团股份有限公司 Data storage method, data acquisition method, device, system and equipment
CN112513853A (en) * 2018-12-11 2021-03-16 松下电器(美国)知识产权公司 Data management method, data management system, and program
WO2021196741A1 (en) * 2020-04-01 2021-10-07 杭州溪塔科技有限公司 Management method and device for system configuration independent of smart contract on blockchain
CN114444111A (en) * 2020-11-04 2022-05-06 杭州吾爱必达微电子物联网有限公司 Intelligent instrument data management method, storage medium, terminal and intelligent instrument
CN114880398A (en) * 2022-05-07 2022-08-09 中国工商银行股份有限公司 Block chain based data storage method and device, electronic equipment and storage medium
US11423015B2 (en) 2019-09-12 2022-08-23 Advanced New Technologies Co., Ltd. Log-structured storage systems
US12206790B2 (en) 2018-11-27 2025-01-21 Nchain Licensing Ag Computer implemented systems and methods for storing, retrieving and communication data via a peer-to-peer network
TWI878880B (en) * 2023-05-15 2025-04-01 兆豐國際商業銀行股份有限公司 Information query system and method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160012424A1 (en) * 2014-07-11 2016-01-14 Ribbit.me! USA Inc. Distributed ledger protocol to incentivize transactional and non-transactional commerce
CN107025559A (en) * 2017-01-26 2017-08-08 阿里巴巴集团控股有限公司 A kind of method for processing business and device
CN107124278A (en) * 2017-03-30 2017-09-01 腾讯科技(深圳)有限公司 Business processing method, device and data sharing system
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A method, device and system for multi-party sharing of transaction metadata based on blockchain
CN107315786A (en) * 2017-06-12 2017-11-03 腾讯科技(深圳)有限公司 Business data storage method and device
CN107332835A (en) * 2017-06-26 2017-11-07 深圳前海华深安信物联技术有限公司 The creation method of block chain in a kind of warehouse receipt system
CN107395557A (en) * 2017-03-28 2017-11-24 阿里巴巴集团控股有限公司 Method and device for processing service requests
CN107403379A (en) * 2017-08-07 2017-11-28 质数智慧科技(成都)有限公司 A kind of data processing method, device and block chain Core distribution formula system
CN107562775A (en) * 2017-07-14 2018-01-09 阿里巴巴集团控股有限公司 A kind of data processing method and equipment based on block chain
CN107657509A (en) * 2017-09-19 2018-02-02 前海云链科技(深圳)有限公司 A kind of reference method and device based on block chain
US20180089641A1 (en) * 2016-09-27 2018-03-29 The Toronto-Dominion Bank Processing network architecture with companion database

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160012424A1 (en) * 2014-07-11 2016-01-14 Ribbit.me! USA Inc. Distributed ledger protocol to incentivize transactional and non-transactional commerce
US20180089641A1 (en) * 2016-09-27 2018-03-29 The Toronto-Dominion Bank Processing network architecture with companion database
CN107025559A (en) * 2017-01-26 2017-08-08 阿里巴巴集团控股有限公司 A kind of method for processing business and device
CN107395557A (en) * 2017-03-28 2017-11-24 阿里巴巴集团控股有限公司 Method and device for processing service requests
CN107124278A (en) * 2017-03-30 2017-09-01 腾讯科技(深圳)有限公司 Business processing method, device and data sharing system
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A method, device and system for multi-party sharing of transaction metadata based on blockchain
CN107315786A (en) * 2017-06-12 2017-11-03 腾讯科技(深圳)有限公司 Business data storage method and device
CN107332835A (en) * 2017-06-26 2017-11-07 深圳前海华深安信物联技术有限公司 The creation method of block chain in a kind of warehouse receipt system
CN107562775A (en) * 2017-07-14 2018-01-09 阿里巴巴集团控股有限公司 A kind of data processing method and equipment based on block chain
CN107403379A (en) * 2017-08-07 2017-11-28 质数智慧科技(成都)有限公司 A kind of data processing method, device and block chain Core distribution formula system
CN107657509A (en) * 2017-09-19 2018-02-02 前海云链科技(深圳)有限公司 A kind of reference method and device based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
钟玮: ""区块链技术在会计中的应用展望"", 《会计之友》 *
闵旭蓉: ""基于区块链技术的电子证照共享平台设计"", 《指挥信息系统与技术》 *

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11108547B2 (en) 2018-11-07 2021-08-31 Advanced New Technologies Co., Ltd. Methods and apparatuses for reading blockchain data
CN110009334A (en) * 2018-11-07 2019-07-12 阿里巴巴集团控股有限公司 A method and device for constructing Merkle tree and simple payment verification
CN110011800A (en) * 2018-11-07 2019-07-12 阿里巴巴集团控股有限公司 A kind of block chain method for reading data and device
CN109509095B (en) * 2018-11-14 2023-05-02 成都皓图智能科技有限责任公司 Video active identification method combined with block chain
CN109509095A (en) * 2018-11-14 2019-03-22 成都皓图智能科技有限责任公司 A kind of video active identification method of combination block chain
US12432070B2 (en) 2018-11-27 2025-09-30 Nchain Licensing Ag Computer implemented system and method for storing data on a blockchain
US12206790B2 (en) 2018-11-27 2025-01-21 Nchain Licensing Ag Computer implemented systems and methods for storing, retrieving and communication data via a peer-to-peer network
US12231573B2 (en) 2018-11-27 2025-02-18 Nchain Licensing Ag Systems and methods for efficient and secure processing, accessing and transmission of data via a blockchain network
US12231574B2 (en) 2018-11-27 2025-02-18 Nchain Licensing Ag Systems and methods for efficient and secure processing, accessing and transmission of data via a blockchain network
US12238222B2 (en) 2018-11-27 2025-02-25 Nchain Licensing Ag Systems and methods for efficient and secure processing, accessing and transmission of data via a blockchain network
US12273460B2 (en) 2018-11-27 2025-04-08 Nchain Licensing Ag Computer implemented system and method for storing data on a blockchain
US12348648B2 (en) 2018-11-27 2025-07-01 Nchain Licensing Ag Systems and methods for efficient and secure processing, accessing and transmission of data via a blockchain network
CN109587238B (en) * 2018-12-03 2021-08-03 百度在线网络技术(北京)有限公司 Data processing and synchronizing method, device, equipment and storage medium of block chain
CN109587238A (en) * 2018-12-03 2019-04-05 百度在线网络技术(北京)有限公司 The data processing of block chain and synchronous method, device, equipment and storage medium
CN112513853A (en) * 2018-12-11 2021-03-16 松下电器(美国)知识产权公司 Data management method, data management system, and program
CN111429134A (en) * 2018-12-21 2020-07-17 北京京东尚科信息技术有限公司 Blockchain-based data transaction method and device
CN109743198A (en) * 2018-12-25 2019-05-10 中链科技有限公司 Intelligent block network establishing method and system
CN109766727A (en) * 2018-12-25 2019-05-17 中链科技有限公司 Intelligent block network establishing method and system
CN109902494A (en) * 2019-01-24 2019-06-18 北京融链科技有限公司 Data encryption storage method, device, and file storage system
CN111783134A (en) * 2019-01-31 2020-10-16 阿里巴巴集团控股有限公司 A method and device for concealing transactions written into a blockchain
CN111783134B (en) * 2019-01-31 2024-04-16 创新先进技术有限公司 A method and device for concealing transactions written into blockchain
WO2019228572A3 (en) * 2019-09-12 2020-07-09 Alibaba Group Holding Limited Log-structured storage systems
US10789215B1 (en) 2019-09-12 2020-09-29 Alibaba Group Holding Limited Log-structured storage systems
US11423015B2 (en) 2019-09-12 2022-08-23 Advanced New Technologies Co., Ltd. Log-structured storage systems
CN110493268B (en) * 2019-09-24 2022-06-24 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain network and storage medium
CN110493268A (en) * 2019-09-24 2019-11-22 腾讯科技(深圳)有限公司 A kind of data processing method and device based on block chain network
CN111078700A (en) * 2019-12-13 2020-04-28 山东众阳健康科技集团有限公司 Data synchronization method and system based on block chain
CN111259413A (en) * 2020-01-10 2020-06-09 上海旺链信息科技有限公司 Data management method and device based on block chain
CN111339203A (en) * 2020-02-28 2020-06-26 北京金和网络股份有限公司 Block chain data acquisition method, device and system
CN111311832A (en) * 2020-03-04 2020-06-19 长春市万易科技有限公司 Gas payment method based on block chain
CN111478948B (en) * 2020-03-20 2023-02-17 深圳市芯链科技有限公司 Block chain access method, internet of things equipment and storage medium
CN111478948A (en) * 2020-03-20 2020-07-31 深圳市芯链科技有限公司 Block chain access method, Internet of things equipment and storage medium
WO2021196741A1 (en) * 2020-04-01 2021-10-07 杭州溪塔科技有限公司 Management method and device for system configuration independent of smart contract on blockchain
CN112102081B (en) * 2020-08-19 2024-04-09 天星数科科技有限公司 Method, device, readable storage medium and blockchain network for generating blockchain
CN112102081A (en) * 2020-08-19 2020-12-18 小米数字科技有限公司 Method and device for generating block chain, readable storage medium and block chain network
CN112311881A (en) * 2020-10-30 2021-02-02 中国联合网络通信集团有限公司 Visible optical network sharing method based on block chain and visible optical network equipment
CN114444111A (en) * 2020-11-04 2022-05-06 杭州吾爱必达微电子物联网有限公司 Intelligent instrument data management method, storage medium, terminal and intelligent instrument
CN112434040B (en) * 2020-11-30 2023-09-22 泰康保险集团股份有限公司 Data storage method, data acquisition method, device, system and equipment
CN112434040A (en) * 2020-11-30 2021-03-02 泰康保险集团股份有限公司 Data storage method, data acquisition method, device, system and equipment
CN114880398A (en) * 2022-05-07 2022-08-09 中国工商银行股份有限公司 Block chain based data storage method and device, electronic equipment and storage medium
TWI878880B (en) * 2023-05-15 2025-04-01 兆豐國際商業銀行股份有限公司 Information query system and method

Also Published As

Publication number Publication date
CN108646983B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
CN108646983B (en) Processing method and device for storing service data on block chain
CN110300112B (en) Block chain key hierarchical management method
CN111556120B (en) Data processing method and device based on block chain, storage medium and equipment
CN107147720B (en) Traceable effective public auditing method and traceable effective public auditing system in cloud storage data sharing
CN115811412B (en) Communication method and device, SIM card, electronic equipment and terminal equipment
CN109242404B (en) Resume information management method, resume information management device, computer equipment and readable storage medium
Yu et al. VeriDedup: A verifiable cloud data deduplication scheme with integrity and duplication proof
CN111815321A (en) Transaction proposal processing method, device, system, storage medium and electronic device
CN107276754A (en) A kind of method and device that private key is largely generated based on block chain
CN111130770A (en) Block chain based information evidence storage method and system, user terminal, electronic equipment and storage medium
Li et al. A Blockchain‐Based Public Auditing Scheme for Cloud Storage Environment Without Trusted Auditors
CN112202779B (en) Block chain based information encryption method, device, equipment and medium
CN104978239A (en) Method, device and system for realizing multi-backup-data dynamic updating
CN114239043B (en) A shared encrypted storage system based on blockchain technology
CN110601815A (en) Block chain data processing method and equipment
CN118740517A (en) Method, device, equipment and medium suitable for encrypted transmission of video data
CN118246917A (en) Block chain-based data sharing method and device
CN109948370A (en) A kind of method for processing business based on block chain, device and electronic equipment
Vasilopoulos et al. Message-locked proofs of retrievability with secure deduplication
CN117675243A (en) Alliance chain authentication method and device, alliance chain authentication system and computer equipment
CN111552950A (en) Software authorization method and device and computer readable storage medium
CN110941745A (en) Electronic contract management method, device, storage medium and electronic device
CN116248283B (en) Multi-signature methods, multi-signature verification methods, and devices for blockchain platforms
CN117474543A (en) Digital asset processing method based on block chain network and related equipment
CN110401533B (en) Private key encryption method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20260211

Granted publication date: 20210406