CN110278264A - A kind of method, apparatus and transaction system across chain communication based on block chain - Google Patents

A kind of method, apparatus and transaction system across chain communication based on block chain Download PDF

Info

Publication number
CN110278264A
CN110278264A CN201910534425.3A CN201910534425A CN110278264A CN 110278264 A CN110278264 A CN 110278264A CN 201910534425 A CN201910534425 A CN 201910534425A CN 110278264 A CN110278264 A CN 110278264A
Authority
CN
China
Prior art keywords
operation system
chain
theme
order
committee member
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
CN201910534425.3A
Other languages
Chinese (zh)
Other versions
CN110278264B (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.)
WeBank Co Ltd
Original Assignee
WeBank Co 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201910534425.3A priority Critical patent/CN110278264B/en
Publication of CN110278264A publication Critical patent/CN110278264A/en
Priority to PCT/CN2020/096424 priority patent/WO2020253688A1/en
Application granted granted Critical
Publication of CN110278264B publication Critical patent/CN110278264B/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The method, apparatus and transaction system across chain communication based on block chain that the invention discloses a kind of, suitable for including committee member's chain, multiple operation systems, the transaction system of the corresponding business chain of each operation system.Wherein, method includes: the first operation system according to information the first order of generation obtained from the first business chain, the theme of corresponding second operation system of the first order is determined by committee member's chain, the first order is written by first agent's service in the theme of the second operation system, so that the second operation system services the theme for monitoring the second operation system by second agent, to realize the execution to the first order.The technical solution releases the coupling of each operation system Yu third party's business chain, under the premise of reducing configuration work amount, realizes each business chain of each across chain access of operation system in equity mall system.

Description

A kind of method, apparatus and transaction system across chain communication based on block chain
Technical field
The present embodiments relate to the fields financial technology (Fintech), more particularly to one kind to be based on block chain (BlockChain) the method, apparatus and transaction system across chain communication.
Background technique
With the development of computer technology, more and more technical applications are in financial field, and traditional financial industry is gradually Change to financial technology, block chain technology is no exception, but due to finance, the safety of payment industry, requirement of real-time, also right The higher requirement that block chain technology proposes.
Equity mall system includes multiple operation systems and the corresponding business chain of each operation system, and each operation system needs Corresponding code configuration is carried out, each business chain of across chain access is just able to achieve, is i.e. access third party's business chain.Example as shown in Figure 1 Son includes operation system A, B, C in the equity mall system, respectively corresponds business chain a, b, c, for realize each operation system across Chain access needs to configure the code information of access business chain b, c, similarly, operation system B, C by taking operation system A as an example.In addition, If a newly-increased operation system D and a business chain d, operation system D need to configure the code letter of access business chain a, b, c Breath, similarly, operation system A, B, C need to configure the code information of access business chain d.
Equity mall system in the prior art configures complexity between operation system and business chain, once and Added Business System and business chain then need to configure each operation system, and configuration work amount is big.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus and transaction system across chain communication based on block chain, to solve Except the coupling of each operation system and third party's business chain, under the premise of reducing configuration work amount, realize in equity mall system Each business chain of each across chain access of operation system.
A kind of method across chain communication based on block chain provided in an embodiment of the present invention, is suitable for including committee member's chain, more The transaction system of a operation system, the corresponding business chain of each operation system;It include corresponding with each operation system in committee member's chain Node;Record has the theme of each operation system in the intelligent contract of committee member's chain;Each operation system monitors each operation system Theme in message;
The described method includes:
First operation system generates the first order according to the information obtained from the first business chain;
First operation system determines the master of corresponding second operation system of first order by committee member's chain Topic;
First order is serviced write-in by the first agent of first operation system by first operation system In the theme of second operation system;Second operation system services prison by the second agent of second operation system The theme of second operation system is listened, to realize the execution to first order.
In above-mentioned technical proposal, the first operation system generates the first order, and determines that the first order is corresponding from committee member's chain The second operation system theme, by the first order by first agent service write-in the second operation system theme in, first Operation system is not necessarily to store the theme of each operation system, communicates without configuring in the first operation system with third party's business chain Relevant information, the first operation system only needs to safeguard the business chain of oneself and the relationship between committee member's chain, reduce The maintenance work of first operation system.Further, when a newly-increased operation system and a business chain, Added Business system are matched The relevant information between oneself business chain and committee member's chain is set, without the information between configuration and other existing business chains, Yi Jiqi Its existing operation system reduces Added Business system and business chain without the relationship between configuration and the Added Business chain Configuration work.
Optionally, first order is serviced write-in described second by the first agent by first operation system In the theme of operation system, comprising:
First operation system, which services first order by the first agent, is written the of committee member's chain In the theme of second operation system of one node, so that first order is synchronized to described second by the first node In the theme of second operation system of node;The first node is that the first operation system described in committee member's chain is corresponding Node, the second node is the corresponding node of the second operation system described in committee member's chain.
In above-mentioned technical proposal, the first order is serviced the of write-in first node by first agent by the first operation system In the theme of two operation systems, and the first order is synchronized to through first node the theme of the second operation system of second node In, so that the second operation system can service the theme for monitoring the second operation system of second node by second agent, and obtain Get first order.
Optionally, the method also includes:
First operation system is serviced by the first agent and is listened to from the theme of first operation system Second order, second order are that third operation system generates and by the third agency service of the third operation system The message of the theme of first operation system is written;
Second order is sent to the first business chain by first operation system, is executed by first business chain Second order, to receive the implementing result of the second order of first business chain;
First operation system services the implementing result of second order described in write-in by the first agent In the theme of third operation system.
In above-mentioned technical proposal, the first operation system can also be by subscribing to the theme of third operation system to listen to Second order realizes that each operation system can both send a message to specified operation system, also can receive other operation systems The message sended over, to complete the communication between each operation system.First operation system is by the implementing result of the second order In the theme for servicing write-in third operation system by first agent, third operation system can listen to holding for second order Row is as a result, to realize the communication of the first operation system and third operation system.
Optionally, committee member's chain further includes commodity contract, and the commodity contract record has each commodity and each operation system Theme between contrast relationship;
It include merchandise news in first order;
First operation system determines the master of corresponding second operation system of first order by committee member's chain Topic, comprising:
First operation system sends inquiry request to committee member's chain, orders in the inquiry request including described first Single merchandise news;
First operation system receives the theme for second operation system that committee member's chain returns;Second industry The theme of business system is that committee member's chain is determined according to the commodity contract.
In above-mentioned technical proposal, committee member's chain further includes commodity contract, and commodity contract record has each commodity and each operation system Theme between contrast relationship, the first operation system after generating the first order, can by committee member's chain send inquiry ask It asks to inquire the theme of the second operation system corresponding to the first order, so as to be sent out into the theme of the second operation system Send the first order.Commodity contract will be disposed in committee member's chain, improve the theme of the first operation system the second operation system of acquisition Efficiency.
Correspondingly, the embodiment of the present invention also provides a kind of device across chain communication based on block chain, it is suitable for including committee Member chain, multiple operation systems, the transaction system of the corresponding business chain of each operation system;Include in committee member's chain and each business system It unites corresponding node;Record has the theme of each operation system in the intelligent contract of committee member's chain;Each operation system monitors each industry Message in the theme of business system;
Described device includes:
Generation unit, for generating the first order according to the information obtained from the first business chain;
Determination unit, for determining the theme of corresponding second operation system of first order by committee member's chain;
Processing unit, for first order to be serviced write-in described second by the first agent of the first operation system In the theme of operation system;Second operation system is serviced by the second agent of second operation system monitors described the The theme of two operation systems, to realize the execution to first order.
Optionally, the processing unit, is specifically used for:
First operation system, which services first order by the first agent, is written the of committee member's chain In the theme of second operation system of one node, so that first order is synchronized to described second by the first node In the theme of second operation system of node;The first node is that the first operation system described in committee member's chain is corresponding Node, the second node is the corresponding node of the second operation system described in committee member's chain.
Optionally, it is also used to:
It is serviced by the first agent and listens to the second order from the theme of first operation system, described second Order is that third operation system generates and first business is written by the third agency service of the third operation system The message of the theme of system;
Second order is sent to the first business chain, second order is executed by first business chain, from And receive the implementing result of the second order of first business chain;
The implementing result of second order is serviced to the master that the third operation system is written by the first agent In topic.
Optionally, committee member's chain further includes commodity contract, and the commodity contract record has each commodity and each operation system Theme between contrast relationship;
It include merchandise news in first order;
The determination unit, is specifically used for:
Inquiry request is sent to committee member's chain, includes the merchandise news of first order in the inquiry request;
Receive the theme for second operation system that committee member's chain returns;The theme of second operation system is institute State what committee member's chain was determined according to the commodity contract.
Correspondingly, the embodiment of the present invention also provides a kind of transaction system based on block chain, including committee member's chain, multiple business System, the corresponding business chain of each operation system;
Committee member's chain, for carrying the theme of each operation system;
Each operation system, for subscribing to the theme of own service system;
The operation system, for generating the first order according to the business chain of the operation system and by first order It is written by the agency service of the operation system in the theme of corresponding operation system;
The operation system, be also used to monitor by the agency service of the operation system theme of the operation system from And obtain the second order of the operation system;
The business chain, second order sent for handling the operation system.
Correspondingly, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned be based on according to the program of acquisition for calling the program instruction stored in the memory The method across chain communication of block chain.
Correspondingly, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium, including computer Readable instruction, when computer is read and executes the computer-readable instruction, so that computer execution is above-mentioned to be based on block chain Across chain communication method.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic diagram of system architecture in the prior art;
Fig. 2 is a kind of schematic diagram of system architecture provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of method across chain communication provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another method across chain communication provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of device across chain communication provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Fig. 2 illustratively show the embodiment of the present invention provide based on block chain across chain communication method be applicable in be Unite framework, the system architecture can be include committee member's chain, multiple operation systems, the corresponding business chain of each operation system.Wherein, it entrusts The block catenary system that member's chain is made of node, committee member's chain includes node corresponding with each operation system;The intelligence of committee member's chain is closed Record has the theme of each operation system in about, and herein, theme can be understood as a piece of news channel in block chain node, be used for Receive the corresponding message of the theme;Each operation system, for subscribing to the theme of own service system, i.e., each operation system monitors committee Information in the theme of each operation system in the intelligent contract of member's chain;The corresponding business chain of operation system is used for processing business system The order information that system is sent.
Each operation system can generate the first order and be passed through according to the business chain of operation system when carrying out across chain communication The agency service of operation system is written in the theme of corresponding operation system, can also be monitored by the agency service of operation system The theme of operation system is to obtain the second order of operation system, which can be sent to corresponding by operation system Business chain, so that business chain handles second order.
Example as shown in Figure 2, includes operation system A, operation system B, operation system C in the operation system, corresponding Business chain is respectively as follows: business chain a, business chain b, business chain c, and corresponding committee member's chain node is respectively as follows: node 1, node 2, node 3, corresponding theme is respectively as follows: theme 1, theme 2, theme 3.Further, committee member's chain includes node 1, node 2, node 3, and Each node deployment intelligence contract in committee member's chain includes theme 1, theme 2, theme 3 in the intelligence contract.Operation system A creation master Topic 1 simultaneously subscribes to theme 2, and operation system B creation theme 2 simultaneously subscribes to theme 2, and operation system C creation theme 3 simultaneously subscribes to theme 3, such as When operation system A needs to send message to operation system B, message can be written by the agency service of operation system A and be saved In the theme 2 of point 1, each node executes broadcast common recognition in committee member's chain, i.e., there are the message in the theme 2 of node 2, so that business System B subscribes to the message in the theme 2 by the agency service of operation system B.In addition, operation system can not only subscribe to oneself Corresponding theme can also correspond to the corresponding theme of other operation systems, as operation system B can subscribe to theme 2 and master simultaneously Topic 3.
In the embodiment of the present invention, the distribution subscription of each operation system can be realized using message-oriented middleware, operation system can Theme is created in committee member's chain to enable an agency service by message-oriented middleware, for receiving the corresponding message of the theme. Further, operation system can also be given out information by the agency service into corresponding theme.
By the system architecture, the span chain communication of operation system is without carrying out a large amount of code configurations, it is only necessary to by message It is sent in the theme of operation system to be communicated.
Based on foregoing description, Fig. 3 illustratively show it is provided in an embodiment of the present invention it is a kind of based on block chain across chain The process of the method for communication, the process can be executed by the device across chain communication based on block chain.
As shown in figure 3, the process specifically includes:
Step 301, the first operation system generates the first order according to the information obtained from the first business chain.
The corresponding business chain of i.e. the first operation system of first business chain disposes intelligent contract in the first business chain, for depositing The merchandise news in the first operation system is stored up, merchandise news can be card certificate information.First operation system can pass through SDK (Software Development Kit, Software Development Kit) determination from the intelligent contract of the first business chain is to be purchased Merchandise news, and the first order is generated according to merchandise news to be purchased.
Step 302, first operation system determines corresponding second business of first order by committee member's chain The theme of system.
Contrast relationship between each commodity and the theme of each operation system can be stored in block chain account book by committee member's chain, If respective merchandise news is sent to committee member's chain by each operation system, committee member's chain is stored by account book form, when the first business system When system needs to send the first order, the theme that entire account book checks corresponding second operation system of the first order can be traversed.
Commodity contract can also be disposed in committee member's chain, record has the theme of each commodity Yu each operation system in the commodity contract Between contrast relationship.For example, record has the mark of certain commodity in the commodity contract, which is commodity in operation system A, industry Theme of the business system A in committee member's chain is the theme 1, then the mark of the commodity and the corresponding relationship of theme 1 are recorded in commodity contract. It include merchandise news and order information in the first order that the first operation system generates, merchandise news can in the embodiment of the present invention To include merchandise classification, quofed rice of commodities, card certificate denomination etc., order information may include lower single price, purchase quantity, supplier, The merchandise news can be recorded in inquiry request and be sent to committee member's chain by purchaser etc., the first operation system, and committee member's chain receives should After inquiry request, the theme of corresponding second operation system is determined from commodity contract according to the merchandise news in inquiry request, And the theme of second operation system is back to the first operation system.
Step 303, first order is passed through the first agent of first operation system by first operation system Service is written in the theme of second operation system.
First operation system can encapsulate the first order according to preset format, and pass through the first of the first operation system Agency service is written in the theme of the second operation system of committee member's chain, in the embodiment of the present invention, as long as publisher is by news release To theme ordered by subscriber, committee member's chain can then return to the first response to the first operation system.Herein, it is also possible to first Agency service returns to the first response, i.e. first agent services the theme of the second operation system of the first order write-in committee member's chain Afterwards, that is, the first response to the first operation system is returned.In the embodiment of the present invention, by asynchronous mode, publisher's publication is disappeared Breath and the decoupling of Subscriber subscriptions' message, i.e., send the first order for the first operation system and the second operation system obtain the first order Decoupling, the first operation system are not necessarily to obtain the response message of the first order until the second operation system, improve the first business system The efficiency of system publication order, and each operation system only needs to safeguard the theme in corresponding business chain and committee member's chain, reduces industry The maintenance workload of business system.
Specifically, the corresponding node of the first operation system in committee member's chain is denoted as first node, by the second industry in committee member's chain The corresponding node of business system is denoted as second node.First operation system can be corresponding by the first operation system by the first order The intelligent contract of first node is specifically written by the intelligent contract of the first order write-in first node in first agent's service In the theme of second operation system, the first order that intelligent contract is written is synchronized to each node of committee member's chain by first node, the It is synchronized to first order in the intelligent contract of two nodes, first order is specifically synchronized to second node intelligence contract The second operation system theme in.
Second operation system services the theme for monitoring the second operation system by the second agent of the second operation system, quite In when being synchronized to the first order in the theme of the second operation system in the intelligent contract of second node, the second operation system is First order can be listened to, by second agent's service so as to execute first by the business chain of the second operation system Order.
In addition, the first operation system can not only be serviced by first agent is written the second operation system for the first order In theme, it can also equally be serviced by first agent and monitor the second order for being written in oneself theme, wherein the second order is Third operation system generates and passes through the message of the theme of third agency service the first operation system of write-in of third operation system. The second order listened to is sent to the first business chain by the first operation system, and can be executed second by the first business chain and be ordered It is single, after the first business chain, which executes, completes the second order, the implementing result of the second order can be back to the first operation system, First operation system is in the theme that the implementing result of the second order is serviced write-in third operation system by first agent.The Three operation systems monitor the theme, and get the third order.
Embodiment in order to preferably explain the present invention will describe this based on block chain below under specific implement scene Process across chain communication, as shown in figure 4, including operation system A, operation system B, corresponding business chain difference in the operation system Are as follows: business chain a, business chain b, corresponding committee member's chain node are respectively as follows: node 1, node 2, corresponding theme be respectively as follows: theme 1, Theme 2.Further, committee member's chain includes node 1, node 2, and each node deployment intelligence contract in committee member's chain, the intelligence contract In include theme 1, theme 2.Message-oriented middleware starts first agent's service for the message of issuing service system A and subscribes to master Message in topic 1;Message-oriented middleware starts second agent's service for the message of issuing service system B and subscribes in theme 2 Message.Operation system A needs to send the first order and does equity exchange to operation system B.
It is specific as follows to execute step:
Step 401, operation system A is found out from the intelligent contract of business chain a by SDK and needs to be sent to operation system The product and order data of B, and the first order is generated according to the product and order data got, for example, having in the first order The commodity sign and purchasing price of first commodity of Pre purchase.
Step 402, operation system A determines the quotient of first commodity by SDK from the commodity contract of the node 1 of committee member's chain The theme 2 of the corresponding operation system B of product mark.
Step 403, operation system A encapsulates the first order according to presetting message format, and is serviced and sent out by first agent It send into the theme 2 of the intelligent contract of node 1, first agent, which services, returns to the successful response of publication to operation system A.
Step 404, the intelligence that first order is synchronized to node 2 in the theme 2 of the intelligent contract of committee member's chain interior joint 1 is closed In theme 2 about, i.e., record has first order in the theme 2 of the intelligent contract of node 2.
Step 405, operation system B listens to first in the theme 2 of the intelligent contract of node 2 by second agent's service Order, and the first order is parsed, and judge whether the purchasing price in the first order passes through the preset exchange rule of operation system B Then, as determined, the purchasing price of first commodity is greater than cost price, or information in the first order is sent to operation system B Staff, artificial judgment is carried out by staff.
Step 406, if operation system B determines that first order by preset exchange rule, executes in business chain b Exchange, and exchange is completed in theme 1 of the result by the intelligent contract of second agent's service write-in node 2;If Operation system B determines that first order does not pass through preset exchange rule, then corresponding response can be generated, such as first commodity Presell price, and will the response by second agent service write-in node 2 intelligent contract theme 1 in.
In above-mentioned technical proposal, the first operation system generates the first order, and determines that the first order is corresponding from committee member's chain The second operation system theme, by the first order by first agent service write-in the second operation system theme in, first Operation system is not necessarily to store the theme of each operation system, communicates without configuring in the first operation system with third party's business chain Relevant information, the first operation system only needs to safeguard the business chain of oneself and the relationship between committee member's chain, reduce The maintenance work of first operation system.Further, the coupling for releasing each operation system Yu third party's business chain reduces new industry Be engaged in the threshold of system access, when a newly-increased operation system and a business chain, oneself business chain of Added Business system configuration and Relevant information between committee member's chain, without the information and other existing operation systems between configuration and other existing business chains Without the relationship between configuration and the Added Business chain, reduce the configuration work of Added Business system and business chain.Enhancing The scalability of each operation system can be realized across the chain access to third party's business chain data with very low cost, enhance system Scalability.It using the publish-subscribe model based on theme, and because is the reality based on block chain by message-oriented middleware It is existing, so message is never lost and can not be distorted, transmission channel encryption and connection certificate of necessity certification, by selecting this across mechanism Message-oriented middleware and establish committee member's chain safely to get through each operation system, realize and communicated between each operation system.
Based on the same inventive concept, Fig. 5 illustratively shows provided in an embodiment of the present invention a kind of based on block chain The structure of device across chain communication, the device can execute the process of the method across chain communication based on block chain.
The device is suitable for including committee member's chain, multiple operation systems, the transaction system of the corresponding business chain of each operation system; It include node corresponding with each operation system in committee member's chain;Record has each operation system in the intelligent contract of committee member's chain Theme;Each operation system monitors the message in the theme of each operation system;
The device includes:
Generation unit 501, for generating the first order according to the information obtained from the first business chain;
Determination unit 502, for determining the master of corresponding second operation system of first order by committee member's chain Topic;
Processing unit 503, for servicing described in write-in first order by the first agent of the first operation system In the theme of second operation system;Second operation system is serviced by the second agent of second operation system and monitors institute The theme of the second operation system is stated, to realize the execution to first order.
Optionally, the processing unit 503, is specifically used for:
First operation system, which services first order by the first agent, is written the of committee member's chain In the theme of second operation system of one node, so that first order is synchronized to described second by the first node In the theme of second operation system of node;The first node is that the first operation system described in committee member's chain is corresponding Node, the second node is the corresponding node of the second operation system described in committee member's chain.
Optionally, the processing unit 503, is also used to:
It is serviced by the first agent and listens to the second order from the theme of first operation system, described second Order is that third operation system generates and first business is written by the third agency service of the third operation system The message of the theme of system;
Second order is sent to the first business chain, second order is executed by first business chain, from And receive the implementing result of the second order of first business chain;
The implementing result of second order is serviced to the master that the third operation system is written by the first agent In topic.
Optionally, committee member's chain further includes commodity contract, and the commodity contract record has each commodity and each operation system Theme between contrast relationship;
It include merchandise news in first order;
The determination unit 502, is specifically used for:
Inquiry request is sent to committee member's chain, includes the merchandise news of first order in the inquiry request;
Receive the theme for second operation system that committee member's chain returns;The theme of second operation system is institute State what committee member's chain was determined according to the commodity contract.
Based on the same inventive concept, the embodiment of the invention also provides a kind of transaction systems based on block chain, including committee Member chain, multiple operation systems, the corresponding business chain of each operation system;
Committee member's chain, for carrying the theme of each operation system;
Each operation system, for subscribing to the theme of own service system;
The operation system, for generating the first order according to the business chain of the operation system and passing through the business system The agency service of system is written in the theme of corresponding operation system;
The operation system, be also used to monitor by the agency service of the operation system theme of the operation system from And obtain the second order of the operation system;
The business chain, second order sent for handling the operation system.
Based on the same inventive concept, the embodiment of the invention also provides a kind of calculating equipment, comprising:
Memory, for storing program instruction;
Processor executes above-mentioned be based on according to the program of acquisition for calling the program instruction stored in the memory The method across chain communication of block chain.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer-readable non-volatile memory medium, Including computer-readable instruction, when computer is read and executes the computer-readable instruction, so that computer execution is above-mentioned The method across chain communication based on block chain.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (11)

1. a kind of method across chain communication based on block chain, which is characterized in that be suitable for including committee member's chain, multiple business systems The transaction system of system, the corresponding business chain of each operation system;It include node corresponding with each operation system in committee member's chain;Institute State the theme that record in the intelligent contract of committee member's chain has each operation system;Each operation system is monitored in the theme of each operation system Message;
The described method includes:
First operation system generates the first order according to the information obtained from the first business chain;
First operation system determines the theme of corresponding second operation system of first order by committee member's chain;
First operation system services first order described in write-in by the first agent of first operation system In the theme of second operation system;Second operation system is serviced by the second agent of second operation system and monitors institute The theme of the second operation system is stated, to realize the execution to first order.
2. the method as described in claim 1, which is characterized in that first operation system passes through first order described First agent, which services, to be written in the theme of second operation system, comprising:
First order is serviced the first segment that committee member's chain is written by first operation system by the first agent In the theme of second operation system of point, so that first order is synchronized to the second node by the first node Second operation system theme in;The first node is the corresponding section of the first operation system described in committee member's chain Point, the second node are the corresponding nodes of the second operation system described in committee member's chain.
3. the method as described in claim 1, which is characterized in that the method also includes:
First operation system is serviced by the first agent and listens to second from the theme of first operation system Order, second order are that third operation system is generated and is written by the third agency service of the third operation system The message of the theme of first operation system;
Second order is sent to the first business chain by first operation system, by described in first business chain execution Second order, to receive the implementing result of the second order of first business chain;
The implementing result of second order is serviced by the first agent and the third is written by first operation system In the theme of operation system.
4. the method as described in claim 1, which is characterized in that committee member's chain further includes commodity contract, the commodity contract Record has the contrast relationship between each commodity and the theme of each operation system;
It include merchandise news in first order;
First operation system determines the theme of corresponding second operation system of first order by committee member's chain, packet It includes:
First operation system sends inquiry request to committee member's chain, includes first order in the inquiry request Merchandise news;
First operation system receives the theme for second operation system that committee member's chain returns;Second business system The theme of system is that committee member's chain is determined according to the commodity contract.
5. a kind of device across chain communication based on block chain, which is characterized in that be suitable for including committee member's chain, multiple business systems The transaction system of system, the corresponding business chain of each operation system;It include node corresponding with each operation system in committee member's chain;Institute State the theme that record in the intelligent contract of committee member's chain has each operation system;Each operation system is monitored in the theme of each operation system Message;
Described device includes:
Generation unit, for generating the first order according to the information obtained from the first business chain;
Determination unit, for determining the theme of corresponding second operation system of first order by committee member's chain;
Second business is written for servicing first order by the first agent of the first operation system in processing unit In the theme of system;Second operation system is serviced by the second agent of second operation system and monitors second industry The theme of business system, to realize the execution to first order.
6. device as claimed in claim 5, which is characterized in that the processing unit is specifically used for:
First order is serviced the first segment that committee member's chain is written by first operation system by the first agent In the theme of second operation system of point, so that first order is synchronized to the second node by the first node Second operation system theme in;The first node is the corresponding section of the first operation system described in committee member's chain Point, the second node are the corresponding nodes of the second operation system described in committee member's chain.
7. device as claimed in claim 5, which is characterized in that the processing unit is also used to:
The second order, second order are listened to from the theme of first operation system by first agent service It is that third operation system generates and first operation system is written by the third agency service of the third operation system Theme message;
Second order is sent to the first business chain, second order is executed by first business chain, to connect Receive the implementing result of the second order of first business chain;
The implementing result of second order is serviced by the first agent and is written in the theme of the third operation system.
8. device as claimed in claim 5, which is characterized in that committee member's chain further includes commodity contract, the commodity contract Record has the contrast relationship between each commodity and the theme of each operation system;
It include merchandise news in first order;
The determination unit, is specifically used for:
Inquiry request is sent to committee member's chain, includes the merchandise news of first order in the inquiry request;
Receive the theme for second operation system that committee member's chain returns;The theme of second operation system is the committee Member's chain is determined according to the commodity contract.
9. a kind of transaction system based on block chain, which is characterized in that including committee member's chain, multiple operation systems, each operation system Corresponding business chain;
Committee member's chain, for carrying the theme of each operation system;
Each operation system, for subscribing to the theme of own service system;
The operation system, for generating the first order according to the business chain of the operation system and passing through the operation system Agency service is written in the theme of corresponding operation system;
The operation system is also used to monitor the theme of the operation system by the agency service of the operation system to obtain Obtain the second order of the operation system;
The business chain, second order sent for handling the operation system.
10. a kind of calculating equipment characterized by comprising
Memory, for storing program instruction;
Processor requires 1 to 4 according to the program execution benefit of acquisition for calling the program instruction stored in the memory Described in any item methods.
11. a kind of computer-readable non-volatile memory medium, which is characterized in that including computer-readable instruction, work as computer When reading and executing the computer-readable instruction, so that computer executes such as the described in any item methods of Claims 1-4.
CN201910534425.3A 2019-06-20 2019-06-20 Block chain-based cross-link communication method and device and transaction system Active CN110278264B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910534425.3A CN110278264B (en) 2019-06-20 2019-06-20 Block chain-based cross-link communication method and device and transaction system
PCT/CN2020/096424 WO2020253688A1 (en) 2019-06-20 2020-06-16 Blockchain-based cross-chain communication method, device, and transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910534425.3A CN110278264B (en) 2019-06-20 2019-06-20 Block chain-based cross-link communication method and device and transaction system

Publications (2)

Publication Number Publication Date
CN110278264A true CN110278264A (en) 2019-09-24
CN110278264B CN110278264B (en) 2023-02-21

Family

ID=67961092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910534425.3A Active CN110278264B (en) 2019-06-20 2019-06-20 Block chain-based cross-link communication method and device and transaction system

Country Status (2)

Country Link
CN (1) CN110278264B (en)
WO (1) WO2020253688A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253688A1 (en) * 2019-06-20 2020-12-24 深圳前海微众银行股份有限公司 Blockchain-based cross-chain communication method, device, and transaction system
CN113204436A (en) * 2020-02-03 2021-08-03 马上消费金融股份有限公司 Message processing method, device, equipment and computer readable storage medium
CN113467888A (en) * 2021-06-29 2021-10-01 网易(杭州)网络有限公司 Cross-chain calling method and device of intelligent contract, electronic equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590426B (en) * 2021-08-09 2023-06-09 中国人民大学 Cross-trust-domain service monitoring method and system based on blockchain
CN114666098A (en) * 2022-02-28 2022-06-24 重庆趣链数字科技有限公司 Mobile terminal non-intrusive event monitoring universal uplink mechanism

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009811A (en) * 2017-11-30 2018-05-08 中国人民解放军国防科技大学 Inter-cloud computing environment value exchange-oriented cross-chain communication method
CN108256864A (en) * 2018-02-13 2018-07-06 中链科技有限公司 Between a kind of block chain across the foundation of chain alliance and communication means, system
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN108712257A (en) * 2018-04-03 2018-10-26 阿里巴巴集团控股有限公司 The authentication method and device, electronic equipment of transregional piece of chain
CN108876618A (en) * 2018-06-15 2018-11-23 浙江华信区块链科技服务有限公司 A kind of exchange block catenary system and corresponding universal block chain mutual operation method and network
WO2019042101A1 (en) * 2017-08-29 2019-03-07 华为技术有限公司 Cross-chain trading method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10783272B2 (en) * 2017-12-08 2020-09-22 Nec Corporation Method and system of preserving privacy for usage of lightweight blockchain clients
CN108880794A (en) * 2018-06-15 2018-11-23 浙江华信区块链科技服务有限公司 Across chain user identity and its digital asset management system
CN110278264B (en) * 2019-06-20 2023-02-21 深圳前海微众银行股份有限公司 Block chain-based cross-link communication method and device and transaction system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019042101A1 (en) * 2017-08-29 2019-03-07 华为技术有限公司 Cross-chain trading method and apparatus
CN108009811A (en) * 2017-11-30 2018-05-08 中国人民解放军国防科技大学 Inter-cloud computing environment value exchange-oriented cross-chain communication method
CN108269190A (en) * 2018-01-17 2018-07-10 深圳四方精创资讯股份有限公司 Across chain method and its system based on across chain relaying platform
CN108256864A (en) * 2018-02-13 2018-07-06 中链科技有限公司 Between a kind of block chain across the foundation of chain alliance and communication means, system
CN108712257A (en) * 2018-04-03 2018-10-26 阿里巴巴集团控股有限公司 The authentication method and device, electronic equipment of transregional piece of chain
CN108876618A (en) * 2018-06-15 2018-11-23 浙江华信区块链科技服务有限公司 A kind of exchange block catenary system and corresponding universal block chain mutual operation method and network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253688A1 (en) * 2019-06-20 2020-12-24 深圳前海微众银行股份有限公司 Blockchain-based cross-chain communication method, device, and transaction system
CN113204436A (en) * 2020-02-03 2021-08-03 马上消费金融股份有限公司 Message processing method, device, equipment and computer readable storage medium
CN113467888A (en) * 2021-06-29 2021-10-01 网易(杭州)网络有限公司 Cross-chain calling method and device of intelligent contract, electronic equipment and storage medium
CN113467888B (en) * 2021-06-29 2024-02-23 网易(杭州)网络有限公司 Cross-chain calling method and device of intelligent contract, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2020253688A1 (en) 2020-12-24
CN110278264B (en) 2023-02-21

Similar Documents

Publication Publication Date Title
CN110278264A (en) A kind of method, apparatus and transaction system across chain communication based on block chain
CN107423945B (en) Intelligent energy transaction management system and method based on block chain technology
CN107464112B (en) Transaction management method and system based on block chain
CN109886677B (en) Commodity purchasing method and device based on block chain
CN110443701A (en) The logical card management method of one kind, supply chain financial system and electronic equipment
CN110458700A (en) The logical card generation method of one kind, supply chain financial system and electronic equipment
CN109146688A (en) A kind of supply chain financial application method based on block chain alliance chain technology
CN111062805A (en) Supply chain financial service management platform
CN109246188A (en) A method of supporting the system traded by all kinds of means and by all kinds of means trading processing
CN104463263B (en) The system architecture of many applications and the information processing method based on the framework on IC-card
CN111192146B (en) Correction method and device for block chain data
CN103246996A (en) Method, system, price enquiring system, terminal and checking system for realizing discount consumption
CN110135922A (en) A kind of method and apparatus of business processing
CN111506932A (en) Block chain calculation uplink implementation method
CN111047310A (en) Method and device for realizing distribution and transfer of digital assets and online financing
CN113570479A (en) Block chain transmission method, system and storage medium for house property transaction data
CN111461717A (en) Bulk commodity transaction method, system, equipment and readable storage medium
CN110225032A (en) A kind of method of commerce and its equipment of business datum
CN113935507A (en) Foreign currency cash exchange reservation method and device based on block chain
CN106204006A (en) Based on across the payment system of fund server and method, device and server
CN110210976A (en) A kind of method of commerce and its equipment based on block chain
CN106203973A (en) Based on across the payment system of fund server and method of payment, device and server
CN109035020B (en) Method and device for returning transaction information
CN113849191B (en) Intelligent contract deployment method, system, device and storage medium
CN110852891A (en) Data processing method and device based on rolling difference and readable 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