CN108768733A - block chain account book processing method, device and block chain node - Google Patents
block chain account book processing method, device and block chain node Download PDFInfo
- Publication number
- CN108768733A CN108768733A CN201810556721.9A CN201810556721A CN108768733A CN 108768733 A CN108768733 A CN 108768733A CN 201810556721 A CN201810556721 A CN 201810556721A CN 108768733 A CN108768733 A CN 108768733A
- Authority
- CN
- China
- Prior art keywords
- node
- block
- memory node
- memory
- primary storage
- 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
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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
- H04L41/0836—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of block chain account book processing method of offer of the embodiment of the present invention, device and block chain node.This method includes:Primary storage node sends inquiry request to multiple from memory node, and the inquiry request is used to inquire the partial content of target block in block chain account book;The primary storage node receives the partial content of the multiple target block each fed back from memory node from memory node;The primary storage node determines described each from the reliability of memory node by comparing the partial content of the partial content and the target block being stored in the primary storage node of the target block each fed back from memory node;The primary storage node by it is described each from the identification information of memory node and it is described each from the reliability of memory node be sent to block generate node so that the block generate node by the block of generation be sent to reliability be more than threshold value slave memory node.The embodiment of the present invention improves the reliability of block chain account book.
Description
Technical field
The present embodiments relate to a kind of field of communication technology more particularly to block chain account book processing method, device and areas
Block chain node.
Background technology
In block chain network, each node needs to store a complete block chain account book, leads to depositing for each node
Storage space is largely occupied, and therefore, the prior art is considered to store the storage of block chain account book to one or more blocks and be saved
Point.
But when block memory node is under attack simultaneously, by the block for causing the block memory node to provide or area
Block chain account book is unreliable.
Invention content
A kind of block chain account book processing method of offer of the embodiment of the present invention, device and block chain node, to improve block chain
The reliability of account book.
In a first aspect, the embodiment of the present invention provides a kind of block chain account book processing method, including:
Primary storage node sends inquiry request to multiple from memory node, and the inquiry request is for inquiring block chain account book
The partial content of middle target block;
The primary storage node receives the multiple target area each fed back from memory node from memory node
The partial content of block;
The primary storage node is by comparing described each from the partial content of the target block of memory node feedback
With the partial content for the target block being stored in the primary storage node, determine described each from the reliable of memory node
Degree;
The primary storage node by it is described each from the identification information of memory node and it is described each from memory node can
It is sent to block by degree and generates node, so that the block generates node and the block of generation is sent to reliability more than threshold value
From memory node.
Second aspect, the embodiment of the present invention provide a kind of block chain account book processing unit, including:
Sending module, for sending inquiry request from memory node to multiple, the inquiry request is for inquiring block chain
The partial content of target block in account book;
Receiving module, for receiving the multiple target block each fed back from memory node from memory node
Partial content;
Determining module, for by comparing it is described each from memory node feed back the target block partial content and
It is stored in the partial content of the target block in the block chain account book processing unit, is determined described each from memory node
Reliability;
The sending module is additionally operable to:By described each from the identification information of memory node and described each from memory node
Reliability be sent to block generate node so that the block generate node by the block of generation be sent to reliability be more than threshold
The slave memory node of value.
The third aspect, the embodiment of the present invention provide a kind of block chain node, including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed with reality by the processor
Method described in existing first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program is executed by processor to realize the method described in first aspect.
Block chain account book processing method, device and block chain node provided in an embodiment of the present invention, pass through primary storage node
Inquiry request is sent from memory node to multiple, is obtained each out of, the target block that memory node stores part with inquiry
Hold, further by comparing each from memory node feed back target block partial content and be stored in the primary storage node
The target block partial content, determine this each from the reliability of memory node so that block generate node generate it is new
When block, it is higher from memory node which is sent to reliability, to improve the reliability of block chain account book.
Description of the drawings
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 is block chain account book process flow figure provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of block chain network provided in an embodiment of the present invention;
Fig. 4 is the block chain account book process flow figure that another embodiment of the present invention provides;
Fig. 5 is the structural schematic diagram of block chain account book processing unit provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of block chain node provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Block chain account book processing method provided by the invention, can be adapted for communication system shown in FIG. 1.As shown in Figure 1,
The communication system includes:Access network equipment 11, terminal device 12 and server 13.It should be noted that communication shown in FIG. 1
System can be adapted for different network formats, for example, can be adapted for global system for mobile telecommunications (Global System of
Mobile communication, abbreviation GSM), CDMA (Code Division Multiple Access, referred to as
CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, abbreviation WCDMA), time division synchronous
CDMA (Time Division-Synchronous Code Division Multiple Access, abbreviation TD-
SCDMA), the network formats such as the 5G in long term evolution (Long Term Evolution, abbreviation LTE) system and future.Optionally,
Above-mentioned communication system can be that highly reliable low time delay communicates (Ultra-Reliable and Low Latency in 5G communication systems
Communications, abbreviation URLLC) transmission scene in system.
So optionally, above-mentioned access network equipment 11 can be base station (the Base Transceiver in GSM or CDMA
Station, abbreviation BTS) and/or base station controller can also be base station (NodeB, abbreviation NB) in WCDMA and/or wireless
Network controller (Radio Network Controller, abbreviation RNC), can also be the evolved base station in LTE
(Evolutional Node B, abbreviation eNB or eNodeB) either base in relay station or access point or future 5G networks
Stand (gNB) etc., and the present invention does not limit herein.
Above-mentioned terminal device 12 can be that wireless terminal can also be catv terminal.Wireless terminal can be directed to user and carry
For voice and/or the equipment of other business datum connectivity, there is the portable equipment of wireless connecting function or be connected to wireless
Other processing equipments of modem.Wireless terminal can be through wireless access network (Radio Access Network, abbreviation
RAN it) is communicated with one or more equipments of the core network, wireless terminal can be mobile terminal, as mobile phone (or is
" honeycomb " phone) and computer with mobile terminal, for example, it may be portable, pocket, hand-held, built-in computer
Or vehicle-mounted mobile device, they exchange language and/or data with wireless access network.For another example wireless terminal can be with
It is personal communication service (Personal Communication Service, abbreviation PCS) phone, wireless phone, session setup
Agreement (Session Initiation Protocol, abbreviation SIP) phone, wireless local loop (Wireless Local
Loop, abbreviation WLL) it stands, the equipment such as personal digital assistant (Personal Digital Assistant, abbreviation PDA).It is wireless whole
End is referred to as system, subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), movement station
(Mobile Station), mobile station (Mobile), distant station (Remote Station), remote terminal (Remote
Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User
Agent), user equipment (User Device or User Equipment), is not limited thereto.Optionally, above-mentioned terminal is set
Standby 12 can also be the equipment such as smartwatch, tablet computer.In the present embodiment, terminal device 12 and server 13 can be areas
Node in block chain network.
Block chain account book processing method provided by the invention, it is intended to solve the technical problem as above of the prior art.
How the technical solution of technical scheme of the present invention and the application is solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for same or analogous concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is block chain account book process flow figure provided in an embodiment of the present invention.The embodiment of the present invention is for existing
The technical problem as above of technology, provides block chain account book processing method, and this method is as follows:
Step 201, primary storage node send inquiry request to multiple from memory node, and the inquiry request is used for interrogation zone
The partial content of target block in block chain account book.
As shown in figure 3, block chain network includes primary storage node 31, primary storage node 32, primary storage node 33, primary storage
Node 34, from memory node 41, from memory node 42, from memory node 43, herein only schematically illustrate, do not limit the area
The specific network architecture of block chain network.Optionally, each primary storage node, which can be corresponded to, communicates to connect with multiple from memory node, example
Such as, primary storage node 31 can be communicated to connect with from memory node 41, from memory node 42, from memory node 43, optionally, main
It memory node 32 and is communicated to connect from memory node 41, from memory node 42, from memory node 43, or with others from storage
Node communicates to connect.Similarly, primary storage node 33, primary storage node 34 can also with from memory node 41, from memory node 42,
It communicates to connect from memory node 43, or is communicated to connect from memory node with others.In addition, the present embodiment do not limit with each
The number of the slave memory node of primary storage node communication connection.
In the present embodiment, the identity information of primary storage node needs to be broadcast in block chain network, and primary storage section
The identity information needs of point are recorded in wound generation block.In addition, primary storage node needs to keep presence, and do not receive it
The storage service request that his ordinary node proposes, if having received the storage service request of other ordinary nodes transmission, the master
Storage service request is transmitted to from memory node by memory node.In addition, primary storage node is locally stored there are one list, it should
List includes the identification information and reliability of the slave memory node communicated to connect with the primary storage node, for example, primary storage node
31 are locally stored there are one list, which includes from the identification information and reliability of memory node 41, from memory node 42
Identification information and reliability, identification information and reliability from memory node 43 are optionally each believed from the mark of memory node
Breath and the entry that reliability is the list.In the present embodiment, primary storage node is stored with complete block chain account book.When
It is when digging mine node to generate new block that block in block chain network, which generates node, which generates node by the new block
It is sent to primary storage node, primary storage node stores the new block into local block chain account book, to keep the block
Chain account book is complete.As shown in figure 3, between primary storage node 31, primary storage node 32, primary storage node 33, primary storage node 34
It is connected in star-shaped network topology so that can be with the real-time synchronization block chain account book, so that each between each primary storage node
The block chain account book that primary storage node is locally stored is newest and is complete.
In the present embodiment, it needs to be broadcast in block chain network from the identity information of memory node, and primary storage section
The identity information of point can be recorded in non-wound generation block.In addition, presence should need not be kept from memory node.It should be from depositing
It stores up and is stored with Partial Block chain account book in node, rather than complete block chain account book, when which can be
Between and/or the discontinuous block chain account book of block number.It is asked in addition, the inquiry that other nodes propose can be received from memory node
It asks.When it is to dig mine node to generate new block that the block in block chain network, which generates node, which generates node, and this is new
Block be sent to from memory node, in block storage to local Partial Block chain account book from memory node that this is new.
In the present embodiment, partly may be hacked from memory node, therefore, primary storage node needs real-time
It determines each reliability from memory node, and then adjusts each identification information and reliability from memory node in lists
Sequence.
As shown in figure 3, primary storage node 31 can divide to from memory node 41, from memory node 42, from memory node 43
Inquiry request is not sent, which is used to inquire the partial content of target block in block chain account book.Optionally, the mesh
The partial content for marking block includes following at least one:Target area part Transaction Information in the block, the target block
Target word segment value in block body.
In the present embodiment, the Partial Block chain account stored from memory node 41, from memory node 42, from memory node 43
Originally can be identical, can be different, by taking difference as an example, optionally, it is stored with the P block from memory node 41, from memory node
42 are stored with the P+1 block, and the P+2 block is stored with from memory node 43.It only schematically illustrates, does not limit every herein
The number of a block stored from memory node.
Optionally, primary storage node 31 sends inquiry request to from memory node 41, and it is in the block to obtain the P area with inquiry
The value of certain field in the block body of a certain transaction information or the P block.
Primary storage node 31 sends inquiry request to from memory node 42, and it is in the block a certain to obtain the P+1 area with inquiry
The value of certain field in the block body of transaction information or the P+1 block.
Primary storage node 31 sends inquiry request to from memory node 43, and it is in the block a certain to obtain the P+2 area with inquiry
The value of certain field in the block body of transaction information or the P+2 block.
Step 202, the primary storage node receive the multiple institute each fed back from memory node from memory node
State the partial content of target block.
Correspondingly, primary storage node 31 is received from the P area that memory node 41 is fed back a certain transaction information in the block,
Or in the block body of the P block certain field value.
Primary storage node 31 is received from the P+1 area that memory node 42 is fed back a certain transaction information in the block or P
The value of certain field in the block body of+1 block.
Primary storage node 31 is received from the P+2 area that memory node 43 is fed back a certain transaction information in the block or P
The value of certain field in the block body of+2 blocks.
Step 203, the primary storage node are by comparing the target block each fed back from memory node
The partial content of partial content and the target block being stored in the primary storage node determines described each from storage section
The reliability of point.
Since complete block chain account book has been locally stored in primary storage node 31, then primary storage node 31 is comparable from storage
The P area a certain transaction information in the block and the P area a certain transaction letter in the block being locally stored that node 41 is fed back
Whether breath is consistent or primary storage node 31 may compare some word from the block body for the P block that memory node 41 is fed back
Whether the value and the value of certain field in the block body for the P block being locally stored of section are consistent, if unanimously, primary storage node
31 can increase the reliability from memory node 41 accordingly.
Similarly, primary storage node 31 is by comparing the partial content of the P+1 block fed back from memory node 42 and this
Whether the partial content of the P+1 block of ground storage is consistent, adjusts the reliability from memory node 42;And primary storage node
The portion of the partial content and the P+2 block being locally stored of the 31 the P+2 block fed back by comparing from memory node 43
Divide content whether consistent, adjusts the reliability from memory node 43.
Step 204, the primary storage node are by described each from the identification information of memory node and described each from storage
The reliability of node is sent to block and generates node, so that the block generates node, that the block of generation is sent to reliability is big
In the slave memory node of threshold value.
Primary storage node 31 adjust separately the reliability from memory node 41, from memory node 42, from memory node 43 it
Afterwards, area will be sent to from memory node 41, from memory node 42, from 43 corresponding identification information of memory node and reliability
Block generate node, when the block generate node generate new block when, the block generate node can according to from memory node 41,
From memory node 42, from 43 respective reliability of memory node, which is sent to reliability is higher to be saved from storage
Point.It also needs to the new block being sent to primary storage node 31, primary storage node 32, main memory in addition, the block generates node
Store up at least one of node 33, primary storage node 34.
The embodiment of the present invention sends inquiry request to multiple by primary storage node from memory node, is obtained with inquiry each
The partial content of the target block stored from memory node, further by comparing the target block each fed back from memory node
Partial content and the partial content of the target block that is stored in the primary storage node, determine this each from memory node
Reliability so that when block generation node generates new block, it is higher from storage section which is sent to reliability
Point, to improve the reliability of block chain account book.
Fig. 4 is the block chain account book process flow figure that another embodiment of the present invention provides.In the base of above-described embodiment
On plinth, block chain account book processing method provided in this embodiment specifically comprises the following steps:
Step 401, primary storage node send inquiry request to multiple from memory node, and the inquiry request is used for interrogation zone
The partial content of target block in block chain account book.
Step 401 and the realization method of step 201 are consistent with concrete principle, and details are not described herein again.
Step 402, the primary storage node receive the multiple institute each fed back from memory node from memory node
State the partial content of target block.
Step 402 and the realization method of step 202 are consistent with concrete principle, and details are not described herein again.
Step 403, the primary storage node are by comparing the target block each fed back from memory node
The partial content of partial content and the target block being stored in the primary storage node determines described each from storage section
The reliability of point.
Step 403 and the realization method of step 203 are consistent with concrete principle, and details are not described herein again.
Step 404, the primary storage node according to described each from the reliability of memory node, to described each from storage
Node sequencing.
Primary storage node 31 adjust separately the reliability from memory node 41, from memory node 42, from memory node 43 it
Afterwards, can according to after adjustment slave memory node 41, from memory node 42, from the reliability of memory node 43, to what is be locally stored
Each entry in list is resequenced.For example, primary storage node 31 according to reliability sequence from high to low to the row
Each entry in table is resequenced.
Step 405, the primary storage node will be described each from the identification information of memory node and described every after sequence
It is a to be sent to block generation node from the reliability of memory node, so that the block generates node and is sent to the block of generation
Reliability is more than the slave memory node of threshold value.
Optionally, the list after rearrangement is sent to block and generates node by primary storage node 31, due in the list
The more forward entry of sequence, the corresponding reliability from memory node of the entry is bigger, therefore, is generated when the block generates node
When new block, which generates node, and that the new block can be sent to preceding W entry in the list is corresponding from storage
Node, the present embodiment do not limit the concrete numerical value of W.
In addition, the method further includes:The primary storage node receives the block and generates the block that node is sent;It is described
Primary storage node stores the block into local block chain account book.It is also needed to this newly in addition, the block generates node
Block be sent at least one of primary storage node 31, primary storage node 32, primary storage node 33, primary storage node 34,
If the block generates the node new block and is sent to primary storage node 31, primary storage node 31 can by with primary storage node
The new block is sent to primary storage node 32, primary storage by the 32, connection between primary storage node 33, primary storage node 34
Node 33, primary storage node 34, so that primary storage node 31, primary storage node 32, primary storage node 33, primary storage node 34 are each
It is complete from the block chain account book of storage, and is real-time synchronization.
The embodiment of the present invention sends inquiry request to multiple by primary storage node from memory node, is obtained with inquiry each
The partial content of the target block stored from memory node, further by comparing the target block each fed back from memory node
Partial content and the partial content of the target block that is stored in the primary storage node, determine this each from memory node
Reliability so that when block generation node generates new block, it is higher from storage section which is sent to reliability
Point, to improve the reliability of block chain account book.
Fig. 5 is the structural schematic diagram of block chain account book processing unit provided in an embodiment of the present invention.At the block chain account book
Reason device can be specifically the primary storage node described in above-described embodiment.Block chain account book processing dress provided in an embodiment of the present invention
The process flow of block chain account book processing method embodiment offer can be executed by setting, as shown in figure 5, block chain account book processing unit
50 include:Sending module 51, receiving module 52 and determining module 53;Wherein, sending module 51 is used for multiple from memory node
Inquiry request is sent, the inquiry request is used to inquire the partial content of target block in block chain account book;Receiving module 52 is used
In the partial content for receiving the multiple target block each fed back from memory node from memory node;Determining module
53 are used for the partial content by comparing the target block each fed back from memory node and are stored in the block
The partial content of the target block in chain account book processing unit determines described each from the reliability of memory node;It sends
Module 51 is additionally operable to:It each described is each sent to described from the identification information of memory node and from the reliability of memory node
Block generates node, is saved from storage more than threshold value so that the block of generation is sent to reliability by block generation node
Point.
Optionally, block chain account book processing unit 50 further includes:Sorting module 54, sorting module 54 are used for according to described every
A reliability from memory node each sorts from memory node to described.
Optionally, sending module 51 is specifically used for:It will be described each from the identification information of memory node and institute after sequence
State it is each be sent to block from the reliability of memory node and generate node so that the block generates node and sends out the block of generation
Give the slave memory node that reliability is more than threshold value.
Optionally, the partial content of the target block includes following at least one:It hands over the target area part in the block
Target word segment value easily in the block body of information, the target block.
Optionally, receiving module 52 is additionally operable to:It receives the block and generates the block that node is sent;The processing of block chain account book
Device 50 further includes:Memory module 55;Memory module 55 is used for will be in block storage to local block chain account book.
The block chain account book processing unit of embodiment illustrated in fig. 5 can be used for executing the technical solution of above method embodiment,
Its implementing principle and technical effect is similar, and details are not described herein again.
Fig. 6 is the structural schematic diagram of block chain node provided in an embodiment of the present invention.Block provided in an embodiment of the present invention
Chain node can execute the process flow of block chain account book processing method embodiment offer, as shown in fig. 6, block chain node 60 wraps
Include memory 61, processor 62, computer program and communication interface 63;Wherein, computer program is stored in memory 61, and
It is configured as executing the block chain account book processing method described in above example by processor 62.
The block chain node of embodiment illustrated in fig. 6 can be used for executing the technical solution of above method embodiment, realize former
Reason is similar with technique effect, and details are not described herein again.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter
Calculation machine program is executed by processor to realize the block chain account book processing method described in above-described embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or unit
Letter connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over 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 present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
The medium of program code can be stored.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each function module
Division progress for example, in practical application, can be complete by different function modules by above-mentioned function distribution as needed
At the internal structure of device being divided into different function modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (12)
1. a kind of block chain account book processing method, which is characterized in that including:
Primary storage node sends inquiry request to multiple from memory node, and the inquiry request is for inquiring mesh in block chain account book
Mark the partial content of block;
The primary storage node receives the multiple target block each fed back from memory node from memory node
Partial content;
The primary storage node by comparing it is described each from memory node feed back the target block partial content and deposit
The partial content for storing up the target block in the primary storage node, determines described each from the reliability of memory node;
The primary storage node is by described each from the identification information of memory node and described each from the reliability of memory node
It is sent to block and generates node, so that the block generates node and the block of generation is sent to reliability more than threshold value from depositing
Store up node.
2. according to the method described in claim 1, it is characterized in that, the primary storage node by comparing described each from storage
The part of the partial content of the target block of node feeding back and the target block being stored in the primary storage node
Content, determines described each after the reliability of memory node, further includes:
The primary storage node, each from the reliability of memory node, each sorts from memory node according to described to described.
3. according to the method described in claim 2, it is characterized in that, the primary storage node by described each from memory node
Identification information and it is described each from the reliability of memory node be sent to block generate node so that the block generate node will
The block of generation is sent to the slave memory node that reliability is more than threshold value, including:
The primary storage node will be described each from the identification information of memory node and described each from memory node after sequence
Reliability be sent to block generate node so that the block generate node by the block of generation be sent to reliability be more than threshold
The slave memory node of value.
4. according to claim 1-3 any one of them methods, which is characterized in that the partial content of the target block includes such as
Lower at least one:Target area part Transaction Information in the block, the target block block body in target word segment value.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
The primary storage node receives the block and generates the block that node is sent;
The primary storage node stores the block into local block chain account book.
6. a kind of block chain account book processing unit, which is characterized in that including:
Sending module, for sending inquiry request from memory node to multiple, the inquiry request is for inquiring block chain account book
The partial content of middle target block;
Receiving module, the portion for receiving the multiple target block each fed back from memory node from memory node
Divide content;
Determining module, for by comparing each partial content from the target block of memory node feedback and the storage
The partial content of the target block in the block chain account book processing unit, determine it is described each from memory node can
By degree;
The sending module is additionally operable to:By it is described each from the identification information of memory node and it is described each from memory node can
It is sent to block by degree and generates node, so that the block generates node and the block of generation is sent to reliability more than threshold value
From memory node.
7. block chain account book processing unit according to claim 6, which is characterized in that further include:
Sorting module, for, each from the reliability of memory node, each being sorted from memory node to described according to described.
8. block chain account book processing unit according to claim 7, which is characterized in that the sending module is specifically used for:
Described after sequence each described is each sent to from the identification information of memory node and from the reliability of memory node
Block generates node, is saved from storage more than threshold value so that the block of generation is sent to reliability by block generation node
Point.
9. according to claim 6-8 any one of them block chain account book processing units, which is characterized in that the target block
Partial content includes following at least one:Target area part Transaction Information in the block, the target block block body in
Target word segment value.
10. block chain account book processing unit according to claim 9, which is characterized in that the receiving module is additionally operable to:It connects
It receives the block and generates the block that node is sent;
The block chain account book processing unit further includes:Memory module;
The memory module is used for will be in block storage to local block chain account book.
11. a kind of block chain node, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed to realize such as by the processor
Claim 1-5 any one of them methods.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program
It is executed by processor to realize method as described in any one in claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810556721.9A CN108768733B (en) | 2018-05-31 | 2018-05-31 | Block chain account book processing method and device and block chain link points |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810556721.9A CN108768733B (en) | 2018-05-31 | 2018-05-31 | Block chain account book processing method and device and block chain link points |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108768733A true CN108768733A (en) | 2018-11-06 |
CN108768733B CN108768733B (en) | 2021-06-29 |
Family
ID=64001736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810556721.9A Active CN108768733B (en) | 2018-05-31 | 2018-05-31 | Block chain account book processing method and device and block chain link points |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108768733B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110097365A (en) * | 2019-04-29 | 2019-08-06 | 迅鳐成都科技有限公司 | A kind of transaction supervisory systems and mechanism based on magnanimity block audit technique |
WO2020103105A1 (en) * | 2018-11-22 | 2020-05-28 | 北京比特大陆科技有限公司 | Data processing apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106716421A (en) * | 2016-12-30 | 2017-05-24 | 深圳前海达闼云端智能科技有限公司 | Data query method, device and node apparatus |
CN107239940A (en) * | 2017-05-11 | 2017-10-10 | 北京博晨技术有限公司 | Network trading method and device based on block catenary system |
CN107396360A (en) * | 2017-08-15 | 2017-11-24 | 中国联合网络通信集团有限公司 | Block verification method and device |
CN107491519A (en) * | 2017-08-15 | 2017-12-19 | 中国联合网络通信集团有限公司 | The querying method and device of block chain account book |
-
2018
- 2018-05-31 CN CN201810556721.9A patent/CN108768733B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106716421A (en) * | 2016-12-30 | 2017-05-24 | 深圳前海达闼云端智能科技有限公司 | Data query method, device and node apparatus |
CN107239940A (en) * | 2017-05-11 | 2017-10-10 | 北京博晨技术有限公司 | Network trading method and device based on block catenary system |
CN107396360A (en) * | 2017-08-15 | 2017-11-24 | 中国联合网络通信集团有限公司 | Block verification method and device |
CN107491519A (en) * | 2017-08-15 | 2017-12-19 | 中国联合网络通信集团有限公司 | The querying method and device of block chain account book |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020103105A1 (en) * | 2018-11-22 | 2020-05-28 | 北京比特大陆科技有限公司 | Data processing apparatus |
CN110097365A (en) * | 2019-04-29 | 2019-08-06 | 迅鳐成都科技有限公司 | A kind of transaction supervisory systems and mechanism based on magnanimity block audit technique |
Also Published As
Publication number | Publication date |
---|---|
CN108768733B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810119A (en) | block chain processing method, device and block chain node | |
CN108712506A (en) | block chain node communication method, device and block chain node | |
KR102017608B1 (en) | Data transmission method, base station and terminal device | |
CN108989048A (en) | Cryptographic key distribution method, device, equipment and storage medium | |
CN108769142A (en) | Exchange information processing method and block generate node | |
CN109118360A (en) | Block chain account checking method, device, equipment and storage medium | |
CN104581652A (en) | Message processing method as well as method and device for selecting MME (mobility management entity) | |
CN108566275A (en) | Identity identifying method, device and block chain node | |
KR102397865B1 (en) | Synchronization signal block indication method and determination method, network device, and terminal device | |
CN109729595A (en) | The PDCCH processing method and equipment of asymmetric up-link carrier polymerization | |
CN109792599B (en) | Session management method and network element | |
CN109906628A (en) | The method, apparatus automatically configured and base station | |
CN105723794B (en) | A kind of method and relevant apparatus accessing network | |
CN108683727A (en) | Block processes method and host node | |
CN108200568A (en) | Mobile communication electronics SIM card data processing method and device | |
CN108810120A (en) | block chain node communication method, device and block chain node | |
CN108989043A (en) | Block processes method, apparatus and block chain node | |
CN108768733A (en) | block chain account book processing method, device and block chain node | |
CN108876611A (en) | Exchange information processing method, device and block chain node | |
CN110061820B (en) | Address sending method and device, storage medium and electronic device | |
CN108877290A (en) | Parking stall dispatching method, device, equipment and storage medium | |
CN108777710A (en) | Block chain communication method between nodes, device and block chain node | |
CN108632855A (en) | A kind of method and device for establishing interface between base station | |
CN108777712A (en) | block chain node communication method, device and block chain node | |
CN109639715A (en) | Method, apparatus, equipment and the computer readable storage medium for avoiding honeysuckle from attacking |
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 |