CN111652617A - Service processing system of trans-block chain platform - Google Patents

Service processing system of trans-block chain platform Download PDF

Info

Publication number
CN111652617A
CN111652617A CN202010644376.1A CN202010644376A CN111652617A CN 111652617 A CN111652617 A CN 111652617A CN 202010644376 A CN202010644376 A CN 202010644376A CN 111652617 A CN111652617 A CN 111652617A
Authority
CN
China
Prior art keywords
service processing
block chain
service
platform
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.)
Granted
Application number
CN202010644376.1A
Other languages
Chinese (zh)
Other versions
CN111652617B (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

Images

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

Abstract

The invention provides a service processing system of a trans-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, sending 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 sending 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 service processing of the corresponding block chain platform is successful; the block chain platform is used for executing the service processing logic and locking a service processing result; and 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 block chain platform receives the preset original image within the preset time length. The invention has good safety and high efficiency.

Description

Service processing system of trans-block chain platform
Technical Field
The invention relates to the technical field of block chains, in particular to a service processing system of a cross-block chain platform.
Background
With the development of blockchain technology, various organizations have introduced their own blockchain platforms, which have many differences in architecture and technology. Along with the expansion of the actual application scene, each organization actively promotes and uses the respective block chain platform, and simultaneously strengthens interconnection and intercommunication and cooperative communication. However, most of the current block chain application scenarios are established for homogeneous block chain systems, the transaction link is clear, and the transaction flow is relatively simple. In the face of a complex multilink transaction process, a plurality of mechanisms are required to be cooperatively completed in a unified and intercommunicated block chain system, the existing system is difficult to rapidly transplant, apply and analyze the complex transaction link process and realize direct interaction and data sharing of heterogeneous block chains, and the existing cross-link technology only aims at data interaction of a plurality of chains under the isomorphic technology and cannot solve the problems of transaction flow and data sharing between heterogeneous platforms. The complex scenes and heterogeneous factors become barriers of application parties in traditional business transformation cooperation, different block chain platform technologies become technical barriers of interconnection cooperation from principle, architecture to implementation, and block chaining of a complete business process is limited to a great extent.
Therefore, based on the above problems, a safe and efficient service processing system crossing a blockchain platform is lacking at present.
Disclosure of Invention
The embodiment of the invention provides a service processing system of a trans-block chain platform, which is used for solving the service processing problem of the trans-block chain platform and has good safety and high efficiency, and the system comprises:
at least one block chain platform, a message center module corresponding to each block chain platform, an intelligent contract module and a business process analysis module, wherein,
the system comprises a business process analysis module, a business process analysis module and a business processing module, wherein the business process analysis module is used for determining link information of a business process, and the link information comprises a plurality of block chain platforms for processing business in the business process; sending the link information and a hash value corresponding to a preset original image of a destination block chain platform of a service in the service flow to a message center module corresponding to a starting block chain platform;
a message center module, configured to verify received link information by querying link information stored in a service flow analysis module when receiving a hash value, upstream service information, and link information sent by a message center module corresponding to an upstream blockchain platform, send a service processing command, the upstream service information to the corresponding blockchain platform when the verification result passes, and receive a locked service processing result fed back by the corresponding blockchain platform, and send the hash value, updated service information, and link information to a message center module corresponding to a downstream blockchain platform when the corresponding blockchain platform is not a destination blockchain platform, where the updated service information includes the locked service processing result fed back by the corresponding blockchain platform, when the corresponding blockchain platform is the terminal blockchain platform, calling an intelligent contract module to judge whether the service processing of the terminal blockchain platform is successful or not based on the received hash value, and when the service processing judgment result is that the service processing of the corresponding blockchain platform is successful, sending a preset original image to a message center module corresponding to an upstream blockchain platform; after receiving the preset original image, calling an intelligent contract module to judge whether the service processing of the corresponding block chain platform is successful;
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 a service processing result; feeding back the locked service processing result to the corresponding message center module;
the intelligent contract module is used for starting a time lock after a message center module corresponding to the block chain platform sends a hash value, upstream service information and link information to a message center module corresponding to a downstream block chain platform, unlocking a service processing result after the message center module corresponding to the block chain platform receives a preset original image within a preset time length, and determining that the service processing of the block chain platform is successful, or else determining that the service processing of the block chain platform is failed, wherein the preset time length is the time length from the time of starting the time lock to the time of receiving the preset original image; and when the blockchain platform is the terminal blockchain platform, if the preset original image of the terminal blockchain platform is consistent with the received hash value, determining that the service processing is successful, otherwise, determining that the service processing is failed.
In the embodiment of the invention, the service flow analysis module is used for determining the link information of the service flow, and the message center module is used for sending and receiving the upstream service information of the corresponding block chain platform, so that the cross-platform service 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 intelligent contract module is used for providing a service processing success judgment process, whether the service processing is successful or not is judged by adopting the preset original image, the corresponding hash value and the time lock, and the safety of the service processing is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a service processing system of a cross-blockchain platform according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a plurality of blockchain platforms performing early preparation before service processing according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a service processing flow in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are used in an open-ended fashion, i.e., to mean including, but not limited to. Reference to the description of the 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, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is for illustrative purposes to illustrate the implementation of the present application, and the sequence of steps is not limited and can be adjusted as needed.
The inventor finds that the existing alliance chain application scene is directed at the same chain or cross-chain application of the same bottom layer architecture, the business information flow is on the same technical architecture, and the method is suitable for the situation that multiple cooperative parties belong to the same chain. Most of the existing cross-chain technology research is also directed to communication among multiple chains of the same technology platform. However, as the application field of the blockchain technology is expanded, various research institutions also push out distinctive blockchain application platforms at a time, for complex business processes involving multiple parties, binding all collaborators on the same chain gradually no longer has operability, which results in the limited application field of blockchain business, is not favorable for mutual cooperation of all links in the business processes, and also results in non-uniformity of data views and higher cost for data maintenance due to vertical division of data in a multi-chain-based small-range business process.
Therefore, the embodiment of the invention provides a service processing system of a cross-block chain platform, which is a processing system compatible with a controllable service process of interconnection and intercommunication of multi-type block chain platforms, and ensures that heterogeneous multi-platforms jointly complete service information transfer by using a reliable message center module and an intelligent contract module (the intelligent contract module adopts an improved hash time locking contract mechanism), thereby ensuring timeliness, safety and atomicity of processing, and providing a feasible cooperation scheme for transferring complex service processes involving 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 in an embodiment of the present invention, 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 service flow analysis module 104, configured to determine link information of a service flow, where the link information includes a plurality of block chain platforms that process services in the service flow; sending the link information and a hash value corresponding to a preset original image of a destination block chain platform of a service in the service flow to a message center module corresponding to a starting block chain platform;
a message center module 102, configured to verify received link information by querying link information stored in a service flow analysis module when receiving a hash value, upstream service information, and link information sent by a message center module corresponding to an upstream blockchain platform, send a service processing command, upstream service information to the corresponding blockchain platform when the verification result is a pass-through result, and receive a locked service processing result fed back by the corresponding blockchain platform, and send the hash value, updated service information, and link information to a message center module corresponding to a downstream blockchain platform when the corresponding blockchain platform is not an end-point blockchain platform, where the updated service information includes the locked service processing result fed back by the corresponding blockchain platform, when the corresponding blockchain platform is the terminal blockchain platform, calling an intelligent contract module to judge whether the service processing of the terminal blockchain platform is successful or not based on the received hash value, and when the service processing judgment result is that the service processing of the corresponding blockchain platform is successful, sending a preset original image to a message center module corresponding to an upstream blockchain platform; after receiving the preset original image, calling an intelligent contract module to judge whether the service processing of the corresponding block chain platform is successful;
the block chain platform 101 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 a service processing result; feeding back the locked service processing result to the corresponding message center module;
the intelligent contract module 103 is used for starting a time lock after a message center module corresponding to a blockchain platform sends a hash value, upstream service information and link information to a message center module corresponding to a 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 length, and determining that the service processing of the blockchain platform is successful, or else determining that the service processing of the blockchain platform is failed, wherein the preset time length is the time length from the time of starting the time lock to the time of receiving the preset original image; and when the blockchain platform is the terminal blockchain platform, if the preset original image of the terminal blockchain platform is consistent with the received hash value, determining that the service processing is successful, otherwise, determining that the service processing is failed.
In the system, the service flow analysis module is used for determining the link information of the service flow, and the message center module is used for sending and receiving the upstream service information of the corresponding block chain platform, so that cross-platform service 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 service processing success judgment process is given through the intelligent contract module, the preset original image, the corresponding hash value and the time lock are adopted for judging whether the service processing is successful, and the safety of the service processing is improved.
As can be seen from fig. 1, the blockchain platforms correspond to the message center modules one to one, and each blockchain platform refers to a blockchain platform participating in each link of the whole service process, and these platforms may belong to different organizations or different organizations, or may adopt different underlying implementation technologies, and the alliance chain implemented by each blockchain platform may also include multiple participating partners or subsystems, which are main bodies for implementing sub-service processes and provide underlying functions of the blockchain, such as data storage and transaction synchronization. The business processing in the embodiment of the invention can be various banking businesses 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 illustrating that a plurality of blockchain platforms perform preliminary preparation before service processing in an embodiment of the present invention, where as shown in fig. 2, this example provides 3 blockchain platforms, and a message channel between each blockchain platform is realized by a message center module in an embodiment of the present invention, where link information is link information of a service flow determined by a service flow analysis module, for example, in fig. 2, a destination blockchain platform of a service in the service flow is a blockchain platform B, a start blockchain platform is a blockchain platform a, and then link information is a-C-B, and after the link information is determined, the service flow analysis module sends the link information to a message center module corresponding to the blockchain platform a. After the service flow analysis module determines the link information, the link information can be formed into a service forwarding routing table, so that subsequent query and use are facilitated.
In one 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 service flow analysis module when the previous preparation is performed, and performing signature consensus on the link information, thereby ensuring the security and reliability of service processing on each block chain platform.
In addition, during the preparation in the previous period, the business process analysis module also determines a preset original image R of the terminal block chain platform, and then sends a hash value corresponding to the preset original image R to the message center module corresponding to the starting block chain platform, wherein the hash value is used for ensuring the correctness of the whole link flow.
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 that the exchange of the identity certificates of the respective platforms is realized, and the identity authentication module 105 can perform identity authentication subsequently.
In an embodiment of the present invention, when receiving a hash value, upstream service information, and link information sent by a message center module corresponding to an upstream blockchain platform, a message center module verifies the received link information by querying link information stored in a service flow analysis module, and in an embodiment, the message center module is specifically configured to:
when the received link information is verified, the following steps are executed:
judging whether a downstream block chain platform in the received link information is a block chain platform corresponding to the message center module or not, and obtaining a first judgment result;
inquiring whether a downstream block chain platform in link information stored in a business process analysis module is a block chain platform corresponding to the message center module or not to obtain a second judgment result;
and when the first judgment result and the second judgment result are both yes, determining that the verification result is that the verification is passed, otherwise, determining that the verification result is that the verification is not passed.
In the above embodiment, the message center module performs double verification on the link information, where the first double verification is to verify the received link information sent by the message center module corresponding to the upstream blockchain platform, where the link information indicates the downstream blockchain platform, and at this time, it is determined whether the downstream blockchain platform is a blockchain platform corresponding to the message center module, and during specific verification, an identity certificate or an identifier of the blockchain platform may be used for verification, where the identity certificate has been exchanged at each blockchain platform during early preparation. The second re-verification is that link information is also stored in the service flow analysis module, and at this time, it is to be verified whether the downstream blockchain platform in the link information is the blockchain platform corresponding to the message center module, and only when both verifications pass, the verification result can be said to be that the verification passes.
In one embodiment, the message center module is further configured to:
and when the verification result is that the service processing 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 the service processing failure, and then the message center module corresponding to the upstream block chain platform may also feed back the service processing failure information. For example, in fig. 2, if the verification fails at the b blockchain platform C, the message center module corresponding to the b blockchain platform C feeds back the service processing failure information to the message center module corresponding to the b 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 receiving a hash value, upstream service information and link information sent by a message center module corresponding to an upstream block chain platform, judging whether an identifier of the upstream block chain platform of the link information stored in a service flow analysis module is consistent with an identifier of the upstream block chain platform in the upstream service information, sending a service processing command and the upstream service information to the corresponding block chain platform when the judgment result is consistent and the verification result is passed, and sending the hash value, the upstream service information and the link information to a message center module corresponding to a downstream block chain platform when the judgment result is inconsistent and the verification result is passed.
In the above embodiment, the identifier may be an ID or token of the blockchain platform. Besides the identification, the identity certificate of the blockchain platform can be judged to verify whether the identity certificate is consistent. Besides the identification and the identity certificate, other rules can be formulated, related variations all fall within the protection scope of the invention, 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 service processing nodes and processing sequences 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 at each service processing node is determined, so as to ensure normal processing of the service.
In one embodiment, the blockchain platform is further configured to:
and executing the service processing logic according to the service processing node, the processing sequence and the upstream service information.
In the above embodiment, taking the account deduction service in the example in fig. 2 as an example, the blockchain platform a executes all service processing logics of account deduction, including completion of account inquiry, balance check, deduction condition check, and the like, and executes a deduction action in the last step, but at this time, the blockchain platform a locks a service processing result, that is, does not execute the last deduction action, and feeds back the locked service processing result, and only after a preset primitive R of the blockchain platform C is received within a preset time period, the service processing result is unlocked, that is, the deduction action is executed. The improved Hash time lock principle of the intelligent contract module is mainly utilized, and the atomicity and the safety of business processing are guaranteed.
In one embodiment, the message center module is further configured to:
and applying a load balancing strategy to the block chain platform corresponding to the message center module, and allowing one service processing node to start a plurality of instances when executing the service processing logic.
In the above embodiment, the load balancing policy may be implemented by an open source framework, and a service processing node is allowed to start multiple instances when executing a service processing logic, that is, concurrence of service processing is implemented, so that high availability and stability of the system are ensured.
In one embodiment, the system further comprises an identity authentication module 105 for:
verifying whether the blockchain platform has the authority processing 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 a service processing command and upstream service information are sent to a corresponding block chain platform, an identity authentication module is called to verify whether the corresponding block chain platform has an authority processing service, and an authority verification result is obtained;
and when the authority verification result is that the authority exists, sending a service processing command and upstream service information to the corresponding block chain platform.
In the above embodiment, before all the service processing is performed, whether the block chain platform has the authority to process the service is performed first, and the service processing is performed only when the block chain platform has the authority, so that the security of the service processing is further improved.
In one embodiment, the intelligent contract module is further configured to:
encrypting the locked service processing result;
the message center module is further configured to: and after receiving the locked service processing result fed back by the corresponding block chain platform, calling an intelligent contract module to encrypt the locked service processing result.
In the above embodiment, through the encryption process, the non-related person cannot see the locked business process result, and the data is prevented from being stolen, tampered and forged, for example, entrusted data of security trading on the investor, communication security and other guarantee information are transmitted securely on the internet, the encryption transmission method mainly uses an encryption technology, a digital signature technology, a timestamp, a digital certificate technology and the like, and the most common technology is a secure session layer protocol (SSL). When encryption is carried out, the encryption can be carried out by partitioning the blockchain platform, namely, the blockchain platform with the requirement can be encrypted, and the blockchain platform with the requirement can not be encrypted, so that the flexibility is high.
In one embodiment, the message center module is further configured to:
after determining that the service processing fails, sending a service rollback command to a corresponding block chain platform;
the blockchain platform is further configured to: and after receiving the service backspacing command, backspacing the service.
In the above embodiment, in order to ensure the security of the traffic, the traffic with failed processing needs to be rolled back.
Based on the above embodiments, the present invention provides the following embodiment to explain the detailed flow of the business process. Fig. 3 is a schematic diagram of a service processing flow in an embodiment of the present invention, and for a service being transaction processing, an upstream service information is the transaction information in fig. 3, first, a service flow analysis module determines that link information is a link a-C-B, and sends the link information and a hash value H corresponding to a preset primitive R of a blockchain platform B to a message center module a, and 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, the blockchain platform C corresponds to the message center module C, and the three message center modules perform signature consensus based on the link information stored in the service flow analysis module, and a specific service flow may be divided into two cases:
the first condition is as follows: block chain platform C handles traffic
The block chain platform A executes the service processing logic and locks a service processing result A; feeding back a locked service processing result A to the message center module A, and calling the intelligent contract module by the message center module A to encrypt the locked service processing result A; the message center module A sends a 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 block chain platform B has the authority processing service, an authority verification result is obtained, when the authority verification result is right, the received link information is verified, when the verification result is not passed, the service is returned, then whether the identification of the block chain platform A of the link information stored in the service flow analysis module is consistent with the identification of the block chain 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 block chain platform B, the block chain platform B executes service processing logic according to the upstream service information, and the service processing result B is locked; feeding back a locked service processing result B to a corresponding message center module; the message center module B calls an intelligent contract module to encrypt the locked service processing result B; the message center module B sends a 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 block chain platform C has the authority processing service, an authority verification result is obtained, when the authority verification result is right, the received link information is verified, when the authority verification result is not passed, the service is returned, then whether the identification of the block chain platform B of the link information stored in the service flow analysis module is consistent with the identification of the block chain 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 block chain platform C, the block chain platform C executes a service processing logic according to the upstream service information, and the service processing result C is locked; feeding back a locked service processing result C to a corresponding message center module; and the message center module C calls an intelligent contract module to encrypt the locked service processing result C.
The message center module B provides a preset original image R to the message center module C, the intelligent contract module judges whether the preset original image R is received within a preset time length, if so, the service processing result C is unlocked, the block chain platform C is determined to be successfully processed, and if not, the service processing is determined to be failed, and service rollback is performed;
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 length, if yes, the service processing result A is unlocked, the block chain platform A is determined to be successfully processed, and if not, the service processing is determined to be failed, and service rollback is performed.
Case two: the block chain platform C is used as a transfer station for information forwarding and business processing
The difference between the second case and the first case is embodied in the blockchain platform C, and when the determination result of the message center module C is inconsistent and the verification result is passed, it indicates that the blockchain platform C is only a transfer station and performs information forwarding, but does not process a service, and then sends the hash value, the upstream service information, and the link information to the message center module C, and the others are the same as the first case, and are not described herein again.
In summary, in the system provided in the embodiment of the present invention, the service flow analysis module determines the link information of the service flow, and the message center module sends and receives the upstream service information of the corresponding blockchain platform, so that cross-platform service processing can be implemented, the problems of transaction flow and data sharing between cross-platform heterogeneous platforms in the prior art are solved, efficiency is high, a service processing success determination process is provided by the intelligent contract module, and whether the service processing succeeds or not is determined by using the preset primitive, the corresponding hash value, and the time lock, so that the security of service processing is improved. In addition, the system also comprises an identity authentication module, and the safety of service processing is further improved through the authority authentication of each block chain platform. The intelligent contract module is also used for encrypting the locked service processing result, so that non-related personnel can not see the locked service processing result, and data is prevented from being stolen, tampered and forged.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A service processing system for a cross-blockchain platform, comprising: at least one block chain platform, a message center module corresponding to each block chain platform, an intelligent contract module and a business process analysis module, wherein,
the system comprises a business process analysis module, a business process analysis module and a business processing module, wherein the business process analysis module is used for determining link information of a business process, and the link information comprises a plurality of block chain platforms for processing business in the business process; sending the link information and a hash value corresponding to a preset original image of a destination block chain platform of a service in the service flow to a message center module corresponding to a starting block chain platform;
a message center module, configured to verify received link information by querying link information stored in a service flow analysis module when receiving a hash value, upstream service information, and link information sent by a message center module corresponding to an upstream blockchain platform, send a service processing command, the upstream service information to the corresponding blockchain platform when the verification result passes, and receive a locked service processing result fed back by the corresponding blockchain platform, and send the hash value, updated service information, and link information to a message center module corresponding to a downstream blockchain platform when the corresponding blockchain platform is not a destination blockchain platform, where the updated service information includes the locked service processing result fed back by the corresponding blockchain platform, when the corresponding blockchain platform is the terminal blockchain platform, calling an intelligent contract module to judge whether the service processing of the terminal blockchain platform is successful or not based on the received hash value, and when the service processing judgment result is that the service processing of the corresponding blockchain platform is successful, sending a preset original image to a message center module corresponding to an upstream blockchain platform; after receiving the preset original image, calling an intelligent contract module to judge whether the service processing of the corresponding block chain platform is successful;
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 a service processing result; feeding back the locked service processing result to the corresponding message center module;
the intelligent contract module is used for starting a time lock after a message center module corresponding to the block chain platform sends a hash value, upstream service information and link information to a message center module corresponding to a downstream block chain platform, unlocking a service processing result after the message center module corresponding to the block chain platform receives a preset original image within a preset time length, and determining that the service processing of the block chain platform is successful, or else determining that the service processing of the block chain platform is failed, wherein the preset time length is the time length from the time of starting the time lock to the time of receiving the preset original image; and when the blockchain platform is the terminal blockchain platform, if the preset original image of the terminal blockchain platform is consistent with the received hash value, determining that the service processing is successful, otherwise, determining that the service processing is failed.
2. The system of claim 1, wherein the message center module is specifically configured to:
when the received link information is verified, the following steps are executed:
judging whether a downstream block chain platform in the received link information is a block chain platform corresponding to the message center module or not, and obtaining a first judgment result;
inquiring whether a downstream block chain platform in link information stored in a business process analysis module is a block chain platform corresponding to the message center module or not to obtain a second judgment result;
and when the first judgment result and the second judgment result are both yes, determining that the verification result is that the verification is passed, otherwise, determining that the verification result is that the verification is not passed.
3. The system for service processing across a blockchain platform as recited in claim 1, wherein the message center module is further configured to:
and when the verification result is that the service processing fails, determining that the service processing of the corresponding block chain platform fails.
4. The system for service processing across blockchain platforms according to claim 1, wherein said upstream service information includes an identification of an upstream blockchain platform;
the message center module is further configured to: when receiving a hash value, upstream service information and link information sent by a message center module corresponding to an upstream block chain platform, judging whether an identifier of the upstream block chain platform of the link information stored in a service flow analysis module is consistent with an identifier of the upstream block chain platform in the upstream service information, sending a service processing command and the upstream service information to the corresponding block chain platform when the judgment result is consistent and the verification result is passed, and sending the hash value, the upstream service information and the link information to a message center module corresponding to a downstream block chain platform when the judgment result is inconsistent and the verification result is passed.
5. The system for service processing across a blockchain platform as recited in claim 1, wherein the service flow analysis module is further configured to:
and analyzing service processing nodes and processing sequences in the block chain platform of the service.
6. The system for service processing across a blockchain platform of claim 5, wherein the blockchain platform is further configured to:
and executing the service processing logic according to the service processing node, the processing sequence and the upstream service information.
7. The system for service processing across a blockchain platform as recited in claim 5 wherein the message center module is further configured to:
and applying a load balancing strategy to the block chain platform corresponding to the message center module, and allowing one service processing node to start a plurality of instances when executing the service processing logic.
8. The system for service processing across a blockchain platform as recited in 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 system for service processing across a blockchain platform according to claim 1, further comprising: an identity authentication module to:
verifying whether the blockchain platform has the authority processing 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 a service processing command and upstream service information are sent to a corresponding block chain platform, an identity authentication module is called to verify whether the corresponding block chain platform has an authority processing service, and an authority verification result is obtained;
and when the authority verification result is that the authority exists, sending a service processing command and upstream service information to the corresponding block chain platform.
10. The service processing system of any of claims 1-9, wherein the intelligent contract module is further configured to:
encrypting the locked service processing result;
the message center module is further configured to: and after receiving the locked service processing result fed back by the corresponding block chain platform, calling an intelligent contract module to encrypt the locked service processing result.
11. The service processing system 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 a corresponding block chain platform;
the blockchain platform is further configured to: and after receiving the service backspacing command, backspacing 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 true CN111652617A (en) 2020-09-11
CN111652617B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112785201A (en) * 2021-02-08 2021-05-11 中国工商银行股份有限公司 Heterogeneous system quasi-real-time high-reliability interaction system and method
CN112804262A (en) * 2021-03-19 2021-05-14 北京万物智链科技有限公司 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
郭朝等: "区块链跨链技术分析" *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112785201A (en) * 2021-02-08 2021-05-11 中国工商银行股份有限公司 Heterogeneous system quasi-real-time high-reliability interaction system and method
CN112785201B (en) * 2021-02-08 2024-02-06 中国工商银行股份有限公司 Heterogeneous system quasi-real-time high-reliability interaction system and method
CN112804262A (en) * 2021-03-19 2021-05-14 北京万物智链科技有限公司 Safety guarantee method and system in block chain cross-chain communication
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

Also Published As

Publication number Publication date
CN111652617B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
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
CN111652617B (en) Service processing system of cross-block chain platform
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
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
CN112507393B (en) Method for guaranteeing consistency of block chain cross-chain transaction
CN111275555B (en) Block chain transaction processing method, transaction node and block chain system
CN113225736B (en) Unmanned aerial vehicle cluster node authentication method and device, storage medium and computer equipment
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
CN113055176B (en) Terminal authentication method and system, terminal device, P2P verification platform and medium
CN113556234A (en) Block chain cross-chain communication method and system
CN100463462C (en) Coordinate access control system of ternary structure
CN113328854A (en) Service processing method and system based on block chain
CN111797171A (en) Data synchronization system based on block chain cross-chain technology
CN114022150B (en) Resource transfer method, device, electronic equipment and storage medium
CN113660632B (en) V2X identity management method and management system based on blockchain
CN112508703B (en) Isomorphic public-private chain value exchange method
CN112950180A (en) Community certificate method and system based on alliance chain, electronic device and storage medium
CN113450119A (en) Cross-chain docking method and system for directory block chain combined trusted repeater
CN116186749A (en) Block chain-based service processing method and device, electronic equipment and readable medium
CN113839768A (en) Cross-link communication method based on satellite link relay

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