CN110489421A - Date storage method, device, computer readable storage medium and computer equipment - Google Patents
Date storage method, device, computer readable storage medium and computer equipment Download PDFInfo
- Publication number
- CN110489421A CN110489421A CN201910777476.9A CN201910777476A CN110489421A CN 110489421 A CN110489421 A CN 110489421A CN 201910777476 A CN201910777476 A CN 201910777476A CN 110489421 A CN110489421 A CN 110489421A
- Authority
- CN
- China
- Prior art keywords
- key
- stored
- intelligent contract
- storage
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000004590 computer program Methods 0.000 claims description 16
- 238000013500 data storage Methods 0.000 claims description 16
- 238000010586 diagram Methods 0.000 description 19
- 230000006399 behavior Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 238000000151 deposition Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 2
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013481 data capture Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2246—Trees, e.g. B+trees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
This application involves a kind of date storage method, device, storage medium and computer equipments, store request by the key-value pair for calling the first intelligent contract to send this method comprises: receiving;It is called according to key-value pair storage request by the first intelligent contract and acts on behalf of intelligent contract;It acts on behalf of intelligent contract and calls precompile intelligence contract, precompile intelligence contract obtains the first intelligent contract address and key-value pair to be stored, splice the first intelligent contract address and key to be stored to obtain target key to be stored, target key-value pair to be stored is determined to storage value according to target key to be stored is corresponding with key to be stored, by target key-value pair storage to be stored into external server database;Precompile intelligence contract calculates the target cryptographic Hash of target key-value pair to be stored, and target cryptographic Hash is returned and acts on behalf of intelligent contract;It acts on behalf of intelligent contract and cryptographic Hash is updated storage according to target cryptographic Hash, it will be in storage cryptographic Hash write-in block.Block chain node server memory capacity can be made to increase.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of date storage method, device, computer-readable
Storage medium and computer equipment.
Background technique
With the development of block chain technology, intelligent contract is more and more used in block chain, and intelligent contract is one
Kind is intended to propagate, verify or execute in a manner of information-based the computer protocol of contract.Currently, intelligent contract is usually by contract number
According to being stored in the node server local hard drive where virtual machine.When the mass data of intelligent contract needs to store, due to
The memory capacity of node server local hard drive where virtual machine is limited, there are problems that mass data can not store.
Summary of the invention
Based on this, it is necessary to for the technical problem that the memory capacity of node server local hard drive is limited, provide one kind
Date storage method, device, computer readable storage medium and computer equipment.
A kind of date storage method, comprising:
Key-value pair storage request is received, key-value pair storage request is by calling the first intelligent contract to send;
It is called according to key-value pair storage request by the first intelligent contract and acts on behalf of intelligent contract;
Precompile intelligence contract is called by acting on behalf of intelligent contract, precompile intelligence contract is with obtaining the first intelligent contract
Location and key-value pair to be stored;
First intelligent contract address is spliced to obtain mesh by precompile intelligence contract with the key to be stored wait store in key-value pair
Key to be stored is marked, target key-value pair to be stored is determined to storage value according to target key to be stored is corresponding with key to be stored, by mesh
Key-value pair storage to be stored is marked into external server database;
Precompile intelligence contract calculates the target cryptographic Hash of target key-value pair to be stored, and target cryptographic Hash is returned and is acted on behalf of
Intelligent contract;
It acts on behalf of intelligent contract and cryptographic Hash is updated storage according to target cryptographic Hash, it will be in storage cryptographic Hash write-in block.
A kind of data storage device, comprising:
Request receiving module, for receiving key-value pair storage request, key-value pair storage request is by calling the first intelligence
What contract was sent;
Contract calling module acts on behalf of intelligent contract for calling according to key-value pair storage request by the first intelligent contract;
Data obtaining module, for calling precompile intelligence contract by acting on behalf of intelligent contract, precompile intelligence contract is obtained
Take the first intelligent contract address and key-value pair to be stored;
Outer memory module, for precompile intelligence contract by the first intelligent contract address and wait store in key-value pair
Key to be stored splices to obtain target key to be stored, and determines mesh to storage value according to target key to be stored is corresponding with key to be stored
Key-value pair to be stored is marked, by target key-value pair storage to be stored into external server database;
Target cryptographic Hash computing module calculates the target Hash of target key-value pair to be stored for precompile intelligence contract
Target cryptographic Hash is returned and acts on behalf of intelligent contract by value;
Cryptographic Hash update module is stored, cryptographic Hash is updated storage according to target cryptographic Hash for acting on behalf of intelligent contract, will be deposited
It stores up in cryptographic Hash write-in block.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage
Computer program, the processor perform the steps of when executing program
Key-value pair storage request is received, key-value pair storage request is by calling the first intelligent contract to send;
It is called according to key-value pair storage request by the first intelligent contract and acts on behalf of intelligent contract;
Precompile intelligence contract is called by acting on behalf of intelligent contract, precompile intelligence contract is with obtaining the first intelligent contract
Location and key-value pair to be stored;
First intelligent contract address is spliced to obtain mesh by precompile intelligence contract with the key to be stored wait store in key-value pair
Key to be stored is marked, target key-value pair to be stored is determined to storage value according to target key to be stored is corresponding with key to be stored, by mesh
Key-value pair storage to be stored is marked into external server database;
Precompile intelligence contract calculates the target cryptographic Hash of target key-value pair to be stored, and target cryptographic Hash is returned and is acted on behalf of
Intelligent contract;
It acts on behalf of intelligent contract and cryptographic Hash is updated storage according to target cryptographic Hash, it will be in storage cryptographic Hash write-in block.
A kind of computer readable storage medium, is stored thereon with computer program, and computer program is executed by processor
When, so that processor executes following steps:
Key-value pair storage request is received, key-value pair storage request is by calling the first intelligent contract to send;
It is called according to key-value pair storage request by the first intelligent contract and acts on behalf of intelligent contract;
Precompile intelligence contract is called by acting on behalf of intelligent contract, precompile intelligence contract is with obtaining the first intelligent contract
Location and key-value pair to be stored;
First intelligent contract address is spliced to obtain mesh by precompile intelligence contract with the key to be stored wait store in key-value pair
Key to be stored is marked, target key-value pair to be stored is determined to storage value according to target key to be stored is corresponding with key to be stored, by mesh
Key-value pair storage to be stored is marked into external server database;
Precompile intelligence contract calculates the target cryptographic Hash of target key-value pair to be stored, and target cryptographic Hash is returned and is acted on behalf of
Intelligent contract;
It acts on behalf of intelligent contract and cryptographic Hash is updated storage according to target cryptographic Hash, it will be in storage cryptographic Hash write-in block.
Above-mentioned date storage method, device, computer readable storage medium and computer equipment are closed by the first intelligence
It about calls and acts on behalf of intelligent contract, act on behalf of intelligent contract and call precompile contract, it will be wait store in key-value pair by precompile contract
Key to be stored and the first intelligent contract address splice to obtain target key store, then by target key-value pair storage to be stored
Into external server database, the memory capacity of block chain node server is extended, capacity is locally stored to break through
Limitation, so that intelligent contract can be used also to realize in the block chain business for needing largely to store.Then it is waited for by calculating target
The target cryptographic Hash for storing key-value pair updates storage cryptographic Hash according to target cryptographic Hash using intelligent contract is acted on behalf of, storage is breathed out
In uncommon value write-in block, guarantees that the key-value pair stored in external server also can be indirectly saved in block chain, ensure that area
The consistency of block chain node data.
Detailed description of the invention
Fig. 1 is the applied environment figure of date storage method in one embodiment;
Fig. 2 is the flow diagram of date storage method in one embodiment;
Fig. 3 is the schematic diagram of traditional contract data storage in one embodiment;
Fig. 4 is the schematic diagram of the application contract data storage in one embodiment;
Fig. 5 is the flow diagram that intelligent contract is disposed in one embodiment;
Fig. 6 is the flow diagram that key-value pair is serialized in one embodiment;
Fig. 7 is the flow diagram that cryptographic Hash is updated storage in one embodiment;
Fig. 8 is the flow diagram that root cryptographic Hash is calculated in one embodiment;
Fig. 9 is the flow diagram that key-value pair is obtained in one embodiment;
Figure 10 is the flow diagram of date storage method in a specific embodiment;
Figure 11 is the schematic diagram of correspondent contract in Figure 10 specific embodiment;
Figure 12 is the schematic diagram of precompile contract in Figure 10 specific embodiment;
Figure 13 is the structural block diagram of data storage device in one embodiment;
Figure 14 is the structural block diagram of computer equipment in one embodiment.
Specific embodiment
In order to which the objects, technical solutions and advantages of the application are more clearly understood, with reference to the accompanying drawings and embodiments,
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain this Shen
Please, it is not used to limit the application.
Fig. 1 is the applied environment figure of date storage method in one embodiment.Referring to Fig.1, the date storage method application
In data-storage system.The data-storage system includes the node server 120 in terminal 110 and block chain.102 He of terminal
Node server 104 passes through network connection.Terminal 102 specifically can be terminal console or mobile terminal, and mobile terminal specifically may be used
With at least one of mobile phone, tablet computer, laptop etc..Node server 104 can with independent server or
It is the server cluster of multiple server compositions to realize.
Specifically, node server 104 receives terminal 102 and sends key-value pair storage request, and key-value pair storage request is logical
It crosses and calls the first intelligent contract transmission.Node server 104 is called according to key-value pair storage request by the first intelligent contract
Act on behalf of intelligent contract.Node server 104 calls precompile intelligence contract, precompile intelligence contract by acting on behalf of intelligent contract
Obtain the first intelligent contract address and key-value pair to be stored.Precompile intelligence contract by the first intelligent contract address with wait store
Key to be stored in key-value pair splices to obtain target key to be stored, corresponding with key to be stored wait deposit according to target key to be stored
Stored Value determines target key-value pair to be stored, by target key-value pair storage to be stored into external server database.Precompile intelligence
Energy contract calculates the target cryptographic Hash of target key-value pair to be stored, and target cryptographic Hash is returned and acts on behalf of intelligent contract.Agency's intelligence
Contract updates storage cryptographic Hash according to target cryptographic Hash, will be in storage cryptographic Hash write-in block.
As shown in Fig. 2, in one embodiment, providing a kind of date storage method.The present embodiment is mainly in this way
It is illustrated applied to the node server 104 in above-mentioned Fig. 1.Referring to Fig. 2, which specifically includes as follows
Step:
S202, receives key-value pair storage request, and key-value pair storage request is by calling the first intelligent contract to send.
Wherein, key-value pair storage is the simplest organizational form of database, each key in key-value pair (key-value)
(key) corresponding result will be exported when pressing corresponding key by corresponding to corresponding value (value) below.Such as " name
=Zhang San ", wherein the key mapping " name " in the key-value pair is worth for " Zhang San ".First intelligent contract is that user is customized outer
Portion stores intelligent contract, is common intelligent contract, and common intelligence contract cannot directly access the data of external storage.For example, the
One intelligent contract is the intelligent contract of user's registration, and the intelligent contract data to be stored of the user's registration can be user's note
The relevant information of volume, including user's registration account, other registration informations such as registration name, registration gender.The phase registered customers as
The form that information is converted to key-value pair is closed, key-value pair storage request is sent.
Specifically, user terminal calls the first intelligent contract to send and saves asking for first intelligent contract data, that is, key-value pair
It asks, block chain node server receives user terminal by calling the first intelligent contract to send key-value pair storage request.
S204 is called by the first intelligent contract according to key-value pair storage request and is acted on behalf of intelligent contract.
Wherein, the correspondent contract that intelligent contract is precompile contract is acted on behalf of, can be called and be prelisted by the intelligent contract of agency
Translate intelligent contract.First intelligent contract is inherited from agency's intelligence contract.
Specifically, block chain node server calls agency's intelligence by the first intelligent contract according to key-value pair storage request
The method of storage key-value pair in contract.
S206 calls precompile intelligence contract by acting on behalf of intelligent contract, and precompile intelligence contract obtains the first intelligence and closes
About address and key-value pair to be stored.
Wherein, precompile intelligence contract is used for by contract data storage into external data base, the precompile intelligence contract
It is preparatory compiling and is built into block chain node server after specifying precompile contract address.First intelligent contract address
It, can be according to the first intelligent contract address search to the first intelligent contract for identifying the first intelligent contract.Key assignments to be stored
To the key-value pair data for referring to that the first intelligent contract needs to store to external data base.
Specifically, block chain node server stores key assignments by acting on behalf of in intelligent contract calling precompile intelligence contract
Pair method, precompile intelligence contract obtains the first intelligent contract address and key-value pair to be stored.
S208, precompile intelligence contract splice the first intelligent contract address with wait store the key to be stored in key-value pair
Target key to be stored is obtained, determines target key assignments to be stored to storage value according to target key to be stored is corresponding with key to be stored
It is right, by target key-value pair storage to be stored into external server database.
Wherein, target key to be stored refers to the key (key) that store in external server database, which is first
What intelligent contract address and key assignments to be stored spliced.For example, key to be stored is " 01 ", the first intelligent contract address is
" 10 ", then target key to be stored can be " 1001 ".Target key-value pair to be stored refers to target key to be stored and corresponding wait deposit
The key-value pair that Stored Value is formed.External server refers to the server other than node server, for example, external server can be
Cloud Server can also be distributed server etc..
Specifically, intelligent contract usually executes in node server virtual machine.The execution of block chain node server prelists
It translates intelligent contract and splices to obtain target key to be stored with the key to be stored wait store in key-value pair by the first intelligent contract address,
Determine that target key-value pair to be stored, node server are outside to storage value according to target key to be stored is corresponding with key to be stored
Portion's server sends the storage request of target key-value pair to be stored, and external server receives storage request, target is waited storing
Key-value pair is stored into database.Wherein, key to be stored is spliced into as target key to be stored, then by target in contract address
Key-value pair storage to be stored is to database, and when different intelligent contracts can be made to update identical key, value is just different mutually to be covered
Lid improves the versatility of storage key-value pair.
S210, precompile intelligence contract calculate the target cryptographic Hash of target key-value pair to be stored, target cryptographic Hash are returned
Act on behalf of intelligent contract.
Wherein, target cryptographic Hash refers to the cryptographic Hash of target key-value pair to be stored.It is each to need to store target key to be stored
Value is to there is corresponding target cryptographic Hash.
Specifically, block chain node server executes precompile intelligence contract, and precompile intelligence contract calculates target and waits depositing
Target cryptographic Hash is returned to the intelligent contract of agency by the target cryptographic Hash for storing up key-value pair.
S212, acts on behalf of intelligent contract according to target cryptographic Hash and updates storage cryptographic Hash, and block is written in storage cryptographic Hash
In.
Wherein, storage cryptographic Hash is the cryptographic Hash of all stored key-value pair cryptographic Hash, which only has one
It is a.Intelligent contract is acted on behalf of to be also used to update storage cryptographic Hash according to target cryptographic Hash.
Specifically, when precompile intelligence contract by target wait store key-value pair storage into external server database when,
Precompile intelligence contract will calculate the cryptographic Hash for having stored target key assignments to be stored and return to the intelligent contract of agency, agency's intelligence
Contract updates storage cryptographic Hash according to target cryptographic Hash, and then updated storage cryptographic Hash is written in block.
It in above-mentioned date storage method, is called by the first intelligent contract and acts on behalf of intelligent contract, acted on behalf of intelligent contract and call
Precompile contract will be spliced by precompile contract wait store key to be stored in key-value pair and the first intelligent contract address
To target key to be stored, target key-value pair storage to be stored then is extended into block chain link into external server database
The memory capacity of point server, so that the limitation that capacity is locally stored is broken through, so that the block chain business for needing largely to store
Intelligent contract can be used to realize.Then by calculating the target cryptographic Hash of target key-value pair to be stored, agency's intelligence is used
Contract updates storage cryptographic Hash according to target cryptographic Hash, by storage cryptographic Hash write-in block, guarantees to store in external server
Key-value pair also can indirectly be saved in block chain, ensure that the consistency of data in block chain node.
As shown in figure 3, for the schematic diagram of contract data storage traditional in one embodiment.It will be evident that traditional block chain
Intelligent contract is by the node server hard disk where contract data to be saved in virtual machine in technology, i.e. node server
Hard disk has that memory capacity is limited.And the application is as shown in figure 4, to arrive contract data storage in one embodiment
Schematic diagram in external storage database, the application extend the memory capacity of node server, deposit contract data can not only
It stores up in locally stored database, additionally it is possible to which storage can store the contract data of magnanimity, make into external storage database
The application scenarios of block chain technology greatly expand.
In one embodiment, it as shown in figure 5, before step S202, i.e., stores and requests in the reception key-value pair,
The key-value pair storage request is by further comprising the steps of: before calling the first intelligent contract to send
S502 obtains the first intelligent contract, acts on behalf of intelligent contract and precompile intelligence contract, by the first intelligent contract and
It acts on behalf of in intelligent contract deployment block chain.
Wherein, intelligent contract is the executable code operated in block chain,
Specifically, block chain node server obtains the first intelligent contract and acts on behalf of intelligent contract, by the first intelligent contract
Intelligent contract editing machine is called to become intelligent contract code compilation that is, when getting intelligent contract with the intelligent contract of agency
Then Virtual Machine bytecodes are sent bytecode in block chain network by interface, block chain is written after the whole network is verified
In.
S504 generates the first intelligent contract address and acts on behalf of the address of intelligent contract.
Wherein, intelligent contract is acted on behalf of for unique identification in the address for acting on behalf of intelligent contract.It can using the address of intelligent contract
To find corresponding intelligent contract.
Specifically, block chain node server generates the first intelligent contract address and acts on behalf of the address of intelligent contract.
In the above-described embodiments, by disposing the first intelligent contract and agency's intelligent contract in block chain, guarantee
Normal call intelligence contract.
In one embodiment, as shown in fig. 6, step S208, i.e., store target key-value pair to be stored to external service
In device database, comprising:
S602 serializes target key-value pair to be stored, the target key assignments to be stored after being serialized.
Wherein, serializing, which refers to the process of, is converted to the form that can store or transmit for the status information of object.
Specifically, block chain node server will serialize target key-value pair to be stored, the target after being serialized
Key-value pair to be stored, the target key-value pair to be stored after the serializing
S604 stores the target key assignments to be stored after serializing into external server database.
Specifically, block chain node serve sends target key-value pair storage request to be stored to external server database,
Storage request carries the target key-value pair to be stored after serializing and will serialize after external server receives storage request
The key-value pair to be stored of target afterwards is saved in database.
In the above-described embodiments, by serializing target key-value pair to be stored, the target after being serialized waits storing
Key assignments stores the target key assignments to be stored after serializing into external server database, it can save any type of
Data structure improves the versatility of storage method.
In one embodiment, as shown in fig. 7, step S212, that is, act on behalf of intelligent contract and deposited according to the update of target cryptographic Hash
Cryptographic Hash is stored up, comprising steps of
S702 obtains historical storage cryptographic Hash, calculates the cryptographic Hash of historical storage cryptographic Hash and target cryptographic Hash, obtains
Store cryptographic Hash.
S704, by storage cryptographic Hash storage into local data base.
Wherein, historical storage cryptographic Hash refers to the Kazakhstan for the key-value pair that history is stored in external server database
Uncommon value.Local data base refers to the database in block chain node server.
Specifically, block chain node server can get historical storage cryptographic Hash from local data base, and calculating is gone through
History stores the cryptographic Hash of cryptographic Hash and target cryptographic Hash, obtains storage cryptographic Hash.Then storage cryptographic Hash is stored to local number
According in library.For example, historical storage cryptographic Hash is " 11 ", target cryptographic Hash is " 12 ", then the storage cryptographic Hash obtained is " 1112 "
Cryptographic Hash.Then the cryptographic Hash of " 1112 " is stored into local data base.
In the above-described embodiments, it goes to update storage by calculating the cryptographic Hash of historical storage cryptographic Hash and target cryptographic Hash
Cryptographic Hash facilitates subsequent use by the storage of updated storage cryptographic Hash into local data base.
In one embodiment, as shown in figure 8, step S212, i.e., will be written block in storage cryptographic Hash write-in block
In, comprising steps of
S802 obtains block content and storage cryptographic Hash, calculation block content and storage corresponding Hash of cryptographic Hash
Value.
S804, by root cryptographic Hash write area build.
Wherein, block content refers to that the content in the block of block chain to be written new district, root cryptographic Hash refer to state tree root section
The cryptographic Hash of point.Include such a state node on each block, facilitate the mutual verifying of state between node, guarantees
In each block and all the time of transaction, the state of all nodes is consistent.
Specifically, block chain node obtains block content and storage cryptographic Hash, calculation block content and storage cryptographic Hash pair
The root cryptographic Hash answered, then by root cryptographic Hash write area build.
In the above-described embodiments, by calculation block content and storage corresponding cryptographic Hash of cryptographic Hash, by root cryptographic Hash
Write area build can make the key-value pair of external storage that block chain indirectly be written, i.e., be also process to the change of external storage
Common recognition, and can guarantee the consistency of block chain node data.
In one embodiment, as shown in figure 9, date storage method further comprises the steps of:
S902 receives key-value pair acquisition request, and key-value pair acquisition request is sent by the intelligent contract of calling first,
Key-value pair acquisition request carries key to be obtained.
Wherein, key to be obtained, which refers to, needs to obtain the corresponding key of key-value pair intermediate value, for example, key-value pair is " name-
Three ", when needing to obtain corresponding value " Zhang San " of key " name ", key-value pair acquisition request is sent, which takes
With key to be obtained " name ".
Specifically, block chain node server receives the key-value pair acquisition request of terminal transmission, key-value pair acquisition request
It is by calling the first intelligent contract to send, key-value pair acquisition request carries key to be obtained.
S904 is called by the first intelligent contract according to key-value pair acquisition request and acts on behalf of intelligent contract, passes through agency's intelligence
Contract calls precompile intelligence contract.
S906, precompile intelligence contract obtain the first intelligent contract address, according to the first intelligent contract address and to be obtained
Key determines object key to be obtained.
Specifically, block chain node is called by the first intelligent contract according to key-value pair acquisition request and acts on behalf of intelligent contract,
It acts on behalf of intelligent contract and calls precompile intelligence contract, precompile intelligence contract obtains the first intelligent contract address, precompile intelligence
Contract splices key to be obtained and the first intelligent contract address to obtain object key to be obtained.
S908 sends target value acquisition request to external server, and target value acquisition request carries object key to be obtained,
External server is used to search corresponding target value in the database according to object key to be obtained.
Specifically, the outside portion's server of block chain node server sends target value acquisition request, and target value acquisition is asked
It asks and carries object key to be obtained, external server receives target value acquisition request, and parsing obtains object key to be obtained, then
The corresponding target value of object key to be obtained is searched in the database, and the target value found is returned into block chain node server.
S910 obtains the corresponding target value of object key to be checked that external server returns.
Specifically, block chain node server obtains the corresponding target value of object key to be checked that external server returns,
Key-value pair can be obtained according to key to be obtained and target value, obtained key-value pair is returned into corresponding transmission key-value pair acquisition and is asked
The terminal asked is shown.
In the above-described embodiments, when receiving key-value pair acquisition request, agency's intelligence is called by the first intelligent contract
Contract calls precompile intelligence contract by acting on behalf of intelligent contract, and then precompile intelligence contract determines object key to be obtained,
Corresponding target value is got from external server database according to object key to be obtained, obtains key-value pair.It can make to save
It is used in the data of external server, has expanded application scenarios.
In a specific embodiment, as shown in Figure 10, contract caller calls (call) " to deposit customized outside
Store up contract " it initiates to save key-value pair request, customized external storage contract calls the storage method of (call) correspondent contract.
It as shown in figure 11, is the schematic diagram of correspondent contract Estorage, the put method in correspondent contract Estorage is for storing
Key-value pair.Correspondent contract Estorage calls (call) precompile and about PrecompileEstorage is as shown in figure 12
The schematic diagram of precompile intelligence and about PrecompileEstorage.Precompile intelligence and about PrecompileEstorage will
Key in the address and key-value pair of customized external storage contract is spliced to form new keys, then uses Put method by new keys
And corresponding value carries out external storage.The cryptographic Hash for calculating new keys and corresponding value simultaneously, by the Hash of new keys and corresponding value
Value returns to correspondent contract Estorage, and correspondent contract Estorage is according to precompile intelligence contract
The cryptographic Hash that PrecompileEstorage is returned updates storage cryptographic Hash storageHash.Calculate historical storage cryptographic Hash
With the cryptographic Hash of the PrecompileEstorage cryptographic Hash returned, updated storage cryptographic Hash storageHash is obtained,
Then by updated storage cryptographic Hash storageHash storage into local data base.Also, updated storage Hash
Value storageHash can participate in the calculating of the fast root Hash in the new district block Lian Zhong, and the root Hash being calculated write-in block chain is new
In the fast block head in area.
In a specific embodiment, the external storage that customized external storage contract can be registration information is closed
About, then key-value pair to be stored is what registration information was converted into, then can be stored the key-value pair of registration information to external service
In device database.
In a specific embodiment, it deposits the outside that customized external storage contract can be patient in hospital information
Contract is stored up, then key-value pair to be stored is what patient information was converted into, then can be stored the key-value pair of patient information to outside
In server database.
In a specific embodiment, customized external storage contract can be the external storage conjunction using log
About, then key-value pair to be stored is what log information was converted into, then can be stored the key-value pair of log information to external service
In device database.
In a specific embodiment, it deposits the outside that customized external storage contract can be user behavior data
Contract is stored up, then key-value pair to be stored is what user behavior data was converted into, then can be deposited the key-value pair of user behavior data
It stores up in external server database.Wherein, user behavior data can be the behavioral data of access website.
In a specific embodiment, contract caller calls (call) " customized external storage contract " to initiate
Key-value pair acquisition request carries key to be obtained in the acquisition request.Customized external storage in block chain node server
The data capture method of contract calling (call) correspondent contract.It as shown in figure 11, is the schematic diagram of correspondent contract Estorage,
Get method in correspondent contract Estorage is used to call the side get of precompile intelligence and about PrecompileEstorage
The get method of method, precompile intelligence and about PrecompileEstorage are by customized external storage contract address and wait obtain
It takes key to be spliced into new keys, then gets the corresponding target value of new keys from external server database using get method, most
The target value and key to be obtained that will acquire afterwards return to the corresponding terminal of contract caller as key-value pair and are shown.
It should be understood that although each step in the flow chart of Fig. 5-9 is successively shown according to the instruction of arrow,
It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 5-9 at least
A part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
Moment executes completion, but can execute at different times, and the execution sequence in these sub-steps or stage is also not necessarily
Successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn or
Alternately execute.
In one embodiment, as shown in figure 13, a kind of data storage device 1300 is provided, comprising:
Request receiving module 1302, for receiving key-value pair storage request, key-value pair storage request is by calling first
What intelligent contract was sent;
Contract calling module 1304, for calling agency's intelligence by the first intelligent contract according to key-value pair storage request
Contract;
Data obtaining module 1306, for calling precompile intelligence contract by acting on behalf of intelligent contract, precompile is intelligently closed
About obtain the first intelligent contract address and key-value pair to be stored;
Outer memory module 1308, for precompile intelligence contract by the first intelligent contract address and key-value pair to be stored
In key to be stored splice to obtain target key to be stored, it is corresponding with key to be stored true to storage value according to target key to be stored
Set the goal key-value pair to be stored, by target key-value pair storage to be stored into external server database;
Target cryptographic Hash computing module 1310 calculates the target of target key-value pair to be stored for precompile intelligence contract
Target cryptographic Hash is returned and acts on behalf of intelligent contract by cryptographic Hash;
Cryptographic Hash update module 1312 is stored, cryptographic Hash is updated storage according to target cryptographic Hash for acting on behalf of intelligent contract,
Storage cryptographic Hash is written in block.
In one embodiment, data storage device 1300, further includes:
Contract deployment module, for obtaining the described first intelligent contract, the intelligent contract of the agency and the precompile intelligence
Can contract, the first intelligent contract and agency intelligence contract are disposed in block chain;
Address generation module, for generating the described first intelligent contract address and acting on behalf of the address of intelligent contract.
In one embodiment, outer memory module 1308 is also used to obtain target key-value pair serializing to be stored
Target key assignments to be stored after to serializing;By the target key assignments storage to be stored after the serializing to the external service
In device database.
In one embodiment, storage cryptographic Hash update module 1312 is also used to obtain historical storage cryptographic Hash, calculates institute
The cryptographic Hash for stating historical storage cryptographic Hash and the target cryptographic Hash obtains the storage cryptographic Hash;By the storage cryptographic Hash
It stores in local data base.
In one embodiment, storage cryptographic Hash update module 1312 is also used to obtain block content and the storage is breathed out
Uncommon value, calculates the block content and described corresponding cryptographic Hash of storage cryptographic Hash;Block is written into described cryptographic Hash
Head.
In one embodiment, data storage device 1300, further includes:
Acquisition request receiving module, for receiving key-value pair acquisition request, the key-value pair acquisition request is to pass through calling
What the first intelligent contract was sent, the key-value pair acquisition request carries key to be obtained;
Precompile contract calling module, for passing through the described first intelligent contract tune according to the key-value pair acquisition request
With intelligent contract is acted on behalf of, precompile intelligence contract is called by the intelligent contract of the agency;
Object key determining module obtains the described first intelligent contract address for the precompile intelligence contract, according to institute
It states the first intelligent contract address and the key to be obtained determines object key to be obtained;
Request sending module, for sending target value acquisition request to the external server, the target value acquisition is asked
It asks and carries the object key to be obtained, the external server for searching in the database according to the object key to be obtained
Corresponding target value;
Target value obtains module, the corresponding institute of the object key to be checked for obtaining that the external server returns
State target value.
Figure 14 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be
Block chain node server 104 in Fig. 1.As shown in figure 14, internal structure chart can be as shown in Figure 14.The computer is set
Standby includes processor, memory and the network interface connected by system bus.Wherein, the processor of the computer equipment is used
In offer calculating and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.This is non-
Volatile storage medium is stored with operating system and computer program.The built-in storage is the behaviour in non-volatile memory medium
The operation for making system and computer program provides environment.The network interface of the computer equipment is used to pass through with external terminal
Network connection communication.To realize a kind of date storage method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Figure 14, only part relevant to application scheme
The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set
Standby may include perhaps combining certain components or with different component cloth than more or fewer components as shown in the figure
It sets.
In one embodiment, data storage device provided by the present application can be implemented as a kind of shape of computer program
Formula, computer program can be run in computer equipment as shown in figure 14.Composition can be stored in the memory of computer equipment
Each program module of the data storage device, for example, request receiving module 1302, contract calling module shown in Figure 13
1304, data obtaining module 1306, outer memory module 1308, target cryptographic Hash computing module 1310 and storage cryptographic Hash more
New module 1312.The computer program that each program module is constituted makes processor execute the application described in this specification
Step in the date storage method of each embodiment.
For example, computer equipment shown in Figure 14 can be connect by the request in data storage device as shown in fig. 13 that
It receives module 1302 and executes step S202.Computer equipment can execute step S204 by contract calling module 1304.Computer is set
It is standby to execute step S206 by data obtaining module 1306.Computer equipment can execute step by outer memory module 1308
Rapid S208.Computer equipment can execute step S210 by target cryptographic Hash computing module 1310.Computer equipment can be by depositing
It stores up cryptographic Hash update module 1312 and executes step S212.
In one embodiment, a kind of computer equipment is provided, including memory and processor, memory are stored with
Computer program, when computer program is executed by processor, so that the step of processor executes above-mentioned date storage method.This
The step of locating date storage method can be the step in the date storage method of above-mentioned each embodiment.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer are stored with
When program is executed by processor, so that the step of processor executes above-mentioned date storage method.The step of date storage method herein
Suddenly it can be the step in the date storage method of above-mentioned each embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can
It is completed with instructing relevant hardware by computer program, the program can be stored in a non-volatile computer can
It reads in storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the application institute
Any reference used in each embodiment provided to memory, storage, database or other media, may each comprise non-
Volatibility and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include depositing at random
Access to memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as
It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced
SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the application's
Protection scope.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of date storage method, comprising:
Key-value pair storage request is received, the key-value pair storage request is by calling the first intelligent contract to send;
It is called according to key-value pair storage request by the described first intelligent contract and acts on behalf of intelligent contract;
Precompile intelligence contract is called by the intelligent contract of the agency, the precompile intelligence contract obtains the first intelligent contract
Address and key-value pair to be stored;
The precompile intelligence contract spells the described first intelligent contract address with described wait store the key to be stored in key-value pair
It connects to obtain target key to be stored, according to target key to be stored and the key to be stored is corresponding determines that target waits for storage value
Key-value pair is stored, by target key-value pair storage to be stored into external server database;
The precompile intelligence contract calculates the target cryptographic Hash of target key-value pair to be stored, and the target cryptographic Hash is returned
Return the intelligent contract of the agency;
The intelligent contract of the agency updates storage cryptographic Hash according to the target cryptographic Hash, and block is written in the storage cryptographic Hash
In.
2. being requested the method according to claim 1, wherein being stored in the reception key-value pair, the key-value pair
Storage request is by before calling the first intelligent contract to send, further includes:
The described first intelligent contract and the intelligent contract of the agency are obtained, the described first intelligent contract and the agency are intelligently closed
About dispose in block chain;
It generates the described first intelligent contract address and acts on behalf of the address of intelligent contract.
3. the method according to claim 1, wherein described by target key-value pair storage to be stored to outside
In server database, comprising:
Target key assignments to be stored by target key-value pair serializing to be stored, after being serialized;
Target key assignments to be stored after the serializing is stored into the external server database.
4. the method according to claim 1, wherein the agency intelligence contract according to the target cryptographic Hash more
New storage cryptographic Hash, comprising:
Historical storage cryptographic Hash is obtained, the cryptographic Hash of the historical storage cryptographic Hash and the target cryptographic Hash is calculated, obtains institute
State storage cryptographic Hash;
By storage cryptographic Hash storage into local data base.
5. block is written the method according to claim 1, wherein the storage cryptographic Hash is written in block
In, comprising:
Block content and the storage cryptographic Hash are obtained, the block content and described corresponding Hash of storage cryptographic Hash are calculated
Value;
By described cryptographic Hash write area build.
6. the method according to claim 1, wherein the method also includes:
Key-value pair acquisition request is received, the key-value pair acquisition request is the key by calling the first intelligent contract to send
Value carries key to be obtained to acquisition request;
It is called according to the key-value pair acquisition request by the described first intelligent contract and acts on behalf of intelligent contract, act on behalf of intelligence by described
It can contract calling precompile intelligence contract;
The precompile intelligence contract obtains the described first intelligent contract address, according to the described first intelligent contract address and described
Key to be obtained determines object key to be obtained;
Target value acquisition request is sent to the external server, the target value acquisition request carries the target to be obtained
Key, the external server are used to search corresponding target value in the database according to the object key to be obtained;
The corresponding target value of the object key to be checked for obtaining that the external server returns.
7. a kind of data storage device, which is characterized in that described device includes:
Request receiving module, for receiving key-value pair storage request, the key-value pair storage request is by calling the first intelligence
What contract was sent;
Contract calling module, for calling agency's intelligence to close by the described first intelligent contract according to key-value pair storage request
About;
Data obtaining module, for calling precompile intelligence contract by the intelligent contract of the agency, the precompile is intelligently closed
About obtain the first intelligent contract address and key-value pair to be stored;
Outer memory module, for the precompile intelligence contract by the described first intelligent contract address and the key assignments to be stored
The key to be stored of centering splices to obtain target key to be stored, according to target key to be stored and the key to be stored it is corresponding to
Storage value determines target key-value pair to be stored, by target key-value pair storage to be stored into external server database;
Target cryptographic Hash computing module, the target for calculating target key-value pair to be stored for the precompile intelligence contract are breathed out
The target cryptographic Hash is returned to the intelligent contract of the agency by uncommon value;
Cryptographic Hash update module is stored, cryptographic Hash is updated storage according to the target cryptographic Hash for the agency intelligent contract,
The storage cryptographic Hash is written in block.
8. device according to claim 7, which is characterized in that described device further include:
Contract deployment module is intelligently closed for obtaining the described first intelligent contract, the intelligent contract of the agency and the precompile
It about, will be in the described first intelligent contract and the intelligent contract deployment block chain of the agency;
Address generation module, for generating the described first intelligent contract address and acting on behalf of the address of intelligent contract.
9. a kind of computer readable storage medium, be stored with computer program makes when the computer program is executed by processor
The processor is obtained to execute such as the step of any one of claims 1 to 6 the method.
10. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating
When machine program is executed by the processor, so that the processor executes the step such as any one of claims 1 to 6 the method
Suddenly.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910854777.7A CN110489429B (en) | 2019-08-22 | 2019-08-22 | Data acquisition method and device, computer readable storage medium and computer equipment |
CN201910777476.9A CN110489421B (en) | 2019-08-22 | 2019-08-22 | Data storage method, apparatus, computer readable storage medium and computer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910777476.9A CN110489421B (en) | 2019-08-22 | 2019-08-22 | Data storage method, apparatus, computer readable storage medium and computer device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910854777.7A Division CN110489429B (en) | 2019-08-22 | 2019-08-22 | Data acquisition method and device, computer readable storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110489421A true CN110489421A (en) | 2019-11-22 |
CN110489421B CN110489421B (en) | 2023-11-14 |
Family
ID=68552820
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910777476.9A Active CN110489421B (en) | 2019-08-22 | 2019-08-22 | Data storage method, apparatus, computer readable storage medium and computer device |
CN201910854777.7A Active CN110489429B (en) | 2019-08-22 | 2019-08-22 | Data acquisition method and device, computer readable storage medium and computer equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910854777.7A Active CN110489429B (en) | 2019-08-22 | 2019-08-22 | Data acquisition method and device, computer readable storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN110489421B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110930152A (en) * | 2019-12-04 | 2020-03-27 | 腾讯科技(深圳)有限公司 | Data processing method based on block chain and related equipment |
CN111596954A (en) * | 2020-05-12 | 2020-08-28 | 杭州溪塔科技有限公司 | Distributed version control method and system based on block chain |
CN111737266A (en) * | 2020-07-31 | 2020-10-02 | 支付宝(杭州)信息技术有限公司 | Block data access method, block data storage method and device |
CN112215706A (en) * | 2020-09-17 | 2021-01-12 | 中国科学院计算技术研究所数字经济产业研究院 | Distributed intelligent contract system and implementation method |
CN112416940A (en) * | 2020-11-27 | 2021-02-26 | 深信服科技股份有限公司 | Key value pair storage method and device, terminal equipment and storage medium |
CN113179294A (en) * | 2021-03-15 | 2021-07-27 | 华东师范大学 | Schema unified access method based on intelligent contract |
CN113672632A (en) * | 2021-08-06 | 2021-11-19 | 戈尔特西斯科技(济南)有限公司 | Quick query and call method for change records of historical data on chain based on intelligent contract |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109634932A (en) * | 2018-11-30 | 2019-04-16 | 北京瑞卓喜投科技发展有限公司 | A kind of intelligence contract storage method and storage system |
CN109670335A (en) * | 2018-12-20 | 2019-04-23 | 众安信息技术服务有限公司 | For in the method and device interacted between data outside block chain and chain |
CN109710694A (en) * | 2018-12-26 | 2019-05-03 | 深圳市网心科技有限公司 | Data processing method, equipment, storage medium and block catenary system |
CN109831298A (en) * | 2019-01-31 | 2019-05-31 | 阿里巴巴集团控股有限公司 | The method of security update key and node, storage medium in block chain |
CN109981679A (en) * | 2019-04-08 | 2019-07-05 | 上海点融信息科技有限责任公司 | The method and apparatus of affairs are executed in block chain network |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7539661B2 (en) * | 2005-06-02 | 2009-05-26 | Delphi Technologies, Inc. | Table look-up method with adaptive hashing |
CN107507005B (en) * | 2017-08-01 | 2020-09-11 | 众安信息技术服务有限公司 | Off-link data access method and system based on alliance chain |
EP3522088B1 (en) * | 2018-02-05 | 2022-03-16 | Nokia Technologies Oy | Securing blockchain access through a gateway |
CN108830720B (en) * | 2018-06-21 | 2021-04-30 | 北京京东尚科信息技术有限公司 | Intelligent contract running method, device, system and computer readable storage medium |
CN109377363B (en) * | 2018-09-26 | 2020-08-18 | 电子科技大学 | Block chain-based Internet of things data transaction architecture and transaction security method thereof |
CN109445820A (en) * | 2018-10-29 | 2019-03-08 | 深圳市元征科技股份有限公司 | A kind of intelligence contract upgrade method, system, equipment and computer storage medium |
CN109684333B (en) * | 2018-12-24 | 2021-02-09 | 杭州复杂美科技有限公司 | Data storage and cutting method, equipment and storage medium |
-
2019
- 2019-08-22 CN CN201910777476.9A patent/CN110489421B/en active Active
- 2019-08-22 CN CN201910854777.7A patent/CN110489429B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109634932A (en) * | 2018-11-30 | 2019-04-16 | 北京瑞卓喜投科技发展有限公司 | A kind of intelligence contract storage method and storage system |
CN109670335A (en) * | 2018-12-20 | 2019-04-23 | 众安信息技术服务有限公司 | For in the method and device interacted between data outside block chain and chain |
CN109710694A (en) * | 2018-12-26 | 2019-05-03 | 深圳市网心科技有限公司 | Data processing method, equipment, storage medium and block catenary system |
CN109831298A (en) * | 2019-01-31 | 2019-05-31 | 阿里巴巴集团控股有限公司 | The method of security update key and node, storage medium in block chain |
CN109981679A (en) * | 2019-04-08 | 2019-07-05 | 上海点融信息科技有限责任公司 | The method and apparatus of affairs are executed in block chain network |
Non-Patent Citations (1)
Title |
---|
张亮等: "区块链技术综述", 《计算机工程》, vol. 45, no. 05, pages 1 - 12 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110930152A (en) * | 2019-12-04 | 2020-03-27 | 腾讯科技(深圳)有限公司 | Data processing method based on block chain and related equipment |
CN110930152B (en) * | 2019-12-04 | 2023-05-26 | 腾讯科技(深圳)有限公司 | Data processing method based on block chain and related equipment |
CN111596954A (en) * | 2020-05-12 | 2020-08-28 | 杭州溪塔科技有限公司 | Distributed version control method and system based on block chain |
CN111596954B (en) * | 2020-05-12 | 2023-08-01 | 杭州溪塔科技有限公司 | Distributed version control method and system based on block chain |
CN111737266A (en) * | 2020-07-31 | 2020-10-02 | 支付宝(杭州)信息技术有限公司 | Block data access method, block data storage method and device |
CN112215706A (en) * | 2020-09-17 | 2021-01-12 | 中国科学院计算技术研究所数字经济产业研究院 | Distributed intelligent contract system and implementation method |
CN112215706B (en) * | 2020-09-17 | 2023-06-30 | 中国科学院计算技术研究所数字经济产业研究院 | Distributed intelligent contract system and implementation method |
CN112416940A (en) * | 2020-11-27 | 2021-02-26 | 深信服科技股份有限公司 | Key value pair storage method and device, terminal equipment and storage medium |
CN113179294A (en) * | 2021-03-15 | 2021-07-27 | 华东师范大学 | Schema unified access method based on intelligent contract |
CN113179294B (en) * | 2021-03-15 | 2023-02-07 | 华东师范大学 | Schema unified access method based on intelligent contract |
CN113672632A (en) * | 2021-08-06 | 2021-11-19 | 戈尔特西斯科技(济南)有限公司 | Quick query and call method for change records of historical data on chain based on intelligent contract |
Also Published As
Publication number | Publication date |
---|---|
CN110489429B (en) | 2021-03-16 |
CN110489429A (en) | 2019-11-22 |
CN110489421B (en) | 2023-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110489421A (en) | Date storage method, device, computer readable storage medium and computer equipment | |
CN109586948A (en) | Update method, apparatus, computer equipment and the storage medium of system configuration data | |
CN107562513B (en) | Intelligent contract life cycle management method based on JAVA | |
CN111245548A (en) | Data synchronization method and device based on timestamp and computer equipment | |
CN109492017A (en) | Business information inquiry processing method, system, computer equipment and storage medium | |
CN110555041A (en) | Data processing method, data processing device, computer equipment and storage medium | |
CN109361628B (en) | Message assembling method and device, computer equipment and storage medium | |
CN109885299B (en) | Template processing method, device, computer equipment and storage medium in model development | |
US9401957B2 (en) | System and method for synchronization between servers | |
CN109215771A (en) | Medical mapping relations library method for building up, device, computer equipment and storage medium | |
CN110032568B (en) | Data structure reading and updating method and device, and electronic equipment | |
CN112256318B (en) | Construction method and equipment for dependent product | |
CN110109712A (en) | Service Component loading method, device, computer equipment and storage medium | |
CN109408644A (en) | Knowledge base update method, apparatus, computer equipment and storage medium | |
CN111008022B (en) | Relationship diagram generation method, device, computer equipment and storage medium | |
CN113515322B (en) | Application program loading method and device, computer equipment and readable storage medium | |
CN110244951B (en) | Application publishing method and device | |
CN109101232A (en) | A kind of method, apparatus of product development, computer equipment and storage medium | |
CN109800247A (en) | Data search method, device, computer equipment and storage medium | |
CN116048609A (en) | Configuration file updating method, device, computer equipment and storage medium | |
CN110489138A (en) | A kind of application update method, device and storage medium | |
CN109857656A (en) | Adaptation method, device, computer equipment and storage medium based on test | |
CN113010600B (en) | Data management system, method, related device and medium based on block chain | |
CN112800181A (en) | Text retrieval method and device, computer equipment and storage medium | |
CN112699129A (en) | Data processing system, method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40014941 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |