CN108270836A - Data processing method, equipment and system based on block chain - Google Patents
Data processing method, equipment and system based on block chain Download PDFInfo
- Publication number
- CN108270836A CN108270836A CN201710002175.XA CN201710002175A CN108270836A CN 108270836 A CN108270836 A CN 108270836A CN 201710002175 A CN201710002175 A CN 201710002175A CN 108270836 A CN108270836 A CN 108270836A
- Authority
- CN
- China
- Prior art keywords
- block
- equipment
- block chain
- blocks
- chain network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 136
- 238000012217 deletion Methods 0.000 claims abstract description 87
- 230000037430 deletion Effects 0.000 claims abstract description 87
- 230000005540 biological transmission Effects 0.000 claims abstract description 22
- 238000012545 processing Methods 0.000 claims description 42
- 238000004891 communication Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000004422 calculation algorithm Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000008034 disappearance Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006378 damage Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 238000005406 washing Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 239000002360 explosive Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000003599 detergent Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
- H04L67/5651—Reducing the amount or size of exchanged application data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
Abstract
The application provides a kind of data processing method based on block chain, equipment and system, this method and includes:First equipment determines the block to be deleted in block chain network, and first equipment is the equipment in the block chain network;First equipment, which performs, deletes relevant operation, to delete the block to be deleted.According to the data processing method based on block chain of the embodiment of the present application, the first equipment in block chain network determines to perform deletion relevant operation after the block to be deleted in block chain network, realizes the deletion of block to be deleted.Thereby, it is possible to reduce the load in block chain network and the bandwidth needed for the transmission of block chain.
Description
Technical field
The present embodiments relate to the communications field more particularly to the data processing method based on block chain, equipment and system.
Background technology
Block chain network is that the network of information storage and transmission is realized based on block chain technology, with block chain application industry
Further expansion, the data that equipment generates explosive will increase.And since current block chain network safeguards entire account book
Information, explosive increase of data will cause block chain network to have very big load, and block chain in block chain network
Transmission will also consume huge bandwidth.
Invention content
This application provides a kind of data processing method based on block chain, equipment and systems, can reduce block link network
Load in network and the bandwidth needed for the transmission of block chain.
In a first aspect, a kind of data processing method based on block chain is provided, including:First equipment determines block link network
Block to be deleted in network, first equipment are the equipment in the block chain network;First equipment, which performs, deletes phase
Operation is closed, to delete the block to be deleted.
According to the data processing method based on block chain of the embodiment of the present application, the first equipment in block chain network determines
It is performed after block to be deleted in block chain network and deletes relevant operation, realize the deletion of block to be deleted.Thereby, it is possible to drop
Load in low block chain network and the bandwidth needed for the transmission of block chain.
Optionally, the first equipment can determine the block to be deleted in block chain network before block is generated.Or the
One equipment can determine the block to be deleted in block chain network before newly generated block chain is broadcasted.
With reference to first aspect, in a kind of realization method of first aspect, first equipment is determined in block chain network
Block to be deleted, including:First equipment determines storage duration or the elapsed time of the block in the block chain network;
First equipment determines the block to be deleted according to the storage duration or the elapsed time.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, described first sets
It is standby that the block to be deleted is determined according to the storage duration, including:First equipment determines current time and continuous K
Time interval between the generation moment of firstth area, i-th of first blocks in the block is greater than or equal to i-th of first blocks
Storage duration, the storage duration of i-th of block is used to indicate i-th of first blocks or i-th of firstth areas
The data needs that block includes stored duration in the block chain network, K are positive integer more than or equal to 1, i=
1,…K;The K the first blocks are determined as block to be deleted by first equipment.
Optionally, the storage duration of the block is carried in each block in block chain network.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, described first sets
It is standby that the block to be deleted is determined according to the elapsed time, including:First equipment determines current time for continuous K
The elapsed time of firstth area, i-th of first blocks in the block or current time are later than in the K the first blocks i-th first
The elapsed time of block, the elapsed time of i-th of first blocks are used to indicate first block or first block
The time that the data needs included are deleted in the block chain network, K are positive integer more than or equal to 1, i=1 ...
K;The K the first blocks are determined as block to be deleted by first equipment.
Optionally, the erasing time of the block is carried in each block in block chain network.
It is understood that the equipment in block chain network can be to be deleted in the deletion of specific moment that erasing time indicates
Block can also delete block to be deleted after this specific moment.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, first equipment
It performs and deletes relevant operation, including:First equipment deletes K first block;Or, described in the first equipment setting
The initial value of the deletion certification number of K the first blocks, and the equipment into the block chain network sends the first block information
With the deletion certification number of the K the first blocks, first block information is used to indicate the K the first blocks, so as to
Equipment in the block chain network is deleted when the deletion certification number for determining the K the first blocks is the first preset value
Except the K the first blocks.
With reference to first aspect and its above-mentioned realization method, it in another realization method of first aspect, is set described first
Time interval between standby determining current time and the generation moment of continuous K the firstth area i-th of first blocks in the block is more than
Or before the storage duration equal to i-th of first blocks, the method further includes:First equipment determines the K
Exist in first block and generate first block of the time interval at moment and current time less than the storage duration of block;Described
One equipment deletes the generation moment and the time interval at current time includes less than the first block of the storage duration of block
Data.
With reference to first aspect and its above-mentioned realization method, it in another realization method of first aspect, is set described first
It is later than for the elapsed time or current time that determining current time is a firstth area, i-th of first blocks in the block of continuous K described
Before the elapsed time of K the firstth area i-th of first blocks in the block, the method further includes:First equipment determines institute
State in K the first blocks that there are first block of the elapsed time earlier than current time;When first equipment deletes the disappearance
Between earlier than current time the data that include of the first block.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, first equipment
Determine the block to be deleted in block chain network, including:First equipment determines to carry the first block information in block chain
With deletion certification number, first block information is used to indicate continuous K the first blocks, and the deletion certification number is used to refer to
Show the K deletion certification numbers of first block in the block chain network, K is the positive integer more than or equal to 1;It is described
The K the first blocks are determined as block to be deleted by the first equipment.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the deletion certification
The value of number is the first preset value;
Wherein, first equipment, which performs, deletes relevant operation, including:First equipment deletes K firstth area
Block.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the deletion certification
The value of number is less than the first preset value;
Wherein, first equipment, which performs, deletes relevant operation, including:First equipment is secondary by the deletion certification
After several values increases by 1, the equipment into the block chain network sends first block information and the deletion certification
Number, in order to which the equipment in the block chain network in the deletion certification number for determining the K the first blocks is described the
During one preset value, the K the first blocks are deleted.
With reference to first aspect and its above-mentioned realization method, it in another realization method of first aspect, is set described first
After standby deletion K first block, the method further includes:First equipment determines current time and continuous L the
When time interval in two blocks between the generation moment of j-th second blocks is greater than or equal to the storage of j-th second blocks
Long, the L the second blocks are later than the K the first blocks, and the area adjacent with the L the first blocks for the generation moment
Block, L are positive integer more than or equal to 1, j=1 ... L;
First equipment deletes L second block;Or,
First equipment sets the initial value of the deletion certification number of L second block, and to the block chain
Equipment in network sends the deletion certification number of the second block information and the L the second blocks, second block information
The L the second blocks are used to indicate, in order to which the equipment in the block chain network is confirming deleting for L second block
During except certification number for first preset value, the L the second blocks are deleted.
Optionally, the numerical value that K and L is the fixed numbers of configured in advance or K and L is dynamic configuration.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the method is also wrapped
It includes:First equipment generates third block, and the storage duration of the third block, the third are carried in the third block
The storage duration of block is used to indicate data needs that the third block or the third block include in the block chain
Stored duration in network.
Due to carrying the storage duration of third block in third block so that equipment in block chain network can be according to the
3rd area storage duration in the block quickly determines whether third block is block to be deleted.Thereby, it is possible to realize block chain network
In equipment realization.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the third block
Block head include the storage duration of the third block.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the third block
Include the data of the second equipment transmission;
Wherein, before first equipment generates third block, the method further includes:First equipment receives the
The data and the first storage duration of the data that two equipment are sent, second equipment is setting in the block chain network
Standby, the first storage duration, which is used to indicate the data that second equipment determines, needs the quilt in the block chain network
The duration of storage;First equipment determines the storage duration of the third block according to the described first storage duration.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, first storage
Duration is determining by holding consultation with third equipment by second equipment, and the third equipment is the block chain network
In equipment.
In the embodiment of the present application, the first storage duration can be determined by the second equipment according to pre- signatory mode.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, first storage
Duration is that second equipment is determined according to the second storage duration, and the second storage duration is the institute determined by the 4th equipment
Stating data needs the stored duration in the block chain network, and the 4th equipment is setting except the block chain network
It is standby.
It is understood that the 4th equipment is the equipment except block chain network, generation of second equipment as the 4th equipment
The data of 4th equipment are sent in block chain network by reason equipment.The 4th equipment needs not participate in block chain network as a result, drop
The low performance requirement to the 4th equipment.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, second storage
Duration is determining by holding consultation with the 5th equipment by the 4th equipment, and the 5th equipment is the block chain network
Except equipment.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the method is also wrapped
It includes:First equipment determines the block chain belonging to the third block;The third block is added to by first equipment
In the block chain.
In the block chain network of the embodiment of the present application, there are the block chain of multiple and different types, setting in block chain network
It is standby that the block chain of multiple and different types is safeguarded.The memory requirement of block chain network can further be reduced.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, first equipment
Determine the block chain belonging to the third block, including:First equipment is according to the storage duration of the third block and pre-
If correspondence, the block chain belonging to the third block, storage duration and area of the default correspondence for block are determined
The correspondence of block chain.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, in the block chain
Carry the mark of the block chain.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the method is also wrapped
It includes:First equipment generates the 4th block;The block head of 4th block includes third block information and erasing time
Information, wherein, the third block information is used to indicate deleted block, and the erasing time information is used to indicate deleted
The deletion moment of block or the erasing time information are used to indicate the deletion moment for the data that deleted block includes.
In the embodiment of the present application, the block of the equipment generation in block chain network includes block information and erasing time letter
Breath, can ensure the equipment in block chain network easily know the block being deleted and the block being deleted or this
The erasing time of a little areas data in the block.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the method is also wrapped
It includes:Storage device of first equipment into the block chain network or the storage device except the block chain network are sent
The data that deleted block or deleted block include.
In the embodiment of the present application, the equipment in block chain network includes deleted block or deleted block
Data be sent to storage device so that these blocks or these areas data in the block can preserve one section in storage device
Time.Thereby, it is possible to the equipment in block chain network is convenient for carry out data search and recovery.
With reference to first aspect and its above-mentioned realization method, in another realization method of first aspect, the method is also wrapped
It includes:Storage device of first equipment into the block chain network or the storage device except the block chain network are sent
Third stores duration, during third storage a length of deleted block or the deleted area it is in the block including number
During according to needing stored in the storage device in the block chain network or the storage device except the block chain network
It is long.
Second aspect provides a kind of data processing method based on block chain, including:Second equipment obtains data, institute
The second equipment is stated as the equipment in block chain network;Second equipment determines the first storage duration of the data, the number
According to the first storage duration be used to indicate the data that second equipment determines and need to be deposited in the block chain network
The duration of storage;Equipment of second equipment into the block chain network sends the data and the first storage duration,
The first storage duration is for determining the storage duration of the third block comprising the data, during the storage of the third block
It is long to be used to indicate data needs that the third block or the third block the include quilt in the block chain network
The duration of storage.
It is understood that third block is generated by the equipment that certification power is obtained in block chain network, obtain here
The equipment of certification power can be the second equipment.
According to the data processing method based on block chain of the embodiment of the present application, the second equipment in block chain network determines
After the storage duration of the data got, the storage duration of the data got and determining data is sent to block link network
Equipment in network so that the storage duration that the equipment in block chain network can be determined according to the second equipment is determined comprising the number
According to block storage duration.When the equipment in block chain network can be according to the storage of the block comprising the data as a result,
It is long to determine to perform deletion relevant operation when this block is block to be deleted, realize the deletion of block to be deleted.Thereby, it is possible to drop
Load in low block chain network and the bandwidth needed for the transmission of block chain.
With reference to second aspect, in a kind of realization method of second aspect, second equipment determines the of the data
One storage duration, including:Second equipment is held consultation with third equipment, determines the first storage duration, the third
Equipment is the equipment in the block chain network.
With reference to second aspect and its above-mentioned realization method, in another realization method of second aspect, second equipment
Data are obtained, including:Second equipment receives the data and the second storage duration that the 4th equipment is sent, and described second deposits
The data that a length of 4th equipment determines during storage need stored duration, the 4th equipment in the block chain network
For the equipment except the block chain network;
Wherein, second equipment determines the first storage duration of the data, including:Second equipment is according to
Second storage duration determines the first storage duration.
With reference to second aspect and its above-mentioned realization method, in another realization method of second aspect, second storage
Duration is determining by holding consultation with the 5th equipment by the 4th equipment, and the 5th equipment is the block chain network
Except equipment.
The third aspect provides a kind of equipment, for performing the arbitrary possible reality of above-mentioned first aspect or first aspect
Method in existing mode.Specifically, the equipment includes performing the arbitrary possible of above-mentioned first aspect or first aspect
The function module of method in realization method
Fourth aspect provides a kind of equipment, for performing the arbitrary possible reality of above-mentioned second aspect or second aspect
Method in existing mode.Specifically, the equipment includes performing the arbitrary possible of above-mentioned second aspect or second aspect
The function module of method in realization method.
5th aspect, provides a kind of equipment, including processor, memory and transceiver.The processor, the storage
It is communicated between device and the transceiver by internal connecting path, transmits control and/or data-signal so that the equipment
Perform the method in the arbitrary possible realization method of above-mentioned first aspect or first aspect.
6th aspect, provides a kind of equipment, including processor, memory and transceiver.The processor, the storage
It is communicated between device and the transceiver by internal connecting path, transmits control and/or data-signal so that the equipment
Perform the method in the arbitrary possible realization method of above-mentioned second aspect or second aspect.
7th aspect, provides a kind of system, the equipment of equipment and fourth aspect including the third aspect or including the
The equipment of the equipment of five aspects and the 6th aspect.
Eighth aspect provides a kind of computer-readable medium, provides a kind of computer-readable medium, based on storing
Calculation machine program, the computer program include the arbitrary possible realization method for performing above-mentioned first aspect or first aspect
In instruction.
9th aspect, provides a kind of computer-readable medium, provides a kind of computer-readable medium, based on storing
Calculation machine program, the computer program include the arbitrary possible realization method for performing above-mentioned second aspect or second aspect
In instruction.
Description of the drawings
Fig. 1 is the schematic flow chart according to the data processing method based on block chain of the embodiment of the present application;
Fig. 2 is the schematic diagram according to the block chain of the embodiment of the present application;
Fig. 3 is the schematic diagram according to the block chain of another embodiment of the application;
Fig. 4 is the schematic flow chart according to the data processing method based on block chain of another embodiment of the application;
Fig. 5 is the schematic flow chart according to the data processing method based on block chain of the application another embodiment;
Fig. 6 is the schematic block diagram according to the equipment of the embodiment of the present application;
Fig. 7 is the schematic block diagram according to the equipment of another embodiment of the application;
Fig. 8 is the schematic block diagram according to the equipment of the application another embodiment;
Fig. 9 is the schematic block diagram according to the equipment of the application another embodiment.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes.
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes.
In the embodiment of the present application, the equipment in block chain network can be privately owned equipment, carrier network devices (example
Such as, base station equipment) or certain industry organization, the website (Station) of organization and individual's deployment.
In the embodiment of the present application, internet of things equipment can include but is not limited to mobile station (Mobile Station, MS),
Mobile terminal (Mobile Terminal), mobile phone (Mobile Telephone), user equipment (User Equipment,
UE), mobile phone (handset) and portable equipment (portable equipment), vehicle (vehicle) etc., for example, terminal device
Can be mobile phone (or being " honeycomb " phone), the computer with wireless communication function etc., terminal device can also be
Portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device.
In order to facilitate the application is understood, before the present processes are described, block chain is specifically introduced herein first
The method of work of several elements in network, block chain network and the equipment in block chain network.
It should be noted that in the embodiment of the present application, the data that equipment generates include and the equipment and its opposite equip. phase
The data of pass and common data.The method of work of equipment in element and block chain network in description block chain network
When, with equipment and the relevant data instance of its opposite equip., specifically using with equipment and the relevant data of its opposite equip. to hand over
Easy data instance is described, but this does not limit the range of the embodiment of the present application.
There is no the hardware of centralization or management organization in block chain network, the rights and duties between arbitrary equipment are all
It is impartial, and any equipment damage or loss do not affect the running of entire block chain network, therefore, block chain network
There is decentralization.Data exchange is carried out between each equipment in block chain network to be trusted each other, whole
It is disclosed that the operation regulation of a block chain network, which is open and clear, all data content, therefore in block chain network
In the range of regular scope and time, other equipment can not cannot be also cheated between equipment, therefore, block chain network, which has, goes
The feature of trust.The total data block of block chain network safeguarded jointly by the equipment with maintenance function all in whole system, and
Anyone can participate in during these equipment with maintenance function, and therefore, block chain network has the feature that collective safeguards.
Block chain network allows each participation equipment that can obtain the copy of a full database by the form in divided data library.Unless
Can control simultaneously in whole network be more than 51% equipment, it is invalid when otherwise on individual equipment to the modification of database,
It can not influence the data content in other equipment.Therefore, block chain network has reliable database.
Block is the container data structures for having polymerize data being comprised in block chain, it includes member by one
The block head of data and immediately after composition block main body a lot of transaction composition.Block specifically includes:Block size word
Section, usually 4 bytes;Block head file, usually 80 bytes;Transaction counter field, generally 1-9 byte, note
Record number of transaction;Transaction field, usually variable-length, records Transaction Details.
Block head is made of three group metadatas, is the data of one group of reference father's block cryptographic Hash first, this group metadata is used
In the block is connected with the previous block in block chain.Second group metadata includes difficulty, timestamp and only with primary
Number (Number used once, referred to as " Nonce ").Third element data are Mei Keer (Merkle) several (a kind of
For effectively summarizing the data structure of All Activity in block).Block head specifically includes following field:Version field, usually 4
Byte;Father's block Hash value field, usually 32 byte, for quoting the cryptographic Hash of father's block in block chain;Merkle root words
Section, for recording the cryptographic Hash of Merkle tree roots merchandised in the block;Timestamp field, usually 4 field, for tag slot
The time proximity that block generates, is accurate to the second;Nonce fields are for the counter of proof of work algorithm.
Each block can quote previous block by " the father's block Hash value field " of its block head.Namely
It says, each block head includes the cryptographic Hash of its father's block.And each father's block there are one blocks, but can be interim
There are multiple sub-blocks.The situation that multiple sub-blocks occurs in one block is known as " block chain bifurcated ".Block chain bifurcated indicates one
Transition condition, a final only sub-block can become a part for block chain.
Block chain, is the data structure being orderly chained up from back to front by block, and each block all points to previous area
Block.It can be stored as a kind of file comprising non-relativeness record or be stored in a simple database.It can
To regard block chain as a storehouse, highly mean that the distance between block and first block and top or top represent most
New block.Each block head is encrypted Kazakhstan (for example, secure hash algorithm (Secure Hash Algorithm, abbreviation
For " SHA ")), a cryptographic Hash can be generated.The correspondence block in block chain can be identified by this cryptographic Hash.
For entire block chain network, need target to be achieved be all devices agree to jointly some information and by it more
Newly in total shared account book.For this purpose, introducing common recognition mechanism in block chain network, two kinds of typical algorithms are in common recognition mechanism
Proof of work and equity prove.Wherein:
Proof of work (Proof Of Work, referred to as " PoW "), essence are to transmit to add in cost for information, reduce letter
The rate of transmission is ceased, and it is wide into row information only to have the right there are one equipment in one random element one period of guarantee of addition
It broadcasts.This random element is exactly that equipment is allowed to go to calculate a random Harsh value.Particularly as being input of the block equipment according to acquisition
Data, be calculated a string 64 random digit and letter character string, but only obtain meeting the Hash of cryptographic Hash requirement
The equipment of value can be received by block chain network as proof of work.And the hash algorithm of proof of work is also by will be each
The mode of input value of a new life area information in the block as hash algorithm next time, realizes wearing for historical information, is formed
Retrospective chain (block chain).
Equity proves, it is therefore an objective to realize that block chain is ensured that this method is logical by those people with economic interests
The coin number of days (Coindays) of the destruction per transaction is crossed to realize that equity proves.Existing equity identity system, such as point point coin
(Peercoin) it is based on evidence block, in evidence block, target and destruction coin number of days that miner must reach are negatives
It closes.The digging ore deposit people that referred to as equity proves must be selected, and contribute their one whithin a period of time by possessing the people of Peercoin
Part coin protects block chain network.
It will be described in detail at the data based on block chain according to the embodiment of the present application on the basis of above description below
Reason method.As described in Figure 1, method 100 includes:
S101, the first equipment determine the block to be deleted in block chain network, and the first equipment is setting in block chain network
It is standby;
S102, first equipment, which performs, deletes relevant operation, to delete block to be deleted.
Optionally, in S101, the first equipment can determine area according to the storage duration of block or the elapsed time of block
Block to be deleted in block chain network.The storage duration of block, which is used to indicate block or area data in the block, to be needed in block link network
Stored duration in network, elapsed time of block are used to indicate data needs that block or block include in block chain network
In time for being deleted, the specific moment that the equipment in block chain network can be indicated in the elapsed time deleted in block or block
Data, delete block or area's data in the block after the specific moment that can also be indicated in the elapsed time.For example, the first equipment
It determines to wait to delete according to the relationship between the time interval between current time and the generation moment of block and the storage duration of block
Except block.Or first equipment block to be deleted determined according to the relationship at current time and elapsed time.
For example, the first equipment minimum or minimum sequence number block of height from current block chain (distinguishingly, exists
During initialization, since first block of block chain), determine the block to be deleted in block chain network.As shown in Figure 2
, the first equipment since block X, at the time of the first equipment determines that the timestamp of current time and block X are recorded between
Time interval is greater than or equal to the storage duration of block X or when the first equipment determines the disappearance that current time is block X
Between or when the first equipment determines that current time is later than the elapsed time of block X, the first equipment thinks block X to be to be deleted
Block, the first equipment can directly delete block X, and the first equipment judges whether block X+1 is block to be deleted later, successively class
It pushes away, until some block is not block to be deleted.Here current time (or current time) can be that the first equipment is given birth to
At the time of the block of Cheng Xin or at the time of block chain that current block chain node broadcasts are new, the timestamp of block X record when
It carves and includes for the generation moment of block X or the elapsed time of block X.
Alternatively, if the first equipment determines block X as block to be deleted, the first equipment does not delete block X, but by area
The block information and deletion certification number (initial value 1) of block X is recorded in block chain, and block chain is broadcast to block chain network
In, the value for deleting certification number can be increased by 1 by the equipment for obtaining certification power next time, until n-th gets certification power
During equipment, deletion certification numbers of the block X in block chain network has reached preset value N, so n-th gets certification power
Equipment block X is deleted from block chain.Later, this n-th get certification power equipment determine block X+1 whether be
Block to be deleted, if block X+1 is block to be deleted, the equipment that n-th gets certification power can be by the block of block X+1
Information and deletion certification number (initial value 1) are added in block chain, and block chain is broadcast in block chain network, until
When deletion certification numbers of the block X+1 in block chain network is N, the equipment in block chain network deletes block X+1, N's
It is worth for preset value.
Alternatively, as shown in Figure 3, the first equipment determines whether the continuous K block since block X meets deletion
Condition, if continuous K block is satisfied by deletion condition, this K block is determined as block to be deleted by the first equipment.First sets
For can directly delete the continuous K block since block X, the first equipment judges continuous L since block X+K later
Whether continuous block meets deletion condition, if it is satisfied, the first equipment deletes the continuous L block since block X+K.Successively
Analogize, until certain multiple continuous block not exclusively meets deletion condition position, the value of K and L can be identical here, can not also
Together.And the value of K and L can be the numerical value of dynamic configuration.
Alternatively, if the continuous K block that the first equipment determines since block X were satisfied by as block to be deleted, first
Equipment does not delete the continuous K block since block X, but by the block information of the continuous K block since block X
It is recorded in block chain with certification number (initial value 1) is deleted, block chain is broadcast in block chain network, is obtained next time
The value for deleting certification number can be increased by 1 by the equipment of certification power, when n-th gets the equipment of certification power, from block X
Deletion certification number of the K block of beginning in block chain network has reached preset value N, so n-th gets certification
The equipment of power deletes the K block since block X from block chain.Later, the equipment that this n-th gets certification power
Determine whether the L since block X+K continuous block is satisfied by deletion condition, if the L continuum since block X+K
Block is block to be deleted, and the equipment that n-th gets certification power can be by the block of the L continuous blocks since block X+K
Information and deletion certification number (initial value 1) are added in block chain, and block chain is broadcast in block chain network, until
When deletion certification number of the continuous L block in block chain network since block X+K is N, setting in block chain network
The standby L continuous blocks by since block X+K are deleted.
In the above-described embodiments, optionally, if the first equipment determine continuous K block since X there are one or
It is multiple to be unsatisfactory for deletion condition.First equipment can will meet deletion condition at this time area's data in the block in continuous K block
It deletes, but retains the block head of these blocks.Until some equipment in block chain network determines the continuous K area since X
When block is satisfied by deletion condition, this continuous K block is deleted.Alternatively, by the block information of this continuous K block and delete certification
Number is recorded in block chain, and block chain is broadcast in block chain network, until some equipment in block chain network is true
When the deletion certification number of this fixed continuous K block is N, this continuous K block is deleted.
It should be noted that above-mentioned deletion condition was referred between current time and the time generated between the moment of block
The elapsed time that current time is block is referred to every the storage duration more than or equal to block or above-mentioned deletion condition,
Or above-mentioned deletion condition refers to that current time is later than the elapsed time of block.
In above-mentioned all embodiments, optionally, block information is recorded in the block chain of block chain with certification number is deleted
In head.
Optionally, in S101, the first equipment can according to whether carried in block chain block information and delete certification
Number determines block to be deleted.
Specifically, in some embodiments, if carrying block information in block chain and deleting certification number, first
The block that block information indicates is determined as block to be deleted by equipment.
Further, if the first equipment determines that the value for deleting certification number is less than preset value, the first equipment will delete
After the value of number increases by 1, the equipment into block chain network sends above-mentioned block information and deletes certification number, Zhi Daoqu
When the deletion certification number recorded in block chain is preset value, the equipment in block chain network deletes the block that block information indicates
It removes.
If the first equipment determines that the value for deleting certification number is preset value, the first equipment can directly delete block letter
Cease the block of instruction.
Fig. 4 shows the data processing method based on block chain of another embodiment of the present invention.Block chain equipment in Fig. 4
A- block chain equipment D is the equipment in block chain network.As shown in figure 4, method 200 includes:
S201, block chain device A generate the data for needing to be authenticated in block chain network;
Optionally, the data that are authenticated in block link network of needs that block chain device A generates for block chain device A and
Transaction data between block chain equipment B.
And then block chain device A can by holding consultation with block chain equipment B, storage duration to transaction data or
Elapsed time reaches an agreement, and determines that transaction data needs the storage duration in block chain network or elapsed time.Alternatively, block
Chain device A oneself can be independently determined storage duration or elapsed time of the data in block chain network.For example, block chain equipment
A determines storage duration or elapsed time of the data in block chain network according to pre- signatory mode.
S202, block chain device A will be in data broadcastings to block chain network;
S203, block chain equipment D determine the storage duration for the block to be generated;
Specifically, in some embodiments, block chain equipment D gets block verification power, and block chain equipment D is according to current
The storage duration of all new data determines the storage duration of the new block currently generated when generating new block.It needs exist for illustrating
, the storage duration of block refers to that block needs stored duration or area data in the block in block chain network to need
Will in block chain network stored duration.
For example, if block chain equipment D determines the storage duration all same of above-mentioned all new data, block chain is set
The storage duration of all new data is determined as the storage duration for the block to be generated by standby D.If above-mentioned all new data
Storage duration differ, block chain equipment D will store the longest data of duration it is corresponding storage duration be determined as what is generated
The storage duration of block.
For example, it is assumed that there are 5 new data, data 1, data 2, data 3, data 4 and data 5 are respectively labeled as, if
The storage duration of this 5 data is 1 hour, then block chain equipment D is determined during the storage for the block to be generated a length of 1 hour.
But if the storage duration of this 5 data is not exactly the same, and the storage duration longest of data 5 and store when a length of 3 hours,
The storage duration that then block chain equipment D was determined as the block to be generated by 3 hours.
Specifically, in some embodiments, block chain equipment D gets block verification power, and block chain equipment D is according to current
The elapsed time of all new data determines the elapsed time of the new block currently generated when generating new block.It needs exist for illustrating
, elapsed time of block refers to that block needs the time or area that are deleted in block chain network data in the block to need
The time to be deleted in block chain network.
For example, if block chain equipment D determines the elapsed time all same of above-mentioned all new data, block chain is set
The elapsed time of all new data is determined as the elapsed time for the block to be generated by standby D.If above-mentioned all new data
Elapsed time differ, the data of the elapsed time the latest corresponding elapsed time is determined as what is generated by block chain equipment D
The elapsed time of block.
For example, it is assumed that there are 5 new data, data 1, data 2, data 3, data 4 and data 5 are respectively labeled as, if
The elapsed time of this 5 data is 20:00, then block chain equipment D determine the block to be generated elapsed time be 20:00.
But if the elapsed time of this 5 data is not exactly the same, and the elapsed time of data 5 the latest and the elapsed time be the morning 12
Point, then block chain equipment D is by 12 points of elapsed times for being determined as the block to be generated of the morning.
The block of generation is connected on block chain by S204, block chain equipment D, and block chain is broadcast to block link network later
In network;
S205, block chain equipment C determine the block to be deleted in block chain network, perform and delete relevant operation;
Specifically, in some embodiments, if block chain node C gets block certification power, block chain equipment C can be with
The block to be deleted in block chain network is determined using the method described in method 100, performs and deletes relevant operation.
S206, block chain equipment C broadcast the block chain of generation in block chain network.
Specifically, in some embodiments, block chain is determined using the method described in method 100 in block chain equipment C
During block to be deleted in network, the correlation technique in method 100 can also be performed, to realize the deletion of block to be deleted.
Optionally, in S206, the block chain of block chain equipment C generations can be on the basis of the block chain received
It deletes block to be deleted and increases the block chain of the block of block chain equipment C generations or by the area of block to be deleted
Block message and deletion certification number are recorded in the block chain received, and increase block chain equipment C generations on this basis
The block chain that block obtains.
Optionally, in S206, when block chain equipment C generates block, block letter can be carried within a block
Breath and erasing time information, such as block information and erasing time information are carried in the block head of block.Block information is used for
Indicate deleted block, erasing time information is used to indicate the deletion moment of deleted block or erasing time information is used
In the deletion moment of data that the deleted block of instruction includes.
Further, block chain equipment C can send out the data that deleted block or deleted block include
One or more storage devices are sent to, after a certain time, storage device deletes these data.Above-mentioned one or more is deposited
It can be the storage device in block chain network or the storage device except block chain network to store up equipment.Data are being deposited
Storage duration in storage equipment can be determined from block chain equipment C and while to storage device transmission data by data
Storage duration is sent to storage device.
Optionally, as another example, in block chain network, there are the block chains of multiple and different types, block equipment to exist
When generating block, determine the corresponding block chain of block, the block of generation is connected on determining block chain.It is for example, different
Block chain corresponds to different storage durations, and block chain equipment C determines block pair when generating block according to the storage duration of block
The block chain answered.
For example, 3 block chains, respectively block chain 1, block chain 2 and block chain 3 are stored in block chain.Block
The storage duration of block is less than or equal to 1 hour in chain 1, and the storage duration of block is more than 1 hour and small less than 3 in block chain 2
When, the storage duration of the block in block chain 3 is greater than or equal to 3 hours.If block chain equipment C determines depositing for the block generated
A length of 2 hours during storage, then the block of generation is connected on block chain 2 by block chain equipment C.And block chain equipment C determines area
The method of the storage duration of block and above-mentioned block chain D determine that the method for the storage duration of block is identical, and details are not described herein.
Alternatively, be stored in 3 block chains in block chain, respectively block chain 1, block chain 2 and block chain 3.In block chain 1
The elapsed time of block, the elapsed time of block was after at 12 points in the morning and 8 points at night in block chain 2 before at 12 points in the morning
Before, the elapsed time of the block in block chain 3 is at night after 8 points and before 24 points.If block chain equipment C determines to produce
The elapsed time of raw block is at 5 points in afternoon, then the block of generation is connected on block chain 2 by block chain equipment C.And block
Chain equipment C determines that the method for the elapsed time of block and above-mentioned block chain D determine that the method for the elapsed time of block is identical, herein
It repeats no more.
In the embodiment of the present application, optionally, what the needs that block chain device A generates were authenticated in block chain network
Data can be that other equipment is sent to block chain device A.As illustrated in FIG. 5, method 300 includes:
S301, internet of things equipment A generate the data for needing to be authenticated in block chain network;
It should be noted that internet of things equipment A is not the equipment in block chain network, internet of things equipment A is in itself in other words
Block chain is not participated in directly.
Optionally, the data that the needs that internet of things equipment A is generated are authenticated in block chain network are internet of things equipment A
Transaction data between internet of things equipment B.Internet of things equipment A can hold consultation with internet of things equipment B, to transaction data
Storage duration or elapsed time reach an agreement, and determine storage duration or elapsed time of the transaction data in block chain network.Example
Such as, internet of things equipment A can be intelligent washing machine, and intelligent washing machine can buy liquid detergent automatically at intelligent vending machine,
The data generated in this process of exchange are transaction data.Intelligent washing machine can be with the storage of intelligent vending machine Consulting Trade System data
Duration or elapsed time.
Alternatively, the data that the needs that internet of things equipment A is generated are authenticated in block chain network pertain only to Internet of Things and set
The behavior of standby A itself, for example, internet of things equipment A is the air purifier for being used to detect PM2.5 of family.Then internet of things equipment A
Oneself it can determine storage duration or elapsed time of the data in block chain network.For example, internet of things equipment A is according to pre- signing
Pattern determines storage duration or elapsed time of the data in block chain network.
The data for needing to be authenticated in block chain network are sent to block chain device A by S302, internet of things equipment A;
Specifically, in some embodiments, internet of things equipment A is by the storage duration or disappearance of data and the determining data
Duration is sent to block chain device A.
Optionally, as an example, before block chain device A is sent the data to, Internet of Things is set internet of things equipment A
It is standby that communication connection is established between A and block chain device A.For example, internet of things equipment A can be sent receiving block chain device A
Public key information after, to block chain device A send access message, block chain device A receive internet of things equipment A transmission connect
After entering message, judge whether that communication connection can be established with internet of things equipment A.If it can, block chain device A is to Internet of Things
Device A sends feedback information, and communication connection is so far established between internet of things equipment A and block chain device A.
Optionally, in S302, internet of things equipment A when sending the data to block chain device A, by oneself determine or
Person with internet of things equipment B by negotiating storage duration that determining data needs store in storage device or the elapsed time also one
It rises and is sent to block chain device A so that block chain device A by this storage duration or disappears when data are issued storage device
Time of dying sends jointly to storage device.
S303 performs S202 and its subsequent step in method 200.
The data processing method based on block chain of the embodiment of the present application is described in detail above in association with Fig. 1 to Fig. 5, below
Equipment of Fig. 6 detailed descriptions according to the application will be combined, as shown in fig. 6, equipment 10 includes:
Processing module 11, for determining the block to be deleted in block chain network, the equipment is the block chain network
In equipment;
Delete operation execution module 12 deletes relevant operation, to delete the block to be deleted for performing.
Therefore, it is deleted according to execution after the block to be deleted determined according to the equipment of the embodiment of the present application in block chain network
Except relevant operation, the deletion of block to be deleted is realized.Thereby, it is possible to reduce the load in block chain network and the transmission of block chain
Required bandwidth.
In the embodiment of the present application, optionally, the processing module 11 is specifically used for:
Determine storage duration or the elapsed time of the block in the block chain network;
According to the storage duration or shown elapsed time, the block to be deleted is determined.
In the embodiment of the present application, optionally, the processing module 11 is specifically used for:Determine current time and continuous K
Time interval between the generation moment of firstth area, i-th of first blocks in the block is greater than or equal to i-th of first blocks
Storage duration, the storage duration of i-th of block is used to indicate i-th of first blocks or i-th of firstth areas
The data needs that block includes stored duration in the block chain network, K are positive integer more than or equal to 1, i=
1,…K;The K the first blocks are determined as block to be deleted.
In the embodiment of the present application, optionally, the processing module 11 is specifically used for:Determine current time for continuous K
The elapsed time of firstth area, i-th of first blocks in the block or current time are later than a firstth areas of the K i-th in the block
The elapsed time of first block, the elapsed time of i-th of first blocks are used to indicate first block or described first
The time that the data needs that block includes are deleted in the block chain network, K are positive integer more than or equal to 1, i=
1,…K;The K the first blocks are determined as block to be deleted.
In the embodiment of the present application, optionally, the delete operation execution module 12 is specifically used for:Delete the K the
One block;Or, the initial value of the deletion certification number of setting K first block, and setting into the block chain network
Preparation send the deletion certification number of the first block information and the K the first blocks, and first block information is used to indicate institute
K the first blocks are stated, in order to which the equipment in the block chain network is in the deletion certification number for determining the K the first blocks
During for the first preset value, the K the first blocks are deleted.
In the embodiment of the present application, optionally, current time and continuous K the first blocks are determined in the processing module 11
In i-th of first blocks generation the moment between time interval be greater than or equal to i-th of first blocks storage when
Before length, the processing module 11 is additionally operable to:Determine there is the time at generation moment and current time in the K the first blocks
Interval is less than the first block of the storage duration of block;
The delete operation execution module 12 is additionally operable to delete the generation moment and the time interval at current time is less than
The data that first block of the storage duration of block includes.
In the embodiment of the present application, optionally, determining current time for i-th first in the block of continuous K the firstth areas
The elapsed time of block or current time be later than the K the firstth areas i-th of first blocks in the block elapsed time it
Before, the processing module 11 is additionally operable to:Determine that there are firstth area of the elapsed time earlier than current time in the K the first blocks
Block, K are positive integer more than or equal to 1, i=1 ... K;The delete operation execution module 12 is additionally operable to delete the disappearance
Time is earlier than the data that the first block of current time includes.
In the embodiment of the present application, optionally, the processing module 11 is specifically used for:It determines to carry first in block chain
Block information and deletion certification number, first block information are used to indicate continuous K the first blocks, the deletion certification time
Number is used to indicate the K deletion certification numbers of first block in the block chain network, and K is more than or equal to 1 just
Integer;The K the first blocks are determined as block to be deleted.
In the embodiment of the present application, optionally, the value for deleting certification number is the first preset value;
Wherein, the delete operation execution module 12 is specifically used for:Delete the K the first blocks.
In the embodiment of the present application, optionally, the value for deleting certification number is less than the first preset value;
Wherein, the delete operation execution module 12 is specifically used for:By it is described delete certification number value increase by 1 it
Afterwards, the equipment into the block chain network sends first block information and the deletion certification number, in order to described
Equipment in block chain network is deleted when the deletion certification number for determining the K the first blocks is first preset value
The K the first blocks.
In the embodiment of the present application, optionally, the delete operation execution module delete the K the first blocks it
Afterwards, the processing module 11 is additionally operable to:When determining in current time and continuous L the second blocks the generation of j-th second blocks
Time interval between quarter is greater than or equal to the storage duration of j-th of second blocks, and the L the second blocks are generation evening at moment
In the K the first blocks, and the block adjacent with the L the first blocks, L is the positive integer more than or equal to 1, j=
1,…L;
The delete operation execution module 12 is additionally operable to delete the L the second blocks;Or, setting L secondth area
The initial value of the deletion certification number of block, and the equipment into the block chain network sends the second block information and the L
The deletion certification number of second block, second block information is used to indicate the L the second blocks, in order to the block
Equipment in chain network deletes the L when the deletion certification number for confirming L second block is first preset value
A second block.
In the embodiment of the present application, optionally, the processing module 11 is additionally operable to:Generate third block, the third area
The storage duration of the third block is carried in block, the storage duration of the third block is used to indicate the third block or institute
State data needs that third block the includes stored duration in the block chain network.
In the embodiment of the present application, optionally, the block head of the third block includes the storage of the third block
Duration.
In the embodiment of the present application, optionally, the third block includes the data of the second equipment transmission;
Wherein, before the generation third block, the processing module 11 is additionally operable to:Receive the number of the second equipment transmission
Duration is stored according to first with the data, second equipment is the equipment in the block chain network, first storage
Duration, which is used to indicate the data that second equipment determines, needs the stored duration in the block chain network;According to
The first storage duration determines the storage duration of the third block.
In the embodiment of the present application, optionally, the first storage duration is by being set with third by second equipment
Determining for holding consultation, the third equipment is the equipment in the block chain network.
In the embodiment of the present application, optionally, when the first storage duration is that second equipment is stored according to second
What length determined, the second storage duration is that the data needs determined by the 4th equipment are deposited in the block chain network
The duration of storage, the 4th equipment are the equipment except the block chain network.
In the embodiment of the present application, optionally, the second storage duration is by being set with the 5th by the 4th equipment
Determining for holding consultation, the 5th equipment is the equipment except the block chain network.
In the embodiment of the present application, optionally, the processing module 11 is additionally operable to:Determine the area belonging to the third block
Block chain;The third block is added in the block chain.
In the embodiment of the present application, optionally, the processing module 11 is specifically used for:According to the storage of the third block
Duration and default correspondence, determine the block chain belonging to the third block, and the default correspondence is the storage of block
The correspondence of duration and block chain.
In the embodiment of the present application, optionally, the mark of the block chain is carried in the block chain.
In the embodiment of the present application, optionally, the processing module 11 is additionally operable to:Generate the 4th block, the 4th area
The block head of block includes third block information and erasing time information, wherein, the third block information, which is used to indicate, is deleted
The block removed, the erasing time information is used to indicate the deletion moment of deleted block or the erasing time information is used for
It indicates to be deleted the deletion moment of data that block includes.
In the embodiment of the present application, optionally, the processing module 11 is additionally operable to:Storage into the block chain network
Storage device except equipment or the block chain network sends the data that deleted block or deleted block include.
In the embodiment of the present application, optionally, the processing module 11 is additionally operable to:Storage into the block chain network
Storage device except equipment or the block chain network sends third storage duration, and when third storage is a length of described to be deleted
The block or the deleted area that remove it is in the block including data need the storage device in the block chain network or institute
State stored duration in the storage device except block chain network.
It should be understood that the equipment 10 in the embodiment of the present invention is embodied in the form of functional unit.In an optional example, this
Field technology personnel are appreciated that equipment 10 can be used for performing each flow and/or step in above method embodiment, are
It avoids repeating, details are not described herein.
Fig. 7 shows the schematic block diagram of the equipment according to another embodiment of the application.As shown in fig. 7, equipment 20 includes:
Processing module 21, for obtaining data, the equipment is the equipment in block chain network;
The processing module 21, be additionally operable to determine the data first storage duration, the data first storage when
The long data needs stored duration in the block chain network for being used to indicate the equipment and determining;
Transceiver module 23, when sending the data and first storage for the equipment into the block chain network
Long, the first storage duration for determining the storage duration of the third block comprising the data, deposit by the third block
Storage duration is used to indicate data needs that the third block or the third block include in the block chain network
In stored duration.
Therefore, after the storage duration that the data got are determined according to the equipment of the embodiment of the present application, by what is got
The storage duration of data and determining data is sent to the equipment in block chain network so that the equipment in block chain network can
The storage duration determined according to the equipment determines the storage duration of the block comprising the data.As a result, in block chain network
It is performed when equipment can determine that this block is block to be deleted according to the storage duration of the block comprising the data and deletes phase
Operation is closed, realizes the deletion of block to be deleted.Thereby, it is possible to reduce needed for the load in block chain network and the transmission of block chain
Bandwidth.
In the embodiment of the present application, optionally, the processing module 21 is specifically used for:It holds consultation with third equipment, really
The fixed first storage duration, the third equipment is the equipment in the block chain network.
In the embodiment of the present application, optionally, the processing module 21 is specifically used for:Receive the described of the 4th equipment transmission
Data and the second storage duration, the data that determine of a length of 4th equipment are needed in the block link network during second storage
Stored duration in network, the 4th equipment are the equipment except the block chain network;Duration is stored according to described second,
Determine the first storage duration.
In the embodiment of the present application, optionally, the second storage duration is by being set with the 5th by the 4th equipment
Determining for holding consultation, the 5th equipment is the equipment except the block chain network.
It should be understood that the equipment 20 in the embodiment of the present invention is embodied in the form of functional unit.In an optional example, this
Field technology personnel are appreciated that equipment 20 can be used for performing each flow and/or step in above method embodiment, are
It avoids repeating, details are not described herein.
Fig. 8 shows the equipment according to the application another embodiment.As shown in figure 8, equipment 100 includes 110 He of processor
Transceiver 120, processor 110 are connected with transceiver 120, and optionally, which further includes memory 130, memory 130
It is connected with processor 110.Wherein, processor 110, memory 130 and transceiver 120 can mutually be communicated by internal connecting path
Letter.Wherein, processor 110, for determining the block to be deleted in block chain network, the equipment is in the block chain network
Equipment;Processor 110 is additionally operable to perform and deletes relevant operation, to delete the block to be deleted.
Therefore, it is deleted according to execution after the block to be deleted determined according to the equipment of the embodiment of the present application in block chain network
Except relevant operation, the deletion of block to be deleted is realized.Thereby, it is possible to reduce the load in block chain network and the transmission of block chain
Required bandwidth.
The equipment 10 of corresponding the embodiment of the present application, also, the equipment are referred to according to the equipment 100 of the embodiment of the present application
In each unit/module and other above-mentioned operation and/or functions respectively for the corresponding flow in the above method, for letter
Clean, details are not described herein.
Fig. 9 shows the schematic block diagram of the equipment according to the application another embodiment, as shown in figure 9, equipment 200 is wrapped
It includes:Processor 210 and transceiver 220, processor 210 are connected with transceiver 220, and optionally, the equipment 200 further includes storage
Device 230, memory 230 are connected with processor 210.Wherein, processor 210, memory 230 and transceiver 220 can be by interior
Portion's connecting path communicates.Wherein, the processor 210, for obtaining data, the equipment is setting in block chain network
It is standby;The transceiver 220, is additionally operable to determine the first storage duration of the data, and the first storage duration of the data is used for
Indicate that the data that the equipment determines need the stored duration in the block chain network;The transceiver 220 is used
The data and the first storage duration are sent in the equipment into the block chain network, the first storage duration is used for
Determine the storage duration of the third block comprising the data, the storage duration of the third block is used to indicate the third area
The data needs that block or the third block include stored duration in the block chain network.
Therefore, after the storage duration that the data got are determined according to the equipment of the embodiment of the present application, by what is got
The storage duration of data and determining data is sent to the equipment in block chain network so that the equipment in block chain network can
The storage duration determined according to the equipment determines the storage duration of the block comprising the data.As a result, in block chain network
It is performed when equipment can determine that this block is block to be deleted according to the storage duration of the block comprising the data and deletes phase
Operation is closed, realizes the deletion of block to be deleted.Thereby, it is possible to reduce needed for the load in block chain network and the transmission of block chain
Bandwidth.
The equipment 20 of corresponding the embodiment of the present application, also, the equipment are referred to according to the equipment 200 of the embodiment of the present application
In each unit/module and other above-mentioned operation and/or functions respectively for the corresponding flow in the above method, for letter
Clean, details are not described herein.
It is appreciated that the processor in the embodiment of the present application can be a kind of IC chip, there is the processing of signal
Ability.Above-mentioned processor can be general processor, digital signal processor (Digital Signal Processor,
DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate
Array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystal
Pipe logical device, discrete hardware components.It can realize or perform the disclosed each method in the embodiment of the present application, step and patrol
Collect block diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..
Memory in the embodiment of the present application can be volatile memory or nonvolatile memory or may include volatile
Both property and nonvolatile memory.Wherein, nonvolatile memory can be read-only memory (Read-Only Memory,
ROM), programmable read only memory (Programmable ROM, PROM), Erasable Programmable Read Only Memory EPROM (Erasable
PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.Volatibility
Memory can be random access memory (Random Access Memory, RAM), be used as External Cache.Pass through
Exemplary but be not restricted explanation, the RAM of many forms can be used, such as static RAM (Static RAM,
SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous
DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDR
SDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links dynamic random are deposited
Access to memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus
RAM, DR RAM).It should be noted that the memory of system and method described herein be intended to including but not limited to these and it is any other
It is suitble to the memory of type.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function can have other dividing mode, such as multiple units or component in actual implementation
It may be combined or can be integrated into another system or some features can be ignored or does not perform.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, the technical solution of the application is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform each embodiment the method for the application all or part of step.
And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The specific embodiment of the above, only the application, but the protection domain of the application is not limited thereto, it is any
In the technical scope that those familiar with the art discloses in the application, change or replacement can be readily occurred in, should all be contained
It covers within the protection domain of the application.Therefore, the protection domain of the application described should be subject to the protection scope in claims.
Claims (55)
1. a kind of data processing method based on block chain, which is characterized in that including:
First equipment determines the block to be deleted in block chain network, and first equipment is setting in the block chain network
It is standby;
First equipment, which performs, deletes relevant operation, to delete the block to be deleted.
2. according to the method described in claim 1, it is characterized in that, first equipment determine it is to be deleted in block chain network
Block, including:
First equipment determines storage duration or the elapsed time of the block in the block chain network;
First equipment determines the block to be deleted according to the storage duration or the elapsed time.
3. according to the method described in claim 2, it is characterized in that, first equipment determines institute according to the storage duration
Block to be deleted is stated, including:
First equipment was determined between current time and the generation moment of continuous K the firstth area i-th of first blocks in the block
Time interval be greater than or equal to the storage durations of i-th of first blocks, the storage duration of i-th of block is for referring to
Show that the data needs that i-th of first blocks or i-th of first blocks include are deposited in the block chain network
The duration of storage, K are positive integer more than or equal to 1, i=1 ... K;
The K the first blocks are determined as block to be deleted by first equipment.
4. according to the method described in claim 2, it is characterized in that, first equipment determines institute according to the elapsed time
Block to be deleted is stated, including:
First equipment determine current time for the elapsed time of continuous K the firstth areas i-th of first blocks in the block or
Current time is later than the elapsed time of the K the firstth area i-th of first blocks in the block, and i-th of first blocks disappear
Time of dying is used to indicate data needs that first block or first block include quilt in the block chain network
The time of deletion, K are positive integer more than or equal to 1, i=1 ... K;
The K the first blocks are determined as block to be deleted by first equipment.
5. method according to claim 3 or 4, which is characterized in that first equipment, which performs, deletes relevant operation, packet
It includes:
First equipment deletes K first block;Or,
First equipment sets the initial value of the deletion certification number of K first block, and to the block chain network
In equipment send the deletion certification numbers of the first block information and the K the first blocks, first block information is used for
The K the first blocks are indicated, in order to which the equipment in the block chain network is recognized in the deletion for determining the K the first blocks
When demonstrate,proving number as the first preset value, the K the first blocks are deleted.
6. the method according to claim 3 or 5, which is characterized in that determine current time and continuous K in first equipment
Time interval between the generation moment of a firstth area, i-th of first blocks in the block is greater than or equal to i-th of firstth areas
Before the storage duration of block, the method further includes:
First equipment determines that there is generation moment and the time interval at current time in the K the first blocks is less than block
Storage duration the first block;
First equipment deletes the generation moment and the time interval at current time is less than store duration the first of block
The data that block includes.
7. method according to claim 4 or 5, which is characterized in that determine that current time is continuous K in first equipment
The elapsed time of a firstth area, i-th of first blocks in the block or current time are later than the K the firstth area in the block i-th
Before the elapsed time of a first block, the method further includes:
First equipment determines that there are first block of the elapsed time earlier than current time in the K the first blocks;
First equipment deletes the elapsed time earlier than the data that the first block of current time includes.
8. according to the method described in claim 1, it is characterized in that, first equipment determine it is to be deleted in block chain network
Block, including:
First equipment determines to carry the first block information in block chain and deletes certification number, first block information
Continuous K the first blocks are used to indicate, the deletion certification number is used to indicate the K the first blocks in the block link network
Deletion certification number in network, K are the positive integer more than or equal to 1;
The K the first blocks are determined as block to be deleted by first equipment.
9. according to the method described in claim 8, it is characterized in that, the value for deleting certification number is the first preset value;
Wherein, first equipment, which performs, deletes relevant operation, including:
First equipment deletes K first block.
10. according to the method described in claim 9, it is characterized in that, the value for deleting certification number is less than first and presets
Value;
Wherein, first equipment, which performs, deletes relevant operation, including:
First equipment by the value for deleting certification number after increasing by 1, the equipment into the block chain network
First block information and the deletion certification number are sent, in order to which the equipment in the block chain network is determining described
When the deletion certification number of K the first blocks is first preset value, the K the first blocks are deleted.
11. the method according to any one of claim 3 to 9, which is characterized in that delete the K in first equipment
After a first block, the method further includes:
First equipment was determined in current time and continuous L the second blocks between the generation moment of j-th of second blocks
Time interval is greater than or equal to the storage duration of j-th of second blocks, and the L the second blocks are later than the K for the generation moment
A first block, and the block adjacent with the L the first blocks, L are the positive integer more than or equal to 1, j=1 ... L;
First equipment deletes L second block;Or,
First equipment sets the initial value of the deletion certification number of L second block, and to the block chain network
In equipment send the deletion certification numbers of the second block information and the L the second blocks, second block information is used for
The L the second blocks are indicated, in order to which the equipment in the block chain network is recognized in the deletion for confirming L second block
When demonstrate,proving number as first preset value, the L the second blocks are deleted.
12. method according to any one of claim 1 to 11, which is characterized in that the method further includes:
First equipment generates third block, carries the storage duration of the third block in the third block, and described the
The storage duration of three blocks is used to indicate data needs that the third block or the third block include in the block
Stored duration in chain network.
13. according to the method for claim 12, which is characterized in that the block head of the third block includes the third
The storage duration of block.
14. method according to claim 12 or 13, which is characterized in that the third block includes the transmission of the second equipment
Data;
Wherein, before first equipment generates third block, the method further includes:
First equipment receives the data of the second equipment transmission and the first storage duration of the data, and second equipment is
Equipment in the block chain network, the first storage duration are used to indicate the data needs that second equipment determines
The stored duration in the block chain network;
First equipment determines the storage duration of the third block according to the described first storage duration.
15. according to the method for claim 14, which is characterized in that the first storage duration is led to by second equipment
Cross hold consultation with third equipment it is determining, the third equipment be the block chain network in equipment.
16. according to the method for claim 15, which is characterized in that the first storage duration be second equipment according to
What the second storage duration determined, the second storage duration is that the data determined by the 4th equipment are needed in the block chain
Stored duration in network, the 4th equipment are the equipment except the block chain network.
17. according to the method for claim 16, which is characterized in that the second storage duration is led to by the 4th equipment
Cross hold consultation with the 5th equipment it is determining, the 5th equipment be the block chain network except equipment.
18. the method according to any one of claim 12 to 17, which is characterized in that the method further includes:
First equipment determines the block chain belonging to the third block;
The third block is added in the block chain by first equipment.
19. according to the method for claim 18, which is characterized in that first equipment is determined belonging to the third block
Block chain, including:
Storage duration and default correspondence of first equipment according to the third block, determine belonging to the third block
Block chain, the default correspondence for block storage duration and block chain correspondence.
20. the method according to claim 18 or 19, which is characterized in that the mark of the block chain is carried in the block chain
Know.
21. the method according to any one of claim 1 to 20, which is characterized in that the method further includes:
First equipment generates the 4th block, and the block head of the 4th block includes third block information and erasing time
Information, wherein, the third block information is used to indicate deleted block, and the erasing time information is used to indicate deleted
The deletion moment of block or the erasing time information are used to indicate the deletion moment for the data that deleted block includes.
22. the method according to any one of claim 1 to 21, which is characterized in that the method further includes:
Storage device of first equipment into the block chain network or the storage device hair except the block chain network
The data that deleted block or deleted block is sent to include.
23. according to the method for claim 22, which is characterized in that the method further includes:
Storage device of first equipment into the block chain network or the storage device hair except the block chain network
Third is sent to store duration, during third storage a length of deleted block or the deleted area it is in the block including
Data need stored in the storage device in the block chain network or the storage device except the block chain network
Duration.
24. a kind of data processing method based on block chain, which is characterized in that including:
Second equipment obtains data, and second equipment is the equipment in block chain network;
Second equipment determines the first storage duration of the data, and the first storage duration of the data is used to indicate described
The data that second equipment determines need the stored duration in the block chain network;
Equipment of second equipment into the block chain network sends the data and the first storage duration, and described the
For determining the storage duration of the third block comprising the data, the storage duration of the third block is used for one storage duration
Indicate that the data needs that the third block or the third block include are stored in the block chain network
Duration.
25. according to the method for claim 24, which is characterized in that second equipment determines the first storage of the data
Duration, including:
Second equipment is held consultation with third equipment, determines the first storage duration, and the third equipment is the area
Equipment in block chain network.
26. according to the method for claim 24, which is characterized in that second equipment obtains data, including:
Second equipment receives the data and the second storage duration that the 4th equipment is sent, when second storage a length of the
It is the block that the data that four equipment determine, which need the 4th equipment described in stored duration in the block chain network,
Equipment except chain network;
Wherein, second equipment determines the first storage duration of the data, including:
Second equipment determines the first storage duration according to the described second storage duration.
27. according to the method for claim 26, which is characterized in that the second storage duration is led to by the 4th equipment
Cross hold consultation with the 5th equipment it is determining, the 5th equipment be the block chain network except equipment.
28. a kind of equipment, which is characterized in that including:
Processing module, for determining the block to be deleted in block chain network, the equipment is setting in the block chain network
It is standby;
Delete operation execution module deletes relevant operation, to delete the block to be deleted for performing.
29. equipment according to claim 28, which is characterized in that the processing module is specifically used for:
Determine storage duration or the elapsed time of the block in the block chain network;
According to the storage duration or the elapsed time, the block to be deleted is determined.
30. equipment according to claim 29, which is characterized in that the processing module is specifically used for:
Determine that the time interval between current time and the generation moment of continuous K the firstth area i-th of first blocks in the block is big
In or equal to i-th of first blocks storage duration, the storage duration of i-th of block is used to indicate described i-th
The data needs that first block or i-th of first blocks include stored duration, K in the block chain network are
Positive integer more than or equal to 1, i=1 ... K;
The K the first blocks are determined as block to be deleted.
31. equipment according to claim 29, which is characterized in that the processing module is specifically used for:
Determine that current time is later than for the elapsed time of a firstth area, i-th of first blocks in the block of continuous K or current time
The elapsed time of the K the firstth area i-th of first blocks in the block, the elapsed time of i-th of first blocks are used to refer to
Show the time that the data needs that first block or first block include are deleted in the block chain network, K
To be greater than or equal to 1 positive integer, i=1 ... K;
The K the first blocks are determined as block to be deleted.
32. the equipment according to claim 30 or 31, which is characterized in that the delete operation execution module is specifically used for:
Delete the K the first blocks;Or,
The initial value of the deletion certification number of the K the first blocks is set, and the equipment into the block chain network is sent
The deletion certification number of first block information and the K the first blocks, first block information are used to indicate the K the
One block, in order to which the equipment in the block chain network in the deletion certification number for determining the K the first blocks is first
During preset value, the K the first blocks are deleted.
33. the equipment according to claim 30 or 32, which is characterized in that determine current time and company in the processing module
Time interval between the generation moment of continuous K the firstth area i-th of first blocks in the block is greater than or equal to described i-th first
Before the storage duration of block, the processing module is additionally operable to:
The time interval for determining to have generation moment and current time in the K the first blocks is less than the storage duration of block
First block;
The delete operation execution module is additionally operable to delete the generation moment and the time interval at current time is less than block
The data that first block of storage duration includes.
34. the equipment according to claim 31 or 32, which is characterized in that determining current time for continuous K the firstth area
The elapsed time of i-th of first blocks in the block or current time are later than i-th of firstth areas in the block of the K the firstth areas
Before the elapsed time of block, the processing module is additionally operable to:
Determine that there are first block of the elapsed time earlier than current time in the K the first blocks;
The delete operation execution module is additionally operable to delete what the elapsed time included earlier than the first block of current time
Data.
35. equipment according to claim 28, which is characterized in that the processing module is specifically used for:
It determines to carry the first block information in block chain and deletes certification number, first block information is used to indicate continuously
K the first blocks, the deletion certification number, which is used to indicate the K deletions of first block in the block chain network, to be recognized
Number is demonstrate,proved, K is the positive integer more than or equal to 1;
The K the first blocks are determined as block to be deleted.
36. equipment according to claim 35, which is characterized in that the value for deleting certification number is default for first
Value;
Wherein, the delete operation execution module is specifically used for:Delete the K the first blocks.
37. equipment according to claim 36, which is characterized in that it is default that the value for deleting certification number is less than first
Value;
Wherein, the delete operation execution module is specifically used for:After the value for deleting certification number is increased by 1, to
Equipment in the block chain network sends first block information and the deletion certification number, in order to the block chain
Equipment in network deletes the K when the deletion certification number for determining the K the first blocks is first preset value
First block.
38. the equipment according to any one of claim 30 to 36, which is characterized in that in the delete operation execution module
After deleting the K the first blocks, the processing module is additionally operable to:
Determine that the time interval in current time and continuous L the second blocks between the generation moment of j-th of second blocks is more than
Or the storage duration equal to j-th of second blocks, the L the second blocks are later than the K the first blocks for the generation moment, and
The block adjacent with the L the first blocks, L are the positive integer more than or equal to 1, j=1 ... L;
The delete operation execution module is additionally operable to delete the L the second blocks;Or, deleting for L second block is set
Except the initial value of certification number, and the equipment into the block chain network sends the second block information and the L the secondth area
The deletion certification number of block, second block information is used to indicate the L the second blocks, in order to the block chain network
In equipment when the deletion certification number for confirming the L the second blocks is first preset value, delete the L second
Block.
39. the equipment according to any one of claim 28 to 38, which is characterized in that the processing module is additionally operable to:
Third block is generated, the storage duration of the third block, the storage of the third block are carried in the third block
Duration is used to indicate the data needs that the third block or the third block include and is deposited in the block chain network
The duration of storage.
40. equipment according to claim 39, which is characterized in that the block head of the third block includes the third
The storage duration of block.
41. the equipment according to claim 39 or 40, which is characterized in that the third block includes the transmission of the second equipment
Data;
Wherein, before the generation third block, the processing module is additionally operable to:
The data of the second equipment transmission and the first storage duration of the data are received, second equipment is the block link network
Equipment in network, the first storage duration, which is used to indicate the data that second equipment determines, to be needed in the block chain
Stored duration in network;
According to the described first storage duration, the storage duration of the third block is determined.
42. equipment according to claim 41, which is characterized in that the first storage duration is led to by second equipment
Cross hold consultation with third equipment it is determining, the third equipment be the block chain network in equipment.
43. equipment according to claim 42, which is characterized in that the first storage duration be second equipment according to
What the second storage duration determined, the second storage duration is that the data determined by the 4th equipment are needed in the block chain
Stored duration in network, the 4th equipment are the equipment except the block chain network.
44. equipment according to claim 43, which is characterized in that the second storage duration is led to by the 4th equipment
Cross hold consultation with the 5th equipment it is determining, the 5th equipment be the block chain network except equipment.
45. the equipment according to any one of claim 39 to 44, which is characterized in that the processing module is additionally operable to:
Determine the block chain belonging to the third block;
The third block is added in the block chain.
46. equipment according to claim 45, which is characterized in that the processing module is specifically used for:
According to the storage duration of the third block and default correspondence, the block chain belonging to the third block, institute are determined
Default correspondence is stated as the storage duration of block and the correspondence of block chain.
47. the equipment according to claim 45 or 46, which is characterized in that the mark of the block chain is carried in the block chain
Know.
48. the equipment according to any one of claim 28 to 47, which is characterized in that the processing module is additionally operable to:
The 4th block is generated, the block head of the 4th block includes third block information and erasing time information, wherein, institute
It states third block information and is used to indicate deleted block, when the erasing time information is used to indicate the deletion of deleted block
Quarter or the erasing time information are used to indicate the deletion moment for the data that deleted block includes.
49. the equipment according to any one of claim 28 to 48, which is characterized in that the processing module is additionally operable to:
Storage device except storage device or the block chain network into the block chain network sends deleted area
The data that block or deleted block include.
50. equipment according to claim 49, which is characterized in that the processing module is additionally operable to:
When storage device except storage device or the block chain network into the block chain network sends third storage
It is long, during the third storage a length of deleted block or the deleted area it is in the block including data need in institute
State stored duration in the storage device in block chain network or the storage device except the block chain network.
51. a kind of equipment, which is characterized in that including:
Processing module, for obtaining data, the equipment is the equipment in block chain network;
The processing module, is additionally operable to determine the first storage duration of the data, and the first storage duration of the data is used for
Indicate that the data that the equipment determines need the stored duration in the block chain network;
Transceiver module sends the data and the first storage duration for the equipment into the block chain network, described
First storage duration for determining the storage duration of the third block comprising the data, use by the storage duration of the third block
It is stored in the block chain network in the data needs that the instruction third block or the third block include
Duration.
52. equipment according to claim 51, which is characterized in that the processing module is specifically used for:With third equipment into
Row is negotiated, and determines the first storage duration, and the third equipment is the equipment in the block chain network.
53. equipment according to claim 51, which is characterized in that the processing module is specifically used for:
Receive the data and the second storage duration of the 4th equipment transmission, a length of 4th equipment determines during second storage
The data need the stored duration in the block chain network, and the 4th equipment is except the block chain network
Equipment;
According to the described second storage duration, the first storage duration is determined.
54. equipment according to claim 53, which is characterized in that the second storage duration is led to by the 4th equipment
Cross hold consultation with the 5th equipment it is determining, the 5th equipment be the block chain network except equipment.
55. a kind of communication system, which is characterized in that including the equipment and claim described in any one of claim 28 to 50
Equipment described in any one of 51 to 54.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710002175.XA CN108270836B (en) | 2017-01-03 | 2017-01-03 | Data processing method, device and system based on block chain |
PCT/CN2017/115001 WO2018126837A1 (en) | 2017-01-03 | 2017-12-07 | Blockchain-based data processing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710002175.XA CN108270836B (en) | 2017-01-03 | 2017-01-03 | Data processing method, device and system based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108270836A true CN108270836A (en) | 2018-07-10 |
CN108270836B CN108270836B (en) | 2020-04-03 |
Family
ID=62770701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710002175.XA Active CN108270836B (en) | 2017-01-03 | 2017-01-03 | Data processing method, device and system based on block chain |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108270836B (en) |
WO (1) | WO2018126837A1 (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108876254A (en) * | 2018-08-01 | 2018-11-23 | 口碑(上海)信息技术有限公司 | The providing method and device of inventory data |
CN109145163A (en) * | 2018-08-22 | 2019-01-04 | 深圳前海微众银行股份有限公司 | Block chain data capacity reduction method, device and storage medium |
CN109150598A (en) * | 2018-08-10 | 2019-01-04 | 上交所技术有限责任公司 | A kind of BFT common recognition algorithm bandwidth utilization rate improved method based on block piece |
CN109189859A (en) * | 2018-09-20 | 2019-01-11 | 百度在线网络技术(北京)有限公司 | Node initializing method and apparatus in block chain network |
CN109325762A (en) * | 2018-08-30 | 2019-02-12 | 杭州复杂美科技有限公司 | Across the chain method of commerce of parallel chain, equipment and storage medium |
CN109344630A (en) * | 2018-09-18 | 2019-02-15 | 百度在线网络技术(北京)有限公司 | Block generation method, device, equipment and storage medium |
CN109474675A (en) * | 2018-10-18 | 2019-03-15 | 尚维斯 | A kind of block height split blade type date storage method based on block chain |
CN109714398A (en) * | 2018-12-11 | 2019-05-03 | 新华三技术有限公司 | Date storage method and device |
CN109885258A (en) * | 2019-02-01 | 2019-06-14 | 立旃(上海)科技有限公司 | Data deletion apparatus and method based on block chain |
CN110222052A (en) * | 2019-05-20 | 2019-09-10 | 重庆金融资产交易所有限责任公司 | Block chain data processing method, device, computer equipment and storage medium |
CN110597825A (en) * | 2019-09-24 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain and node equipment |
WO2020043048A1 (en) * | 2018-08-30 | 2020-03-05 | 杭州复杂美科技有限公司 | Parallel chain data synchronization method, device, and storage medium |
CN110880968A (en) * | 2018-09-05 | 2020-03-13 | 元一科技控股有限公司 | Block transmission and recording method and device and computer storage medium |
WO2020093565A1 (en) * | 2018-11-08 | 2020-05-14 | 深圳壹账通智能科技有限公司 | Blockchain block deletion method and apparatus, and terminal device |
WO2020151635A1 (en) * | 2019-01-23 | 2020-07-30 | 腾讯科技(深圳)有限公司 | Data processing method and apparatus, computer device, and storage medium |
CN112153085A (en) * | 2019-06-26 | 2020-12-29 | 华为技术有限公司 | Data processing method, node and block chain system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10503905B1 (en) * | 2019-06-26 | 2019-12-10 | Capital One Services, Llc | Data lineage management |
EP3798772B1 (en) | 2019-09-25 | 2022-11-02 | Schneider Electric Industries SAS | Industrial process control |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101164037A (en) * | 2005-02-16 | 2008-04-16 | 桑迪士克股份有限公司 | Direct data file storage in flash memories |
US20160300222A1 (en) * | 2015-04-07 | 2016-10-13 | Modernity Financial Holdings, Ltd. | Off network identity tracking in anonymous cryptocurrency exchange networks |
CN106251216A (en) * | 2016-07-18 | 2016-12-21 | 恒宝股份有限公司 | A kind of method and system for alleviating node storage pressure |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160342977A1 (en) * | 2015-05-20 | 2016-11-24 | Vennd.io Pty Ltd | Device, method and system for virtual asset transactions |
CN104935657A (en) * | 2015-06-15 | 2015-09-23 | 清华大学深圳研究生院 | Method for actively pushing information and embedded node operating system |
US20170031676A1 (en) * | 2015-07-27 | 2017-02-02 | Deja Vu Security, Llc | Blockchain computer data distribution |
CN105790954B (en) * | 2016-03-02 | 2019-04-09 | 布比(北京)网络技术有限公司 | A kind of method and system constructing electronic evidence |
-
2017
- 2017-01-03 CN CN201710002175.XA patent/CN108270836B/en active Active
- 2017-12-07 WO PCT/CN2017/115001 patent/WO2018126837A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101164037A (en) * | 2005-02-16 | 2008-04-16 | 桑迪士克股份有限公司 | Direct data file storage in flash memories |
US20160300222A1 (en) * | 2015-04-07 | 2016-10-13 | Modernity Financial Holdings, Ltd. | Off network identity tracking in anonymous cryptocurrency exchange networks |
CN106251216A (en) * | 2016-07-18 | 2016-12-21 | 恒宝股份有限公司 | A kind of method and system for alleviating node storage pressure |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108876254A (en) * | 2018-08-01 | 2018-11-23 | 口碑(上海)信息技术有限公司 | The providing method and device of inventory data |
CN109150598A (en) * | 2018-08-10 | 2019-01-04 | 上交所技术有限责任公司 | A kind of BFT common recognition algorithm bandwidth utilization rate improved method based on block piece |
CN109145163A (en) * | 2018-08-22 | 2019-01-04 | 深圳前海微众银行股份有限公司 | Block chain data capacity reduction method, device and storage medium |
CN109145163B (en) * | 2018-08-22 | 2021-08-24 | 深圳前海微众银行股份有限公司 | Block chain data capacity reduction method and device and storage medium |
WO2020043048A1 (en) * | 2018-08-30 | 2020-03-05 | 杭州复杂美科技有限公司 | Parallel chain data synchronization method, device, and storage medium |
CN109325762A (en) * | 2018-08-30 | 2019-02-12 | 杭州复杂美科技有限公司 | Across the chain method of commerce of parallel chain, equipment and storage medium |
CN109325762B (en) * | 2018-08-30 | 2020-07-10 | 杭州复杂美科技有限公司 | Parallel chain cross-chain transaction method, equipment and storage medium |
CN110880968A (en) * | 2018-09-05 | 2020-03-13 | 元一科技控股有限公司 | Block transmission and recording method and device and computer storage medium |
CN109344630A (en) * | 2018-09-18 | 2019-02-15 | 百度在线网络技术(北京)有限公司 | Block generation method, device, equipment and storage medium |
CN109189859A (en) * | 2018-09-20 | 2019-01-11 | 百度在线网络技术(北京)有限公司 | Node initializing method and apparatus in block chain network |
CN109189859B (en) * | 2018-09-20 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | Node initialization method and device in block chain network |
CN109474675A (en) * | 2018-10-18 | 2019-03-15 | 尚维斯 | A kind of block height split blade type date storage method based on block chain |
WO2020093565A1 (en) * | 2018-11-08 | 2020-05-14 | 深圳壹账通智能科技有限公司 | Blockchain block deletion method and apparatus, and terminal device |
CN109714398A (en) * | 2018-12-11 | 2019-05-03 | 新华三技术有限公司 | Date storage method and device |
CN109714398B (en) * | 2018-12-11 | 2021-09-21 | 新华三技术有限公司 | Data storage method and device |
US11574290B2 (en) | 2019-01-23 | 2023-02-07 | Tencent Technology (Shenzhen) Company Limited | Data processing method and apparatus, computer device, and storage medium |
WO2020151635A1 (en) * | 2019-01-23 | 2020-07-30 | 腾讯科技(深圳)有限公司 | Data processing method and apparatus, computer device, and storage medium |
US11935015B2 (en) | 2019-01-23 | 2024-03-19 | Tencent Technology (Shenzhen) Company Limited | Data processing method and apparatus, computer device, and storage medium |
CN109885258A (en) * | 2019-02-01 | 2019-06-14 | 立旃(上海)科技有限公司 | Data deletion apparatus and method based on block chain |
CN109885258B (en) * | 2019-02-01 | 2023-02-21 | 立旃(上海)科技有限公司 | Data deleting device and method based on block chain |
CN110222052A (en) * | 2019-05-20 | 2019-09-10 | 重庆金融资产交易所有限责任公司 | Block chain data processing method, device, computer equipment and storage medium |
CN112153085B (en) * | 2019-06-26 | 2022-05-17 | 华为技术有限公司 | Data processing method, node and block chain system |
CN112153085A (en) * | 2019-06-26 | 2020-12-29 | 华为技术有限公司 | Data processing method, node and block chain system |
CN110597825A (en) * | 2019-09-24 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain and node equipment |
CN110597825B (en) * | 2019-09-24 | 2021-07-27 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain and node equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2018126837A1 (en) | 2018-07-12 |
CN108270836B (en) | 2020-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108270836A (en) | Data processing method, equipment and system based on block chain | |
CN107203344A (en) | A kind of date storage method and data-storage system | |
CN109241778A (en) | A kind of public transport data processing method and device based on block chain | |
CN110033244A (en) | Intelligent contract based on block chain executes method and device and electronic equipment | |
CN107122477A (en) | A kind of block chain storage system | |
CN108447183A (en) | A kind of intelligent electric meter system of the light wallet of band | |
CN110175840A (en) | Method, client, alliance's chain and the system of light wallet mechanism are realized in alliance's chain | |
CN110121860A (en) | Data processing method, equipment and system based on block chain | |
CN103597456B (en) | Method and apparatus for implementing memory segment access control in a distributed memory environment | |
CN106919476A (en) | Data safety backup method, client and cloud server terminal based on alliance's chain | |
CN107181797A (en) | The block compression method and system of a kind of block chain | |
CN101655858B (en) | Cryptograph index structure based on blocking organization and management method thereof | |
CN109547488A (en) | A kind of trust data calculating and exchange system based on alliance's block chain | |
CN110147684A (en) | For realizing the method and apparatus of block chain data-privacy protection | |
CN101505222B (en) | Terminal identification method, authentication method, authentication system, server, terminal, radio base station, program, and recording medium | |
Asfia et al. | Energy trading of electric vehicles using blockchain and smart contracts | |
CN110162570A (en) | The gradation acquisition methods and device of block chain data | |
CN111723060B (en) | Blacklist data sharing method and system based on blockchain | |
CN109146677A (en) | Method, computer system and the readable storage medium storing program for executing of parallel building block chain view | |
Zhao et al. | Evaluating DAG-based blockchains for IoT | |
CN111970304A (en) | Message processing method and device | |
CN111198888A (en) | Method and system for dynamically generating and monitoring digital currency crown number | |
CN111861459A (en) | Iota account book optimization system and method based on DPoS consensus algorithm | |
CN109242676A (en) | Block dissemination method and device, electronic equipment | |
CN108573181A (en) | A kind of RFID reader, RFID system and block chain network |
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 |