CN110071968A - A kind of message storage method and device based on block chain - Google Patents

A kind of message storage method and device based on block chain Download PDF

Info

Publication number
CN110071968A
CN110071968A CN201910302006.7A CN201910302006A CN110071968A CN 110071968 A CN110071968 A CN 110071968A CN 201910302006 A CN201910302006 A CN 201910302006A CN 110071968 A CN110071968 A CN 110071968A
Authority
CN
China
Prior art keywords
message
contract
event
storage
subject name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910302006.7A
Other languages
Chinese (zh)
Other versions
CN110071968B (en
Inventor
陈贯策
刘丽平
苏小康
张开翔
范瑞彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201910302006.7A priority Critical patent/CN110071968B/en
Publication of CN110071968A publication Critical patent/CN110071968A/en
Priority to PCT/CN2020/081870 priority patent/WO2020211622A1/en
Application granted granted Critical
Publication of CN110071968B publication Critical patent/CN110071968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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

Abstract

The invention discloses a kind of message storage methods and device based on block chain, this method includes the storage solicited message for obtaining message sender and sending, storing solicited message includes the message package of event and the first subject name of event, the message package of event is stored in the block of block chain according to the first subject name and control contract, control the corresponding relationship in contract including subject name and the address for storing contract, memory response information is sent to message sender, memory response information includes the block height and event id of the message package storage of event.The message of event is stored in the block of block chain by the control contract in the first subject name and block chain, prevents event message to be tampered, and may be easy to disaster tolerance and the dilatation of data.

Description

A kind of message storage method and device based on block chain
Technical field
The present embodiments relate to the fields financial technology (Fintech), more particularly to one kind to be based on block chain (Block Chain message storage method and device).
Background technique
With the development of computer technology, more and more technical applications are in financial field, and traditional financial industry is gradually To financial technology (Finteh) change, message memory technology is no exception, but due to finance, payment industry safety, in real time Property require, also to technology propose higher requirement.Traditional distributed message-oriented middleware is that data are stored in storing data In centralization database, due to being the centralization data storage of centralization, it is unfavorable for disaster tolerance and the dilatation of data.And when number It when according to losing, needing by searching for message real-time logs file, being searched from heap file log and losing message and re-type Into centralization financial information data library, the time-consuming that compares.In addition, traditional distributed message-oriented middleware is carrying out center to data Change in storing process and distort risk, for finance, payment system, there is serious consequence.
Summary of the invention
The embodiment of the present invention provides a kind of message storage method and device based on block chain, to realize that data storage is anti- It distorts, is easy to data disaster tolerance and dilatation.
A kind of message storage method based on block chain provided in an embodiment of the present invention, comprising:
Obtain message sender send storage solicited message, it is described storage solicited message include event message package and First subject name of the event;
The message package of the event is stored in the area of the block chain according to first subject name and control contract In block;It include the corresponding relationship of the address of subject name and storage contract in the control contract;
Memory response information is sent to the message sender, the memory response information includes the message package of the event The block height and event id of storage.
In above-mentioned technical proposal, the message of event is stored by the control contract in the first subject name and block chain In the block of block chain, event message is prevented to be tampered, and may be easy to disaster tolerance and the dilatation of data.
Optionally, the area that the message package of the event is stored in the block chain according to first subject name In block, comprising:
Determine that storage corresponding with first subject name is closed from control contract according to first subject name Address about;
According to the address of the corresponding storage contract of first subject name, determine that first subject name is corresponding Contract is stored, the message package of the event is stored in the block of the block chain.
Optionally, the message package by the event is stored in the block of the block chain, comprising:
The message package of the event is stored in the block of the block chain by the EventLog method of calling block chain In.
Optionally, the message package by the event is stored in the block of the block chain, comprising:
The message package of the event is stored in the block of the block chain by the method for calling the figure of block chain.
Optionally, before the storage solicited message that the acquisition message sender is sent, further includes:
Receive the contract request to create information that client is sent;The contract request to create information includes first theme Title;
According to first subject name, create storage contract corresponding with first subject name, determine and The corresponding address for storing contract of first subject name;
By the address storage of first subject name and the storage contract corresponding with first subject name In the control contract;
The deployment result of the corresponding storage contract of first subject name is sent to the client.
Optionally, further includes:
The message acquisition request information that message receiver is sent is obtained, the message acquisition request information includes second theme Title and the initiation event ID for obtaining message;
The storage contract of the second theme title is obtained from the control contract according to the second theme title Address;
According to the address of the storage contract of the second theme title and the initiation event ID, obtain and second master Autograph claims relevant event message;
The event message is sent to the message receiver.
Correspondingly, the embodiment of the invention also provides a kind of message storage devices based on block chain, comprising:
Acquiring unit, for obtaining the storage solicited message of message sender transmission, the storage solicited message includes thing First subject name of the message package of part and the event;
Processing unit, for the message package of the event to be stored in institute according to first subject name and control contract In the block for stating block chain;It include the corresponding relationship of the address of subject name and storage contract in the control contract;
Transmission unit, for sending memory response information to the message sender, the memory response information includes institute State the block height and event id of the message package storage of event.
Optionally, the processing unit is specifically used for:
Determine that storage corresponding with first subject name is closed from control contract according to first subject name Address about;
According to the address of the corresponding storage contract of first subject name, determine that first subject name is corresponding Contract is stored, the message package of the event is stored in the block of the block chain.
Optionally, the processing unit is specifically used for:
The message package of the event is stored in the block of the block chain by the EventLog method of calling block chain In.
Optionally, the processing unit is specifically used for:
The message package of the event is stored in the block of the block chain by the method for calling the figure of block chain.
Optionally, the processing unit is also used to:
Before the storage solicited message that the acquisition message sender is sent, controls the acquiring unit and receive client The contract request to create information of transmission;The contract request to create information includes first subject name;
According to first subject name, create storage contract corresponding with first subject name, determine and The corresponding address for storing contract of first subject name;
By the address storage of first subject name and the storage contract corresponding with first subject name In the control contract;
Control the deployment that the transmission unit sends the corresponding storage contract of first subject name to the client As a result.
Optionally, the processing unit is also used to:
It controls the acquiring unit and obtains the message acquisition request information that message receiver is sent, the message acquisition request Information includes second theme title and the initiation event ID for obtaining message;
The storage contract of the second theme title is obtained from the control contract according to the second theme title Address;
According to the address of the storage contract of the second theme title and the initiation event ID, obtain and second master Autograph claims relevant event message;
It controls the transmission unit and the event message is sent to the message receiver.
Correspondingly, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned be based on according to the program of acquisition for calling the program instruction stored in the memory The message storage method of block chain.
Correspondingly, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium, including computer Readable instruction, when computer is read and executes the computer-readable instruction, so that computer execution is above-mentioned to be based on block chain Message storage method.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of schematic diagram of system architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the message storage method based on block chain provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of contract creation provided in an embodiment of the present invention;
Fig. 4 is the flow diagram that a kind of message provided in an embodiment of the present invention obtains;
Fig. 5 is a kind of structural schematic diagram of the message storage devices based on block chain provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 illustratively shows a kind of system architecture that the embodiment of the present invention is applicable in, which may include Multiple senders 100, block catenary system 200 and multiple recipients 300.
Wherein, the data of generation are sent to block linkwork for communicating with block catenary system 200 by sender 100 System 200 is stored.
Block catenary system 200 is communicated, for depositing by multiple block chain nodes 210 with sender 100, recipient 300 The data that sender 100 sends are stored up, and after the data inquiry request for receiving recipient 300, are fed back accordingly to recipient 300 Data.Multiple block chain node 210 can be connected with each other communication, include multiple blocks, block in each block chain node For storing the data of the transmission of sender 100.
Recipient 300 communicates with block catenary system 200, for inquiring corresponding data from the block catenary system 200.
It should be noted that above-mentioned structure shown in FIG. 1 is only a kind of example, it is not limited in the embodiment of the present invention.
Based on foregoing description, Fig. 2 illustratively shows a kind of message based on block chain provided in an embodiment of the present invention The process of storage method, the process can be executed by the message storage devices based on block chain, which can be block linkwork Block chain node in system 200.It will describe in such a way that message sender is interacted with block chain node based on block below The process of the message storage of chain.
As shown in Fig. 2, the process specifically includes:
Step 201, message sender sends storage solicited message to block chain node.
It may include the message package of event in the storage solicited message that the message sender is sent in embodiments of the present invention And the first subject name of event.The message package of the event is message package to be stored.First subject name can be should The type of event, such as the type definitions such as can will transfer accounts, and consume, refund are the theme title.First subject name be in order to Block chain node is allowed to know which position is the message package of event be stored in.
It should be noted that before the storage solicited message for receiving message sender transmission, it is also necessary to creation and master Autograph claims corresponding storage contract, process that specifically can be as shown in Figure 3, comprising:
Step 301, client sends contract request to create information to block chain node.
In embodiments of the present invention, which can be message sender or data receiver, arbitrary client It can request creation storage contract.It include above-mentioned first subject name in the contract request to create message, such as first master Autograph can be referred to as transfer accounts, or others event subject name.
Step 302, block chain node creates corresponding with first subject name according to first subject name Contract is stored, determines the address of storage contract corresponding with first subject name.
Block chain node is after the first subject name for receiving client transmission, by creation and first subject name Corresponding storage contract, so as to obtain the address of storage contract corresponding with first subject name.Block chain node It can be by the address lookup to storage contract corresponding with first subject name, to will be corresponded to by the storage contract The message package of event be stored in block chain.
Step 303, block chain node is by first subject name and described corresponding with first subject name The address of storage contract is stored in the control contract.
Block chain node is after the address for determining storage contract corresponding with the first subject name, so that it may by this Address is stored in control contract, is included subject name and the corresponding relationship for storing contract in the control contract, can specifically be seen Content shown in table 1.
Table 1
Subject name Store the address of contract
It transfers accounts Store the address a of contract
Consumption Store the address b of contract
It refunds Store the address c of contract
…… ……
Block chain node can quickly inquire storage contract corresponding with the first subject name by the control contract Address.
Step 304, block chain node sends deployment result to client.
Block chain node is completed in deployment after storage contract corresponding with the first subject name, so that it may to client The deployment of the corresponding storage contract of the first subject name is fed back as a result, informing the deployment scenario of client storage contract.
Step 202, block chain node deposits the message package of the event according to first subject name and control contract Storage is in the block of the block chain.
Block chain node is after the first subject name for receiving message sender transmission, so that it may according to first master Autograph claims the address that storage contract corresponding with first subject name is determined from control contract, then, according to the address It determines the corresponding storage contract of first subject name, the message package of event is stored in the block of block catenary system.It should Storage contract in may include TopicName (subject name), EventID (event id), BlockNumber (block height), The information such as EventContent (event content).
For example, the first subject name is to transfer accounts, then by controlling the content of contract shown in table 1, it can find and transfer accounts The address a of corresponding storage contract, then determines the corresponding storage contract of transferring accounts by address a.Block chain node is logical It crosses the storage contract to store the message package of event within a block, can specifically be made by the distributed common recognition algorithm of block chain Each block chain node on block chain is synchronized to identical event message, and prevents some node by block chain characteristic Event message is tampered.
It should be noted that the figure (Map) of calling block chain can be passed through when the message package to event stores It is a kind of data store organisation that the message package of event is stored in the figure in the block of block chain by method, it may also be said to be on block Data store organisation.It preferably, can be by calling EventLog (event log) method of block chain by the message of event Packet is stored in the block of block chain.Wherein, realize that message sending performance is lower using storage mode, with data volume increase property It can be poorer.Using eventLog mode as data volume increase nonexistence can poorer problem.The EventLog is in block chain The message of event can be stored in block chain EventLog by a kind of data store organisation of block in the form of log In block.
After the message package of event is stored, can also obtain the event message package storage block height and The information such as event id.
Step 203, block chain node sends memory response information to message sender.
Block chain node is after determination is stored the message package of event, so that it may send storage to message sender and ring Information is answered, which may include the information such as block height and the event id of the message package storage of above-mentioned event.
It should be noted that the embodiment of the present invention can also realize the thing for inquiring corresponding subject name from block chain node The process of part, process as shown in Figure 4, specifically includes:
Step 401, block chain node in message sink direction sends message acquisition request information.
It may include second theme title and the initiation event ID for obtaining message in the message acquisition request information.Here Initiation event ID can be original block ID, if disconnecting during transmission message, initiation event ID can also be at this time To disconnect block ID when transmission, that is to say, that initiation event ID is the initial position for obtaining message.Here second theme name Title is that message receiver oneself determines, needs to subscribe to the message of which theme, so that it may set the second theme title, such as It transfers accounts, then shows that message receiver needs to obtain and related event message of transferring accounts.
Step 402, it is main to obtain described second according to the second theme title from the control contract for block chain node The address for the storage contract that autograph claims.
Block chain node gets the second theme title from control contract shown in table 1 according to second theme title Storage contract address.
Step 403, address and the initiation event of the block chain node according to the storage contract of the second theme title ID obtains event message relevant to the second theme title.
Block chain node is after obtaining the storage contract address of second theme title, so that it may determine the second theme The storage contract of title is related to the second theme title in poll block by the storage contract and initiation event ID Event message.
Step 404, block chain node sends event message to message receiver.
Block chain node is got in above-mentioned steps 403 after event message, so that it may be sent to the event message Message receiver.To complete the inquiry of event message.
The embodiment of the present invention shows the storage solicited message that acquisition message sender is sent, and storage solicited message includes thing The message package of part and the first subject name of event store the message package of event according to the first subject name and control contract In the block of block chain, the corresponding relationship in contract including subject name and the address for storing contract is controlled, is sent to message Side sends memory response information, and memory response information includes the block height and event id of the message package storage of event.Pass through The message of event is stored in the block of block chain by the control contract in one subject name and block chain, prevents event message It is tampered, and may be easy to disaster tolerance and the dilatation of data.
Based on the same technical idea, Fig. 5 illustratively shows provided in an embodiment of the present invention a kind of based on block chain Message storage devices structure, the device can execute the message based on block chain storage process.The device can be upper State the block chain node 210 in block catenary system 200.
As shown in figure 5, the device specifically includes:
Acquiring unit 501, for obtaining the storage solicited message of message sender transmission, the storage solicited message includes First subject name of the message package of event and the event;
Processing unit 502, for being stored the message package of the event according to first subject name and control contract In the block of the block chain;It include the corresponding relationship of the address of subject name and storage contract in the control contract;
Transmission unit 503, for sending memory response information to the message sender, the memory response information includes The block height and event id of the message package storage of the event.
Optionally, the processing unit 502 is specifically used for:
Determine that storage corresponding with first subject name is closed from control contract according to first subject name Address about;
According to the address of the corresponding storage contract of first subject name, determine that first subject name is corresponding Contract is stored, the message package of the event is stored in the block of the block chain.
Optionally, the processing unit 502 is specifically used for:
The message package of the event is stored in the block of the block chain by the EventLog method of calling block chain In.
Optionally, the processing unit 502 is specifically used for:
The message package of the event is stored in the block of the block chain by the method for calling the figure of block chain.
Optionally, the processing unit 502 is also used to:
Before the storage solicited message that the acquisition message sender is sent, controls the acquiring unit 501 and receive visitor The contract request to create information that family end is sent;The contract request to create information includes first subject name;
According to first subject name, create storage contract corresponding with first subject name, determine and The corresponding address for storing contract of first subject name;
By the address storage of first subject name and the storage contract corresponding with first subject name In the control contract;
Control the portion that the transmission unit 503 sends the corresponding storage contract of first subject name to the client Affix one's name to result.
Optionally, the processing unit 502 is also used to:
It controls the acquiring unit 501 and obtains the message acquisition request information that message receiver is sent, the message obtains Solicited message includes second theme title and the initiation event ID for obtaining message;
The storage contract of the second theme title is obtained from the control contract according to the second theme title Address;
According to the address of the storage contract of the second theme title and the initiation event ID, obtain and second master Autograph claims relevant event message;
It controls the transmission unit 503 and the event message is sent to the message receiver.
Based on the same technical idea, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned be based on according to the program of acquisition for calling the program instruction stored in the memory The message storage method of block chain.
Based on the same technical idea, the embodiment of the invention also provides a kind of computer-readable non-volatile memories to be situated between Matter, including computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes State the message storage method based on block chain.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (14)

1. a kind of message storage method based on block chain characterized by comprising
Obtain the storage solicited message that message sender is sent, the storage solicited message includes the message package of event and described First subject name of event;
The message package of the event is stored in the block of the block chain according to first subject name and control contract; It include the corresponding relationship of the address of subject name and storage contract in the control contract;
Memory response information is sent to the message sender, the memory response information includes the message package storage of the event Block height and event id.
2. the method as described in claim 1, which is characterized in that described according to the first subject name disappearing the event Breath packet is stored in the block of the block chain, comprising:
Storage contract corresponding with first subject name is determined from control contract according to first subject name Address;
According to the address of the corresponding storage contract of first subject name, the corresponding storage of first subject name is determined The message package of the event is stored in the block of the block chain by contract.
3. method according to claim 2, which is characterized in that the message package by the event is stored in the block chain Block in, comprising:
By calling the EventLog method of block chain that the message package of the event is stored in the block of the block chain.
4. method according to claim 2, which is characterized in that the message package by the event is stored in the block chain Block in, comprising:
The message package of the event is stored in the block of the block chain by the method for calling the figure of block chain.
5. the method as described in claim 1, which is characterized in that in the storage solicited message that the acquisition message sender is sent Before, further includes:
Receive the contract request to create information that client is sent;The contract request to create information includes first subject Claim;
According to first subject name, create storage contract corresponding with first subject name, determine with it is described The address of the corresponding storage contract of first subject name;
The address of first subject name and the storage contract corresponding with first subject name is stored in institute It states in control contract;
The deployment result of the corresponding storage contract of first subject name is sent to the client.
6. such as method described in any one of claim 1 to 5, which is characterized in that further include:
The message acquisition request information that message receiver is sent is obtained, the message acquisition request information includes second theme title With the initiation event ID for obtaining message;
The address of the storage contract of the second theme title is obtained from the control contract according to the second theme title;
According to the address of the storage contract of the second theme title and the initiation event ID, obtain and the second theme name Claim relevant event message;
The event message is sent to the message receiver.
7. a kind of message storage devices based on block chain characterized by comprising
Acquiring unit, for obtaining the storage solicited message of message sender transmission, the storage solicited message includes event First subject name of message package and the event;
Processing unit, for the message package of the event to be stored in the area according to first subject name and control contract In the block of block chain;It include the corresponding relationship of the address of subject name and storage contract in the control contract;
Transmission unit, for sending memory response information to the message sender, the memory response information includes the thing The block height and event id of the message package storage of part.
8. device as claimed in claim 7, which is characterized in that the processing unit is specifically used for:
Storage contract corresponding with first subject name is determined from control contract according to first subject name Address;
According to the address of the corresponding storage contract of first subject name, the corresponding storage of first subject name is determined The message package of the event is stored in the block of the block chain by contract.
9. device as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
By calling the EventLog method of block chain that the message package of the event is stored in the block of the block chain.
10. device as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
The message package of the event is stored in the block of the block chain by the method for calling the figure of block chain.
11. device as claimed in claim 7, which is characterized in that the processing unit is also used to:
Before the storage solicited message that the acquisition message sender is sent, controls the acquiring unit and receive client transmission Contract request to create information;The contract request to create information includes first subject name;
According to first subject name, create storage contract corresponding with first subject name, determine with it is described The address of the corresponding storage contract of first subject name;
The address of first subject name and the storage contract corresponding with first subject name is stored in institute It states in control contract;
Control the deployment result that the transmission unit sends the corresponding storage contract of first subject name to the client.
12. such as the described in any item devices of claim 7 to 11, which is characterized in that the processing unit is also used to:
It controls the acquiring unit and obtains the message acquisition request information that message receiver is sent, the message acquisition request information Initiation event ID including second theme title and acquisition message;
The address of the storage contract of the second theme title is obtained from the control contract according to the second theme title;
According to the address of the storage contract of the second theme title and the initiation event ID, obtain and the second theme name Claim relevant event message;
It controls the transmission unit and the event message is sent to the message receiver.
13. a kind of calculating equipment characterized by comprising
Memory, for storing program instruction;
Processor requires 1 to 6 according to the program execution benefit of acquisition for calling the program instruction stored in the memory Described in any item methods.
14. a kind of computer-readable non-volatile memory medium, which is characterized in that including computer-readable instruction, work as computer When reading and executing the computer-readable instruction, so that computer executes such as method as claimed in any one of claims 1 to 6.
CN201910302006.7A 2019-04-16 2019-04-16 Block chain based message storage method and device Active CN110071968B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910302006.7A CN110071968B (en) 2019-04-16 2019-04-16 Block chain based message storage method and device
PCT/CN2020/081870 WO2020211622A1 (en) 2019-04-16 2020-03-27 Blockchain-based message storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910302006.7A CN110071968B (en) 2019-04-16 2019-04-16 Block chain based message storage method and device

Publications (2)

Publication Number Publication Date
CN110071968A true CN110071968A (en) 2019-07-30
CN110071968B CN110071968B (en) 2023-04-07

Family

ID=67367746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910302006.7A Active CN110071968B (en) 2019-04-16 2019-04-16 Block chain based message storage method and device

Country Status (2)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211622A1 (en) * 2019-04-16 2020-10-22 深圳前海微众银行股份有限公司 Blockchain-based message storage method and device
CN112434040A (en) * 2020-11-30 2021-03-02 泰康保险集团股份有限公司 Data storage method, data acquisition method, device, system and equipment
CN114679472A (en) * 2022-03-01 2022-06-28 达闼机器人股份有限公司 Communication system, method, apparatus, storage medium, and electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170041296A1 (en) * 2015-08-05 2017-02-09 Intralinks, Inc. Systems and methods of secure data exchange
CN106682984A (en) * 2016-10-27 2017-05-17 上海亿账通区块链科技有限公司 Block chain-based transaction business processing method and system
CN107315786A (en) * 2017-06-12 2017-11-03 腾讯科技(深圳)有限公司 Business datum storage method and device
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
US20180089641A1 (en) * 2016-09-27 2018-03-29 The Toronto-Dominion Bank Processing network architecture with companion database
CN108134819A (en) * 2017-12-06 2018-06-08 北京连琪科技有限公司 Block chain operating status is collected and transfer approach, device and server
CN108234515A (en) * 2018-01-25 2018-06-29 中国科学院合肥物质科学研究院 A kind of Self-certified digital identity management system and its method based on intelligent contract
EP3367289A1 (en) * 2017-02-27 2018-08-29 Nokia Solutions and Networks Oy Internet connection setup between computing devices using blockchains
CN109033406A (en) * 2018-08-03 2018-12-18 上海点融信息科技有限责任公司 For searching for the method, apparatus and storage medium of block chain data
CN109034832A (en) * 2018-06-13 2018-12-18 湖南搜云网络科技股份有限公司 The information processing method and device of block chain, information processing node and storage medium
CN109347651A (en) * 2018-08-27 2019-02-15 西安电子科技大学 The method and system of block catenary system modeling and security verification based on MSVL

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190065593A1 (en) * 2017-08-28 2019-02-28 Forward Blockchain, LLC Distributed Ledger Registry System
CN108197233A (en) * 2017-12-29 2018-06-22 飞狐信息技术(天津)有限公司 A kind of data managing method, middleware and data management system
CN110071968B (en) * 2019-04-16 2023-04-07 深圳前海微众银行股份有限公司 Block chain based message storage method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170041296A1 (en) * 2015-08-05 2017-02-09 Intralinks, Inc. Systems and methods of secure data exchange
US20180089641A1 (en) * 2016-09-27 2018-03-29 The Toronto-Dominion Bank Processing network architecture with companion database
CN106682984A (en) * 2016-10-27 2017-05-17 上海亿账通区块链科技有限公司 Block chain-based transaction business processing method and system
EP3367289A1 (en) * 2017-02-27 2018-08-29 Nokia Solutions and Networks Oy Internet connection setup between computing devices using blockchains
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN107315786A (en) * 2017-06-12 2017-11-03 腾讯科技(深圳)有限公司 Business datum storage method and device
CN108134819A (en) * 2017-12-06 2018-06-08 北京连琪科技有限公司 Block chain operating status is collected and transfer approach, device and server
CN108234515A (en) * 2018-01-25 2018-06-29 中国科学院合肥物质科学研究院 A kind of Self-certified digital identity management system and its method based on intelligent contract
CN109034832A (en) * 2018-06-13 2018-12-18 湖南搜云网络科技股份有限公司 The information processing method and device of block chain, information processing node and storage medium
CN109033406A (en) * 2018-08-03 2018-12-18 上海点融信息科技有限责任公司 For searching for the method, apparatus and storage medium of block chain data
CN109347651A (en) * 2018-08-27 2019-02-15 西安电子科技大学 The method and system of block catenary system modeling and security verification based on MSVL

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王成: ""基于区块链的保险行业信息系统架构及关键技术研究"", 《中国优秀博士学位论文全文数据库》, 15 December 2018 (2018-12-15) *
袁勇: ""区块链技术: 从数据智能到知识自动化"", 《自动化学报》, 1 December 2017 (2017-12-01) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211622A1 (en) * 2019-04-16 2020-10-22 深圳前海微众银行股份有限公司 Blockchain-based message storage method and device
CN112434040A (en) * 2020-11-30 2021-03-02 泰康保险集团股份有限公司 Data storage method, data acquisition method, device, system and equipment
CN112434040B (en) * 2020-11-30 2023-09-22 泰康保险集团股份有限公司 Data storage method, data acquisition method, device, system and equipment
CN114679472A (en) * 2022-03-01 2022-06-28 达闼机器人股份有限公司 Communication system, method, apparatus, storage medium, and electronic device

Also Published As

Publication number Publication date
CN110071968B (en) 2023-04-07
WO2020211622A1 (en) 2020-10-22

Similar Documents

Publication Publication Date Title
US11356282B2 (en) Sending cross-chain authenticatable messages
CN101009516B (en) A method, system and device for data synchronization
CN102469033B (en) Message subscription system and message sending method
CN104537076B (en) A kind of file read/write method and device
CN110071968A (en) A kind of message storage method and device based on block chain
CN107079059A (en) Block chain storage method and device and node equipment
CN108985742B (en) Transaction processing method and device and block chain system
CN110992038B (en) Transaction processing method, device and equipment
CN106155775B (en) Message processing method, device and system
TW202008763A (en) Data processing method and apparatus, and client
CN103414762A (en) Cloud backup method and cloud backup device
CN112579319A (en) Service calling method and device based on LRU Cache optimization
CN112866421A (en) Intelligent contract operation method and device based on distributed cache and NSQ
CN111460038A (en) Quasi-real-time data synchronization method and device
CN107870982A (en) Data processing method, system and computer-readable recording medium
US20090271466A1 (en) Data logging with network interfacing feature
CN109872139B (en) Transaction replacement method, apparatus and storage medium
CN112070504B (en) Content inspection method and device for blockchain transaction
CN107545385B (en) Package processing method, logistics processing server, logistics node server and terminal
CN115099972A (en) Transaction data processing method, device and equipment based on event-driven architecture
TWI714017B (en) Data processing method, device and server
US8539095B2 (en) Reliable message transfer
CN105847170A (en) Method and equipment for performing message routing
CN110019296A (en) Generation method, device, storage medium and the processor of data base querying script
CN108737522A (en) A kind of processing method of message, device and system

Legal Events

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