WO2020253688A1 - Blockchain-based cross-chain communication method, device, and transaction system - Google Patents

Blockchain-based cross-chain communication method, device, and transaction system Download PDF

Info

Publication number
WO2020253688A1
WO2020253688A1 PCT/CN2020/096424 CN2020096424W WO2020253688A1 WO 2020253688 A1 WO2020253688 A1 WO 2020253688A1 CN 2020096424 W CN2020096424 W CN 2020096424W WO 2020253688 A1 WO2020253688 A1 WO 2020253688A1
Authority
WO
WIPO (PCT)
Prior art keywords
business system
chain
business
order
committee
Prior art date
Application number
PCT/CN2020/096424
Other languages
French (fr)
Chinese (zh)
Inventor
何凌峰
杜志星
苏小康
张开翔
范瑞彬
Original Assignee
深圳前海微众银行股份有限公司
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 深圳前海微众银行股份有限公司 filed Critical 深圳前海微众银行股份有限公司
Publication of WO2020253688A1 publication Critical patent/WO2020253688A1/en

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
    • 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

Definitions

  • the embodiment of the present invention relates to the field of financial technology (Fintech), and in particular to a method, device and transaction system for cross-chain communication based on the Blockchain (BlockChain).
  • the equity mall system includes multiple business systems and business chains corresponding to each business system. Each business system needs to be configured with corresponding code to achieve cross-chain access to each business chain, that is, access to a third-party business chain.
  • the equity mall system includes business systems A, B, and C, which correspond to business chains a, b, and c, respectively.
  • business system A As an example. Configure the code information for accessing business chains b and c.
  • business systems B and C In addition, if a new business system D and a business chain d are added, the business system D needs to be configured to access the code information of the business chain a, b, and c.
  • the business systems A, B, and C need to be configured to access the business chain d Code information.
  • the embodiment of the present invention provides a method, device and transaction system for cross-chain communication based on block chain, which are used to release the coupling between each business system and the third-party business chain, and realize the equity mall system under the premise of reducing the configuration workload.
  • Each business system in China cross-chain access to each business chain.
  • the embodiment of the present invention provides a blockchain-based cross-chain communication method, which is applicable to a transaction system including a committee chain, multiple business systems, and a business chain corresponding to each business system;
  • the committee chain includes the The node corresponding to the system;
  • the subject of each business system is recorded in the smart contract of the committee chain;
  • each business system monitors the messages in the subject of each business system;
  • the method includes:
  • the first business system generates the first order according to the information obtained from the first business chain
  • the first business system determines the theme of the second business system corresponding to the first order through the committee chain;
  • the first business system writes the first order into the subject of the second business system through the first agency service of the first business system; the second business system uses the second business system’s
  • the second agent service monitors the subject of the second business system, thereby implementing the execution of the first order.
  • the first business system generates the first order, determines the theme of the second business system corresponding to the first order from the committee chain, and writes the first order into the theme of the second business system through the first agency service ,
  • the first business system does not need to store the themes of each business system, nor does it need to configure information related to communication with third-party business chains in the first business system.
  • the first business system only needs to maintain its own business chain and communication with the committee chain The relationship is enough, reducing the operation and maintenance work of the first business system.
  • the new business system configures the relevant information between its own business chain and the committee chain, and there is no need to configure the information between other existing business chains and other existing businesses.
  • the system also does not need to configure the relationship with the new business chain, which reduces the configuration work of the new business system and business chain.
  • the first business system writes the first order into the subject of the second business system through the first agency service, including:
  • the first business system writes the first order into the subject of the second business system of the first node of the committee chain through the first proxy service, so that the first node will The first order is synchronized to the subject of the second business system of the second node; the first node is the node corresponding to the first business system in the committee chain, and the second node is the The node corresponding to the second business system in the committee chain.
  • the first business system writes the first order into the subject of the second business system of the first node through the first agency service, and synchronizes the first order to the second business of the second node via the first node
  • the second business system can monitor the subject of the second business system of the second node through the second proxy service, and obtain the first order.
  • the method further includes:
  • the first business system monitors a second order from the subject of the first business system through the first agency service, and the second order is generated by a third business system and passed through the third business system.
  • the third agent service writes the message of the subject of the first business system;
  • the first business system sends the second order to the first business chain, and executes the second order through the first business chain, thereby receiving the execution result of the second order of the first business chain;
  • the first business system writes the execution result of the second order into the subject of the third business system through the first agency service.
  • the first business system can also monitor the second order by subscribing to the topic of the third business system, so that each business system can send messages to the designated business system or receive messages sent by other business systems. , So as to complete the communication between the various business systems.
  • the first business system writes the execution result of the second order into the subject of the third business system through the first agency service, and the third business system can monitor the execution result of the second order, thereby realizing the first business system and the third business system.
  • Business system communication
  • the committee chain further includes a commodity contract, and the commodity contract records a comparison relationship between each commodity and the subject of each business system;
  • the first order includes commodity information
  • the first business system determines the theme of the second business system corresponding to the first order through the committee chain, including:
  • the first business system sends a query request to the committee chain, and the query request includes the product information of the first order;
  • the first business system receives the subject of the second business system returned by the committee chain; the subject of the second business system is determined by the committee chain according to the commodity contract.
  • the committee chain also includes a commodity contract.
  • the commodity contract records the comparison between each commodity and the subject of each business system.
  • the first business system After the first business system generates the first order, it can send a query request to the committee chain.
  • the subject of the second business system corresponding to the first order is queried, so that the first order can be sent to the subject of the second business system. Deploying commodity contracts in the committee chain improves the efficiency of the first business system in acquiring the theme of the second business system.
  • an embodiment of the present invention also provides a block chain-based cross-chain communication device, which is suitable for a transaction system including a committee chain, multiple business systems, and a business chain corresponding to each business system;
  • the committee chain includes Nodes corresponding to each business system;
  • the subject of each business system is recorded in the smart contract of the committee chain;
  • each business system monitors the messages in the subject of each business system;
  • the device includes:
  • the generating unit is configured to generate the first order according to the information obtained from the first business chain;
  • a determining unit configured to determine the theme of the second business system corresponding to the first order through the committee chain
  • the processing unit is configured to write the first order into the subject of the second business system through the first agent service of the first business system; the second business system through the second agent service of the second business system The service monitors the subject of the second business system, thereby implementing the execution of the first order.
  • processing unit is specifically configured to:
  • the first business system writes the first order into the subject of the second business system of the first node of the committee chain through the first proxy service, so that the first node will The first order is synchronized to the subject of the second business system of the second node; the first node is the node corresponding to the first business system in the committee chain, and the second node is the The node corresponding to the second business system in the committee chain.
  • a second order is monitored from the subject of the first business system through the first agent service, and the second order is generated by a third business system and written through the third agent service of the third business system The message of the subject of the first business system;
  • the execution result of the second order is written into the subject of the third business system through the first agency service.
  • the committee chain further includes a commodity contract, and the commodity contract records a comparison relationship between each commodity and the subject of each business system;
  • the first order includes commodity information
  • the determining unit is specifically used for:
  • the subject of the second business system returned by the committee chain is received; the subject of the second business system is determined by the committee chain according to the commodity contract.
  • an embodiment of the present invention also provides a blockchain-based transaction system, including a committee chain, multiple business systems, and business chains corresponding to each business system;
  • the committee chain is used to carry the theme of each business system
  • Each of the business systems is used to subscribe to the topic of the business system
  • the business system is configured to generate a first order according to the business chain of the business system and write the first order into the theme of the corresponding business system through the agency service of the business system;
  • the business system is further configured to monitor the subject of the business system through the agency service of the business system to obtain a second order of the business system;
  • the service chain is used to process the second order sent by the service system.
  • an embodiment of the present invention also provides a computing device, including:
  • Memory used to store program instructions
  • the processor is configured to call the program instructions stored in the memory, and execute the above-mentioned blockchain-based cross-chain communication method according to the obtained program.
  • an embodiment of the present invention also provides a computer-readable non-volatile storage medium, including computer-readable instructions.
  • the computer reads and executes the computer-readable instructions, the computer executes the above-mentioned blockchain-based The method of cross-chain communication.
  • the embodiment of the present invention also provides a computer program product containing instructions, which when running on a computer, causes the computer to execute the above-mentioned blockchain-based cross-chain communication method.
  • Figure 1 is a schematic diagram of a system architecture in the prior art
  • FIG. 2 is a schematic diagram of a system architecture provided by an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for cross-chain communication according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another method for cross-chain communication according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a cross-chain communication device provided by an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a computing device provided by this application.
  • Fig. 2 exemplarily shows the system architecture applicable to the method of blockchain-based cross-chain communication provided by the embodiment of the present invention.
  • the system architecture may include a committee chain, multiple business systems, and business chains corresponding to each business system.
  • the committee chain is a blockchain system composed of nodes.
  • the committee chain includes nodes corresponding to each business system; the smart contract of the committee chain records the theme of each business system.
  • the theme can be understood as a blockchain node
  • a message channel in is used to receive the message corresponding to the topic
  • each business system is used to subscribe to the topic of its own business system, that is, each business system monitors the information in the topic of each business system in the smart contract of the committee chain
  • business The business chain corresponding to the system is used to process the order information sent by the business system.
  • each business system When each business system performs cross-chain communication, it can generate the first order according to the business chain of the business system and write it into the theme of the corresponding business system through the business system's proxy service. It can also monitor the business system's information through the business system's proxy service. The subject thus obtains the second order of the business system, and the business system can send the second order to the corresponding business chain so that the business chain can process the second order.
  • the business system includes business system A, business system B, and business system C.
  • the corresponding business chains are: business chain a, business chain b, and business chain c.
  • the corresponding committee chain nodes are respectively They are: node 1, node 2, and node 3.
  • the corresponding topics are: topic 1, topic 2, and topic 3.
  • the committee chain includes node 1, node 2, and node 3, and each node in the committee chain deploys a smart contract, and the smart contract includes theme 1, theme 2, and theme 3.
  • Business system A creates topic 1 and subscribes to topic 2
  • business system B creates topic 2 and subscribes to topic 2
  • business system C creates topic 3 and subscribes to topic 3.
  • business system A when business system A needs to send a message to business system B, you can use the business
  • the agent service of system A writes the message into topic 2 of node 1, and each node in the committee chain performs a broadcast consensus, that is, the message exists in topic 2 of node 2, so that business system B subscribes to the message through the agent service of business system B Message in topic 2.
  • the business system can not only subscribe to its own corresponding topics, but also correspond to the topics of other business systems.
  • business system B can subscribe to topics 2 and 3 at the same time.
  • message middleware can be used to implement publishing and subscription of various business systems, and the business system can use the message middleware to activate a proxy service to create a topic in the committee chain for receiving messages corresponding to the topic. Further, the business system can also publish messages to corresponding topics through the proxy service.
  • cross-chain communication between business systems does not require a large amount of code configuration, and only needs to send messages to the subject of the business system to be communicated.
  • FIG. 3 exemplarily shows the flow of a method for blockchain-based cross-chain communication according to an embodiment of the present invention, and the flow can be executed by a device for blockchain-based cross-chain communication.
  • the process specifically includes:
  • Step 301 The first business system generates a first order based on the information obtained from the first business chain.
  • the first business chain is the business chain corresponding to the first business system. Smart contracts are deployed in the first business chain to store product information in the first business system.
  • the product information may be card and coupon information.
  • the first business system can determine the product information to be purchased from the smart contract of the first business chain through SDK (Software Development Kit), and generate the first order according to the product information to be purchased.
  • Step 302 The first business system determines the theme of the second business system corresponding to the first order through the committee chain.
  • the committee chain can store the comparison relationship between each product and the theme of each business system in the blockchain ledger. For example, each business system sends its product information to the committee chain, and the committee chain stores it in the form of the account book. When the system needs to send the first order, it can traverse the entire ledger to view the subject of the second business system corresponding to the first order.
  • Commodity contracts can also be deployed in the committee chain.
  • the commodity contract records the comparison between each commodity and the subject of each business system. For example, if the commodity contract records the identification of a certain commodity, the commodity is a commodity in business system A, and the subject of business system A in the committee chain is topic 1, then the commodity contract records the correspondence between the commodity identification and topic 1 .
  • the first order generated by the first business system includes product information and order information.
  • the product information can include product category, product quotation, coupon denomination, etc.
  • order information can include order price, purchase quantity, supply For merchants, purchasers, etc.
  • the first business system can record the product information in the query request and send it to the committee chain.
  • the committee chain determines the corresponding second business system from the commodity contract based on the product information in the query request And return the theme of the second business system to the first business system.
  • Step 303 The first business system writes the first order into the subject of the second business system through the first agency service of the first business system.
  • the first business system can encapsulate the first order in a preset format, and write it into the subject of the second business system of the committee chain through the first agency service of the first business system.
  • the committee chain will return the first response to the first business system.
  • the first agent service returns the first response, that is, after the first agent service writes the first order into the subject of the second business system of the committee chain, it returns the first response to the first business system.
  • the publisher publishes the message and the subscriber subscribes to the message in an asynchronous manner, that is, the first business system sends the first order and the second business system obtains the first order.
  • the first business system does not need to Waiting until the second business system obtains the response information of the first order improves the efficiency of the first business system to issue orders, and each business system only needs to maintain the theme in the corresponding business chain and committee chain, reducing the maintenance workload of the business system .
  • the node corresponding to the first business system in the committee chain is recorded as the first node
  • the node corresponding to the second business system in the committee chain is recorded as the second node.
  • the first business system can write the first order into the smart contract of the first node through the first agency service corresponding to the first business system, specifically the second business system of the smart contract of the first node.
  • the first node synchronizes the first order written in the smart contract to each node of the committee chain
  • the second node’s smart contract is synchronized to the first order, specifically, the first order is synchronized to the second node
  • the subject of the second business system of smart contracts is synchronized.
  • the second business system monitors the subject of the second business system through the second proxy service of the second business system, which is equivalent to when the subject of the second business system in the smart contract of the second node is synchronized to the first order, the second business That is, the system can monitor the first order through the second agent service, so that the first order can be executed through the business chain of the second business system.
  • the first business system can not only write the first order into the subject of the second business system through the first agent service, but also can monitor the second order written in its subject through the first agent service, where the second The order is a message generated by the third business system and written into the subject of the first business system through the third agent service of the third business system.
  • the first business system sends the monitored second order to the first business chain, and can execute the second order through the first business chain. When the first business chain executes the second order, it can report the execution result of the second order
  • the first business system is writing the execution result of the second order into the subject of the third business system through the first agency service.
  • the third business system monitors the topic and obtains the third order.
  • the business system includes business system A and business system B.
  • the corresponding business chains are: business chain a, business chain b, the corresponding committee chain nodes are: node 1, node 2, and the corresponding topics are: topic 1, topic 2.
  • the committee chain includes node 1 and node 2, and each node in the committee chain deploys a smart contract, and the smart contract includes topic 1 and topic 2.
  • the message middleware starts the first proxy service to publish the messages of business system A and subscribe to the messages in topic 1; the message middleware starts the second proxy service to publish the messages of business system B and subscribe to the messages in topic 2.
  • Business system A needs to send the first order to business system B for equity exchange business.
  • step 401 business system A finds the product and order data that needs to be sent to business system B from the smart contract of business chain a through the SDK, and generates a first order based on the obtained product and order data, for example, in the first order There is the product identification and purchase price of the first product pre-purchased.
  • step 402 the business system A determines the subject 2 of the business system B corresponding to the commodity identifier of the first commodity from the commodity contract of the node 1 of the committee chain through the SDK.
  • step 403 the business system A encapsulates the first order according to a preset message format, and sends it to the topic 2 of the smart contract of the node 1 through the first agency service.
  • step 404 the first order in topic 2 of the smart contract of node 1 in the committee chain is synchronized to topic 2 of the smart contract of node 2, that is, the first order is recorded in topic 2 of the smart contract of node 2.
  • Step 405 Business system B monitors the first order in topic 2 of the smart contract of node 2 through the second proxy service, analyzes the first order, and determines whether the purchase price in the first order is preset by business system B Exchange rules, such as determining that the purchase price of the first commodity is greater than the cost price, or sending the information in the first order to the staff of business system B, the staff will make manual judgments.
  • business system B Exchange rules such as determining that the purchase price of the first commodity is greater than the cost price, or sending the information in the first order to the staff of business system B, the staff will make manual judgments.
  • Step 406 If the business system B determines that the first order passes the preset exchange rules, it executes the exchange business in the business chain b, and writes the completion result of the exchange business into the topic 1 of the smart contract of node 2 through the second agent service Medium; If the business system B determines that the first order does not pass the preset exchange rules, it can generate a corresponding response, such as the pre-sale price of the first commodity, and write the response to the node 2 through the second agent service In topic 1 of the smart contract.
  • a corresponding response such as the pre-sale price of the first commodity
  • the first business system generates the first order, determines the theme of the second business system corresponding to the first order from the committee chain, and writes the first order into the theme of the second business system through the first agency service ,
  • the first business system does not need to store the themes of each business system, nor does it need to configure information related to communication with third-party business chains in the first business system.
  • the first business system only needs to maintain its own business chain and communication with the committee chain The relationship is enough, reducing the operation and maintenance work of the first business system.
  • the coupling between each business system and the third-party business chain is lifted, and the threshold for new business system access is lowered.
  • the new business system configures its own business chain and the committee chain.
  • FIG. 5 exemplarily shows the structure of a block chain-based cross-chain communication device provided by an embodiment of the present invention.
  • the device can execute the process of the block chain-based cross-chain communication method. .
  • the device is suitable for a transaction system including a committee chain, multiple business systems, and a business chain corresponding to each business system;
  • the committee chain includes nodes corresponding to each business system;
  • the smart contract of the committee chain records each business The subject of the system; each business system monitors the messages in the subject of each business system;
  • the device includes:
  • the generating unit 501 is configured to generate a first order according to the information obtained from the first business chain;
  • the determining unit 502 is configured to determine the theme of the second business system corresponding to the first order through the committee chain;
  • the processing unit 503 is configured to write the first order into the subject of the second business system through the first agency service of the first business system; the second business system through the second business system of the second business system
  • the agent service monitors the subject of the second business system, so as to implement the execution of the first order.
  • processing unit 503 is specifically configured to:
  • the first business system writes the first order into the subject of the second business system of the first node of the committee chain through the first proxy service, so that the first node will The first order is synchronized to the subject of the second business system of the second node; the first node is the node corresponding to the first business system in the committee chain, and the second node is the The node corresponding to the second business system in the committee chain.
  • processing unit 503 is further configured to:
  • a second order is monitored from the subject of the first business system through the first agent service, and the second order is generated by a third business system and written through the third agent service of the third business system The message of the subject of the first business system;
  • the execution result of the second order is written into the subject of the third business system through the first agency service.
  • the committee chain further includes a commodity contract, and the commodity contract records a comparison relationship between each commodity and the subject of each business system;
  • the first order includes commodity information
  • the determining unit 502 is specifically configured to:
  • the subject of the second business system returned by the committee chain is received; the subject of the second business system is determined by the committee chain according to the commodity contract.
  • the embodiment of the present invention also provides a blockchain-based transaction system, including a committee chain, multiple business systems, and business chains corresponding to each business system;
  • the committee chain is used to carry the theme of each business system
  • Each of the business systems is used to subscribe to the topic of the business system
  • the business system is configured to generate a first order according to the business chain of the business system and write it into the theme of the corresponding business system through the agency service of the business system;
  • the business system is further configured to monitor the subject of the business system through the agency service of the business system to obtain a second order of the business system;
  • the service chain is used to process the second order sent by the service system.
  • the present application also provides a computing device.
  • the computing device includes at least one processor 620 for implementing the method in FIG. 3 provided by the embodiment of the present application. Any method.
  • the computing device 600 may also include at least one memory 630 for storing program instructions and/or data.
  • the memory 630 and the processor 620 are coupled.
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units, or modules, and may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • the processor 620 may cooperate with the memory 630 to operate.
  • the processor 620 may execute program instructions stored in the memory 630. At least one of the at least one memory may be included in the processor.
  • the steps of the above method can be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the processor in the embodiment of the present application may be an integrated circuit chip with signal processing capability.
  • the steps of the foregoing method embodiments may be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the above-mentioned processor may be a general-purpose processor, a digital signal processing circuit (digital signal processor, DSP), a dedicated integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processing circuit
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • Programming logic devices discrete gates or transistor logic devices, discrete hardware components.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electronic Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • serial link DRAM SLDRAM
  • direct rambus RAM direct rambus RAM
  • the computing device 600 may further include a communication interface 610 for communicating with other devices through a transmission medium, so that the device used in the computing device 600 can communicate with other devices.
  • the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface.
  • the transceiver when the communication interface is a transceiver, the transceiver may include an independent receiver and an independent transmitter; it may also be a transceiver with integrated transceiver functions, or an interface circuit.
  • the computing device 600 may also include a communication line 640.
  • the communication interface 610, the processor 620, and the memory 630 may be connected to each other through a communication line 640;
  • the communication line 640 may be a peripheral component interconnection standard (peripheral component interconnect, PCI for short) bus or an extended industry standard architecture (extended industry standard architecture) , Referred to as EISA) bus and so on.
  • the communication line 640 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
  • embodiments of the present invention also provide a computer-readable non-volatile storage medium, including computer-readable instructions.
  • the computer reads and executes the computer-readable instructions, the computer executes the above-mentioned region-based The method of block chain cross-chain communication.
  • the embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the above-mentioned blockchain-based cross-chain communication method.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

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

Disclosed in the present invention are a blockchain-based cross-chain communication method, a device, and a transaction system. The method comprises: a first service system generating a first order on the basis of information obtained from a first service chain, determining, by means of a committee chain, a topic of a second service system corresponding to the first order, and writing the first order into the topic of the second service system by means of a first proxy service, so as to cause the second service system to monitor the topic of the second service system by means of a second proxy service and thereby implement execution of the first order. The present technical solution does away with coupling between the various service systems and third party service chains, and thus allows each service system in a rewards marketplace system to access each service chain in a cross-chain manner, while reducing configuration workload.

Description

一种基于区块链的跨链通信的方法、装置及交易系统Method, device and transaction system for cross-chain communication based on blockchain
相关申请的交叉引用Cross references to related applications
本申请要求在2019年06月20日提交中国专利局、申请号为201910534425.3、申请名称为“一种基于区块链的跨链通信的方法、装置及交易系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of a Chinese patent application filed with the Chinese Patent Office on June 20, 2019, the application number is 201910534425.3, and the application title is "a method, device and transaction system for blockchain-based cross-chain communication". The entire content is incorporated into this application by reference.
技术领域Technical field
本发明实施例涉及金融科技(Fintech)领域,尤其涉及一种基于区块链(BlockChain)的跨链通信的方法、装置及交易系统。The embodiment of the present invention relates to the field of financial technology (Fintech), and in particular to a method, device and transaction system for cross-chain communication based on the Blockchain (BlockChain).
背景技术Background technique
随着计算机技术的发展,越来越多的技术应用在金融领域,传统金融业正在逐步向金融科技转变,区块链技术也不例外,但由于金融、支付行业的安全性、实时性要求,也对区块链技术提出的更高的要求。With the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming to financial technology. Blockchain technology is no exception. However, due to the security and real-time requirements of the financial and payment industries, It also places higher requirements on blockchain technology.
权益商城系统包括多个业务系统和各业务系统对应的业务链,每个业务系统需要进行相应的代码配置,才能实现跨链访问各业务链,即访问第三方业务链。如图1示出的例子,该权益商城系统中包括业务系统A、B、C,分别对应业务链a、b、c,为实现各业务系统的跨链访问,以业务系统A为例,需要配置访问业务链b、c的代码信息,同理,业务系统B、C。此外,若新增一个业务系统D和一个业务链d,则业务系统D需要配置访问业务链a、b、c的代码信息,同理,业务系统A、B、C需要配置访问业务链d的代码信息。The equity mall system includes multiple business systems and business chains corresponding to each business system. Each business system needs to be configured with corresponding code to achieve cross-chain access to each business chain, that is, access to a third-party business chain. As shown in Figure 1, the equity mall system includes business systems A, B, and C, which correspond to business chains a, b, and c, respectively. In order to achieve cross-chain access to each business system, take business system A as an example. Configure the code information for accessing business chains b and c. Similarly, business systems B and C. In addition, if a new business system D and a business chain d are added, the business system D needs to be configured to access the code information of the business chain a, b, and c. Similarly, the business systems A, B, and C need to be configured to access the business chain d Code information.
现有技术中的权益商城系统,业务系统和业务链之间配置复杂,且一旦新增业务系统和业务链,则需要对各业务系统进行配置,配置工作量大。In the equity mall system in the prior art, the configuration between the business system and the business chain is complicated, and once a new business system and business chain are added, each business system needs to be configured, and the configuration workload is large.
发明内容Summary of the invention
本发明实施例提供一种基于区块链的跨链通信的方法、装置及交易系统,用以解除各业务系统与第三方业务链的耦合性,降低配置工作量的前提下,实现权益商城系统中各业务系统跨链访问各业务链。The embodiment of the present invention provides a method, device and transaction system for cross-chain communication based on block chain, which are used to release the coupling between each business system and the third-party business chain, and realize the equity mall system under the premise of reducing the configuration workload. Each business system in China cross-chain access to each business chain.
本发明实施例提供的一种基于区块链的跨链通信的方法,适用于包括委员链、多个业务系统、各业务系统对应的业务链的交易系统;所述委员链中包括与各业务系统对应的节点;所述委员链的智能合约中记录有各业务系统的主题;各业务系统监听各业务系统的主题中的消息;The embodiment of the present invention provides a blockchain-based cross-chain communication method, which is applicable to a transaction system including a committee chain, multiple business systems, and a business chain corresponding to each business system; the committee chain includes the The node corresponding to the system; the subject of each business system is recorded in the smart contract of the committee chain; each business system monitors the messages in the subject of each business system;
所述方法包括:The method includes:
第一业务系统根据从第一业务链获取的信息生成第一订单;The first business system generates the first order according to the information obtained from the first business chain;
所述第一业务系统通过所述委员链确定所述第一订单对应的第二业务系统的主题;The first business system determines the theme of the second business system corresponding to the first order through the committee chain;
所述第一业务系统将所述第一订单通过所述第一业务系统的第一代理服务写入所述第二业务系统的主题中;所述第二业务系统通过所述第二业务系统的第二代理服务监听所述第二业务系统的主题,从而实现对所述第一订单的执行。The first business system writes the first order into the subject of the second business system through the first agency service of the first business system; the second business system uses the second business system’s The second agent service monitors the subject of the second business system, thereby implementing the execution of the first order.
上述技术方案中,第一业务系统生成第一订单,并从委员链中确定第一订单对应的第二业务系统的主题,将第一订单通过第一代理服务写入第二业务系统的主题中,第一业务 系统无需存储各业务系统的主题,也无需在第一业务系统中配置与第三方业务链通信的相关信息,第一业务系统仅需维护自己的业务链以及与委员链之间的关系即可,减少了第一业务系统的运维工作。进一步的,当新增一个业务系统和一个业务链,新增业务系统配置自己业务链、与委员链之间的相关信息,无需配置与其它已有业务链之间的信息,以及其它已有业务系统也无需配置与该新增业务链之间的关系,减少了新增业务系统和业务链的配置工作。In the above technical solution, the first business system generates the first order, determines the theme of the second business system corresponding to the first order from the committee chain, and writes the first order into the theme of the second business system through the first agency service , The first business system does not need to store the themes of each business system, nor does it need to configure information related to communication with third-party business chains in the first business system. The first business system only needs to maintain its own business chain and communication with the committee chain The relationship is enough, reducing the operation and maintenance work of the first business system. Further, when a new business system and a business chain are added, the new business system configures the relevant information between its own business chain and the committee chain, and there is no need to configure the information between other existing business chains and other existing businesses. The system also does not need to configure the relationship with the new business chain, which reduces the configuration work of the new business system and business chain.
可选的,所述第一业务系统将所述第一订单通过所述第一代理服务写入所述第二业务系统的主题中,包括:Optionally, that the first business system writes the first order into the subject of the second business system through the first agency service, including:
所述第一业务系统将所述第一订单通过所述第一代理服务写入所述委员链的第一节点的所述第二业务系统的主题中,以使所述第一节点将所述第一订单同步至所述第二节点的所述第二业务系统的主题中;所述第一节点是所述委员链中所述第一业务系统对应的节点,所述第二节点是所述委员链中所述第二业务系统对应的节点。The first business system writes the first order into the subject of the second business system of the first node of the committee chain through the first proxy service, so that the first node will The first order is synchronized to the subject of the second business system of the second node; the first node is the node corresponding to the first business system in the committee chain, and the second node is the The node corresponding to the second business system in the committee chain.
上述技术方案中,第一业务系统将第一订单通过第一代理服务写入第一节点的第二业务系统的主题中,并经第一节点将第一订单同步至第二节点的第二业务系统的主题中,从而第二业务系统可以通过第二代理服务监听第二节点的第二业务系统的主题,并获取到该第一订单。In the above technical solution, the first business system writes the first order into the subject of the second business system of the first node through the first agency service, and synchronizes the first order to the second business of the second node via the first node In the subject of the system, the second business system can monitor the subject of the second business system of the second node through the second proxy service, and obtain the first order.
可选的,所述方法还包括:Optionally, the method further includes:
所述第一业务系统通过所述第一代理服务从所述第一业务系统的主题中监听到第二订单,所述第二订单是第三业务系统生成的并通过所述第三业务系统的第三代理服务写入所述第一业务系统的主题的消息;The first business system monitors a second order from the subject of the first business system through the first agency service, and the second order is generated by a third business system and passed through the third business system. The third agent service writes the message of the subject of the first business system;
所述第一业务系统将所述第二订单发送至第一业务链,通过所述第一业务链执行所述第二订单,从而接收所述第一业务链的第二订单的执行结果;The first business system sends the second order to the first business chain, and executes the second order through the first business chain, thereby receiving the execution result of the second order of the first business chain;
所述第一业务系统将所述第二订单的执行结果通过所述第一代理服务写入所述第三业务系统的主题中。The first business system writes the execution result of the second order into the subject of the third business system through the first agency service.
上述技术方案中,第一业务系统还可以通过订阅第三业务系统的主题从而监听到第二订单,实现各业务系统既可以发送消息至指定的业务系统,也可以接收其它业务系统发送过来的消息,从而完成各业务系统之间的通信。第一业务系统将第二订单的执行结果通过第一代理服务写入第三业务系统的主题中,第三业务系统可以监听到该第二订单的执行结果,从而实现第一业务系统与第三业务系统的通信。In the above technical solution, the first business system can also monitor the second order by subscribing to the topic of the third business system, so that each business system can send messages to the designated business system or receive messages sent by other business systems. , So as to complete the communication between the various business systems. The first business system writes the execution result of the second order into the subject of the third business system through the first agency service, and the third business system can monitor the execution result of the second order, thereby realizing the first business system and the third business system. Business system communication.
可选的,所述委员链还包括商品合约,所述商品合约记录有各商品与各业务系统的主题之间的对照关系;Optionally, the committee chain further includes a commodity contract, and the commodity contract records a comparison relationship between each commodity and the subject of each business system;
所述第一订单中包括商品信息;The first order includes commodity information;
所述第一业务系统通过所述委员链确定所述第一订单对应的第二业务系统的主题,包括:The first business system determines the theme of the second business system corresponding to the first order through the committee chain, including:
所述第一业务系统向所述委员链发送查询请求,所述查询请求中包括所述第一订单的商品信息;The first business system sends a query request to the committee chain, and the query request includes the product information of the first order;
所述第一业务系统接收所述委员链返回的所述第二业务系统的主题;所述第二业务系统的主题是所述委员链根据所述商品合约确定的。The first business system receives the subject of the second business system returned by the committee chain; the subject of the second business system is determined by the committee chain according to the commodity contract.
上述技术方案中,委员链还包括商品合约,商品合约记录有各商品与各业务系统的主题之间的对照关系,第一业务系统在生成第一订单后,可以通过向委员链发送查询请求以 查询到第一订单所对应的第二业务系统的主题,从而可以向第二业务系统的主题中发送第一订单。将委员链中部署商品合约,提高了第一业务系统获取第二业务系统的主题的效率。In the above technical solution, the committee chain also includes a commodity contract. The commodity contract records the comparison between each commodity and the subject of each business system. After the first business system generates the first order, it can send a query request to the committee chain. The subject of the second business system corresponding to the first order is queried, so that the first order can be sent to the subject of the second business system. Deploying commodity contracts in the committee chain improves the efficiency of the first business system in acquiring the theme of the second business system.
相应的,本发明实施例还提供一种基于区块链的跨链通信的装置,适用于包括委员链、多个业务系统、各业务系统对应的业务链的交易系统;所述委员链中包括与各业务系统对应的节点;所述委员链的智能合约中记录有各业务系统的主题;各业务系统监听各业务系统的主题中的消息;Correspondingly, an embodiment of the present invention also provides a block chain-based cross-chain communication device, which is suitable for a transaction system including a committee chain, multiple business systems, and a business chain corresponding to each business system; the committee chain includes Nodes corresponding to each business system; the subject of each business system is recorded in the smart contract of the committee chain; each business system monitors the messages in the subject of each business system;
所述装置包括:The device includes:
生成单元,用于根据从第一业务链获取的信息生成第一订单;The generating unit is configured to generate the first order according to the information obtained from the first business chain;
确定单元,用于通过所述委员链确定所述第一订单对应的第二业务系统的主题;A determining unit, configured to determine the theme of the second business system corresponding to the first order through the committee chain;
处理单元,用于将所述第一订单通过第一业务系统的第一代理服务写入所述第二业务系统的主题中;所述第二业务系统通过所述第二业务系统的第二代理服务监听所述第二业务系统的主题,从而实现对所述第一订单的执行。The processing unit is configured to write the first order into the subject of the second business system through the first agent service of the first business system; the second business system through the second agent service of the second business system The service monitors the subject of the second business system, thereby implementing the execution of the first order.
可选的,所述处理单元,具体用于:Optionally, the processing unit is specifically configured to:
所述第一业务系统将所述第一订单通过所述第一代理服务写入所述委员链的第一节点的所述第二业务系统的主题中,以使所述第一节点将所述第一订单同步至所述第二节点的所述第二业务系统的主题中;所述第一节点是所述委员链中所述第一业务系统对应的节点,所述第二节点是所述委员链中所述第二业务系统对应的节点。The first business system writes the first order into the subject of the second business system of the first node of the committee chain through the first proxy service, so that the first node will The first order is synchronized to the subject of the second business system of the second node; the first node is the node corresponding to the first business system in the committee chain, and the second node is the The node corresponding to the second business system in the committee chain.
可选的,还用于:Optional, also used for:
通过所述第一代理服务从所述第一业务系统的主题中监听到第二订单,所述第二订单是第三业务系统生成的并通过所述第三业务系统的第三代理服务写入所述第一业务系统的主题的消息;A second order is monitored from the subject of the first business system through the first agent service, and the second order is generated by a third business system and written through the third agent service of the third business system The message of the subject of the first business system;
将所述第二订单发送至第一业务链,通过所述第一业务链执行所述第二订单,从而接收所述第一业务链的第二订单的执行结果;Sending the second order to the first business chain, and executing the second order through the first business chain, thereby receiving the execution result of the second order of the first business chain;
将所述第二订单的执行结果通过所述第一代理服务写入所述第三业务系统的主题中。The execution result of the second order is written into the subject of the third business system through the first agency service.
可选的,所述委员链还包括商品合约,所述商品合约记录有各商品与各业务系统的主题之间的对照关系;Optionally, the committee chain further includes a commodity contract, and the commodity contract records a comparison relationship between each commodity and the subject of each business system;
所述第一订单中包括商品信息;The first order includes commodity information;
所述确定单元,具体用于:The determining unit is specifically used for:
向所述委员链发送查询请求,所述查询请求中包括所述第一订单的商品信息;Sending a query request to the committee chain, where the query request includes the product information of the first order;
接收所述委员链返回的所述第二业务系统的主题;所述第二业务系统的主题是所述委员链根据所述商品合约确定的。The subject of the second business system returned by the committee chain is received; the subject of the second business system is determined by the committee chain according to the commodity contract.
相应的,本发明实施例还提供一种基于区块链的交易系统,包括委员链、多个业务系统、各业务系统对应的业务链;Correspondingly, an embodiment of the present invention also provides a blockchain-based transaction system, including a committee chain, multiple business systems, and business chains corresponding to each business system;
所述委员链,用于承载各业务系统的主题;The committee chain is used to carry the theme of each business system;
所述各业务系统,用于订阅自身业务系统的主题;Each of the business systems is used to subscribe to the topic of the business system;
所述业务系统,用于根据所述业务系统的业务链生成第一订单并将所述第一订单通过所述业务系统的代理服务写入对应的业务系统的主题中;The business system is configured to generate a first order according to the business chain of the business system and write the first order into the theme of the corresponding business system through the agency service of the business system;
所述业务系统,还用于通过所述业务系统的代理服务监听所述业务系统的主题从而获得所述业务系统的第二订单;The business system is further configured to monitor the subject of the business system through the agency service of the business system to obtain a second order of the business system;
所述业务链,用于处理所述业务系统发送的所述第二订单。The service chain is used to process the second order sent by the service system.
相应的,本发明实施例还提供了一种计算设备,包括:Correspondingly, an embodiment of the present invention also provides a computing device, including:
存储器,用于存储程序指令;Memory, used to store program instructions;
处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行上述基于区块链的跨链通信的方法。The processor is configured to call the program instructions stored in the memory, and execute the above-mentioned blockchain-based cross-chain communication method according to the obtained program.
相应的,本发明实施例还提供了一种计算机可读非易失性存储介质,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述基于区块链的跨链通信的方法。Correspondingly, an embodiment of the present invention also provides a computer-readable non-volatile storage medium, including computer-readable instructions. When the computer reads and executes the computer-readable instructions, the computer executes the above-mentioned blockchain-based The method of cross-chain communication.
相应的,本发明实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述基于区块链的跨链通信的方法。Correspondingly, the embodiment of the present invention also provides a computer program product containing instructions, which when running on a computer, causes the computer to execute the above-mentioned blockchain-based cross-chain communication method.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative work, other drawings can be obtained from these drawings.
图1为现有技术中的系统架构的示意图;Figure 1 is a schematic diagram of a system architecture in the prior art;
图2为本发明实施例提供的一种系统架构的示意图;2 is a schematic diagram of a system architecture provided by an embodiment of the present invention;
图3为本发明实施例提供的一种跨链通信的方法的流程示意图;FIG. 3 is a schematic flowchart of a method for cross-chain communication according to an embodiment of the present invention;
图4为本发明实施例提供的另一种跨链通信的方法的流程示意图;4 is a schematic flowchart of another method for cross-chain communication according to an embodiment of the present invention;
图5为本发明实施例提供的一种跨链通信的装置的结构示意图;5 is a schematic structural diagram of a cross-chain communication device provided by an embodiment of the present invention;
图6为本申请提供的一种计算设备的结构示意图。FIG. 6 is a schematic structural diagram of a computing device provided by this application.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
图2示例性的示出了本发明实施例提供基于区块链的跨链通信的方法所适用的系统架构,该系统架构可以为包括委员链、多个业务系统、各业务系统对应的业务链。其中,委员链是由节点组成的区块链系统,委员链包括与各业务系统对应的节点;委员链的智能合约中记录有各业务系统的主题,此处,主题可以理解为区块链节点中的一条消息通道,用于接收该主题对应的消息;各业务系统,用于订阅自身业务系统的主题,即各业务系统监听委员链的智能合约中的各业务系统的主题中的信息;业务系统对应的业务链用于处理业务系统发送的订单信息。Fig. 2 exemplarily shows the system architecture applicable to the method of blockchain-based cross-chain communication provided by the embodiment of the present invention. The system architecture may include a committee chain, multiple business systems, and business chains corresponding to each business system. . Among them, the committee chain is a blockchain system composed of nodes. The committee chain includes nodes corresponding to each business system; the smart contract of the committee chain records the theme of each business system. Here, the theme can be understood as a blockchain node A message channel in, is used to receive the message corresponding to the topic; each business system is used to subscribe to the topic of its own business system, that is, each business system monitors the information in the topic of each business system in the smart contract of the committee chain; business The business chain corresponding to the system is used to process the order information sent by the business system.
各业务系统在进行跨链通信时,可以根据业务系统的业务链生成第一订单且通过业务系统的代理服务写入对应的业务系统的主题中,还可以通过业务系统的代理服务监听业务系统的主题从而获得业务系统的第二订单,业务系统可以将该第二订单发送至对应的业务链,以使业务链处理该第二订单。When each business system performs cross-chain communication, it can generate the first order according to the business chain of the business system and write it into the theme of the corresponding business system through the business system's proxy service. It can also monitor the business system's information through the business system's proxy service. The subject thus obtains the second order of the business system, and the business system can send the second order to the corresponding business chain so that the business chain can process the second order.
如图2所示的例子,该业务系统中包括业务系统A、业务系统B、业务系统C,对应的业务链分别为:业务链a、业务链b、业务链c,对应的委员链节点分别为:节点1、节 点2、节点3,对应的主题分别为:主题1、主题2、主题3。进一步的,委员链包括节点1、节点2、节点3,且委员链中各节点部署智能合约,该智能合约中包括主题1、主题2、主题3。业务系统A创建主题1并订阅主题2,业务系统B创建主题2并订阅主题2,业务系统C创建主题3并订阅主题3,如当业务系统A需要向业务系统B发送消息时,可以通过业务系统A的代理服务将消息写入节点1的主题2中,委员链中各节点执行广播共识,即节点2的主题2中存在该消息,以使得业务系统B通过业务系统B的代理服务订阅该主题2中的消息。此外,业务系统不仅可以订阅自己对应的主题,还可以对应其他业务系统对应的主题,如业务系统B可以同时订阅主题2和主题3。As shown in Figure 2, the business system includes business system A, business system B, and business system C. The corresponding business chains are: business chain a, business chain b, and business chain c. The corresponding committee chain nodes are respectively They are: node 1, node 2, and node 3. The corresponding topics are: topic 1, topic 2, and topic 3. Further, the committee chain includes node 1, node 2, and node 3, and each node in the committee chain deploys a smart contract, and the smart contract includes theme 1, theme 2, and theme 3. Business system A creates topic 1 and subscribes to topic 2, business system B creates topic 2 and subscribes to topic 2, business system C creates topic 3 and subscribes to topic 3. For example, when business system A needs to send a message to business system B, you can use the business The agent service of system A writes the message into topic 2 of node 1, and each node in the committee chain performs a broadcast consensus, that is, the message exists in topic 2 of node 2, so that business system B subscribes to the message through the agent service of business system B Message in topic 2. In addition, the business system can not only subscribe to its own corresponding topics, but also correspond to the topics of other business systems. For example, business system B can subscribe to topics 2 and 3 at the same time.
本发明实施例中,可以采用消息中间件实现各业务系统的发布订阅,业务系统可以通过消息中间件启用一个代理服务在委员链中创建主题,用于接收该主题对应的消息。进一步的,业务系统还可以通过该代理服务发布消息至对应主题中。In the embodiment of the present invention, message middleware can be used to implement publishing and subscription of various business systems, and the business system can use the message middleware to activate a proxy service to create a topic in the committee chain for receiving messages corresponding to the topic. Further, the business system can also publish messages to corresponding topics through the proxy service.
通过该系统架构,业务系统之间跨链通信无需进行大量代码配置,只需要将消息发送至待通信的业务系统的主题中即可。Through this system architecture, cross-chain communication between business systems does not require a large amount of code configuration, and only needs to send messages to the subject of the business system to be communicated.
基于上述描述,图3示例性的示出了本发明实施例提供的一种基于区块链的跨链通信的方法的流程,该流程可以由基于区块链的跨链通信的装置执行。Based on the above description, FIG. 3 exemplarily shows the flow of a method for blockchain-based cross-chain communication according to an embodiment of the present invention, and the flow can be executed by a device for blockchain-based cross-chain communication.
如图3所示,该流程具体包括:As shown in Figure 3, the process specifically includes:
步骤301,第一业务系统根据从第一业务链获取的信息生成第一订单。Step 301: The first business system generates a first order based on the information obtained from the first business chain.
第一业务链即第一业务系统对应的业务链,第一业务链中部署智能合约,用于存储第一业务系统中的商品信息,商品信息可以是卡券信息。第一业务系统可以通过SDK(Software Development Kit,软件开发工具包)从第一业务链的智能合约中确定待购买的商品信息,并根据待购买的商品信息生成第一订单。The first business chain is the business chain corresponding to the first business system. Smart contracts are deployed in the first business chain to store product information in the first business system. The product information may be card and coupon information. The first business system can determine the product information to be purchased from the smart contract of the first business chain through SDK (Software Development Kit), and generate the first order according to the product information to be purchased.
步骤302,所述第一业务系统通过所述委员链确定所述第一订单对应的第二业务系统的主题。Step 302: The first business system determines the theme of the second business system corresponding to the first order through the committee chain.
委员链可以将各商品与各业务系统的主题之间的对照关系存储在区块链账本中,如各业务系统将各自的商品信息发送至委员链,委员链通过账本形式存储,当第一业务系统需要发送第一订单时,可以遍历整个账本查看第一订单对应的第二业务系统的主题。The committee chain can store the comparison relationship between each product and the theme of each business system in the blockchain ledger. For example, each business system sends its product information to the committee chain, and the committee chain stores it in the form of the account book. When the system needs to send the first order, it can traverse the entire ledger to view the subject of the second business system corresponding to the first order.
委员链中还可以部署商品合约,该商品合约中记录有各商品与各业务系统的主题之间的对照关系。例如,该商品合约中记录有某商品的标识,该商品是业务系统A中商品,业务系统A在委员链中的主题为主题1,则商品合约中记录该商品的标识和主题1的对应关系。本发明实施例中,第一业务系统生成的第一订单中包括商品信息和订单信息,商品信息可以包括商品类别、商品报价、卡券面额等,订单信息可以包括下单价格、采购数量、供应商、采购商等,第一业务系统可以将该商品信息记录在查询请求发送至委员链,委员链接收该查询请求后,根据查询请求中的商品信息从商品合约中确定对应的第二业务系统的主题,并将该第二业务系统的主题返回至第一业务系统。Commodity contracts can also be deployed in the committee chain. The commodity contract records the comparison between each commodity and the subject of each business system. For example, if the commodity contract records the identification of a certain commodity, the commodity is a commodity in business system A, and the subject of business system A in the committee chain is topic 1, then the commodity contract records the correspondence between the commodity identification and topic 1 . In the embodiment of the present invention, the first order generated by the first business system includes product information and order information. The product information can include product category, product quotation, coupon denomination, etc., and order information can include order price, purchase quantity, supply For merchants, purchasers, etc., the first business system can record the product information in the query request and send it to the committee chain. After receiving the query request, the committee chain determines the corresponding second business system from the commodity contract based on the product information in the query request And return the theme of the second business system to the first business system.
步骤303,所述第一业务系统将所述第一订单通过所述第一业务系统的第一代理服务写入所述第二业务系统的主题中。Step 303: The first business system writes the first order into the subject of the second business system through the first agency service of the first business system.
第一业务系统可以将第一订单按照预设的格式封装,并通过第一业务系统的第一代理服务写入委员链的第二业务系统的主题中,本发明实施例中,只要发布者将消息发布至订阅者所订阅的主题后,委员链则会返回第一响应至第一业务系统。此处,也可以是第一代理服务返回第一响应,即第一代理服务将第一订单写入委员链的第二业务系统的主题后, 即返回第一响应至第一业务系统。本发明实施例中,通过异步的方式,将发布者发布消息和订阅者订阅消息解耦,即将第一业务系统发送第一订单和第二业务系统获取第一订单解耦,第一业务系统无需等到第二业务系统获取第一订单的响应信息,提高了第一业务系统发布订单的效率,且各业务系统仅需要维护对应业务链和委员链中的主题即可,减少业务系统的维护工作量。The first business system can encapsulate the first order in a preset format, and write it into the subject of the second business system of the committee chain through the first agency service of the first business system. In the embodiment of the present invention, as long as the publisher will After the message is published to the topic subscribed by the subscriber, the committee chain will return the first response to the first business system. Here, it may also be that the first agent service returns the first response, that is, after the first agent service writes the first order into the subject of the second business system of the committee chain, it returns the first response to the first business system. In the embodiment of the present invention, the publisher publishes the message and the subscriber subscribes to the message in an asynchronous manner, that is, the first business system sends the first order and the second business system obtains the first order. The first business system does not need to Waiting until the second business system obtains the response information of the first order improves the efficiency of the first business system to issue orders, and each business system only needs to maintain the theme in the corresponding business chain and committee chain, reducing the maintenance workload of the business system .
具体的,将委员链中第一业务系统对应的节点记为第一节点,将委员链中第二业务系统对应的节点记为第二节点。第一业务系统可以将第一订单通过第一业务系统对应的第一代理服务将第一订单写入第一节点的智能合约中,具体是写入第一节点的智能合约的第二业务系统的主题中,第一节点将写入智能合约的第一订单同步至委员链的各节点,第二节点的智能合约中即同步到该第一订单,具体是将该第一订单同步至第二节点智能合约的第二业务系统的主题中。Specifically, the node corresponding to the first business system in the committee chain is recorded as the first node, and the node corresponding to the second business system in the committee chain is recorded as the second node. The first business system can write the first order into the smart contract of the first node through the first agency service corresponding to the first business system, specifically the second business system of the smart contract of the first node. In the theme, the first node synchronizes the first order written in the smart contract to each node of the committee chain, and the second node’s smart contract is synchronized to the first order, specifically, the first order is synchronized to the second node The subject of the second business system of smart contracts.
第二业务系统通过第二业务系统的第二代理服务监听第二业务系统的主题,相当于,第二节点的智能合约中的第二业务系统的主题中同步到第一订单时,第二业务系统即可以通过第二代理服务监听到该第一订单,从而可以通过第二业务系统的业务链执行第一订单。The second business system monitors the subject of the second business system through the second proxy service of the second business system, which is equivalent to when the subject of the second business system in the smart contract of the second node is synchronized to the first order, the second business That is, the system can monitor the first order through the second agent service, so that the first order can be executed through the business chain of the second business system.
此外,第一业务系统不仅可以通过第一代理服务将第一订单写入第二业务系统的主题中,同样也可以通过第一代理服务监听自己主题中写入的第二订单,其中,第二订单是第三业务系统生成并通过第三业务系统的第三代理服务写入第一业务系统的主题的消息。第一业务系统将监听到的第二订单发送至第一业务链,并可以通过第一业务链执行第二订单,当第一业务链执行完成第二订单后,可以将第二订单的执行结果返回至第一业务系统,第一业务系统在将第二订单的执行结果通过第一代理服务写入第三业务系统的主题中。第三业务系统监听该主题,并获取到该第三订单。In addition, the first business system can not only write the first order into the subject of the second business system through the first agent service, but also can monitor the second order written in its subject through the first agent service, where the second The order is a message generated by the third business system and written into the subject of the first business system through the third agent service of the third business system. The first business system sends the monitored second order to the first business chain, and can execute the second order through the first business chain. When the first business chain executes the second order, it can report the execution result of the second order Returning to the first business system, the first business system is writing the execution result of the second order into the subject of the third business system through the first agency service. The third business system monitors the topic and obtains the third order.
为了更好的解释本发明实施例,下面将在具体的实施场景下描述该基于区块链的跨链通信的流程,如图4所示,该业务系统中包括业务系统A、业务系统B,对应的业务链分别为:业务链a、业务链b,对应的委员链节点分别为:节点1、节点2,对应的主题分别为:主题1、主题2。进一步的,委员链包括节点1、节点2,且委员链中各节点部署智能合约,该智能合约中包括主题1、主题2。消息中间件启动第一代理服务用于发布业务系统A的消息以及订阅主题1中的消息;消息中间件启动第二代理服务用于发布业务系统B的消息以及订阅主题2中的消息。业务系统A需要发送第一订单到业务系统B做权益兑换业务。In order to better explain the embodiments of the present invention, the following will describe the blockchain-based cross-chain communication process in a specific implementation scenario. As shown in Figure 4, the business system includes business system A and business system B. The corresponding business chains are: business chain a, business chain b, the corresponding committee chain nodes are: node 1, node 2, and the corresponding topics are: topic 1, topic 2. Further, the committee chain includes node 1 and node 2, and each node in the committee chain deploys a smart contract, and the smart contract includes topic 1 and topic 2. The message middleware starts the first proxy service to publish the messages of business system A and subscribe to the messages in topic 1; the message middleware starts the second proxy service to publish the messages of business system B and subscribe to the messages in topic 2. Business system A needs to send the first order to business system B for equity exchange business.
执行步骤具体如下:The specific steps are as follows:
步骤401,业务系统A通过SDK从业务链a的智能合约中查找出需要发送给业务系统B的产品和订单数据,并根据获取到的产品和订单数据生成第一订单,例如,第一订单中有预购买的第一商品的商品标识和购买价格。In step 401, business system A finds the product and order data that needs to be sent to business system B from the smart contract of business chain a through the SDK, and generates a first order based on the obtained product and order data, for example, in the first order There is the product identification and purchase price of the first product pre-purchased.
步骤402,业务系统A通过SDK从委员链的节点1的商品合约中确定该第一商品的商品标识所对应的业务系统B的主题2。In step 402, the business system A determines the subject 2 of the business system B corresponding to the commodity identifier of the first commodity from the commodity contract of the node 1 of the committee chain through the SDK.
步骤403,业务系统A将第一订单按照预设消息格式封装,并通过第一代理服务发送至节点1的智能合约的主题2中,第一代理服务返回发布成功的响应至业务系统A。In step 403, the business system A encapsulates the first order according to a preset message format, and sends it to the topic 2 of the smart contract of the node 1 through the first agency service.
步骤404,委员链中节点1的智能合约的主题2中第一订单被同步至节点2的智能合约的主题2中,即节点2的智能合约的主题2中记录有该第一订单。In step 404, the first order in topic 2 of the smart contract of node 1 in the committee chain is synchronized to topic 2 of the smart contract of node 2, that is, the first order is recorded in topic 2 of the smart contract of node 2.
步骤405,业务系统B通过第二代理服务监听到节点2的智能合约的主题2中的第一 订单,并解析第一订单,并判断第一订单中的购买价格是否通过业务系统B预设的兑换规则,如确定该第一商品的购买价格大于成本价格,或者将第一订单中信息发送至业务系统B的工作人员,由工作人员进行人工判断。Step 405: Business system B monitors the first order in topic 2 of the smart contract of node 2 through the second proxy service, analyzes the first order, and determines whether the purchase price in the first order is preset by business system B Exchange rules, such as determining that the purchase price of the first commodity is greater than the cost price, or sending the information in the first order to the staff of business system B, the staff will make manual judgments.
步骤406,若业务系统B确定该第一订单通过预设的兑换规则,则在业务链b中执行兑换业务,并将兑换业务完成结果通过第二代理服务写入节点2的智能合约的主题1中;若业务系统B确定该第一订单未通过预设的兑换规则,则可以生成相应的响应,如该第一商品的预售价格,并将该响应通过第二代理服务写入节点2的智能合约的主题1中。Step 406: If the business system B determines that the first order passes the preset exchange rules, it executes the exchange business in the business chain b, and writes the completion result of the exchange business into the topic 1 of the smart contract of node 2 through the second agent service Medium; If the business system B determines that the first order does not pass the preset exchange rules, it can generate a corresponding response, such as the pre-sale price of the first commodity, and write the response to the node 2 through the second agent service In topic 1 of the smart contract.
上述技术方案中,第一业务系统生成第一订单,并从委员链中确定第一订单对应的第二业务系统的主题,将第一订单通过第一代理服务写入第二业务系统的主题中,第一业务系统无需存储各业务系统的主题,也无需在第一业务系统中配置与第三方业务链通信的相关信息,第一业务系统仅需维护自己的业务链以及与委员链之间的关系即可,减少了第一业务系统的运维工作。进一步的,解除各业务系统与第三方业务链的耦合性,降低新业务系统接入的门槛,当新增一个业务系统和一个业务链,新增业务系统配置自己业务链、与委员链之间的相关信息,无需配置与其它已有业务链之间的信息,以及其它已有业务系统也无需配置与该新增业务链之间的关系,减少了新增业务系统和业务链的配置工作。增强各业务系统的可扩展性,能以很低的成本实现对第三方业务链数据的跨链访问,增强系统的可扩展性。通过消息中间件,使用基于主题的发布订阅模式,并因为是基于区块链的实现,所以消息永不丢失且不可篡改,传输信道加密且连接需要证书认证,通过选择此跨机构的消息中间件和建立委员链来安全地打通各个业务系统,实现各业务系统之间通信。In the above technical solution, the first business system generates the first order, determines the theme of the second business system corresponding to the first order from the committee chain, and writes the first order into the theme of the second business system through the first agency service , The first business system does not need to store the themes of each business system, nor does it need to configure information related to communication with third-party business chains in the first business system. The first business system only needs to maintain its own business chain and communication with the committee chain The relationship is enough, reducing the operation and maintenance work of the first business system. Furthermore, the coupling between each business system and the third-party business chain is lifted, and the threshold for new business system access is lowered. When a business system and a business chain are added, the new business system configures its own business chain and the committee chain. There is no need to configure the information with other existing business chains, and other existing business systems do not need to configure the relationship with the new business chain, which reduces the configuration work of the new business system and business chain. Enhance the scalability of various business systems, enable cross-chain access to third-party business chain data at a very low cost, and enhance the scalability of the system. Through the message middleware, the topic-based publish and subscribe model is used, and because it is based on the implementation of the blockchain, the message is never lost and cannot be tampered with. The transmission channel is encrypted and the connection requires certificate authentication. By choosing this inter-agency message middleware And establish a committee chain to safely open up various business systems and realize communication between various business systems.
基于同一发明构思,图5示例性的示出了本发明实施例提供的一种基于区块链的跨链通信的装置的结构,该装置可以执行基于区块链的跨链通信的方法的流程。Based on the same inventive concept, FIG. 5 exemplarily shows the structure of a block chain-based cross-chain communication device provided by an embodiment of the present invention. The device can execute the process of the block chain-based cross-chain communication method. .
该装置适用于包括委员链、多个业务系统、各业务系统对应的业务链的交易系统;所述委员链中包括与各业务系统对应的节点;所述委员链的智能合约中记录有各业务系统的主题;各业务系统监听各业务系统的主题中的消息;The device is suitable for a transaction system including a committee chain, multiple business systems, and a business chain corresponding to each business system; the committee chain includes nodes corresponding to each business system; the smart contract of the committee chain records each business The subject of the system; each business system monitors the messages in the subject of each business system;
该装置包括:The device includes:
生成单元501,用于根据从第一业务链获取的信息生成第一订单;The generating unit 501 is configured to generate a first order according to the information obtained from the first business chain;
确定单元502,用于通过所述委员链确定所述第一订单对应的第二业务系统的主题;The determining unit 502 is configured to determine the theme of the second business system corresponding to the first order through the committee chain;
处理单元503,用于将所述第一订单通过第一业务系统的第一代理服务写入所述第二业务系统的主题中;所述第二业务系统通过所述第二业务系统的第二代理服务监听所述第二业务系统的主题,从而实现对所述第一订单的执行。The processing unit 503 is configured to write the first order into the subject of the second business system through the first agency service of the first business system; the second business system through the second business system of the second business system The agent service monitors the subject of the second business system, so as to implement the execution of the first order.
可选的,所述处理单元503,具体用于:Optionally, the processing unit 503 is specifically configured to:
所述第一业务系统将所述第一订单通过所述第一代理服务写入所述委员链的第一节点的所述第二业务系统的主题中,以使所述第一节点将所述第一订单同步至所述第二节点的所述第二业务系统的主题中;所述第一节点是所述委员链中所述第一业务系统对应的节点,所述第二节点是所述委员链中所述第二业务系统对应的节点。The first business system writes the first order into the subject of the second business system of the first node of the committee chain through the first proxy service, so that the first node will The first order is synchronized to the subject of the second business system of the second node; the first node is the node corresponding to the first business system in the committee chain, and the second node is the The node corresponding to the second business system in the committee chain.
可选的,所述处理单元503,还用于:Optionally, the processing unit 503 is further configured to:
通过所述第一代理服务从所述第一业务系统的主题中监听到第二订单,所述第二订单是第三业务系统生成的并通过所述第三业务系统的第三代理服务写入所述第一业务系统的主题的消息;A second order is monitored from the subject of the first business system through the first agent service, and the second order is generated by a third business system and written through the third agent service of the third business system The message of the subject of the first business system;
将所述第二订单发送至第一业务链,通过所述第一业务链执行所述第二订单,从而接 收所述第一业务链的第二订单的执行结果;Sending the second order to the first business chain, and executing the second order through the first business chain, so as to receive the execution result of the second order of the first business chain;
将所述第二订单的执行结果通过所述第一代理服务写入所述第三业务系统的主题中。The execution result of the second order is written into the subject of the third business system through the first agency service.
可选的,所述委员链还包括商品合约,所述商品合约记录有各商品与各业务系统的主题之间的对照关系;Optionally, the committee chain further includes a commodity contract, and the commodity contract records a comparison relationship between each commodity and the subject of each business system;
所述第一订单中包括商品信息;The first order includes commodity information;
所述确定单元502,具体用于:The determining unit 502 is specifically configured to:
向所述委员链发送查询请求,所述查询请求中包括所述第一订单的商品信息;Sending a query request to the committee chain, where the query request includes the product information of the first order;
接收所述委员链返回的所述第二业务系统的主题;所述第二业务系统的主题是所述委员链根据所述商品合约确定的。The subject of the second business system returned by the committee chain is received; the subject of the second business system is determined by the committee chain according to the commodity contract.
基于同一发明构思,本发明实施例还提供了一种基于区块链的交易系统,包括委员链、多个业务系统、各业务系统对应的业务链;Based on the same inventive concept, the embodiment of the present invention also provides a blockchain-based transaction system, including a committee chain, multiple business systems, and business chains corresponding to each business system;
所述委员链,用于承载各业务系统的主题;The committee chain is used to carry the theme of each business system;
所述各业务系统,用于订阅自身业务系统的主题;Each of the business systems is used to subscribe to the topic of the business system;
所述业务系统,用于根据所述业务系统的业务链生成第一订单并通过所述业务系统的代理服务写入对应的业务系统的主题中;The business system is configured to generate a first order according to the business chain of the business system and write it into the theme of the corresponding business system through the agency service of the business system;
所述业务系统,还用于通过所述业务系统的代理服务监听所述业务系统的主题从而获得所述业务系统的第二订单;The business system is further configured to monitor the subject of the business system through the agency service of the business system to obtain a second order of the business system;
所述业务链,用于处理所述业务系统发送的所述第二订单。The service chain is used to process the second order sent by the service system.
基于与上述图3所示的方法相同的构思,本申请还提供一种计算设备,如图6所示,该计算设备包括至少一个处理器620,用于实现本申请实施例提供的图3中任一方法。Based on the same concept as the method shown in FIG. 3, the present application also provides a computing device. As shown in FIG. 6, the computing device includes at least one processor 620 for implementing the method in FIG. 3 provided by the embodiment of the present application. Any method.
计算设备600还可以包括至少一个存储器630,用于存储程序指令和/或数据。存储器630和处理器620耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器620可能和存储器630协同操作。处理器620可能执行存储器630中存储的程序指令。所述至少一个存储器中的至少一个可以包括于处理器中。The computing device 600 may also include at least one memory 630 for storing program instructions and/or data. The memory 630 and the processor 620 are coupled. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units, or modules, and may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 620 may cooperate with the memory 630 to operate. The processor 620 may execute program instructions stored in the memory 630. At least one of the at least one memory may be included in the processor.
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, the steps of the above method can be completed by hardware integrated logic circuits in the processor or instructions in the form of software. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
应注意,本申请实施例中的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理电路(digital signal processor,DSP)、专用集成芯片(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只 读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be noted that the processor in the embodiment of the present application may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method embodiments may be completed by hardware integrated logic circuits in the processor or instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processing circuit (digital signal processor, DSP), a dedicated integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electronic Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) ) And direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to, these and any other suitable types of memories.
计算设备600还可以包括通信接口610,用于通过传输介质和其它设备进行通信,从而用于计算设备600中的装置可以和其它设备进行通信。在本申请实施例中,通信接口可以是收发器、电路、总线、模块或其它类型的通信接口。在本申请实施例中,通信接口为收发器时,收发器可以包括独立的接收器、独立的发射器;也可以集成收发功能的收发器、或者是接口电路。The computing device 600 may further include a communication interface 610 for communicating with other devices through a transmission medium, so that the device used in the computing device 600 can communicate with other devices. In the embodiment of the present application, the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface. In the embodiments of the present application, when the communication interface is a transceiver, the transceiver may include an independent receiver and an independent transmitter; it may also be a transceiver with integrated transceiver functions, or an interface circuit.
计算设备600还可以包括通信线路640。其中,通信接口610、处理器620以及存储器630可以通过通信线路640相互连接;通信线路640可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述通信线路640可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The computing device 600 may also include a communication line 640. Among them, the communication interface 610, the processor 620, and the memory 630 may be connected to each other through a communication line 640; the communication line 640 may be a peripheral component interconnection standard (peripheral component interconnect, PCI for short) bus or an extended industry standard architecture (extended industry standard architecture) , Referred to as EISA) bus and so on. The communication line 640 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
基于同一发明构思,本发明实施例还提供了一种计算机可读非易失性存储介质,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述基于区块链的跨链通信的方法。Based on the same inventive concept, embodiments of the present invention also provide a computer-readable non-volatile storage medium, including computer-readable instructions. When the computer reads and executes the computer-readable instructions, the computer executes the above-mentioned region-based The method of block chain cross-chain communication.
基于同一发明构思,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述基于区块链的跨链通信的方法。Based on the same inventive concept, the embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the above-mentioned blockchain-based cross-chain communication method.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although the preferred embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.

Claims (12)

  1. 一种基于区块链的跨链通信的方法,其特征在于,适用于包括委员链、多个业务系统、各业务系统对应的业务链的交易系统;所述委员链中包括与各业务系统对应的节点;所述委员链的智能合约中记录有各业务系统的主题;各业务系统监听各业务系统的主题中的消息;A block chain-based cross-chain communication method, characterized in that it is suitable for a transaction system including a committee chain, multiple business systems, and a business chain corresponding to each business system; the committee chain includes a transaction system corresponding to each business system The node of the committee; the subject of each business system is recorded in the smart contract of the committee chain; each business system monitors the messages in the subject of each business system;
    所述方法包括:The method includes:
    第一业务系统根据从第一业务链获取的信息生成第一订单;The first business system generates the first order according to the information obtained from the first business chain;
    所述第一业务系统通过所述委员链确定所述第一订单对应的第二业务系统的主题;The first business system determines the theme of the second business system corresponding to the first order through the committee chain;
    所述第一业务系统将所述第一订单通过所述第一业务系统的第一代理服务写入所述第二业务系统的主题中;所述第二业务系统通过所述第二业务系统的第二代理服务监听所述第二业务系统的主题,从而实现对所述第一订单的执行。The first business system writes the first order into the subject of the second business system through the first agency service of the first business system; the second business system uses the second business system’s The second agent service monitors the subject of the second business system, thereby implementing the execution of the first order.
  2. 如权利要求1所述的方法,其特征在于,所述第一业务系统将所述第一订单通过所述第一代理服务写入所述第二业务系统的主题中,包括:The method of claim 1, wherein the first business system writes the first order into the subject of the second business system through the first agency service, comprising:
    所述第一业务系统将所述第一订单通过所述第一代理服务写入所述委员链的第一节点的所述第二业务系统的主题中,以使所述第一节点将所述第一订单同步至所述第二节点的所述第二业务系统的主题中;所述第一节点是所述委员链中所述第一业务系统对应的节点,所述第二节点是所述委员链中所述第二业务系统对应的节点。The first business system writes the first order into the subject of the second business system of the first node of the committee chain through the first proxy service, so that the first node will The first order is synchronized to the subject of the second business system of the second node; the first node is the node corresponding to the first business system in the committee chain, and the second node is the The node corresponding to the second business system in the committee chain.
  3. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    所述第一业务系统通过所述第一代理服务从所述第一业务系统的主题中监听到第二订单,所述第二订单是第三业务系统生成的并通过所述第三业务系统的第三代理服务写入所述第一业务系统的主题的消息;The first business system monitors a second order from the subject of the first business system through the first agency service, and the second order is generated by a third business system and passed through the third business system. The third agent service writes the message of the subject of the first business system;
    所述第一业务系统将所述第二订单发送至第一业务链,通过所述第一业务链执行所述第二订单,从而接收所述第一业务链的第二订单的执行结果;The first business system sends the second order to the first business chain, and executes the second order through the first business chain, thereby receiving the execution result of the second order of the first business chain;
    所述第一业务系统将所述第二订单的执行结果通过所述第一代理服务写入所述第三业务系统的主题中。The first business system writes the execution result of the second order into the subject of the third business system through the first agency service.
  4. 如权利要求1所述的方法,其特征在于,所述委员链还包括商品合约,所述商品合约记录有各商品与各业务系统的主题之间的对照关系;The method according to claim 1, wherein the committee chain further includes a commodity contract, and the commodity contract records a comparison relationship between each commodity and the subject of each business system;
    所述第一订单中包括商品信息;The first order includes commodity information;
    所述第一业务系统通过所述委员链确定所述第一订单对应的第二业务系统的主题,包括:The first business system determines the theme of the second business system corresponding to the first order through the committee chain, including:
    所述第一业务系统向所述委员链发送查询请求,所述查询请求中包括所述第一订单的商品信息;The first business system sends a query request to the committee chain, and the query request includes the product information of the first order;
    所述第一业务系统接收所述委员链返回的所述第二业务系统的主题;所述第二业务系统的主题是所述委员链根据所述商品合约确定的。The first business system receives the subject of the second business system returned by the committee chain; the subject of the second business system is determined by the committee chain according to the commodity contract.
  5. 一种基于区块链的跨链通信的装置,其特征在于,适用于包括委员链、多个业务系统、各业务系统对应的业务链的交易系统;所述委员链中包括与各业务系统对应的节点;所述委员链的智能合约中记录有各业务系统的主题;各业务系统监听各业务系统的主题中的消息;A block chain-based cross-chain communication device is characterized in that it is suitable for a transaction system including a committee chain, multiple business systems, and a business chain corresponding to each business system; the committee chain includes a business system corresponding to each business system.的nodes; the subject of each business system is recorded in the smart contract of the committee chain; each business system monitors the messages in the subject of each business system;
    所述装置包括:The device includes:
    生成单元,用于根据从第一业务链获取的信息生成第一订单;The generating unit is configured to generate the first order according to the information obtained from the first business chain;
    确定单元,用于通过所述委员链确定所述第一订单对应的第二业务系统的主题;A determining unit, configured to determine the theme of the second business system corresponding to the first order through the committee chain;
    处理单元,用于将所述第一订单通过第一业务系统的第一代理服务写入所述第二业务系统的主题中;所述第二业务系统通过所述第二业务系统的第二代理服务监听所述第二业务系统的主题,从而实现对所述第一订单的执行。The processing unit is configured to write the first order into the subject of the second business system through the first agent service of the first business system; the second business system through the second agent service of the second business system The service monitors the subject of the second business system, thereby implementing the execution of the first order.
  6. 如权利要求5所述的装置,其特征在于,所述处理单元,具体用于:The device according to claim 5, wherein the processing unit is specifically configured to:
    所述第一业务系统将所述第一订单通过所述第一代理服务写入所述委员链的第一节点的所述第二业务系统的主题中,以使所述第一节点将所述第一订单同步至所述第二节点的所述第二业务系统的主题中;所述第一节点是所述委员链中所述第一业务系统对应的节点,所述第二节点是所述委员链中所述第二业务系统对应的节点。The first business system writes the first order into the subject of the second business system of the first node of the committee chain through the first proxy service, so that the first node will The first order is synchronized to the subject of the second business system of the second node; the first node is the node corresponding to the first business system in the committee chain, and the second node is the The node corresponding to the second business system in the committee chain.
  7. 如权利要求5所述的装置,其特征在于,所述处理单元,还用于:The device according to claim 5, wherein the processing unit is further configured to:
    通过所述第一代理服务从所述第一业务系统的主题中监听到第二订单,所述第二订单是第三业务系统生成的并通过所述第三业务系统的第三代理服务写入所述第一业务系统的主题的消息;A second order is monitored from the subject of the first business system through the first agent service, and the second order is generated by a third business system and written through the third agent service of the third business system The message of the subject of the first business system;
    将所述第二订单发送至第一业务链,通过所述第一业务链执行所述第二订单,从而接收所述第一业务链的第二订单的执行结果;Sending the second order to the first business chain, and executing the second order through the first business chain, thereby receiving the execution result of the second order of the first business chain;
    将所述第二订单的执行结果通过所述第一代理服务写入所述第三业务系统的主题中。The execution result of the second order is written into the subject of the third business system through the first agency service.
  8. 如权利要求5所述的装置,其特征在于,所述委员链还包括商品合约,所述商品合约记录有各商品与各业务系统的主题之间的对照关系;The device according to claim 5, wherein the committee chain further comprises a commodity contract, and the commodity contract records a comparison relationship between each commodity and the subject of each business system;
    所述第一订单中包括商品信息;The first order includes commodity information;
    所述确定单元,具体用于:The determining unit is specifically used for:
    向所述委员链发送查询请求,所述查询请求中包括所述第一订单的商品信息;Sending a query request to the committee chain, where the query request includes the product information of the first order;
    接收所述委员链返回的所述第二业务系统的主题;所述第二业务系统的主题是所述委员链根据所述商品合约确定的。The subject of the second business system returned by the committee chain is received; the subject of the second business system is determined by the committee chain according to the commodity contract.
  9. 一种基于区块链的交易系统,其特征在于,包括委员链、多个业务系统、各业务系统对应的业务链;A blockchain-based transaction system, which is characterized by including a committee chain, multiple business systems, and business chains corresponding to each business system;
    所述委员链,用于承载各业务系统的主题;The committee chain is used to carry the theme of each business system;
    所述各业务系统,用于订阅自身业务系统的主题;Each of the business systems is used to subscribe to the topic of the business system;
    所述业务系统,用于根据所述业务系统的业务链生成第一订单并通过所述业务系统的代理服务写入对应的业务系统的主题中;The business system is configured to generate a first order according to the business chain of the business system and write it into the theme of the corresponding business system through the agency service of the business system;
    所述业务系统,还用于通过所述业务系统的代理服务监听所述业务系统的主题从而获得所述业务系统的第二订单;The business system is further configured to monitor the subject of the business system through the agency service of the business system to obtain a second order of the business system;
    所述业务链,用于处理所述业务系统发送的所述第二订单。The service chain is used to process the second order sent by the service system.
  10. 一种计算设备,其特征在于,包括:A computing device, characterized by comprising:
    存储器,用于存储程序指令;Memory, used to store program instructions;
    处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行权利要求1至4任一项所述的方法。The processor is configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 4 according to the obtained program.
  11. 一种计算机可读非易失性存储介质,其特征在于,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行如权利要求1至4任一项所述的方法。A computer-readable non-volatile storage medium, characterized by comprising computer-readable instructions, when the computer reads and executes the computer-readable instructions, the computer is caused to execute any one of claims 1 to 4 Methods.
  12. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1至4任一所述方法。A computer program product, characterized in that, the computer program product includes a calculation program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, The computer executes the method described in any one of claims 1 to 4.
PCT/CN2020/096424 2019-06-20 2020-06-16 Blockchain-based cross-chain communication method, device, and transaction system WO2020253688A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2020253688A1 true WO2020253688A1 (en) 2020-12-24

Family

ID=67961092

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

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

Families Citing this family (3)

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

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
CN108880794A (en) * 2018-06-15 2018-11-23 浙江华信区块链科技服务有限公司 Across chain user identity and its digital asset management system
EP3496329A1 (en) * 2017-12-08 2019-06-12 NEC Laboratories Europe GmbH Method and system of preserving privacy for usage of lightweight blockchain clients
CN110278264A (en) * 2019-06-20 2019-09-24 深圳前海微众银行股份有限公司 A kind of method, apparatus and transaction system across chain communication based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426949B (en) * 2017-08-29 2021-02-09 华为技术有限公司 Cross-chain transaction method and device
CN108712257B (en) * 2018-04-03 2020-04-17 阿里巴巴集团控股有限公司 Cross-block-chain authentication method and device and electronic equipment
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

Patent 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
EP3496329A1 (en) * 2017-12-08 2019-06-12 NEC Laboratories Europe GmbH Method and system of preserving privacy for usage of lightweight blockchain clients
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
CN108880794A (en) * 2018-06-15 2018-11-23 浙江华信区块链科技服务有限公司 Across chain user identity and its digital asset management system
CN110278264A (en) * 2019-06-20 2019-09-24 深圳前海微众银行股份有限公司 A kind of method, apparatus and transaction system across chain communication based on block chain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590426A (en) * 2021-08-09 2021-11-02 中国人民大学 Cross-trust domain service monitoring method and system based on block chain
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

Also Published As

Publication number Publication date
CN110278264A (en) 2019-09-24
CN110278264B (en) 2023-02-21

Similar Documents

Publication Publication Date Title
WO2020253688A1 (en) Blockchain-based cross-chain communication method, device, and transaction system
US11728992B2 (en) Cryptlet binding key graph
CN111159307B (en) Cross-link data subscription method and device
US20180332011A1 (en) Secure cryptlet tunnel
WO2017193715A1 (en) Method, device and apparatus for flow scheduling
TW202025143A (en) Claim settlement method and apparatus employing blockchain technology
WO2020103559A1 (en) Payment processing method for offline scenario, server, and readable storage medium
WO2020228365A1 (en) Reconciliation method and device employing consortium chain, and electronic apparatus
WO2020248982A1 (en) Method and device for transaction processing in blockchain
CN111950249B (en) Message generation method and device, electronic equipment and storage medium
WO2020216077A1 (en) Blockchain event deduplication method and apparatus, and computer device and storage medium
CN111506932A (en) Block chain calculation uplink implementation method
CN111415250A (en) Method and device for managing accounts receivable based on block chain, storage medium and equipment
TW202032466A (en) User age prediction method, apparatus, and device
WO2020256831A1 (en) Smart contract information redirect to updated version of smart contract
CN112669158B (en) Transaction system and control method and device of transaction service thereof
CN110069533A (en) A kind of event subscription method and device based on block chain
WO2021115002A1 (en) Method and apparatus for processing blockchain transaction record
TWI696970B (en) Interbank transaction failure noticing system based on blockchain and method thereof
CN111210320A (en) Account accounting method, device and equipment
WO2015192796A1 (en) Automatic application release method and system based on trusted service manager
CN110555768A (en) Digital asset distribution method and distribution system based on peer-to-peer network
CN112668998B (en) Flow implementation method, device, system, electronic equipment and readable storage medium
CN115018499A (en) Block chain-based digital certificate issuing method, device and system
CN105787736A (en) Data business processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20825424

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20825424

Country of ref document: EP

Kind code of ref document: A1