WO2020211622A1 - 一种基于区块链的消息存储方法及装置 - Google Patents

一种基于区块链的消息存储方法及装置 Download PDF

Info

Publication number
WO2020211622A1
WO2020211622A1 PCT/CN2020/081870 CN2020081870W WO2020211622A1 WO 2020211622 A1 WO2020211622 A1 WO 2020211622A1 CN 2020081870 W CN2020081870 W CN 2020081870W WO 2020211622 A1 WO2020211622 A1 WO 2020211622A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage
message
event
contract
blockchain
Prior art date
Application number
PCT/CN2020/081870
Other languages
English (en)
French (fr)
Inventor
陈贯策
刘丽平
苏小康
张开翔
范瑞彬
Original Assignee
深圳前海微众银行股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳前海微众银行股份有限公司 filed Critical 深圳前海微众银行股份有限公司
Publication of WO2020211622A1 publication Critical patent/WO2020211622A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • 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

Definitions

  • the embodiment of the present invention relates to the field of financial technology (Fintech), and in particular to a method and device for storing messages based on a block chain (Blockchain).
  • the embodiment of the present invention provides a message storage method and device based on block chain, which are used to realize data storage anti-tampering, easy data disaster tolerance and capacity expansion.
  • the embodiment of the present invention provides a method for storing messages based on blockchain, including:
  • Acquiring storage request information sent by a message sender where the storage request information includes a message packet of the event and the first topic name of the event;
  • the control contract includes the correspondence between the topic name and the address of the storage contract
  • the event message is stored in the block of the block chain through the first topic name and the control contract in the block chain, which prevents the event message from being tampered with, and can facilitate data disaster tolerance and expansion.
  • the storing the message packet of the event in a block of the blockchain according to the first topic name includes:
  • the storage contract corresponding to the first topic name is determined, and the message packet of the event is stored in a block of the blockchain.
  • the storing the message packet of the event in a block of the blockchain includes:
  • the message packet of the event is stored in a block of the blockchain by calling the EventLog method of the blockchain.
  • the storing the message packet of the event in a block of the blockchain includes:
  • the message packet of the event is stored in the block of the blockchain by calling the diagram of the blockchain.
  • the method before the obtaining the storage request information sent by the message sender, the method further includes:
  • the contract creation request information includes the first topic name
  • the first topic name create a storage contract corresponding to the first topic name, and determine the address of the storage contract corresponding to the first topic name;
  • Optional also includes:
  • an embodiment of the present invention also provides a block chain-based message storage device, including:
  • An obtaining unit configured to obtain storage request information sent by a message sender, where the storage request information includes a message packet of the event and the first topic name of the event;
  • the processing unit is configured to store the message packet of the event in the block of the blockchain according to the first topic name and the control contract; the control contract includes the correspondence between the topic name and the address of the storage contract ;
  • the sending unit is configured to send storage response information to the message sender, where the storage response information includes the block height of the message packet storage of the event and the event ID.
  • processing unit is specifically configured to:
  • the storage contract corresponding to the first topic name is determined, and the message packet of the event is stored in a block of the blockchain.
  • processing unit is specifically configured to:
  • the message packet of the event is stored in a block of the blockchain by calling the EventLog method of the blockchain.
  • processing unit is specifically configured to:
  • the message packet of the event is stored in the block of the block chain by calling the graph of the block chain.
  • processing unit is further configured to:
  • the contract creation request information includes the first topic name
  • the first topic name create a storage contract corresponding to the first topic name, and determine the address of the storage contract corresponding to the first topic name;
  • processing unit is further configured to:
  • Controlling the sending unit to send the event message to the message recipient.
  • an embodiment of the present invention also provides a computer device, which includes:
  • processor memory, transceiver, and bus interface; among them, the processor, memory and transceiver are connected by a bus;
  • the processor is configured to read the program in the memory, and execute the above-mentioned blockchain-based message storage method
  • the memory is used to store one or more executable programs, and can store data used by the processor when performing operations.
  • an embodiment of the present invention also provides a non-transitory computer-readable storage medium, in which instructions are stored in the computer storage medium, which when run on a computer, cause the computer to execute the above-mentioned blockchain-based message storage method.
  • embodiments of the present invention also provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the above-mentioned blockchain-based message storage method.
  • FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a message storage method based on blockchain according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a process of contract creation provided by an embodiment of the present invention.
  • Figure 4 is a schematic diagram of a message acquisition process provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a message storage device based on blockchain according to an embodiment of the present invention.
  • Fig. 6 is a schematic structural diagram of a computer device provided by this application.
  • FIG. 1 exemplarily shows a system architecture to which an embodiment of the present invention is applicable.
  • the system architecture may include multiple senders 100, a blockchain system 200, and multiple receivers 300.
  • the sender 100 is used to communicate with the blockchain system 200 and send the generated data to the blockchain system 200 for storage.
  • the blockchain system 200 consists of multiple blockchain nodes 210 that communicate with the sender 100 and the receiver 300 to store the data sent by the sender 100, and after receiving the data query request from the receiver 300, to the receiver The party 300 feeds back corresponding data.
  • the multiple blockchain nodes 210 can be connected to each other for communication, and each blockchain node includes multiple blocks, and the blocks are used to store data sent by the sender 100.
  • the receiver 300 communicates with the blockchain system 200 for querying corresponding data from the blockchain system 200.
  • FIG. 1 is only an example, which is not limited in the embodiment of the present invention.
  • FIG. 2 exemplarily shows the flow of a blockchain-based message storage method provided by an embodiment of the present invention.
  • the flow may be executed by a blockchain-based message storage device, which may be a block chain.
  • the blockchain node in the blockchain system 200 The following will describe the process of message storage based on the blockchain through the way the message sender interacts with the blockchain node.
  • the process specifically includes:
  • Step 201 The message sender sends storage request information to the blockchain node.
  • the storage request information sent by the message sender may include the message packet of the event and the first topic name of the event.
  • the message package of this event is the message package to be stored.
  • the first subject name may be the type of the event, for example, transfer, consumption, repayment, etc. may be defined as the subject name.
  • the first topic name is to let the blockchain node know where to store the message packet of the event.
  • Step 301 The client sends contract creation request information to the blockchain node.
  • the client can be a message sender or a data receiver, and any client can request the creation of a storage contract.
  • the contract creation request message includes the above-mentioned first subject name.
  • the first subject name may be transfer or the subject name of other events.
  • Step 302 The blockchain node creates a storage contract corresponding to the first theme name according to the first theme name, and determines the address of the storage contract corresponding to the first theme name.
  • the blockchain node After the blockchain node receives the first topic name sent by the client, it will create a storage contract corresponding to the first topic name, so that the address of the storage contract corresponding to the first topic name can be obtained.
  • the blockchain node can query the storage contract corresponding to the first topic name through the address, so that the message packet of the corresponding event is stored in the blockchain through the storage contract.
  • Step 303 The blockchain node stores the first topic name and the address of the storage contract corresponding to the first topic name in the control contract.
  • the blockchain node After the blockchain node determines the address of the storage contract corresponding to the first subject name, it can store the address in the control contract.
  • the control contract includes the correspondence between the subject name and the storage contract, as shown in the table 1 shows the content.
  • the blockchain node can quickly query the address of the storage contract corresponding to the first topic name.
  • Step 304 The blockchain node sends the deployment result to the client.
  • the blockchain node After the blockchain node has deployed the storage contract corresponding to the first theme name, it can feed back the deployment result of the storage contract corresponding to the first theme name to the client, and inform the client of the deployment status of the storage contract.
  • Step 202 The blockchain node stores the message packet of the event in a block of the blockchain according to the first topic name and the control contract.
  • the blockchain node After receiving the first topic name sent by the message sender, the blockchain node can determine the address of the storage contract corresponding to the first topic name from the control contract according to the first topic name, and then, according to the address The storage contract corresponding to the first topic name is determined, and the message packet of the event is stored in the block of the blockchain system.
  • the storage contract can include TopicName (topic name), EventID (event ID), BlockNumber (block height), EventContent (event content) and other information.
  • the content of the control contract shown in Table 1 can be used to find the address a of the storage contract corresponding to the transfer, and then the storage contract corresponding to the transfer can be determined through the address a.
  • the blockchain node stores the event message package in the block through the storage contract. Specifically, each blockchain node on the blockchain can be synchronized to the same event message through the distributed consensus algorithm of the blockchain. And through the characteristics of the blockchain to prevent the event message of a node from being tampered with.
  • the message packet of the event can be stored in the block of the blockchain by calling the map of the blockchain.
  • the map is a kind of data storage.
  • the structure can also be said to be the data storage structure on the block.
  • the message packet of the event can be stored in a block of the blockchain by calling the EventLog (event log) method of the blockchain.
  • EventLog event log
  • the use of storage to achieve lower message sending performance the worse the performance as the amount of data increases.
  • EventLog there is no problem of worse performance as the amount of data increases.
  • the EventLog is a data storage structure of the block in the blockchain, and event messages can be stored in the block of the blockchain in the form of a log through the EventLog.
  • Step 203 The blockchain node sends storage response information to the message sender.
  • the block chain node After the block chain node determines to store the message packet of the event, it can send storage response information to the message sender.
  • the storage response information may include information such as the block height of the message packet storage of the above event and the event ID.
  • the embodiment of the present invention can also implement the process of querying events of the corresponding subject name from the blockchain node, as shown in Figure 4, which specifically includes:
  • Step 401 The message receiver sends a message to the blockchain node to obtain request information.
  • the message acquisition request information may include the name of the second topic and the initial event ID of the acquisition message.
  • the initial event ID here can be the initial block ID. If the connection is interrupted during the transmission of the message, the initial event ID can also be the block ID when the transmission is disconnected, that is, the initial event ID is the acquisition The starting position of the message.
  • the second topic name here is determined by the message receiver itself, and the second topic name can be set for the message of which topic it needs to subscribe to. For example, it indicates that the message receiver needs to obtain event messages related to the transfer.
  • Step 402 The blockchain node obtains the address of the storage contract of the second theme name from the control contract according to the second theme name.
  • the blockchain node obtains the address of the storage contract of the second theme name from the control contract shown in Table 1 according to the second theme name.
  • Step 403 The blockchain node obtains an event message related to the second topic name according to the address of the storage contract of the second topic name and the initial event ID.
  • the blockchain node After the blockchain node obtains the storage contract address of the second topic name, it can determine the storage contract of the second topic name, and poll the block with the second topic through the storage contract and the initial event ID. Name-related event messages.
  • Step 404 The blockchain node sends an event message to the message receiver.
  • the blockchain node After the blockchain node obtains the event message in step 403, it can send the event message to the message recipient. This completes the query of event messages.
  • the embodiment of the present invention shows that the storage request information sent by the message sender is obtained.
  • the storage request information includes the message package of the event and the first subject name of the event, and stores the message package of the event on the blockchain according to the first subject name and the control contract.
  • the control contract includes the correspondence between the subject name and the address of the storage contract, and sends storage response information to the message sender.
  • the storage response information includes the block height of the message packet storage of the event and the event ID.
  • the event message is stored in the block chain through the first topic name and the control contract in the block chain to prevent the event message from being tampered with, and to facilitate data disaster tolerance and expansion.
  • Fig. 5 exemplarily shows the structure of a block chain-based message storage device provided by an embodiment of the present invention, which can execute the process of block chain-based message storage.
  • the device may be the blockchain node 210 in the above-mentioned blockchain system 200.
  • the device specifically includes:
  • the obtaining unit 501 is configured to obtain storage request information sent by a message sender, where the storage request information includes the message packet of the event and the first topic name of the event;
  • the processing unit 502 is configured to store the message packet of the event in a block of the blockchain according to the first topic name and the control contract; the control contract includes the correspondence between the topic name and the address of the storage contract relationship;
  • the sending unit 503 is configured to send storage response information to the message sender, where the storage response information includes the block height of the message packet storage of the event and the event ID.
  • processing unit 502 is specifically configured to:
  • the storage contract corresponding to the first topic name is determined, and the message packet of the event is stored in a block of the blockchain.
  • processing unit 502 is specifically configured to:
  • the message packet of the event is stored in a block of the blockchain by calling the EventLog method of the blockchain.
  • processing unit 502 is specifically configured to:
  • the message packet of the event is stored in the block of the blockchain by calling the diagram of the blockchain.
  • processing unit 502 is further configured to:
  • the obtaining unit 501 Before the obtaining the storage request information sent by the message sender, control the obtaining unit 501 to receive the contract creation request information sent by the client; the contract creation request information includes the first topic name;
  • the first topic name create a storage contract corresponding to the first topic name, and determine the address of the storage contract corresponding to the first topic name;
  • the sending unit 503 is controlled to send the deployment result of the storage contract corresponding to the first topic name to the client.
  • processing unit 502 is further configured to:
  • an embodiment of the present invention also provides a computer device.
  • the computer device includes:
  • the processor 601 is configured to read a program in the memory 602, and execute the above-mentioned blockchain-based message storage method;
  • the processor 601 may be a central processing unit (central processing unit, CPU for short), a network processor (NP for short), or a combination of CPU and NP. It can also be a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC for short), a programmable logic device (PLD for short), or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD can be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (FPGA), a generic array logic (generic array logic, GAL), or any of them combination.
  • the memory 602 is configured to store one or more executable programs, and can store data used by the processor 601 when performing operations.
  • the program may include program code, and the program code includes computer operation instructions.
  • the memory 602 may include a volatile memory (volatile memory), such as random-access memory (RAM for short); the memory 602 may also include a non-volatile memory (non-volatile memory), such as flash memory ( flash memory), hard disk drive (HDD for short) or solid-state drive (SSD for short); the memory 602 may also include a combination of the foregoing types of memories.
  • volatile memory volatile memory
  • RAM random-access memory
  • non-volatile memory non-volatile memory
  • flash memory flash memory
  • HDD hard disk drive
  • SSD solid-state drive
  • the memory 602 stores the following elements, executable modules or data structures, or their subsets, or their extended sets:
  • Operating instructions including various operating instructions, used to implement various operations.
  • Operating system including various system programs, used to implement various basic services and process hardware-based tasks.
  • the bus 605 may be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
  • PCI peripheral component interconnect standard
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
  • the bus interface 604 may be a wired communication access port, a wireless bus interface or a combination thereof, where the wired bus interface may be, for example, an Ethernet interface.
  • the Ethernet interface can be an optical interface, an electrical interface or a combination thereof.
  • the wireless bus interface may be a WLAN interface.
  • the embodiments of the present application also provide a non-transitory computer-readable storage medium.
  • the computer storage medium stores instructions. When it runs on a computer, the computer executes the aforementioned blockchain-based message storage method.
  • the embodiments of the present application provide a computer program product containing instructions, which when running on a computer, cause the computer to execute the above-mentioned blockchain-based message storage method.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种基于区块链的消息存储方法及装置,该方法包括获取消息发送方发送的存储请求信息,存储请求信息包括事件的消息包以及事件的第一主题名称,根据第一主题名称和控制合约将事件的消息包存储在区块链的区块中,控制合约中包括主题名称与存储合约的地址的对应关系,向消息发送方发送存储响应信息,存储响应信息包括事件的消息包存储的区块高度和事件ID。通过第一主题名称以及区块链中的控制合约将事件的消息存储在区块链的区块中,防止事件消息被篡改,并且可以易于数据的容灾和扩容。

Description

一种基于区块链的消息存储方法及装置
相关申请的交叉引用
本申请要求在2019年04月16日提交中国专利局、申请号为201910302006.7、申请名称为“一种基于区块链的消息存储方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及金融科技(Fintech)领域,尤其涉及一种基于区块链(Block Chain)的消息存储方法及装置。
背景技术
随着计算机技术的发展,越来越多的技术应用在金融领域,传统金融业正在逐步向金融科技(Finteh)转变,消息存储技术也不例外,但由于金融、支付行业的安全性、实时性要求,也对技术提出的更高的要求。传统分布式消息中间件在存储数据时,是把数据存储在中心化数据库中,由于是集中式的中心化数据存储,不利于数据的容灾及扩容。并且当数据丢失时,需要通过查找消息实时日志文件,从大量文件日志中查找丢失消息并重新录入到中心化金融信息数据库中,比较耗时。此外,传统分布式消息中间件在对数据进行中心化存储过程中有篡改风险,对于金融、支付***而言,具有严重的后果。
发明内容
本发明实施例提供一种基于区块链的消息存储方法及装置,用以实现数据存储防篡改,易于数据容灾及扩容。
本发明实施例提供的一种基于区块链的消息存储方法,包括:
获取消息发送方发送的存储请求信息,所述存储请求信息包括事件的消 息包以及所述事件的第一主题名称;
根据所述第一主题名称和控制合约将所述事件的消息包存储在所述区块链的区块中;所述控制合约中包括主题名称与存储合约的地址的对应关系;
向所述消息发送方发送存储响应信息,所述存储响应信息包括所述事件的消息包存储的区块高度和事件ID。
上述技术方案中,通过第一主题名称以及区块链中的控制合约将事件的消息存储在区块链的区块中,防止事件消息被篡改,并且可以易于数据的容灾和扩容。
可选的,所述根据所述第一主题名称将所述事件的消息包存储在所述区块链的区块中,包括:
根据所述第一主题名称从控制合约中确定出与所述第一主题名称对应的存储合约的地址;
根据所述第一主题名称对应的存储合约的地址,确定出所述第一主题名称对应的存储合约,将所述事件的消息包存储在所述区块链的区块中。
可选的,所述将所述事件的消息包存储在所述区块链的区块中,包括:
通过调用区块链的EventLog方法将所述事件的消息包存储在所述区块链的区块中。
可选的,所述将所述事件的消息包存储在所述区块链的区块中,包括:
通过调用区块链的图的方法将所述事件的消息包存储在所述区块链的区块中。
可选的,在所述获取消息发送方发送的存储请求信息之前,还包括:
接收客户端发送的合约创建请求信息;所述合约创建请求信息包括所述第一主题名称;
根据所述第一主题名称,创建与所述第一主题名称相对应的存储合约,确定出与所述第一主题名称相对应的存储合约的地址;
将所述第一主题名称和所述与所述第一主题名称相对应的存储合约的地址存储在所述控制合约中;
向所述客户端发送所述第一主题名称对应的存储合约的部署结果。
可选的,还包括:
获取消息接收方发送的消息获取请求信息,所述消息获取请求信息包括第二主题名称和获取消息的起始事件ID;
根据所述第二主题名称从所述控制合约中获取所述第二主题名称的存储合约的地址;
根据所述第二主题名称的存储合约的地址和所述起始事件ID,获取与所述第二主题名称相关的事件消息;
将所述事件消息发送给所述消息接收方。
相应的,本发明实施例还提供了一种基于区块链的消息存储装置,包括:
获取单元,用于获取消息发送方发送的存储请求信息,所述存储请求信息包括事件的消息包以及所述事件的第一主题名称;
处理单元,用于根据所述第一主题名称和控制合约将所述事件的消息包存储在所述区块链的区块中;所述控制合约中包括主题名称与存储合约的地址的对应关系;
发送单元,用于向所述消息发送方发送存储响应信息,所述存储响应信息包括所述事件的消息包存储的区块高度和事件ID。
可选的,所述处理单元具体用于:
根据所述第一主题名称从控制合约中确定出与所述第一主题名称对应的存储合约的地址;
根据所述第一主题名称对应的存储合约的地址,确定出所述第一主题名称对应的存储合约,将所述事件的消息包存储在所述区块链的区块中。
可选的,所述处理单元具体用于:
通过调用区块链的EventLog方法将所述事件的消息包存储在所述区块链的区块中。
可选的,所述处理单元具体用于:
通过调用区块链的图的方法将所述事件的消息包存储在所述区块链的区 块中。
可选的,所述处理单元还用于:
在所述获取消息发送方发送的存储请求信息之前,控制所述获取单元接收客户端发送的合约创建请求信息;所述合约创建请求信息包括所述第一主题名称;
根据所述第一主题名称,创建与所述第一主题名称相对应的存储合约,确定出与所述第一主题名称相对应的存储合约的地址;
将所述第一主题名称和所述与所述第一主题名称相对应的存储合约的地址存储在所述控制合约中;
控制所述发送单元向所述客户端发送所述第一主题名称对应的存储合约的部署结果。
可选的,所述处理单元还用于:
控制所述获取单元获取消息接收方发送的消息获取请求信息,所述消息获取请求信息包括第二主题名称和获取消息的起始事件ID;
根据所述第二主题名称从所述控制合约中获取所述第二主题名称的存储合约的地址;
根据所述第二主题名称的存储合约的地址和所述起始事件ID,获取与所述第二主题名称相关的事件消息;
控制所述发送单元将所述事件消息发送给所述消息接收方。
相应的,本发明实施例还提供一种计算机设备,所述计算机设备包括:
处理器、存储器、收发器、总线接口;其中,处理器、存储器与收发器之间通过总线连接;
所述处理器,用于读取所述存储器中的程序,执行上述基于区块链的消息存储方法;
所述存储器,用于存储一个或多个可执行程序,可以存储所述处理器在执行操作时所使用的数据。
相应的,本发明实施例还提供一种非暂态计算机可读存储介质,计算机 存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述基于区块链的消息存储方法。
相应的,本发明实施例还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述基于区块链的消息存储方法。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种***架构的示意图;
图2为本发明实施例提供的一种基于区块链的消息存储方法的流程示意图;
图3为本发明实施例提供的一种合约创建的流程示意图;
图4为本发明实施例提供的一种消息获取的流程示意图;
图5为本发明实施例提供的一种基于区块链的消息存储装置的结构示意图;
图6为本申请提供的一种计算机设备的结构示意图。
具体实施方式
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
图1示例性的示出了本发明实施例所适用的一种***架构,该***架构可以包括多个发送方100、区块链***200和多个接收方300。
其中,发送方100用于与区块链***200进行通信,将产生的数据发送给区块链***200进行存储。
区块链***200由多个区块链节点210,与发送方100、接收方300进行通信,用于存储发送方100发送的数据,以及在收到接收方300的数据查询请求后,向接收方300反馈相应的数据。该多个区块链节点210可以相互连接通信,每个区块链节点中包括多个区块,区块用于存储发送方100发送的数据。
接收方300与区块链***200通信,用于从该区块链***200查询相应的数据。
需要说明的是,上述图1所示的结构仅是一种示例,本发明实施例对此不做限定。
基于上述描述,图2示例性的示出了本发明实施例提供的一种基于区块链的消息存储方法的流程,该流程可以由基于区块链的消息存储装置执行,该装置可以为区块链***200中的区块链节点。下面将通过消息发送方与区块链节点交互的方式来描述基于区块链的消息存储的流程。
如图2所示,该流程具体包括:
步骤201,消息发送方向区块链节点发送存储请求信息。
在本发明实施例中该消息发送方发送的存储请求信息中可以包括事件的消息包以及事件的第一主题名称。该事件的消息包为待存储的消息包。该第一主题名称可以为该事件的类型,例如可以将转账、消费、还款等类型定义为主题名称。该第一主题名称是为了让区块链节点知道将事件的消息包存储在哪个位置。
需要说明的是,在接收到消息发送方发送的存储请求信息之前,还需要创建与主题名称对应的存储合约,具体可以如图3所示的流程,包括:
步骤301,客户端向区块链节点发送合约创建请求信息。
在本发明实施例中,该客户端可以是消息发送方或者数据接收方,任意的客户端都可以请求创建存储合约。该合约创建请求消息中包括上述第一主 题名称,例如该第一主题名称可以为转账,或者是其它的事件的主题名称。
步骤302,区块链节点根据所述第一主题名称,创建与所述第一主题名称相对应的存储合约,确定出与所述第一主题名称相对应的存储合约的地址。
区块链节点在接收到客户端发送的第一主题名称之后,将创建与该第一主题名称对应的存储合约,从而可以得到与该第一主题名称相对应的存储合约的地址。区块链节点可以通过该地址查询到与该第一主题名称相对应的存储合约,从而通过该存储合约将对应的事件的消息包存储在区块链中。
步骤303,区块链节点将所述第一主题名称和所述与所述第一主题名称相对应的存储合约的地址存储在所述控制合约中。
区块链节点在确定出与第一主题名称相对应的存储合约的地址之后,就可以将该地址存储在控制合约中,该控制合约中包括主题名称与存储合约的对应关系,具体可以见表1所示内容。
表1
主题名称 存储合约的地址
转账 存储合约的地址a
消费 存储合约的地址b
还款 存储合约的地址c
…… ……
区块链节点可以通过该控制合约,快速的查询到与第一主题名称对应的存储合约的地址。
步骤304,区块链节点向客户端发送部署结果。
区块链节点在部署完成与第一主题名称相对应的存储合约之后,就可以向客户端反馈第一主题名称对应的存储合约的部署结果,告知客户端存储合约的部署情况。
步骤202,区块链节点根据所述第一主题名称和控制合约将所述事件的消息包存储在所述区块链的区块中。
区块链节点在接收到消息发送方发送的第一主题名称之后,就可以根据该第一主题名称从控制合约中确定出与该第一主题名称对应的存储合约的地址,然后,根据该地址确定出该第一主题名称对应的存储合约,将事件的消息包存储在区块链***的区块中。该存储合约中可以包含TopicName(主题名称)、EventID(事件ID)、BlockNumber(区块高度)、EventContent(事件内容)等信息。
例如,第一主题名称为转账,则通过表1所示的控制合约的内容,可以查找到转账对应的存储合约的地址a,然后通过该地址a确定出该转账对应的存储合约。区块链节点通过该存储合约将事件的消息包存储在区块中,具体可以通过区块链的分布式共识算法使得区块链上的每个区块链节点都同步到相同的事件消息,并通过区块链特性防止某个节点的事件消息被篡改。
需要说明的是,在对事件的消息包进行存储时,可以通过调用区块链的图(Map)的方法将事件的消息包存储在区块链的区块中,该图为一种数据存储结构,也可以说是区块上的数据存储结构。可选的,可以通过调用区块链的EventLog(事件日志)方法将事件的消息包存储在区块链的区块中。其中,使用存储方式实现消息发送性能较低,随着数据量增加性能越差。使用EventLog方式随着数据量增加不存在性能越差问题。该EventLog为区块链中区块的一种数据存储结构,通过EventLog可以将事件的消息以日志的形式存储在区块链的区块中。
在将事件的消息包进行存储之后,还可以获得该事件的消息包存储的区块高度和事件ID等信息。
步骤203,区块链节点向消息发送方发送存储响应信息。
区块链节点在确定将事件的消息包进行存储后,就可以向消息发送方发送存储响应信息,该存储响应信息可以包括上述事件的消息包存储的区块高度和事件ID等信息。
需要说明的是,本发明实施例还可以实现从区块链节点中查询相应主题名称的事件的流程,如图4所示流程,具体包括:
步骤401,消息接收方向区块链节点发送消息获取请求信息。
该消息获取请求信息中可以包括第二主题名称和获取消息的起始事件ID。这里的起始事件ID可以是初始区块ID,如果传输消息的过程中连接中断,此时起始事件ID也可以为断开传输时的区块ID,也就是说,起始事件ID是获取消息的起始位置。这里的第二主题名称是消息接收方自己确定的,其需要订阅哪个主题的消息,就可以设定该第二主题名称,如转账,则表明消息接收方需要获取与转账有关的事件消息。
步骤402,区块链节点根据所述第二主题名称从所述控制合约中获取所述第二主题名称的存储合约的地址。
区块链节点根据第二主题名称,从表1所示的控制合约中获取到该第二主题名称的存储合约的地址。
步骤403,区块链节点根据所述第二主题名称的存储合约的地址和所述起始事件ID,获取与所述第二主题名称相关的事件消息。
区块链节点在得到第二主题名称的存储合约地址之后,就可以确定出该第二主题名称的存储合约,通过该存储合约以及该起始事件ID,轮询区块中与该第二主题名称相关的事件消息。
步骤404,区块链节点向消息接收方发送事件消息。
区块链节点在上述步骤403中获取到事件消息之后,就可以将该事件消息发送给消息接收方。从而完成事件消息的查询。
本发明实施例表明,获取消息发送方发送的存储请求信息,存储请求信息包括事件的消息包以及事件的第一主题名称,根据第一主题名称和控制合约将事件的消息包存储在区块链的区块中,控制合约中包括主题名称与存储合约的地址的对应关系,向消息发送方发送存储响应信息,存储响应信息包括事件的消息包存储的区块高度和事件ID。通过第一主题名称以及区块链中的控制合约将事件的消息存储在区块链的区块中,防止事件消息被篡改,并且可以易于数据的容灾和扩容。
基于相同的技术构思,图5示例性的示出了本发明实施例提供的一种基 于区块链的消息存储装置的结构,该装置可以执行基于区块链的消息存储的流程。该装置可以为上述区块链***200中的区块链节点210。
如图5所示,该装置具体包括:
获取单元501,用于获取消息发送方发送的存储请求信息,所述存储请求信息包括事件的消息包以及所述事件的第一主题名称;
处理单元502,用于根据所述第一主题名称和控制合约将所述事件的消息包存储在所述区块链的区块中;所述控制合约中包括主题名称与存储合约的地址的对应关系;
发送单元503,用于向所述消息发送方发送存储响应信息,所述存储响应信息包括所述事件的消息包存储的区块高度和事件ID。
可选的,所述处理单元502具体用于:
根据所述第一主题名称从控制合约中确定出与所述第一主题名称对应的存储合约的地址;
根据所述第一主题名称对应的存储合约的地址,确定出所述第一主题名称对应的存储合约,将所述事件的消息包存储在所述区块链的区块中。
可选的,所述处理单元502具体用于:
通过调用区块链的EventLog方法将所述事件的消息包存储在所述区块链的区块中。
可选的,所述处理单元502具体用于:
通过调用区块链的图的方法将所述事件的消息包存储在所述区块链的区块中。
可选的,所述处理单元502还用于:
在所述获取消息发送方发送的存储请求信息之前,控制所述获取单元501接收客户端发送的合约创建请求信息;所述合约创建请求信息包括所述第一主题名称;
根据所述第一主题名称,创建与所述第一主题名称相对应的存储合约,确定出与所述第一主题名称相对应的存储合约的地址;
将所述第一主题名称和所述与所述第一主题名称相对应的存储合约的地址存储在所述控制合约中;
控制所述发送单元503向所述客户端发送所述第一主题名称对应的存储合约的部署结果。
可选的,所述处理单元502还用于:
控制所述获取单元501获取消息接收方发送的消息获取请求信息,所述消息获取请求信息包括第二主题名称和获取消息的起始事件ID;
根据所述第二主题名称从所述控制合约中获取所述第二主题名称的存储合约的地址;
根据所述第二主题名称的存储合约的地址和所述起始事件ID,获取与所述第二主题名称相关的事件消息;
控制所述发送单元503将所述事件消息发送给所述消息接收方。
基于相同的技术构思,本发明实施例还提供了一种计算机设备,如图6所示,该计算机设备包括:
处理器601、存储器602、收发器603、总线接口604;其中,处理器601、存储器602与收发器603之间通过总线605连接;
所述处理器601,用于读取所述存储器602中的程序,执行上述基于区块链的消息存储方法;
处理器601可以是中央处理器(central processing unit,简称CPU),网络处理器(network processor,简称NP)或者CPU和NP的组合。还可以是硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,简称ASIC),可编程逻辑器件(programmable logic device,简称PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,简称CPLD),现场可编程逻辑门阵列(field-programmable gate array,简称FPGA),通用阵列逻辑(generic array logic,简称GAL)或其任意组合。
所述存储器602,用于存储一个或多个可执行程序,可以存储所述处理器601在执行操作时所使用的数据。
具体地,程序可以包括程序代码,程序代码包括计算机操作指令。存储器602可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,简称RAM);存储器602也可以包括非易失性存储器(non-volatile memory),例如快闪存储器(flash memory),硬盘(hard disk drive,简称HDD)或固态硬盘(solid-state drive,简称SSD);存储器602还可以包括上述种类的存储器的组合。
存储器602存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。
操作***:包括各种***程序,用于实现各种基础业务以及处理基于硬件的任务。
总线605可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
总线接口604可以为有线通信接入口,无线总线接口或其组合,其中,有线总线接口例如可以为以太网接口。以太网接口可以是光接口,电接口或其组合。无线总线接口可以为WLAN接口。
基于同一发明构思,本申请实施例还提供了一种非暂态计算机可读存储介质,计算机存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述基于区块链的消息存储方法。
基于同一发明构思,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述基于区块链的消息存储方法。
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程 和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (15)

  1. 一种基于区块链的消息存储方法,其特征在于,包括:
    获取消息发送方发送的存储请求信息,所述存储请求信息包括事件的消息包以及所述事件的第一主题名称;
    根据所述第一主题名称和控制合约将所述事件的消息包存储在所述区块链的区块中;所述控制合约中包括主题名称与存储合约的地址的对应关系;
    向所述消息发送方发送存储响应信息,所述存储响应信息包括所述事件的消息包存储的区块高度和事件ID。
  2. 如权利要求1所述的方法,其特征在于,所述根据所述第一主题名称将所述事件的消息包存储在所述区块链的区块中,包括:
    根据所述第一主题名称从控制合约中确定出与所述第一主题名称对应的存储合约的地址;
    根据所述第一主题名称对应的存储合约的地址,确定出所述第一主题名称对应的存储合约,将所述事件的消息包存储在所述区块链的区块中。
  3. 如权利要求2所述的方法,其特征在于,所述将所述事件的消息包存储在所述区块链的区块中,包括:
    通过调用区块链的EventLog方法将所述事件的消息包存储在所述区块链的区块中。
  4. 如权利要求2所述的方法,其特征在于,所述将所述事件的消息包存储在所述区块链的区块中,包括:
    通过调用区块链的图的方法将所述事件的消息包存储在所述区块链的区块中。
  5. 如权利要求1所述的方法,其特征在于,在所述获取消息发送方发送的存储请求信息之前,还包括:
    接收客户端发送的合约创建请求信息;所述合约创建请求信息包括所述第一主题名称;
    根据所述第一主题名称,创建与所述第一主题名称相对应的存储合约,确定出与所述第一主题名称相对应的存储合约的地址;
    将所述第一主题名称和所述与所述第一主题名称相对应的存储合约的地址存储在所述控制合约中;
    向所述客户端发送所述第一主题名称对应的存储合约的部署结果。
  6. 如权利要求1至5任一项所述的方法,其特征在于,还包括:
    获取消息接收方发送的消息获取请求信息,所述消息获取请求信息包括第二主题名称和获取消息的起始事件ID;
    根据所述第二主题名称从所述控制合约中获取所述第二主题名称的存储合约的地址;
    根据所述第二主题名称的存储合约的地址和所述起始事件ID,获取与所述第二主题名称相关的事件消息;
    将所述事件消息发送给所述消息接收方。
  7. 一种基于区块链的消息存储装置,其特征在于,包括:
    获取单元,用于获取消息发送方发送的存储请求信息,所述存储请求信息包括事件的消息包以及所述事件的第一主题名称;
    处理单元,用于根据所述第一主题名称和控制合约将所述事件的消息包存储在所述区块链的区块中;所述控制合约中包括主题名称与存储合约的地址的对应关系;
    发送单元,用于向所述消息发送方发送存储响应信息,所述存储响应信息包括所述事件的消息包存储的区块高度和事件ID。
  8. 如权利要求7所述的装置,其特征在于,所述处理单元具体用于:
    根据所述第一主题名称从控制合约中确定出与所述第一主题名称对应的存储合约的地址;
    根据所述第一主题名称对应的存储合约的地址,确定出所述第一主题名称对应的存储合约,将所述事件的消息包存储在所述区块链的区块中。
  9. 如权利要求8所述的装置,其特征在于,所述处理单元具体用于:
    通过调用区块链的EventLog方法将所述事件的消息包存储在所述区块链的区块中。
  10. 如权利要求8所述的装置,其特征在于,所述处理单元具体用于:
    通过调用区块链的图的方法将所述事件的消息包存储在所述区块链的区块中。
  11. 如权利要求7所述的装置,其特征在于,所述处理单元还用于:
    在所述获取消息发送方发送的存储请求信息之前,控制所述获取单元接收客户端发送的合约创建请求信息;所述合约创建请求信息包括所述第一主题名称;
    根据所述第一主题名称,创建与所述第一主题名称相对应的存储合约,确定出与所述第一主题名称相对应的存储合约的地址;
    将所述第一主题名称和所述与所述第一主题名称相对应的存储合约的地址存储在所述控制合约中;
    控制所述发送单元向所述客户端发送所述第一主题名称对应的存储合约的部署结果。
  12. 如权利要求7至11任一项所述的装置,其特征在于,所述处理单元还用于:
    控制所述获取单元获取消息接收方发送的消息获取请求信息,所述消息获取请求信息包括第二主题名称和获取消息的起始事件ID;
    根据所述第二主题名称从所述控制合约中获取所述第二主题名称的存储合约的地址;
    根据所述第二主题名称的存储合约的地址和所述起始事件ID,获取与所述第二主题名称相关的事件消息;
    控制所述发送单元将所述事件消息发送给所述消息接收方。
  13. 一种电子设备,其特征在于,包括处理器、存储器、收发器、总线接口,其中处理器、存储器与收发器之间通过总线连接;
    所述处理器,用于读取所述存储器中的程序,执行权利要求1~6任一所 述方法;
    所述存储器,用于存储一个或多个可执行程序,可以存储所述处理器在执行操作时所使用的数据。
  14. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1~6任一所述方法。
  15. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1~6任一所述方法。
PCT/CN2020/081870 2019-04-16 2020-03-27 一种基于区块链的消息存储方法及装置 WO2020211622A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910302006.7A CN110071968B (zh) 2019-04-16 2019-04-16 一种基于区块链的消息存储方法及装置
CN201910302006.7 2019-04-16

Publications (1)

Publication Number Publication Date
WO2020211622A1 true WO2020211622A1 (zh) 2020-10-22

Family

ID=67367746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/081870 WO2020211622A1 (zh) 2019-04-16 2020-03-27 一种基于区块链的消息存储方法及装置

Country Status (2)

Country Link
CN (1) CN110071968B (zh)
WO (1) WO2020211622A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071968B (zh) * 2019-04-16 2023-04-07 深圳前海微众银行股份有限公司 一种基于区块链的消息存储方法及装置
CN112434040B (zh) * 2020-11-30 2023-09-22 泰康保险集团股份有限公司 数据存储方法、数据获取方法及装置、***及设备
CN114679472A (zh) * 2022-03-01 2022-06-28 达闼机器人股份有限公司 通信***、方法、装置、存储介质及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315786A (zh) * 2017-06-12 2017-11-03 腾讯科技(深圳)有限公司 业务数据存储方法及装置
CN107368259A (zh) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 一种向区块链***中写入业务数据的方法和装置
CN108197233A (zh) * 2017-12-29 2018-06-22 飞狐信息技术(天津)有限公司 一种数据管理方法、中间件及数据管理***
US20190065593A1 (en) * 2017-08-28 2019-02-28 Forward Blockchain, LLC Distributed Ledger Registry System
CN110071968A (zh) * 2019-04-16 2019-07-30 深圳前海微众银行股份有限公司 一种基于区块链的消息存储方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10033702B2 (en) * 2015-08-05 2018-07-24 Intralinks, Inc. Systems and methods of secure data exchange
US10565570B2 (en) * 2016-09-27 2020-02-18 The Toronto-Dominion Bank Processing network architecture with companion database
CN106682984B (zh) * 2016-10-27 2019-09-10 深圳壹账通智能科技有限公司 基于区块链的交易事务处理方法及***
EP3367289A1 (en) * 2017-02-27 2018-08-29 Nokia Solutions and Networks Oy Internet connection setup between computing devices using blockchains
CN108134819A (zh) * 2017-12-06 2018-06-08 北京连琪科技有限公司 区块链运行状态收集及传送方法、装置及服务器
CN108234515B (zh) * 2018-01-25 2020-07-24 中国科学院合肥物质科学研究院 一种基于智能合约的自认证数字身份管理***及其方法
CN109034832A (zh) * 2018-06-13 2018-12-18 湖南搜云网络科技股份有限公司 区块链的信息处理方法及装置、信息处理节点及存储介质
CN109033406B (zh) * 2018-08-03 2020-06-05 上海点融信息科技有限责任公司 用于搜索区块链数据的方法、装置及存储介质
CN109347651B (zh) * 2018-08-27 2021-06-01 西安电子科技大学 基于msvl的区块链***建模和安全性验证的方法及***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368259A (zh) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 一种向区块链***中写入业务数据的方法和装置
CN107315786A (zh) * 2017-06-12 2017-11-03 腾讯科技(深圳)有限公司 业务数据存储方法及装置
US20190065593A1 (en) * 2017-08-28 2019-02-28 Forward Blockchain, LLC Distributed Ledger Registry System
CN108197233A (zh) * 2017-12-29 2018-06-22 飞狐信息技术(天津)有限公司 一种数据管理方法、中间件及数据管理***
CN110071968A (zh) * 2019-04-16 2019-07-30 深圳前海微众银行股份有限公司 一种基于区块链的消息存储方法及装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MOHANTA BHABENDU KUMAR; PANDA SOUMYASHREE S; JENA DEBASISH: ""An Overview of Smart Contract and Use cases in Blockchain Technology"", 2018 9TH INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND NETWORKING TECHNOLOGIES (ICCCNT), 12 July 2018 (2018-07-12), pages 1 - 4, XP033421928, DOI: 10.1109/ICCCNT.2018.8494045 *
WANG QIAN-GE , HE PU , NIE TIE-ZHENG , SHENG DE-RONG , YU GE: "Survey of Data Storage and Query Techniques in Blockchain Systems", COMPUTER SCIENCE, vol. 45, no. 12, 15 December 2018 (2018-12-15), pages 12 - 18, XP055743633, ISSN: 1002-137x, DOI: 10.11896/j.issn.1002-137x.2018.12.002 *

Also Published As

Publication number Publication date
CN110071968A (zh) 2019-07-30
CN110071968B (zh) 2023-04-07

Similar Documents

Publication Publication Date Title
WO2020211622A1 (zh) 一种基于区块链的消息存储方法及装置
US11416456B2 (en) Method, apparatus, and computer program product for data quality analysis
AU2016273909B2 (en) Data pipeline architecture for cloud processing of structured and unstructured data
WO2020216077A1 (zh) 一种区块链事件去重方法、装置、计算机设备及存储介质
JP2006190265A (ja) サーバー待ち行列システムおよび方法
WO2017088572A1 (zh) 一种处理数据的方法、装置及***
US20200159841A1 (en) Approach for a controllable trade-off between cost and availability of indexed data in a cloud log aggregation solution such as splunk or sumo
WO2020211629A1 (zh) 一种基于区块链的短链接消息监听方法及装置
US11416294B1 (en) Task processing for management of data center resources
US10783005B2 (en) Component logical threads quantity adjustment method and device
CN107688503A (zh) 一种基于ActiveMQ数据总线的消息处理方法、装置及电子设备
WO2015017482A1 (en) Messaging over http protocol for data exchange
CN114827171B (zh) 信息同步方法、装置、计算机设备和存储介质
CN113342746A (zh) 文件管理***、文件管理方法、电子设备和存储介质
WO2020177488A1 (zh) 一种区块链交易追溯的方法及装置
WO2020256831A1 (en) Smart contract information redirect to updated version of smart contract
US20120102168A1 (en) Communication And Coordination Between Web Services In A Cloud-Based Computing Environment
CN112969198A (zh) 数据传输方法、终端及存储介质
CN109684051B (zh) 一种混合式大数据任务异步提交的方法和***
CN112668998B (zh) 流程实现方法、装置、***、电子设备和可读存储介质
TWI530808B (zh) 即時提供信息查詢的資訊系統與方法
CN114666401B (zh) 设备信息处理方法、装置、计算机设备和存储介质
CN111917572B (zh) 交易请求的处理方法、装置、电子设备及可读存储介质
CN117081961A (zh) 堆积消息数量监测方法及其***、装置、服务器
CN117170844A (zh) 分布式锁的离线传播方法、装置、计算机设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20791502

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/02/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20791502

Country of ref document: EP

Kind code of ref document: A1