CN109359973A - Data based on block chain deposit card method and apparatus - Google Patents

Data based on block chain deposit card method and apparatus Download PDF

Info

Publication number
CN109359973A
CN109359973A CN201810975342.3A CN201810975342A CN109359973A CN 109359973 A CN109359973 A CN 109359973A CN 201810975342 A CN201810975342 A CN 201810975342A CN 109359973 A CN109359973 A CN 109359973A
Authority
CN
China
Prior art keywords
block
data
chain
target data
common recognition
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.)
Pending
Application number
CN201810975342.3A
Other languages
Chinese (zh)
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810975342.3A priority Critical patent/CN109359973A/en
Publication of CN109359973A publication Critical patent/CN109359973A/en
Priority to TW108108445A priority patent/TWI709868B/en
Priority to PCT/CN2019/092887 priority patent/WO2020038105A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

One or more embodiments of this specification provide a kind of data based on block chain and deposit card method and apparatus, the above method includes: the candidate block for receiving destination node and proposing, the block head of the candidate block includes the metadata of target data, and the block body of the candidate block includes the content of the target data;It initiates to handle the common recognition of the candidate block;The common recognition passed through in response to candidate block common recognition processing using the candidate block as newest block as a result, store to the distributed data base of the block chain, to complete to deposit card for the data of the target data.

Description

Data based on block chain deposit card method and apparatus
Technical field
This specification is related to network communication technology field more particularly to a kind of data based on block chain deposit card method and dress It sets.
Background technique
In Internet information age, information flow is very more and true and false mixing, many mistake deceptive information cause user to be difficult to Effectively true available information is screened, a relatively common scene is all kinds of house property information nets, and a set of source of houses may have multiple Intermediary's publication, and the information of each intermediary publication is not quite similar, which such user is difficult to differentiate between and is only true information.
Summary of the invention
In view of the above-mentioned problems, present description provides a kind of data based on block chain to deposit card method, comprising:
The candidate block that destination node is proposed is received, the block head of the candidate block includes the metadata of target data, The block body of the candidate block includes the content of the target data;
It initiates to handle the common recognition of the candidate block;
The common recognition passed through is handled as a result, depositing the candidate block as newest block in response to the candidate block common recognition It stores up to the distributed data base of the block chain, to complete to deposit card for the data of the target data.
More preferably, the metadata includes the unique identification of the target data;Alternatively, unique mark of the target data The data summarization of knowledge.
More preferably, the block body of the candidate block includes the target data of instantiation.
More preferably, the method also includes:
When the either objective block on the block chain is connected with multiple sub-blocks, branch where the multiple sub-block is counted The quantity of sub-block on chain;
The branch that the quantity of the sub-block is first reached to preset threshold is determined as the main chain of the block chain.
More preferably, the target data is house property data, and the metadata of the target data includes house property address, Huo Zhefang The data summarization of place of production location.
More preferably, the block chain is alliance's chain, and the allied member of alliance's chain includes house property medium company.
More preferably, the common recognition processing is carried out based on PBFT algorithm.
This specification additionally provides a kind of target data based on block chain and deposits card device, comprising:
Receiving unit receives the candidate block that destination node is proposed, the block head of the candidate block includes target data Metadata, the block body of the candidate block includes the content of the target data;
Common recognition unit is initiated, initiates to handle the common recognition of the candidate block;
Storage unit, in response to the candidate block common recognition common recognition that passes through of processing as a result, using the candidate block as Newest block is stored to the distributed data base of the block chain, to complete to deposit card for the data of the target data.
More preferably, the metadata includes the unique identification of the target data;Alternatively, unique mark of the target data The data summarization of knowledge.
More preferably, the block body of the candidate block includes the target data of instantiation.
More preferably, described device further include:
Main chain determination unit, when the either objective block on the block chain is connected with multiple sub-blocks, statistics is described more The quantity of sub-block where a sub-block on branch;The quantity of the sub-block is first reached to the branch of preset threshold, is determined For the main chain of the block chain.
More preferably, the target data is house property data, and the metadata of the target data includes house property address, Huo Zhefang The data summarization of place of production location.
More preferably, the block chain is alliance's chain, and the allied member of alliance's chain includes house property medium company.
More preferably, the common recognition processing is carried out based on PBFT algorithm.
Correspondingly, this specification additionally provides a kind of computer equipment, comprising: memory and processor;The memory On be stored with can by processor run computer program;When the processor runs the computer program, base as above is executed Step described in card method is deposited in the data of block chain.
Correspondingly, this specification additionally provides a kind of computer readable storage medium, is stored thereon with computer program, institute When stating computer program and being run by processor, the step as described in the above-mentioned data based on block chain deposit card method is executed.
Card method, apparatus, computer equipment and computer are deposited using the data based on block chain provided by this specification Readable storage medium storing program for executing using the block chain distributed data base storage of decentralization, deposits card data information, has abandoned centralization number Any change to data information being likely to occur is stored according to library;Identification is carried out to data using the common recognition processing of block chain to deposit Card, avoid user in different network platform servers to the situation described in same target (such as house property) be not quite similar without Which knows for true defect;And in multiple embodiments that this specification provides, the meta-data preservation of data information is existed In block head, any inspection of the block chain node device to target data information is more convenient for including the light node of block chain Rope.
Detailed description of the invention
Fig. 1 is the process that a kind of data based on block chain that one exemplary embodiment of this specification provides deposit card method Figure;
Fig. 2 is in the block that the block chain for depositing card for house property information that one exemplary embodiment of this specification provides includes Hold schematic diagram;
Fig. 3 is the signal that a kind of data based on block chain that one exemplary embodiment of this specification provides deposit card device Figure;
Fig. 4 is a kind of hardware configuration for running the data based on block chain provided by this specification and depositing card device embodiment Figure.
Specific embodiment
Block chain technology is also referred to as distributed account book technology, is that one kind is participated in " remembering jointly by several calculating equipment Account ", the emerging technology of common a complete distributed data base of maintenance.Since block chain technology has decentralization, openly Transparent, every calculating equipment can participate in data-base recording and respectively calculate that data synchronization can be rapidly performed by between equipment Characteristic so that block chain technology is widely applied in numerous fields.
To overcome in existing internet, same data information by issuing and problem hard to tell whether it is true or false in many ways, this explanation Book provides a kind of data based on block chain and deposits card method.As shown in Figure 1, the embodiment that this specification provides illustrates one kind Data based on block chain deposit card method, comprising:
Step 102, the candidate block that destination node is proposed is received, the block head of the candidate block includes target data Metadata, the block body of the candidate block include the content of the target data.
Described in the embodiment that this specification provides " block chain ", it specifically can refer to each node and reached by common recognition mechanism , P2P network system with Distributed Storage structure, and the data in the system by Encryption Algorithm carry out storage or It transmits, within the data distribution in the block chain connected in time " block (block) " one by one, before latter block includes The data summarization of one block, and according to the difference of specific common recognition mechanism (such as POW, POS, DPOS or PBFT), reach whole Or the data full backup of part of nodes.Those skilled in the art is known, since block catenary system is transported under corresponding common recognition mechanism Row, included to the data in block chain database and be difficult to be distorted by arbitrary node, for example, by using Pow common recognition block chain, The attack at least needing the whole network 51% to calculate power is possible to distort data with existing, therefore block catenary system has other centralization numbers According to library system it is incomparable guarantee data security, the characteristic that attack protection is distorted.By will card be deposited data (number of targets According to) be stored on block chain, the approval by the know together all members or most of member that reach the block chain to data can have Imitate the problem for preventing the data on internet above-mentioned hard to tell whether it is true or false.
This specification provide embodiment may operate in it is any have calculate and storage capacity equipment on, as mobile phone, The equipment such as tablet computer, PC (Personal Computer, PC), notebook, server;It can also be by operating in two The logical nodes of a or more than two equipment realizes the various functions in this specification embodiment.
Destination node in above-described embodiment refers to the node in above-mentioned block chain with data offers permission, number of targets According to referring to wait deposit the data for demonstrate,proving the block body into block chain.The candidate block that the node is proposed includes block head and block body.Area Build usually encapsulates the block of the current version number of the block catenary system, the address of previous block or data summarization, this block Data summarization (the Merkel Root such as to trade) information of body, is not construed as limiting in the present specification.In reality provided by the invention It applies in example, the block head of candidate block is also packaged with the metadata of target data, to describe the target data of above-mentioned card to be deposited.
Metadata mainly describes data attribute (property) for the data (data about data) for describing data Information, for support such as indicate storage location, historical data, resource lookup, file record function.It is encapsulated in block head The metadata of target data, and data in block head such as block abstract, metadata etc. can be used as retrieval object, can be used Easily know that the target data content of card, the retrieval convenient for target data content, lookup are included or deposited to the block in family.And And the user of some block catenary systems, it is limited to itself permission or hardware configuration, is selected in locally-installed light joint form Client, which usually only saves the block head data of the block of block chain whithin a period of time, for previous Block head is only packaged with the mathematics abstract of included transaction in the block abstract of father's block of this block and the block body of this block The case where, light node users can not know it in the overview of the target data of the deposited card of block chain locally saved;This explanation The metadata information encapsulation of target data is stored in the embodiment of block head provided by book embodiment, it can be more convenient Access and retrieval of the above-mentioned light node users to block chain institute storing data.
In above-described embodiment that this specification provides, it should be deposited in the block body for the candidate block that the node of block chain is proposed The content of the target data is demonstrate,proved, those skilled in the art is apparent from, and the content of above-mentioned target data is in the form of " transaction " It is stored in block body.Transaction (transfer) described in this specification refers to that user passes through the client of block chain Creation, and a data for needing finally to be distributed in the distributed data base of block chain.Wherein, the transaction in block chain, is deposited In point of the transaction of the transaction and broad sense of narrow sense.The transaction of narrow sense refers to the value Transfer that user issues to block chain; For example, transaction can be one that user initiates in block chain and transfer accounts in traditional bit coin block chain network.And broad sense Transaction refer to a business datum being intended to business that user issues to block chain;For example, operator can be based on real The business demand on border builds alliance's chain, rely on alliance's chain dispose it is some unrelated with value Transfer other types of online Business (for example, business of renting a house, vehicle scheduling business, settlement of insurance claim business, credit services, medical services etc.), and this kind of In alliance's chain, transaction can be the service message or service request with business intention that user issues in alliance's chain. The particular content of the transaction is not limited in the present specification, the target data of any form or content can be used as transaction and deposit card In block chain described in this specification.
Step 104, it initiates to handle the common recognition of the candidate block.
After each node device of above-mentioned block chain receives candidate block, which should be initiated to candidate block Common recognition processing.This specification does not limit above-mentioned common recognition and handles followed common recognition mechanism criterion, any to be able to achieve this explanation The common recognition mechanism or common recognition algorithm of technical solution described in the embodiment that book provides, in the range of this specification is protected.
Hereinafter, this specification by taking PBFT knows together algorithm as an example, sketches the above-mentioned common recognition treatment process to candidate block.Alliance Chain usually selects PBFT as the common recognition mechanism of itself, to increase the handling capacity of network.
When realizing, before each round common recognition of block chain starts, can be selected in each node device in block chain Enumerate a host node device (for example, each round common recognition all re-elects out a host node device, other node devices be used as from Node device), it knows together from host node device to transaction is initiated, and be responsible for the transaction data (or target data) passed through based on common recognition For the newest block of block chain creation.
For example, being based on Pbft algorithm, before alliance's chain each round common recognition starts, it can be based on formula below, for this Wheel formula calculates a host node device:
P=v mod R
Wherein, P indicates the master node number of calculated epicycle common recognition;V indicates the current view number of alliance's chain;View Number is usually the integer of a serial number, indicates that alliance's chain is successfully completed the wheel number of common recognition;For example, successfully completing One wheel common recognition can be by view number certainly after the host node device elected is successfully written a new block to alliance's chain It is dynamic to add 1.R indicates the total quantity of the node device in alliance's chain.
Each node device can execute the above calculating respectively, and by the number of calculated master node number and this equipment It is matched, to determine whether this equipment is elected as host node device.
On the one hand, if a node device determines that this equipment is not elected as host node device, can will receive by Each node device of the transaction that client is submitted into alliance's chain carries out broadcast transmission.
On the other hand, if a node device determines that this equipment is elected as host node device, each use can be collected The transaction of family client broadcast transmission within the common recognition period of epicycle, and based on the transaction being collected into, to create transaction List Table. At this point, the transaction List Table of creation is the transaction data for carrying out common recognition processing that host node device is proposed.
Pbft algorithm generally can be divided into pre-preparation (pre-prepare), prepare (prepare) and confirmation (commit) etc. Three phases.
Host node device carries transaction List Table in Pre-Prepare message, and then the Pre-Prepare message exists Broadcast transmission is carried out in each node device in alliance's chain, complete transaction List Table is propagated in alliance's chain and needs to participate in hand over The slave node device easily known together.
The slave node device for receiving above-mentioned Pre-Prepare message, can follow the regulation of pbft algorithm first, to receiving Pre-Prepare message verified, to determine whether to receive the Pre-Prepare message that receives.
Wherein, in the present specification, the Pre-Prepare message received is verified, as to the Pre- received The process that the content carried in Prepare message is verified;
Such as, it then follows the regulation of pbft algorithm can carry transaction data to be known together in Pre-Prepare message The information such as (being target data in this specification), view number v, digital signature.Correspondingly, in the present specification, to Pre- When Prepare message is verified, verification process below can be specifically executed:
1) it verifies view number V and whether the view number of local record is consistent;
2) digital signature in Pre-Prepare message is verified;
3) validation verification is carried out to the target data carried in Pre-Prepare message;
The above-mentioned validation verification to target data, it can be understood as it is each from node device to the accurate of target data Property, validity etc. verified, before target data is formally indexed to above-mentioned block chain, to obtain portion by area (in PBFT algorithm, the approval of at least 2F+1 member, F is visiing for the block catenary system for the approval of most members of block chain Account for the fault-tolerant number in front yard) target data.
When the node device for receiving above-mentioned Pre-Prepare message, after executing verification process out listed above, if It is verified, indicates that the node device receives above-mentioned Pre-Prepare message (approving to above-mentioned target data), at this time the node Equipment can enter the Prepare stage of pbft agreement, other each node device broadcast transmissions one into alliance's chain with In the Prepare message confirmed to above-mentioned Pre-Prepare message;Wherein, the content carried in above-mentioned Prepare message Format can be consistent with above-mentioned Pre-Prepare message.Each node device also can receive by other respectively from node device The Prepare message of broadcast transmission is verified to Prepare message is received, to determine whether that the Prepare for receiving to receive disappears Breath.Wherein, it to the detailed process for receiving Prepare message and being verified, can be verified with reference pair Pre-Prepare message Detailed process, no longer repeated in the present specification.
Node device in alliance's chain other each node device broadcast transmission commit message into alliance's chain it Afterwards, it also can receive by the commit Messages Message of other each node device broadcast transmissions, test commit message is received Card, to determine whether the commit message for receiving to receive.
Wherein, the content format carried in above-mentioned commit message, can disappear with Pre-Prepare message and Prepare Breath is consistent.It wherein, can be with reference pair Pre-Prepare message to the detailed process for receiving commit message and being verified The detailed process verified, is no longer repeated in the present specification.
If the verification passes, indicate that the node device receives the commit message received, which can also be into one Step determines the quantity of the commit message by other each node device broadcast transmissions received, if reach 2F+1 (including Including the commit message of own broadcast), F is the Byzantine failure tolerance number of the block catenary system.
By above common recognition process, all node devices of block chain obtain portion and approve through most of node devices Target data, avoid user in different network platform servers to the situation of the target data of same target description not It uses up identical and which does not know for true defect.
Step 106, the common recognition passed through is handled as a result, using the candidate block as most in response to the candidate block common recognition New block is stored to the distributed data base of the block chain, to complete to deposit card for the data of the target data.
The mechanism of common recognition treatment mechanism and the distributed storage backup of block chain ensures that any user is difficult to the approval Target data afterwards is distorted, and deposits card to obtain authentic and valid data for user and provide.For example, by using Pow common recognition Block chain, the attack at least needing the whole network 51% to calculate power is possible to distort data with existing, therefore block catenary system has other Centralization Database Systems it is incomparable guarantee data security, the characteristic that attack protection is distorted.It is above-mentioned using PBFT common recognition Block chain has reached full chain to the strongly consistent of transaction data, therefore keep away by host node and the confirmation from node to transaction data Exempt from user to be not quite similar to the situation of the target data description of same target in different network platform servers and do not know Which is true defect.By the way that the data (target data) of card to be deposited are stored on block chain, this is reached by common recognition The approval of all members of block chain or most of member to data, the true and false difficulty of data that can be effectively prevent on internet above-mentioned The problem of distinguishing
In the another embodiment shown, the metadata information for the target data included packaged by above-mentioned block head includes mesh The data summarization for marking the unique identification of data or the unique identification of target data, is more convenient for block chain client user Retrieval to the included information of block chain.
It is below for house property information deposits the business scenario of card, to discuss the embodiment of the technical program by block chain. For the same feature of same house property, such as area, house type, quotation, should guarantee uniquely to describe in a network, it is any to prevent User occurs the difference description to the same feature of same house property information when inquiring house property information, hard to distinguish between the true and false.It is handed over to reduce Easy or target data acknowledging time improves transaction handling capacity, meets the needs of to safety and performance, usually selects alliance's chain frame Structure constructs the block chain.In the business scenario of above-mentioned dealing house property, the letter such as house property medium company, house transaction supervisory organ With higher mechanism, it can be used as allied member's node of alliance's chain, participate in the book keeping operation of block.For example, the common recognition of alliance's chain Journey can refer to above-mentioned according to the progress of the common recognition process of PBFT algorithm.Alliance's chain can be determined according to application scenarios to the public's Degree of opening gives the permission for accessing alliance's chain on limits focal pointe, and accessible node can be also divided into General node and light node, light node does not have the permission for participating in the book keeping operation of alliance's chain generally, and generally preserves alliance's chain and exist The block head data of block in one period, to save memory space.
PBFT algorithm as alliance's chain provided by this specification common recognition algorithm a kind of preferred embodiment, be by It is high-efficient in being known together using this kind of algorithm, can meet the needs of high frequency trading volume, such as each house property medium in the present embodiment Company frequently generates house property information (transaction);And the time delay of common recognition is very low, basically reaches the requirement handled in real time, it can quickly in real time Above-mentioned house property data information is included in the newborn block of block chain in ground;Moreover, by trusted node such as house property in alliance's chain network Accounting nodes of the regulatory agency of transaction as pre-selection, have taken into account safety and stability;In addition, will not be disappeared using PBFT algorithm It consumes excessive computer and calculates power resource, be also not necessarily required to that token circulates, therefore there is good workability.
Pass through the common recognition mechanism of block chain, it is ensured that for the same feature (offer in such as house of same house property information Breath), it is only deposited on block chain and demonstrate,proves a kind of description after member node is known together.Under above-mentioned business scenario, alliance's chain it is every The above-mentioned metamessage included in the block head of a block can be the address information of house property or the digital digest of house property address as breathed out Uncommon value can uniquely determine house property at one by the information due to the unique identification that the address information of house property is a house property.User The address information of the house property or the cryptographic Hash of house property address are retrieved in the block chain database comprising block head by client Afterwards, one or more block corresponding with the house property can be got, then to inquiry room in the block body of the block inquired The specifying information of production, such as house address, house property people's information, house type, area, price etc..
It is worth noting that, to deposit application of the card method in different business scene convenient for the data that this specification provides, The format that the target data information or Transaction Information for including in block body can be instantiated using foundation business scenario, for example, In the block body of the block chain of the above-mentioned business scenario for depositing card for house property information, as shown in Fig. 2, can be installed with for the interior of house property Set the instantiation content template including address, house type, area, house property people, quotation information;It further, can also be room The instantiation of the address setting in room such as " city xx of the xx province area the xx street the xx room xx " format describes, for house house type setting such as the " room xx xx Room xx defends xx balcony " etc. formats instantiation description, etc., consequently facilitating house property medium mechanism propose about a target house property Certain important informations will not be omitted when the candidate block of information, so that all information about the target house property information are protected There are in the same block, the access of more convenient user.
It is proposed in above embodiment, passes through the common recognition mechanism of block chain, it is ensured that for the same of same house property information Feature (quotation information in such as house), only deposits on block chain and demonstrate,proves a kind of description after member node is known together, but also not Exclude it is extremely individual in the case where, caused by the specific common recognition mechanism taken the block chain, different house property mediums The different descriptions of the same feature of same house property information are included to above-mentioned block chain, i.e., bifurcated occurs in above-mentioned block chain: There is a certain target block on the block chain and is connected with sub-block more than one.In this case, this specification One embodiment provide following scheme to solve above-mentioned bifurcation problem: when on the block chain either objective block connect Multiple sub-blocks are connected to, the quantity of the sub-block where counting the multiple sub-block on branch;By the quantity of the sub-block The branch for first reaching preset threshold is determined as the main chain of the block chain.The quantity of the block on branch after bifurcated is more, can It is faster to be expressed as approving the information common recognition included in the block on the branch, using the node member of block chain to bifurcated The degree of recognition of different sub-blocks and approval speed afterwards, quickly solve the bifurcation problem of block chain.
Above each embodiment that this specification provides is multiple members of block chain by the data included on block chain Node device common recognition obtained by mechanism, the target data to be included on block chain provide uniquely, can not be tampered deposit card; Moreover, the metadata information about target data is included in encapsulation in the block head of above-mentioned block chain, it is more convenient for above-mentioned The inquiry of target data obtains.
Corresponding with the realization of above-mentioned process, the embodiment of this specification additionally provides a kind of data based on block chain and deposits card dress It sets.The device can also be realized by software realization by way of hardware or software and hardware combining.It is implemented in software to be Example, is the CPU (Central Process Unit, central processing unit) by place equipment as the device on logical meaning Corresponding computer program instructions are read into memory what operation was formed.For hardware view, in addition to CPU shown in Fig. 4, Except memory and memory, the equipment where the data processing equipment also typically includes the core for carrying out wireless signal transmitting-receiving Other hardware such as piece, and/or for realizing other hardware such as board of network communicating function.
Fig. 3 show a kind of data based on block chain provided by this specification and deposits card device 30, comprising:
Receiving unit 302 receives the candidate block that destination node is proposed, the block head of the candidate block includes number of targets According to metadata, the block body of the candidate block includes the content of the target data;
Common recognition unit 304 is initiated, initiates to handle the common recognition of the candidate block;
Storage unit 306 handles the common recognition passed through as a result, the candidate block is made in response to the candidate block common recognition It stores for newest block to the distributed data base of the block chain, to complete to deposit card for the data of the target data.
More preferably, the metadata includes the unique identification of the target data;Alternatively, unique mark of the target data The data summarization of knowledge.
More preferably, the device 30, further includes:
Main chain determination unit 308, when the either objective block on the block chain is connected with multiple sub-blocks, described in statistics The quantity of sub-block where multiple sub-blocks on branch;The quantity of the sub-block is first reached to the branch of preset threshold, really It is set to the main chain of the block chain.
More preferably, the target data is house property data, and the metadata of the target data includes house property address, Huo Zhefang The data summarization of place of production location.
More preferably, the block chain is alliance's chain, and the allied member of alliance's chain includes house property medium company.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, the relevent part can refer to the partial explaination of embodiments of method, and details are not described herein.It is provided using this specification The data based on block chain deposit card device, using decentralization block chain distributed data base storage, deposit card data information, Any change to data information that centralization database purchase is likely to occur is abandoned;Utilize the common recognition mechanism logarithm of block chain Card is deposited according to identification is carried out, avoids user in different network platform servers to the situation described in same target (such as house property) It is not quite similar and which does not know for true defect;And in multiple embodiments that this specification provides, by data information Meta-data preservation is more convenient for including the light node of block chain any block chain node device to number of targets in block head It is believed that the retrieval of breath.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics mould Block, it can it is in one place, or may be distributed on multiple network modules.It can be selected according to the actual needs In some or all of unit or module realize the purpose of this specification scheme.Those of ordinary skill in the art are not paying In the case where creative work, it can understand and implement.
Device that above-described embodiment illustrates, unit, module can specifically be realized, Huo Zheyou by computer chip or entity Product with certain function is realized.A kind of typically to realize that equipment is computer, the concrete form of computer can be a People's computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation It is any several in equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of kind equipment.
Corresponding with above method embodiment, the embodiment of this specification additionally provides a kind of computer equipment, the calculating Machine equipment includes memory and processor.Wherein, the computer program that can be run by processor is stored on memory;Processing For device in the computer program of operation storage, data center deposits card side based on the data of block chain in execution this specification embodiment Each step of method.Before the detailed description for each step for depositing card method based on the data of block chain to data center refers to Content, be not repeated.
Corresponding with above method embodiment, the embodiment of this specification additionally provides a kind of computer-readable storage medium Matter is stored with computer program on the storage medium, and it is real to execute this specification when being run by processor for these computer programs Shi Lizhong data center deposits each step of card method based on the data of block chain.To the number based on data center based on block chain Content before referring to according to the detailed description for each step for depositing card method, is not repeated.
The foregoing is merely the preferred embodiments of this specification, all in this explanation not to limit this specification Within the spirit and principle of book, any modification, equivalent substitution, improvement and etc. done should be included in the model of this specification protection Within enclosing.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include temporary computer readable media (transitory media), such as modulation Data-signal and carrier wave.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can provide as the production of method, system or computer program Product.Therefore, the embodiment of this specification can be used complete hardware embodiment, complete software embodiment or combine software and hardware side The form of the embodiment in face.Moreover, it wherein includes that computer is available that the embodiment of this specification, which can be used in one or more, It is real in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form for the computer program product applied.

Claims (16)

1. a kind of data based on block chain deposit card method, comprising:
The candidate block that destination node is proposed is received, the block head of the candidate block includes the metadata of target data, described The block body of candidate block includes the content of the target data;
It initiates to handle the common recognition of the candidate block;
In response to the candidate block common recognition common recognition that passes through of processing as a result, using the candidate block as newest block store to The distributed data base of the block chain, to complete to deposit card for the data of the target data.
2. according to the method described in claim 1, the metadata includes the unique identification of the target data;Alternatively, described The data summarization of the unique identification of target data.
3. method according to claim 1 or 2, the block body of the candidate block includes the target data of instantiation.
4. method according to claim 1 or 2, the method also includes:
When the either objective block on the block chain is connected with multiple sub-blocks, where counting the multiple sub-block on branch Sub-block quantity;
The branch that the quantity of the sub-block is first reached to preset threshold is determined as the main chain of the block chain.
5. the metadata of the target data includes according to the method described in claim 1, the target data is house property data The data summarization of house property address or house property address.
6. the allied member of alliance's chain includes house property according to the method described in claim 5, the block chain is alliance's chain Intermediary company.
7. according to the method described in claim 6, common recognition processing is carried out based on PBFT algorithm.
8. a kind of target data based on block chain deposits card device, comprising:
Receiving unit receives the candidate block that destination node is proposed, the block head of the candidate block includes the member of target data Data, the block body of the candidate block include the content of the target data;
Common recognition unit is initiated, initiates to handle the common recognition of the candidate block;
Storage unit handles the common recognition passed through as a result, using the candidate block as newest in response to the candidate block common recognition Block is stored to the distributed data base of the block chain, to complete to deposit card for the data of the target data.
9. device according to claim 8, the metadata includes the unique identification of the target data;Alternatively, described The data summarization of the unique identification of target data.
10. device according to claim 8 or claim 9, the block body of the candidate block includes the target data of instantiation.
11. device according to claim 8 or claim 9, further includes:
Main chain determination unit counts the multiple son when the either objective block on the block chain is connected with multiple sub-blocks The quantity of sub-block where block on branch;The branch that the quantity of the sub-block is first reached to preset threshold is determined as institute State the main chain of block chain.
12. device according to claim 8, the target data is house property data, the metadata packet of the target data Include the data summarization of house property address or house property address.
13. device according to claim 12, the block chain is alliance's chain, and the allied member of alliance's chain includes room Produce intermediary company.
14. device according to claim 13, the common recognition processing is carried out based on PBFT algorithm.
15. a kind of computer equipment, comprising: memory and processor;Being stored on the memory can be by processor operation Computer program;When the processor runs the computer program, the side as described in claims 1 to 7 any one is executed Method.
16. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is run by processor When, execute the method as described in claims 1 to 7 any one.
CN201810975342.3A 2018-08-24 2018-08-24 Data based on block chain deposit card method and apparatus Pending CN109359973A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201810975342.3A CN109359973A (en) 2018-08-24 2018-08-24 Data based on block chain deposit card method and apparatus
TW108108445A TWI709868B (en) 2018-08-24 2019-03-13 Data storage method and device based on blockchain
PCT/CN2019/092887 WO2020038105A1 (en) 2018-08-24 2019-06-26 Blockchain-based data storage method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810975342.3A CN109359973A (en) 2018-08-24 2018-08-24 Data based on block chain deposit card method and apparatus

Publications (1)

Publication Number Publication Date
CN109359973A true CN109359973A (en) 2019-02-19

Family

ID=65349941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810975342.3A Pending CN109359973A (en) 2018-08-24 2018-08-24 Data based on block chain deposit card method and apparatus

Country Status (3)

Country Link
CN (1) CN109359973A (en)
TW (1) TWI709868B (en)
WO (1) WO2020038105A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070365A (en) * 2019-03-07 2019-07-30 阿里巴巴集团控股有限公司 Commodity based on block chain deposit card method and apparatus, electronic equipment
CN110166442A (en) * 2019-04-30 2019-08-23 阿里巴巴集团控股有限公司 A kind of data processing method and device based on block chain
CN110163753A (en) * 2019-04-23 2019-08-23 阿里巴巴集团控股有限公司 Houseclearing based on block chain deposits card, application method and device
CN110189122A (en) * 2019-04-30 2019-08-30 阿里巴巴集团控股有限公司 The method and device fixed time for the data anchor on block chain, electronic equipment
CN110321384A (en) * 2019-06-04 2019-10-11 阿里巴巴集团控股有限公司 A kind of data record method based on block chain, device and electronic equipment
CN110363527A (en) * 2019-06-26 2019-10-22 阿里巴巴集团控股有限公司 Card, monitoring and managing method and device are deposited based on block chain
CN110413691A (en) * 2019-07-18 2019-11-05 西安纸贵互联网科技有限公司 Database backup method, restoration methods and device based on block chain
WO2020038105A1 (en) * 2018-08-24 2020-02-27 阿里巴巴集团控股有限公司 Blockchain-based data storage method and apparatus
CN110879903A (en) * 2019-11-20 2020-03-13 北京海益同展信息科技有限公司 Evidence storage method, evidence verification method, evidence storage device, evidence verification device, evidence storage equipment and evidence verification medium
CN111400761A (en) * 2020-03-17 2020-07-10 吉林亿联银行股份有限公司 Data sharing method and device, storage medium and electronic equipment
WO2020169061A1 (en) * 2019-02-21 2020-08-27 腾讯科技(深圳)有限公司 Method for recording data block on blockchain, and leader accounting node and medium
WO2021253231A1 (en) * 2020-06-16 2021-12-23 Lenovo (Beijing) Limited Method and apparatus for blockchain-aware mobile vehicle communication

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542439B (en) * 2021-09-17 2021-12-07 深圳时空云科技有限公司 Distributed data storage access method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506638A (en) * 2016-11-04 2017-03-15 江苏通付盾科技有限公司 Block storage method and device in block chain
CN107729471A (en) * 2017-10-13 2018-02-23 上海策赢网络科技有限公司 A kind of block chain and its generation method and equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610578B (en) * 2016-01-25 2019-05-03 杭州复杂美科技有限公司 Block chain information deposits card and method for secret protection
US10360191B2 (en) * 2016-10-07 2019-07-23 International Business Machines Corporation Establishing overlay trust consensus for blockchain trust validation system
TWI629884B (en) * 2017-01-20 2018-07-11 現代財富控股有限公司 Node election system based on permissioned blockchain and method thereof
CN107450981B (en) * 2017-05-31 2020-04-24 创新先进技术有限公司 Block chain consensus method and equipment
CN107360238A (en) * 2017-07-25 2017-11-17 光载无限(北京)科技有限公司 Intelligent contract gateway based on block chain CPOW common recognition algorithms
CN109359973A (en) * 2018-08-24 2019-02-19 阿里巴巴集团控股有限公司 Data based on block chain deposit card method and apparatus
CN110096551A (en) * 2019-04-23 2019-08-06 浙江泰链科技有限公司 Credit data storage method, device, equipment and medium based on block chain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506638A (en) * 2016-11-04 2017-03-15 江苏通付盾科技有限公司 Block storage method and device in block chain
CN107729471A (en) * 2017-10-13 2018-02-23 上海策赢网络科技有限公司 A kind of block chain and its generation method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
乔蕊 等: "基于区块链技术的动态数据存储安全机制研究", 《计算机科学》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020038105A1 (en) * 2018-08-24 2020-02-27 阿里巴巴集团控股有限公司 Blockchain-based data storage method and apparatus
US11902446B2 (en) 2019-02-21 2024-02-13 Tencent Technology (Shenzhen) Company Limited Method for recording data block on blockchain, leader accounting node, and storage medium
KR102633548B1 (en) 2019-02-21 2024-02-02 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 Method of recording data blocks on blockchain, leader accounting node and medium
WO2020169061A1 (en) * 2019-02-21 2020-08-27 腾讯科技(深圳)有限公司 Method for recording data block on blockchain, and leader accounting node and medium
KR20210080550A (en) * 2019-02-21 2021-06-30 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 How to record data blocks in blockchain, leader accounting node and medium
CN110070365B (en) * 2019-03-07 2021-12-07 创新先进技术有限公司 Commodity evidence storing method and device based on block chain and electronic equipment
CN110070365A (en) * 2019-03-07 2019-07-30 阿里巴巴集团控股有限公司 Commodity based on block chain deposit card method and apparatus, electronic equipment
CN110163753A (en) * 2019-04-23 2019-08-23 阿里巴巴集团控股有限公司 Houseclearing based on block chain deposits card, application method and device
CN110166442A (en) * 2019-04-30 2019-08-23 阿里巴巴集团控股有限公司 A kind of data processing method and device based on block chain
CN110189122A (en) * 2019-04-30 2019-08-30 阿里巴巴集团控股有限公司 The method and device fixed time for the data anchor on block chain, electronic equipment
CN110321384A (en) * 2019-06-04 2019-10-11 阿里巴巴集团控股有限公司 A kind of data record method based on block chain, device and electronic equipment
CN110321384B (en) * 2019-06-04 2023-07-28 创新先进技术有限公司 Block chain-based data recording method and device and electronic equipment
CN110363527A (en) * 2019-06-26 2019-10-22 阿里巴巴集团控股有限公司 Card, monitoring and managing method and device are deposited based on block chain
CN110363527B (en) * 2019-06-26 2023-07-04 创新先进技术有限公司 Block chain-based evidence storage and supervision method and device
CN110413691A (en) * 2019-07-18 2019-11-05 西安纸贵互联网科技有限公司 Database backup method, restoration methods and device based on block chain
CN110879903A (en) * 2019-11-20 2020-03-13 北京海益同展信息科技有限公司 Evidence storage method, evidence verification method, evidence storage device, evidence verification device, evidence storage equipment and evidence verification medium
CN110879903B (en) * 2019-11-20 2024-02-02 京东科技信息技术有限公司 Evidence storage method, evidence verification method, evidence storage device, evidence verification equipment and evidence verification medium
CN111400761B (en) * 2020-03-17 2022-04-22 吉林亿联银行股份有限公司 Data sharing method and device, storage medium and electronic equipment
CN111400761A (en) * 2020-03-17 2020-07-10 吉林亿联银行股份有限公司 Data sharing method and device, storage medium and electronic equipment
WO2021253231A1 (en) * 2020-06-16 2021-12-23 Lenovo (Beijing) Limited Method and apparatus for blockchain-aware mobile vehicle communication

Also Published As

Publication number Publication date
TW202009757A (en) 2020-03-01
WO2020038105A1 (en) 2020-02-27
TWI709868B (en) 2020-11-11

Similar Documents

Publication Publication Date Title
CN109359973A (en) Data based on block chain deposit card method and apparatus
JP7385706B2 (en) Method of distributing digital assets registered on blockchain and autonomous computing agent
US20220101307A1 (en) Self-enforcing security token implementing smart-contract-based compliance rules consulting smart-contract-based global registry of investors
TWI724391B (en) Node management method and device based on blockchain
TWI762818B (en) Blockchain-based invoice creation method and device, electronic device
CN110009337B (en) Data processing method and device based on block chain
WO2020215836A1 (en) Blockchain-based housing information attest and application method and device
WO2020119294A1 (en) Data sharing method, apparatus, and system, and electronic device
TWI771604B (en) Blockchain-based commodity purchasing method and device
WO2020119286A1 (en) Blockchain-based invoice creating method and apparatus, and electronic device
CN110009498A (en) Resource allocation methods and device based on block chain
US11216802B2 (en) Self-enforcing security token implementing smart-contract-based compliance rules consulting smart-contract-based global registry of investors
TW202029106A (en) A blockchain-based evidence storage method and device
CN110046480A (en) Works copyright distribution method and device based on block chain
KR102295236B1 (en) Method for distributing collectables ownership based on blockchain networks and online transaction server using the same
CN110032882A (en) Card method and apparatus are deposited based on block chain
JP6904002B2 (en) Information processing device and information processing method
CN110310203A (en) A kind of block chain method of commerce and device
CN110471982B (en) Data processing method and device based on block chain
CN110298755A (en) A kind of block chain method of commerce and device
US20200175622A1 (en) Processing ledger transactions in a blockchain
CN109727132A (en) Acquisition methods, device, electronic equipment and the storage medium of block chain common recognition node
WO2022261650A2 (en) Systems and methods for maintenance of nft assets
CN110009339A (en) Data processing method and device based on block chain
WO2020033826A1 (en) Verifying transaction address is whitelisted before allowing transfer to transaction address of self-regulating token requiring whitelisted transaction address to withdraw self-regulating token

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40004493

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20190219

RJ01 Rejection of invention patent application after publication