CN110190980A - The system and method for supporting plug-in unitization access different blocks chain alliance chain network - Google Patents
The system and method for supporting plug-in unitization access different blocks chain alliance chain network Download PDFInfo
- Publication number
- CN110190980A CN110190980A CN201910281588.5A CN201910281588A CN110190980A CN 110190980 A CN110190980 A CN 110190980A CN 201910281588 A CN201910281588 A CN 201910281588A CN 110190980 A CN110190980 A CN 110190980A
- Authority
- CN
- China
- Prior art keywords
- alliance
- chain
- contract
- chain network
- information
- 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
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- 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/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of system and method for supporting plug-in unitization access different blocks chain alliance chain network, receive alliance's chain nodal information and configuration file, persistence preservation is carried out to alliance's chain nodal information and configuration file, form alliance's chain configuration information, label is arranged to alliance's chain configuration information, the label can distinguish different alliance's chain networks;The connection of alliance's chain network is carried out by alliance's chain configuration information, network environment inspection is carried out according to alliance's chain nodal information and configuration file, alliance's chain test contract is obtained, to realize the access of alliance's chain network;Generating platform contract parses the intelligent contract of different alliance's chain networks by platform contract, executes platform contract for different alliance's chain networks, obtains available alliance's chain network;Available alliance's chain network is registered as servicing, is based on service creation service call interface.The present invention is not necessarily to Configuration network environment and service, easily can obtain the service that different alliance's chain networks provide by interface.
Description
Technical field
The present invention relates to block chain technologies, and in particular, to a kind of support plug-in unitization access different blocks chain alliance link network
The system and method for network.
Background technique
Block chain is the series winding transaction record for concatenating and protecting content by cryptography, each block contains previous
The keyed hash of block, corresponding timestamp and transaction data, such design is so that block content has the spy being difficult to tamper with
Property.Two sides can be allowed effectively to note down transaction with the distributed account book that block chain is concatenated, and can permanently check this transaction.On block chain
Intelligent contract refer to and write and compile and run on a string of binary codes on block chain by the complete language of figure spirit, intelligence
The purpose of contract is to provide the safety better than traditional contracts method, and reduces other transaction costs relevant to contract.Intelligence is closed
It is approximately " the computer transactions agreement for executing agreement terms ".All users on block chain are it can be seen that the intelligence based on block chain
Energy contract, we pass through storage, read-write and some logical operations that intelligent contract realizes data on block chain.
Distributed computing technology is a kind of network-based computer processing technology, corresponding with centralization.Due to individual calculus
The performance of machine is greatly improved and its uses and is universal, and so that processing capacity is distributed to that all computers on network become can
Energy.Distributed computing is that opposed concept is calculated with centralization, and distributed computing technology is suitable for the industry relatively high to data processing
Business scene.Asynchronous task technology is divided into asynchronous and synchronous two kinds of communication interaction modes, synchronizes and refers to initiator's active of communication etc.
To or polling communication as a result, it is asynchronous refer to communication receiver be responsible for notice communication initiator's task performance, asynchronous
Business is not high suitable for real-time response demand and than relatively time-consuming operation.
Encryption technology is the main security secrecy provision that e-commerce is taken, and is most common safe and secret means, is utilized
Important data are become messy code (encryption) transmission by technological means, are restored again with identical or different means after arriving at the destination
(decryption) guarantees the safety in data transmission procedure by encryption technology.Electronic identity authentication, digital certificate are to realize both sides
Secure communication provides digital certificate.In internet, company intranet or extranets, identification is realized using digital certificate
And encrypted electronic information.It is real by the true and false for verifying identification information containing public key to the identification information of the owner in digital certificate
Now to the certification of certificate holder's identity.
Alliance's chain networks different at this stage builds that mode is different, accesses the mode disunity of network, user's access
Alliance's chain network need to be by the SDK of alliance's chain, client etc., but different alliance's chain network development languages is inconsistent, such as needs
User's problem to be processed is very cumbersome when docking one or more alliance's chain networks, such as needs with different alliance's chain networks
Different SDK is docked using different language, checks that network connection, alliance's chain network disconnection business datum can not backup to other
Alliance's chain network can not automatically switch alliance's establishing network, can not flexibly arrive selection according to the business of itself.
The prior art relevant to the application is patent document CN108416589A, discloses a kind of company of block chain node
Method, system and computer readable storage medium are connect, the method comprising the steps of: when the block of the access chain link point in alliance's chain connects
After receiving the handshake request that block chain node to be accessed is sent, it is by described accessed in block chain link point detection alliance's chain
It is no that there are the public key certificate of the block chain node to be accessed;If there are the public key certificate in alliance's chain, according to institute
It states public key certificate and detects whether the block chain node to be accessed is legitimate node;If detecting the block chain node to be accessed
For legitimate node, then block chain link point is accessed by described and has been connect with the block chain node to be accessed.
Summary of the invention
For the defects in the prior art, the object of the present invention is to provide a kind of support plug-in unitization access different blocks chain connection
The system and method for alliance's chain network.
A kind of system for supporting plug-in unitization access different blocks chain alliance chain network provided according to the present invention, comprising:
Alliance's chain network configuration module: alliance's chain nodal information and configuration file are received, to alliance's chain nodal information
Persistence preservation is carried out with configuration file, forms alliance's chain configuration information, label, the label are arranged to alliance's chain configuration information
Different alliance's chain networks can be distinguished;
Alliance's chain network connector modules: the connection of alliance's chain network is carried out by alliance's chain configuration information, according to alliance's chain
Nodal information and configuration file carry out network environment inspection, alliance's chain test contract are obtained, to realize the access of alliance's chain network;
LVM virtual machine module: generating platform contract parses the intelligent contract of different alliance's chain networks by platform contract,
Platform contract is executed for different alliance's chain networks, obtains available alliance's chain network;
Service interface provides module: available alliance's chain network being registered as servicing, is connect based on service creation service call
Mouthful.
Preferably, the system of support plug-in unitization access different blocks chain alliance chain network, further includes:
Authentication registration module: providing user's registration, user's certification, provides alliance's chain network and alliance's chain network is corresponding
Service call interface service configuration;
Security service module: encrypting information, to guarantee the security availability energy of alliance's chain network.
Preferably, the LVM virtual machine module includes:
Platform contract generation module: function, the method generation binary system byte code text that the complete language template of figure spirit is provided
Part forms platform contract by the storage of binary system byte code file to designated position after compiling;
Platform contract parsing module: platform contract is compareed with alliance's chain test contract, results of comparison is obtained, is based on
Results of comparison generates intelligent contract;
Platform contract test module: being published to different alliance's chain networks for the intelligent contract of generation automatically and test,
Receive the test execution result that alliance's chain network returns;
Virtual machine console module: LVM virtual machine console is provided with visualization window, is based on LVM virtual machine console
Platform contract is issued, is tested, the test result of platform contract is obtained.
Preferably, the authentication registration module includes:
Registration module: receiving the registration information of user, generates identity token according to registration information;
Authentication module: receiving the real-name authentication and public key of user, using public key as the component part of user's information, institute
State the update that public key participates in user's information;
Service configuration module: it by service configuration, carries out alliance's chain network and the corresponding service call of alliance's chain network connects
Mouthful.
Preferably, the security service module includes:
Information security guarantees module: the user's information uploaded to user encrypts, to guarantee to only have user's energy
Enough decryption;
Information integrity inspection module: the user's information uploaded to user is endorsed using contract function;
The connection of alliance's chain network guarantees module: when to alliance's chain network communication disruption, starting Auto-reconnect, to guarantee alliance
Chain is available.
A kind of method for supporting plug-in unitization access different blocks chain alliance chain network provided according to the present invention, comprising:
Alliance's chain network configuration step: alliance's chain nodal information and configuration file are received, to alliance's chain nodal information
Persistence preservation is carried out with configuration file, forms alliance's chain configuration information, label, the label are arranged to alliance's chain configuration information
Different alliance's chain networks can be distinguished;
Alliance's chain network connector step: the connection of alliance's chain network is carried out by alliance's chain configuration information, according to alliance's chain
Nodal information and configuration file carry out network environment inspection, alliance's chain test contract are obtained, to realize the access of alliance's chain network;
LVM virtual machine step: generating platform contract parses the intelligent contract of different alliance's chain networks by platform contract,
Platform contract is executed for different alliance's chain networks, obtains available alliance's chain network;
Service interface provides step: available alliance's chain network being registered as servicing, is connect based on service creation service call
Mouthful.
Preferably, the method for support plug-in unitization access different blocks chain alliance chain network, further includes:
Authentication registration step: providing user's registration, user's certification, provides alliance's chain network and alliance's chain network is corresponding
Service call interface service configuration;
Security service step: encrypting information, to guarantee the security availability energy of alliance's chain network.
Preferably, the LVM virtual machine step includes:
Platform contract generation step: function, the method generation binary system byte code text that the complete language template of figure spirit is provided
Part forms platform contract by the storage of binary system byte code file to designated position after compiling;
Platform contract analyzing step: platform contract is compareed with alliance's chain test contract, results of comparison is obtained, is based on
Results of comparison generates intelligent contract;
Platform contract testing procedure: being published to different alliance's chain networks for the intelligent contract of generation automatically and test,
Receive the test execution result that alliance's chain network returns;
Virtual machine console step: LVM virtual machine console is provided with visualization window, is based on LVM virtual machine console
Platform contract is issued, is tested, the test result of platform contract is obtained.
Preferably, the authentication registration step includes:
Registration step: receiving the registration information of user, generates identity token according to registration information;
Authenticating step: receiving the real-name authentication and public key of user, using public key as the component part of user's information, institute
State the update that public key participates in user's information;
Service configuration step: it by service configuration, carries out alliance's chain network and the corresponding service call of alliance's chain network connects
Mouthful.
Preferably, the security service step includes:
Information security guarantees step: the user's information uploaded to user encrypts, to guarantee to only have user's energy
Enough decryption;
Information integrity checking procedure: the user's information uploaded to user is endorsed using contract function;
The connection of alliance's chain network guarantees step: when to alliance's chain network communication disruption, starting Auto-reconnect, to guarantee alliance
Chain is available.
Compared with prior art, the present invention have it is following the utility model has the advantages that
The operation that user accesses alliance's chain network is encapsulated as modular services by the present invention, and to the service call of alliance's chain
Side is invisible, and alliance's chain service only needs register account number in systems and chooses different alliance's chain network and connection according to self-demand
The service that alliance's chain network provides is not necessarily to Configuration network environment and service, different alliance's link networks can easily be just obtained by interface
The service that network provides.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon:
Fig. 1 is system overall architecture schematic diagram of the invention;
Fig. 2 is the system flow schematic diagram that alliance is linked into block chain alliance chain network;
Fig. 3 is LVM virtual machine intelligence contract product process schematic diagram;
Fig. 4 is system user registration flow diagram of the invention.
Specific embodiment
The present invention is described in detail combined with specific embodiments below.Following embodiment will be helpful to the technology of this field
Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field
For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention
Protection scope.
The purpose of the invention is to provide a kind of system for supporting plug-in unitization access different blocks chain alliance chain network, by
It builds that mode is different in different alliance's chain networks, accesses the mode disunity of network, user accesses different alliance's chains
Network need to call the SDK of different alliance's chains, and client checks that network connection, alliance's chain network disconnect business datum and can not back up
To other alliance's chain networks, alliance's establishing network can not be automatically switched, the present invention takes the modularization that aforesaid operations are packaged into system
Business, and it is invisible to the service call side of alliance's chain, and the service of alliance's chain only needs register account number in systems and according to self-demand
The service that different alliance's chain network and alliance's chain network provide is chosen, Configuration network environment and service is not necessarily to, just can easily
The service that different alliance's chain networks provide is obtained by interface.
A kind of system for supporting plug-in unitization access different blocks chain alliance chain network provided according to the present invention, comprising:
Alliance's chain network configuration module: alliance's chain nodal information and configuration file are received, to alliance's chain nodal information
Persistence preservation is carried out with configuration file, forms alliance's chain configuration information, label, the label are arranged to alliance's chain configuration information
Different alliance's chain networks can be distinguished;Wherein alliance's chain configuration information library is alliance's chain nodal information and configuration file
It is standby can to carry out full node communication, network configuration disaster tolerance by alliance's chain configuration information library to corresponding alliance's chain for set
Part, distributed communication;Alliance's chain nodal information and configuration file refer to the configuration information of single alliance's linking point, pass through the information
It can be communicated with alliance's chain node.
Alliance's chain network connector modules: the connection of alliance's chain network is carried out by alliance's chain configuration information, according to alliance's chain
Nodal information and configuration file carry out network environment inspection, alliance's chain test contract are obtained, to realize the access of alliance's chain network;
LVM virtual machine module: generating platform contract parses the intelligent contract of different alliance's chain networks by platform contract,
Platform contract is executed for different alliance's chain networks, obtains available alliance's chain network;
Service interface provides module: available alliance's chain network being registered as servicing, is connect based on service creation service call
Mouthful.
Specifically, the system of support plug-in unitization access different blocks chain alliance chain network, further includes:
Authentication registration module: providing user's registration, user's certification, provides alliance's chain network and alliance's chain network is corresponding
Service call interface service configuration;
Security service module: encrypting information, to guarantee the security availability energy of alliance's chain network.
Specifically, the LVM virtual machine module includes:
Platform contract generation module: function, the method generation binary system byte code text that the complete language template of figure spirit is provided
Part forms platform contract by the storage of binary system byte code file to designated position after compiling;
Platform contract parsing module: platform contract is compareed with alliance's chain test contract, results of comparison is obtained, is based on
Results of comparison generates intelligent contract;Wherein alliance's chain test contract refers to the intelligent contract for being docked to alliance's chain of the system, should
Intelligent contract is alliance's chain oneself generation for being docked to the system.
Platform contract test module: being published to different alliance's chain networks for the intelligent contract of generation automatically and test,
Receive the test execution result that alliance's chain network returns;
Virtual machine console module: LVM virtual machine console is provided with visualization window, is based on LVM virtual machine console
Platform contract is issued, is tested, the test result of platform contract is obtained.
Specifically, the authentication registration module includes:
Registration module: receiving the registration information of user, generates identity token according to registration information;
Authentication module: receiving the real-name authentication and public key of user, using public key as the component part of user's information, institute
State the update that public key participates in user's information;
Service configuration module: it by service configuration, carries out alliance's chain network and the corresponding service call of alliance's chain network connects
Mouthful.
Specifically, the security service module includes:
Information security guarantees module: the user's information uploaded to user encrypts, to guarantee to only have user's energy
Enough decryption;
Information integrity inspection module: the user's information uploaded to user is endorsed using contract function;
The connection of alliance's chain network guarantees module: when to alliance's chain network communication disruption, starting Auto-reconnect, to guarantee alliance
Chain is available.
A kind of method for supporting plug-in unitization access different blocks chain alliance chain network provided according to the present invention, comprising:
Alliance's chain network configuration step: alliance's chain nodal information and configuration file are received, to alliance's chain nodal information
Persistence preservation is carried out with configuration file, forms alliance's chain configuration information, label, the label are arranged to alliance's chain configuration information
Different alliance's chain networks can be distinguished;
Alliance's chain network connector step: the connection of alliance's chain network is carried out by alliance's chain configuration information, according to alliance's chain
Nodal information and configuration file carry out network environment inspection, alliance's chain test contract are obtained, to realize the access of alliance's chain network;
LVM virtual machine step: generating platform contract parses the intelligent contract of different alliance's chain networks by platform contract,
Platform contract is executed for different alliance's chain networks, obtains available alliance's chain network;
Service interface provides step: available alliance's chain network being registered as servicing, is connect based on service creation service call
Mouthful.
Specifically, the method for support plug-in unitization access different blocks chain alliance chain network, further includes:
Authentication registration step: providing user's registration, user's certification, provides alliance's chain network and alliance's chain network is corresponding
Service call interface service configuration;
Security service step: encrypting information, to guarantee the security availability energy of alliance's chain network.
Specifically, the LVM virtual machine step includes:
Platform contract generation step: function, the method generation binary system byte code text that the complete language template of figure spirit is provided
Part forms platform contract by the storage of binary system byte code file to designated position after compiling;
Platform contract analyzing step: platform contract is compareed with alliance's chain test contract, results of comparison is obtained, is based on
Results of comparison generates intelligent contract;
Platform contract testing procedure: being published to different alliance's chain networks for the intelligent contract of generation automatically and test,
Receive the test execution result that alliance's chain network returns;
Virtual machine console step: LVM virtual machine console is provided with visualization window, is based on LVM virtual machine console
Platform contract is issued, is tested, the test result of platform contract is obtained.
Specifically, the authentication registration step includes:
Registration step: receiving the registration information of user, generates identity token according to registration information;
Authenticating step: receiving the real-name authentication and public key of user, using public key as the component part of user's information, institute
State the update that public key participates in user's information;
Service configuration step: it by service configuration, carries out alliance's chain network and the corresponding service call of alliance's chain network connects
Mouthful.
Specifically, the security service step includes:
Information security guarantees step: the user's information uploaded to user encrypts, to guarantee to only have user's energy
Enough decryption;
Information integrity checking procedure: the user's information uploaded to user is endorsed using contract function;
The connection of alliance's chain network guarantees step: when to alliance's chain network communication disruption, starting Auto-reconnect, to guarantee alliance
Chain is available.
The system provided by the invention for supporting plug-in unitization access different blocks chain alliance chain network, can be by supporting plug-in unit
The step process for changing the method for access different blocks chain alliance chain network is realized.Those skilled in the art can will support plug-in unit
The method of access different blocks chain alliance chain network is interpreted as the support plug-in unitization access different blocks chain alliance chain network
The preference of system.
As shown in Figure 1, a kind of system for supporting plug-in unitization access different blocks chain alliance chain network, including service interface mention
For module, LVM virtual machine module, alliance's chain network connector, alliance's chain network configuration module, security service module, therefore structure
The process for building the system of plug-in unitization access different blocks chain alliance chain network is also successively to construct the mistake of these modules from top to bottom
Journey.Wherein, alliance's chain network configuration module includes alliance's chain configuration information typing, alliance's chain configuration information persistence, alliance's chain
Network conf iotag module saves it in database and persistence by the corresponding nodal information of typing alliance chain and configuration file, holds
The alliance's chain configuration changed long carries out that different alliance's chain network configurations is isolated by label.
As shown in Fig. 2, nodal information and configuration of alliance's chain network connector using the offer of alliance's chain network configuration module
File and then automatic progress network environment inspection, network connection, which retries, integrates different alliance's chain networks, completely certainly access process
Dynamicization.Alliance's chain network connector includes the docking of alliance's chain network, the monitoring of alliance's chain network, alliance's chain network Auto-reconnect, is led to
The configuration information for crossing alliance's chain configuration information typing docks different alliance's chain networks, monitors after docking successfully alliance's chain network
It is monitored, if network disconnection will reconnect automatically, the test contract Test Network of corresponding alliance chain network after successful connection
Whether network is unobstructed, calls test by the network configuration information of successful connection, test contract persistent storage to database;Alliance's chain
The nodal information and configuration file that network connector is provided using alliance's chain network configuration module are then automatic to carry out network environment
It checks, network connection, which retries, integrates different alliance's chain networks, and access process is fully automated.
After completing above-mentioned operation, LVM virtual machine module can parse different alliance's platform chains by platform contract
Intelligent contract and executed on different alliance's chains, the platform contract is a kind of unified format write using appointed language
Code.As shown in figure 3, LVM virtual machine module includes platform contract generator, platform contract resolver, the test of platform contract
Module, four part of LVM virtual machine console composition, wherein platform contract generator includes template instruction, generator, storage mould
Block illustrates document, and function that the complete language template of figure spirit provides, method generate binary system byte code file by generator, by
The storage of binary system byte code file is generated to disk designated position, while template instruction will be put down by illustrating that document is illustrated
Platform contract generator is one section of code compilation Cheng Erjin for writing a kind of language (platform contract) of formulation according to format is formulated
File processed;Platform contract resolver is made of intelligent contract adapter, intelligent contract generator two parts, intelligent contract adapter
Obtain disk designated position platform contract simultaneously obtain alliance's chain network connector persistence alliance's chain test contract
And by platform contract with the test contract control of alliance's chain, and results of comparison is generated, the control that intelligent contract generator passes through generation
As a result the development language characteristic of alliance's chain related to needs generates intelligent contract, and platform contract resolver will be put down by business rule
Platform contract is converted into the intelligent contract for the one or more of alliance's platform chains formulated, and is tested by platform contract test module flat
Platform contract can the even running on corresponding alliance's chain;The intelligent contract of generation is published to not by platform contract test module automatically
Same alliance's chain network is tested, and the executive condition of corresponding alliance's platform chain simultaneously returns to platform resolver, returns the result
Return to LVM virtual machine console with corresponding description, by platform contract test module can test platform contract corresponding
The executive condition of alliance's platform chain simultaneously returns to platform resolver, by platform contract test module by available alliance's chain dynamic
It is recorded in corresponding configuration file;By platform contract test module by available alliance's chain dynamically recording in corresponding configuration file
In;LVM virtual machine console is the visual window write by language-specific, and user inputs in LVM virtual machine console
Instruction needs to input according to the function and format provided, and LVM virtual machine console obtains corresponding user instruction and can carry out
Respective operations can be issued, test platform contract by LVM virtual machine console, and return to the test case of platform contract, check
LVM calls situation.
It includes that service discovery, service configuration are brought together, service provides, and service discovery passes through poll that service interface, which provides module,
Available alliance's chain network is registered different services and recorded by the information in configuration file that LVM virtual machine has been successfully tested
In service discovery list, service configuration, which is brought together, will acquire the selected alliance's chain network of user in existing service discovery list
Alliance's chain matched (on condition that the selected alliance's chain network of user need to exist in service discovery list) will match at
The Network records of function are brining list together, and service, which provides will acquire, brings list information generation service call interface together, and service interface mentions
For module by obtaining different alliance's chain networks pair in the form of service registration to 3 (LVM virtual machine module) module dynamic configurations
Outer to provide unified platform calling interface, corresponding service is managed configuration by accessing configurationization module.Service interface mentions
For module by the module dynamic configuration to LVM virtual machine module, different alliance's chain networks pair are obtained in the form of service registration
Outer to provide unified platform calling interface, corresponding service is managed configuration by accessing configurationization module.
As shown in figure 4, user's registration, certification, service configuration module, need to carry out in system before the service using system
After user's registration, certification and service to be offered needed for selecting corresponding alliance's chain network and alliance's chain network, comprising: user
Registration module provides user and uploads self information, and unique identity will be generated for user after upload information by platform contract and enable
Board;User authentication module provides user and carries out real-name authentication, uploads public key, and private key user saves, and public key will be used as user information
Component part by platform contract update user information;Service configuration module provide user complete user's registration, certification
Can be chosen according to their own situation alliance's chain network and alliance's chain network after step needs service to be offered.
Security service module include: user information safety guarantee module, to user upload information will by private key encryption,
Only user itself can decrypt;User information integrity check module will use the information that user uploads the letter of user's contract
Number is endorsed;The connection of alliance's chain network guarantees module, when alliance's chain network communication disruption of user's selection will start automatic weight
Even mechanism, can not such as connect always will be switched to backup network, guarantee alliance's chain availability.
One skilled in the art will appreciate that in addition to realizing system provided by the invention in a manner of pure computer readable program code
It, completely can be by the way that method and step be carried out programming in logic come so that provided by the invention other than system, device and its modules
System, device and its modules are declined with logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion
The form of controller etc. realizes identical program.So system provided by the invention, device and its modules may be considered that
It is a kind of hardware component, and the knot that the module for realizing various programs for including in it can also be considered as in hardware component
Structure;It can also will be considered as realizing the module of various functions either the software program of implementation method can be Hardware Subdivision again
Structure in part.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned
Particular implementation, those skilled in the art can make a variety of changes or modify within the scope of the claims, this not shadow
Ring substantive content of the invention.In the absence of conflict, the feature in embodiments herein and embodiment can any phase
Mutually combination.
Claims (10)
1. a kind of system for supporting plug-in unitization access different blocks chain alliance chain network characterized by comprising
Alliance's chain network configuration module: receiving alliance's chain nodal information and configuration file, to alliance's chain link point information and configuration text
Part carries out persistence preservation, forms alliance's chain configuration information library, to alliance's chain configuration information lab setting label, the label can
Different alliance's chain networks is distinguished;
Alliance's chain network connector modules: the connection of alliance's chain network is carried out by alliance's chain configuration information, according to alliance's chain node
Information and configuration file carry out network environment inspection, alliance's chain test contract are obtained, to realize the access of alliance's chain network;
LVM virtual machine module: generating platform contract parses the intelligent contract of different alliance's chain networks by platform contract, for
Different alliance's chain networks executes platform contract, obtains available alliance's chain network;
Service interface provides module: available alliance's chain network being registered as servicing, is based on service creation service call interface.
2. the system according to claim 1 for supporting plug-in unitization access different blocks chain alliance chain network, which is characterized in that
Further include:
Authentication registration module: user's registration, user's certification are provided, alliance's chain network and the corresponding clothes of alliance's chain network are provided
The service configuration of business calling interface;
Security service module: encrypting information, to guarantee the security availability energy of alliance's chain network.
3. the system according to claim 1 for supporting plug-in unitization access different blocks chain alliance chain network, which is characterized in that
The LVM virtual machine module includes:
Platform contract generation module: function, the method generation binary system byte code file that the complete language template of figure spirit is provided, it will
The storage of binary system byte code file forms platform contract to designated position after compiling;
Platform contract parsing module: platform contract is compareed with alliance's chain test contract, results of comparison is obtained, based on control
As a result intelligent contract is generated;
Platform contract test module: being published to different alliance's chain networks for the intelligent contract of generation automatically and test, and receives
The test execution result that alliance's chain network returns;
Virtual machine console module: LVM virtual machine console is provided with visualization window, based on LVM virtual machine console to flat
Platform contract is issued, is tested, and the test result of platform contract is obtained.
4. the system according to claim 2 for supporting plug-in unitization access different blocks chain alliance chain network, which is characterized in that
The authentication registration module includes:
Registration module: receiving the registration information of user, generates identity token according to registration information;
Authentication module: receiving the real-name authentication and public key of user, using public key as the component part of user's information, the public affairs
The update of key participation user's information;
Service configuration module: by service configuration, alliance's chain network and the corresponding service call interface of alliance's chain network are carried out.
5. the system according to claim 2 for supporting plug-in unitization access different blocks chain alliance chain network, which is characterized in that
The security service module includes:
Information security guarantees module: the user's information uploaded to user encrypts, and can be solved with guaranteeing to only have user
It is close;
Information integrity inspection module: the user's information uploaded to user is endorsed using contract function;
The connection of alliance's chain network guarantees module: when to alliance's chain network communication disruption, starting Auto-reconnect, to guarantee that alliance's chain can
With.
6. a kind of method for supporting plug-in unitization access different blocks chain alliance chain network characterized by comprising
Alliance's chain network configuration step: alliance's chain nodal information and configuration file are received, to alliance's chain nodal information and is matched
It sets file and carries out persistence preservation, form alliance's chain configuration information, label is arranged to alliance's chain configuration information, the label can
Different alliance's chain networks is distinguished;
Alliance's chain network connector step: the connection of alliance's chain network is carried out by alliance's chain configuration information, according to alliance's chain node
Information and configuration file carry out network environment inspection, alliance's chain test contract are obtained, to realize the access of alliance's chain network;
LVM virtual machine step: generating platform contract parses the intelligent contract of different alliance's chain networks by platform contract, for
Different alliance's chain networks executes platform contract, obtains available alliance's chain network;
Service interface provides step: available alliance's chain network being registered as servicing, is based on service creation service call interface.
7. the method according to claim 6 for supporting plug-in unitization access different blocks chain alliance chain network, which is characterized in that
Further include:
Authentication registration step: user's registration, user's certification are provided, alliance's chain network and the corresponding clothes of alliance's chain network are provided
The service configuration of business calling interface;
Security service step: encrypting information, to guarantee the security availability energy of alliance's chain network.
8. the method according to claim 6 for supporting plug-in unitization access different blocks chain alliance chain network, which is characterized in that
The LVM virtual machine step includes:
Platform contract generation step: function, the method generation binary system byte code file that the complete language template of figure spirit is provided, it will
The storage of binary system byte code file forms platform contract to designated position after compiling;
Platform contract analyzing step: platform contract is compareed with alliance's chain test contract, results of comparison is obtained, based on control
As a result intelligent contract is generated;
Platform contract testing procedure: being published to different alliance's chain networks for the intelligent contract of generation automatically and test, and receives
The test execution result that alliance's chain network returns;
Virtual machine console step: LVM virtual machine console is provided with visualization window, based on LVM virtual machine console to flat
Platform contract is issued, is tested, and the test result of platform contract is obtained.
9. the method according to claim 7 for supporting plug-in unitization access different blocks chain alliance chain network, which is characterized in that
The authentication registration step includes:
Registration step: receiving the registration information of user, generates identity token according to registration information;
Authenticating step: receiving the real-name authentication and public key of user, using public key as the component part of user's information, the public affairs
The update of key participation user's information;
Service configuration step: by service configuration, alliance's chain network and the corresponding service call interface of alliance's chain network are carried out.
10. the method according to claim 7 for supporting plug-in unitization access different blocks chain alliance chain network, feature exist
In the security service step includes:
Information security guarantees step: the user's information uploaded to user encrypts, and can be solved with guaranteeing to only have user
It is close;
Information integrity checking procedure: the user's information uploaded to user is endorsed using contract function;
The connection of alliance's chain network guarantees step: when to alliance's chain network communication disruption, starting Auto-reconnect, to guarantee that alliance's chain can
With.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910281588.5A CN110190980B (en) | 2019-04-09 | 2019-04-09 | System and method for supporting plug-in access to different blockchain alliance chain networks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910281588.5A CN110190980B (en) | 2019-04-09 | 2019-04-09 | System and method for supporting plug-in access to different blockchain alliance chain networks |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110190980A true CN110190980A (en) | 2019-08-30 |
CN110190980B CN110190980B (en) | 2022-07-12 |
Family
ID=67713795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910281588.5A Active CN110190980B (en) | 2019-04-09 | 2019-04-09 | System and method for supporting plug-in access to different blockchain alliance chain networks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110190980B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112383604A (en) * | 2020-11-06 | 2021-02-19 | 中国石油大学(华东) | Military application system based on block chain |
CN113542033A (en) * | 2021-07-21 | 2021-10-22 | 杭州云象网络技术有限公司 | Many-to-many mapping method and system for alliance chain infrastructure and management platform |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020007283A1 (en) * | 2000-07-11 | 2002-01-17 | Anelli Albert M. | Employee dispute resolution via a network |
CN106651303A (en) * | 2016-12-02 | 2017-05-10 | 北京轻信科技有限公司 | Intelligent contract processing method and system based on templates |
CN106897933A (en) * | 2017-04-18 | 2017-06-27 | 杜伯仁 | A kind of block chain network node serve device towards multi-tiling platform chain |
CN107147704A (en) * | 2017-04-21 | 2017-09-08 | 杭州趣链科技有限公司 | A kind of generic service middleware system towards block chain |
US20180129956A1 (en) * | 2016-11-09 | 2018-05-10 | Cognitive Scale, Inc. | Method for Using Hybrid Blockchain Data Architecture Within a Cognitive Environment |
CN109286632A (en) * | 2018-10-25 | 2019-01-29 | 中国信息通信研究院 | Card method and system is deposited in a kind of big data authorization based on block chain |
-
2019
- 2019-04-09 CN CN201910281588.5A patent/CN110190980B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020007283A1 (en) * | 2000-07-11 | 2002-01-17 | Anelli Albert M. | Employee dispute resolution via a network |
US20180129956A1 (en) * | 2016-11-09 | 2018-05-10 | Cognitive Scale, Inc. | Method for Using Hybrid Blockchain Data Architecture Within a Cognitive Environment |
CN106651303A (en) * | 2016-12-02 | 2017-05-10 | 北京轻信科技有限公司 | Intelligent contract processing method and system based on templates |
CN106897933A (en) * | 2017-04-18 | 2017-06-27 | 杜伯仁 | A kind of block chain network node serve device towards multi-tiling platform chain |
CN107147704A (en) * | 2017-04-21 | 2017-09-08 | 杭州趣链科技有限公司 | A kind of generic service middleware system towards block chain |
CN109286632A (en) * | 2018-10-25 | 2019-01-29 | 中国信息通信研究院 | Card method and system is deposited in a kind of big data authorization based on block chain |
Non-Patent Citations (2)
Title |
---|
CHANG CHEN,XINGPING SUN: "Bonus Points Alliance Based on the Block Chain", 《2018 14TH INTERNATIONAL CONFERENCE ON SEMANTICS,KNOWLEDGE AND GRIDS》 * |
刘宗林: "基于区块链的共享分布式储能交易模式研究", 《中国硕士学位论文数据库》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112383604A (en) * | 2020-11-06 | 2021-02-19 | 中国石油大学(华东) | Military application system based on block chain |
CN113542033A (en) * | 2021-07-21 | 2021-10-22 | 杭州云象网络技术有限公司 | Many-to-many mapping method and system for alliance chain infrastructure and management platform |
CN113542033B (en) * | 2021-07-21 | 2024-02-27 | 杭州云象网络技术有限公司 | Many-to-many mapping method and system for alliance chain foundation establishment and management platform |
Also Published As
Publication number | Publication date |
---|---|
CN110190980B (en) | 2022-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361517B (en) | Virtualized cloud password machine system based on cloud computing and implementation method thereof | |
WO2022001418A1 (en) | Data processing method and apparatus, and computer program and storage medium | |
CN111552676A (en) | Block chain based evidence storing method, device, equipment and medium | |
IL296952A (en) | Nuts: flexible hierarchy object graphs | |
CN108377272B (en) | Method and system for managing terminal of Internet of things | |
CN104506487B (en) | The credible execution method of privacy policy under cloud environment | |
Longley et al. | Data And Computer Security: A Dictionary Of Terms And Concepts | |
CN111131416A (en) | Business service providing method and device, storage medium and electronic device | |
CN112468571B (en) | Intranet and extranet data synchronization method and device, electronic equipment and storage medium | |
CN113221165B (en) | User element authentication method and device based on block chain | |
CN110190980A (en) | The system and method for supporting plug-in unitization access different blocks chain alliance chain network | |
Durante et al. | CVS: A compiler for the analysis of cryptographic protocols | |
Sehgal et al. | Cloud computing with security and scalability | |
CN112511515B (en) | Chain number cube for data chaining | |
CN110278092A (en) | Router long-range control method and system based on MQTT agreement | |
CN103885725A (en) | Virtual machine access control system and method based on cloud computing environment | |
CN103152216B (en) | The method of testing of system and device in a kind of the Internet | |
CN106161501A (en) | The data sharing method of virtual desktop and device | |
CN115659346A (en) | Function testing method and device for multi-party secure computing platform | |
CN103873245A (en) | Virtual machine system data encryption method and apparatus | |
CN114020678B (en) | Server serial console redirection method, device and system and electronic equipment | |
CN115208630A (en) | Block chain based data acquisition method and system and block chain system | |
Zhao et al. | A digital twin framework for cyber security in cyber-physical systems | |
CN113407931A (en) | Password management method and device and input terminal | |
Lichota et al. | Verifying the correctness of cryptographic protocols using" Convince" |
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 | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Xiao Jiang Inventor after: Bao Wenchao Inventor after: Xu Yijian Inventor before: Bao Wenchao Inventor before: Xiao Jiang Inventor before: Xu Yijian |
|
GR01 | Patent grant | ||
GR01 | Patent grant |