技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种区块链处理方法、装置及区块链节点。The embodiments of the present invention relate to the field of communication technologies, and in particular, to a block chain processing method, device, and block chain node.
背景技术Background technique
在区块链网络中,区块链由区块构成,每个区块存储有该区块被创建之前该区块链网络中的交易信息。In the blockchain network, the blockchain is composed of blocks, and each block stores transaction information in the blockchain network before the block is created.
但是随着区块链网络规模增大,区块链中的区块越来越多,区块链包括的内容越来越多,导致该区块链在区块链网络中的同步效率较低,另外,当该区块链网络中的节点存储该区块链时,该区块链所占用的存储空间较大。However, as the scale of the blockchain network increases, there are more and more blocks in the blockchain, and the blockchain includes more and more content, resulting in low synchronization efficiency of the blockchain in the blockchain network , in addition, when the nodes in the blockchain network store the blockchain, the storage space occupied by the blockchain is large.
发明内容Contents of the invention
本发明实施例提供一种区块链处理方法、装置及区块链节点,以提高区块链在区块链网络中的同步效率,节省区块链网络中节点的存储空间。Embodiments of the present invention provide a block chain processing method, device, and block chain node, so as to improve the synchronization efficiency of the block chain in the block chain network and save the storage space of the nodes in the block chain network.
第一方面,本发明实施例提供一种区块链处理方法,包括:In the first aspect, the embodiment of the present invention provides a block chain processing method, including:
区块生成节点根据交易信息生成区块,所述区块包括区块头和区块体,所述区块头包括所述区块的标识信息、所述区块头的哈希值、所述区块体的哈希值和所述区块体的存储路径信息,所述区块体包括所述区块的标识信息和所述交易信息;The block generation node generates a block according to the transaction information, the block includes a block header and a block body, the block header includes the identification information of the block, the hash value of the block header, the block body The hash value and the storage path information of the block body, the block body includes the identification information of the block and the transaction information;
所述区块生成节点将所述区块头广播到区块链网络中,以使所述区块链网络中的其他节点将所述区块头记录到区块链账本中;The block generating node broadcasts the block header to the blockchain network, so that other nodes in the blockchain network record the block header into the blockchain ledger;
所述区块生成节点根据所述区块体的存储路径信息,对所述区块体进行存储。The block generation node stores the block body according to the storage path information of the block body.
第二方面,本发明实施例提供一种区块链处理方法,包括:In a second aspect, an embodiment of the present invention provides a block chain processing method, including:
区块事务节点接收区块生成节点发送的区块头,所述区块头包括区块的标识信息、所述区块头的哈希值、区块体的哈希值和所述区块体的存储路径信息,所述区块包括所述区块头和所述区块体;The block transaction node receives the block header sent by the block generation node, the block header includes the identification information of the block, the hash value of the block header, the hash value of the block body and the storage path of the block body information, the block includes the block header and the block body;
所述区块事务节点根据所述区块体的存储路径信息,获取所述区块体。The block transaction node obtains the block body according to the storage path information of the block body.
第三方面,本发明实施例提供一种区块链处理装置,包括:In a third aspect, an embodiment of the present invention provides a block chain processing device, including:
区块生成模块,用于根据交易信息生成区块,所述区块包括区块头和区块体,所述区块头包括所述区块的标识信息、所述区块头的哈希值、所述区块体的哈希值和所述区块体的存储路径信息,所述区块体包括所述区块的标识信息和所述交易信息;A block generating module, configured to generate a block according to transaction information, the block includes a block header and a block body, the block header includes identification information of the block, a hash value of the block header, the The hash value of the block body and the storage path information of the block body, the block body including the identification information of the block and the transaction information;
发送模块,用于将所述区块头广播到区块链网络中,以使所述区块链网络中的其他节点将所述区块头记录到区块链账本中;A sending module, configured to broadcast the block header to the blockchain network, so that other nodes in the blockchain network record the block header into the blockchain ledger;
存储模块,用于根据所述区块体的存储路径信息,对所述区块体进行存储。A storage module, configured to store the block body according to the storage path information of the block body.
第四方面,本发明实施例提供一种区块链处理装置,包括:In a fourth aspect, an embodiment of the present invention provides a block chain processing device, including:
接收模块,用于接收区块生成节点发送的区块头,所述区块头包括区块的标识信息、所述区块头的哈希值、区块体的哈希值和所述区块体的存储路径信息,所述区块包括所述区块头和所述区块体;The receiving module is used to receive the block header sent by the block generation node, the block header includes the identification information of the block, the hash value of the block header, the hash value of the block body and the storage of the block body path information, the block includes the block header and the block body;
获取模块,用于根据所述区块体的存储路径信息,获取所述区块体。An acquisition module, configured to acquire the block body according to the storage path information of the block body.
第五方面,本发明实施例提供一种区块链节点,包括:In the fifth aspect, the embodiment of the present invention provides a blockchain node, including:
存储器;memory;
处理器;以及processor; and
计算机程序;Computer program;
其中,所述计算机程序存储在所述存储器中,并被配置为由所述处理器执行以实现第一方面或第二方面所述的方法。Wherein, the computer program is stored in the memory and is configured to be executed by the processor to implement the method described in the first aspect or the second aspect.
第六方面,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面或第二方面所述的方法。In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the method described in the first aspect or the second aspect.
本发明实施例提供的区块链处理方法、装置及区块链节点,通过区块生成节点将生成的区块分为区块头和区块体,区块头和区块体通过区块号进行关联,将该区块头广播到区块链网络中,以使其他节点将该区块头记录到区块链账本中,并将该区块体存储到至少一个区块存储节点中,使得区块链变为区块头链,由于区块头链包括的内容比区块链包括的内容少,提高了区块头链在区块链网络中的同步效率;另外,区块头链占用的存储空间相比于区块链占用的存储空间小,所以节省了区块链网络中节点的存储空间。The block chain processing method, device and block chain node provided by the embodiment of the present invention divide the generated block into a block header and a block body through the block generation node, and the block header and the block body are associated through the block number , broadcast the block header to the blockchain network, so that other nodes record the block header into the blockchain ledger, and store the block body in at least one block storage node, making the blockchain become As the block head chain, because the content of the block head chain is less than that of the block chain, the synchronization efficiency of the block head chain in the block chain network is improved; in addition, the storage space occupied by the block head chain is compared with the block chain The storage space occupied by the chain is small, so the storage space of the nodes in the blockchain network is saved.
附图说明Description of drawings
图1为本发明实施例提供的一种应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present invention;
图2为本发明另一实施例提供的一种应用场景的示意图;FIG. 2 is a schematic diagram of an application scenario provided by another embodiment of the present invention;
图3为本发明实施例提供的区块链处理方法流程图;Fig. 3 is the flowchart of the blockchain processing method provided by the embodiment of the present invention;
图4为现有技术中的区块的结构示意图;FIG. 4 is a schematic structural diagram of a block in the prior art;
图5为本发明实施例提供的区块的结构示意图;FIG. 5 is a schematic structural diagram of a block provided by an embodiment of the present invention;
图6为本发明另一实施例提供的区块链处理方法流程图;FIG. 6 is a flowchart of a block chain processing method provided by another embodiment of the present invention;
图7为本发明另一实施例提供的交易信息处理方法流程图;Fig. 7 is a flowchart of a transaction information processing method provided by another embodiment of the present invention;
图8为本发明实施例提供的区块链处理装置的结构示意图;FIG. 8 is a schematic structural diagram of a block chain processing device provided by an embodiment of the present invention;
图9为本发明另一实施例提供的区块链处理装置的结构示意图;FIG. 9 is a schematic structural diagram of a block chain processing device provided by another embodiment of the present invention;
图10为本发明实施例提供的区块链节点的结构示意图。FIG. 10 is a schematic structural diagram of a blockchain node provided by an embodiment of the present invention.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
本发明提供的区块链处理方法,可以适用于图1所示的通信系统。如图1所示,该通信系统包括:接入网设备11、终端设备12以及服务器13。需要说明的是,图1所示的通信系统可以适用于不同的网络制式,例如,可以适用于全球移动通讯(Global System of Mobi lecommunication,简称GSM)、码分多址(Code Division Multiple Access,简称CDMA)、宽带码分多址(Wideband Code Division Multiple Access,简称WCDMA)、时分同步码分多址(Time Division-Synchronous Code Division Multiple Access,简称TD-SCDMA)、长期演进(Long Term Evolution,简称LTE)系统及未来的5G等网络制式。可选的,上述通信系统可以为5G通信系统中高可靠低时延通信(Ultra-Reliable and Low LatencyCommunications,简称URLLC)传输的场景中的系统。The blockchain processing method provided by the present invention can be applied to the communication system shown in FIG. 1 . As shown in FIG. 1 , the communication system includes: an access network device 11 , a terminal device 12 and a server 13 . It should be noted that the communication system shown in FIG. 1 can be applied to different network standards, for example, it can be applied to Global System of Mobile Communication (GSM for short), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA for short), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA for short), Long Term Evolution (LTE for short) ) system and future network standards such as 5G. Optionally, the above-mentioned communication system may be a system in a scenario of Ultra-Reliable and Low Latency Communications (URLLC for short) transmission in a 5G communication system.
故而,可选的,上述接入网设备11可以是GSM或CDMA中的基站(Base TransceiverStation,简称BTS)和/或基站控制器,也可以是WCDMA中的基站(NodeB,简称NB)和/或无线网络控制器(Radio Network Controller,简称RNC),还可以是LTE中的演进型基站(Evolutional Node B,简称eNB或eNodeB),或者中继站或接入点,或者未来5G网络中的基站(gNB)等,本发明在此并不限定。Therefore, optionally, the above-mentioned access network device 11 may be a base station (Base TransceiverStation, referred to as BTS) and/or a base station controller in GSM or CDMA, or may be a base station (NodeB, referred to as NB) in WCDMA and/or The radio network controller (Radio Network Controller, referred to as RNC), can also be an evolved base station (Evolutional Node B, referred to as eNB or eNodeB) in LTE, or a relay station or access point, or a base station (gNB) in the future 5G network etc., the present invention is not limited here.
上述终端设备12可以是无线终端也可以是有线终端。无线终端可以是指向用户提供语音和/或其他业务数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(Radio Access Network,简称RAN)与一个或多个核心网设备进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。再例如,无线终端还可以是个人通信业务(Personal Communication Service,简称PCS)电话、无绳电话、会话发起协议(Session Initiation Protocol,简称SIP)话机、无线本地环路(Wireless LocalLoop,简称WLL)站、个人数字助理(Personal Digital Assistant,简称PDA)等设备。无线终端也可以称为系统、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、远程终端(RemoteTerminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户代理(UserAgent)、用户设备(User Device or User Equipment),在此不作限定。可选的,上述终端设备12还可以是智能手表、平板电脑等设备。在本实施例中,终端设备12和服务器13可以是区块链网络中的节点。The aforementioned terminal device 12 may be a wireless terminal or a wired terminal. A wireless terminal may be a device that provides voice and/or other business data connectivity to a user, a handheld device with a wireless connection function, or other processing device connected to a wireless modem. The wireless terminal can communicate with one or more core network devices via the radio access network (Radio Access Network, referred to as RAN), and the wireless terminal can be a mobile terminal, such as a mobile phone (or called a "cellular" phone) and a The computers, which may be, for example, portable, pocket, handheld, built-in or vehicle-mounted mobile devices, exchange speech and/or data with the radio access network. For another example, the wireless terminal may also be a Personal Communication Service (PCS for short) phone, a cordless phone, a Session Initiation Protocol (SIP for short) phone, a Wireless Local Loop (WLL for short) station, Personal digital assistant (Personal Digital Assistant, referred to as PDA) and other devices. Wireless terminal can also be called system, subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), mobile station (Mobile Station), mobile station (Mobile), remote station (Remote Station), remote terminal (RemoteTerminal), access A terminal (Access Terminal), a user terminal (User Terminal), a user agent (UserAgent), and a user device (User Device or User Equipment) are not limited herein. Optionally, the aforementioned terminal device 12 may also be a device such as a smart watch or a tablet computer. In this embodiment, the terminal device 12 and the server 13 may be nodes in a blockchain network.
本发明提供的区块链处理方法,旨在解决现有技术的如上技术问题。The block chain processing method provided by the present invention aims to solve the above technical problems of the prior art.
下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solution of the present invention and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
图2为本发明实施例提供的一种区块链网络架构的示意图。如图2所示,区块链网络包括区块链服务域21和区块链管理域22;其中,区块链服务域21包括三类节点,分别是:消息梳理节点、区块生成节点和区块存储节点;此处只是示意性说明,并不限定消息梳理节点、区块生成节点和区块存储节点的个数。可选的,消息梳理节点、区块生成节点和区块存储节点均对外公布自己的IP地址,消息梳理节点、区块生成节点和区块存储节点可分别为区块链网络提供各自相应的服务,因此,消息梳理节点、区块生成节点和区块存储节点可以从该区块链网络中获取一定的报酬,从而激励该区块链网络中更多的参与节点成为该区块链服务域内的节点。在本实施例中,区块链管理域22内包括根节点,该根节点不对外公布自己的IP地址以及根节点的身份信息,主要是从该区块链网络的安全考虑,因此,该根节点对外隐藏自己的IP地址。Fig. 2 is a schematic diagram of a blockchain network architecture provided by an embodiment of the present invention. As shown in Figure 2, the blockchain network includes a blockchain service domain 21 and a blockchain management domain 22; wherein, the blockchain service domain 21 includes three types of nodes, namely: message sorting nodes, block generation nodes and Block storage node; here is only a schematic illustration, and does not limit the number of message sorting nodes, block generation nodes and block storage nodes. Optionally, message sorting nodes, block generation nodes and block storage nodes all publish their IP addresses to the public, and message sorting nodes, block generation nodes and block storage nodes can respectively provide corresponding services for the blockchain network , therefore, message combing nodes, block generation nodes and block storage nodes can obtain certain rewards from the blockchain network, thus encouraging more participating nodes in the blockchain network to become the blockchain service domain node. In this embodiment, the blockchain management domain 22 includes a root node. The root node does not publish its own IP address and identity information of the root node. This is mainly due to the security of the blockchain network. Therefore, the root node Nodes hide their IP addresses from the outside world.
如图2所示,区块链网络中还包括:区块事务节点,该类节点具体可以是提供业务、生成事务处理消息的节点,例如,该区块事务节点具体可以是智能合约终端、具有物品溯源功能的终端、具有金融交易功能的终端等。As shown in Figure 2, the block chain network also includes: block transaction nodes, such nodes may specifically be nodes that provide services and generate transaction processing messages, for example, the block transaction nodes may specifically be smart contract terminals, with Terminals with item traceability functions, terminals with financial transaction functions, etc.
消息梳理节点可从该区块事务节点接收事务消息例如交易信息,并根据交易信息的接收时刻,对接收到的多个交易信息进行排序,并将排序后的交易信息发送给区块生成节点。The message sorting node can receive transaction messages such as transaction information from the block transaction node, sort the multiple received transaction information according to the receiving time of the transaction information, and send the sorted transaction information to the block generation node.
区块生成节点也就是所谓的挖矿节点或记账节点,该区块生成节点可根据消息梳理节点发送的排序后的交易信息生成区块,并将该区块发送给区块存储节点。Block generation nodes are also so-called mining nodes or bookkeeping nodes. The block generation nodes can generate blocks according to the sorted transaction information sent by the message sorting nodes, and send the blocks to the block storage nodes.
区块存储节点负责存储整个区块链的账本,该区块存储节点可以将区块生成节点新生成的区块存储到区块链中。The block storage node is responsible for storing the ledger of the entire blockchain, and the block storage node can store the newly generated block of the block generation node into the blockchain.
根节点具体可以是整个区块链的第一个节点,负责整个区块链的管理,该根节点可以通过向区块链网络广播指令的方式控制消息梳理节点、区块生成节点和区块存储节点。当消息梳理节点、区块生成节点和区块存储节点中的某一类型节点接收到该根节点发送的消息时,需要立即将该消息转发给自己的相邻节点。另外,根节点负责生成本区块链的创世区块,该创世区块包括至少一个区块生成节点的IP地址、至少一个消息梳理节点的IP地址、至少一个区块存储节点的IP地址。Specifically, the root node can be the first node of the entire blockchain, which is responsible for the management of the entire blockchain. The root node can control message sorting nodes, block generation nodes, and block storage by broadcasting instructions to the blockchain network. node. When a certain type of node among the message sorting node, block generation node and block storage node receives the message sent by the root node, it needs to immediately forward the message to its adjacent nodes. In addition, the root node is responsible for generating the genesis block of the blockchain, which includes the IP address of at least one block generation node, the IP address of at least one message sorting node, and the IP address of at least one block storage node .
图3为本发明实施例提供的区块链处理方法流程图。本发明实施例针对现有技术的如上技术问题,提供了区块链处理方法,该方法具体步骤如下:Fig. 3 is a flow chart of the block chain processing method provided by the embodiment of the present invention. The embodiment of the present invention provides a block chain processing method for the above technical problems of the prior art, and the specific steps of the method are as follows:
步骤301、区块生成节点根据交易信息生成区块,所述区块包括区块头和区块体,所述区块头包括所述区块的标识信息、所述区块头的哈希值、所述区块体的哈希值和所述区块体的存储路径信息,所述区块体包括所述区块的标识信息和所述交易信息。Step 301, the block generation node generates a block according to the transaction information, the block includes a block header and a block body, the block header includes the identification information of the block, the hash value of the block header, the The hash value of the block body and the storage path information of the block body, the block body including the identification information of the block and the transaction information.
如图4所示为现有技术中区块的示意图,该区块包括区块头和区块体,区块头包括版本、区块号、本区块的哈希值、上一个区块的哈希值、难度值、随机数和区块内容的哈希值。区块体包括系统奖励和交易信息,可以理解,系统奖励和交易信息为区块体内容。Figure 4 is a schematic diagram of a block in the prior art. The block includes a block header and a block body. The block header includes version, block number, hash value of this block, and hash of the previous block. value, difficulty value, nonce, and hash of the block content. The block body includes system rewards and transaction information. It can be understood that system rewards and transaction information are the content of the block body.
图5为本发明实施例提供的一种区块的示意图。如图5所示,该区块包括区块头和区块体,其中,区块头包括版本、区块号、本区块头的哈希值、上一个区块的哈希值、难度值、随机数、系统奖励、区块体的哈希值和区块体的存储路径信息。区块体包括区块号和交易信息,可以理解,区块号和交易信息为区块体内容。在本实施例中,区块头和区块体是可以分离的,并且区块头和区块体通过区块号进行关联。Fig. 5 is a schematic diagram of a block provided by an embodiment of the present invention. As shown in Figure 5, the block includes a block header and a block body, where the block header includes version, block number, hash value of this block header, hash value of the previous block, difficulty value, random number , system rewards, the hash value of the block body and the storage path information of the block body. The block body includes the block number and transaction information. It can be understood that the block number and transaction information are the content of the block body. In this embodiment, the block header and the block body can be separated, and the block header and the block body are associated through the block number.
在本实施例中,区块生成节点可以从消息梳理节点获取交易信息,并根据该交易信息生成区块,具体的,该区块生成节点可以在该区块的区块头中添加版本号、区块号、本区块头的哈希值、上一个区块的哈希值、难度值、随机数、系统奖励、区块体的哈希值和区块体的存储路径信息。另外,该区块生成节点在该区块的区块体中增加区块号和交易信息,从而得到如图5所示的区块。In this embodiment, the block generation node can obtain transaction information from the message sorting node, and generate a block according to the transaction information. Specifically, the block generation node can add the version number, area Block number, hash value of the block header, hash value of the previous block, difficulty value, random number, system reward, hash value of the block body and storage path information of the block body. In addition, the block generating node adds the block number and transaction information in the block body of the block, so as to obtain the block shown in FIG. 5 .
步骤302、所述区块生成节点将所述区块头广播到区块链网络中,以使所述区块链网络中的其他节点将所述区块头记录到区块链账本中。Step 302, the block generation node broadcasts the block header to the blockchain network, so that other nodes in the blockchain network record the block header into the blockchain ledger.
具体的,该区块生成节点将如图5所示的区块的区块头和区块体进行分离,并将该区块的区块头广播到区块链网络中,当该区块链网络中的其他节点接收到该区块头时,对该区块头中的随机数和区块体的哈希值进行验证,以确定该区块头的真实性,从而确定该区块生成节点确实是挖矿成功了,若其他节点对该区块头验证通过,则其他节点可以将该区块头记录到本地存储的区块链账本中。Specifically, the block generation node separates the block header and block body of the block shown in Figure 5, and broadcasts the block header of the block to the blockchain network. When the block chain network When other nodes receive the block header, they will verify the random number in the block header and the hash value of the block body to determine the authenticity of the block header, so as to determine that the block generation node is indeed successful in mining If other nodes pass the verification of the block header, other nodes can record the block header in the locally stored blockchain ledger.
步骤303、所述区块生成节点根据所述区块体的存储路径信息,对所述区块体进行存储。Step 303, the block generation node stores the block body according to the storage path information of the block body.
可选的,所述区块体的存储路径信息可以是预先设置的,所述区块体的存储路径信息包括至少一个区块存储节点的IP地址。也就是说,可以预先设定至少一个区块存储节点,以使该至少一个区块存储节点存储该区块链网络中区块的区块体。Optionally, the storage path information of the block body may be preset, and the storage path information of the block body includes the IP address of at least one block storage node. That is to say, at least one block storage node can be preset, so that the at least one block storage node stores the block bodies of the blocks in the blockchain network.
所述区块生成节点根据所述区块体的存储路径信息,对所述区块体进行存储,包括:所述区块生成节点根据所述至少一个区块存储节点的IP地址,将所述区块体存储到所述至少一个区块存储节点。The block generation node stores the block body according to the storage path information of the block body, including: the block generation node stores the block body according to the IP address of the at least one block storage node. The block body is stored in the at least one block storage node.
例如,该区块生成节点本地可预先存储有该至少一个区块存储节点的IP地址,当该区块生成节点生成该区块时,该区块生成节点将该至少一个区块存储节点的IP地址作为该区块体的存储路径信息添加到该区块的区块体中。进一步,该区块生成节点根据该至少一个区块存储节点的IP地址,将该区块体发送给该至少一个区块存储节点,以使该至少一个区块存储节点存储该区块体。For example, the block generation node may pre-store the IP address of the at least one block storage node locally. When the block generation node generates the block, the block generation node stores the IP address of the at least one block storage node. The address is added to the block body of the block as the storage path information of the block body. Further, the block generation node sends the block body to the at least one block storage node according to the IP address of the at least one block storage node, so that the at least one block storage node stores the block body.
本发明实施例通过区块生成节点将生成的区块分为区块头和区块体,区块头和区块体通过区块号进行关联,将该区块头广播到区块链网络中,以使其他节点将该区块头记录到区块链账本中,并将该区块体存储到至少一个区块存储节点中,使得区块链变为区块头链,由于区块头链包括的内容比区块链包括的内容少,提高了区块头链在区块链网络中的同步效率;另外,区块头链占用的存储空间相比于区块链占用的存储空间小,所以节省了区块链网络中节点的存储空间。In the embodiment of the present invention, the generated block is divided into a block header and a block body through the block generation node, and the block header and the block body are associated through the block number, and the block header is broadcast to the blockchain network, so that Other nodes record the block header into the blockchain ledger, and store the block body in at least one block storage node, making the blockchain a block header chain, because the block header chain contains more content than the block The chain includes less content, which improves the synchronization efficiency of the block header chain in the blockchain network; in addition, the storage space occupied by the block header chain is smaller than the storage space occupied by the blockchain, so it saves the space in the blockchain network. The storage space of the node.
图6为本发明另一实施例提供的区块链处理方法流程图。在上述实施例的基础上,本实施例提供的区块链处理方法具体包括如下步骤:Fig. 6 is a flowchart of a blockchain processing method provided by another embodiment of the present invention. On the basis of the foregoing embodiments, the blockchain processing method provided in this embodiment specifically includes the following steps:
步骤601、区块事务节点接收区块生成节点发送的区块头,所述区块头包括区块的标识信息、所述区块头的哈希值、区块体的哈希值和所述区块体的存储路径信息,所述区块包括所述区块头和所述区块体。Step 601, the block transaction node receives the block header sent by the block generation node, the block header includes the identification information of the block, the hash value of the block header, the hash value of the block body and the block body The storage path information of the block includes the block header and the block body.
如上述实施例所述,区块生成节点生成区块后,将该区块分为区块头和区块体,区块头中包括版本、区块号、本区块头的哈希值、上一个区块的哈希值、难度值、随机数、系统奖励、区块体的哈希值和区块体的存储路径信息。区块体包括区块号和交易信息。进一步,该区块生成节点将该区块头广播到区块链网络中,将区块体存储到至少一个区块存储节点。As described in the above-mentioned embodiment, after the block generating node generates the block, the block is divided into a block header and a block body, and the block header includes version, block number, hash value of the block header, the previous block Block hash value, difficulty value, random number, system reward, block body hash value and block body storage path information. The block body includes block number and transaction information. Further, the block generation node broadcasts the block header to the blockchain network, and stores the block body in at least one block storage node.
可选的,该区块链网络中的部分节点例如区块事务节点可以接收该区块生成节点广播的区块头,并将该区块头存储到本地的区块链账本中,可以理解,该区块链账本为区块头链。Optionally, some nodes in the blockchain network, such as block transaction nodes, can receive the block header broadcast by the block generation node and store the block header in the local blockchain ledger. It can be understood that the area The block chain ledger is the block head chain.
步骤602、所述区块事务节点根据所述区块体的存储路径信息,获取所述区块体。Step 602, the block transaction node acquires the block body according to the storage path information of the block body.
由于该区块事务节点本地没有存储区块体,而区块体中存储有交易信息,当该区块事务节点需要获取某个区块的区块体时,该区块事务节点可根据该区块对应的区块头中存储的区块体的存储路径信息获取该区块体。Since the block transaction node does not store the block body locally, but the transaction information is stored in the block body, when the block transaction node needs to obtain the block body of a certain block, the block transaction node can The storage path information of the block body stored in the block header corresponding to the block obtains the block body.
可选的,所述区块体的存储路径信息包括至少一个区块存储节点的IP地址;所述区块事务节点根据所述区块体的存储路径信息,获取所述区块体,包括:所述区块事务节点根据所述至少一个区块存储节点的IP地址,向所述至少一个区块存储节点发送查询请求,所述查询请求包括所述区块的标识信息;所述区块事务节点从所述至少一个区块存储节点接收所述区块体,所述区块体包括所述区块的标识信息和交易信息。Optionally, the storage path information of the block body includes the IP address of at least one block storage node; the block transaction node obtains the block body according to the storage path information of the block body, including: The block transaction node sends a query request to the at least one block storage node according to the IP address of the at least one block storage node, and the query request includes the identification information of the block; the block transaction The node receives the block body from the at least one block storage node, and the block body includes identification information and transaction information of the block.
例如,该区块事务节点需要获取第P个区块的区块体,该区块事务节点从第P个区块的区块头中获取该第P个区块的区块体的存储路径信息,该存储路径信息具体可以包括至少一个区块存储节点的IP地址,进一步,该区块事务节点根据该至少一个区块存储节点的IP地址向该至少一个区块存储节点发送查询请求,该查询请求包括第P个区块的区块号,当该至少一个区块存储节点接收到该查询请求时,根据该第P个区块的区块号查询出该第P个区块的区块体,并将该第P个区块的区块体发送给该区块事务节点。可选的,如果该区块事务节点从多个区块存储节点接收到第P个区块的区块体,则该区块事务节点可以比较从多个区块存储节点接收到第P个区块的区块体是否一致,如果一致,则确定该多个区块存储节点是可信的。另外,该区块事务节点还可以给该多个区块存储节点进行评价打分,以便其他区块事务节点可以根据该评价打分选择查询的区块存储节点。For example, the block transaction node needs to obtain the block body of the Pth block, and the block transaction node obtains the storage path information of the block body of the Pth block from the block header of the Pth block, The storage path information may specifically include the IP address of at least one block storage node. Further, the block transaction node sends a query request to the at least one block storage node according to the IP address of the at least one block storage node, and the query request Including the block number of the Pth block, when the at least one block storage node receives the query request, query the block body of the Pth block according to the block number of the Pth block, And send the block body of the Pth block to the block transaction node. Optionally, if the block transaction node receives the block body of the Pth block from multiple block storage nodes, the block transaction node can compare the block body of the Pth block received from multiple block storage nodes Whether the block body of the block is consistent, if it is consistent, it is determined that the plurality of block storage nodes are credible. In addition, the block transaction node can also evaluate and score the multiple block storage nodes, so that other block transaction nodes can select the query block storage node according to the evaluation scores.
本发明实施例通过区块生成节点将生成的区块分为区块头和区块体,区块头和区块体通过区块号进行关联,将该区块头广播到区块链网络中,以使其他节点将该区块头记录到区块链账本中,并将该区块体存储到至少一个区块存储节点中,使得区块链变为区块头链,由于区块头链包括的内容比区块链包括的内容少,提高了区块头链在区块链网络中的同步效率;另外,区块头链占用的存储空间相比于区块链占用的存储空间小,所以节省了区块链网络中节点的存储空间。In the embodiment of the present invention, the generated block is divided into a block header and a block body through the block generation node, and the block header and the block body are associated through the block number, and the block header is broadcast to the blockchain network, so that Other nodes record the block header into the blockchain ledger, and store the block body in at least one block storage node, making the blockchain a block header chain, because the block header chain contains more content than the block The chain includes less content, which improves the synchronization efficiency of the block header chain in the blockchain network; in addition, the storage space occupied by the block header chain is smaller than the storage space occupied by the blockchain, so it saves the space in the blockchain network. The storage space of the node.
图7为本发明另一实施例提供的交易信息处理方法流程图。本实施例提供的交易信息处理方法具体包括如下步骤:Fig. 7 is a flowchart of a transaction information processing method provided by another embodiment of the present invention. The transaction information processing method provided in this embodiment specifically includes the following steps:
步骤701、区块事务节点向消息梳理节点发送交易信息。Step 701, the block transaction node sends transaction information to the message sorting node.
在本实施例中,区块事务节点具体可以是用户终端A,用户终端A生成交易信息M,该交易信息M表示用户终端A向用户终端B转账10元,为了安全起见,该用户终端A可以采用自己的私钥对该交易信息M进行签名得到签名后的交易信息M-sig。进一步,用户终端A将该签名后的交易信息M-sig发送给消息梳理节点。In this embodiment, the block transaction node may specifically be user terminal A, and user terminal A generates transaction information M, which means that user terminal A transfers 10 yuan to user terminal B. For security reasons, user terminal A can Use your own private key to sign the transaction information M to obtain the signed transaction information M-sig. Further, user terminal A sends the signed transaction information M-sig to the message sorting node.
步骤702、消息梳理节点对区块事务节点的身份进行验证,按照交易信息的接收时刻,对接收到的多个交易信息进行排序。Step 702, the message sorting node verifies the identity of the block transaction node, and sorts the multiple received transaction information according to the receiving time of the transaction information.
当消息梳理节点接收到用户终端A发送的签名后的交易信息M-sig之后,该消息梳理节点对用户终端A的身份进行验证,具体的,该消息梳理节点采用该用户终端A的公钥对该签名后的交易信息M-sig进行验证,若验证通过,说明该签名后的交易信息M-sig确实是该用户终端A发送的。该消息梳理节点不限于接收该用户终端A发送的签名后的交易信息M-sig,还可以接收到其他用户终端发送的签名后的交易信息,可选的,该消息梳理节点可以按照各个签名后的交易信息M-sig的接收时刻,对各个签名后的交易信息M-sig进行排序。After the message sorting node receives the signed transaction information M-sig sent by the user terminal A, the message sorting node verifies the identity of the user terminal A. Specifically, the message sorting node uses the user terminal A's public key pair The signed transaction information M-sig is verified, and if the verification is passed, it means that the signed transaction information M-sig is indeed sent by the user terminal A. The message sorting node is not limited to receiving the signed transaction information M-sig sent by the user terminal A, but can also receive the signed transaction information sent by other user terminals. Optionally, the message sorting node can follow each signature The transaction information M-sig after each signature is sorted at the receiving time of the transaction information M-sig.
步骤703、区块生成节点抢夺区块W的记账权成功。Step 703, the block generation node successfully snatches the accounting right of the block W.
步骤704、区块生成节点广播挖矿成功消息。Step 704, the block generation node broadcasts a mining success message.
可选的,该挖矿成功消息可包括区块W的区块头,该区块头的结构和包括内容具体如图5所示,此处不再赘述。Optionally, the mining success message may include a block header of the block W. The structure and contents of the block header are specifically shown in FIG. 5 , which will not be repeated here.
步骤705、区块生成节点向区块存储节点发送区块W的区块体。Step 705, the block generation node sends the block body of the block W to the block storage node.
步骤706、消息梳理节点将排序后的交易信息发送给区块生成节点。Step 706, the message sorting node sends the sorted transaction information to the block generation node.
可选的,由消息梳理节点排序后的交易信息包括用户终端A签名后的交易信息M-sig。Optionally, the transaction information sorted by the message sorting node includes the transaction information M-sig signed by the user terminal A.
步骤707、区块生成节点按照交易信息的接收时刻,对接收到的多个交易信息进行排序。Step 707, the block generating node sorts the multiple received transaction information according to the receiving time of the transaction information.
由于区块生成节点不限于从一个消息梳理节点订阅交易信息,可以从多个消息梳理节点订阅交易信息,因此,该区块生成节点可根据交易信息的接收时刻,对其从多个消息梳理节点接收的交易信息进行排序。可以理解,由区块生成节点排序后的交易信息包括用户终端A签名后的交易信息M-sig。Since the block generation node is not limited to subscribing transaction information from one message sorting node, it can subscribe to transaction information from multiple message sorting nodes. Therefore, the block generating node can receive transaction information from multiple message sorting nodes The received transaction information is sorted. It can be understood that the transaction information sorted by the block generation node includes the transaction information M-sig signed by the user terminal A.
步骤708、区块生成节点抢夺区块W+1的记账权成功。Step 708, the block generation node successfully snatches the accounting right of block W+1.
步骤709、区块生成节点广播挖矿成功消息。Step 709, the block generation node broadcasts a mining success message.
可选的,该广播挖矿成功消息包括区块W+1的区块号。Optionally, the broadcast mining success message includes the block number of block W+1.
步骤710、区块生成节点根据交易信息生成区块W+1。Step 710, the block generation node generates block W+1 according to the transaction information.
可选的,该区块W+1的区块体中包括用户终端A向消息梳理节点发送的签名后的交易信息M-sig。Optionally, the block body of the block W+1 includes the signed transaction information M-sig sent by the user terminal A to the message sorting node.
步骤711、区块生成节点向区块存储节点发送区块W+1的区块体。Step 711, the block generation node sends the block body of block W+1 to the block storage node.
步骤712、区块生成节点广播区块W+1的区块头。Step 712, the block generation node broadcasts the block header of block W+1.
本发明实施例通过区块生成节点将生成的区块分为区块头和区块体,区块头和区块体通过区块号进行关联,将该区块头广播到区块链网络中,以使其他节点将该区块头记录到区块链账本中,并将该区块体存储到至少一个区块存储节点中,使得区块链变为区块头链,由于区块头链包括的内容比区块链包括的内容少,提高了区块头链在区块链网络中的同步效率;另外,区块头链占用的存储空间相比于区块链占用的存储空间小,所以节省了区块链网络中节点的存储空间。In the embodiment of the present invention, the generated block is divided into a block header and a block body through the block generation node, and the block header and the block body are associated through the block number, and the block header is broadcast to the blockchain network, so that Other nodes record the block header into the blockchain ledger, and store the block body in at least one block storage node, making the blockchain a block header chain, because the block header chain contains more content than the block The chain includes less content, which improves the synchronization efficiency of the block header chain in the blockchain network; in addition, the storage space occupied by the block header chain is smaller than the storage space occupied by the blockchain, so it saves the space in the blockchain network. The storage space of the node.
图8为本发明实施例提供的区块链处理装置的结构示意图。该区块链处理装置具体可以是上述实施例所述的区块生成节点。本发明实施例提供的区块链处理装置可以执行区块链处理方法实施例提供的处理流程,如图8所示,区块链处理装置80包括:区块生成模块81、发送模块82和存储模块83;其中,区块生成模块81用于根据交易信息生成区块,所述区块包括区块头和区块体,所述区块头包括所述区块的标识信息、所述区块头的哈希值、所述区块体的哈希值和所述区块体的存储路径信息,所述区块体包括所述区块的标识信息和所述交易信息;发送模块82用于将所述区块头广播到区块链网络中,以使所述区块链网络中的其他节点将所述区块头记录到区块链账本中;存储模块83用于根据所述区块体的存储路径信息,对所述区块体进行存储。Fig. 8 is a schematic structural diagram of a block chain processing device provided by an embodiment of the present invention. Specifically, the block chain processing device may be the block generation node described in the above embodiment. The blockchain processing device provided by the embodiment of the present invention can execute the processing flow provided by the embodiment of the blockchain processing method. As shown in FIG. 8, the blockchain processing device 80 includes: a block generation module 81, a sending module 82 and a Module 83; wherein, the block generating module 81 is used to generate a block according to the transaction information, the block includes a block header and a block body, the block header includes the identification information of the block, the hash of the block header Hash value, the hash value of the block body and the storage path information of the block body, the block body includes the identification information of the block and the transaction information; the sending module 82 is used to send the The block header is broadcast to the blockchain network, so that other nodes in the blockchain network record the block header into the blockchain ledger; the storage module 83 is used to store path information according to the block body , to store the block body.
可选的,所述区块体的存储路径信息包括至少一个区块存储节点的IP地址。Optionally, the storage path information of the block body includes the IP address of at least one block storage node.
可选的,存储模块83具体用于:根据所述至少一个区块存储节点的IP地址,将所述区块体存储到所述至少一个区块存储节点。Optionally, the storage module 83 is specifically configured to: store the block body in the at least one block storage node according to the IP address of the at least one block storage node.
图8所示实施例的区块链处理装置可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The block chain processing device of the embodiment shown in FIG. 8 can be used to implement the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
图9为本发明另一实施例提供的区块链处理装置的结构示意图。该区块链处理装置具体可以是上述实施例所述的区块事务节点。本发明实施例提供的区块链处理装置可以执行区块链处理方法实施例提供的处理流程,如图9所示,区块链处理装置90包括:接收模块91和获取模块92;其中,接收模块91用于接收区块生成节点发送的区块头,所述区块头包括区块的标识信息、所述区块头的哈希值、区块体的哈希值和所述区块体的存储路径信息,所述区块包括所述区块头和所述区块体;获取模块92用于根据所述区块体的存储路径信息,获取所述区块体。Fig. 9 is a schematic structural diagram of a block chain processing device provided by another embodiment of the present invention. The block chain processing device may specifically be the block transaction node described in the above embodiment. The blockchain processing device provided by the embodiment of the present invention can execute the processing flow provided by the embodiment of the blockchain processing method. As shown in FIG. 9 , the blockchain processing device 90 includes: a receiving module 91 and an acquiring module 92; Module 91 is used to receive the block header sent by the block generation node, the block header includes the identification information of the block, the hash value of the block header, the hash value of the block body and the storage path of the block body information, the block includes the block header and the block body; the obtaining module 92 is configured to obtain the block body according to the storage path information of the block body.
可选的,所述区块体的存储路径信息包括至少一个区块存储节点的IP地址;获取模块92包括:发送单元921;发送单元921用于根据所述至少一个区块存储节点的IP地址,向所述至少一个区块存储节点发送查询请求,所述查询请求包括所述区块的标识信息;接收模块91还用于:从所述至少一个区块存储节点接收所述区块体,所述区块体包括所述区块的标识信息和交易信息。Optionally, the storage path information of the block body includes the IP address of at least one block storage node; the obtaining module 92 includes: a sending unit 921; the sending unit 921 is configured to , sending a query request to the at least one block storage node, where the query request includes identification information of the block; the receiving module 91 is further configured to: receive the block body from the at least one block storage node, The block body includes identification information and transaction information of the block.
图9所示实施例的区块链处理装置可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The block chain processing device of the embodiment shown in FIG. 9 can be used to implement the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
图10为本发明实施例提供的区块链节点的结构示意图。本发明实施例提供的区块链节点可以执行区块链处理方法实施例提供的处理流程,如图10所示,区块链节点100包括存储器101、处理器102、计算机程序和通讯接口103;其中,计算机程序存储在存储器101中,并被配置为由处理器102执行以上实施例所述的区块链处理方法。FIG. 10 is a schematic structural diagram of a blockchain node provided by an embodiment of the present invention. The blockchain node provided by the embodiment of the present invention can execute the processing flow provided by the embodiment of the blockchain processing method. As shown in FIG. 10 , the blockchain node 100 includes a memory 101, a processor 102, a computer program and a communication interface 103; Wherein, the computer program is stored in the memory 101 and is configured to be executed by the processor 102 in the blockchain processing method described in the above embodiments.
图10所示实施例的区块链节点可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The blockchain node of the embodiment shown in FIG. 10 can be used to implement the technical solutions of the above method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
另外,本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的区块链处理方法。In addition, this embodiment also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the block chain processing method described in the above-mentioned embodiments.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated 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 devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network 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 hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) execute the methods described in various embodiments of the present invention. partial steps. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other various media that can store program codes. .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional modules is used as an example for illustration. The internal structure of the system is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810552841.1ACN108810119A (en) | 2018-05-31 | 2018-05-31 | block chain processing method, device and block chain node |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810552841.1ACN108810119A (en) | 2018-05-31 | 2018-05-31 | block chain processing method, device and block chain node |
| Publication Number | Publication Date |
|---|---|
| CN108810119Atrue CN108810119A (en) | 2018-11-13 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810552841.1APendingCN108810119A (en) | 2018-05-31 | 2018-05-31 | block chain processing method, device and block chain node |
| Country | Link |
|---|---|
| CN (1) | CN108810119A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109379382A (en)* | 2018-12-07 | 2019-02-22 | 深圳市智税链科技有限公司 | Data management method, device, medium and electronic device of blockchain system |
| CN109508565A (en)* | 2018-12-29 | 2019-03-22 | 莆田市烛火信息技术有限公司 | A kind of account book bookkeeping methods of the shared block chain network for calculating power of multichain |
| CN109542979A (en)* | 2018-11-19 | 2019-03-29 | 广州矩阵信息科技有限公司 | A kind of block catenary system Fast synchronization and the mode of simple smart data storage |
| CN109636389A (en)* | 2018-12-13 | 2019-04-16 | 东软集团股份有限公司 | Block chain goes out determination method, apparatus, equipment and the storage medium of block time |
| CN109714398A (en)* | 2018-12-11 | 2019-05-03 | 新华三技术有限公司 | Date storage method and device |
| CN109714652A (en)* | 2018-12-18 | 2019-05-03 | 京信通信系统(中国)有限公司 | Date storage method, system, storage medium and the equipment of ODN management system |
| CN109803000A (en)* | 2018-12-29 | 2019-05-24 | 莆田市烛火信息技术有限公司 | A kind of account book accounting system of the shared block chain network for calculating power of multichain |
| CN109886690A (en)* | 2019-03-06 | 2019-06-14 | 上海共链信息科技有限公司 | A kind of method that block chain synchronizes account book |
| CN109902091A (en)* | 2019-02-21 | 2019-06-18 | 腾讯科技(深圳)有限公司 | Method, leader's accounting nodes and the medium that data block records on block chain |
| CN110264189A (en)* | 2019-04-29 | 2019-09-20 | 北京清红微谷技术开发有限责任公司 | Block chain node data storage method and system, terminal and block catenary system |
| CN110471951A (en)* | 2018-12-07 | 2019-11-19 | 深圳市智税链科技有限公司 | Determine the method for the sequence of Transaction Information, accounting nodes and medium in data block |
| CN110838924A (en)* | 2019-11-19 | 2020-02-25 | 北京沃东天骏信息技术有限公司 | Block transmission method and device |
| CN110889040A (en)* | 2019-11-21 | 2020-03-17 | 北京海益同展信息科技有限公司 | Method and device for pushing information |
| CN110995589A (en)* | 2019-10-14 | 2020-04-10 | 东软集团股份有限公司 | Block transfer method, device and equipment for block chain network block output |
| WO2020133963A1 (en)* | 2018-12-27 | 2020-07-02 | 重庆小雨点小额贷款有限公司 | Blockchain-based data storage method, related device and storage medium |
| CN111541756A (en)* | 2020-04-17 | 2020-08-14 | 腾讯科技(深圳)有限公司 | Block generation method, block generation device, node equipment and storage medium |
| CN111581289A (en)* | 2020-05-08 | 2020-08-25 | 西安华域网络文化发展有限公司 | Data management method, system, device and medium for double-end block chain |
| CN111654465A (en)* | 2020-04-17 | 2020-09-11 | 全球能源互联网研究院有限公司 | A blockchain-based cross-domain trusted authentication system and method for power business |
| CN111813866A (en)* | 2020-07-30 | 2020-10-23 | 河南中盾云安信息科技有限公司 | Improved block chain account book synchronization method |
| CN112667746A (en)* | 2020-12-30 | 2021-04-16 | 浙江甲骨文超级码科技股份有限公司 | Block chain based data storage method and equipment, electronic device and storage equipment |
| CN113609135A (en)* | 2021-08-24 | 2021-11-05 | 上海点融信息科技有限责任公司 | Data processing method and device |
| CN114066461A (en)* | 2020-07-31 | 2022-02-18 | 华为技术有限公司 | Identity information management method based on block chain, node and block chain system |
| CN119232350A (en)* | 2024-10-09 | 2024-12-31 | 中国移动通信有限公司研究院 | A blockchain processing method, device, device storage medium and program product |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130097284A1 (en)* | 2010-06-29 | 2013-04-18 | Alcatel Lucent | Method of file transmission based upon distributed storage in wireless communication system |
| CN105975868A (en)* | 2016-04-29 | 2016-09-28 | 杭州云象网络技术有限公司 | Block chain-based evidence preservation method and apparatus |
| CN106341421A (en)* | 2016-10-31 | 2017-01-18 | 杭州云象网络技术有限公司 | Block chain technology based data exchange method |
| CN106506638A (en)* | 2016-11-04 | 2017-03-15 | 江苏通付盾科技有限公司 | Block storage method and device in block chain |
| CN107360156A (en)* | 2017-07-10 | 2017-11-17 | 广东工业大学 | P2P network method for cloud storage based on block chain under a kind of big data environment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130097284A1 (en)* | 2010-06-29 | 2013-04-18 | Alcatel Lucent | Method of file transmission based upon distributed storage in wireless communication system |
| CN105975868A (en)* | 2016-04-29 | 2016-09-28 | 杭州云象网络技术有限公司 | Block chain-based evidence preservation method and apparatus |
| CN106341421A (en)* | 2016-10-31 | 2017-01-18 | 杭州云象网络技术有限公司 | Block chain technology based data exchange method |
| CN106506638A (en)* | 2016-11-04 | 2017-03-15 | 江苏通付盾科技有限公司 | Block storage method and device in block chain |
| CN107360156A (en)* | 2017-07-10 | 2017-11-17 | 广东工业大学 | P2P network method for cloud storage based on block chain under a kind of big data environment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109542979B (en)* | 2018-11-19 | 2023-08-22 | 北京市密网信息科技有限公司 | Fast synchronization and simple data storage mode of block chain system |
| CN109542979A (en)* | 2018-11-19 | 2019-03-29 | 广州矩阵信息科技有限公司 | A kind of block catenary system Fast synchronization and the mode of simple smart data storage |
| CN110460590A (en)* | 2018-12-07 | 2019-11-15 | 深圳市智税链科技有限公司 | Data managing method, device, medium and the electronic equipment of block catenary system |
| CN110471951B (en)* | 2018-12-07 | 2023-05-23 | 深圳市智税链科技有限公司 | Method, accounting node and medium for determining order of transaction information in data block |
| CN110460590B (en)* | 2018-12-07 | 2022-07-19 | 深圳市智税链科技有限公司 | Data management method, device, medium and electronic equipment of block chain system |
| CN109379382A (en)* | 2018-12-07 | 2019-02-22 | 深圳市智税链科技有限公司 | Data management method, device, medium and electronic device of blockchain system |
| CN110471951A (en)* | 2018-12-07 | 2019-11-19 | 深圳市智税链科技有限公司 | Determine the method for the sequence of Transaction Information, accounting nodes and medium in data block |
| CN109714398A (en)* | 2018-12-11 | 2019-05-03 | 新华三技术有限公司 | Date storage method and device |
| CN109714398B (en)* | 2018-12-11 | 2021-09-21 | 新华三技术有限公司 | Data storage method and device |
| CN109636389B (en)* | 2018-12-13 | 2020-09-22 | 东软集团股份有限公司 | Method, device, equipment and storage medium for determining block chaining-out time |
| CN109636389A (en)* | 2018-12-13 | 2019-04-16 | 东软集团股份有限公司 | Block chain goes out determination method, apparatus, equipment and the storage medium of block time |
| CN109714652A (en)* | 2018-12-18 | 2019-05-03 | 京信通信系统(中国)有限公司 | Date storage method, system, storage medium and the equipment of ODN management system |
| WO2020133963A1 (en)* | 2018-12-27 | 2020-07-02 | 重庆小雨点小额贷款有限公司 | Blockchain-based data storage method, related device and storage medium |
| CN109508565A (en)* | 2018-12-29 | 2019-03-22 | 莆田市烛火信息技术有限公司 | A kind of account book bookkeeping methods of the shared block chain network for calculating power of multichain |
| CN109803000A (en)* | 2018-12-29 | 2019-05-24 | 莆田市烛火信息技术有限公司 | A kind of account book accounting system of the shared block chain network for calculating power of multichain |
| CN109902091A (en)* | 2019-02-21 | 2019-06-18 | 腾讯科技(深圳)有限公司 | Method, leader's accounting nodes and the medium that data block records on block chain |
| CN109902091B (en)* | 2019-02-21 | 2021-08-10 | 腾讯科技(深圳)有限公司 | Method for recording data blocks on block chain, leading accounting node and medium |
| CN109886690B (en)* | 2019-03-06 | 2023-07-25 | 上海共链信息科技有限公司 | Method for synchronizing account book by block chain |
| CN109886690A (en)* | 2019-03-06 | 2019-06-14 | 上海共链信息科技有限公司 | A kind of method that block chain synchronizes account book |
| CN110264189A (en)* | 2019-04-29 | 2019-09-20 | 北京清红微谷技术开发有限责任公司 | Block chain node data storage method and system, terminal and block catenary system |
| CN110264189B (en)* | 2019-04-29 | 2021-10-26 | 北京清红微谷技术开发有限责任公司 | Block chain link point data storage method and system, terminal and block chain system |
| CN110995589B (en)* | 2019-10-14 | 2022-03-04 | 东软集团股份有限公司 | Block transfer method, device and equipment for block chain network block output |
| CN110995589A (en)* | 2019-10-14 | 2020-04-10 | 东软集团股份有限公司 | Block transfer method, device and equipment for block chain network block output |
| CN110838924B (en)* | 2019-11-19 | 2022-04-12 | 北京沃东天骏信息技术有限公司 | Block transmission method and device |
| CN110838924A (en)* | 2019-11-19 | 2020-02-25 | 北京沃东天骏信息技术有限公司 | Block transmission method and device |
| CN110889040A (en)* | 2019-11-21 | 2020-03-17 | 北京海益同展信息科技有限公司 | Method and device for pushing information |
| CN110889040B (en)* | 2019-11-21 | 2020-09-01 | 北京海益同展信息科技有限公司 | Method and device for pushing information |
| CN111654465A (en)* | 2020-04-17 | 2020-09-11 | 全球能源互联网研究院有限公司 | A blockchain-based cross-domain trusted authentication system and method for power business |
| CN111541756B (en)* | 2020-04-17 | 2021-10-15 | 腾讯科技(深圳)有限公司 | Block generation method, block generation device, node equipment and storage medium |
| CN111541756A (en)* | 2020-04-17 | 2020-08-14 | 腾讯科技(深圳)有限公司 | Block generation method, block generation device, node equipment and storage medium |
| CN111581289B (en)* | 2020-05-08 | 2024-03-22 | 西安华域网络文化发展有限公司 | Data management method, system, device and medium for double-head block chain |
| CN111581289A (en)* | 2020-05-08 | 2020-08-25 | 西安华域网络文化发展有限公司 | Data management method, system, device and medium for double-end block chain |
| CN111813866A (en)* | 2020-07-30 | 2020-10-23 | 河南中盾云安信息科技有限公司 | Improved block chain account book synchronization method |
| CN111813866B (en)* | 2020-07-30 | 2021-03-16 | 河南中盾云安信息科技有限公司 | Improved block chain account book synchronization method |
| CN114066461A (en)* | 2020-07-31 | 2022-02-18 | 华为技术有限公司 | Identity information management method based on block chain, node and block chain system |
| CN114066461B (en)* | 2020-07-31 | 2025-09-12 | 华为技术有限公司 | Blockchain-based identity information management method, node, and blockchain system |
| CN112667746A (en)* | 2020-12-30 | 2021-04-16 | 浙江甲骨文超级码科技股份有限公司 | Block chain based data storage method and equipment, electronic device and storage equipment |
| CN113609135A (en)* | 2021-08-24 | 2021-11-05 | 上海点融信息科技有限责任公司 | Data processing method and device |
| CN113609135B (en)* | 2021-08-24 | 2024-10-29 | 上海点融信息科技有限责任公司 | Data processing method and device |
| CN119232350A (en)* | 2024-10-09 | 2024-12-31 | 中国移动通信有限公司研究院 | A blockchain processing method, device, device storage medium and program product |
| Publication | Publication Date | Title |
|---|---|---|
| CN108810119A (en) | block chain processing method, device and block chain node | |
| CN108712506B (en) | Block chain node communication method and device and block chain node | |
| CN108769142A (en) | Exchange information processing method and block generate node | |
| CN109640274B (en) | Short message sending method and device based on block chain and computer readable storage medium | |
| CN109118360B (en) | Blockchain reconciliation method, device, equipment and storage medium | |
| CN108989048A (en) | Cryptographic key distribution method, device, equipment and storage medium | |
| CN104683124B (en) | Terminal type recognition methods and device | |
| CN108900528A (en) | Block chain real name identification method, device, equipment and storage medium | |
| CN108200568B (en) | Mobile communication electronic SIM card data processing method and device | |
| CN108566275A (en) | Identity identifying method, device and block chain node | |
| CN108989043A (en) | Block processes method, apparatus and block chain node | |
| CN109660984A (en) | The number of taking turns network method, equipment and computer readable storage medium | |
| CN108683727B (en) | Block processing method and master node | |
| CN108810120B (en) | Block chain node communication method, device and block chain node | |
| CN108777712B (en) | Block chain node communication method and device and block chain node | |
| CN108768733B (en) | Blockchain ledger processing method, device and blockchain node | |
| CN116347513B (en) | Communication method and device, communication system, storage medium and electronic device | |
| CN108769144A (en) | Storage processing method, transaction node, memory node and communication equipment | |
| CN108768961A (en) | storage processing method and home gateway | |
| CN108596636A (en) | Method for anti-counterfeit, device and terminal device | |
| CN108777710B (en) | Inter-node communication method and device of block chain and block chain node | |
| CN108876611A (en) | Exchange information processing method, device and block chain node | |
| CN108985765A (en) | Enterprise user information processing method, equipment and storage medium | |
| CN109087096B (en) | Blockchain reconciliation method, device, equipment and storage medium | |
| CN108848144B (en) | Method and device for accessing nodes in block chain and block chain link point |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20181113 |