A kind of across chain transactional operation system between different blocks chain
Technical field
Across chain transactional operation system the present invention relates to block chain technical field, between specially a kind of different blocks chain.
Background technique
Currently, different block chains, is all single individual, the data between different blocks chain are different, high degree
Limit the intercommunity between block chain, if can by multiple block chains form one set, user when needing across chain operation, from
Corresponding block chain is taken out in set, corresponding block chain is handled by intermediate processor, thus real not same district
Across chain operation between block chain.
Summary of the invention
The object of the present invention is to provide a kind of structurally reasonable and novel, multiple block chains are formed into a set, in
Between processor processor that corresponding block chain is handled.
Technical solution
In order to achieve the above object, the present invention is achieved by the following technical programs: between a kind of different blocks chain across
Chain transactional operation system, including processor, block chain parameter memory module, block chain parameter recording module, block chain parameter are defeated
Enter module, block chain extraction module, parameter setting module, across chain processing module, output module, identifying code generation module, verifying
Code memory module, analysis module, creation module, wireless communication module, identifying code input module, identifying code contrast module, first
The input terminal of mobile terminal and the second mobile terminal, the processor is electrically connected with the output end of block chain parameter memory module,
The input terminal of the block chain parameter memory module is electrically connected with the output end of block chain parameter recording module, the block chain ginseng
The input terminal of number recording module is electrically connected with the output end of block chain parameter input module.
The processor also respectively with block chain extraction module and parameter setting module are two-way is electrically connected, the block chain mentions
Modulus block with across chain processing module is two-way is electrically connected, the output end across chain processing module also respectively with output module and verifying
The input terminal electrical connection of code generation module, the output end of the identifying code generation module and the input terminal electricity of identifying code memory module
Connection, the output end of the identifying code memory module are electrically connected with the input terminal of processor, the input across chain processing module
End is electrically connected with the output end of analysis module, and the input terminal of the analysis module is electrically connected with the output end of creation module, described
The output end of wireless communication module is electrically connected with the input terminal of creation module and identifying code input module respectively, the wireless telecommunications
The input terminal of module is electrically connected with the output end of output module and identifying code generation module respectively, the identifying code input module
Output end is electrically connected with the input terminal of identifying code contrast module, the input of the output end and processor of the identifying code contrast module
Endpoint electrical connection, the wireless communication module are also connect with first movement terminal and the second mobile terminal two-way signaling respectively.
Further, the input terminal of the processor further includes password storage module, password authentication module, password typing mould
Block and Password Input module, the input terminal of the processor are electric with the output end of password storage module and password authentication module respectively
Connection, the input terminal of the password storage module are electrically connected with the output end of password recording module, the Password Input module
Output end respectively with the input terminal of password authentication module and password recording module be electrically connected.
Further, the wireless communication module mass 3G module, 4G module and WIFI module.
Further, the output end across chain processing module includes transaction memory module, the transaction memory module
Input terminal is electrically connected with the output end across chain processing module, the transaction memory module with wireless communication module is two-way is electrically connected.
Further, the input terminal of the processor further include time contrast module, time memory module, timing module and
Time input module, output end of the input terminal of the processor respectively with time contrast module and time memory module are electrically connected
Connect, the input terminal of the time contrast module is electrically connected with the output end of timing module, the input terminal of the timing module with across
The output end of chain processing module is electrically connected, and the output end of the input terminal and time input module of the time memory module is electrically connected
It connects.
Further, the parameter setting module includes block chain setting module, time setting module and password setting mould
Block.
Further, the first movement terminal and the second mobile terminal are the one of which in mobile phone or computer.
Further, model MSP430F673X, the MSP430F672X mixing microprocessor of the processor, it is described
The packaging pin of processor is 80 feet, and the maximum operating frequency of the processor is 25MHZ, the operating voltage model of the processor
It encloses for 1.8 to 3.6 volts.
1, across the chain transactional operation system between the different blocks chain is joined by block chain parameter memory module, block chain
Under the mating reactions of number recording module and block chain parameter input module, multiple block chains are inputted and are stored in the processor,
A block chain set is formed, corresponding block chain in processor will be stored in by block chain extraction module and extracted,
It is put into across chain processing module, then event is handled by across chain processing module, processing result is passed by output module
Second node is passed, can be completed and transfer accounts across chain, thus the problem of intercommunity between the different block chain of effective solution.
2, across the chain transactional operation system between the different blocks chain is deposited by setting identifying code generation module, identifying code
Store up module, identifying code input module and identifying code contrast module, in process of exchange, by identifying code generation module, generate with
Verifying is passed to first movement terminal and the second mobile terminal, first movement then by wireless communication module by machine identifying code
The identifying code of input is input to identifying code comparison by identifying code input module respectively by the user of terminal and the second mobile terminal
Inside modules verify identifying code by identifying code contrast module, and transaction can be completed after success, effectively raise friendship
Easy safety.
3, across the chain transactional operation system between the different blocks chain, by the way that password storage module, password authentification mould is arranged
Block, password recording module and Password Input module will be in the password typing password storage modules of setting by sealing recording module
Portion is stored in the processor by the password of setting, and operating personnel is in modification block chain parameter memory module intra block chain parameter
When, by Password Input module by Password Input password authentication module, sealing is verified, if the password of input and setting
Password it is identical, unlock block chain parameter memory module, to its inside, block chain data are modified, and pass through password storage mould
Block chain parameter memory module is played in the mating reaction of block, password authentication module, password recording module and Password Input module
Encryption effect, improves the safety of block chain parameter memory module internal data.
4, across the chain transactional operation system between the different blocks chain stores mould by setting time contrast module, time
The time of setting is stored in place by time memory module and time input module by block, timing module and time input module
Manage device in, by timing module to across chain processing module handle exchange hour record, if timing module record time with
The time of setting is identical, and the block chain in across chain processing module is returned to inside processor by block chain extraction module, meanwhile,
Transaction terminates, and prevents across chain processing module too long to the holding time of block chain.
5, across the chain transactional operation system between the different blocks chain is handled by setting transaction memory module across chain
The transaction record data of resume module are stored, and are passed through transaction memory module in the future convenient for user and are looked into transaction record
It askes.
Detailed description of the invention
Fig. 1 is schematic structural view of the invention;
Fig. 2 is parameter setting structural schematic diagram of the present invention;
Fig. 3 is wireless communication module structural schematic diagram of the present invention.
Specific embodiment
As shown in Figure 1-3, the embodiment of the present invention provides across the chain transactional operation system between a kind of different blocks chain, including
Processor, block chain parameter memory module, block chain parameter recording module, block chain parameter input module, block chain extract mould
Block, parameter setting module, across chain processing module, output module, identifying code generation module, identifying code memory module, analysis module,
Creation module, wireless communication module, identifying code input module, identifying code contrast module, first movement terminal and second are mobile eventually
End, the input terminal of processor are electrically connected with the output end of block chain parameter memory module, the model of processor
MSP430F673X, MSP430F672X mixing microprocessor, the packaging pin of processor are 80 feet, and the highest of processor works
Frequency is 25MHZ, and the operating voltage range of processor is 1.8 to 3.6 volts, and block chain parameter memory module is passed through for storing
The block chain parameter of block chain parameter recording module typing, forms a block chain set, block chain parameter memory module it is defeated
Enter end to be electrically connected with the output end of block chain parameter recording module, block chain parameter recording module is for depositing to block chain parameter
Store up module typing pass through block chain parameter input module input block chain parameter, the input terminal of block chain parameter recording module with
The output end of block chain parameter input module is electrically connected, and block chain parameter input module is for block chain parameter typing mould
Block chain parameter is inputted in block.
Processor also respectively with block chain extraction module and parameter setting module are two-way is electrically connected, block chain extraction module is
The block chain that across chain transaction needs is extracted, and block chain is exported to across chain processing module, parameter setting module packet
Block chain setting module, time setting module and password setting module are included, parameter setting module is to block chain, time and password
Set, block chain extraction module with across chain processing module is two-way is electrically connected, across chain processing module is for receiving analysis mould
It is that block analysis goes out as a result, and result is fed back into block chain extraction module, receive the block chain of block chain extraction module transmitting, it is right
Across chain transaction is handled, the also input terminal with output module and identifying code generation module respectively of the output end across chain processing module
Electrical connection, output module are to go to transaction amount for across chain processing module processing result to be passed to the second mobile terminal
In second mobile terminal, identifying code generation module is to generate random verification code, and by the verifying of generation in across chain process of exchange
Code feeds back to identifying code memory module and wireless communication module respectively, and the output end and identifying code of identifying code generation module store mould
The input terminal of block is electrically connected, identifying code memory module be for storing the identifying code generated at random, identifying code memory module it is defeated
Outlet is electrically connected with the input terminal of processor, and the input terminal across chain processing module is electrically connected with the output end of analysis module, analysis
Module is block chain required for analyzing completion event, and analysis result is passed in across chain processing module, analysis module
Input terminal be electrically connected with the output end of creation module, creation module be receive first movement terminal issue transaction request, and
Generate corresponding event, event fed back into across chain processing module, the output end of wireless communication module respectively with creation module
It is electrically connected with the input terminal of identifying code input module, identifying code input module is for mobile by first movement terminal and second
Terminal inputs identifying code into identifying code contrast module, and the input terminal of wireless communication module is raw with output module and identifying code respectively
It is electrically connected at the output end of module, the output end of identifying code input module is electrically connected with the input terminal of identifying code contrast module, tests
The output end of card code contrast module is electrically connected with the input endpoint of processor, and identifying code contrast module is for receiving first movement
The identifying code of terminal and the input of the second mobile terminal, and the identifying code that identifying code generation module generates is compared, wireless telecommunications
Module is also connect with first movement terminal and the second mobile terminal two-way signaling respectively, wireless communication module mass 3G module, 4G
Module and WIFI module, wireless communication module are to realize first movement terminal and the second mobile terminal with across chain operation is somebody's turn to do and be
Wireless signal connection between system.
The input terminal of processor further includes time contrast module, time memory module, timing module and time input module,
The input terminal of processor is electrically connected with the output end of time contrast module and time memory module respectively, and time contrast module is pair
The time of timing module record is compared with the time set in time memory module, and comparison result is fed back to processing
Device, time memory module are stored to the time data inputted by time input module, the input of time contrast module
End is electrically connected with the output end of timing module, and the input terminal of timing module is electrically connected with the output end across chain processing module, timing
Module is to give time contrast module to the trading processing time, and by the time feedbacking of record for recording across chain processing module, when
Between the input terminal of memory module be electrically connected with the output end of time input module, time input module is for storing mould to the time
Block input time data, the output end across chain processing module include transaction memory module, the input terminal for memory module of trading with across
The output end of chain processing module is electrically connected, transaction memory module with wireless communication module is two-way is electrically connected, memory module of trading is
The transaction record data of across chain processing module processing are stored, passes through transaction memory module in the future convenient for user and transaction is remembered
Record is inquired, and the input terminal of processor further includes that password storage module, password authentication module, password recording module and password are defeated
Enter module, the input terminal of processor is electrically connected with the output end of password storage module and password authentication module respectively, password storage
Module is for the password of storage system maintenance personnel setting, and password authentication module is inputted for receiving Password Input module
Password, and be compared with the password of setting, the input terminal of password storage module is electrically connected with the output end of password recording module,
Password recording module is the output end of Password Input module in the password typing password storage module for inputting Password Input module
Respectively with the input terminal of password authentication module and password recording module be electrically connected, Password Input module is for password typing
Module and Password Input module input password.
The foundation of block chain set is joined by block chain parameter memory module, block chain parameter recording module and block chain
Under the mating reaction of number input module, multiple block chains are inputted and are stored in the processor, a block chain set is formed, it is close
The typing of code, by the password typing password storage inside modules of setting, is stored by sealing recording module by the password of setting
In the processor, the time of setting is stored in processor by time memory module and time input module by the typing of time
In.
When transaction, Transaction Information is sent to creation module, passes through creation by first movement terminal by wireless communication module
Module generates corresponding event, and event is fed back to across chain processing module, and across chain processing module will be required for processing event
Block chain information feeds back to block chain extraction module, will be stored in corresponding block in processor by block chain extraction module
Chain extracts, and is put into across chain processing module, is then handled by across chain processing module event, while processing,
By identifying code generation module, random verification code is generated, then by wireless communication module, verifying is passed into first movement end
End and the second mobile terminal, the user of first movement terminal and the second mobile terminal respectively will be defeated by identifying code input module
The identifying code entered is input to inside identifying code contrast module, is verified by identifying code contrast module to identifying code, and meter is passed through
When module to across chain processing module processing exchange hour record, if timing module record time within the set time,
Transaction continues, and can be completed after success, and trading processing result passes to second node by output module, can be completed and turns across chain
Account handles exchange hour to across chain processing module by timing module and records, if the time of timing module record and setting
Time it is identical, the block chain in across chain processing module is returned to inside processor by block chain extraction module, meanwhile, transaction
It terminates.
When modifying block chain parameter memory module intra block chain parameter, Password Input password is tested by Password Input module
It demonstrate,proves in module, sealing is verified, if the password of input is identical as the password of setting, unlock block chain parameter memory module,
To its inside, block chain data are modified.