CN110225110A - The method for splitting and device of a kind of block chain group - Google Patents
The method for splitting and device of a kind of block chain group Download PDFInfo
- Publication number
- CN110225110A CN110225110A CN201910488990.0A CN201910488990A CN110225110A CN 110225110 A CN110225110 A CN 110225110A CN 201910488990 A CN201910488990 A CN 201910488990A CN 110225110 A CN110225110 A CN 110225110A
- Authority
- CN
- China
- Prior art keywords
- group
- intelligent contract
- block
- node
- contract
- 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/104—Peer-to-peer [P2P] networks
- H04L67/1059—Inter-group management mechanisms, e.g. splitting, merging or interconnection of groups
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses the method for splitting and device of a kind of block chain group, suitable for the block catenary system at least one group, each group has independent common recognition mechanism and records transaction data by respective intelligent contract, wherein, method comprises determining that the disassembly principle of the first group, according to disassembly principle, the intelligent contract determined the intelligent contract for belonging to the second group from each intelligent contract of the first group and belong to third group, the intelligent contract of second group is packaged as to the wound generation block of the second group, and the intelligent contract of third group is packaged as to the wound generation block of third group, start the second group and third group.The technical solution reduces the cost of hardware modification to solve the problems, such as that the hardware resource of group's interior joint is not able to satisfy the normal operation of group.
Description
Technical field
The present embodiments relate to the financial technology field (Fintech) more particularly to a kind of fractionation sides of block chain group
Method and device.
Background technique
A series of chain that block chain (BlockChain) is made of blocks, the data of each block minute book block and
Upper one piece of cryptographic Hash, all blocks form a chain before and after successive in this way.The cryptography skill that block chain is based on
Art and decentralization thought be tampered the historical information on chain can not.
With the development of computer technology, more and more technical applications are in financial field, and traditional financial industry is gradually
Change to financial technology, block chain technology is no exception, but due to finance, the safety of payment industry, requirement of real-time, also right
The higher requirement that block chain technology proposes.
Block catenary system includes multiple groups, and each group carries out independent data storage and common recognition process.Group is by more
A block chain node composition, each block chain node i.e. one group of physical network, by computer, block chain application software, data
Library composition.The normal operation of group depends on the hardware resource of group's interior joint.
It is in the prior art, each by improving when the hardware resource of group's interior joint is not able to satisfy the operation demand of group
The hardware resource of node solves the problems, such as, the operation for such as increasing node disk memory, increasing network bandwidth, improving modal processor
Rate etc., but this kind of settling mode needs are transformed the hardware of each node, it is at high cost.
Summary of the invention
The embodiment of the present invention provides the method for splitting and device of a kind of block chain group, to solve the hard of group's interior joint
Part resource is not able to satisfy the problem of normal operation of group, and reduces the cost of hardware modification.
The method for splitting of a kind of block chain group provided in an embodiment of the present invention, suitable for the area at least one group
Block catenary system, each group have independent common recognition mechanism and record transaction data by respective intelligent contract.
The described method includes:
Determine the disassembly principle of the first group;The disassembly principle, which is used to indicate, is split as at least for first group
Two groups and third group, first group are any group in the block catenary system;Each section of second group
It puts and each node of the third group is not exactly the same and is the node of first group;
According to the disassembly principle, determine to belong to second group from each intelligent contract of first group
Intelligent contract and the intelligent contract for belonging to the third group;
The intelligent contract of second group is packaged as to the wound generation block of second group, and by the third group
Intelligent contract is packaged as the wound generation block of the third group;
Start second group and the third group, second group and the third group are the block
Group in catenary system.
In above-mentioned technical proposal, the first group is split as at least the second group and third group, account book is split,
Then the account book data volume of the second group, third group solves the disk appearance of group nodes less than the account book data volume of the first group
The problem of amount limitation account book data capacity;Second group, third group common recognition number of nodes less than the first group know together node
Quantity, then network bandwidth needed for the second group, the broadcast of third group interior joint is respectively less than needed for the broadcast of first group's interior joint
Network bandwidth, also just solve the problems, such as the network size of network bandwidth limit group in group;In second group, third group
Node operand is respectively less than first group's interior joint operand, solves the operational capability of the operational capability limit group of group nodes
The problem of, guarantee the normal operation of group, and without being transformed to the hardware of group nodes, reduce improvement cost.
Optionally, before the disassembly principle of first group of determination, further includes:
Obtain the resource situation of each node in first group;Judge whether the resource situation of each node meets institute
The demand of the first group operation is stated, if not satisfied, then determination splits first group and stops first group
Operation.
Optionally, the resource situation of each node is unsatisfactory for the demand of the first group operation, comprising:
Determine that the network bandwidth of each node is less than the required network bandwidth of first group interior nodes broadcast;Or
Determine that the memory space of each node is less than space needed for account book in first group;Or
Determine that each node operational capability is less than each node in first group and runs needed for the intelligent contract
Operational capability.
In above-mentioned technical proposal, the resource situation of each node is unsatisfactory for the need of the first group operation in determining the first group
When asking, determination splits the first group, and can determine disassembly principle according to different resource situations, to solve resource
Situation is unsatisfactory for the problem of first group's operation demand, guarantees the normal operation of group, and without the hardware to group nodes into
Row transformation, reduces improvement cost.
Optionally, each intelligent contract of first group is the affiliated of first group transaction data based on the received
The intelligent contract of period creation and by the transaction data record received in corresponding intelligent contract of affiliated period;
It is described according to the disassembly principle, determine to belong to described second group from each intelligent contract of first group
The intelligent contract of group and the intelligent contract for belonging to the third group, comprising:
Determine the disassembly principle corresponding fractionation time point;
Period belonging to determining from each intelligent contract of first group is no more than the intelligence for splitting time point
Intelligent contract of the contract as second group;
Period belonging to determining from each intelligent contract of first group is greater than the intelligence for splitting time point and closes
Intelligent contract about as the third group.
In above-mentioned technical proposal, the first group stores transaction data into corresponding intelligent contract of affiliated period, into
When the first group of row splits, effectively the first group can be clicked through according to the time is split according to the corresponding intelligent contract of day part
It goes and splits, will determine that the affiliated period is not more than the intelligent contract for splitting time point as second in each intelligent contract of the first group
The intelligent contract of group will determine that the affiliated period is less than the intelligent contract at fractionation time point and makees in each intelligent contract of the first group
For the intelligent contract of third group, it can solve that account book data in the first group are excessive, the disk size of group nodes limits account
In the problem of notebook data and the first group in group the problem of the network size of network bandwidth limit group.That is, working as
When determining the network bandwidth of each node less than network bandwidth needed for the broadcast of first group's interior nodes, or determine the storage of each node
It, can be using the principle split according to the time, to the first group when space is less than space needed for account book in the first group
It is split, to effectively solve the above problems.
Optionally, each intelligent contract of first group is that first group generates according to the transaction data received
Corresponding intelligence contract, and by the transaction data record received in the corresponding intelligent contract;
The disassembly principle of first group of determination, comprising:
According to type of service corresponding to each intelligent contract of first group, the disassembly principle is determined;It is described to tear open
The intelligent contract that point principle is used to indicate each group after splitting corresponds to identical services type.
In above-mentioned technical proposal, the first group generates corresponding intelligent contract according to the transaction data received, and will
Transaction data record is in corresponding intelligent contract, can be according to each intelligent contract when splitting to the first group
Type of service determines disassembly principle, effectively splits the first group according to type of service, can solve the magnetic of group nodes
In the problem of disk capacity limit account book data storage capacity and the first group in group network bandwidth limit group network size
The problem of and the first group in group nodes operational capability limit group operational capability the problem of.That is, when true
When the network bandwidth of fixed each node is less than network bandwidth needed for the broadcast of first group's interior nodes, or determine that the storage of each node is empty
Between less than space needed for account book in the first group when, or determine that each node operational capability is run less than node each in the first group
When operational capability needed for intelligent contract, the first group can be split using the principle split according to business, from
And it effectively solves the above problems.
Optionally, the intelligence for belonging to second group is determined in each intelligent contract from first group
Contract and belong to after the intelligent contract of the third group, further includes:
It traverses each block of first group, obtains the of the intelligent contract of second group in each block
One block information;First block information is used to characterize the intelligent contract of second group in each area of first group
Historical operation in block;
Each block for traversing first group obtains of the intelligent contract of the third group in each block
Two block informations;Second block information is used to characterize the intelligent contract of the third group in each area of first group
Historical operation in block;
The intelligent contract by second group is packaged as the wound generation block of second group, and by the third group
The intelligent contract of group is packaged as the wound generation block of the third group, comprising:
First block information of the intelligent contract of second group and the intelligent contract of second group is packaged as
At least one first new block;And the wound generation block of second group is determined from least one described first new block;
Second block information of the intelligent contract of the third group and the intelligent contract of the third group is packaged as
At least one second new block;And the wound generation block of the third group is determined from least one described second new block.
In above-mentioned technical proposal, the intelligent contract for characterizing the second group is obtained respectively in each block of the first group
Historical operation history in each block of the first group of the first block information, the intelligent contract for characterizing third group
Second block information of operation, is packaged as at least one first new block for the intelligent contract of the second group, the first block information,
The intelligent contract of third group, the second block information are packaged as at least one second new block, i.e., will be in each group after fractionation
The historical operation information of intelligent contract be packed into each group together, so that ensure that the first group is split as each subgroup can
Reliability.
Correspondingly, being suitable for having at least one the embodiment of the invention also provides a kind of detachment device of block chain group
The block catenary system of a group, each group have independent common recognition mechanism and record number of deals by respective intelligent contract
According to;
Described device includes:
First processing units, for determining the disassembly principle of the first group;The disassembly principle is used to indicate described
A group group is split as at least the second group and third group, and first group is any group in the block catenary system;
Each node of second group and each node of the third group are not exactly the same and be the node of first group;
The second processing unit, for being determined from each intelligent contract of first group according to the disassembly principle
Belong to the intelligent contract of second group and belongs to the intelligent contract of the third group;The intelligence of second group is closed
It is about packaged as the wound generation block of second group, and the intelligent contract of the third group is packaged as to the wound of the third group
Generation block;Start second group and the third group, second group and the third group are the block chain
Group in system.
Optionally, described device further include: acquiring unit;
The first processing units are also used to:
Before the disassembly principle of first group of determination, controls the acquiring unit and obtain in first group respectively
The resource situation of node;Judge whether the resource situation of each node meets the needs of first group operation, if discontented
Foot, it is determined that the operation of first group is split and stopped to first group.
Optionally, the first processing units are specifically used for:
Determine that the network bandwidth of each node is less than the required network bandwidth of first group interior nodes broadcast;Or
Determine that the memory space of each node is less than space needed for account book in first group;Or
Determine that each node operational capability is less than each node in first group and runs needed for the intelligent contract
Operational capability.
Optionally, each intelligent contract of first group is the affiliated of first group transaction data based on the received
The intelligent contract of period creation and by the transaction data record received in corresponding intelligent contract of affiliated period;
Described the second processing unit is specifically used for:
Determine the disassembly principle corresponding fractionation time point;
Period belonging to determining from each intelligent contract of first group is no more than the intelligence for splitting time point
Intelligent contract of the contract as second group;
Period belonging to determining from each intelligent contract of first group is greater than the intelligence for splitting time point and closes
Intelligent contract about as the third group.
Optionally, each intelligent contract of first group is that first group generates according to the transaction data received
Corresponding intelligence contract, and by the transaction data record received in the corresponding intelligent contract;
The first processing units are specifically used for:
According to type of service corresponding to each intelligent contract of first group, the disassembly principle is determined;It is described to tear open
The intelligent contract that point principle is used to indicate each group after splitting corresponds to identical services type.
Optionally, described the second processing unit is also used to:
Determined in each intelligent contract from first group intelligent contract for belonging to second group and
Belong to after the intelligent contract of the third group, control each block that the acquiring unit traverses first group, obtains
First block information of the intelligent contract of second group in each block;First block information is for characterizing institute
State historical operation of the intelligent contract of the second group in each block of first group;
Each block that the acquiring unit traverses first group is controlled, the intelligent contract for obtaining the third group exists
The second block information in each block;Second block information is used to characterize the intelligent contract of the third group in institute
State the historical operation in each block of the first group;
Described the second processing unit is specifically used for:
First block information of the intelligent contract of second group and the intelligent contract of second group is packaged as
At least one first new block;And the wound generation block of second group is determined from least one described first new block;
Second block information of the intelligent contract of the third group and the intelligent contract of the third group is packaged as
At least one second new block;And the wound generation block of the third group is determined from least one described second new block.
Correspondingly, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned block according to the program of acquisition for calling the program instruction stored in the memory
The method for splitting of chain group.
Correspondingly, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium, including computer
Readable instruction, when computer is read and executes the computer-readable instruction, so that computer executes above-mentioned block chain group
Method for splitting.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of schematic diagram of system architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the method for splitting of block chain group provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram for temporally splitting group provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram that group is split by type of service provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of the detachment device of block chain group provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 illustratively shows the embodiment of the present invention and provides a kind of block catenary system, which includes at least
One group, each group have independent common recognition mechanism and record transaction data by respective intelligent contract.Each group
It not only may include multiple nodes, a node also may belong to multiple and different groups, i.e., multiple groups can share one
Node.Each node is the combination of one group of physical network, computer, block chain application software and database, node and node
Between by TCP/IP (Transmission Control Protocol/Internet Protocol, transmission control protocol/
Internet Protocol) it interconnects.
The key index of group may include: the network size of group, the account book data capacity of group, group operation energy
Power.Each key index of group determines group's hardware resource required when operating normally.
First the key index of group is explained as follows:
One, the network size of group
Group may include multiple block chain nodes, and the block chain node in group is divided into common recognition node and observation node,
The adduction of two kinds of number of nodes is the quantity of group's intra block chain node.The interconnection of the quantity of common recognition node, each common recognition node is closed
System, determines the network size of group.
The embodiment of the present invention provides a kind of calculation of the network size of group, it is assumed that saves in group comprising N number of common recognition
Point, M observation node, wherein can establish R connection (R > N-1) between N number of common recognition node.The network size of group
It (Scale) can be as shown in formula (1).
S=N2×R×(1/(R-N))+M…………(1)
Wherein, S is the network size of group;N, M, R are positive integer.
Two, the account book data capacity of group
Independent account book data are saved in group, the block chain node for each belonging to the group can save portion completely
Account book data, the disk space size that this account book occupies are the account book data capacity of group.
The embodiment of the present invention provides a kind of calculation of the account book data capacity of group, it is assumed that the number of users in account book is
N, each user store m account information, then the account book data capacity (Storage) of group can be as shown in formula (2).
S=n1.5×m…………(2)
Wherein, s is the account book data capacity of group;N, m is positive integer.
Three, the operational capability of group
Different groups can handle different business logic, and service logic is mainly realized by intelligent contract, the operation energy of group
Power is related with the classification of intelligent contract, number of transaction.
The embodiment of the present invention provides a kind of calculation of the operational capability of group, it is assumed that intelligent contract is to prelist in group
Intelligent contract is translated, the quantity of precompile intelligence contract is a1, the size of code of precompile intelligence contract is b1, then the operation energy of group
Power (Thruput) can be as shown in formula (3).
T1=a1×b1…………(3)
Wherein, T1For the operational capability of group;a1、b1It is positive integer.
The embodiment of the present invention provides the calculation of the operational capability of another group, it is assumed that intelligent contract is in group
EVM (Environment Virtual Machine, ether mill virtual machine) intelligence contract, the quantity of EVM intelligence contract are a2,
The size of code of EVM intelligence contract is b2, then the operational capability of group can be as shown in formula (4).
Wherein, T2For the operational capability of group;a2、b2It is positive integer.
In conjunction with each key index of above-mentioned group, group at runtime, if the hardware resource of each node exists not in group
Sufficient situation, then group is not normally functioning, and group cannot reach expected operational effect in the process of running in other words.According to upper
The hardware resource index that can satisfy each node of group's normal operation is provided below in each key index for stating group.
One, minimal network bandwidth needed for group
Group's interior nodes carry out transaction broadcast or block broadcast, each node need network bandwidth in the broadcast, respectively
Minimal network bandwidth needed for network bandwidth, that is, group needed for node broadcasts.According to the calculating side of the network size of above-mentioned group
Method, if the network size of group is S, then minimal network bandwidth (Bandwidth) needed for the group can be such as formula (5) institute
Show.
B=S × 100Kbits ... ... (5)
Wherein, B is minimal network bandwidth needed for group.
For example, if having the common recognition node and 0 block chain observation node of 4 block chains in group, according to formula
(5), minimal network bandwidth needed for can calculating group is 4.8Mbits.
Two, minimum disk size needed for group
According to the calculation method of the account book data capacity of above-mentioned group, if account book data capacity is s, then needed for the group
Minimum disk size (Capacity) can be as shown in formula (6).
C=s × 100Kbyte ... ... (6)
Wherein, C is minimum disk size needed for group.
For example, if there is 1000 general-purpose families in group, each user has 100 account informations, according to formula (6), obtains
Minimum disk size needed for the group is 93G out.
Three, minimum node operational capability needed for group
According to the calculation method of the operational capability of above-mentioned group, if the operational capability of group is T, if the processing of group nodes
The core number of device is c, dominant frequency f, then needed for minimum node operational capability (c × f) can be as shown in formula (7).
It should be noted that the key index of above-mentioned example provided in group, network size, group such as group
Account book data capacity, group operational capability calculation, and it is corresponding provide group operate normally needed for minimum
Network bandwidth, minimum disk size, the calculation of minimum node operational capability, but in the present invention, it can also be using other ginsengs
Several or calculation obtains key index and hardware resource requirements in group.
It, can be with based on minimal network bandwidth needed for the operation of above-mentioned group, minimum disk size, minimum node operational capability
It obtains the resource situation of each node in current group, and judges whether according to the resource situation of each node the need for meeting group's operation
It asks, if not satisfied, then determining the operation for needing that the group is split and stopped to the group.For the convenience of description, can incite somebody to action
The group definition is the first group, any group in first group, that is, block catenary system.
Specifically, the demand that the resource situation of each node is unsatisfactory for the operation of the first group mainly has:
Determine that the network bandwidth of each node is less than the required network bandwidth of group's interior nodes broadcast;
Or determine that the memory space of each node is less than space needed for account book in group;
Or determine that each node operational capability is less than operational capability needed for each node in group runs intelligent contract.
Further, it when determining that the resource situation of each node is unsatisfactory for the demand of group's operation, needs to take corresponding solution
Certainly measure, to realize the normal operation of group.It, can be by way of splitting group, to realize group for above-mentioned three kinds of situations
The normal operation of group.Specifically, when determining the network bandwidth of each node less than Netowrk tape needed for the broadcast of first group's interior nodes
When wide, the first group that can be more by number of nodes of knowing together is split as the less subgroups of multiple common recognition number of nodes;It is saved when really each
When the memory space of point is less than space needed for account book in the first group, by biggish first group of an account book data capacity,
It is split as the less subgroup of multiple account book data capacities, account book data capacity can be reduced;By an operational capability demand compared with
The first high group is split as the low subgroup of multiple operational capability demands, can reduce operational capability demand.
Based on foregoing description, as shown in Fig. 2, the present invention illustratively shows a kind of method for splitting of block chain group
Process, the process can be executed by the detachment device of block chain group.
The process specifically includes:
Step 201, the disassembly principle of the first group is determined.
Step 202, according to the disassembly principle, determine to belong to described the from each intelligent contract of first group
The intelligent contract of two groups and the intelligent contract for belonging to the third group.
Step 203, the intelligent contract of second group is packaged as to the wound generation block of second group, and by described
The intelligent contract of three groups is packaged as the wound generation block of the third group.
Step 204, start second group and the third group, second group and the third group are
Group in the block catenary system.
In step 201, the first group is any group in block catenary system, determines that the fractionation of first group is former
Then, the first group is split as by the second group and third group according to the disassembly principle, wherein the second group after fractionation and
Each node in three groups is not exactly the same, and belongs to the first group, for example, having node 1, node in the first group
2 ... node 100, according to disassembly principle, can by node 1, node 2 ..., node 50, node 51 ..., node 60 it is true
The node being set in the second group, and by node 50, node 51 ..., node 60, node 61 ..., node 100 determine
For the node in third group, in the example, node 50, node 51 ..., node 60 be simultaneously the second group and third group
In node, and be the node in the first group.
, can be for the different types of intelligent contract of different type creation of the first group in the embodiment of the present invention, it can be with
It is to be created according to the period, can also be and created according to type of service.
One, intelligent contract is created according to the period
For day part creation intelligent contract corresponding with day part, optionally, the first group can receive transaction
After data, the intelligent contract of the period is created according to the affiliated period of the transaction data received;Certainly, the first group can also be with
The intelligent contract of different periods is pre-created, is such as previously provided with 30 intelligent contracts, 30 days corresponding, such intelligent contract is used for
After the first group receives transaction data, by the transaction data record of the first group in corresponding intelligent contract of affiliated period
In.
For example, the first group is reconciliation system, and the first group is after receiving an account data, the account data
Middle record has business serial number field, there is the Time of Day that the account data occurs in business serial number field, can be according to this
The Time of Day of account data, which determines, is stored in the account data in corresponding intelligent contract of affiliated period, for example, receiving
The account date is the account data A on May 25th, 2019, if there is no the date corresponding intelligence to close in current first group
About, then the intelligence contract is created, the intelligence contract can be named with creation time, and then account data A is stored to intelligence
It, can be directly by the account number if receiving the account data B that an account date is on May 25th, 2019 again in contract
It stores according to B into the intelligence contract.
Two, intelligent contract is created according to type of service
First group can generate corresponding intelligence according to the transaction data received and close after receiving transaction data
About, and by the transaction data record received in corresponding intelligent contract, specifically, can be according to belonging to transaction data
Type of service, create it is corresponding with affiliated type of service intelligence contract, for example, the first group is deposit system, for depositing
Evidence is stored up, the first group often receives an evidence, will create one and the service class according to the type of service belonging to evidence
The corresponding intelligent contract of type, for example, the first group can create if the evidence that the first group receives is the evidence of economic case
The corresponding intelligent contract of an economic case is built, for storing the evidence of the economic case;If the evidence that the first group receives
It is the evidence of criminal case, then the first group will create the corresponding intelligent contract of a criminal case, for storing the criminal case
The evidence of part.
Correspondingly, can determine disassembly principle according to the different types of intelligent contract of creation.Intelligence in the first group
Energy contract is to determine that disassembly principle is temporally to be split when creating according to the period;When the intelligent contract in the first group is
When creating according to type of service, determine that disassembly principle is to be split by type of service.
After the disassembly principle for determining the first group, i.e., after step 201, according to disassembly principle by the first group extremely
It is split as the second group and third group less, for the convenience of description, below the first group is split as the second group and third
It is illustrated for group.
The present invention provides a kind of achievable mode, and which is suitable for the intelligent contract by period creation, and determines
The disassembly principle split according to the time.First group is split as the second group and third group, specifically, can be first
It determines fractionation time point corresponding to disassembly principle, determines that the affiliated period is not more than from each intelligent contract of the first group and be somebody's turn to do
Intelligent contract of the intelligent contract at time point as the second group is split, is determined from each intelligent contract of the first group affiliated
Period is greater than intelligent contract of the intelligent contract at the fractionation time point as third group.
For example, the first group is split as by the second group and third group according to fractionation time point, it is first determined go out
Time point is split, which can be what staff rule of thumb set, be also possible to the first group according to current
The case where storing data, is determined by preset rules in each node.Time point corresponding intelligent contract will be split to be determined as
The creation time of cutting intelligence contract, cutting intelligence contract can be less than or equal to the fractionation time point, by cutting intelligence contract, cut
Intelligent contract before dividing intelligent contract is determined as the intelligent contract of the second group, by the intelligent contract after cutting intelligence contract
It is determined as the intelligent contract of third group.As shown in figure 3, creating intelligent contract in the first group daily, determine that cutting is intelligently closed
About corresponding to time point is on January 1st, 2018, i.e., using the intelligent contract of creation on January 1st, 2018 as cutting intelligence contract, when
So, it can also be that is created before on January 1st, 2018 is named as the intelligent contract in " on January 1st, 2018 ", by cutting intelligence
Intelligent contract before contract, cutting intelligence contract is determined as the intelligent contract of the second group, after cutting intelligence contract
Intelligent contract is determined as the intelligent contract of third group.
It in the concrete realization, can be by taking bank's reconciliation system in the bank field as an example, if the magnetic of first group's interior nodes
Disk capacity is not able to satisfy the data capacity of account book in the first group, then needs to tear open a biggish group of account book data capacity
It is divided into the less group of multiple account book data capacities, as included 100 nodes in current first group, is stored on each node
10000 datas of bank's reconciliation system then can be from the to ensure that the disk size of node meets the data capacity of account book
Determine that 2 nodes form the second group in one group, second group is for storing the affiliated period no more than fractionation time point
Intelligent contract in 8000 datas, remaining 98 nodes are then formed into third group, the third group is for storing
The affiliated period is less than 2000 datas in the intelligent contract for splitting time point.
In the embodiment of the present invention, obtains and split time point that is, defining the specific time point for needing to split, root
According to the fractionation time point, binary chop can be carried out on the block chain of entire first group, search and nearest be less than the fractionation
The intelligent contract at time point, using the intelligence contract found as cutting intelligence contract, the process of binary chop such as 301~step
Rapid 304.
Step 301, lookup range is obtained.Determining lookup range is all areas in the block chain of the first group for the first time
Block determines the block of a height of median of block from all blocks, and the block of a height of median of the block is determined as current block, from
All transaction for creating intelligent contract are searched in the current block.
Step 302, if having found qualified intelligent contract in block in this prior, terminate process and return to the intelligence
Contract;If not finding qualified intelligent contract, 303 or step 304 are thened follow the steps.
Step 303, it if splitting the date of time point intelligent contract maximum greater than date created in the current block, weighs
The initial position of the lookup range is set the current block, the end position setting of the lookup range by new setting lookup range
For the end block of the block chain of the first group.
Step 304, it if splitting the date of time point intelligent contract the smallest less than date created in the current block, weighs
New setting lookup range, sets the initial position of the lookup range to the starting block of the block chain of the first group, the lookup area
Between end position be current block.
Step 301~step 304 is repeated, until finding satisfactory intelligent contract.
In above-described embodiment, for convenience of describing, the first group is split as two subgroups, i.e. the second group and third group
K fractionation time point can be set it is, of course, also possible to which the first group is split as multiple subgroups in group, and the first group is split
For K+1 subgroup, wherein K is greater than 1.1 fractionation time point can also be set, by the first group be split as the second group and
Third group and then for the second group be arranged 1 fractionation time point, the second group is split as the 4th group and the 5th group
Group, and 1 fractionation time point is set for third group, third group is split as the 6th group and the 7th group.
Although data group in the intelligent contract of period will be split before time point by providing in addition, in above-described embodiment
At the second group, data form third group, but the present invention in the intelligent contract of period after splitting time point, splitting time point
Data form the second group in the intelligent contract of period before being equally applicable to will to split time point, splitting time point, when fractionation
Between put after the period intelligent contract in data form third group, that is to say, that any mode split according to the period
It is within the scope of the invention.
The present invention provides another achievable mode, and which is suitable for the intelligent contract by type of service creation, with
And the disassembly principle split according to type of service determined.First group is split as the second group and third group, is had
Body, type of service corresponding to each intelligent contract of the first group can be first determined, as there are 30 intelligence to close in the first group
About, wherein 10 the first types of service of correspondence, 20 the second types of service of correspondence then may further determine that out the first group
In have the intelligent contracts of two class types of service, two class types of service are the first type of service, the second type of service respectively, then root
According to the two class types of service determined, disassembly principle is determined, the intelligence which is used to indicate each group after splitting is closed
About correspond to identical services type, that is to say, that the first group is split as the second group and third group, specifically, by first group
The data for belonging to the first type of service in group are stored in the second group, and the data that the second type of service is belonged in the first group are deposited
Storage is in third group.
As shown in figure 4, the corresponding type of service of each intelligence contract stored in the first group has economic case type and punishment
First group then can be split as closing with the intelligence of economic case type respectively by thing case type according to the two classes type of service
About corresponding second group and third group corresponding with the intelligent contract of criminal case type.
Above-described embodiment is to be split the first group according to corresponding two types of service of contract intelligent in the first group
It similarly can be according to the corresponding multiple types of service of contract intelligent in the first group, by first for the second group and third group
Group is split as subgroup corresponding with each type of service, it may also be said to, in each subgroup after the first group is split, intelligence
Type of service corresponding to energy contract is identical.
In addition, in some scenarios, when the first group is split according to type of service, it can be understood as, according to
Incidence relation between each intelligent contract of one group determines disassembly principle, which is used to indicate each group after splitting
Intelligent contract does not have incidence relation, for example, there are five class intelligence contracts in the first group, wherein the first kind, the second class intelligence
Contract belongs to law class intelligence contract, and third class, the 4th class intelligence contract belong to economy class intelligence contract, the 5th class intelligence
Contract belongs to other class intelligence contracts, then the first group can be split as to three subgroups, stores the first kind, the second class intelligence respectively
Can contract, third class, the 4th class intelligence contract, the 5th class intelligence contract, intelligent contract has association in each group after fractionation
Relationship, but the intelligent contract between each group does not have incidence relation.
The intelligent contract for belonging to the second group is determined in each intelligent contract from the first group and belongs to third group
Intelligent contract after, the intelligent contract for belonging to the second group determined can be packaged as to the wound generation block of the second group, will
The intelligent contract for belonging to third group determined is packaged as the wound generation block of third group.
It further illustrates, the intelligent contract in the first group is bundled to corresponding subgroup respectively in above-described embodiment
It creates in generation block, but this process is only to store each intelligent contract in the first group, is but lost each intelligent contract the
Historical operation in each block of one group, that is to say, that the first group is split as each subgroup to ensure in above-described embodiment
The confidence level of group needs history block information and each intelligent contract by each intelligent contract in the first group to be stored together to son
In group.During this realization, determined in each intelligent contract from the first group the intelligent contract for belonging to the second group and
Belong to after the intelligent contract of third group, obtains each area of the intelligent contract in the first group for characterizing the second group respectively
First block information of the historical operation in block, the intelligent contract for characterizing third group are in each block of the first group
Second block information of historical operation, specifically, each block of the first group of traversal, obtains the intelligent contract of the second group each
The first block information in block traverses each block of the first group, obtains the intelligent contract of third group in each block
Second block information.Each intelligent contract is being got after the historical operation in each block of the first group, it can by each intelligence
The historical operation of energy contract and each intelligent contract in each block of the first group is bundled to together in corresponding subgroup.
Optionally, by the first block information of the intelligent contract of the second group and the intelligent contract of the second group be packaged as to
Lack first new block, and determines the wound generation block of the second group from least one first new block;By third group
Second block information of intelligent contract and the intelligent contract of third group is packaged as at least one second new block, and from least one
The wound generation block of third group is determined in a second new block.
During this realization, after the first group is split as at least the second group and third group, the group after fractionation can
To be restarted as the group in block catenary system, in certain special cases, some subgroup after fractionation is only used for
The account book data in the first group are stored, no longer needs to that new data are written, then can stop the work of the subgroup interior joint, i.e.,
Without starting the subgroup, this kind, which splits mode, reduces the account of the first group under the premise of ensureing account book data integrity
Notebook data capacity.
After being split the first group, the embodiment of the present invention can also summarize the information after each fractionation, tool
Body, routing iinformation can be determined according to the node of subgroup each after fractionation, which, which is used to indicate, is receiving transaction
After request, transaction request is routed in the subgroup after corresponding fractionation.For example, if the first group has been split into second group
Group and third group, if receiving an inquiry request, which is used to inquire certain transaction data, and according to routing iinformation
It determines that the transaction data to be checked is stored in the second group, then can route to the inquiry request in the second group
Node.In another example if the first group has been split into corresponding second group of economic case type and criminal case type is corresponding
Third group, if receiving the request of cochain, the transaction data for including in cochain request is criminal case, then can root
Determine that this waits for that the transaction data of cochain should be stored in the corresponding third group of criminal case type according to routing iinformation, then it can be with
Cochain request is routed into the node in the corresponding third group of criminal case type.
In order to better explain the present invention, a kind of embodiment under concrete scene is provided below, it is possible, firstly, to according to
The operating condition of one group, judges whether the resource situation of each node in first group meets wanting for the first group normal operation
It asks, for different operating index, using different assessment modes.Specifically, checking current first group using jnettop
Whether the network size of the outflow and inbound traffics of interior the used port of each node, the first group of assessment reaches the upper limit;Using df,
Check the disk size of each node in the first group, the disk of the first group of assessment uses whether reach the upper limit;Using top, look into
See whether the processor utilization rate of each node in the first group, the operational capability of the first group of assessment reach the upper limit.If reaching
Limit can then suspend the operation of the first group, record the key message of the first group, such as the area in first group's current block chain
Block height, common recognition node listing, network link situation, the business classification of intelligent contract in the first group, intelligent contract quantity,
Whether relevant between intelligent contract, the first group data total capacity etc..According to the organizational form of intelligent contract, design is split
Strategy splits the first group.
When determining that the resource situation of each node in the first group is unsatisfactory for the demand of the first group operation, can not only lead to
The mode for crossing the first group of fractionation solves the problems, such as this, can also promote the outlet of all block chain nodes and/or the network of entrance
Bandwidth, the number of network connections for increasing group's interior nodes, the disk size for promoting group's interior nodes, the account number for reducing each user
The processor of each node in amount, upgrading group modifies the modes such as intelligent contract logic so that in the first group each node money
Source situation meets the needs of the first group operation, guarantees the normal operation of the first group.
In above-described embodiment, the first group is split as at least the second group and third group, not only can solve first
The problem of account book data are excessive in group, and the disk size of group nodes limits account book data capacity, can also solve first group
It in group the problem of the network size of network bandwidth limit group, is construed to, when there are 80 common recognition nodes, then appointing in the first group
One common recognition node requires for Transaction Information or new district to be broadcast to other 79 common recognition nodes fastly, and after fractionation, for example,
Split out Liang Ge group, there are 40 common recognition nodes in a group, then node of knowing together either one or two of in a group by Transaction Information or
Person new district is broadcast to other 39 common recognition nodes fastly, reduces and broadcasts required network bandwidth in block chain.Further, the party
Case can also solve the problems, such as the operational capability of the operational capability limit group of group nodes, and such as the first group needs operation economy
The transaction data of case type and criminal case type, if after the first group is split according to data type, after fractionation
Two subgroups distinguish the transaction data of operation economic case type and the transaction data of criminal case type, then reduce group
Requirement to each node operational capability.
Based on the same inventive concept, Fig. 5 illustratively shows a kind of block chain group provided in an embodiment of the present invention
The structure of detachment device, the device can execute the process of the method for splitting of block chain group.
The device be suitable for at least one group block catenary system, each group have independent common recognition mechanism and
Transaction data is recorded by respective intelligent contract;The device includes:
First processing units 501, for determining the disassembly principle of the first group;The disassembly principle is used to indicate will be described
First group is split as at least the second group and third group, and first group is any group in the block catenary system
Group;Each node of second group and each node of the third group are not exactly the same and be the section of first group
Point;
The second processing unit 502, for being determined from each intelligent contract of first group according to the disassembly principle
Belong to the intelligent contract of second group out and belongs to the intelligent contract of the third group;By the intelligence of second group
Contract is packaged as the wound generation block of second group, and the intelligent contract of the third group is packaged as the third group
Create generation block;Start second group and the third group, second group and the third group are the block
Group in catenary system.
Optionally, described device further include: acquiring unit 503;
The first processing units 501 are also used to:
Before the disassembly principle of first group of determination, controls the acquiring unit 503 and obtain first group
In each node resource situation;Judge whether the resource situation of each node meets the needs of first group operation, if
It is unsatisfactory for, it is determined that the operation of first group is split and stopped to first group.
Optionally, the first processing units 501 are specifically used for:
Determine that the network bandwidth of each node is less than the required network bandwidth of first group interior nodes broadcast;Or
Determine that the memory space of each node is less than space needed for account book in first group;Or
Determine that each node operational capability is less than each node in first group and runs needed for the intelligent contract
Operational capability.
Optionally, each intelligent contract of first group is the affiliated of first group transaction data based on the received
The intelligent contract of period creation and by the transaction data record received in corresponding intelligent contract of affiliated period;
Described the second processing unit 502 is specifically used for:
Determine the disassembly principle corresponding fractionation time point;
Period belonging to determining from each intelligent contract of first group is no more than the intelligence for splitting time point
Intelligent contract of the contract as second group;
Period belonging to determining from each intelligent contract of first group is greater than the intelligence for splitting time point and closes
Intelligent contract about as the third group.
Optionally, each intelligent contract of first group is that first group generates according to the transaction data received
Corresponding intelligence contract, and by the transaction data record received in the corresponding intelligent contract;
The first processing units 501 are specifically used for:
According to type of service corresponding to each intelligent contract of first group, the disassembly principle is determined;It is described to tear open
The intelligent contract that point principle is used to indicate each group after splitting corresponds to identical services type.
Optionally, described the second processing unit 502 is also used to:
Determined in each intelligent contract from first group intelligent contract for belonging to second group and
Belong to after the intelligent contract of the third group, controls each block that the acquiring unit 503 traverses first group, obtain
Take first block information of the intelligent contract of second group in each block;First block information is for characterizing
Historical operation of the intelligent contract of second group in each block of first group;
Each block that the acquiring unit 503 traverses first group is controlled, the intelligence for obtaining the third group is closed
The second block information about in each block;Second block information is used to characterize the intelligent contract of the third group
Historical operation in each block of first group;
Described the second processing unit 502 is specifically used for:
First block information of the intelligent contract of second group and the intelligent contract of second group is packaged as
At least one first new block;And the wound generation block of second group is determined from least one described first new block;
Second block information of the intelligent contract of the third group and the intelligent contract of the third group is packaged as
At least one second new block;And the wound generation block of the third group is determined from least one described second new block.
Based on the same inventive concept, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned block according to the program of acquisition for calling the program instruction stored in the memory
The method for splitting of chain group.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium,
Including computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer execution is above-mentioned
The method for splitting of block chain group.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (14)
1. a kind of method for splitting of block chain group, which is characterized in that suitable for having the block catenary system of at least one group,
Each group has independent common recognition mechanism and records transaction data by respective intelligent contract;The described method includes:
Determine the disassembly principle of the first group;The disassembly principle, which is used to indicate, is split as at least second group for first group
Group and third group, first group are any group in the block catenary system;Each node of second group and
Each node of the third group is not exactly the same and is the node of first group;
According to the disassembly principle, the intelligence for belonging to second group is determined from each intelligent contract of first group
Contract and the intelligent contract for belonging to the third group;
The intelligent contract of second group is packaged as to the wound generation block of second group, and by the intelligence of the third group
Contract is packaged as the wound generation block of the third group;
Start second group and the third group, second group and the third group are the block linkwork
Group in system.
2. the method as described in claim 1, which is characterized in that before the disassembly principle of first group of determination, also wrap
It includes:
Obtain the resource situation of each node in first group;Judge whether the resource situation of each node meets described
The demand of one group operation, if not satisfied, then determining the fortune that first group is split and stopped to first group
Row.
3. method according to claim 2, which is characterized in that the resource situation of each node is unsatisfactory for first group
The demand of operation, comprising:
Determine that the network bandwidth of each node is less than the required network bandwidth of first group interior nodes broadcast;Or
Determine that the memory space of each node is less than space needed for account book in first group;Or
Determine that each node operational capability is less than operation needed for each node in first group runs the intelligent contract
Ability.
4. the method as described in claim 1, which is characterized in that each intelligent contract of first group is first group
Based on the received transaction data the affiliated period creation intelligent contract and by the transaction data record received in the affiliated period
In corresponding intelligence contract;
It is described according to the disassembly principle, determine to belong to second group from each intelligent contract of first group
Intelligent contract and the intelligent contract for belonging to the third group, comprising:
Determine the disassembly principle corresponding fractionation time point;
Period belonging to determining from each intelligent contract of first group is no more than the intelligent contract for splitting time point
Intelligent contract as second group;
Period belonging to determining from each intelligent contract of first group is greater than the intelligent contract for splitting time point and makees
For the intelligent contract of the third group.
5. the method as described in claim 1, which is characterized in that each intelligent contract of first group is first group
Corresponding intelligent contract is generated according to the transaction data received, and by the transaction data record received in the phase
In corresponding intelligence contract;
The disassembly principle of first group of determination, comprising:
According to type of service corresponding to each intelligent contract of first group, the disassembly principle is determined;The fractionation is former
The intelligent contract for being then used to indicate each group after splitting corresponds to identical services type.
6. such as method described in any one of claim 1 to 5, which is characterized in that in each intelligence from first group
The intelligent contract for belonging to second group is determined in contract and is belonged to after the intelligent contract of the third group, is also wrapped
It includes:
Each block of first group is traversed, firstth area of the intelligent contract of second group in each block is obtained
Block message;First block information is used to characterize the intelligent contract of second group in each block of first group
Historical operation;
Each block for traversing first group obtains secondth area of the intelligent contract of the third group in each block
Block message;Second block information is used to characterize the intelligent contract of the third group in each block of first group
Historical operation;
The intelligent contract by second group is packaged as the wound generation block of second group, and by the third group
Intelligent contract is packaged as the wound generation block of the third group, comprising:
First block information of the intelligent contract of second group and the intelligent contract of second group is packaged as at least
One the first new block;And the wound generation block of second group is determined from least one described first new block;
Second block information of the intelligent contract of the third group and the intelligent contract of the third group is packaged as at least
One the second new block;And the wound generation block of the third group is determined from least one described second new block.
7. a kind of detachment device of block chain group, which is characterized in that suitable for having the block catenary system of at least one group,
Each group has independent common recognition mechanism and records transaction data by respective intelligent contract;Described device includes:
First processing units, for determining the disassembly principle of the first group;The disassembly principle is used to indicate described first group
Group is split as at least the second group and third group, and first group is any group in the block catenary system;It is described
Each node of second group and each node of the third group are not exactly the same and be the node of first group;
The second processing unit, for determining to belong to from each intelligent contract of first group according to the disassembly principle
The intelligent contract of second group and the intelligent contract for belonging to the third group;The intelligent contract of second group is beaten
Packet is the wound generation block of second group, and the intelligent contract of the third group is packaged as to the wound generation of the third group
Block;Start second group and the third group, second group and the third group are the block linkwork
Group in system.
8. device as claimed in claim 7, which is characterized in that described device further include: acquiring unit;
The first processing units are also used to:
Before the disassembly principle of first group of determination, controls the acquiring unit and obtain each node in first group
Resource situation;Judge whether the resource situation of each node meets the needs of first group operation, if not satisfied, then
Determine the operation that first group is split and stopped to first group.
9. device as claimed in claim 8, which is characterized in that the first processing units are specifically used for:
Determine that the network bandwidth of each node is less than the required network bandwidth of first group interior nodes broadcast;Or
Determine that the memory space of each node is less than space needed for account book in first group;Or
Determine that each node operational capability is less than operation needed for each node in first group runs the intelligent contract
Ability.
10. device as claimed in claim 7, which is characterized in that each intelligent contract of first group is described first group
Organize the intelligent contract of the creation of affiliated period of transaction data based on the received and by the transaction data record received when affiliated
In the corresponding intelligent contract of section;
Described the second processing unit is specifically used for:
Determine the disassembly principle corresponding fractionation time point;
Period belonging to determining from each intelligent contract of first group is no more than the intelligent contract for splitting time point
Intelligent contract as second group;
Period belonging to determining from each intelligent contract of first group is greater than the intelligent contract for splitting time point and makees
For the intelligent contract of the third group.
11. device as claimed in claim 7, which is characterized in that each intelligent contract of first group is described first group
Group generates corresponding intelligent contract according to the transaction data received, and by the transaction data record received described
In corresponding intelligence contract;
The first processing units are specifically used for:
According to type of service corresponding to each intelligent contract of first group, the disassembly principle is determined;The fractionation is former
The intelligent contract for being then used to indicate each group after splitting corresponds to identical services type.
12. such as the described in any item devices of claim 7 to 11, which is characterized in that described the second processing unit is also used to:
The intelligent contract for belonging to second group is determined in each intelligent contract from first group and is belonged to
After the intelligent contract of the third group, each block that the acquiring unit traverses first group is controlled, described in acquisition
First block information of the intelligent contract of second group in each block;First block information is for characterizing described the
Historical operation of the intelligent contract of two groups in each block of first group;
Each block that the acquiring unit traverses first group is controlled, obtains the intelligent contract of the third group described
The second block information in each block;Second block information is used to characterize the intelligent contract of the third group described the
Historical operation in each block of one group;
Described the second processing unit is specifically used for:
First block information of the intelligent contract of second group and the intelligent contract of second group is packaged as at least
One the first new block;And the wound generation block of second group is determined from least one described first new block;
Second block information of the intelligent contract of the third group and the intelligent contract of the third group is packaged as at least
One the second new block;And the wound generation block of the third group is determined from least one described second new block.
13. a kind of calculating equipment characterized by comprising
Memory, for storing program instruction;
Processor requires 1 to 6 according to the program execution benefit of acquisition for calling the program instruction stored in the memory
Described in any item methods.
14. a kind of computer-readable non-volatile memory medium, which is characterized in that including computer-readable instruction, work as computer
When reading and executing the computer-readable instruction, so that computer executes such as method as claimed in any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910488990.0A CN110225110B (en) | 2019-06-06 | 2019-06-06 | Method and device for splitting block chain group |
PCT/CN2020/093997 WO2020244514A1 (en) | 2019-06-06 | 2020-06-02 | Method and apparatus for splitting blockchain group |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910488990.0A CN110225110B (en) | 2019-06-06 | 2019-06-06 | Method and device for splitting block chain group |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110225110A true CN110225110A (en) | 2019-09-10 |
CN110225110B CN110225110B (en) | 2022-08-12 |
Family
ID=67819525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910488990.0A Active CN110225110B (en) | 2019-06-06 | 2019-06-06 | Method and device for splitting block chain group |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110225110B (en) |
WO (1) | WO2020244514A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020244514A1 (en) * | 2019-06-06 | 2020-12-10 | 深圳前海微众银行股份有限公司 | Method and apparatus for splitting blockchain group |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2024504537A (en) * | 2021-01-29 | 2024-02-01 | エヌイーシー ラボラトリーズ ヨーロッパ ゲーエムベーハー | Method and system for scaling blockchain through secure chain splitting |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107528886A (en) * | 2017-07-25 | 2017-12-29 | 中国科学院计算技术研究所 | Block chain the whole network method for splitting and system |
CN108023729A (en) * | 2017-10-13 | 2018-05-11 | 中国银联股份有限公司 | Block chain network and its method of commerce |
CN108769264A (en) * | 2018-07-09 | 2018-11-06 | 中国联合网络通信集团有限公司 | A kind of block chain divides domain method |
US20180323974A1 (en) * | 2017-05-03 | 2018-11-08 | International Business Machines Corporation | Optimal data storage configuration in a blockchain |
CN109285005A (en) * | 2018-08-16 | 2019-01-29 | 北京京东尚科信息技术有限公司 | Method for dividing and processing, device, block chain node and the storage medium of block chain |
CN109818993A (en) * | 2017-11-20 | 2019-05-28 | 西南交通大学 | A kind of efficient block chain common recognition and exchange system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108492550B (en) * | 2018-05-17 | 2020-01-31 | 浪潮集团有限公司 | V2X high-speed fleet self-organization system based on block chain |
CN110225110B (en) * | 2019-06-06 | 2022-08-12 | 深圳前海微众银行股份有限公司 | Method and device for splitting block chain group |
-
2019
- 2019-06-06 CN CN201910488990.0A patent/CN110225110B/en active Active
-
2020
- 2020-06-02 WO PCT/CN2020/093997 patent/WO2020244514A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180323974A1 (en) * | 2017-05-03 | 2018-11-08 | International Business Machines Corporation | Optimal data storage configuration in a blockchain |
CN107528886A (en) * | 2017-07-25 | 2017-12-29 | 中国科学院计算技术研究所 | Block chain the whole network method for splitting and system |
CN108023729A (en) * | 2017-10-13 | 2018-05-11 | 中国银联股份有限公司 | Block chain network and its method of commerce |
CN109818993A (en) * | 2017-11-20 | 2019-05-28 | 西南交通大学 | A kind of efficient block chain common recognition and exchange system |
CN108769264A (en) * | 2018-07-09 | 2018-11-06 | 中国联合网络通信集团有限公司 | A kind of block chain divides domain method |
CN109285005A (en) * | 2018-08-16 | 2019-01-29 | 北京京东尚科信息技术有限公司 | Method for dividing and processing, device, block chain node and the storage medium of block chain |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020244514A1 (en) * | 2019-06-06 | 2020-12-10 | 深圳前海微众银行股份有限公司 | Method and apparatus for splitting blockchain group |
Also Published As
Publication number | Publication date |
---|---|
CN110225110B (en) | 2022-08-12 |
WO2020244514A1 (en) | 2020-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104657220B (en) | Scheduling model and method based on deadline and expense restriction in mixed cloud | |
AU2019351573A1 (en) | Technology configured to facilitate monitoring of operational parameters and maintenance conditions of physical infrastructure | |
CN108416577A (en) | A kind of block chain service system | |
CN109635165A (en) | Data summarization method, device, equipment and medium based on tree-like block chain network | |
CN109791592A (en) | The sensitive data in application program is handled using external treatment | |
CN109242685A (en) | Common recognition and verification method and device based on block chain | |
CN108062672A (en) | A kind of process dispatch method based on block chain intelligence contract | |
CN109785132A (en) | A kind of anti-fake source tracing method, device and storage medium based on block chain | |
CN109379418A (en) | Method, equipment and the storage medium of file based on block chain processing business system | |
CN110473030B (en) | Block chain-based electronic bill number claiming method and device and electronic equipment | |
CN108462885A (en) | A kind of video storage method, device and medium based on block chain | |
WO2011067029A1 (en) | Inter-cloud resource sharing within a cloud computing environment | |
CN108683692A (en) | A kind of service request processing method and device | |
CN110188112A (en) | A kind of retroactive method and device of the change record of block chain intelligence contract | |
CN109118230A (en) | Information processing method and device based on block chain | |
CN110225110A (en) | The method for splitting and device of a kind of block chain group | |
US7430513B2 (en) | Data storage management driven by business objectives | |
CN113821564A (en) | Heterogeneous parallel block chain and on-chain data and under-chain contract cooperation method thereof | |
CN109088820A (en) | A kind of striding equipment link aggregation method, device, computing device and storage medium | |
CN112488714A (en) | Method for linking remark field based on block chain transaction process | |
Rahmaniani et al. | Robust capacitated facility location problem optimization model and solution algorithms | |
CN107123042A (en) | A kind of intelligent sound does tax method, apparatus and system | |
CN109886712A (en) | Data processing method and device based on block chain | |
CN112380179A (en) | Block chain-based steel supply chain information secret sharing method and system | |
CN113553381A (en) | Distributed data management system based on novel pipeline scheduling algorithm |
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 |