CN111652617B - Service processing system of cross-block chain platform - Google Patents

Service processing system of cross-block chain platform Download PDF

Info

Publication number
CN111652617B
CN111652617B CN202010644376.1A CN202010644376A CN111652617B CN 111652617 B CN111652617 B CN 111652617B CN 202010644376 A CN202010644376 A CN 202010644376A CN 111652617 B CN111652617 B CN 111652617B
Authority
CN
China
Prior art keywords
platform
service
blockchain platform
block chain
message center
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.)
Active
Application number
CN202010644376.1A
Other languages
Chinese (zh)
Other versions
CN111652617A (en
Inventor
王楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010644376.1A priority Critical patent/CN111652617B/en
Publication of CN111652617A publication Critical patent/CN111652617A/en
Application granted granted Critical
Publication of CN111652617B publication Critical patent/CN111652617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Technology Law (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a business processing system of a cross-region block chain platform, which comprises: the business process analysis module is used for determining link information of the business process; the message center module is used for verifying the received link information, receiving a locked service processing result, transmitting the link information to the message center module corresponding to the downstream block chain platform when the corresponding block chain platform is not the terminal block chain platform, and transmitting a preset original image to the message center module corresponding to the upstream block chain platform when the corresponding block chain platform is the terminal block chain platform; after receiving the preset original image, judging whether the business processing of the corresponding block chain platform is successful or not; the block chain platform is used for executing service processing logic and locking service processing results; the intelligent contract module is used for starting the time lock, and unlocking the service processing result after the message center module corresponding to the blockchain platform receives the preset original image within the preset time. The application has good safety and high efficiency.

Description

Service processing system of cross-block chain platform
Technical Field
The application relates to the technical field of block chains, in particular to a business processing system of a cross-region block chain platform.
Background
With the development of blockchain technology, various organizations push out respective blockchain platforms, and the platforms have a plurality of different structures and technologies. Along with the expansion of the practical application scene, each mechanism actively promotes and uses the respective blockchain platform, and simultaneously strengthens interconnection and intercommunication and cooperative communication. However, most of the current blockchain application scenarios are established for isomorphic blockchain systems, the transaction links are clear, and the transaction flow is relatively simple. In the face of complex multilink transaction flow, a plurality of mechanisms are required to be completed in a unified and interworking blockchain system in a cooperative mode, the existing system is difficult to rapidly transplant and apply the complex transaction link flow and realize direct interaction and data sharing of heterogeneous blockchains, and the existing cross-link technology only aims at data interaction of a plurality of links under the isomorphic technology and cannot solve the problems of transaction circulation and data sharing among heterogeneous platforms. These complex scenarios and heterogeneous factors become the obstacle of the application party in traditional business transformation cooperation, and different blockchain platform technologies become the technical barriers of interconnection cooperation from principle, architecture to implementation, so that blockchain of the complete business process is greatly limited.
Therefore, based on the above problems, a safe and efficient business processing system of a cross-block chain platform is lacking.
Disclosure of Invention
The embodiment of the application provides a business processing system of a cross-block chain platform, which is used for solving the business processing problem of the cross-block chain platform, has good safety and high efficiency, and comprises the following components:
at least one blockchain platform, a message center module corresponding to each blockchain platform, an intelligent contract module and a business process analysis module, wherein,
the business process analysis module is used for determining link information of the business process, wherein the link information comprises a plurality of block chain platforms for processing business in the business process; the method comprises the steps of sending a hash value corresponding to a preset original image of a terminal block chain platform of a service in a link information and service flow to a message center module corresponding to a starting block chain platform;
the message center module is used for verifying the received link information by inquiring the link information stored in the business process analysis module when the hash value, the upstream business information and the link information sent by the message center module corresponding to the upstream blockchain platform are received, wherein the upstream business information comprises a locked business processing result of the upstream blockchain platform, when the verification result is passed, a business processing command and the upstream business information are sent to the corresponding blockchain platform, and the locked business processing result fed back by the corresponding blockchain platform is received, when the corresponding blockchain platform is not the end point blockchain platform, the hash value, the updated business information and the link information are sent to the message center module corresponding to the downstream blockchain platform, the updated business information comprises the locked business processing result fed back by the corresponding blockchain platform, when the corresponding blockchain platform is the end point blockchain platform, the intelligent contract module is called to judge whether the business processing of the end point blockchain platform is successful or not based on the received hash value, and when the business processing judgment result of the corresponding blockchain platform is successful, the preset message center module is sent to the upstream blockchain platform; after receiving the preset original image, calling an intelligent contract module to judge whether the business processing of the corresponding block chain platform is successful or not;
the block chain platform is used for receiving the service processing command and the upstream service information sent by the corresponding message center module, executing service processing logic according to the upstream service information and locking the service processing result; feeding back a locked service processing result to the corresponding message center module;
the intelligent contract module is used for starting a time lock after the message center module corresponding to the blockchain platform sends the hash value, the upstream service information and the link information to the message center module corresponding to the downstream blockchain platform, unlocking a service processing result after the message center module corresponding to the blockchain platform receives a preset original image within a preset time period, and determining that the service processing of the blockchain platform is successful, otherwise, determining that the service processing of the blockchain platform is failed, wherein the preset time period is the time period between the time of starting the time lock and the time of receiving the preset original image; when the block chain platform is the end block chain platform, if the preset original image of the end block chain platform is consistent with the received hash value, the service processing is determined to be successful, otherwise, the service processing is determined to be failed.
In the embodiment of the application, the link information of the business process is determined by the business process analysis module, and the corresponding upstream business information of the blockchain platform is sent and received by the message center module, so that cross-platform business processing can be realized, the problems of transaction flow and data sharing among cross-platform heterogeneous platforms in the prior art are solved, the efficiency is high, a business processing success judging process is given by the intelligent contract module, and whether the business processing is successful or not is judged by adopting a preset original image and a corresponding hash value and a time lock, thereby improving the safety of the business processing.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
FIG. 1 is a schematic diagram of a business processing system of a cross-blockchain platform in accordance with an embodiment of the present application;
FIG. 2 is a schematic diagram of a plurality of blockchain platforms performing pre-preparation prior to service processing in accordance with an embodiment of the present application;
fig. 3 is a schematic diagram of a business processing flow in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present application and their descriptions herein are for the purpose of explaining the present application, but are not to be construed as limiting the application.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are open-ended terms, meaning including, but not limited to. The description of the reference terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The order of steps involved in the embodiments is illustrative of the practice of the application, and is not limited and may be suitably modified as desired.
The inventor finds that the existing alliance chain application scene is aimed at the same-chain or cross-chain application of the same underlying framework, and the service information flows on the same technical framework, so that the method is applicable to the situation that cooperative multiparties belong to one chain at the same time. Existing cross-chain technology research is mostly also directed to communication between multiple chains of the same technology platform. However, with the expansion of the application field of the blockchain technology, each research institution also provides each characteristic blockchain application platform, and for the complex business processes involving multiple parties, each cooperator is bound on the same chain and is gradually not operable, so that the application field of the blockchain business is limited, each link in the business process is not beneficial to cooperation, and the vertical division of data in the small-range business process based on multiple chains also causes non-uniformity of data views, and high cost is required for data maintenance.
Therefore, the embodiment of the application provides a business processing system of a cross-region block chain platform, which is a processing system compatible with controllable business processes of interconnection and intercommunication of multi-type block chain platforms, and utilizes a reliable message center module and an intelligent contract module (the intelligent contract module adopts an improved hash time locking contract mechanism) to ensure that the heterogeneous multi-platform finishes business information circulation together, ensure timeliness, safety and atomicity of processing and provide a feasible cooperation scheme for converting complex business processes related to upstream and downstream of multiple parties to the block chain platform in the traditional field.
FIG. 1 is a schematic diagram of a service processing system of a cross-blockchain platform according to an embodiment of the present application, as shown in FIG. 1, the system includes:
at least one blockchain platform 101, a message center module 102 corresponding to each blockchain platform, an intelligent contract module 103, and a business process analysis module 104, wherein,
a business process analysis module 104, configured to determine link information of a business process, where the link information includes a plurality of blockchain platforms for processing a business in the business process; the method comprises the steps of sending a hash value corresponding to a preset original image of a terminal block chain platform of a service in a link information and service flow to a message center module corresponding to a starting block chain platform;
the message center module 102 is configured to verify, when receiving the hash value, the upstream service information and the link information sent by the message center module corresponding to the upstream blockchain platform, the received link information by querying the link information stored in the service flow analysis module, where the upstream service information includes a locked service processing result of the upstream blockchain platform, send a service processing command to the corresponding blockchain platform and the upstream service information when the verification result is passed, and receive the locked service processing result fed back by the corresponding blockchain platform, send the hash value, the updated service information and the link information to the message center module corresponding to the downstream blockchain platform when the corresponding blockchain platform is not the end blockchain platform, where the updated service information includes a locked service processing result fed back by the corresponding blockchain platform, and call the intelligent contract module to determine whether the service processing of the end blockchain platform is successful or not when the corresponding blockchain platform is the end blockchain platform, and send a preset message to the upstream blockchain center module when the service processing determination result is successful; after receiving the preset original image, calling an intelligent contract module to judge whether the business processing of the corresponding block chain platform is successful or not;
the blockchain platform 101 is configured to receive a service processing command and upstream service information sent by a corresponding message center module, execute service processing logic according to the upstream service information, and lock a service processing result; feeding back a locked service processing result to the corresponding message center module;
the intelligent contract module 103 is configured to start a time lock after the message center module corresponding to the blockchain platform sends the hash value, the upstream service information and the link information to the message center module corresponding to the downstream blockchain platform, unlock a service processing result after the message center module corresponding to the blockchain platform receives a preset original image within a preset duration, and determine that the service processing of the blockchain platform is successful, otherwise determine that the service processing of the blockchain platform fails, where the preset duration is a duration between a time when the time lock is started and a time when the preset original image is received; when the block chain platform is the end block chain platform, if the preset original image of the end block chain platform is consistent with the received hash value, the service processing is determined to be successful, otherwise, the service processing is determined to be failed.
In the system, the link information of the business process is determined through the business process analysis module, and then the message center module is used for sending and receiving the corresponding upstream business information of the blockchain platform, so that cross-platform business processing can be realized, the problems of transaction flow and data sharing among cross-platform heterogeneous platforms in the prior art are solved, the efficiency is high, the business processing success judgment process is given through the intelligent contract module, and the business processing success judgment adopts the preset original image and the corresponding hash value and the time lock, so that the business processing safety is improved.
As can be seen from fig. 1, the blockchain platforms correspond to the message center modules one by one, and refer to blockchain platforms participating in each link of the full business process, where the platforms may belong to different organizations or different organizations, or may use different bottom layer implementation technologies, and the federation chain implemented by each blockchain platform may also include multiple participating partners or subsystems, which is the main body of implementing the sub-business process and provides the blockchain bottom layer functions such as data storage, transaction synchronization, and the like. The business processing in the embodiment of the application can be multi-type banking business such as transaction processing, business inquiry and the like.
The message center module is used for interfacing with other blockchain platforms. Fig. 2 is a schematic diagram of the preparation of a plurality of blockchain platforms before service processing in the embodiment of the present application, and as shown in fig. 2, this example shows 3 blockchain platforms, and a message channel between each blockchain platform is implemented by a message center module in the embodiment of the present application, where link information is link information of a service flow determined by the service flow analysis module, for example, in fig. 2, an end blockchain platform of a service in the service flow is a blockchain platform B, a start blockchain platform is a blockchain platform a, and after the link information is determined, the link information is a-C-B, and is sent by the service flow analysis module to the message center module corresponding to the blockchain platform a. After the business flow analysis module determines the link information, the link information can be formed into a business forwarding routing table, so that the follow-up query and use are facilitated.
In an embodiment, the message center module is further configured to:
and carrying out signature consensus based on the link information stored in the business process analysis module.
In the above embodiment, the message center module is equivalent to inquiring the link information stored in the business process analysis module and performing signature consensus on the link information when preparing in advance, so as to ensure the security and reliability of business processing on each blockchain platform.
In addition, during early preparation, the business process analysis module further determines a preset original image R of the end point blockchain platform, and then sends a hash value corresponding to the preset original image R to the message center module corresponding to the start point blockchain platform, wherein the hash value is used for guaranteeing the correctness of the whole link circulation.
In addition, during the early preparation, the message center module is further configured to send the identity certificate of the corresponding blockchain platform to the message center module corresponding to the upstream blockchain platform of the corresponding blockchain platform and to the message center module corresponding to the downstream blockchain platform of the corresponding blockchain platform, so as to realize the exchange of the identity certificates of each platform, and facilitate the subsequent identity authentication module 105 to perform identity authentication.
In the embodiment of the application, when the message center module receives the hash value, the upstream service information and the link information sent by the message center module corresponding to the upstream blockchain platform, the message center module verifies the received link information by querying the link information stored in the service flow analysis module, and in one embodiment, the message center module is specifically configured to:
when verifying the received link information, the following steps are executed:
judging whether a downstream blockchain platform in the received link information is a blockchain platform corresponding to the message center module or not, and obtaining a first judgment result;
inquiring whether a downstream blockchain platform in the link information stored in the business flow analysis module is a blockchain platform corresponding to the message center module or not, and obtaining a second judgment result;
and when the first judging result and the second judging result are both yes, determining that the verification result is verification passing, otherwise, determining that the verification result is verification failing.
In the above embodiment, the message center module performs dual verification on the link information, that is, performs the first re-verification on the link information sent by the message center module corresponding to the received upstream blockchain platform, where the link information indicates the downstream blockchain platform, and then determines whether the downstream blockchain platform is the blockchain platform corresponding to the message center module, and when the specific verification is performed, may use the identity certificate or the identifier of the blockchain platform to perform the verification, where the identity certificate is exchanged in each blockchain platform when the identity certificate is prepared in advance. And the second verification is to store link information in the business flow analysis module, and then verify whether the downstream blockchain platform in the link information is the blockchain platform corresponding to the message center module, and only when the two verifications pass, the verification result can be said to pass.
In an embodiment, the message center module is further configured to:
and when the verification result is that the service processing of the corresponding block chain platform fails, determining that the service processing of the corresponding block chain platform fails.
In the above embodiment, the message center module gives the result of service processing failure, and may feed back the service processing failure information to the message center module corresponding to the upstream blockchain platform. For example, in fig. 2, if the verification fails at the C-blockchain platform, the message center module corresponding to the blockchain platform C will feed back the service processing failure information to the message center module corresponding to the blockchain platform a.
In an embodiment, the upstream traffic information includes an identification of an upstream blockchain platform;
the message center module is further configured to: when the hash value, the upstream service information and the link information which are sent by the message center module corresponding to the upstream blockchain platform are received, whether the identification of the upstream blockchain platform of the link information stored in the service flow analysis module is consistent with the identification of the upstream blockchain platform in the upstream service information is judged, when the judgment result is consistent and the verification result is passing, a service processing command and the upstream service information are sent to the corresponding blockchain platform, and when the judgment result is inconsistent and the verification result is passing, the hash value, the upstream service information and the link information are sent to the message center module corresponding to the downstream blockchain platform.
In the above embodiment, the identifier may be an ID of a blockchain platform or an identifier such as a token. In addition to the identification, the identity certificate of the blockchain platform can be judged to verify whether the identity certificate is consistent. In addition to the identification and the identity certificate, other rules can be formulated, and related variation examples fall into the protection scope of the application, and when the judgment result is inconsistent, the blockchain platform can refuse to accept or forward the transaction (process the service).
In an embodiment, the business process analysis module is further configured to:
and analyzing the service processing nodes and the processing sequence in the block chain platform of the service.
In the above embodiment, if it is determined that the blockchain platform is required to perform service processing, and the blockchain platform includes a plurality of service processing nodes, the processing sequence of each service processing node is determined, so that normal service processing is ensured.
In one embodiment, the blockchain platform is further to:
and executing service processing logic according to the service processing nodes and the processing sequence and the upstream service information.
In the above embodiment, taking the account deduction service example in the example in fig. 2, the blockchain platform a executes all service processing logic of account deduction, including completing account inquiry, balance check, deduction condition check, and the like, and executing the deduction action in the last step, but at this time, the blockchain platform a locks the service processing result, i.e. does not execute the final deduction action, and the locked service processing result is fed back, and only after receiving the preset original image R of the blockchain platform C within the preset duration, the service processing result is unlocked, i.e. the deduction action is executed. The improved hash time locking principle of the intelligent contract module is mainly utilized, and the atomicity and the safety of business processing are ensured.
In an embodiment, the message center module is further configured to:
and applying a load balancing strategy to the blockchain platform corresponding to the message center module, and allowing one service processing node to start a plurality of examples when executing service processing logic.
In the above embodiment, the load balancing policy may be implemented by an open source framework, which allows one service processing node to start multiple instances when executing service processing logic, that is, to implement concurrency of service processing, and ensure high availability and stability of the system.
In an embodiment, the system further comprises an identity authentication module 105 for:
verifying whether the blockchain platform has authority to process the service or not based on a preset authority verification rule and an identity certificate of the blockchain platform;
the message center module is further configured to:
before sending a service processing command and upstream service information to a corresponding blockchain platform, invoking an identity authentication module to verify whether the corresponding blockchain platform has authority to process the service or not, and obtaining an authority verification result;
and when the authority verification result is that the authority is authorized, sending a service processing command and upstream service information to the corresponding blockchain platform.
In the above embodiment, before all the service processing is performed, whether the blockchain platform has authority to process the service is performed, and only when the authority is provided, the service processing is performed, so that the security of the service processing is further improved.
In one embodiment, the smart contract module is further to:
encrypting the locked business processing result;
the message center module is further configured to: and after receiving the locked service processing result fed back by the corresponding blockchain platform, calling the intelligent contract module to encrypt the locked service processing result.
In the above embodiment, by encryption processing, non-relevant personnel will not see the locked service processing result, so as to prevent data from being stolen, tampered and forged, for example, the entrusted data of the securities trade on the investor, the communication security, etc. ensure that the information is transmitted securely on the internet, and the encryption transmission method mainly uses encryption technology, digital signature technology, time stamp, digital certificate technology, etc., and the most commonly used technology is secure sockets layer protocol (SSL). And when encryption is performed, the block chain platform can be partitioned, namely the block chain platform with the need can be used for encryption, and the block chain platform without encryption has high flexibility.
In an embodiment, the message center module is further configured to:
after determining that the service processing fails, sending a service rollback command to the corresponding blockchain platform;
the blockchain platform is also used to: after receiving the service rollback command, rollback the service.
In the above embodiment, in order to ensure the security of the service, the service that fails to be processed is rolled back.
Based on the above embodiments, the present application provides the following embodiments to explain the detailed flow of the service processing. Fig. 3 is a schematic diagram of a service processing flow in an embodiment of the present application, for a service being transaction processing, the upstream service information is transaction information in fig. 3, first, a service flow analysis module determines that link information is a link of a-C-B, and sends a hash value H corresponding to a preset primitive R of a link information and a blockchain platform B to a message center module a, analyzes a service processing node and a processing sequence in each blockchain platform of the service, where the blockchain platform a corresponds to the message center module a, the blockchain platform B corresponds to the message center module B, and the blockchain platform C corresponds to the message center module C, and performs signature consensus based on the link information stored in the service flow analysis module, and specific service flows can be divided into two cases:
case one: blockchain platform C handles traffic
The block chain platform A executes service processing logic and locks a service processing result A; the locked business processing result A is fed back to the message center module A, and the message center module A calls the intelligent contract module to encrypt the locked business processing result A; the message center module A sends the hash value, upstream service information and link information to the message center module B, wherein the upstream service information comprises a service processing result A; the intelligent contract module starts a time lock;
after receiving the information sent by the message center module A, the message center module B calls an identity authentication module to verify whether the blockchain platform B has authority to process the service, and obtains an authority verification result, when the authority verification result is authority, the received link information is verified, when the verification result is not passed, the service is backed, then whether the identification of the blockchain platform A of the link information stored in the service flow analysis module is consistent with the identification of the blockchain platform A in the upstream service information is judged, when the judgment result is consistent and the verification result is passed, a service processing command and the upstream service information are sent to the blockchain platform B, and the blockchain platform B executes service processing logic according to the upstream service information to lock the service processing result B; feeding back a locked service processing result B to the corresponding message center module; the message center module B calls the intelligent contract module to encrypt the locked service processing result B; the message center module B sends the hash value, upstream service information and link information to the message center module C, wherein the upstream service information comprises a service processing result B; the intelligent contract module starts a time lock;
after receiving the information sent by the message center module B, the message center module C calls an identity authentication module to verify whether the blockchain platform C has authority to process the service, and obtains an authority verification result, when the authority verification result is authority, the received link information is verified, when the verification result is not passed, the service is backed, then whether the identification of the blockchain platform B of the link information stored in the service flow analysis module is consistent with the identification of the blockchain platform B in the upstream service information is judged, when the judgment result is consistent and the verification result is passed, a service processing command and the upstream service information are sent to the blockchain platform C, and the blockchain platform C executes service processing logic according to the upstream service information to lock the service processing result C; feeding back a locked service processing result C to the corresponding message center module; the message center module C calls the intelligent contract module to encrypt the locked business processing result C.
The message center module B provides a preset original image R for the message center module C, the intelligent contract module judges whether the preset original image R is received within a preset time period, if so, the service processing result C is unlocked, the success of the service processing of the block chain platform C is determined, otherwise, the failure of the service processing is determined, and the service rollback is carried out;
the message center module C provides a preset original image R for the message center module A, the intelligent contract module judges whether the preset original image R is received within a preset time period, if yes, the service processing result A is unlocked, the success of the service processing of the block chain platform A is determined, otherwise, the failure of the service processing is determined, and the service rollback is carried out.
And a second case: the block chain platform C is used as a transfer station for forwarding information without processing business
The difference between the second case and the first case is embodied on the blockchain platform C, and when the judging result is inconsistent and the verification result is passed, the blockchain platform C is indicated to be a transfer station only, and the information forwarding is performed, but the service is not processed, and then the hash value, the upstream service information and the link information are sent to the blockchain platform C, otherwise the hash value, the upstream service information and the link information are the same as the first case, and the details are not repeated here.
In summary, in the system provided by the embodiment of the application, the link information of the service flow is determined by the service flow analysis module, and then the message center module is used for sending and receiving the upstream service information of the corresponding blockchain platform, so that cross-platform service processing can be realized, the problems of transaction flow and data sharing between cross-platform heterogeneous platforms in the prior art are solved, the efficiency is high, the success judging process of the service processing is provided by the intelligent contract module, and the success judging of the service processing adopts the preset original image and the corresponding hash value and time lock, thereby improving the security of the service processing. In addition, the system also comprises an identity authentication module, and the security of service processing is further improved through authority authentication of each blockchain platform. The intelligent contract module is also used for encrypting the locked business processing result, so that non-relevant personnel can not see the locked business processing result, data can be prevented from being stolen, tampered and forged, and when encryption is carried out, the encryption can be carried out by the block chain platform, namely the block chain platform with the need can be used for encryption, and the other block chain platforms can be used for not encryption, so that the flexibility is high.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the application, and is not meant to limit the scope of the application, but to limit the application to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the application are intended to be included within the scope of the application.

Claims (11)

1. A business processing system of a cross-block chain platform, comprising: at least one blockchain platform, a message center module corresponding to each blockchain platform, an intelligent contract module and a business process analysis module, wherein,
the business process analysis module is used for determining link information of the business process, wherein the link information comprises a plurality of block chain platforms for processing business in the business process; the method comprises the steps of sending a hash value corresponding to a preset original image of a terminal block chain platform of a service in a link information and service flow to a message center module corresponding to a starting block chain platform;
the message center module is used for verifying the received link information by inquiring the link information stored in the business process analysis module when the hash value, the upstream business information and the link information sent by the message center module corresponding to the upstream blockchain platform are received, wherein the upstream business information comprises a locked business processing result of the upstream blockchain platform, when the verification result is passed, a business processing command and the upstream business information are sent to the corresponding blockchain platform, and the locked business processing result fed back by the corresponding blockchain platform is received, when the corresponding blockchain platform is not the end point blockchain platform, the hash value, the updated business information and the link information are sent to the message center module corresponding to the downstream blockchain platform, the updated business information comprises the locked business processing result fed back by the corresponding blockchain platform, when the corresponding blockchain platform is the end point blockchain platform, the intelligent contract module is called to judge whether the business processing of the end point blockchain platform is successful or not based on the received hash value, and when the business processing judgment result of the corresponding blockchain platform is successful, the preset message center module is sent to the upstream blockchain platform; after receiving the preset original image, calling an intelligent contract module to judge whether the business processing of the corresponding block chain platform is successful or not;
the block chain platform is used for receiving the service processing command and the upstream service information sent by the corresponding message center module, executing service processing logic according to the upstream service information and locking the service processing result; feeding back a locked service processing result to the corresponding message center module;
the intelligent contract module is used for starting a time lock after the message center module corresponding to the blockchain platform sends the hash value, the upstream service information and the link information to the message center module corresponding to the downstream blockchain platform, unlocking the service processing result after the message center module corresponding to the blockchain platform receives the preset original image in the preset time, and determining that the service processing of the blockchain platform is successful, otherwise, determining that the service processing of the blockchain platform is failed; when the block chain platform is the end block chain platform, if the preset original image of the end block chain platform is consistent with the received hash value, the service processing is determined to be successful, otherwise, the service processing is determined to be failed.
2. The traffic processing system of a cross-block chain platform of claim 1, wherein the message center module is specifically configured to:
when verifying the received link information, the following steps are executed:
judging whether a downstream blockchain platform in the received link information is a blockchain platform corresponding to the message center module or not, and obtaining a first judgment result;
inquiring whether a downstream blockchain platform in the link information stored in the business flow analysis module is a blockchain platform corresponding to the message center module or not, and obtaining a second judgment result;
and when the first judging result and the second judging result are both yes, determining that the verification result is verification passing, otherwise, determining that the verification result is verification failing.
3. The traffic processing system of the cross-block chain platform of claim 1, wherein the message center module is further configured to:
and when the verification result is that the service processing of the corresponding block chain platform fails, determining that the service processing of the corresponding block chain platform fails.
4. The traffic processing system of the cross-regional blockchain platform of claim 1, wherein the upstream traffic information includes an identification of an upstream blockchain platform;
the message center module is further configured to: when the hash value, the upstream service information and the link information which are sent by the message center module corresponding to the upstream blockchain platform are received, whether the identification of the upstream blockchain platform of the link information stored in the service flow analysis module is consistent with the identification of the upstream blockchain platform in the upstream service information is judged, when the judgment result is consistent and the verification result is passing, a service processing command and the upstream service information are sent to the corresponding blockchain platform, and when the judgment result is inconsistent and the verification result is passing, the hash value, the upstream service information and the link information are sent to the message center module corresponding to the downstream blockchain platform.
5. The business processing system of the cross-block chain platform of claim 1, wherein the business process analysis module is further configured to:
and analyzing the service processing nodes and the processing sequence in the block chain platform of the service.
6. The business processing system of the cross-block chain platform of claim 5, wherein the block chain platform is further configured to:
and executing service processing logic according to the service processing nodes and the processing sequence and the upstream service information.
7. The traffic processing system of the cross-block chain platform of claim 5, wherein the message center module is further configured to:
and applying a load balancing strategy to the blockchain platform corresponding to the message center module, and allowing one service processing node to start a plurality of examples when executing service processing logic.
8. The traffic processing system of the cross-block chain platform of claim 1, wherein the message center module is further configured to:
and carrying out signature consensus based on the link information stored in the business process analysis module.
9. The traffic processing system of the cross-block chain platform of claim 1, further comprising: identity authentication module for:
verifying whether the blockchain platform has authority to process the service or not based on a preset authority verification rule and an identity certificate of the blockchain platform;
the message center module is further configured to:
before sending a service processing command and upstream service information to a corresponding blockchain platform, invoking an identity authentication module to verify whether the corresponding blockchain platform has authority to process the service or not, and obtaining an authority verification result;
and when the authority verification result is that the authority is authorized, sending a service processing command and upstream service information to the corresponding blockchain platform.
10. The traffic processing system of a cross-block chain platform of any of claims 1-9, wherein the smart contract module is further to:
encrypting the locked business processing result;
the message center module is further configured to: and after receiving the locked service processing result fed back by the corresponding blockchain platform, calling the intelligent contract module to encrypt the locked service processing result.
11. The traffic processing system of a cross-block chain platform of any of claims 1-9, wherein the message center module is further configured to:
after determining that the service processing fails, sending a service rollback command to the corresponding blockchain platform;
the blockchain platform is also used to: after receiving the service rollback command, rollback the service.
CN202010644376.1A 2020-07-07 2020-07-07 Service processing system of cross-block chain platform Active CN111652617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010644376.1A CN111652617B (en) 2020-07-07 2020-07-07 Service processing system of cross-block chain platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010644376.1A CN111652617B (en) 2020-07-07 2020-07-07 Service processing system of cross-block chain platform

Publications (2)

Publication Number Publication Date
CN111652617A CN111652617A (en) 2020-09-11
CN111652617B true CN111652617B (en) 2023-09-22

Family

ID=72345576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010644376.1A Active CN111652617B (en) 2020-07-07 2020-07-07 Service processing system of cross-block chain platform

Country Status (1)

Country Link
CN (1) CN111652617B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112785201B (en) * 2021-02-08 2024-02-06 中国工商银行股份有限公司 Heterogeneous system quasi-real-time high-reliability interaction system and method
CN112804262B (en) * 2021-03-19 2021-07-27 北京万物智链科技有限公司 Safety guarantee method and system in block chain cross-chain communication
CN113436015A (en) * 2021-06-30 2021-09-24 中元众诚(北京)科技有限公司 Block chain-based chained database and operation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN108616578A (en) * 2018-04-09 2018-10-02 上海点融信息科技有限责任公司 Method for processing business, equipment and the computer readable storage medium of transregional piece of platform chain
WO2018232494A1 (en) * 2017-06-23 2018-12-27 Zeu Crypto Networks Inc. A network of blockchains capable of cross-chain transactions
CN110035045A (en) * 2018-11-16 2019-07-19 阿里巴巴集团控股有限公司 Across the credible management method and device of chain data, electronic equipment
CN110046996A (en) * 2019-01-18 2019-07-23 阿里巴巴集团控股有限公司 The generation method and device of block chain transaction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018232494A1 (en) * 2017-06-23 2018-12-27 Zeu Crypto Networks Inc. A network of blockchains capable of cross-chain transactions
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN108616578A (en) * 2018-04-09 2018-10-02 上海点融信息科技有限责任公司 Method for processing business, equipment and the computer readable storage medium of transregional piece of platform chain
CN110035045A (en) * 2018-11-16 2019-07-19 阿里巴巴集团控股有限公司 Across the credible management method and device of chain data, electronic equipment
CN110046996A (en) * 2019-01-18 2019-07-23 阿里巴巴集团控股有限公司 The generation method and device of block chain transaction

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭朝等.区块链跨链技术分析.物联网学报.2020,第4卷(第2期),35-48. *

Also Published As

Publication number Publication date
CN111652617A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN111652617B (en) Service processing system of cross-block chain platform
CN112287029B (en) Block chain multi-chain cross-chain system and implementation mechanism thereof
CN108600301B (en) Cross-link method between block chains and main block chain
CN110958110B (en) Block chain private data management method and system based on zero knowledge proof
CN112994892B (en) Cross-chain interaction method, device, system and electronic equipment
CN113746858B (en) Cross-chain communication method based on verifiable random function
CN111107136A (en) Block chain cross-chain relay method based on IPFS
CN112529706B (en) Decentralizing heterogeneous public chain asset exchange method
CN111046437A (en) Block chain parallel transaction processing method and system based on isomorphic multi-chain and terminal
CN111640017A (en) Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN113225736B (en) Unmanned aerial vehicle cluster node authentication method and device, storage medium and computer equipment
CN112507393B (en) Method for guaranteeing consistency of block chain cross-chain transaction
CN113850599B (en) Cross-link transaction method and system applied to alliance link
CN110930153B (en) Block chain privacy data management method and system based on hidden third party account
CN114255031A (en) System for executing cross block chain of transaction, cross chain transaction method and equipment
CN111899002A (en) Method for efficiently performing cross-chain information transaction interaction in block chain
CN113360861B (en) Mortgage loan oriented decentralized identity method based on repeater cross-chain
CN113556234A (en) Block chain cross-chain communication method and system
CN115174570B (en) Cross-chain consensus method and system based on dynamic committee
CN111797171A (en) Data synchronization system based on block chain cross-chain technology
CN113627906B (en) Cross-chain transaction method, system and storage medium of Hash locking and side chain technology
CN112950180A (en) Community certificate method and system based on alliance chain, electronic device and storage medium
CN116777631B (en) Transaction uplink method and device based on blockchain, equipment and medium
Pang et al. AbitBridge: A cross-chain protocol based on main-sub-chain architecture
CN114022150B (en) Resource transfer method, device, electronic equipment and storage medium

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