CN111355757B - Cross-chain communication method and device for block chain in supply chain field - Google Patents

Cross-chain communication method and device for block chain in supply chain field Download PDF

Info

Publication number
CN111355757B
CN111355757B CN201811572314.3A CN201811572314A CN111355757B CN 111355757 B CN111355757 B CN 111355757B CN 201811572314 A CN201811572314 A CN 201811572314A CN 111355757 B CN111355757 B CN 111355757B
Authority
CN
China
Prior art keywords
invoice
financing
information acquisition
block chain
checked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811572314.3A
Other languages
Chinese (zh)
Other versions
CN111355757A (en
Inventor
张盼
王申
赵林
牟森
梁宵
张京伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201811572314.3A priority Critical patent/CN111355757B/en
Publication of CN111355757A publication Critical patent/CN111355757A/en
Application granted granted Critical
Publication of CN111355757B publication Critical patent/CN111355757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1059Inter-group management mechanisms, e.g. splitting, merging or interconnection of groups
    • 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
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • 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
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The application discloses a cross-chain communication method and device for a block chain in the field of supply chains. After receiving a first invoice information acquisition request which is sent by a first financing institution and comprises an identification of an invoice to be checked, sending a second invoice information acquisition request to an invoice alliance block chain according to a preset cross-chain inquiry contract, wherein the second invoice information acquisition request comprises the identification of the invoice to be checked and the identification of the connection block chain; and receiving a second invoice information acquisition response which is sent by the invoice alliance block chain according to the identification of the connection block chain and the identification of the invoice to be checked and comprises the invoice information of the invoice to be checked, and sending a first invoice information acquisition response comprising the invoice information to the first financing institution according to a preset cross-chain inquiry contract. Therefore, the method connects the plurality of alliance block chains through the connection block chains, realizes information transmission among the alliance block chains, namely realizes cross-chain communication among the alliance block chains, and improves the accuracy of invoice information inquiry.

Description

Cross-chain communication method and device for block chain in supply chain field
Technical Field
The present application relates to the field of block chain communication, and in particular, to a method and an apparatus for cross-chain communication of a block chain in the field of supply chains.
Background
Federation blockchains are generated, as can be appreciated from the group of federation chain uses, their main groups being banks, insurance, securities, business associations, corporate enterprises, and upstream and downstream enterprises.
The essence of supply chain finance is to use bonds and material rights between enterprises in the supply chain to carry out financing. In the development of supply chain financial services, financial institutions need to review the authenticity of trade. The invoice serves as a certificate of transaction between enterprises and has an important reference value on the definition of trade authenticity. In order to prevent enterprises from using the same invoice for different financing projects, a symmetric mechanism between an application enterprise and a financial institution can be solved by utilizing the irreparable and traceable property of a block chain, the mutual trust problem among members of a supply chain is solved, and the risk of invoice repeated financing is prevented.
However, currently, alliance block chains established among various industries are often in a self-administration mode, that is, for the validity of invoices, each alliance block chain in a supply chain needs to be verified by a credible third party such as a tax bureau; for invoice financing effectiveness, each federation blockchain in the supply chain can only be verified within the local federation blockchain. Therefore, the supply chain cannot realize information interconnection and intercommunication among a plurality of alliance block chains, and cannot inquire invoice information of invoices in other alliance block chains, so that the inquired invoice information is inaccurate.
Disclosure of Invention
The embodiment of the application provides a method and a device for inquiring invoice information in an alliance block chain, which solve the problems in the prior art and improve the accuracy of the inquired invoice information.
In a first aspect, a method for cross-chain communication of a block chain in a supply chain domain is provided, and the method may include:
the connection block chain receives a first invoice information acquisition request sent by a first financing institution, wherein the first invoice information acquisition request comprises an identification of an invoice to be checked, and the first financing institution is a financing institution in a first alliance block chain;
sending a second invoice information acquisition request to an invoice alliance block chain of invoices according to a preset cross-chain query contract, wherein the second invoice information acquisition request comprises the identification of the invoice to be checked and the identification of the connection block chain;
receiving a second invoice information acquisition response sent by the invoice alliance block chain according to the identification of the connection block chain and the identification of the invoice to be checked, wherein the second invoice information acquisition response comprises the invoice information of the invoice to be checked;
and sending a first invoice information acquisition response to the first financing mechanism according to the preset cross-chain inquiry contract, wherein the first invoice information acquisition response comprises the invoice information.
In one optional implementation, the invoice information includes invoice data and invoice status;
if the invoice state is an effective state, receiving a first invoice financing information acquisition request sent by the first financing mechanism, wherein the first invoice financing information acquisition request comprises an identifier of the invoice to be checked, and the effective state comprises an unreported state and an unproductive state;
sending a second invoice financing information acquisition request to a second financing institution according to the preset cross-link inquiry contract, wherein the second invoice financing information acquisition request comprises the identification of the invoice to be inquired and the identification of the connection block chain, and the second financing institution is a financing institution in other alliance block chains except the first alliance block chain;
receiving a second invoice financing information acquisition response sent by the second financing mechanism according to the identification of the connection area block chain and the identification of the invoice to be checked, wherein the second invoice financing information acquisition response comprises the financing information of the invoice to be checked;
and sending a first invoice financing information acquisition response to the first financing mechanism according to the preset cross-chain inquiry contract, wherein the first invoice financing information acquisition response comprises the financing information, so that the first financing mechanism determines the financing condition of the enterprise to be financed corresponding to the invoice to be examined according to the financing information.
In an optional implementation, before sending the second invoice information acquisition request to the invoice federation blockchain according to the preset cross-chain query contract, the method further includes:
acquiring an identifier of an invoice alliance block chain;
matching the acquired identification with the stored invoice alliance block chain identification;
and if the matching is successful, sending a second invoice information acquisition request to the invoice alliance block chain according to a preset cross-chain inquiry contract.
In a second aspect, a method of cross-chain communication of a blockchain of a supply chain domain is provided, which may include:
a first financing mechanism sends a first invoice information acquisition request to a connection block chain, wherein the first invoice information acquisition request comprises an identification of an invoice to be checked;
and receiving a first invoice information acquisition response sent by the connecting block chain, wherein the first invoice information acquisition response comprises invoice information of the invoice to be checked.
In an alternative implementation, the invoice information includes invoice data and invoice status;
before sending the first request for obtaining the invoice information to the link block chain, the method further comprises the following steps:
receiving a financing request sent by an enterprise to be financed, wherein the financing request comprises an identification of an invoice to be checked;
After receiving the first invoice information acquisition response sent by the link block chain, the method further includes:
if the invoice state is an effective state, sending a first invoice financing information acquisition request to the connection block chain, wherein the first invoice financing information acquisition request comprises an identifier of the invoice to be checked, and the effective state comprises an unreported state and an unproductive state;
receiving a first invoice financing information acquisition response sent by the connecting block chain, wherein the first invoice financing information acquisition response comprises financing information of the invoice to be checked;
when the financing information shows that the financing is not financing, generating indication information for allowing the enterprise to be financed to conduct financing;
and sending a financing response to the enterprise to be financed, wherein the financing response comprises indication information for allowing the enterprise to be financed.
In an optional implementation, a second invoice financing information acquisition request sent by the connection block chain is received, where the second invoice financing information acquisition request includes an identifier of an invoice to be checked in a second financing institution and an identifier of the connection block chain, and the second financing institution is a financing institution in another alliance block chain except for the alliance block chain where the first financing institution is located;
Matching the stored invoice identifier after financing with the identifier of the invoice to be checked in the second financing institution;
and sending a second invoice financing information acquisition response to the connection block chain, wherein the second invoice financing information acquisition response comprises the financing information of the invoice to be checked in the second financing mechanism.
In a third aspect, a cross-chain communication apparatus is provided, which may include: a receiving unit and a transmitting unit;
the receiving unit is used for receiving a first invoice information acquisition request sent by a first financing institution, wherein the first invoice information acquisition request comprises an identification of an invoice to be checked, and the first financing institution is a financing institution in a first alliance block chain;
the sending unit is used for sending a second invoice information acquisition request to the invoice alliance block chain according to a preset cross-chain inquiry contract, wherein the second invoice information acquisition request comprises the identification of the invoice to be inquired and the identification of the connection block chain;
the receiving unit is further configured to receive a second invoice information acquisition response sent by the invoice alliance block chain according to the identifier of the connection block chain and the identifier of the invoice to be checked, where the second invoice information acquisition response includes invoice information of the invoice to be checked;
The sending unit is further configured to send a first invoice information acquisition response to the first financing institution according to the preset cross-chain inquiry contract, where the first invoice information acquisition response includes the invoice information.
In one optional implementation, the invoice information includes invoice data and invoice status;
the receiving unit is further configured to receive a first invoice financing information acquisition request sent by the first financing mechanism if the invoice status is an effective status, where the first invoice financing information acquisition request includes an identifier of the invoice to be checked, and the effective status includes an unreported status and an unproductive status;
the sending unit is further configured to send a second invoice financing information acquisition request to a second financing institution according to the preset cross-link inquiry contract, where the second invoice financing information acquisition request includes an identifier of the invoice to be inquired and an identifier of the connection block chain, and the second financing institution is a financing institution in another alliance block chain except the first alliance block chain;
the receiving unit is further configured to receive a second invoice financing information acquisition response sent by the second financing mechanism according to the identifier of the connection block chain and the identifier of the invoice to be checked, where the second invoice financing information acquisition response includes the financing information of the invoice to be checked;
The sending unit is further configured to send a first invoice financing information acquisition response to the first financing mechanism according to the preset cross-chain inquiry contract, where the first invoice financing information acquisition response includes the financing information, so that the first financing mechanism determines the financing condition of the enterprise to be financed corresponding to the invoice to be checked according to the financing information.
In an optional implementation, the apparatus further comprises an obtaining unit and a matching unit;
the acquiring unit is used for acquiring the identifier of the invoice alliance block chain;
the matching unit is used for matching the acquired identifier with the stored invoice alliance block chain identifier;
and the sending unit is further configured to send a second invoice information acquisition request to the invoice alliance block chain according to a preset cross-chain query contract if the matching is successful.
In a fourth aspect, a cross-chain communication apparatus is provided, which may include: a transmitting unit and a receiving unit;
the sending unit is used for sending a first invoice information acquisition request to the connection block chain, wherein the first invoice information acquisition request comprises an identifier of an invoice to be checked;
the receiving unit is configured to receive a first invoice information acquisition response sent by the connection block chain, where the first invoice information acquisition response includes invoice information of the invoice to be checked.
In one optional implementation, the invoice information includes invoice data and invoice status;
the receiving unit is also used for receiving a financing request sent by an enterprise to be financed, wherein the financing request comprises an identification of an invoice to be checked;
the sending unit is further configured to send a first invoice financing information acquisition request to the connection block chain if the invoice status is an effective status, where the first invoice financing information acquisition request includes an identifier of the invoice to be checked, and the effective status includes an unreported status and an unproductive status;
the receiving unit is further configured to receive a first invoice financing information acquisition response sent by the connection block chain, where the first invoice financing information acquisition response includes the financing information of the invoice to be checked;
the sending unit is further configured to send a financing response to the enterprise to be financed when the financing information indicates that the financing is not financed, where the financing response includes indication information that allows the enterprise to be financed to conduct financing.
In an alternative implementation, the apparatus further comprises a matching unit;
the receiving unit is further configured to receive a second invoice financing information acquisition request sent by the connection block chain, where the second invoice financing information acquisition request includes an identifier of an invoice to be checked in a second financing institution and an identifier of the connection block chain, and the second financing institution is a financing institution in another alliance block chain except the alliance block chain where the first financing institution is located;
The matching unit is used for matching the stored financed invoice identifier with the identifier of the invoice to be checked in the second financing mechanism;
the sending unit is further configured to send a second invoice financing information acquisition response to the connection block chain if matching is successful, where the second invoice financing information acquisition response includes the financing information of the invoice to be checked in the second financing mechanism.
In a fifth aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other via the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any of the above first aspects or the method steps of any of the above second aspects when executing a program stored in a memory.
A sixth aspect provides a computer readable storage medium having stored therein a computer program which, when executed by a processor, performs the method steps of any one of the above first aspects or the method steps of any one of the above second aspects.
After receiving a first invoice information acquisition request sent by a first financing institution, the first invoice information acquisition request comprises an identification of an invoice to be checked, the first financing institution is a financing institution in a first alliance block chain, a contract is inquired according to a preset cross-chain, a second invoice information acquisition request is sent to the invoice alliance block chain, and the second invoice information acquisition request comprises the identification of the invoice to be checked and the identification of a connection block chain; and receiving a second invoice information acquisition response sent by the invoice alliance block chain according to the identification of the connection block chain and the identification of the invoice to be checked, wherein the second invoice information acquisition response comprises the invoice information of the invoice to be checked, and sending a first invoice information acquisition response to the first financing institution according to a preset cross-chain inquiry contract, and the first invoice information acquisition response comprises the invoice information. Therefore, the method connects the plurality of block chains through the connection block chain, realizes information transmission among the block chains, and improves the accuracy of the inquired invoice information.
Drawings
Fig. 1 is a system architecture diagram applicable to a cross-chain communication method for a block chain in the field of supply chains according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a cross-chain communication method for a block chain in the field of supply chains according to an embodiment of the present invention;
Fig. 3 is a schematic flowchart of another supply chain domain block chain cross-chain communication method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a cross-link communication device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another cross-link communication device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without any creative effort belong to the protection scope of the present application.
Blockchain (blockchain) is a distributed ledger technique, formally represented as a chained data structure based on hash cryptography and a merkel tree model. The development of blockchain technology can be divided into three stages: the first stage is the appearance of digital currency represented by bitcoin; the second stage is the occurrence of the intelligent contract; the third stage is the conversion of financial applications to non-financial applications to derive numerous industrial ecosystems. Among them, non-financial applications may be new applications in government, cultural health, and other fields. It can be seen that the block chain architecture of the third stage is a multi-chain architecture of multiple economy.
The cross-chain communication method of the block chain in the field of supply chain provided by the embodiment of the invention can be applied to a server. The server may be an application server or a cloud server. The query method is applied to the system architecture shown in fig. 1, and the system may include: the first and second ones of the invoice federation blockchain, the connection blockchain, and the supply chain.
And the invoice alliance block chain is used for storing invoice information of the real invoice, and the invoice information can come from organizations or individuals related to the invoice, such as a tax bureau, a third-party invoice service platform, an invoice buyer and an invoice seller.
The first alliance block chain and the second alliance block chain are respectively used for acquiring invoice information in a cross-chain mode and realizing financial financing service, and respectively comprise a financial institution, a financing enterprise and at least one enterprise.
And the connection block chain is used for storing the identification of the legal invoice union block chain and realizing the cross-chain communication between the union block chains by presetting a cross-chain query contract, namely realizing the information transmission between the invoice union block chain and the supply chain. The preset cross-link query contract comprises a data format conversion algorithm between two alliance block chains so as to realize cross-link communication between the alliance block chains.
Compared with the prior art, the system provided by the embodiment of the invention can realize information transmission between the invoice alliance block chain and the supply chain through the connection block chain, namely, the information transmission across the block chain is realized to inquire the invoice information of related invoices in other alliance block chains, so that the accuracy of inquiring the invoice information is improved, and the problems of invoice financing counterfeiting and invoice repeated financing in the supply chain financial field are further solved.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 2 is a flowchart illustrating a cross-chain communication method for a block chain in the field of supply chains according to an embodiment of the present invention. As shown in fig. 2, the method may include:
step 210, the first financing mechanism sends a first invoice information acquisition request to the connection block chain.
The first invoice information acquisition request comprises the identification of the invoice to be checked.
Optionally, the first financing mechanism may send the first invoice information acquisition request to the connection block chain according to its own requirements, for example, its own requirements for querying a corresponding invoice or storing an invoice state, and the like.
Or, the first financing institution may send the first invoice information acquisition request to the connection block chain according to the financing request sent by the enterprise to be financed in the first alliance block chain to which the first financing institution belongs.
And step 220, the connection block chain sends a second invoice information acquisition request to the invoice alliance block chain according to a preset cross-link query contract.
The second invoice information acquisition request comprises an identification of the invoice to be checked and an identification of the connection block chain.
Before this step is performed, in order to improve the security of information transmission, connecting blockchains requires verifying whether the identity of the invoice federation blockchain is legitimate. The method comprises the following specific steps: acquiring an identifier of an invoice alliance block chain, such as a root certificate of the invoice alliance block chain, and matching the acquired invoice alliance block chain identifier with a stored invoice alliance block chain identifier;
and if the matching is successful, the identity of the invoice union block chain is proved to be legal, and then a second invoice information acquisition request is sent to the invoice union block chain according to a preset cross-chain inquiry contract. The preset cross-link query contract may include a data format conversion mode to realize sending the second invoice information acquisition request to the invoice union block link.
Further, the invoice alliance block chain matches the stored invoice identification with the received invoice identification to be checked; and if the matching is successful, indicating that the invoice information of the invoice to be checked is stored in the invoice alliance block chain, and sending a second invoice information acquisition response to the connection block chain, wherein the second invoice information acquisition response comprises the invoice information of the invoice to be checked.
If the matching fails, the invoice information of the identifier of the invoice to be checked does not exist in the invoice alliance block chain, the indication information of the invoice to be checked does not exist is generated, a second invoice information acquisition response is sent to the connection block chain, and the second invoice information acquisition response comprises the indication information of the invoice to be checked does not exist.
The invoice information may include invoice data and invoice status, among other things. Invoice status may include reimbursement status, non-reimbursement status, voiding status (or "flushing status"), non-voiding status, and the like.
It should be noted that, in order to ensure that information transmission can be performed effectively, before sending the second invoice information acquisition request to the invoice alliance block chain, the connection block chain needs to complete time synchronization with the invoice alliance block chain.
And step 230, receiving a second invoice information acquisition response sent by the invoice union block chain according to the identification of the connection block chain and the identification of the invoice to be checked by the connection block chain.
The second invoice information acquisition response comprises invoice information of the invoice to be checked or indication information of the invoice not to be checked.
And 240, connecting the block chain, and sending a first invoice information acquisition response to the first financing institution according to a preset cross-chain inquiry contract. When the second invoice information acquisition response comprises the invoice information of the invoice to be checked, the first invoice information acquisition response comprises the invoice information, so that the first financing institution checks the authenticity of the invoice to be checked according to the invoice information;
and when the second invoice information acquisition response comprises the indication information of the invoice to be checked, the first invoice information acquisition response comprises the indication information of the invoice to be checked, so that the first financing mechanism finishes the process according to the indication information.
It should be noted that, in order to ensure that information transmission can be effectively performed, before sending the first invoice information acquisition response to the first financing organization, the link block chain needs to complete time synchronization with the first financing organization.
Furthermore, in order to prevent enterprises from using the same invoice for different financing projects, the block link non-tamper property and traceability can be utilized to solve the symmetric mechanism between the enterprises to be financed and the financial institutions, and the risk of repeated financing of the same invoice is avoided.
Specifically, when the first financing mechanism receives a financing request sent by an enterprise to be financed, the first financing mechanism detects the invoice state in the invoice information after receiving the invoice information of an invoice to be checked.
If the invoice status is invalid, the process is ended.
And if the invoice state is an effective state, sending a first invoice financing information acquisition request to the connection block chain, wherein the first invoice financing information acquisition request comprises the identification of the invoice to be checked. Wherein the valid state includes an unreported state and an unproductive state.
And the connection block chain sends a second invoice financing information acquisition request to a second financing mechanism according to a preset cross-chain query contract, wherein the second invoice financing information acquisition request comprises the identification of the invoice to be examined and the identification of the connection block chain. The second financing authority is a financing authority in a federation blockchain other than the first blockchain.
The second financing mechanism matches the stored identification of the invoice with the identification of the invoice to be checked;
and if the matching is successful, the financing information of the invoice to be checked is stored in the second financing mechanism, and a second invoice financing information acquisition response is sent to the connection block chain, wherein the second invoice financing information acquisition response comprises the financing information of the invoice to be checked.
If the matching fails, it is indicated that the financing information of the invoice to be checked does not exist in the second financing mechanism, indication information of the financing information of the invoice to be checked does not exist is generated, a second invoice financing information acquisition response is sent to the connection block chain, and the second invoice financing information acquisition response comprises the indication information of the financing information of the invoice to be checked does not exist, so that the first financing mechanism ends the flow according to the indication information.
And the connecting block chain sends a first invoice financing information acquisition response to the first financing mechanism according to a preset cross-chain inquiry contract, wherein the first invoice financing information acquisition response comprises financing information.
And the first financing mechanism determines the financing condition of the enterprise to be financed corresponding to the invoice to be checked according to the financing information.
When the financing information shows that the financing is not financed, generating indication information for allowing the enterprise to be financed to conduct financing, and sending a financing response to the enterprise to be financed, wherein the financing response comprises the indication information for allowing the enterprise to be financed to conduct financing.
Optionally, the first financing mechanism updates the financing state corresponding to the invoice to be checked into a financing state and stores the financing state;
optionally, when the financing information indicates that the financing is performed, generating instruction information for refusing the enterprise to be financed to perform financing, and sending a financing response to the enterprise to be financed, where the financing response includes the instruction information for refusing the enterprise to be financed to perform financing.
In one example, another supply chain domain blockchain cross-chain communication method as shown in fig. 3 may include:
301, sending a financing request comprising an invoice identifier to be checked to a financing organization A by an enterprise to be financed;
step 302, the financing organization A sends a first invoice information acquisition request to a connection block chain;
step 303, the link block chain sends a second invoice information acquisition request comprising an invoice identifier to be checked and a link block chain identifier to the invoice alliance block chain according to a preset cross-link query contract;
step 304, the invoice alliance block chain matches the stored invoice identification with the received invoice identification to be checked;
if the matching fails, go to step 305;
if the matching is successful, go to step 306;
step 305, generating indication information of the invoice information without the invoice to be checked, and then executing step 307;
step 306, acquiring invoice information of the invoice to be checked, and then executing step 307;
step 307, the invoice alliance block chain sends a second invoice information acquisition response to the connection block chain;
the second invoice information acquisition response includes indication information that the invoice information of the invoice to be checked does not exist or includes the invoice information of the invoice to be checked.
308, connecting the block chain to inquire a contract according to a preset cross-chain, and sending a first invoice information acquisition response to the financing organization A;
step 309, detecting the first invoice information acquisition response by the financing organization A;
if the first invoice information acquisition response includes invoice information of the invoice to be checked, step 310 is executed.
If the first invoice information acquisition response includes the indication information that the invoice information of the invoice to be checked does not exist, step 322 is executed.
Step 310, detecting whether the invoice state in the invoice information is an effective state by a financing organization A;
if yes, go to step 311;
if not, go to step 322;
311, sending a first invoice financing information acquisition request comprising an identifier of an invoice to be checked to the connection block chain by the financing mechanism A;
step 312, the connection block chain sends a second invoice financing information acquisition request comprising an invoice identifier to be surveyed and a connection block chain identifier to the financing organization B according to a preset cross-chain query contract;
313, the financing organization B matches the stored identification of the invoice with the identification of the invoice to be checked;
if the matching fails, go to step 314;
if the matching is successful, go to step 315;
step 314, the financing organization B generates indication information without the financing information of the invoice to be checked, and then step 316 is executed;
315, the financing mechanism B acquires the financing information of the invoice to be checked, and then executes 316;
step 316, the invoice alliance block chain sends a second invoice financing information acquisition response to the connection block chain;
the second invoice financing information acquisition response comprises indication information that the invoice financing information to be checked does not exist or financing information of the invoice to be checked.
Step 317, the connection block chain sends a first invoice-issuing financing information acquisition response to the financing organization A according to the preset cross-chain inquiry contract;
step 318, detecting the first invoice financing information acquisition response by the financing mechanism A;
if the first invoice financing information acquisition response includes the indication information that the financing information of the invoice to be checked does not exist, step 322 is executed.
If the first invoice financing information acquisition response includes the financing information of the invoice to be checked, step 319 is executed.
Step 319, financing organization A detects whether financing information represents non-financing;
if yes, go to step 320;
if not, go to step 322;
and step 320, the financing mechanism A generates indication information allowing the financing of the enterprise to be financed, and updates the financing state corresponding to the invoice to be checked into the financed state.
Step 321, the financing organization A sends a financing response to the enterprise to be financed;
The financing response includes indication information that allows the enterprise to be financed.
And step 322, ending the flow.
According to the method for inquiring the invoice information in the alliance block chain, after a first invoice information acquisition request sent by a first financing institution is received, the first invoice information acquisition request comprises an identifier of an invoice to be inquired, the first financing institution is a financing institution in the first alliance block chain, a second invoice information acquisition request is sent to the invoice alliance block chain according to a preset cross-chain inquiry contract, and the second invoice information acquisition request comprises the identifier of the invoice to be inquired and the identifier of a connection block chain; and receiving a second invoice information acquisition response sent by the invoice alliance block chain according to the identification of the connection block chain and the identification of the invoice to be checked, wherein the second invoice information acquisition response comprises the invoice information of the invoice to be checked, and sending a first invoice information acquisition response to the first financing institution according to a preset cross-chain inquiry contract, and the first invoice information acquisition response comprises the invoice information. Therefore, the method connects the plurality of alliance block chains through the connection block chains, realizes information transmission among the alliance block chains, namely realizes cross-chain communication among the alliance block chains, and improves the accuracy of invoice information inquiry.
Corresponding to the foregoing method, an embodiment of the present invention further provides a cross-link communication apparatus, as shown in fig. 4, where the apparatus includes: a receiving unit 410 and a transmitting unit 420;
a receiving unit 410, configured to receive a first invoice information acquisition request sent by a first financing institution, where the first invoice information acquisition request includes an identifier of an invoice to be checked, and the first financing institution is a financing institution in a first alliance block chain;
a sending unit 420, configured to send a second invoice information acquisition request to an invoice alliance block chain according to a preset cross-chain query contract, where the second invoice information acquisition request includes an identifier of the invoice to be queried and an identifier of the connection block chain;
the receiving unit 410 is further configured to receive a second invoice information acquisition response sent by the invoice federation block chain according to the identifier of the connection block chain and the identifier of the invoice to be checked, where the second invoice information acquisition response includes invoice information of the invoice to be checked;
the sending unit 420 is further configured to send a first invoice information obtaining response to the first financing institution according to the preset cross-chain inquiry contract, where the first invoice information obtaining response includes the invoice information.
In an alternative implementation, the invoice information includes invoice data and invoice status;
the receiving unit 410 is further configured to receive a first invoice financing information acquisition request sent by the first financing organization if the invoice status is an effective status, where the first invoice financing information acquisition request includes an identifier of the invoice to be checked, and the effective status includes an unreported status and an unproductive status;
the sending unit 420 is further configured to send a second invoice financing information acquisition request to a second financing institution according to the preset cross-link query contract, where the second invoice financing information acquisition request includes an identifier of the invoice to be queried and an identifier of the connection block chain, and the second financing institution is a financing institution in another alliance block chain except the first alliance block chain;
the receiving unit 410 is further configured to receive a second invoice financing information acquisition response sent by the second financing mechanism according to the identifier of the connection block chain and the identifier of the invoice to be checked, where the second invoice financing information acquisition response includes the financing information of the invoice to be checked;
the sending unit 420 is further configured to send a first invoice financing information acquisition response to the first financing mechanism according to the preset cross-chain query contract, where the first invoice financing information acquisition response includes the financing information, so that the first financing mechanism determines a financing condition of an enterprise to be financed corresponding to the invoice to be checked according to the financing information.
In an optional implementation, the apparatus further comprises an obtaining unit 430 and a matching unit 440;
an obtaining unit 430, configured to obtain an identifier of the invoice federation block chain;
the matching unit 440 is configured to match the obtained identifier with the stored identifier of the invoice federation blockchain;
the sending unit 420 is further configured to send a second invoice information acquisition request to the invoice federation blockchain according to a preset cross-chain query contract if the matching is successful.
The functions of the functional units of the invoice information query device provided in the above embodiment of the present invention can be implemented through the above method steps, and therefore, detailed working processes and beneficial effects of the units in the invoice information query device provided in the embodiment of the present invention are not repeated herein.
Corresponding to the foregoing method, an embodiment of the present invention further provides a cross-link communication apparatus, as shown in fig. 5, where the apparatus includes: a transmitting unit 510 and a receiving unit 520;
a sending unit 510, configured to send a first invoice information acquisition request to a connection block chain, where the first invoice information acquisition request includes an identifier of an invoice to be checked;
a receiving unit 520, configured to receive a first invoice information acquisition response sent by the connection block chain, where the first invoice information acquisition response includes invoice information of the invoice to be checked.
In an alternative implementation, the invoice information includes invoice data and invoice status;
the receiving unit 520 is further configured to receive a financing request sent by an enterprise to be financed, where the financing request includes an identifier of an invoice to be checked;
a sending unit 510, configured to send a first invoice financing information acquisition request to the connection block chain if the invoice status is an effective status, where the first invoice financing information acquisition request includes an identifier of the invoice to be checked, and the effective status includes an unreported status and an unproductive status;
the receiving unit 520 is further configured to receive a first invoice financing information acquisition response sent by the connection block chain, where the first invoice financing information acquisition response includes financing information of the invoice to be checked;
the sending unit 510 is further configured to send a financing response to the enterprise to be financed when the financing information indicates that no financing is performed, where the financing response includes indication information that allows the enterprise to be financed to perform financing.
In an optional implementation, the apparatus further comprises a matching unit 530;
the receiving unit 520 is further configured to receive a second invoice financing information acquisition request sent by the connection block chain, where the second invoice financing information acquisition request includes an identifier of an invoice to be checked in a second financing institution and an identifier of the connection block chain, and the second financing institution is a financing institution in another alliance block chain except the alliance block chain where the first financing institution is located;
A matching unit 530, configured to match the stored identifier of the financed invoice with the identifier of the invoice to be checked in the second financing institution;
the sending unit 510 is further configured to send a second invoice financing information acquisition response to the connection block chain if matching is successful, where the second invoice financing information acquisition response includes the financing information of an invoice to be checked in the second financing mechanism.
The functions of the functional units of the invoice information query device provided in the above embodiment of the present invention can be implemented through the above method steps, and therefore, detailed working processes and beneficial effects of the units in the invoice information query device provided in the embodiment of the present invention are not repeated herein.
An embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a processor 610, a communication interface 620, a memory 630, and a communication bus 640, where the processor 610, the communication interface 620, and the memory 630 complete mutual communication through the communication bus 640.
A memory 630 for storing computer programs;
the processor 610, when executing the program stored in the memory 630, implements the following steps:
receiving a first invoice information acquisition request sent by a first financing institution, wherein the first invoice information acquisition request comprises an identification of an invoice to be checked, and the first financing institution is a financing institution in a first alliance block chain;
Sending a second invoice information acquisition request to an invoice alliance block chain according to a preset cross-link query contract, wherein the second invoice information acquisition request comprises an identification of the invoice to be queried and an identification of the link block chain;
receiving a second invoice information acquisition response sent by the invoice alliance block chain according to the identification of the connection block chain and the identification of the invoice to be checked, wherein the second invoice information acquisition response comprises the invoice information of the invoice to be checked;
and sending a first invoice information acquisition response to the first financing mechanism according to the preset cross-chain inquiry contract, wherein the first invoice information acquisition response comprises the invoice information.
In an alternative implementation, the invoice information includes invoice data and invoice status;
if the invoice state is an effective state, receiving a first invoice financing information acquisition request sent by the first financing mechanism, wherein the first invoice financing information acquisition request comprises an identifier of the invoice to be checked, and the effective state comprises an unreported state and an unproductive state;
sending a second invoice financing information acquisition request to a second financing institution according to the preset cross-link inquiry contract, wherein the second invoice financing information acquisition request comprises the identification of the invoice to be inquired and the identification of the connection block chain, and the second financing institution is a financing institution in other alliance block chains except the first alliance block chain;
Receiving a second invoice financing information acquisition response sent by the second financing mechanism according to the identification of the connection block chain and the identification of the invoice to be checked, wherein the second invoice financing information acquisition response comprises the financing information of the invoice to be checked;
and sending a first invoice financing information acquisition response to the first financing mechanism according to the preset cross-chain inquiry contract, wherein the first invoice financing information acquisition response comprises the financing information, so that the first financing mechanism determines the financing condition of the enterprise to be financed corresponding to the invoice to be examined according to the financing information.
In an optional implementation, before sending the second invoice information acquisition request to the invoice federation blockchain according to the preset cross-chain query contract, the method further includes:
acquiring an identifier of an invoice alliance block chain;
matching the acquired identification with the stored invoice alliance block chain identification;
and if the matching is successful, sending a second invoice information acquisition request to the invoice alliance block chain according to a preset cross-chain inquiry contract.
Or, the following steps are implemented:
sending a first invoice information acquisition request to a connection block chain, wherein the first invoice information acquisition request comprises an identification of an invoice to be checked;
And receiving a first invoice information acquisition response sent by the connecting block chain, wherein the first invoice information acquisition response comprises invoice information of the invoice to be checked.
In an alternative implementation, the invoice information includes invoice data and invoice status;
before sending the first request for obtaining the invoice information to the link block chain, the method further comprises the following steps:
receiving a financing request sent by an enterprise to be financed, wherein the financing request comprises an identification of an invoice to be checked;
after receiving the first invoice information acquisition response sent by the link block chain, the method further includes:
if the invoice state is an effective state, sending a first invoice financing information acquisition request to the connection block chain, wherein the first invoice financing information acquisition request comprises an identifier of the invoice to be checked, and the effective state comprises an unreported state and an unproductive state;
receiving a first invoice financing information acquisition response sent by the connecting block chain, wherein the first invoice financing information acquisition response comprises financing information of the invoice to be checked;
when the financing information shows that the financing is not financing, generating indication information for allowing the enterprise to be financed to conduct financing;
and sending a financing response to the enterprise to be financed, wherein the financing response comprises indication information for allowing the enterprise to be financed.
In an optional implementation, a second invoice financing information acquisition request sent by the connection block chain is received, where the second invoice financing information acquisition request includes an identifier of an invoice to be checked in a second financing institution and an identifier of the connection block chain, and the second financing institution is a financing institution in another alliance block chain except for the alliance block chain where the first financing institution is located;
matching the stored financed invoice identification with the identification of the invoice to be checked in the second financing mechanism;
and if the matching is successful, sending a second invoice financing information acquisition response to the connecting block chain, wherein the second invoice financing information acquisition response comprises the financing information of the invoice to be checked in the second financing mechanism.
The aforementioned communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Since the implementation manner and the beneficial effects of the problem solving of each device of the electronic device in the foregoing embodiment can be implemented by referring to each step in the embodiment shown in fig. 2, detailed working processes and beneficial effects of the electronic device provided by the embodiment of the present invention are not described herein again.
In another embodiment of the present invention, there is also provided a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to perform the method for querying invoice information in a federation blockchain described in any one of the above embodiments.
In yet another embodiment, a computer program product containing instructions is provided, which when run on a computer causes the computer to execute the method for querying invoice information in a federation blockchain as described in any of the above embodiments.
As will be appreciated by one of skill in the art, the embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present embodiments have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present application.
It is apparent that those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the embodiments of the present application and their equivalents, the embodiments of the present application are also intended to include such modifications and variations.

Claims (14)

1. A method for cross-chain communication of a block chain in a supply chain domain, the method comprising:
the connection block chain receives a first invoice information acquisition request sent by a first financing institution, wherein the first invoice information acquisition request comprises an identification of an invoice to be checked, and the first financing institution is a financing institution in a first alliance block chain;
sending a second invoice information acquisition request to an invoice alliance block chain of invoices according to a preset cross-chain query contract, wherein the second invoice information acquisition request comprises the identification of the invoice to be checked and the identification of the connection block chain;
receiving a second invoice information acquisition response sent by the invoice alliance block chain according to the identification of the connection block chain and the identification of the invoice to be checked, wherein the second invoice information acquisition response comprises the invoice information of the invoice to be checked;
And sending a first invoice information acquisition response to the first financing mechanism according to the preset cross-chain inquiry contract, wherein the first invoice information acquisition response comprises the invoice information.
2. The method of claim 1, wherein the invoice information includes invoice data and invoice status;
if the invoice state is an effective state, receiving a first invoice financing information acquisition request sent by the first financing mechanism, wherein the first invoice financing information acquisition request comprises an identifier of the invoice to be checked, and the effective state comprises an unreported state and an unproductive state;
sending a second invoice financing information acquisition request to a second financing institution according to the preset cross-link inquiry contract, wherein the second invoice financing information acquisition request comprises the identification of the invoice to be inquired and the identification of the connection block chain, and the second financing institution is a financing institution in other alliance block chains except the first alliance block chain;
receiving a second invoice financing information acquisition response sent by the second financing mechanism according to the identification of the connection block chain and the identification of the invoice to be checked, wherein the second invoice financing information acquisition response comprises the financing information of the invoice to be checked;
And sending a first invoice financing information acquisition response to the first financing mechanism according to the preset cross-chain inquiry contract, wherein the first invoice financing information acquisition response comprises the financing information, so that the first financing mechanism determines the financing condition of the enterprise to be financed corresponding to the invoice to be examined according to the financing information.
3. The method of claim 2, wherein prior to sending the second invoice information acquisition request to the invoice federation blockchain according to the preset cross-chain query contract, the method further comprises:
acquiring an identifier of an invoice alliance block chain;
matching the acquired identification with the stored invoice union block chain identification;
and if the matching is successful, sending a second invoice information acquisition request to the invoice alliance block chain according to a preset cross-chain inquiry contract.
4. A method for cross-chain communication of a block chain in a supply chain domain, the method comprising:
a first financing mechanism sends a first invoice information acquisition request to a connection block chain, wherein the first invoice information acquisition request comprises an identification of an invoice to be checked;
receiving a first invoice information acquisition response sent by the connecting block chain, wherein the first invoice information acquisition response comprises invoice information of the invoice to be checked; the first invoice information acquisition response is sent to the first financing institution according to a preset cross-chain inquiry contract after the connection block chain responds to the first invoice information acquisition request, and a second invoice information acquisition request comprising the identification of the invoice to be checked and the identification of the connection block chain is sent to an invoice alliance block chain according to a preset cross-chain inquiry contract, and the invoice alliance block chain receives the second invoice information acquisition response comprising the invoice information of the invoice to be checked and sent to the first financing institution according to the identification of the connection block chain and the identification of the invoice to be checked, and the second invoice information acquisition response comprises the invoice information of the invoice to be checked.
5. The method of claim 4, wherein the invoice information includes invoice data and invoice status;
before sending the first request for obtaining the invoice information to the link block chain, the method further includes:
receiving a financing request sent by an enterprise to be financed, wherein the financing request comprises an identification of an invoice to be checked;
after receiving the first invoice information acquisition response sent by the link block chain, the method further includes:
if the invoice state is an effective state, sending a first invoice financing information acquisition request to the connection block chain, wherein the first invoice financing information acquisition request comprises an identifier of the invoice to be checked, and the effective state comprises an unreported state and an unproductive state;
receiving a first invoice financing information acquisition response sent by the connecting block chain, wherein the first invoice financing information acquisition response comprises the financing information of the invoice to be checked,
when the financing information shows that the financing is not financing, generating indication information for allowing the enterprise to be financed to conduct financing;
and sending a financing response to the enterprise to be financed, wherein the financing response comprises indication information for allowing the enterprise to be financed.
6. The method of claim 5, wherein the method further comprises:
Receiving a second invoice financing information acquisition request sent by the connection block chain, wherein the second invoice financing information acquisition request comprises an identification of an invoice to be checked in a second financing institution and an identification of the connection block chain, and the second financing institution is a financing institution in other alliance block chains except the alliance block chain where the first financing institution is;
matching the stored invoice identifier after financing with the identifier of the invoice to be checked in the second financing institution;
and if the matching is successful, sending a second invoice financing information acquisition response to the connecting block chain, wherein the second invoice financing information acquisition response comprises the financing information of the invoice to be checked in the second financing mechanism.
7. An apparatus for cross-chain communication, the apparatus comprising: a receiving unit and a transmitting unit;
the receiving unit is used for receiving a first invoice information acquisition request sent by a first financing institution, wherein the first invoice information acquisition request comprises an identification of an invoice to be checked, and the first financing institution is a financing institution in a first alliance block chain;
the sending unit is used for sending a second invoice information acquisition request to the invoice alliance block chain according to a preset cross-chain inquiry contract, wherein the second invoice information acquisition request comprises the identification of the invoice to be inquired and the identification of the connection block chain;
The receiving unit is further configured to receive a second invoice information acquisition response sent by the invoice alliance block chain according to the identifier of the connection block chain and the identifier of the invoice to be checked, where the second invoice information acquisition response includes invoice information of the invoice to be checked;
the sending unit is further configured to send a first invoice information acquisition response to the first financing institution according to the preset cross-chain inquiry contract, where the first invoice information acquisition response includes the invoice information.
8. The apparatus of claim 7, in which the invoice information includes invoice data and invoice status;
the receiving unit is further configured to receive a first invoice financing information acquisition request sent by the first financing mechanism if the invoice status is an effective status, where the first invoice financing information acquisition request includes an identifier of the invoice to be checked, and the effective status includes an unreported status and an unproductive status;
the sending unit is further configured to send a second invoice financing information acquisition request to a second financing institution according to the preset cross-link inquiry contract, where the second invoice financing information acquisition request includes an identifier of the invoice to be inquired and an identifier of the connection block chain, and the second financing institution is a financing institution in another alliance block chain except the first alliance block chain;
The receiving unit is further configured to receive a second invoice financing information acquisition response sent by the second financing mechanism according to the identifier of the connection area block chain and the identifier of the invoice to be checked, where the second invoice financing information acquisition response includes the financing information of the invoice to be checked;
the sending unit is further configured to send a first invoice financing information acquisition response to the first financing mechanism according to the preset cross-chain inquiry contract, where the first invoice financing information acquisition response includes the financing information, so that the first financing mechanism determines the financing condition of the enterprise to be financed corresponding to the invoice to be checked according to the financing information.
9. The apparatus of claim 8, further comprising an acquisition unit and a matching unit;
the acquiring unit is used for acquiring the identifier of the invoice union block chain;
the matching unit is used for matching the acquired identifier with the stored invoice alliance block chain identifier;
and the sending unit is further configured to send a second invoice information acquisition request to the invoice alliance block chain according to a preset cross-chain query contract if the matching is successful.
10. An apparatus for cross-chain communication, the apparatus comprising: a transmitting unit and a receiving unit;
The sending unit is used for sending a first invoice information acquisition request to the connection block chain, wherein the first invoice information acquisition request comprises an identifier of an invoice to be checked;
the receiving unit is configured to receive a first invoice information acquisition response sent by the connection block chain, where the first invoice information acquisition response includes invoice information of the invoice to be checked; and the first invoice information acquisition response is sent to a first financing institution according to a preset cross-chain inquiry contract after the connection block chain responds to the first invoice information acquisition request, and a second invoice information acquisition request comprising the identification of the invoice to be checked and the identification of the connection block chain is sent to an invoice alliance block chain according to a preset cross-chain inquiry contract, and the second invoice information acquisition response comprising the invoice information of the invoice to be checked and sent to the first financing institution according to the identification of the connection block chain and the identification of the invoice to be checked by the invoice alliance block chain is received.
11. The apparatus of claim 10, in which the invoice information includes invoice data and invoice status;
the receiving unit is also used for receiving a financing request sent by an enterprise to be financed, wherein the financing request comprises an identification of an invoice to be checked;
The sending unit is further configured to send a first invoice financing information acquisition request to the connection block chain if the invoice status is an effective status, where the first invoice financing information acquisition request includes an identifier of the invoice to be checked, and the effective status includes an unreported status and an unproductive status;
the receiving unit is further configured to receive a first invoice financing information acquisition response sent by the connection block chain, where the first invoice financing information acquisition response includes financing information of the invoice to be checked,
the sending unit is further configured to send a financing response to the enterprise to be financed when the financing information indicates that financing is not performed, where the financing response includes indication information that allows the enterprise to be financed.
12. The apparatus of claim 11, wherein the apparatus further comprises a matching unit;
the receiving unit is further configured to receive a second invoice financing information acquisition request sent by the connection block chain, where the second invoice financing information acquisition request includes an identifier of an invoice to be checked in a second financing institution and an identifier of the connection block chain, and the second financing institution is a financing institution in another alliance block chain except the alliance block chain where the first financing institution is located;
The matching unit is used for matching the stored financed invoice identifier with the identifier of the invoice to be checked in the second financing mechanism;
and the sending unit is further configured to send a second invoice financing information acquisition response to the connection block chain if matching is successful, where the second invoice financing information acquisition response includes financing information of an invoice to be checked in the second financing mechanism.
13. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are used for completing mutual communication through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 1 to 3 or the method steps of any one of claims 4 to 6 when executing a program stored on a memory.
14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any of the claims 1-3 or carries out the method steps of any of the claims 4-6.
CN201811572314.3A 2018-12-21 2018-12-21 Cross-chain communication method and device for block chain in supply chain field Active CN111355757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811572314.3A CN111355757B (en) 2018-12-21 2018-12-21 Cross-chain communication method and device for block chain in supply chain field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811572314.3A CN111355757B (en) 2018-12-21 2018-12-21 Cross-chain communication method and device for block chain in supply chain field

Publications (2)

Publication Number Publication Date
CN111355757A CN111355757A (en) 2020-06-30
CN111355757B true CN111355757B (en) 2022-06-07

Family

ID=71193629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811572314.3A Active CN111355757B (en) 2018-12-21 2018-12-21 Cross-chain communication method and device for block chain in supply chain field

Country Status (1)

Country Link
CN (1) CN111355757B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445841B (en) * 2020-11-17 2023-05-12 杭州趣链科技有限公司 Account query method, device, system, server and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780033A (en) * 2016-12-16 2017-05-31 杭州云象网络技术有限公司 A kind of digital ticket transaction system construction method based on alliance's chain
CN107424073A (en) * 2017-07-17 2017-12-01 杭州复杂美科技有限公司 A kind of method of across chain numeral credits transaction
CN108256864A (en) * 2018-02-13 2018-07-06 中链科技有限公司 Between a kind of block chain across the foundation of chain alliance and communication means, system
CN108520356A (en) * 2018-04-09 2018-09-11 李俊山 A kind of block chain technology is in financial field risk management algorithm
CN108683630A (en) * 2018-04-03 2018-10-19 阿里巴巴集团控股有限公司 The authentication method and device, electronic equipment of transregional piece of chain
CN108734575A (en) * 2018-04-03 2018-11-02 平安科技(深圳)有限公司 Financing method, system based on block chain and storage medium
CN108810137A (en) * 2018-06-11 2018-11-13 西安纸贵互联网科技有限公司 A kind of alliance's block catenary system
CN109034797A (en) * 2018-06-26 2018-12-18 东莞市大易产业链服务有限公司 A kind of bill evidence's method of payment based on block chain technology
CN109035012A (en) * 2018-06-11 2018-12-18 西安纸贵互联网科技有限公司 A kind of across the chain processing method and computer readable storage medium of block catenary system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018161007A1 (en) * 2017-03-03 2018-09-07 Mastercard International Incorporated Method and system for storage and transfer of verified data via blockhain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780033A (en) * 2016-12-16 2017-05-31 杭州云象网络技术有限公司 A kind of digital ticket transaction system construction method based on alliance's chain
CN107424073A (en) * 2017-07-17 2017-12-01 杭州复杂美科技有限公司 A kind of method of across chain numeral credits transaction
CN108256864A (en) * 2018-02-13 2018-07-06 中链科技有限公司 Between a kind of block chain across the foundation of chain alliance and communication means, system
CN108683630A (en) * 2018-04-03 2018-10-19 阿里巴巴集团控股有限公司 The authentication method and device, electronic equipment of transregional piece of chain
CN108734575A (en) * 2018-04-03 2018-11-02 平安科技(深圳)有限公司 Financing method, system based on block chain and storage medium
CN108520356A (en) * 2018-04-09 2018-09-11 李俊山 A kind of block chain technology is in financial field risk management algorithm
CN108810137A (en) * 2018-06-11 2018-11-13 西安纸贵互联网科技有限公司 A kind of alliance's block catenary system
CN109035012A (en) * 2018-06-11 2018-12-18 西安纸贵互联网科技有限公司 A kind of across the chain processing method and computer readable storage medium of block catenary system
CN109034797A (en) * 2018-06-26 2018-12-18 东莞市大易产业链服务有限公司 A kind of bill evidence's method of payment based on block chain technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Study on the models of cross-chain inventory collaboration in the cluster supply chain;Guohong Shi等;《2008 IEEE International Conference on Service Operations and Logistics, and Informatics》;20081225;全文 *
基于区块链技术的跨境电商贸易链与联盟链研究;王超等;《电子技术及应用》;20181205;全文 *

Also Published As

Publication number Publication date
CN111355757A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
JP6975101B2 (en) Methods, devices and non-temporary computer-readable storage media for transaction execution and validation in the blockchain (transaction execution and validation in the blockchain)
CN109636144B (en) Block chain risk assessment supply chain financial method, device, equipment and storage medium
CN109040029B (en) Method and apparatus for executing transactions in a blockchain
US20190259024A1 (en) Security electronic file processing system and method based on block chain structure
JP2020535543A (en) Methods, devices, and computer-readable media for compliant tokenization and asset value control
US11900366B2 (en) System and method for securing crypto-asset transactions
CN110633963A (en) Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment
CN111178894B (en) Asset type registration and transaction record verification method and system
CN109377338A (en) Financial product processing method and processing device based on block chain
CN110765211A (en) Engineering bid inviting management method, device, terminal and storage medium based on block chain
Arcari Decoding smart contracts: technology, legitimacy, & legislative uniformity
CN113570479B (en) Block chain transmission method, system and storage medium for real estate transaction data
CN111415250A (en) Method and device for managing accounts receivable based on block chain, storage medium and equipment
CN111222963A (en) Bidding information processing method and device based on block chain
CN111355757B (en) Cross-chain communication method and device for block chain in supply chain field
Chaudhary et al. Auto-PUFChain: an automated interaction tool for PUFs and blockchain in electronic supply chain
CN110572457A (en) Resource application method and device based on block chain, electronic equipment and storage medium
CN113706302A (en) Cross-chain-based block chain financial data generation method and system
WO2020055413A1 (en) Blockchain for audit
CN115641133A (en) Real-name NFT transaction method, device, equipment and storage medium
CN112039893B (en) Private transaction processing method and device, electronic equipment and readable storage medium
CN112700327A (en) User confirmation method, device and system in financial scene
EP3771139B1 (en) Operational safety using a distributed ledger
CN111738855A (en) Intelligent contract management method and device
CN113094732A (en) Certificate storage data verification method, verification device, certificate storage method and certificate storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant