CN110213266A - A kind of information processing method and electronic equipment of the block chain across chain - Google Patents
A kind of information processing method and electronic equipment of the block chain across chain Download PDFInfo
- Publication number
- CN110213266A CN110213266A CN201910471172.XA CN201910471172A CN110213266A CN 110213266 A CN110213266 A CN 110213266A CN 201910471172 A CN201910471172 A CN 201910471172A CN 110213266 A CN110213266 A CN 110213266A
- Authority
- CN
- China
- Prior art keywords
- block chain
- access
- chain
- target block
- target
- 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
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Abstract
Information processing method and electronic equipment this application discloses a kind of block chain across chain, this method comprises: the access request that will acquire is stored to the first block chain, so that the first block chain is according to access request, determine that access request requires at least one the target block chain accessed in multiple external block chains of its connection, and obtain the characteristic information of target block chain, wherein, the first block chain and external block chain collectively form the data structure based on block chain;The access mode information of at least one target block chain is obtained according to the characteristic information of target block chain;Based on access mode information, the first block chain is set to access operation target block chain, to respond access request, management of the first block chain to external block chain is realized, wherein access operation includes that the information processing of transregional piece of chain is carried out between multiple target block chains.This method may be implemented to be managed external block chain by the first block chain, the management including carrying out transregional piece of chain, and way to manage is simple and effective.
Description
Technical field
This application involves block chain field, in particular to a kind of information processing method and electronic equipment of the block chain across chain.
Background technique
It is increasingly taken seriously currently as the block chain technology of emerging technology, point of data may be implemented in block chain technology
Cloth reliable memory.As block chain scene is landed, the fast development of block chain technology, block chain will not be that single chain is deposited
It will more and more include the case where a plurality of block chain of processing, i.e., so-called across chain problem in, business.But at present processing across
There is no practical ways for chain problem, for example, some be by setting up specific module between two chains or multiple chains,
And the access etc. across chain is realized using the module.But the structure that these modes often will cause entire block chain is chaotic, it cannot
Data processing is carried out with unified approach, cannot especially carry out being handled for multichain with unified approach, poor processing effect.
Summary of the invention
The embodiment of the present application is designed to provide a kind of information processing method and electronic equipment of the block chain across chain, the party
Method can carry out the information processing between transregional piece of chain to multiple block chains, and processing mode is simple and effective.
In order to solve the above-mentioned technical problem, embodiments herein adopts the technical scheme that a kind of block chain across chain
Information processing method, comprising:
The access request that will acquire is stored to the first block chain, so that the first block chain is according to the access request,
It determines that access request described in multiple external block chains of its connection requires at least one target block chain of access, and obtains institute
State the characteristic information of target block chain, wherein the first block chain and the outside with Distributed Storage function
Block chain collectively forms the data structure based on block chain;
The access mode information of at least one target block chain is obtained according to the characteristic information of the target block chain;
Based on the access mode information, the first block chain is made to access operation the target block chain, with
The access request is responded, management of the first block chain to the external block chain is realized, wherein the access operation packet
Include the information processing that transregional piece of chain is carried out between multiple target block chains.
Preferably, the first block chain passes through access unit and the external block chain link, the access unit
In prestore the characteristic information of the corresponding external block chain.
Preferably, the characteristic information according to the target block chain obtains at least one described target block chain
Access mode information include: the target block chain by being preset in the access unit characteristic information, obtain institute
The access authority of target block chain is stated, and obtains the access mode information;
Correspondingly, the method also includes the feature of the target block chain by being preset in access unit letters
Breath, obtains at least one following data of the target block chain: interface message and application programming interface.
Preferably, the first communication protocol is preset in the first block chain, it is described to be believed based on the access mode
Breath, makes the first block chain include: to the target block chain operation that accesses
Based on first communication protocol, the first block chain is made to carry out transregional piece of chain to multiple target block chains
First operation that is mutually related, wherein it is described first operation comprise at least one of the following: the data simultaneously operating of transregional piece of chain,
Data preparation operation and the operation to local cache.
Preferably, the first block chain link has corresponding operation system, the method also includes:
Based on first interface, the read operation and/or write operation that the operation system carries out the first block chain are responded,
Wherein first interface is to be arranged between the operation system and the first block chain to be only used for read operation and/or write operation
Interface.
Preferably, the method also includes:
The access result formed based on the access operation is sent to the operation system by the first block chain, or
Person,
The data path between the operation system and the target block chain is established by the first block chain, so that
The operation system accesses to the target block chain.
Preferably, the method also includes:
By the first block chain, the access request and the access request obtained from the operation system is recorded
Corresponding access result.
The embodiment of the present application also provides a kind of electronic equipment, comprising:
Communication module, the access request for being configured to will acquire are stored to the first block chain, so that the first block chain
According to the access request, determine that access request described in multiple external block chains of its connection requires at least one mesh of access
Block chain is marked, and obtains the characteristic information of the target block chain, wherein described first with Distributed Storage function
Block chain and the external block chain collectively form the data structure based on block chain;
Module is obtained, is configured to obtain at least one described target block according to the characteristic information of the target block chain
The access mode information of chain;
Access modules are configured to the access mode information, make the first block chain to the target block
Chain accesses operation, to respond the access request, realizes management of the first block chain to the external block chain,
Described in access operation include that the information processing of transregional piece of chain is carried out between multiple target block chains.
Preferably, the first block chain passes through access unit and the external block chain link, the access unit
In prestore the characteristic information of the corresponding external block chain.
Preferably, the acquisition module is further configured to:
Characteristic information by the target block chain being preset in the access unit, obtains the target block chain
Access authority, and obtain the access mode information;
Correspondingly, the acquisition module is additionally configured to obtain at least one following data of the target block chain: interface
Information and application programming interface.
The beneficial effect of the embodiment of the present application is: the information processing method of the embodiment of the present application may be implemented by being all
First block chain of block chain is managed the external block chain being connected thereto, be included between multiple target block chains into
The management of transregional piece of chain of row, since connection structure simply makes the way to manage simple and effective.
Detailed description of the invention
Fig. 1 is the block chain of the embodiment of the present application across the flow chart of the information processing method of chain;
Fig. 2 is the first block chain of the embodiment of the present application and the system architecture schematic diagram of external block chain;
Fig. 3 is the structural schematic diagram of the electronic equipment of the embodiment of the present application.
Specific embodiment
The various schemes and feature of the application are described herein with reference to attached drawing.
It should be understood that various modifications can be made to the embodiment applied herein.Therefore, description above should not regard
To limit, and only as the example of embodiment.Those skilled in the art will expect in the scope and spirit of the present application
Other modifications.
The attached drawing being included in the description and forms part of the description shows embodiments herein, and with it is upper
What face provided is used to explain the application together to substantially description and the detailed description given below to embodiment of the application
Principle.
By the description of the preferred form with reference to the accompanying drawings to the embodiment for being given as non-limiting example, the application's
These and other characteristic will become apparent.
It is also understood that although the application is described referring to some specific examples, those skilled in the art
Member realizes many other equivalents of the application in which can determine, they have feature as claimed in claim and therefore all
In the protection scope defined by whereby.
When read in conjunction with the accompanying drawings, in view of following detailed description, above and other aspect, the feature and advantage of the application will become
It is more readily apparent.
The specific embodiment of the application is described hereinafter with reference to attached drawing;It will be appreciated, however, that applied embodiment is only
Various ways implementation can be used in the example of the application.Known and/or duplicate function and structure and be not described in detail to avoid
Unnecessary or extra details makes the application smudgy.Therefore, applied specific structural and functionality is thin herein
Section is not intended to restrictions, but as just the basis of claim and representative basis be used to instructing those skilled in the art with
Substantially any appropriate detailed construction diversely uses the application.
This specification can be used phrase " in one embodiment ", " in another embodiment ", " in another embodiment
In " or " in other embodiments ", it can be referred to one or more of the identical or different embodiment according to the application.
Fig. 1 is the block chain of the embodiment of the present application across the flow chart of the information processing method of chain, the one of the embodiment of the present application
Kind information processing method of the block chain across chain, this method can be applied in the network based on block chain technology, and can be carried out
Information processing across chain, wherein block chain is that Distributed Storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm etc. calculate
The application model of machine technology.As shown in Figure 1 and Fig. 2 is combined, method includes the following steps:
S1, the access request that will acquire are stored to the first block chain, so that the first block chain determines it according to access request
Access request requires at least one target block chain of access in multiple external block chains of connection, and obtains target block chain
Characteristic information, wherein the first block chain and external block chain with Distributed Storage function are collectively formed based on block
The data structure of chain.First block chain can be set in local system, and in local electronic equipment, and external block chain can
To be arranged in external system, such as it is arranged in other external electronic equipments, the first block chain and multiple external block chains connect
It connecing, external block chain and the first block chain have the function of that Distributed Storage collectively forms the data structure based on block chain,
It is also assumed that being to constitute some or all of entire block chain network, which is entirely with external block chain
Block chain includes at least one target block chain that user needs to access in plurality of external block chain.First block chain
The access request that can be will acquire is stored in default memory space, such as obtains what user was sent by other equipment or system
Access request, and store it in the memory of itself, access request characterization user requests access at least one target area
Block chain, the first block chain can determine that user requires at least one mesh accessed in multiple external block chains according to the access request
Block chain is marked, and obtains the characteristic information of target block chain, characteristic information can store in default memory space, make it possible to
It obtains this feature information and is connected to target block chain using characteristic information and it is manipulated.
S2 obtains the access mode information of at least one target block chain according to the characteristic information of target block chain.The spy
Reference breath is the related data of corresponding target block chain, such as identity information, address information, access authority information or access mode
Information etc., characteristic information includes access mode information in one embodiment, and access mode information includes for access target
The relevant information of at least one mode of block chain, such as access address, access time or access access path information, pass through visit
Ask that mode information is accessible to corresponding target block chain.Each external block chain has respective access mode information,
Certain each target block chain has respective access mode information, can be in the access mode information of different target block chains
Include identical content.
S3 is based on access mode information, and the first block chain is made to access operation target block chain, is accessed and is asked with response
It asks, realizes management of the first block chain to external block chain, wherein access operation is included between multiple target block chains and carries out
The information processing of transregional piece of chain.First block chain sheet is based on access mode as a block chain in entire block chain network
The first block of information chain can quickly and accurately find and linking objective block chain and be managed to it, and the first block chain can
To be accessed operation based on access mode information to target block chain, to respond the access request that user issues.This reality
It applies in example, the first block chain can be managed block chain outside others, including be managed to target block chain, and
The information processing of transregional piece of chain is carried out between multiple target block chains, such as to first object block chain and the second target block chain
Carry out data linkage operation.It in one embodiment, can be based on access when the first block chain is managed external block chain
It requests to send corresponding process instruction to external block chain, after external block chain executes completion process instruction, the first block chain energy
It is enough that the processing result of generation is fed back into user.
The first block chain by being all block chain may be implemented to being connected in the information processing method of the embodiment of the present application
External block chain thereon is managed, the management including carrying out transregional piece of chain between multiple target block chains, due to connection
Structure simply makes the way to manage simple and effective, and user, which only needs to operate the first block chain, just can be realized to entire outer
The management of portion's block chain realizes the block chain management based on block chain, and since first block chain itself is also block chain,
Therefore transparence may be implemented in its management process.Further, since the first block chain can be it is any in entire block chain network
One block chain, therefore user can carry out pipe to other block chains by any one block chain in entire block chain network
Reason, realizes unified way to manage.
In one embodiment of the application, for the first block chain by access unit and external block chain link, access is single
The characteristic information of corresponding external block chain is prestored in member.Specifically in conjunction with Fig. 2, access unit is arranged first
Between block chain and external block chain, access unit has store function, and the characteristic information of storage is connect with the access unit
External block chain it is corresponding, such as the first block chain (is also possible to mesh by the first access unit and the first outside block chain
Mark block chain) connection, and fisrt feature information is stored in the first access unit, fisrt feature information and the first outside block chain
It is corresponding, such as wherein may include the access mode information of the first outside block chain, the first block chain can pass through the first spy
Levy management of the information realization to the first outside block chain.Due to prestoring corresponding external block chain in access unit
Characteristic information, therefore the first block chain can realize the efficient management to external block chain when in use with quick calling.
In addition, in one embodiment, callback mechanism and event registration mechanism etc. can also be prestored in access unit
Related data can utilize callback mechanism and event registration machine when external block chain needs to be managed local system
The related datas such as system realize management of the external block chain to the first block chain, to realize the flexibility of management.
In one embodiment of the application, the characteristic information according to target block chain obtains at least one target
The access mode information of block chain includes: to obtain target by the characteristic information for the target block chain being preset in access unit
The access authority of block chain, and obtain access mode information;
Correspondingly, being obtained the method also includes the characteristic information by the target block chain being preset in access unit
At least one following data of target block chain: interface message and application programming interface.
Specifically, target block chain has a respective access authority, and the access authority of different target block chains can be with
Difference, can also be identical, and such as each target block chain has unique access authority, needs when accessing to target block chain
The access authority of the target block chain is obtained, otherwise denied access.It in one embodiment, can be direct by characteristic information
The access authority of the corresponding target block chain of this feature information is obtained, such as access authority is stored in feature by way of encryption
In information, the access authority just can be obtained after legal decryption;It in another embodiment, can be by between characteristic information
The access authority of the corresponding target block chain of acquisition this feature information connect is set at other using the guidance by characteristic information
Acquisition operation is carried out on standby, by obtaining the access authority of the target block chain after certification.In addition, the method also includes passing through
Characteristic information obtains at least one following data of target block chain: interface message and application programming interface (API).Its
In, which can be the specific logic that target block chain needs to be used in the management process or physical interface etc.
Information;Application programming interface (API) is the function predetermined in target block chain, it is therefore an objective to provide user and be based on certain
Software or hardware are able to the ability of the routine in access target block chain, and are not necessarily to access source code, or understand internal work machine
The details of system.
In one embodiment of the application, the first communication protocol is preset in the first block chain, it is described based on access
Mode information makes the first block chain access operation the following steps are included: based on the first communication protocol to target block chain, makes
First block chain carries out first operation that is mutually related of transregional piece of chain to multiple target block chains, wherein first operation include with
Lower at least one: the data simultaneously operating of transregional piece of chain, data preparation operation and the operation to local cache.
Specifically, the first communication protocol is also referred to as intelligent contract, which can be pre-installed in each
On block chain, each block chain abides by the communication protocol, and the first block chain can use first communication protocol and realize driving
The operation of two or more external block chains, first behaviour that is mutually related including multiple target block chains are carried out with transregional piece of chain
Make, such as the data simultaneously operating of transregional piece of above-mentioned chain, data preparation operation and the operation to local cache.That is, by multiple
Data in target block chain carry out real-time synchronization, avoid the occurrence of data variance.Multiple target block chains can also be carried out
Data preparation operation, can also be cleared up or be saved to the caching of the first block chain local etc. and operated, and the spirit of operation is realized
Activity and diversity.
In one embodiment of the application, the first block chain link has corresponding operation system, the method also includes
Following steps: being based on first interface, the read operation and/or write operation that response operation system carries out the first block chain, wherein the
One interface is the interface for being only used for read operation and/or write operation being arranged between operation system and the first block chain.
Operation system may be mounted in local system, in local electronic equipment, or in local other equipment,
The operation system and the first block chain link, can be used for human-computer interaction, i.e. user can issue access by operation system
It requests to the first block chain, needs the association requests of the target block chain accessed to be sent to the first block chain itself.First connects
Mouth is the interface for being only used for read operation and/or write operation being arranged between operation system and the first block chain, therefore for industry
For business system, the first interface is extremely succinct, without transmitting other data, can have in the environment based on block chain technology
Effect improves the efficiency of management of user.
In one embodiment of the application, the method also includes following steps: the first block chain will be based on access behaviour
Make the access result that is formed and be sent to operation system, alternatively, by the first block chain establish operation system and target block chain it
Between data path so that operation system accesses to target block chain.
Specifically, in one embodiment, there is phase during the first block chain is managed target block chain
The access operation answered will form access as a result, such as the first block chain carries out read operation, target area to target block chain accordingly
Block chain feeds back corresponding read operation result to the first block chain, then from the first block chain by the read operation result to business
System is fed back, to allow users to obtain the read operation as a result, avoiding the occurrence of data transmission fault.In another implementation
In example, the first block chain establishes the data path between operation system and target block chain, so that operation system can be directly right
Target block chain accesses, and no longer via the first block chain, and the access result generated can also be by target block chain
It is sent to operation system by the data path, so that user obtains, further improves treatment effeciency.
In one embodiment of the application, the method also includes following steps: passing through the first block chain, record working
The access request and the corresponding access result of access request that business system obtains.Operation system and the first block chain can be with
It is arranged in local system, in local electronic equipment, is stored with current reception in the default memory space of the first block chain
Access request and its corresponding access as a result, and history access request and its corresponding access as a result, user can be from
Above-mentioned data are called in first block chain, can also store other data in certain first block chain, to utilize these data
Other work are done, it is right such as monitoring management process, and the actual management effect to external block chain of the first block chain of analysis
The return parameters such as efficiency and accuracy can be known in access request and its analysis for accessing result, so as to make improvement.
In addition, can be adjusted by operation system to the first block chain in the access request and its access result for calling record
With.
The embodiment of the present application also discloses a kind of electronic equipment, which can be set local, as shown in Figure 3 and ties
Close Fig. 2 comprising:
Communication module, the access request for being configured to will acquire are stored to the first block chain so that the first block chain according to
Access request determines that access request requires at least one the target block chain accessed in multiple external block chains of its connection, and
Obtain the characteristic information of target block chain, wherein the first block chain and external block chain with Distributed Storage function
Collectively form the data structure based on block chain.First block chain can be set in local electronic equipment, and external block
Chain can be set in external system, such as be arranged in other external electronic equipments, the first block chain and multiple external blocks
Chain link, external block chain and the first block chain have the function of that Distributed Storage collectively forms the data knot based on block chain
Structure, it is also assumed that being to constitute some or all of entire block chain network, the first block chain and external block chain are entire
It is block chain, includes at least one target block chain that user needs to access in plurality of external block chain.Firstth area
The access request that communication module obtains can be stored in default memory space by block chain, such as communication module obtains user and passes through
The access request that other equipment or system are sent, and store it in the memory of the first block chain, access request characterization
User requests access at least one target block chain, and the first block chain can determine multiple external block chains according to the access request
Middle user requires at least one target block chain of access, and obtains the characteristic information of target block chain, and characteristic information can be deposited
Storage enables electronic equipment to obtain this feature information and is connected to target block using characteristic information in default memory space
Chain simultaneously manipulates it.
Module is obtained, is configured to obtain the access of at least one target block chain according to the characteristic information of target block chain
Mode information.This feature information is the related data of corresponding target block chain, such as identity information, address information, access authority
Information or access mode information etc., characteristic information includes access mode information in one embodiment, and access mode information includes
The relevant information of at least one mode for access target block chain, such as access address, access time or access access road
The information such as diameter, the first block chain are accessible to corresponding target block by obtaining the access mode information that module obtains
Chain.Each external block chain has respective access mode information, and certain each target block chain has respective access mode
Information may include identical content in the access mode information of different target block chains.
Access modules are configured to access mode information, and the first block chain is made to access behaviour target block chain
Make, to respond access request, realizes management of the first block chain to external block chain, wherein access operation is included in multiple targets
The information processing of transregional piece of chain is carried out between block chain.First block chain sheet is as a block in entire block chain network
Chain can quickly and accurately be found with linking objective block chain based on the first block of access mode information chain and carry out pipe to it
Reason, the first block chain can access operation to target block chain based on access mode information, to respond user's sending
Access request.In the present embodiment, access modules are managed the first block chain to block chain outside others, wrap
It includes and target block chain is managed, and carry out the information processing of transregional piece of chain between multiple target block chains, such as to
One target block chain and the second target block chain carry out data linkage operation.In one embodiment, the first block chain is to outside
Block chain can send corresponding process instruction to external block chain based on access request when being managed, and external block chain executes
After completing process instruction, the processing result of generation can be fed back to user by the first block chain.
The electronic equipment of the embodiment of the present application can by be all block chain the first block chain it is outer to what is be connected thereto
Portion's block chain is managed, the management including carrying out transregional piece of chain between multiple target block chains, since connection structure is simple
So that the way to manage is simple and effective, user, which only needs to operate the first block chain, just be can be realized to entire external block chain
Management, realize the block chain management based on block chain, and since first block chain itself is also block chain, manage
Transparence may be implemented in reason process.Further, since the first block chain can be any one block in entire block chain network
Chain, therefore user can be managed other block chains by any one block chain in entire block chain network, realize
Unified way to manage.
In one embodiment of the application, for the first block chain by access unit and external block chain link, access is single
The characteristic information of corresponding external block chain is prestored in member.Specifically in conjunction with Fig. 2, access unit is arranged first
Between block chain and external block chain, access unit has store function, and the characteristic information of storage is connect with the access unit
External block chain it is corresponding, such as the first block chain (is also possible to mesh by the first access unit and the first outside block chain
Mark block chain) connection, and fisrt feature information is stored in the first access unit, fisrt feature information and the first outside block chain
It is corresponding, such as wherein may include the access mode information of the first outside block chain, the first block chain can pass through the first spy
Levy management of the information realization to the first outside block chain.Due to prestoring corresponding external block chain in access unit
Characteristic information, therefore the first block chain can realize the efficient management to external block chain when in use with quick calling.
In addition, in one embodiment, callback mechanism and event registration mechanism etc. can also be prestored in access unit
Related data can utilize callback mechanism and event registration machine when external block chain needs to be managed local system
The related datas such as system realize management of the external block chain to the first block chain, to realize the flexibility of management.
In one embodiment of the application, obtains module and be further configured to: by the mesh being preset in access unit
The characteristic information of block chain is marked, the access authority of target block chain is obtained, and obtains access mode information;
It is additionally configured to obtain at least one following data of target block chain correspondingly, obtaining module: interface message and answer
Use Program Interfaces.
Specifically, target block chain has a respective access authority, and the access authority of different target block chains can be with
Difference, can also be identical, and such as each target block chain has unique access authority, needs when accessing to target block chain
The access authority of the target block chain is obtained, otherwise denied access.In one embodiment, obtaining module can be believed by feature
The direct access authority for obtaining the corresponding target block chain of this feature information of breath, such as access authority are deposited by way of encryption
Storage just can obtain the access authority in characteristic information after legal decryption;In another embodiment, obtaining module can
Indirectly to obtain the access authority of the corresponding target block chain of this feature information by characteristic information, using passing through characteristic information
Guidance, acquisition operation is carried out in other equipment, by certification after obtain the access authority of the target block chain.In addition, obtaining
Modulus block is additionally configured to through characteristic information, obtains at least one following data of target block chain: interface message and applying journey
Sequence programming interface (API).Wherein, the interface message can be target block chain need to be used in the management process it is specific
Logic or the information such as physical interface;Application programming interface (API) is the function predetermined in target block chain, mesh
The ability for being to provide the routine that user is able in access target block chain based on certain software or hardware, and be not necessarily to access originator
Code, or understand the details of internal work mechanism.
In one embodiment of the application, it is preset with the first communication protocol in the first block chain, access modules are further
It is configured that based on the first communication protocol, so that the first block chain is carried out transregional piece of chain to multiple target block chains and be mutually related
First operation, wherein first operation comprise at least one of the following: the data simultaneously operating of transregional piece of chain, data preparation operation and
Operation to local cache.
Specifically, the first communication protocol is also referred to as intelligent contract, which can be pre-installed in each
On block chain, each block chain abides by the communication protocol, and the first block chain can use first communication protocol and realize driving
The operation of two or more external block chains, first behaviour that is mutually related including multiple target block chains are carried out with transregional piece of chain
Make, such as the data simultaneously operating of transregional piece of above-mentioned chain, data preparation operation and the operation to local cache.That is, by multiple
Data in target block chain carry out real-time synchronization, avoid the occurrence of data variance.Multiple target block chains can also be carried out
Data preparation operation, can also be cleared up or be saved to the caching of the first block chain local etc. and operated, and the spirit of operation is realized
Activity and diversity.
In one embodiment of the application, the first block chain link has corresponding operation system, and electronic equipment further includes
Module for reading and writing, module for reading and writing be configured that responded based on first interface read operation that operation system carries out the first block chain with/
Or write operation, wherein first interface is to be arranged between operation system and the first block chain to be only used for read operation and/or write behaviour
The interface of work.
Operation system may be mounted in local electronic equipment, or in local other equipment, the operation system with
First block chain link can be used for human-computer interaction, i.e. user can issue access requests to the firstth area by operation system
Itself is needed the association requests of the target block chain accessed to be sent to the first block chain by block chain.First interface is to be arranged in industry
The interface for being only used for read operation and/or write operation between business system and the first block chain, therefore for operation system, it should
First interface is extremely succinct, without transmitting other data, can effectively improve user's in the environment based on block chain technology
The efficiency of management.
In one embodiment of the application, access modules are further configured to: will be based on access by the first block chain
The access result that operation is formed is sent to operation system, alternatively, establishing operation system and target block chain by the first block chain
Between data path so that operation system accesses to target block chain.
Specifically, in one embodiment, there is phase during the first block chain is managed target block chain
The access operation answered will form access as a result, such as the first block chain carries out read operation, target area to target block chain accordingly
Block chain feeds back corresponding read operation result to the first block chain, and access modules pass through the first block chain for the read operation again
As a result it is fed back to operation system, to allow users to obtain the read operation as a result, avoiding the occurrence of data transmission fault.?
In another embodiment, access modules establish the data path between operation system and target block chain by the first block chain,
So that operation system can directly access to target block chain, and no longer via the first block chain, and the access generated
As a result operation system can also be sent to by the data path by target block chain, so that user obtains, further improved
Treatment effeciency.
In one embodiment of the application, electronic equipment further includes logging modle, and logging modle is configured that by first
Block chain records the access request and the corresponding access result of access request obtained from operation system.Operation system and
One block chain can be set in local electronic equipment, and operation system can also be arranged in other local electronic equipments
In, logging modle can use the default memory space of the first block chain, wherein store currently received access request and its
It is corresponding access as a result, and history access request and its it is corresponding access as a result, allow user by logging modle from
Above-mentioned data are called in first block chain, can also store other data in certain first block chain, to utilize these data
Other work are done, it is right such as monitoring management process, and the actual management effect to external block chain of the first block chain of analysis
The return parameters such as efficiency and accuracy can be known in access request and its analysis for accessing result, so as to make improvement.
In addition, call record access request and its access result when, user can by operation system operation record module come into
Row.
Above embodiments are only the exemplary embodiment of the application, are not used in limitation the application, the protection scope of the application
It is defined by the claims.Those skilled in the art can make respectively the application in the essence and protection scope of the application
Kind modification or equivalent replacement, this modification or equivalent replacement also should be regarded as falling within the scope of protection of this application.
Claims (10)
1. a kind of information processing method of the block chain across chain, comprising:
The access request that will acquire is stored to the first block chain, so that the first block chain is determined according to the access request
Access request described in its multiple external block chain connected requires at least one target block chain of access, and obtains the mesh
Mark the characteristic information of block chain, wherein the first block chain and the external block with Distributed Storage function
Chain collectively forms the data structure based on block chain;
The access mode information of at least one target block chain is obtained according to the characteristic information of the target block chain;
Based on the access mode information, the first block chain is set to access operation the target block chain, with response
The access request realizes management of the first block chain to the external block chain, wherein the access operation is included in
The information processing of transregional piece of chain is carried out between multiple target block chains.
2. according to the method described in claim 1, the first block chain is by access unit and the external block chain link,
The characteristic information of the corresponding external block chain is prestored in the access unit.
3. according to the method described in claim 2, the characteristic information according to the target block chain obtains at least one
The access mode information of the target block chain includes: the spy of the target block chain by being preset in the access unit
Reference breath, obtains the access authority of the target block chain, and obtain the access mode information;
Correspondingly, the method also includes the characteristic information of the target block chain by being preset in the access unit,
Obtain at least one following data of the target block chain: interface message and application programming interface.
4. described based on institute according to the method described in claim 1, be preset with the first communication protocol in the first block chain
Access mode information is stated, makes the first block chain include: to the target block chain operation that accesses
Based on first communication protocol, make the first block chain that multiple target block chains are carried out with the phase of transregional piece of chain
First operation of mutual correlation, wherein first operation comprises at least one of the following: the data simultaneously operating of transregional piece of chain, data
Housekeeping operation and operation to local cache.
5. the method is also wrapped according to the method described in claim 1, the first block chain link has corresponding operation system
It includes:
Based on first interface, the read operation and/or write operation that the operation system carries out the first block chain are responded, wherein
First interface is to be arranged between the operation system and the first block chain to be only used for connecing for read operation and/or write operation
Mouthful.
6. according to the method described in claim 5, the method also includes:
The access result formed based on the access operation is sent to the operation system by the first block chain, alternatively,
The data path between the operation system and the target block chain is established by the first block chain, so that described
Operation system accesses to the target block chain.
7. according to the method described in claim 5, the method also includes:
By the first block chain, records the access request obtained from the operation system and the access request is corresponding
Access result.
8. a kind of electronic equipment, comprising:
Communication module, the access request for being configured to will acquire are stored to the first block chain so that the first block chain according to
The access request determines that access request described in multiple external block chains of its connection requires at least one target area of access
Block chain, and obtain the characteristic information of the target block chain, wherein first block with Distributed Storage function
Chain and the external block chain collectively form the data structure based on block chain;
Module is obtained, is configured to obtain at least one target block chain according to the characteristic information of the target block chain
Access mode information;
Access modules are configured to the access mode information, make the first block chain to the target block chain into
Row access operation realizes management of the first block chain to the external block chain, wherein institute to respond the access request
Stating access operation includes that the information processing of transregional piece of chain is carried out between multiple target block chains.
9. electronic equipment according to claim 8, the first block chain passes through access unit and the external block chain
It connects, the characteristic information of the corresponding external block chain is prestored in the access unit.
10. electronic equipment according to claim 9, the acquisition module is further configured to:
Characteristic information by the target block chain being preset in the access unit, obtains the visit of the target block chain
It asks permission, and obtains the access mode information;
Correspondingly, the acquisition module is additionally configured to obtain at least one following data of the target block chain: interface message
And application programming interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910471172.XA CN110213266B (en) | 2019-05-31 | 2019-05-31 | Block chain cross-chain information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910471172.XA CN110213266B (en) | 2019-05-31 | 2019-05-31 | Block chain cross-chain information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110213266A true CN110213266A (en) | 2019-09-06 |
CN110213266B CN110213266B (en) | 2021-10-22 |
Family
ID=67790038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910471172.XA Active CN110213266B (en) | 2019-05-31 | 2019-05-31 | Block chain cross-chain information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110213266B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543488A (en) * | 2019-09-11 | 2019-12-06 | 深圳市网心科技有限公司 | Verification node updating method, device and equipment |
CN111881472A (en) * | 2020-07-22 | 2020-11-03 | 云账户技术(天津)有限公司 | Data access control method, system, authority management system and medium |
CN113468581A (en) * | 2021-07-26 | 2021-10-01 | 永旗(北京)科技有限公司 | Cross-block-chain data access method |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160330034A1 (en) * | 2015-05-07 | 2016-11-10 | Blockstream Corporation | Transferring ledger assets between blockchains via pegged sidechains |
CN106598490A (en) * | 2016-11-25 | 2017-04-26 | 深圳前海微众银行股份有限公司 | Access method for block chain data and block chain management system |
CN107742210A (en) * | 2017-10-13 | 2018-02-27 | 布比(北京)网络技术有限公司 | Across the chain fund transfer system and method for a kind of different blocks interchain |
CN108305170A (en) * | 2018-03-07 | 2018-07-20 | 物数(上海)信息科技有限公司 | External service access method, system, equipment and storage medium based on block chain |
CN108305056A (en) * | 2018-03-27 | 2018-07-20 | 搜游网络科技(北京)有限公司 | Data processing method, device based on block chain and block chain meshed network |
CN108347486A (en) * | 2018-02-12 | 2018-07-31 | 众安信息技术服务有限公司 | Across chain communication means, device and system based on block chain |
CN108418795A (en) * | 2018-01-30 | 2018-08-17 | 百度在线网络技术(北京)有限公司 | Data access method, device, system and the computer-readable medium of transregional piece of chain |
CN108632268A (en) * | 2018-04-28 | 2018-10-09 | 腾讯科技(深圳)有限公司 | The method for authenticating and device, storage medium, electronic device that block chain accesses |
CN109120636A (en) * | 2018-09-07 | 2019-01-01 | 众安信息技术服务有限公司 | The method and server device that content access request is authorized |
CN109167811A (en) * | 2018-07-27 | 2019-01-08 | 阿里巴巴集团控股有限公司 | A kind of across chain data access method and device based on block chain |
CN109274752A (en) * | 2018-10-10 | 2019-01-25 | 腾讯科技(深圳)有限公司 | The access method and device, electronic equipment, storage medium of block chain data |
CN109327314A (en) * | 2018-11-08 | 2019-02-12 | 阿里巴巴集团控股有限公司 | Access method, device, electronic equipment and the system of business datum |
CN109347955A (en) * | 2018-10-19 | 2019-02-15 | 北京奇艺世纪科技有限公司 | A kind of block chain network system and information processing method |
CN109495592A (en) * | 2019-01-11 | 2019-03-19 | 四川虹微技术有限公司 | Data collaborative method and electronic equipment |
WO2019078879A1 (en) * | 2017-10-20 | 2019-04-25 | Hewlett Packard Enterprise Development Lp | Permissions from entities to access information |
US20190141026A1 (en) * | 2017-11-07 | 2019-05-09 | General Electric Company | Blockchain based device authentication |
-
2019
- 2019-05-31 CN CN201910471172.XA patent/CN110213266B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160330034A1 (en) * | 2015-05-07 | 2016-11-10 | Blockstream Corporation | Transferring ledger assets between blockchains via pegged sidechains |
CN106598490A (en) * | 2016-11-25 | 2017-04-26 | 深圳前海微众银行股份有限公司 | Access method for block chain data and block chain management system |
CN107742210A (en) * | 2017-10-13 | 2018-02-27 | 布比(北京)网络技术有限公司 | Across the chain fund transfer system and method for a kind of different blocks interchain |
WO2019078879A1 (en) * | 2017-10-20 | 2019-04-25 | Hewlett Packard Enterprise Development Lp | Permissions from entities to access information |
US20190141026A1 (en) * | 2017-11-07 | 2019-05-09 | General Electric Company | Blockchain based device authentication |
CN108418795A (en) * | 2018-01-30 | 2018-08-17 | 百度在线网络技术(北京)有限公司 | Data access method, device, system and the computer-readable medium of transregional piece of chain |
CN108347486A (en) * | 2018-02-12 | 2018-07-31 | 众安信息技术服务有限公司 | Across chain communication means, device and system based on block chain |
CN108305170A (en) * | 2018-03-07 | 2018-07-20 | 物数(上海)信息科技有限公司 | External service access method, system, equipment and storage medium based on block chain |
CN108305056A (en) * | 2018-03-27 | 2018-07-20 | 搜游网络科技(北京)有限公司 | Data processing method, device based on block chain and block chain meshed network |
CN108632268A (en) * | 2018-04-28 | 2018-10-09 | 腾讯科技(深圳)有限公司 | The method for authenticating and device, storage medium, electronic device that block chain accesses |
CN109167811A (en) * | 2018-07-27 | 2019-01-08 | 阿里巴巴集团控股有限公司 | A kind of across chain data access method and device based on block chain |
CN109120636A (en) * | 2018-09-07 | 2019-01-01 | 众安信息技术服务有限公司 | The method and server device that content access request is authorized |
CN109274752A (en) * | 2018-10-10 | 2019-01-25 | 腾讯科技(深圳)有限公司 | The access method and device, electronic equipment, storage medium of block chain data |
CN109347955A (en) * | 2018-10-19 | 2019-02-15 | 北京奇艺世纪科技有限公司 | A kind of block chain network system and information processing method |
CN109327314A (en) * | 2018-11-08 | 2019-02-12 | 阿里巴巴集团控股有限公司 | Access method, device, electronic equipment and the system of business datum |
CN109495592A (en) * | 2019-01-11 | 2019-03-19 | 四川虹微技术有限公司 | Data collaborative method and electronic equipment |
Non-Patent Citations (2)
Title |
---|
XIAOKANG CHEN: "Extending Blockchain Functionality with Statechain", 《2017 IEEE 23RD INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS)》 * |
李彬等: "基于异构区块链的多能系统交易体系及关键技术", 《电力系统自动化》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543488A (en) * | 2019-09-11 | 2019-12-06 | 深圳市网心科技有限公司 | Verification node updating method, device and equipment |
CN110543488B (en) * | 2019-09-11 | 2022-06-07 | 深圳市迅雷网络技术有限公司 | Verification node updating method, device and equipment |
CN111881472A (en) * | 2020-07-22 | 2020-11-03 | 云账户技术(天津)有限公司 | Data access control method, system, authority management system and medium |
CN113468581A (en) * | 2021-07-26 | 2021-10-01 | 永旗(北京)科技有限公司 | Cross-block-chain data access method |
Also Published As
Publication number | Publication date |
---|---|
CN110213266B (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108650182B (en) | Network communication method, system, device, equipment and storage medium | |
CN105247529B (en) | The synchronous voucher hash between directory service | |
CN104322010B (en) | System and method for comparing configuration file and generation corrective command | |
CN110213266A (en) | A kind of information processing method and electronic equipment of the block chain across chain | |
CN1586065B (en) | Peer to peer network communication with network address translation | |
CN103873486B (en) | For the system and method for load balancing real time streaming protocol | |
CN103607428B (en) | A kind of method and apparatus for accessing shared drive | |
CN105765901B (en) | Intelligent firewall access rule | |
CN110535833A (en) | A kind of data sharing control method based on block chain | |
CN103475682B (en) | File transfer method and file transfer equipment | |
JP2006519424A (en) | System and method for managing distributed objects as a single representation | |
CN111884917A (en) | Gateway system based on micro service and gateway dynamic routing method | |
CN106789153A (en) | The log recording of self adaptation by all kinds of means of Internet of things system terminal device, output intent and system | |
CN112162959B (en) | Medical data sharing method and device | |
CN112291298B (en) | Data transmission method, device, computer equipment and storage medium of heterogeneous system | |
CN111327668B (en) | Network management method, device, equipment and storage medium | |
CN112995233B (en) | RSSP-II protocol secure connection establishment method and system | |
CN103455698A (en) | Medical monitoring method, device and system | |
WO2021043062A1 (en) | Cross-network wake-up method and related device | |
CN109492384A (en) | Receiving entity access, method, encryption device and the entity for accessing encryption device | |
JP3601777B2 (en) | Centralized management method and system for call control data for call agent | |
CN111654559A (en) | Container data transmission method and device | |
JP2001022665A (en) | Information processing system capable of providing security of communication between software components | |
CN106685906A (en) | Authentication processing method, node and system | |
JP2021521552A (en) | Information processing methods and information processing systems applied to encryption machines |
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 |