CN109241087A - A kind of data processing method and terminal of alliance's chain - Google Patents
A kind of data processing method and terminal of alliance's chain Download PDFInfo
- Publication number
- CN109241087A CN109241087A CN201811128353.4A CN201811128353A CN109241087A CN 109241087 A CN109241087 A CN 109241087A CN 201811128353 A CN201811128353 A CN 201811128353A CN 109241087 A CN109241087 A CN 109241087A
- Authority
- CN
- China
- Prior art keywords
- subchain
- data
- main chain
- chain
- intelligent 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
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 238000012856 packing Methods 0.000 claims abstract description 9
- 230000003993 interaction Effects 0.000 claims description 49
- 238000012545 processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 8
- 230000000977 initiatory effect Effects 0.000 claims description 6
- 230000002452 interceptive effect Effects 0.000 claims 2
- 238000000034 method Methods 0.000 abstract description 13
- 238000002955 isolation Methods 0.000 abstract description 5
- 239000012634 fragment Substances 0.000 description 11
- 230000008569 process Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Storage Device Security (AREA)
Abstract
The present invention provides the data processing method and terminal of a kind of alliance's chain, method includes: to dispose a mutually different intelligent contract in each subchain respectively by main chain;The data that all subchain every preset time periods are sent are received by the main chain, the data are sent to main chain by the intelligent contract being deployed in the subchain by subchain;All data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;When the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, controls the main chain and obtain data corresponding with the second subchain from the block, obtain the first data;It controls the main chain and sends first data to the first subchain.The present invention makes to be able to carry out mutual data query between subchain by the above method, solves the problems, such as that there are data isolations between subchain.
Description
Technical field
The present invention relates to block chain technical field more particularly to a kind of data processing methods and terminal of alliance's chain.
Background technique
Traditional block chain is single-stranded structure, once major network is online can only light maintenance, can not upgrade on a large scale.?
Block chain technical aspect, safety and performance on same chain are contradictory.The task of block chain is various, digital cash
The transfer of Token is very high to security requirement, but assets prove that business is just less sensitive to safety, more infuse to efficiency
Weight, is difficult to take into account on a chain, and even later side chain technology does not have too big use to alleviation main chain pressure yet.
Basis public affairs chain BUMO uses the two-level architecture of main chain and subchain, and main chain and multiple subchains constitute alliance's chain, leads
Chain is responsible for each subchain and provides high-level main chain common recognition, and provides across chain bond service, and the block head data of subchain are regular
It is synchronized to main chain, meanwhile, target block chain is arrived to the communication data " routing " of different blocks chain, and carry out agreement translation, prevented
Across chain overload and avoid across chain attack.According to business characteristic and demand, each subchain has independently directly processing transaction, contract
Etc. data, subchain have oneself independent system of account and token, be not rely on main chain on this level.These structures are identical, but
It is that the subchain that number of nodes is different, function is different is called to be referred to as " isomorphism chain ".This mechanism allows main chain to be only responsible for most important thing
Business, the data of only most critical are just recorded on main chain, and current transaction and affairs are then independently present on subchain, to greatest extent
Promote the efficiency of BUMO ecology, and compromise between security.But there are there are data isolation, different sons between current subchain for it
It is difficult to carry out data query and interaction between chain.
Summary of the invention
The technical problems to be solved by the present invention are: the present invention provides a kind of data processing method of alliance's chain and ends
End, solves the problems, such as that there are data isolations between subchain.
In order to solve the above-mentioned technical problems, the present invention provides a kind of data processing methods of alliance's chain, including following step
It is rapid:
S1: a mutually different intelligent contract is disposed in each subchain respectively by main chain;
S2: the data that all subchain every preset time periods are sent are received by the main chain, the data are led to by subchain
It crosses the intelligent contract being deployed in the subchain and is sent to main chain;
S3: all data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;
S4: when the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, control
The main chain obtains data corresponding with the second subchain from the block, obtains the first data;
S5: it controls the main chain and sends first data to the first subchain.
The present invention also provides a kind of data processing terminal of alliance's chain, including memory, processor and it is stored in storage
On device and the computer program that can run on a processor, the processor realize following step when executing the computer program
It is rapid:
S1: a mutually different intelligent contract is disposed in each subchain respectively by main chain;
S2: the data that all subchain every preset time periods are sent are received by the main chain, the data are led to by subchain
It crosses the intelligent contract being deployed in the subchain and is sent to main chain;
S3: all data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;
S4: when the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, control
The main chain obtains data corresponding with the second subchain from the block, obtains the first data;
S5: it controls the main chain and sends first data to the first subchain.
The invention has the benefit that
The present invention provides the data processing methods and terminal of a kind of alliance's chain, by disposing one in each subchain
Mutually different intelligence contract, each subchain sends the data of this time segment record to main chain every preset time, described
After the data received are packaged by main chain, it is uploaded to the corresponding block of main chain, is corresponded to when a certain subchain needs to inquire another subchain
Data when, first chain linked to owner sends inquiry request information, so as to obtain corresponding with the second subchain first from block several for main chain
According to, and postback the first data to the first subchain and solved between subchain so that being able to carry out mutual data query between subchain
There are problems that data isolation.
Detailed description of the invention
Fig. 1 is the key step schematic diagram according to a kind of data processing method of alliance's chain of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram according to a kind of data processing terminal of alliance's chain of the embodiment of the present invention;
Fig. 3 is according to the data interaction schematic diagram between the different subchains of the embodiment of the present invention;
Label declaration:
1, memory;2, processor.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained in detail.
Fig. 1 is please referred to, the present invention provides a kind of data processing methods of alliance's chain, comprising the following steps:
S1: a mutually different intelligent contract is disposed in each subchain respectively by main chain;
S2: the data that all subchain every preset time periods are sent are received by the main chain, the data are led to by subchain
It crosses the intelligent contract being deployed in the subchain and is sent to main chain;
S3: all data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;
S4: when the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, control
The main chain obtains data corresponding with the second subchain from the block, obtains the first data;
S5: it controls the main chain and sends first data to the first subchain.
As can be seen from the above description, the present invention provides a kind of data processing methods of alliance's chain, by each subchain
The upper mutually different intelligent contract of deployment one, each subchain send the data of this time segment record extremely every preset time
Main chain, the main chain by the data received be packaged after, be uploaded to the corresponding block of main chain, when a certain subchain need to inquire it is another
When the corresponding data of subchain, first chain linked to owner sends inquiry request information so that main chain obtained from block it is corresponding with the second subchain
The first data, and postback the first data to the first subchain and solved so that being able to carry out mutual data query between subchain
There are problems that data isolation between subchain.
Further, the S4 specifically:
When the main chain receives the inquiry request information that the first subchain is sent, the main chain is corresponding by the second subchain
Second intelligent contract, data corresponding with the second subchain are inquired from the block, obtain the first data;The inquiry request letter
Breath includes the query information of the second subchain of inquiry, and the inquiry request information is by the first subchain by being deployed in the first subchain
First intelligent contract is sent to main chain.
As can be seen from the above description, can be realized the data query between different subchains by the above method, solve due to
Subchain number increases, and the problem of cause alliance's chain performance can be greatly reduced.
Further, the S5 specifically:
It controls the main chain and first data is sent to the first son by the corresponding with the first subchain first intelligent contract
Chain, so that the first subchain obtains the first data corresponding with inquiry request information.
As can be seen from the above description, can quickly make the first subchain obtain corresponding with inquiry request information by the above method
First data improve the efficiency of transmission of data.
Further, after the S3 further include:
When the main chain receive third subchain initiation interaction request message when, control the main chain by with the 4th son
The corresponding 4th intelligent contract of chain forwards the interaction request message to the 4th subchain;The interaction request message is by third subchain
Be sent to main chain by the third intelligence contract being deployed in third subchain, the interaction request message include with the 4th subchain into
The interaction request message of row data interaction;
When the main chain receives the interaction results information that the 4th subchain is sent by the 4th intelligent contract, described in control
Main chain forwards the interaction results information to third subchain by third intelligence contract.
As can be seen from the above description, the intelligent contract disposed in each subchain, so that can be by upper between each subchain
State method and carry out data interaction, can effectively solve the problems, such as data silo between different subchains at present, and solve alliance's chain in response to
The problem of being declined with performance caused by increase.
Further, the data processing method of a kind of alliance's chain, further includes:
When the corresponding request of the data that main chain initiates the 5th subchain current record of inquiry, the main chain is controlled by the 5th
The corresponding 5th intelligent contract of subchain inquires the data of the corresponding block current record of the 5th subchain.
As can be seen from the above description, enabling main chain quick search to the data of suitable subchain by the above method, improving
The data processing performance of alliance's chain.
Referring to figure 2., the data processing terminal of a kind of alliance's chain provided by the invention, including memory 1, processor 2 and
It is stored in the computer program that can be run on memory 1 and on processor 2, the processor 2 executes the computer program
When perform the steps of
S1: a mutually different intelligent contract is disposed in each subchain respectively by main chain;
S2: the data that all subchain every preset time periods are sent are received by the main chain, the data are led to by subchain
It crosses the intelligent contract being deployed in the subchain and is sent to main chain;
S3: all data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;
S4: when the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, control
The main chain obtains data corresponding with the second subchain from the block, obtains the first data;
S5: it controls the main chain and sends first data to the first subchain.
Further, the data processing terminal of a kind of alliance's chain, the S4 specifically:
When the main chain receives the inquiry request information that the first subchain is sent, the main chain is corresponding by the second subchain
Second intelligent contract, data corresponding with the second subchain are inquired from the block, obtain the first data;The inquiry request letter
Breath includes the query information of the second subchain of inquiry, and the inquiry request information is by the first subchain by being deployed in the first subchain
First intelligent contract is sent to main chain.
Further, the data processing terminal of a kind of alliance's chain, the S5 specifically:
It controls the main chain and first data is sent to the first son by the corresponding with the first subchain first intelligent contract
Chain, so that the first subchain obtains the first data corresponding with inquiry request information.
Further, the data processing terminal of a kind of alliance's chain, after the S3 further include:
When the main chain receive third subchain initiation interaction request message when, control the main chain by with the 4th son
The corresponding 4th intelligent contract of chain forwards the interaction request message to the 4th subchain;The interaction request message is by third subchain
Be sent to main chain by the third intelligence contract being deployed in third subchain, the interaction request message include with the 4th subchain into
The interaction request message of row data interaction;
When the main chain receives the interaction results information that the 4th subchain is sent by the 4th intelligent contract, described in control
Main chain forwards the interaction results information to third subchain by third intelligence contract.
Further, the data processing terminal of a kind of alliance's chain, further includes:
When the corresponding request of the data that main chain initiates the 5th subchain current record of inquiry, the main chain is controlled by the 5th
The corresponding 5th intelligent contract of subchain inquires the data of the corresponding block current record of the 5th subchain.
Please refer to Fig. 1, the embodiment of the present invention one are as follows:
The present invention provides a kind of data processing methods of alliance's chain, comprising the following steps:
S1: a mutually different intelligent contract is disposed in each subchain respectively by main chain;
Wherein, the corresponding intelligent contract of all subchains is stored on the main chain;
S2: the data that all subchain every preset time periods are sent are received by the main chain, the data are led to by subchain
It crosses the intelligent contract being deployed in the subchain and is sent to main chain;
Wherein, the time that each subchain is sent every time is all the same, and the data of transmission are that the subchain is right within this period
All data for the block record answered;The preset time period is 0.1-1 hours, can be adjusted according to the actual needs;
S3: all data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;
S4: when the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, control
The main chain obtains data corresponding with the second subchain from the block, obtains the first data;
Wherein, the S4 specifically:
When the main chain receives the inquiry request information that the first subchain is sent, the main chain is corresponding by the second subchain
Second intelligent contract, data corresponding with the second subchain are inquired from the block, obtain the first data;The inquiry request letter
Breath includes the query information of the second subchain of inquiry, and the inquiry request information is by the first subchain by being deployed in the first subchain
First intelligent contract is sent to main chain.
Above-mentioned query process receives the request of the first main chain first, and main chain is interacted with the second subchain, by being deployed in
The second intelligent contract in second subchain obtains the first data needed and arrives main chain, the data then stored on main chain and oneself chain
Cryptographic Hash is compared, and if they are the same, then the first data is sent to the first subchain.It needs to do data and unifies formatting processing
S5: it controls the main chain and sends first data to the first subchain;
Wherein, the S5 specifically:
It controls the main chain and first data is sent to the first son by the corresponding with the first subchain first intelligent contract
Chain, so that the first subchain obtains the first data corresponding with inquiry request information;
S6: when the main chain receives the interaction request message of third subchain initiation, the main chain is controlled by with the
The corresponding 4th intelligent contract of four subchains forwards the interaction request message to the 4th subchain;The interaction request message is by third
Subchain is sent to main chain by the third intelligence contract being deployed in third subchain, and the interaction request message includes and the 4th son
The interaction request message of chain progress data interaction;
When the main chain receives the interaction results information that the 4th subchain is sent by the 4th intelligent contract, described in control
Main chain forwards the interaction results information to third subchain by third intelligence contract;
S7: it when the corresponding request of the data that main chain initiates the 5th subchain current record of inquiry, controls the main chain and passes through
The corresponding 5th intelligent contract of 5th subchain inquires the data of the corresponding block current record of the 5th subchain.
Referring to figure 2., the embodiment of the present invention two are as follows:
The present invention provides a kind of data processing terminal of alliance's chain, including memory, processor and it is stored in memory
Computer program that is upper and can running on a processor, the processor perform the steps of when executing the computer program
S1: a mutually different intelligent contract is disposed in each subchain respectively by main chain;
Wherein, the corresponding intelligent contract of all subchains is stored on the main chain;
S2: the data that all subchain every preset time periods are sent are received by the main chain, the data are led to by subchain
It crosses the intelligent contract being deployed in the subchain and is sent to main chain;
Wherein, the time that each subchain is sent every time is all the same, and the data of transmission are that the subchain is right within this period
All data for the block record answered;The preset time period is 0.1-1 hours, can be adjusted according to the actual needs;
S3: all data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;
S4: when the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, control
The main chain obtains data corresponding with the second subchain from the block, obtains the first data;
Wherein, the S4 specifically:
When the main chain receives the inquiry request information that the first subchain is sent, the main chain is corresponding by the second subchain
Second intelligent contract, data corresponding with the second subchain are inquired from the block, obtain the first data;The inquiry request letter
Breath includes the query information of the second subchain of inquiry, and the inquiry request information is by the first subchain by being deployed in the first subchain
First intelligent contract is sent to main chain.
S5: it controls the main chain and sends first data to the first subchain;
Wherein, the S5 specifically:
It controls the main chain and first data is sent to the first son by the corresponding with the first subchain first intelligent contract
Chain, so that the first subchain obtains the first data corresponding with inquiry request information;
S6: when the main chain receives the interaction request message of third subchain initiation, the main chain is controlled by with the
The corresponding 4th intelligent contract of four subchains forwards the interaction request message to the 4th subchain;The interaction request message is by third
Subchain is sent to main chain by the third intelligence contract being deployed in third subchain, and the interaction request message includes and the 4th son
The interaction request message of chain progress data interaction;
When the main chain receives the interaction results information that the 4th subchain is sent by the 4th intelligent contract, described in control
Main chain forwards the interaction results information to third subchain by third intelligence contract;
S7: it when the corresponding request of the data that main chain initiates the 5th subchain current record of inquiry, controls the main chain and passes through
The corresponding 5th intelligent contract of 5th subchain inquires the data of the corresponding block current record of the 5th subchain.
Referring to figure 3., the embodiment of the present invention three are as follows:
1, the node u of each addition systemiPublic and private key (the pk of the node is obtained by CAi,ski).
2, each specific application can form a subchain Sub-Ci(i-th subchain), every subchain possesses the number of oneself
According to structure, endorsement strategy, common recognition algorithm etc., each Sub-CiWhile formation, main chain Main-C disposes an intelligent contract
SCiIn Sub-CiOn, pass through SCiMain chain can submit related data to master with the partial data of query calls subchain, subchain
Chain.
3, every preset time period T, all subchain Sub-Ci(i=1,2 ..., n) it is packaged all blocks in time period
Record, and pass through SCi(i=1,2 ..., n) is submitted to Main-C, and Main-C is packaged all Sub-Ci(i=1,2 ..., n)
Block record, and block new on main chain is formed by the common recognition of oneself.
4, when main chain needs to inquire the related data of subchain, Main-C passes through SCi(i=1,2 ..., n) inquiry Sub-Ci
The block record of (i=1,2 ..., n).
5, the node in main chain possesses the attribute of highest level, can be with the secret information of decryption portion subchain, specific plan
Slightly determined according to specified context, and the node in subchain possesses the other attribute of lower level, specific strategy has more subchain application ring
The certification of CA determines in border.
6, different subchain Sub-CiWith Sub-CjInteraction between (i ≠ j) needs to complete by Main-C, Sub-CiIt is logical
Cross SCiDemand is submitted to Main-C, then Main-C passes through SCjInteraction request is submitted to Sub-Cj, Sub-CjPass through SCjIt will hand over
Mutual result is submitted to Main-C, and last Main-C passes through SCiInteraction results are submitted to Sub-Ci。
In conclusion the present invention provides a kind of isomery of block chain common recognition method and terminal, in each round common recognition process
In, the decision node of each fragment in block is filtered out respectively, to filter out the first decision node of block, and to each
The sub- message blocks that the corresponding decision node of the node verification fragment in fragment generates, only sub- message blocks be fragmented in have it is many
In preset number node verification by the way that after the sub- message blocks, the first decision node is just received;And by decision node to every
The sub- message blocks that the decision node of one fragment is sent are verified, and are merged to the sub- message blocks being verified, and are closed
Message blocks after and, and message blocks are respectively sent to the corresponding decision node of each fragment and are verified, when what is be verified
When number is greater than preset number threshold value, indicates that the message blocks are verified, the message blocks can be broadcasted;The present invention passes through above-mentioned side
Method selects the decision node of each fragment and the decision node that all fragments composition block is new during each round common recognition,
So that attacker can not judge the decision node of each fragment and the decision node of block, also just it is unable to control and entirely knew together
Journey, while common recognition algorithm used by each fragment is different, attacker can not control all fragments by a kind of attack strategies,
Also it is just unable to control entire common recognition process, attacker wants most nodes of the necessary control system of control common recognition process, this
The difficulty of attack is undoubtedly increased, to solve the node of a certain fragment in hacker attack block chain, and causes block decision
The problem of significant error occurs, improves the safety of block chain.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in other relevant technical fields, similarly
It is included within the scope of the present invention.
Claims (10)
1. a kind of data processing method of alliance's chain, which comprises the following steps:
S1: a mutually different intelligent contract is disposed in each subchain respectively by main chain;
S2: the data that all subchain every preset time periods are sent are received by the main chain, the data pass through portion by subchain
The intelligent contract affixed one's name in the subchain is sent to main chain;
S3: all data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;
S4: when the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, described in control
Main chain obtains data corresponding with the second subchain from the block, obtains the first data;
S5: it controls the main chain and sends first data to the first subchain.
2. a kind of data processing method of alliance's chain according to claim 1, which is characterized in that the S4 specifically:
When the main chain receives the inquiry request information that the first subchain is sent, the main chain passes through the second subchain corresponding second
Intelligent contract inquires data corresponding with the second subchain from the block, obtains the first data;The inquiry request packet
Include inquiry the second subchain query information, the inquiry request information by the first subchain by be deployed in the first subchain first
Intelligent contract is sent to main chain.
3. a kind of data processing method of alliance's chain according to claim 1 or 2, which is characterized in that the S5 specifically:
It controls the main chain and first data to the first subchain is sent by the corresponding with the first subchain first intelligent contract, with
So that the first subchain obtains the first data corresponding with inquiry request information.
4. a kind of data processing method of alliance's chain according to claim 1, which is characterized in that also wrapped after the S3
It includes:
When the main chain receive third subchain initiation interaction request message when, control the main chain by with the 4th subchain pair
The intelligent contract of the 4th answered forwards the interaction request message to the 4th subchain;The interaction request message is passed through by third subchain
The third intelligence contract being deployed in third subchain is sent to main chain, and the interaction request message includes being counted with the 4th subchain
According to interactive interaction request message;
When the main chain receives the interaction results information that the 4th subchain is sent by the 4th intelligent contract, the main chain is controlled
Forward the interaction results information to third subchain by third intelligence contract.
5. a kind of data processing method of alliance's chain according to claim 1, which is characterized in that further include:
When the corresponding request of the data that main chain initiates the 5th subchain current record of inquiry, controls the main chain and pass through the 5th subchain
Corresponding 5th intelligent contract inquires the data of the corresponding block current record of the 5th subchain.
6. a kind of data processing terminal of alliance's chain, including memory, processor and storage are on a memory and can be in processor
The computer program of upper operation, which is characterized in that the processor performs the steps of when executing the computer program
S1: a mutually different intelligent contract is disposed in each subchain respectively by main chain;
S2: the data that all subchain every preset time periods are sent are received by the main chain, the data pass through portion by subchain
The intelligent contract affixed one's name in the subchain is sent to main chain;
S3: all data received are packaged, and the data after packing are uploaded in the corresponding block of main chain;
S4: when the corresponding inquiry request information of the data for receiving the second subchain of inquiry that the first subchain is initiated, described in control
Main chain obtains data corresponding with the second subchain from the block, obtains the first data;
S5: it controls the main chain and sends first data to the first subchain.
7. a kind of data processing terminal of alliance's chain according to claim 6, which is characterized in that the S4 specifically:
When the main chain receives the inquiry request information that the first subchain is sent, the main chain passes through the second subchain corresponding second
Intelligent contract inquires data corresponding with the second subchain from the block, obtains the first data;The inquiry request packet
Include inquiry the second subchain query information, the inquiry request information by the first subchain by be deployed in the first subchain first
Intelligent contract is sent to main chain.
8. a kind of data processing terminal of alliance's chain according to claim 6 or 7, which is characterized in that the S5 specifically:
It controls the main chain and first data to the first subchain is sent by the corresponding with the first subchain first intelligent contract, with
So that the first subchain obtains the first data corresponding with inquiry request information.
9. a kind of data processing terminal of alliance's chain according to claim 6, which is characterized in that also wrapped after the S3
It includes:
When the main chain receive third subchain initiation interaction request message when, control the main chain by with the 4th subchain pair
The intelligent contract of the 4th answered forwards the interaction request message to the 4th subchain;The interaction request message is passed through by third subchain
The third intelligence contract being deployed in third subchain is sent to main chain, and the interaction request message includes being counted with the 4th subchain
According to interactive interaction request message;
When the main chain receives the interaction results information that the 4th subchain is sent by the 4th intelligent contract, the main chain is controlled
Forward the interaction results information to third subchain by third intelligence contract.
10. a kind of data processing terminal of alliance's chain according to claim 6, which is characterized in that further include:
When the corresponding request of the data that main chain initiates the 5th subchain current record of inquiry, controls the main chain and pass through the 5th subchain
Corresponding 5th intelligent contract inquires the data of the corresponding block current record of the 5th subchain.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811128353.4A CN109241087B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal of alliance chain |
CN202011611159.9A CN112749188B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal for solving data isolation between sub-chains in alliance chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811128353.4A CN109241087B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal of alliance chain |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011611159.9A Division CN112749188B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal for solving data isolation between sub-chains in alliance chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109241087A true CN109241087A (en) | 2019-01-18 |
CN109241087B CN109241087B (en) | 2020-12-01 |
Family
ID=65056868
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011611159.9A Active CN112749188B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal for solving data isolation between sub-chains in alliance chain |
CN201811128353.4A Active CN109241087B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal of alliance chain |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011611159.9A Active CN112749188B (en) | 2018-09-27 | 2018-09-27 | Data processing method and terminal for solving data isolation between sub-chains in alliance chain |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN112749188B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110033243A (en) * | 2019-03-06 | 2019-07-19 | 华南师范大学 | Main chain based on block chain intelligence contract deposits card method, system and storage medium |
CN110138873A (en) * | 2019-05-21 | 2019-08-16 | 利姆斯(北京)区块链技术有限公司 | Environment measuring sampled data accesses system |
CN110245185A (en) * | 2019-05-21 | 2019-09-17 | 平安普惠企业管理有限公司 | Data processing method, terminal device and computer storage medium based on alliance's chain |
CN110807672A (en) * | 2019-11-12 | 2020-02-18 | 北京芯际科技有限公司 | Block chain-based point cashing method |
CN110941850A (en) * | 2019-10-28 | 2020-03-31 | 苏宁金融科技(南京)有限公司 | Internet of things data sharing method and system based on cross-chain technology |
CN111404962A (en) * | 2020-03-26 | 2020-07-10 | 杭州复杂美科技有限公司 | Federation link point data transmission method, equipment and storage medium |
CN111404961A (en) * | 2020-03-26 | 2020-07-10 | 杭州复杂美科技有限公司 | Federation link point data transmission method, equipment and storage medium |
CN111612614A (en) * | 2019-02-26 | 2020-09-01 | 傲为信息技术(江苏)有限公司 | Public link-based sub-chain service system |
CN112257118A (en) * | 2020-12-21 | 2021-01-22 | 支付宝(杭州)信息技术有限公司 | Method and system for locking cross-fragment transactions in a blockchain system containing fragments |
CN113159333A (en) * | 2021-03-27 | 2021-07-23 | 北京邮电大学 | Federated learning method, system and device based on hierarchical fragment block chain |
CN115150413A (en) * | 2022-05-20 | 2022-10-04 | 网易(杭州)网络有限公司 | Block chain data storage method and device, electronic equipment and storage medium |
CN115174589A (en) * | 2022-05-20 | 2022-10-11 | 网易(杭州)网络有限公司 | Selection method and device of block chain virtual machine, electronic equipment and storage medium |
CN116957592A (en) * | 2023-09-20 | 2023-10-27 | 中铱数字科技有限公司 | Method for generating digital collection based on blockchain |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120296716A1 (en) * | 2011-05-19 | 2012-11-22 | Barbeau Pierre C | Management of an Offer for a Financial Incentive |
CN107231299A (en) * | 2017-06-07 | 2017-10-03 | 众安信息技术服务有限公司 | A kind of chain route and realized the system that block chain communicates across chain |
CN107844976A (en) * | 2017-10-25 | 2018-03-27 | 武汉天喻信息产业股份有限公司 | A kind of card of depositing based on block chain applies transaction system and method |
CN108256988A (en) * | 2016-12-30 | 2018-07-06 | 深圳壹账通智能科技有限公司 | The data processing method and device of alliance of credit information service |
CN108347486A (en) * | 2018-02-12 | 2018-07-31 | 众安信息技术服务有限公司 | Across chain communication means, device and system based on block chain |
CN108389047A (en) * | 2018-02-12 | 2018-08-10 | 深圳沃链科技有限公司 | The method and block chain network of fundamental chain and subchain transaction in block chain |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018116230A1 (en) * | 2016-12-23 | 2018-06-28 | Pasumarthi Adityanand | Hybrid blockchain based record management system |
CN107507005B (en) * | 2017-08-01 | 2020-09-11 | 众安信息技术服务有限公司 | Off-link data access method and system based on alliance chain |
-
2018
- 2018-09-27 CN CN202011611159.9A patent/CN112749188B/en active Active
- 2018-09-27 CN CN201811128353.4A patent/CN109241087B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120296716A1 (en) * | 2011-05-19 | 2012-11-22 | Barbeau Pierre C | Management of an Offer for a Financial Incentive |
CN108256988A (en) * | 2016-12-30 | 2018-07-06 | 深圳壹账通智能科技有限公司 | The data processing method and device of alliance of credit information service |
CN107231299A (en) * | 2017-06-07 | 2017-10-03 | 众安信息技术服务有限公司 | A kind of chain route and realized the system that block chain communicates across chain |
CN107844976A (en) * | 2017-10-25 | 2018-03-27 | 武汉天喻信息产业股份有限公司 | A kind of card of depositing based on block chain applies transaction system and method |
CN108347486A (en) * | 2018-02-12 | 2018-07-31 | 众安信息技术服务有限公司 | Across chain communication means, device and system based on block chain |
CN108389047A (en) * | 2018-02-12 | 2018-08-10 | 深圳沃链科技有限公司 | The method and block chain network of fundamental chain and subchain transaction in block chain |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111612614A (en) * | 2019-02-26 | 2020-09-01 | 傲为信息技术(江苏)有限公司 | Public link-based sub-chain service system |
WO2020173500A1 (en) * | 2019-02-26 | 2020-09-03 | 白杰 | Public chain-based sub-chain business system |
CN110033243B (en) * | 2019-03-06 | 2023-01-10 | 华南师范大学 | Main chain evidence storing method, system and storage medium based on block chain intelligent contract |
CN110033243A (en) * | 2019-03-06 | 2019-07-19 | 华南师范大学 | Main chain based on block chain intelligence contract deposits card method, system and storage medium |
CN110138873A (en) * | 2019-05-21 | 2019-08-16 | 利姆斯(北京)区块链技术有限公司 | Environment measuring sampled data accesses system |
CN110245185A (en) * | 2019-05-21 | 2019-09-17 | 平安普惠企业管理有限公司 | Data processing method, terminal device and computer storage medium based on alliance's chain |
CN110941850A (en) * | 2019-10-28 | 2020-03-31 | 苏宁金融科技(南京)有限公司 | Internet of things data sharing method and system based on cross-chain technology |
CN110807672A (en) * | 2019-11-12 | 2020-02-18 | 北京芯际科技有限公司 | Block chain-based point cashing method |
CN111404961A (en) * | 2020-03-26 | 2020-07-10 | 杭州复杂美科技有限公司 | Federation link point data transmission method, equipment and storage medium |
CN111404962A (en) * | 2020-03-26 | 2020-07-10 | 杭州复杂美科技有限公司 | Federation link point data transmission method, equipment and storage medium |
CN111404962B (en) * | 2020-03-26 | 2022-06-24 | 杭州复杂美科技有限公司 | Federation link point data transmission method, equipment and storage medium |
CN112257118A (en) * | 2020-12-21 | 2021-01-22 | 支付宝(杭州)信息技术有限公司 | Method and system for locking cross-fragment transactions in a blockchain system containing fragments |
CN113159333A (en) * | 2021-03-27 | 2021-07-23 | 北京邮电大学 | Federated learning method, system and device based on hierarchical fragment block chain |
CN113159333B (en) * | 2021-03-27 | 2022-10-11 | 北京邮电大学 | Federal learning method, system and device based on hierarchical fragment block chain |
CN115150413A (en) * | 2022-05-20 | 2022-10-04 | 网易(杭州)网络有限公司 | Block chain data storage method and device, electronic equipment and storage medium |
CN115174589A (en) * | 2022-05-20 | 2022-10-11 | 网易(杭州)网络有限公司 | Selection method and device of block chain virtual machine, electronic equipment and storage medium |
CN115174589B (en) * | 2022-05-20 | 2023-11-03 | 网易(杭州)网络有限公司 | Selection method and device of blockchain virtual machine, electronic equipment and storage medium |
CN116957592A (en) * | 2023-09-20 | 2023-10-27 | 中铱数字科技有限公司 | Method for generating digital collection based on blockchain |
CN116957592B (en) * | 2023-09-20 | 2023-12-22 | 中铱数字科技有限公司 | Method for generating digital collection based on blockchain |
Also Published As
Publication number | Publication date |
---|---|
CN109241087B (en) | 2020-12-01 |
CN112749188B (en) | 2022-07-05 |
CN112749188A (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109241087A (en) | A kind of data processing method and terminal of alliance's chain | |
CN107911373B (en) | A kind of block chain right management method and system | |
CN105247529B (en) | The synchronous voucher hash between directory service | |
CN110033243B (en) | Main chain evidence storing method, system and storage medium based on block chain intelligent contract | |
CN113407640B (en) | Cross-chain method and system based on multi-chain NFT (network File transfer) | |
CN103873454B (en) | Authentication method and equipment | |
CN102170440B (en) | Method suitable for safely migrating data between storage clouds | |
CN110719165B (en) | Block chain distributed dynamic network key generation and encryption method | |
CN108768970A (en) | A kind of binding method of smart machine, identity authentication platform and storage medium | |
CN110245956A (en) | A kind of block chain transaction confirmation method and system based on asynchronous multichain | |
JP2009087035A (en) | Encryption client device, encryption package distribution system, encryption container distribution system, encryption management server device, solftware module management device and software module management program | |
CN108173827B (en) | Block chain thinking-based distributed SDN control plane security authentication method | |
CN105207950B (en) | A kind of communication data guard method based on SDN technology | |
CN109756579A (en) | A kind of Internet of Things Information Secure Transmission System and transmission method based on block chain | |
WO2023011019A1 (en) | Blockchain-based data processing method and apparatus, device, readable storage medium and computer program product | |
CN102263787B (en) | Dynamic distributed certification authority (CA) configuration method | |
CN104980449B (en) | The safety certifying method and system of network request | |
CN113902384B (en) | Tracing method and system based on RFID and intelligent contract | |
CN113407977A (en) | Cross-chain extension method and system based on aggregated signature | |
CN109561100A (en) | Method and system based on the distributed duplexing energized network attacking and defending with artificial intelligence | |
CN110602083B (en) | Secure transmission and storage method of digital identity authentication data | |
CN107659579A (en) | Deposit card method, equipment and related deposit system in a kind of scene | |
CN111371588A (en) | SDN edge computing network system based on block chain encryption, encryption method and medium | |
CN106487505A (en) | Key management, acquisition methods and relevant apparatus and system | |
CN103780605B (en) | Fast encryption and decryption method and gateway |
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 | ||
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20190118 Assignee: Fuzhou Lingyun Data Technology Co.,Ltd. Assignor: FUJIAN FULIAN TECHNOLOGY Co.,Ltd. Contract record no.: X2024980009990 Denomination of invention: A Data Processing Method and Terminal for Alliance Chain Granted publication date: 20201201 License type: Common License Record date: 20240726 |