CN109522363A - Cloud platform synchronous method, system, equipment and storage medium based on block chain - Google Patents

Cloud platform synchronous method, system, equipment and storage medium based on block chain Download PDF

Info

Publication number
CN109522363A
CN109522363A CN201811214588.5A CN201811214588A CN109522363A CN 109522363 A CN109522363 A CN 109522363A CN 201811214588 A CN201811214588 A CN 201811214588A CN 109522363 A CN109522363 A CN 109522363A
Authority
CN
China
Prior art keywords
data
block chain
storage
synchronous
processing data
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
CN201811214588.5A
Other languages
Chinese (zh)
Other versions
CN109522363B (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.)
Shanghai Da Jia Ying Mdt Infotech Ltd
Original Assignee
Shanghai Da Jia Ying Mdt Infotech 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 Shanghai Da Jia Ying Mdt Infotech Ltd filed Critical Shanghai Da Jia Ying Mdt Infotech Ltd
Priority to CN201811214588.5A priority Critical patent/CN109522363B/en
Publication of CN109522363A publication Critical patent/CN109522363A/en
Application granted granted Critical
Publication of CN109522363B publication Critical patent/CN109522363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The embodiment of the invention discloses a kind of cloud platform synchronous method, system, equipment and storage mediums based on block chain, which comprises default block chain link point obtains each block chain node in block chain network and handles data for the storage of same inquiry identification information;Consistency checking is carried out to storage processing data, determines the storage processing data for meeting consistency checking condition as synchronous base data;The machine obtains the synchronous base data of above-mentioned determination, according to the synchronous base data, it is synchronous that data are carried out to storage corresponding with the inquiry identification information processing data stored in the block chain node in the block chain network, alternatively, it is synchronous only to carry out data to the locally stored locally stored processing data.The technical solution of the embodiment of the present invention can guarantee the consistency and reliability of storing data in the cloud platform based on block chain.

Description

Cloud platform synchronous method, system, equipment and storage medium based on block chain
Technical field
The present embodiments relate to block chain technical field more particularly to a kind of cloud platform sides of synchronization based on block chain Method, system, equipment and storage medium.
Background technique
Cloud storage is a kind of Network storage technology, can pass through cluster application, network technology or distributed file system etc. Function externally provides data storage and business access function.However, the existing cloud platform for realizing cloud storage technology all passes through Server or the server cluster building of centralization, excessively centralization is configured, is easy to cause data quilt if by attack It steals and modifies, the problem for causing the safety of data lower.Simultaneously as every server all stores complete data, it is right Memory space it is more demanding, and there are bulk redundancy, waste storage resource.
Block chain is the novel of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm Application model.Block chain technology is under the distributed p 2 p of not central control point, the side that is operated using distributed collective Method constructs the self-organizing network of a P2P.By complicated verification scheme, block chain database is able to maintain integrality, connects Continuous property and consistency, can not change the integrality of block chain, it is even more impossible to distort in block chain subparticipation people plays tricks Data.
Area can be efficiently used in conjunction with the cloud platform of the advantage building based on block chain of two kinds of technologies of cloud storage and block chain The safety that can not be distorted characteristic and guarantee data storage of the technology of block chain.But the cloud platform based on block chain is in storing data It tends to cause data to store inconsistent problem because of various problems, such as communication failure or error of transmission, how to guarantee The consistency that data store in cloud platform based on block chain is the cloud platform technology urgent problem to be solved based on block chain.
Summary of the invention
The embodiment of the present invention provides a kind of cloud platform synchronous method, system, equipment and storage medium based on block chain, real Now guarantee the consistency and reliability of storing data in the cloud platform based on block chain.
In a first aspect, being applied to block the embodiment of the invention provides a kind of cloud platform synchronous method based on block chain Chain node, comprising:
Default block chain link point obtains each block chain node depositing for same inquiry identification information in block chain network Storage processing data;
Consistency checking is carried out to storage processing data, determines the storage processing data for meeting consistency checking condition As synchronous base data;
The machine obtains the synchronous base data of above-mentioned determination, according to the synchronous base data, to the block chain network In block chain node in store storage corresponding with the inquiry identification information processing data carry out data it is synchronous, alternatively, It is synchronous that data only are carried out to the locally stored locally stored processing data.
Second aspect, the embodiment of the invention also provides a kind of cloud platform synchronization systems based on block chain, comprising:
Data acquisition module, for presetting each block chain node in block chain link point acquisition block chain network for same The storage for inquiring identification information handles data;
Data Verification module carries out consistency checking to storage processing data for presetting block chain link point, determines Meet the storage processing data of consistency checking condition as synchronous base data;
Data simultaneous module, for obtaining the synchronous base data of above-mentioned determination, according to the synchronous base data, to institute Storage corresponding with the inquiry identification information processing data stored in the block chain node in block chain network are stated to be counted According to synchronization, alternatively, it is synchronous only to carry out data to the locally stored locally stored processing data.
The third aspect, the embodiment of the invention also provides a kind of computer equipment, the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the cloud platform synchronous method provided by any embodiment of the invention based on block chain.
Fourth aspect, the embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer program, The program realizes the cloud platform synchronous method provided by any embodiment of the invention based on block chain when being executed by processor.
The embodiment of the present invention is by presetting each block chain node in block chain link point acquisition block chain network for same The storage processing data of inquiry identification information determine the storage processing number for meeting consistency checking condition to carry out consistency checking According to as synchronous base data, the machine obtains the synchronous base data of above-mentioned determination, according to synchronous base data to block link network The storage processing data progress data corresponding with inquiry identification information stored in block chain node in network are synchronous, alternatively, only Data are carried out to locally stored locally stored processing data to synchronize, and solve storage present in the cloud platform based on block chain The inconsistent problem of data, to guarantee the consistency and reliability of storing data in the cloud platform based on block chain.
Detailed description of the invention
Fig. 1 is a kind of flow chart for cloud platform synchronous method based on block chain that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic diagram of cloud platform synchronization system based on block chain provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention three provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart for cloud platform synchronous method based on block chain that the embodiment of the present invention one provides, this reality It applies example to be applicable to the case where storing data synchronizes in the cloud platform based on block chain, this method can be by being based on block The cloud platform synchronization system of chain executes, which can be realized by the mode of software and/or hardware, and can generally be integrated in In computer equipment, which can be one or more equipment for having block chain nodal function.Correspondingly, as schemed Shown in 1, this method includes following operation:
S110, default block chain link point obtain each block chain node in block chain network and are directed to same inquiry identification information Storage handle data.
Wherein, presetting block chain link point can be localized nodes, be also possible to other in block chain network in addition to the machine Block chain node, for generating synchronous base data.Inquiry identification information can be client transmission, and based on block chain Data to be stored is one-to-one in block chain node in cloud platform, the information for being identified to data to be stored.Wait deposit Storage data can be the data such as text, picture or video, be that client is sent in the cloud platform based on block chain, be used for cloud The data that platform stores after being encrypted, any data that can be used for storing can be used as data to be stored, and the present invention is real Example is applied to this and is not limited.Block chain node can generate browsing data according to data to be stored, and browsing data can be used In the simplified summary information of reflection data to be stored.Storage processing data can be each block chain node for same number to be stored According to generation, for being the data stored in distributed account book in local block chain.
It in embodiments of the present invention, can be first when being synchronized to the storing data in the cloud platform based on block chain It first obtains the storage for same inquiry identification information that each block chain node in block chain network is sent and handles data, with right The corresponding storage processing data of same inquiry identification information synchronize operation.
In an alternate embodiment of the present invention where, the storage processing data include: to encrypt to data to be stored The corresponding browsing data of the encryption data and the data to be stored obtained afterwards and inquiry corresponding with the data to be stored Identification information.
In embodiments of the present invention, storage processing data can be by block chain node according to the data to be stored received Generate corresponding browsing data, and encryption carried out to data to be stored and generates encryption data, according to encryption data, browsing data with And the data that the inquiry identification information of client transmission ultimately generates.That is, storage processing data include encryption data, browsing number Accordingly and inquiry three kinds of data types of identification information.
S120, consistency checking is carried out to storage processing data, determination meets at the storage of consistency checking condition Data are managed as synchronous base data.
Wherein, consistency checking condition can be for the whether consistent condition of verify data.Synchronous base data can be with For synchronizing update to the data not over consistency checking.
In embodiments of the present invention, it presets block chain link point and gets each block chain node for same inquiry identification information Storage processing data after, can for obtain storage processing data carry out consistency checking.Pass through depositing for consistency checking Storage processing data can be used as synchronous base data, synchronize for the storage processing data wrong to storage.
Optionally, presetting block chain link point can be to the encryption data or encryption data and clear for including in storage processing data Data of looking at carry out consistency checking, namely according to the encryption data or encryption data and browsing for including in the storage processing data Data judge whether the storage processing data in each block chain node for same inquiry identification information are consistent.
In an alternate embodiment of the present invention where, consistency checking is carried out to storage processing data, may include: It calculates the cryptographic Hash of encryption data or encryption data and browsing data in each storage processing data and handles number as each storage According to cryptographic Hash, according to it is each it is described storage processing data cryptographic Hash carry out consistency checking.Alternatively, handling number to the storage According to consistency checking is carried out, it can also include: the cryptographic Hash for calculating each storage processing data, be handled according to each storage The cryptographic Hash of data carries out consistency checking.After the completion of verifying, using meet consistency checking condition storage handle data as Synchronous base data.Specifically, when being verified to storage processing data progress consistency checking, it can be only to encryption data It is verified, encryption data and corresponding browsing data can also be verified together.Alternatively, also can also be to entire storage Data are handled, i.e. encryption data, browsing data and inquiry identification information is verified together.Optionally, each encryption can be calculated Cryptographic Hash of the cryptographic Hash of data or encryption data and browsing data as each storage processing data, alternatively, calculating entire storage The cryptographic Hash of data is handled, is to handle data progress consistency checking according to each storage with cryptographic Hash.It should be noted that When calculating the cryptographic Hash of each storage processing data, independent calculating can be carried out to the data that each block chain node is sent respectively, The data that can be sent according to certain rules to each block chain node calculate after being combined.
In an alternate embodiment of the present invention where, the consistency checking condition may include: each storage processing The consistent ratio of the cryptographic Hash of data is more than setting numerical value.
Wherein, setting numerical value can be 50%, 60% or 80%, it usually needs, specifically can be according to reality more than 50% Border demand is set, and the embodiment of the present invention is to this and is not limited.
Correspondingly, in embodiments of the present invention, being tested when carrying out consistency with the cryptographic Hash of each storage processing data for foundation When card, the consistent ratio of cryptographic Hash that corresponding consistency checking condition can be each storage processing data is more than setting number Value.That is, consistency checking condition, which can handle data screening in each storage, goes out most of data that are identical, correctly storing.
In a specific example, it is assumed that share 8 node A-H in the cloud platform based on block chain, wherein default section Point A gets node B-H for the storage processing data of same inquiry identification information ZZ-001.If node is only with encryption data According to synchronizing, then further to obtain node A-H in the storage processing data of same inquiry identification information ZZ-001 Encryption data.When the cryptographic Hash for calculating each encryption data handles the cryptographic Hash of data as each storage, can calculate separately The cryptographic Hash of each encryption data is simultaneously compared one by one, calculates cryptographic Hash again simultaneously after each encryption data can also being combined It is compared one by one.Illustratively, node A can calculate separately the corresponding encryption data of node A-H cryptographic Hash and respectively into Row compares one by one.Assuming that the consistent ratio of cryptographic Hash that consistency checking condition is each storage processing data is more than 60%, node A, the cryptographic Hash of node B, node D, node F, node G and the corresponding encryption data of node H is consistent, and consistent ratio It has been more than 60%.The cryptographic Hash of node C and node E and the cryptographic Hash of other nodes are all different.It can be seen that node A, node B, the storage processing data of node D, node F, node G and node H meet consistency checking condition, can be by node A, node B, storage processing number of any node for same inquiry identification information ZZ-001 in node D, node F, node G and node H According to as synchronous base data.In addition, can also be combined to each encryption data when calculating the cryptographic Hash of each encryption data After calculated.Illustratively, using the encryption data of node A-B as first group, using the encryption data of node C-D as second Group calculates separately first using the encryption data of node G-H as the 4th group using the encryption data of node E-F as third group Group, second group, third group and the 4th group of cryptographic Hash.If the cryptographic Hash of first group, second group and third group is identical, Four groups of cryptographic Hash is different from other three groups cryptographic Hash, then shows that the consistent ratio of cryptographic Hash of each storage processing data is more than 60%, it can be by any node in first group, second group and third group for the storage of same inquiry identification information ZZ-001 Data are handled as synchronous base data.Further, the encryption data of the node G and node H that can also include to the 4th group Cryptographic Hash is calculated separately again, and an optional assembling and dismantling are separately won and take one of node from first group, second group and third group Encryption data simultaneously calculates cryptographic Hash, such as the cryptographic Hash of the encryption data of node A, judges the Kazakhstan of the encryption data of node G and node H Whether whether uncommon value identical as the cryptographic Hash of the encryption data of node A.To which each storage processing data be further accurately determined The consistent ratio of cryptographic Hash, while determining which node in node G and node H does not pass through consistency checking.
S130, the machine obtain the synchronous base data of above-mentioned determination, according to the synchronous base data, to the block chain Storage corresponding with the inquiry identification information processing data progress data stored in block chain node in network are synchronous, or It is synchronous only to carry out data to the locally stored locally stored processing data by person.
In embodiments of the present invention, after the machine gets synchronous base data, other block chain nodes are also available Synchronous base data, and data are handled to the storage corresponding with inquiry identification information being locally stored according to the synchronous base data It is synchronous to carry out data.Alternatively, the synchronous base data can be only used for carrying out data to locally stored storage processing data it is same Step.That is, each block chain node can receive looking into for same for other block chain nodes transmission when progress data are synchronous Ask the storage processing data of identification information and each comfortable local progress data synchronization processing.
In an alternate embodiment of the present invention where, described according to the synchronous base data, to the block chain network In block chain node in store storage corresponding with the inquiry identification information processing data carry out data it is synchronous, can wrap It includes: the synchronous base data is sent to the block chain node, so that the block chain node is according to the synchronous base Data update the storage processing data stored in local block chain.
Correspondingly, the synchronous base data can be sent to block link network after the machine gets synchronous base data It is transmitted in network, so that other block chain nodes in block chain network receive the synchronous base data and to being locally stored It is synchronous that storage processing data carry out data.In order to guarantee that the safety of synchronous base data, the machine can also be to synchronous base data After being encrypted, transmitted in being sent to block chain network.In addition it should be noted that, in order to improve synchronous efficiency, this The synchronous base data that machine can also will acquire are only sent to the storage processing data block chain link different from synchronous base data Point, it is synchronous that the block chain link for only making storage processing data wrong clicks through row data.
In an alternate embodiment of the present invention where, described that the locally stored locally stored processing data are counted It may include: to update the storage stored in local block chain according to the synchronous base data to handle data according to synchronization.
In embodiments of the present invention, the block chain node for receiving synchronous base data can use synchronous base data more The storage processing data stored in new local block chain, to realize that data are synchronous.
In an alternate embodiment of the present invention where, described updated in local block chain according to the synchronous base data is deposited The storage of storage handles data, may include: described when storing in the determining synchronous base data and local block chain When storage processing data difference, the storage stored in local block chain is replaced using the synchronous base data and handles number According to.
In embodiments of the present invention, it after each block chain node receives synchronous base data, can first determine whether to synchronize Whether reference data and the storage processing data being locally stored are identical, identical, without synchronizing, otherwise use synchronous base Data replace the storage processing data stored in local block chain and realize that data are synchronous.
In an alternate embodiment of the present invention where, described replaced in local block chain using the synchronous base data is deposited The storage of storage handles data, may include: to generate the new block comprising timestamp according to the synchronous base data to be added Local block chain.
Specifically, can be generated according to synchronous base data new comprising timestamp in the synchronous replacement of progress data Local block chain is added when user needs to obtain corresponding storage processing data according to inquiry identification information using cloud platform in block When, two different blocks of storage can be corresponded to by executing the synchronous block chain node of data for same inquiry identification information.It can With understanding, in same inquiry identification information two different blocks of corresponding storage, the block pair of data simultaneously operating generation The time answered is relatively new.It therefore, can be according to the newest block of timestamp acquisition time, and by the storage in the block Processing data are supplied to user.
In an alternate embodiment of the present invention where, the cloud platform synchronous method is executed according to the setting period.
Wherein, the setting period can be 1 day, 5 days or 7 days etc., can specifically be set according to actual needs, the present invention Embodiment is to this and is not limited.
In embodiments of the present invention, in order to guarantee reliability that data in the cloud platform based on block chain store, the present invention Cloud platform synchronous method provided by embodiment can be executed according to the setting period, to be in time updated wrong data.Phase It answers, after the cloud platform based on block chain synchronously completes, which can provide data access service for user, such as inquire, obtain Take or download corresponding data to be stored of encryption data etc. in storage processing data.
The embodiment of the present invention is by obtaining each block chain node in block chain network for same inquiry identification information Storage processing data obtain the storage processing data for meeting consistency checking condition as synchronous base to carry out consistency checking Data, according to synchronous base data, to storing in block chain node each in block chain network, identification information is corresponding deposits with inquiry Storage processing data carry out data and synchronize, alternatively, it is only synchronous to locally stored locally stored processing data progress data, it solves The inconsistent problem of storing data present in cloud platform based on block chain, to guarantee to deposit in the cloud platform based on block chain Store up the consistency and reliability of data.
Embodiment two
Fig. 2 is a kind of schematic diagram of cloud platform synchronization system based on block chain provided by Embodiment 2 of the present invention, such as Fig. 2 It is shown, the system comprises: data acquisition module 210, Data Verification module 220 and data simultaneous module 230, in which:
Data acquisition module 210 is directed to for presetting each block chain node in block chain link point acquisition block chain network The storage of same inquiry identification information handles data;
Data Verification module 220 determines that meeting consistency tests for carrying out consistency checking to storage processing data The storage processing data of card condition are as synchronous base data;
Data simultaneous module 230, for obtaining the synchronous base data of above-mentioned determination, according to the synchronous base data, To the storage corresponding with the inquiry identification information that is stored in the block chain node in the block chain network handle data into Row data are synchronous, alternatively, it is synchronous only to carry out data to the locally stored locally stored processing data.
The embodiment of the present invention is by obtaining each block chain node in block chain network for same inquiry identification information Storage processing data obtain the storage processing data for meeting consistency checking condition as synchronous base to carry out consistency checking Data, according to synchronous base data, to storing in block chain node each in block chain network, identification information is corresponding deposits with inquiry Storage processing data carry out data and synchronize, alternatively, it is only synchronous to locally stored locally stored processing data progress data, it solves The inconsistent problem of storing data present in cloud platform based on block chain, to guarantee to deposit in the cloud platform based on block chain Store up the consistency and reliability of data.
Optionally, the storage processing data include: the encryption data obtained after encrypting to data to be stored and institute State the corresponding browsing data of data to be stored and inquiry identification information corresponding with the data to be stored.
Optionally, Data Verification module 220 are specifically used for calculating encryption data or encryption in each storage processing data Cryptographic Hash of the cryptographic Hash of data and browsing data as each storage processing data, according to each storage processing data Cryptographic Hash carries out consistency checking.
Optionally, Data Verification module 220, specifically for calculating the cryptographic Hash of each storage processing data, according to each The cryptographic Hash of the storage processing data carries out consistency checking.
Optionally, the consistency checking condition includes: that the consistent ratio of cryptographic Hash of each storage processing data is super Cross setting numerical value.
Optionally, data simultaneous module 230, specifically for the synchronous base data are sent to the block chain link Point is handled so that each block chain node updates the storage stored in local block chain according to the synchronous base data Data.
Optionally, data simultaneous module 230 are deposited specifically for being updated in local block chain according to the synchronous base data The storage of storage handles data.
Optionally, data simultaneous module 230, specifically for being deposited when in the determining synchronous base data and local block chain When the storage of storage handles data difference, the storage stored in local block chain is replaced using the synchronous base data Handle data.
Optionally, data simultaneous module 230, it is new comprising timestamp specifically for being generated according to the synchronous base data Local block chain is added in block.
Optionally, the cloud platform synchronous method is executed according to the setting period.
The above-mentioned cloud platform synchronization system based on block chain can be performed provided by any embodiment of the invention based on block The cloud platform synchronous method of chain has the corresponding functional module of execution method and beneficial effect.It is not detailed in the present embodiment to retouch The technical detail stated, reference can be made to the cloud platform synchronous method based on block chain that any embodiment of that present invention provides.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention three provides.Fig. 3, which is shown, to be suitable for being used to Realize the block diagram of the computer equipment 312 of embodiment of the present invention.The computer equipment 312 that Fig. 3 is shown is only an example, Should not function to the embodiment of the present invention and use scope bring any restrictions.Equipment 312 typically undertakes block catenary system The calculating equipment of nodal function.
As shown in figure 3, computer equipment 312 is showed in the form of universal computing device.The component of computer equipment 312 can To include but is not limited to: one or more processor 316, storage device 328 connect different system components (including storage dress Set 328 and processor 316) bus 318.
Bus 318 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (Industry Standard Architecture, ISA) bus, microchannel architecture (Micro Channel Architecture, MCA) bus, enhancing Type isa bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local Bus and peripheral component interconnection (Peripheral Component Interconnect, PCI) bus.
Computer equipment 312 typically comprises a variety of computer system readable media.These media can be it is any can The usable medium accessed by computer equipment 312, including volatile and non-volatile media, moveable and immovable Jie Matter.
Storage device 328 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (Random Access Memory, RAM) 330 and/or cache memory 332.Computer equipment 312 can be into One step includes other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, it deposits Storage system 334 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 3 do not show, commonly referred to as " hard drive Device ").Although being not shown in Fig. 3, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided and driven Dynamic device, and to removable anonvolatile optical disk (such as CD-ROM (Compact Disc-Read Only Memory, CD- ROM), digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driver can pass through one or more data media interfaces and bus 318 It is connected.Storage device 328 may include at least one program product, which has one group of (for example, at least one) program Module, these program modules are configured to perform the function of various embodiments of the present invention.
Program 336 with one group of (at least one) program module 326, can store in such as storage device 328, this The program module 326 of sample includes but is not limited to operating system, one or more application program, other program modules and program It may include the realization of network environment in data, each of these examples or certain combination.Program module 326 usually executes Function and/or method in embodiment described in the invention.
Computer equipment 312 can also with one or more external equipments 314 (such as keyboard, sensing equipment, camera, Display 324 etc.) communication, the equipment interacted with the computer equipment 312 communication can be also enabled a user to one or more, And/or with any equipment (such as net that the computer equipment 312 is communicated with one or more of the other calculating equipment Card, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 322.Also, computer Equipment 312 can also pass through network adapter 320 and one or more network (such as local area network (Local Area Network, LAN), wide area network Wide Area Network, WAN) and/or public network, such as internet) communication.As schemed Show, network adapter 320 is communicated by bus 318 with other modules of computer equipment 312.Although should be understood that in figure not It shows, other hardware and/or software module can be used in conjunction with computer equipment 312, including but not limited to: microcode, equipment Driver, redundant processing unit, external disk drive array, disk array (Redundant Arrays of Independent Disks, RAID) system, tape drive and data backup storage system etc..
The program that processor 316 is stored in storage device 328 by operation, thereby executing various function application and number According to processing, such as realize the cloud platform synchronous method based on block chain provided by the above embodiment of the present invention.
That is, the processing unit is realized when executing described program: default block chain link point obtains in block chain network Each block chain node handles data for the storage of same inquiry identification information;Consistency is carried out to storage processing data to test Card determines the storage processing data for meeting consistency checking condition as synchronous base data;The machine obtains the same of above-mentioned determination Walk reference data, according to the synchronous base data, to stored in each block chain node in the block chain network with it is described It is synchronous to inquire the corresponding storage processing data progress data of identification information, alternatively, only to the locally stored locally stored place It is synchronous to manage data progress data.
Each block chain node in block chain link point acquisition block chain network is preset for same by the computer equipment The storage processing data of one inquiry identification information determine the storage processing for meeting consistency checking condition to carry out consistency checking Data are as synchronous base data, and the machine obtains the synchronous base data of above-mentioned determination, according to synchronous base data to block chain The storage processing data progress data corresponding with inquiry identification information stored in each block chain node in network are synchronous, alternatively, Data only are carried out to locally stored locally stored processing data to synchronize, and are solved and are deposited present in the cloud platform based on block chain The inconsistent problem of data is stored up, to guarantee the consistency and reliability of storing data in the cloud platform based on block chain.
Example IV
The embodiment of the present invention four also provides a kind of computer storage medium for storing computer program, the computer program It is same for executing any cloud platform based on block chain of the above embodiment of the present invention when being executed by computer processor One step process: default block chain link point obtains each block chain node in block chain network for the storage of same inquiry identification information Handle data;Consistency checking is carried out to storage processing data, determines the storage processing number for meeting consistency checking condition According to as synchronous base data;The machine obtains the synchronous base data of above-mentioned determination, according to the synchronous base data, to described Storage corresponding with the inquiry identification information processing data stored in each block chain node in block chain network carry out data It is synchronous, alternatively, it is synchronous only to carry out data to the locally stored locally stored processing data.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (Read Only Memory, ROM), erasable programmable read only memory ((Erasable Programmable Read Only Memory, EPROM) or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic Memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium, which can be, any includes Or the tangible medium of storage program, which can be commanded execution system, device or device use or in connection make With.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, radio frequency (Radio Frequency, RF) etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language --- such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (13)

1. a kind of cloud platform synchronous method based on block chain is applied to block chain node characterized by comprising
Default block chain link point obtains each block chain node in block chain network and is directed at the storage of same inquiry identification information Manage data;
Consistency checking is carried out to storage processing data, determines the storage processing data conduct for meeting consistency checking condition Synchronous base data;
The machine obtains the synchronous base data of above-mentioned determination, according to the synchronous base data, in the block chain network Storage corresponding with the inquiry identification information processing data progress data stored in block chain node are synchronous, alternatively, only right It is synchronous that the locally stored locally stored processing data carry out data.
2. the method according to claim 1, wherein the storage processing data include: to data to be stored into Encryption data, the browsing data corresponding with the data to be stored and corresponding with the data to be stored obtained after row encryption Inquiry identification information.
3. according to the method described in claim 2, it is characterized in that, carrying out consistency checking, packet to storage processing data It includes:
The cryptographic Hash of encryption data or encryption data and browsing data is calculated in each storage processing data described to deposit as each The cryptographic Hash of storage processing data carries out consistency checking according to the cryptographic Hash of each storage processing data.
4. according to the method described in claim 2, it is characterized in that, carrying out consistency checking, packet to storage processing data It includes:
The cryptographic Hash for calculating each storage processing data carries out consistency according to the cryptographic Hash of each storage processing data and tests Card.
5. the method according to claim 3 or 4, which is characterized in that the consistency checking condition includes: each storage The consistent ratio of cryptographic Hash for handling data is more than setting numerical value.
6. the method according to claim 1, wherein described according to the synchronous base data, to the block Storage corresponding with the inquiry identification information processing data progress data stored in block chain node in chain network are synchronous, Include:
The synchronous base data are sent to the block chain node, so that the block chain node is according to the synchronous base Data update the storage processing data stored in local block chain.
7. the method according to claim 1, wherein described to the locally stored locally stored processing data It is synchronous to carry out data, comprising:
The storage stored in local block chain, which is updated, according to the synchronous base data handles data.
8. method according to claim 6 or 7, which is characterized in that described to be updated locally according to the synchronous base data The storage processing data stored in block chain, comprising:
When determining that the storage stored in the synchronous base data and local block chain handles data difference, using described Synchronous base data replace the storage processing data stored in local block chain.
9. according to the method described in claim 8, it is characterized in that, described replace local block using the synchronous base data The storage processing data stored in chain, comprising:
The new block comprising timestamp is generated according to the synchronous base data, and local block chain is added.
10. the method according to claim 1, wherein the cloud platform synchronous method is executed according to the setting period.
11. a kind of cloud platform synchronization system based on block chain characterized by comprising
Data acquisition module, for presetting each block chain node in block chain link point acquisition block chain network for same inquiry The storage of identification information handles data;
Data Verification module carries out consistency checking to storage processing data for presetting block chain link point, determines and meet The storage processing data of consistency checking condition are as synchronous base data;
Data simultaneous module obtains the synchronous base data of above-mentioned determination for the machine, according to the synchronous base data, to institute Storage corresponding with the inquiry identification information processing data stored in the block chain node in block chain network are stated to be counted According to synchronization, alternatively, it is synchronous only to carry out data to the locally stored locally stored processing data.
12. a kind of computer equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now cloud platform synchronous method based on block chain as described in any in claim 1-10.
13. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is one or more The cloud platform synchronous method based on block chain as described in any in claim 1-10 is realized when processor executes.
CN201811214588.5A 2018-10-18 2018-10-18 Cloud platform synchronization method, system, equipment and storage medium based on block chain Active CN109522363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811214588.5A CN109522363B (en) 2018-10-18 2018-10-18 Cloud platform synchronization method, system, equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811214588.5A CN109522363B (en) 2018-10-18 2018-10-18 Cloud platform synchronization method, system, equipment and storage medium based on block chain

Publications (2)

Publication Number Publication Date
CN109522363A true CN109522363A (en) 2019-03-26
CN109522363B CN109522363B (en) 2021-02-05

Family

ID=65772116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811214588.5A Active CN109522363B (en) 2018-10-18 2018-10-18 Cloud platform synchronization method, system, equipment and storage medium based on block chain

Country Status (1)

Country Link
CN (1) CN109522363B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947855A (en) * 2019-04-03 2019-06-28 上海中商网络股份有限公司 Data synchronizing processing method, device, server and storage medium
CN110083610A (en) * 2019-04-29 2019-08-02 百度在线网络技术(北京)有限公司 Data processing method, device, system, trust computing device, equipment and medium
CN110379474A (en) * 2019-06-18 2019-10-25 武汉联影医疗科技有限公司 Medical data management method, system, device, computer equipment and storage medium
CN110457389A (en) * 2019-07-12 2019-11-15 南京邮电大学 A kind of underlay approach that block chain multichain data information is synchronous
CN111291062A (en) * 2020-01-21 2020-06-16 腾讯科技(深圳)有限公司 Data synchronous writing method and device, computer equipment and storage medium
CN111698345A (en) * 2020-06-10 2020-09-22 山东伏羲智库互联网研究院 Domain name query method, recursive server and storage medium
CN112152981A (en) * 2019-06-29 2020-12-29 华为技术有限公司 Communication method, node and communication system
CN112383537A (en) * 2020-11-11 2021-02-19 杭州甘道智能科技有限公司 Trusted block chain uplink method and user application uplink system
CN116996222A (en) * 2023-09-27 2023-11-03 江西财经大学 Data security transmission method and device, readable storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230851A (en) * 2016-08-29 2016-12-14 中金云金融(北京)大数据科技股份有限公司 Data security method based on block chain and system
WO2018154082A1 (en) * 2017-02-24 2018-08-30 Buisson Gilles System and method for processing a banking transaction
CN108550038A (en) * 2018-04-18 2018-09-18 杭州秘猿科技有限公司 A kind of data dissemination system and method applied to block chain
WO2018170462A1 (en) * 2017-03-16 2018-09-20 Vector Launch Inc. Distributed blockchain data management in a satellite environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230851A (en) * 2016-08-29 2016-12-14 中金云金融(北京)大数据科技股份有限公司 Data security method based on block chain and system
WO2018154082A1 (en) * 2017-02-24 2018-08-30 Buisson Gilles System and method for processing a banking transaction
WO2018170462A1 (en) * 2017-03-16 2018-09-20 Vector Launch Inc. Distributed blockchain data management in a satellite environment
CN108550038A (en) * 2018-04-18 2018-09-18 杭州秘猿科技有限公司 A kind of data dissemination system and method applied to block chain

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947855B (en) * 2019-04-03 2023-11-24 上海中商网络股份有限公司 Data synchronous processing method, device, server and storage medium
CN109947855A (en) * 2019-04-03 2019-06-28 上海中商网络股份有限公司 Data synchronizing processing method, device, server and storage medium
CN110083610A (en) * 2019-04-29 2019-08-02 百度在线网络技术(北京)有限公司 Data processing method, device, system, trust computing device, equipment and medium
CN110379474A (en) * 2019-06-18 2019-10-25 武汉联影医疗科技有限公司 Medical data management method, system, device, computer equipment and storage medium
CN112152981B (en) * 2019-06-29 2021-11-19 华为技术有限公司 Communication method, node and communication system
CN112152981A (en) * 2019-06-29 2020-12-29 华为技术有限公司 Communication method, node and communication system
WO2021000802A1 (en) * 2019-06-29 2021-01-07 华为技术有限公司 Communication method, node, and communication system
CN110457389A (en) * 2019-07-12 2019-11-15 南京邮电大学 A kind of underlay approach that block chain multichain data information is synchronous
CN110457389B (en) * 2019-07-12 2023-06-02 南京邮电大学 Bottom layer method for synchronizing information of block chain multi-chain data
CN111291062B (en) * 2020-01-21 2023-01-10 腾讯科技(深圳)有限公司 Data synchronous writing method and device, computer equipment and storage medium
CN111291062A (en) * 2020-01-21 2020-06-16 腾讯科技(深圳)有限公司 Data synchronous writing method and device, computer equipment and storage medium
CN111698345B (en) * 2020-06-10 2022-09-20 山东伏羲智库互联网研究院 Domain name query method, recursive server and storage medium
CN111698345A (en) * 2020-06-10 2020-09-22 山东伏羲智库互联网研究院 Domain name query method, recursive server and storage medium
CN112383537B (en) * 2020-11-11 2022-06-03 杭州甘道智能科技有限公司 Trusted block chain uplink method and user application uplink system
CN112383537A (en) * 2020-11-11 2021-02-19 杭州甘道智能科技有限公司 Trusted block chain uplink method and user application uplink system
CN116996222A (en) * 2023-09-27 2023-11-03 江西财经大学 Data security transmission method and device, readable storage medium and electronic equipment
CN116996222B (en) * 2023-09-27 2023-12-12 江西财经大学 Data security transmission method and device, readable storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109522363B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN109522363A (en) Cloud platform synchronous method, system, equipment and storage medium based on block chain
CN106843828B (en) Interface display and loading method and device
US20170123848A1 (en) Multi-task processing in a distributed storage network
US10372357B2 (en) Securely recovering stored data in a dispersed storage network
JP2022062705A (en) Computer-implemented methods, computer systems and programs for generating blockchain-implemented data migration audit trail (blockchain-implemented data migration audit trail)
CN109522330A (en) Cloud platform data processing method, device, equipment and medium based on block chain
CN108959621A (en) A kind of implementation method, device, equipment and the storage medium of block chain network
CN108990002A (en) A kind of block chain data processing method, device, terminal and storage medium
US7984194B2 (en) Dynamically configurable switch for distributed test lab
US11244311B2 (en) Decentralized smart resource sharing between different resource providers
WO2021094879A1 (en) Secure federation of distributed stochastic gradient descent
US10897499B2 (en) Resolving status and synchronization discrepancies in a distributed computing environment using blockchains
CN110417502A (en) A kind of block chain nodal clock common recognition method and device
CN109768975A (en) Cross-platform access method, apparatus and storage medium in open source system
US11250141B2 (en) Securely storing data in an elastically scalable dispersed storage network
US11907824B2 (en) Storage network with system registry file verification
CN109194651A (en) A kind of identity identifying method, device, equipment and storage medium
CN109063049A (en) A kind of account processing method, device, equipment and the storage medium of block chain network
CN111814083B (en) Display result generation method, system, device, readable storage medium and equipment
WO2022228335A1 (en) Input-encoding with federated learning
US20220188179A1 (en) Modifying Encoded Data In A Distributed Storage Network
CN102282564B (en) Information processing device and information processing method
US20180018191A1 (en) Virtual Machine Seed Image Replication through Parallel Deployment
CN110442601A (en) A kind of method and apparatus that Openstack mirror image data accelerates parallel
US20170163726A1 (en) Primary device selection at operating system initialization

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