Heterogeneous chain communication-oriented message delivery and receipt verification system and method
By constructing a dynamic adaptation layer and a multi-layer verification mechanism, the problem of insufficient adaptability of heterogeneous blockchains in cross-chain communication is solved, achieving efficient, secure message transmission and reliable verification, and optimizing the stability and adaptation strategy of cross-chain communication.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-24
- Publication Date
- 2026-04-14
AI Technical Summary
Existing cross-chain message delivery technologies struggle to adapt to the dynamic changes of heterogeneous blockchains, leading to transmission delays and parsing failures. The lack of effective adaptation and feedback mechanisms also affects the stability and efficiency of cross-chain communication.
A dynamic adaptation layer integrating a two-way adaptation feedback mechanism is constructed, an optimized cross-chain communication protocol with embedded consensus prediction scheduling logic is adopted, a multi-layer verification association mechanism is used to ensure message transmission compatibility and integrity, and smart contracts are used to record receipt information to optimize the adaptation strategy.
It improves the adaptability of cross-chain message delivery, ensures the authenticity and integrity of messages, and enhances the efficiency, security and reliability of cross-chain communication.
Smart Images

Figure CN121864477A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of blockchain cross-chain communication technology, specifically to a message delivery and receipt verification system and method for heterogeneous chain communication. Background Technology
[0002] The rapid development of blockchain technology has spawned a large number of heterogeneous blockchains with diverse functions, exhibiting significant differences in their core characteristics. These heterogeneous chains encompass various consensus mechanisms, including Proof-of-Work (PoW), Proof-of-Stake (PoS), and Delegated Proof-of-Stake (DPoS); data structures are categorized into account models and Unspent Transaction Outputs (UTXO) models; and network protocols include standards such as Hypertext Transfer Protocol (HTTP), WebSocket, and Dedicated Peer-to-Peer (P2P) protocols. Cross-chain communication, as a key technology for enabling data interaction and value transfer between different blockchains, has been widely applied in various fields such as financial clearing, supply chain collaboration, and cross-border supervision. Its core requirement is to achieve stable message transmission between heterogeneous chains, and the diversity of the core characteristics of heterogeneous chains becomes a fundamental technical prerequisite that cross-chain communication must address.
[0003] Current cross-chain message delivery technologies have significant limitations in their adaptation solutions to the core characteristics of heterogeneous chains. Existing adaptation layers mostly employ static, pre-defined rules, only adapting to a few fixed types of heterogeneous chains. They struggle to handle dynamic changes and diverse combinations in consensus mechanisms, data structures, and network protocols across different chains. Furthermore, existing technologies lack the ability to perceive and predict the real-time state of the target heterogeneous chain, failing to adjust delivery strategies based on dynamic information such as on-chain node load and consensus efficiency. This leads to message transmission delays due to consensus congestion or parsing failures due to data format and protocol incompatibility. In addition, most solutions lack effective adaptation feedback mechanisms, preventing iterative optimization of adaptation strategies based on delivery results. This further exacerbates the insufficient adaptability of cross-chain message delivery, severely impacting the stability and efficiency of cross-chain communication. Summary of the Invention
[0004] The purpose of this invention is to provide a message delivery and receipt verification system and method for heterogeneous chain communication, so as to solve the problems raised in the prior art.
[0005] To achieve the above objectives, the present invention provides the following technical solution: a message delivery and receipt verification method for heterogeneous chain communication, the method comprising the following steps: A dynamic adaptation layer integrating a two-way adaptation feedback mechanism is constructed, and an optimized cross-chain communication protocol with embedded consensus prediction scheduling logic is adopted. The sender generates a cross-chain message packet and delivers it to the target heterogeneous chain through a dynamic adaptation layer. Through the synergy of the dynamic adaptation layer and the optimized cross-chain communication protocol, the transmission compatibility of the message packet between different heterogeneous chains is ensured, and message loss or parsing failure due to differences in chain characteristics is avoided. The sender refers to the entity that initiates the message in the sending chain; for example, if the sending chain is a blockchain deployed by a banking institution, the sender can be a business node within the bank responsible for initiating cross-chain clearing messages. The receiver performs the first round of verification based on a multi-layered verification association mechanism and synchronizes it to the node group for group verification; the verification result is determined by comparing the first round of verification results with the group verification results; the first round of verification achieves the initial verification of the message, and the group verification further improves the credibility of the verification results. The dual verification ensures that the message source is reliable and the content is complete. The recipient refers to the entity in the target heterogeneous chain that receives and verifies messages; for example, if the target heterogeneous chain is a blockchain deployed by a securities institution, the recipient can be the verification node within the securities institution that is responsible for receiving and verifying cross-chain messages. The node group refers to the group of nodes participating in cross-chain communication; for example, the nodes of various institutions participating in cross-chain communication, including sending chain nodes, target heterogeneous chain nodes and third-party regulatory nodes. The number of nodes is usually no less than 3 to ensure the objectivity of group verification. After verification is completed, the smart contract with built-in verification result association recording logic is triggered to record the receipt information and provide on-demand feedback based on the verification result; on-demand feedback can synchronize the verification result to the dynamic adaptation layer to provide data support for subsequent adaptation strategy optimization; The construction of the dynamic adaptation layer integrating a bidirectional adaptation feedback mechanism specifically includes: Continuously collect core characteristic information of the target heterogeneous chain and message delivery result data. The delivery result data includes message transmission success rate, parsing accuracy, and latency. A message transmission success rate of 95% or higher is considered qualified, a parsing accuracy of 98% or higher is considered qualified, and a latency of less than 500ms is considered qualified. The delivery effect is reflected intuitively through quantitative indicators. The core characteristic information of heterogeneous chains refers to the information of each heterogeneous chain in terms of consensus mechanism type, data structure specification, network protocol standard and node operating parameters; consensus mechanism type includes PoW, PoS, DPoS, etc., data structure specification includes account model, UTXO model, etc., network protocol standard includes HTTP, WebSocket, blockchain-specific P2P protocol, etc., and node operating parameters include node online rate, data processing rate, etc. Perform statistical analysis on the collected data to determine the matching degree between the adaptation strategy and the target heterogeneous chain; the statistical analysis can use conventional data statistical methods, such as calculating the deviation rate between the delivery result data and the preset standard value. The smaller the deviation rate, the higher the matching degree. The adaptation strategy refers to the set of consensus adaptation parameters, format conversion rules, and protocol docking methods pre-defined by the dynamic adaptation layer for the core characteristic information of the target heterogeneous chain; for example, for a PoW type consensus chain, the consensus adaptation parameter can be set to a longer consensus waiting time; for an account model data structure, the format conversion rule can be set to adapt the field mapping relationship. Based on the matching degree and the preset adjustment rule library, adaptation adjustment instructions are generated to optimize the consensus adaptation parameters, format conversion rules and protocol docking methods of subsequent messages. The preset adjustment rule library includes specific rules such as "shorten the message delivery interval when the transmission success rate is less than 90%" and "optimize the data field mapping rules when the parsing accuracy is less than 95%" to ensure the targeting of the adjustment instructions. The optimized cross-chain communication protocol with embedded consensus prediction and scheduling logic specifically includes: A consensus efficiency prediction model is established based on the historical consensus efficiency data of the target heterogeneous chain, real-time node load, and network bandwidth status. The historical consensus efficiency data refers to the number of messages that have completed consensus confirmation per unit time, the average consensus time, and the consensus success rate of the target heterogeneous chain in the past. Examples of historical consensus efficiency data include: the number of messages that have completed consensus confirmation in the past minute is 100-200, the average consensus time is 2-5 seconds, and the consensus success rate is over 99%. Real-time node load can be characterized by node CPU utilization and memory usage, and network bandwidth status can be characterized by data transmission rate. The model predicts the consensus processing capacity level of the target heterogeneous chain within a preset time window. For example, the preset time window can be 5 minutes, which means predicting the consensus processing capacity of the target heterogeneous chain within the next 5 minutes. The consensus efficiency prediction model can use a conventional machine learning model, such as a linear regression model, which is trained on historical data to make predictions. The consensus processing capability level refers to the level divided based on a preset rate range; The message delivery strategy is adjusted according to the consensus processing capability level: when the level is higher than the preset threshold, the real-time delivery mode is adopted; when the level is lower than the preset threshold, the time-sharing batch delivery mode is adopted. The real-time delivery mode means that the message is delivered immediately after it is generated, which is suitable for high-priority clearing messages; the time-sharing batch delivery mode means that the message is delivered in batches according to time. The process of the sender generating a cross-chain message packet specifically includes: The sender generates a key pair using an asymmetric encryption algorithm. The key pair includes a private key and a public key. The private key is used for digital signature of the message, and the public key is synchronized to the node community and the target heterogeneous chain. The sender performs a hash operation on the original message to generate a unique hash value, and assigns a unified association identifier to the digital signature, hash value and original message. The associated identifier, digital signature, hash value, and original message are associated and encapsulated to form a cross-chain message packet.
[0006] The multi-layered verification association mechanism specifically includes: The recipient extracts the digital signature, hash value, and message text corresponding to the associated identifier in the cross-chain message packet to complete the first round of verification, including signature verification and hash value comparison; The recipient synchronizes the association identifier and the first-round verification result to the node group. The node group performs a second verification on the message packet based on the association identifier, forming a group verification result. The results of the first round of verification are compared with the results of the group verification. If they match, the verification is deemed successful; otherwise, the verification is deemed unsuccessful.
[0007] The logic for associating the verification result of the smart contract with records specifically includes: The smart contract has pre-set receipt record fields, including association identifier, sender information, receiver information, first round verification result, group verification result, and verification time; After the recipient completes the verification, the smart contract is triggered through an on-chain transaction. The smart contract binds and records various verification results with associated identifiers, and writes the receipt data into the target heterogeneous chain block. The smart contract establishes a verification result query index, with the association identifier as the core keyword, supporting cross-chain node groups and related entities to query and verify on demand. When verification fails, the smart contract records the failure nodes and reasons at each layer, generates failure tracing information, and sends it back to the sender.
[0008] A message delivery and receipt verification system for heterogeneous blockchain communication, comprising a dynamic adaptation module, a message delivery module, a message verification module, and a receipt management module; The dynamic adaptation module is used to construct a dynamic adaptation layer that integrates a two-way adaptation feedback mechanism, and adopts an optimized cross-chain communication protocol with embedded consensus prediction scheduling logic to realize dynamic adaptation and scheduling during message delivery. The message delivery module is used by the sender to generate cross-chain message packets and deliver them to the target heterogeneous chain through the dynamic adaptation layer. The message verification module is used by the receiver to perform the first round of verification based on a multi-layer verification association mechanism, and synchronize it to the node group for group verification, comparing the first round of verification results with the group verification results to determine the final verification result. The receipt management module is used to trigger a smart contract with built-in verification result association recording logic after verification is completed, record receipt information, and realize on-demand feedback based on the verification results.
[0009] The dynamic adaptation module includes a strategy evaluation unit, a strategy adjustment unit, and a scheduling decision unit. The strategy evaluation unit continuously collects core characteristic information and historical message delivery results data of the target heterogeneous chain, and determines the matching degree between the current adaptation strategy and the target heterogeneous chain through statistical analysis. The strategy adjustment unit generates adaptation adjustment instructions based on the matching degree judgment result of the strategy evaluation unit and in combination with a preset adjustment rule base, and optimizes the consensus adaptation parameters, format conversion rules and protocol docking methods for subsequent message delivery. The scheduling decision unit constructs a consensus efficiency prediction model, and dynamically selects and executes real-time delivery mode or time-sharing batch delivery mode according to the consensus processing capability level of the target heterogeneous chain.
[0010] The message delivery module includes a message encapsulation unit and a message sending unit; The message encapsulation unit is used by the sender to perform secure encapsulation operations on the original message, including generating a digital signature, calculating a hash value, assigning a unified association identifier, and performing association encapsulation to form a standard cross-chain message packet; the message sending unit is used to submit the encapsulated cross-chain message packet to the dynamic adaptation module to start the delivery process to the target heterogeneous chain.
[0011] The message verification module includes a first verification execution unit, a group consensus unit, and a result arbitration unit; The initial verification execution unit is used by the receiver to perform the first round of verification on the cross-chain message packet, specifically including the validity verification of the digital signature and the integrity comparison of the message hash value; the group consensus unit is used to synchronize the association identifier and content of the message to be verified to the node group, organize the node group to perform independent verification, and summarize to form the group verification result; the result arbitration unit is used to compare the first round verification result with the group verification result, and determine the final verification result of the message based on the consistency between the two. The receipt management module includes a receipt recording unit and a feedback triggering unit; The receipt recording unit is triggered after verification to record key information such as association identifier, verification result, and verification time as a structured receipt in the block of the target heterogeneous chain; the feedback triggering unit is used to execute feedback logic based on the final verification result; when the verification passes, result query is supported; when the verification fails, traceability information containing the failure node and reason is generated and fed back to the sender and dynamic adaptation module.
[0012] Compared with existing technologies, the beneficial effects of this invention are as follows: This invention improves the problem of insufficient heterogeneous chain adaptability by integrating a dynamic adaptation layer with a bidirectional adaptation feedback mechanism and an optimized cross-chain communication protocol with embedded consensus prediction scheduling logic; it ensures the authenticity and integrity of messages through a multi-layer verification association mechanism; and it effectively improves the efficiency, security, and reliability of cross-chain message delivery and receipt verification by realizing the immutable recording and traceable query of receipt information through smart contracts. Attached Figure Description
[0013] Figure 1 This is a flowchart illustrating the message delivery and receipt verification system for heterogeneous chain communication according to the present invention. Figure 2 This is a schematic diagram illustrating the interaction of the message delivery and receipt verification system module for heterogeneous chain communication according to the present invention. Detailed Implementation
[0014] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0015] Example: Figure 1-2 As shown, this invention provides a technical solution for message delivery and receipt verification in heterogeneous blockchain communication. The method includes the following steps: A dynamic adaptation layer integrating a two-way adaptation feedback mechanism is constructed, and an optimized cross-chain communication protocol with embedded consensus prediction scheduling logic is adopted. The sender generates a cross-chain message packet and delivers it to the target heterogeneous chain through a dynamic adaptation layer. Through the synergy of the dynamic adaptation layer and the optimized cross-chain communication protocol, the transmission compatibility of the message packet between different heterogeneous chains is ensured, and message loss or parsing failure due to differences in chain characteristics is avoided. The sender refers to the entity that initiates the message in the sending chain; for example, if the sending chain is a blockchain deployed by a banking institution, the sender can be a business node within the bank responsible for initiating cross-chain clearing messages. The receiver performs the first round of verification based on a multi-layered verification association mechanism and synchronizes it to the node group for group verification; the verification result is determined by comparing the first round of verification results with the group verification results; the first round of verification achieves the initial verification of the message, and the group verification further improves the credibility of the verification results. The dual verification ensures that the message source is reliable and the content is complete. The recipient refers to the entity in the target heterogeneous chain that receives and verifies messages; for example, if the target heterogeneous chain is a blockchain deployed by a securities institution, the recipient can be the verification node within the securities institution that is responsible for receiving and verifying cross-chain messages. The node group refers to the group of nodes participating in cross-chain communication; for example, the nodes of various institutions participating in cross-chain communication, including sending chain nodes, target heterogeneous chain nodes and third-party regulatory nodes. The number of nodes is usually no less than 3 to ensure the objectivity of group verification. After verification is completed, the smart contract with built-in verification result association recording logic is triggered to record the receipt information and provide on-demand feedback based on the verification result; on-demand feedback can synchronize the verification result to the dynamic adaptation layer to provide data support for subsequent adaptation strategy optimization; The construction of the dynamic adaptation layer integrating a bidirectional adaptation feedback mechanism specifically includes: Continuously collect core characteristic information of the target heterogeneous chain and message delivery result data. The delivery result data includes message transmission success rate, parsing accuracy, and latency. A message transmission success rate of 95% or higher is considered qualified, a parsing accuracy of 98% or higher is considered qualified, and a latency of less than 500ms is considered qualified. The delivery effect is reflected intuitively through quantitative indicators. The core characteristic information of heterogeneous chains refers to the information of each heterogeneous chain in terms of consensus mechanism type, data structure specification, network protocol standard and node operating parameters; consensus mechanism type includes PoW, PoS, DPoS, etc., data structure specification includes account model, UTXO model, etc., network protocol standard includes HTTP, WebSocket, blockchain-specific P2P protocol, etc., and node operating parameters include node online rate, data processing rate, etc. Perform statistical analysis on the collected data to determine the matching degree between the adaptation strategy and the target heterogeneous chain; the statistical analysis can use conventional data statistical methods, such as calculating the deviation rate between the delivery result data and the preset standard value. The smaller the deviation rate, the higher the matching degree. The adaptation strategy refers to the set of consensus adaptation parameters, format conversion rules, and protocol docking methods pre-defined by the dynamic adaptation layer for the core characteristic information of the target heterogeneous chain; for example, for a PoW type consensus chain, the consensus adaptation parameter can be set to a longer consensus waiting time; for an account model data structure, the format conversion rule can be set to adapt the field mapping relationship. Based on the matching degree and the preset adjustment rule library, adaptation adjustment instructions are generated to optimize the consensus adaptation parameters, format conversion rules and protocol docking methods of subsequent messages. The preset adjustment rule library includes specific rules such as "shorten the message delivery interval when the transmission success rate is less than 90%" and "optimize the data field mapping rules when the parsing accuracy is less than 95%" to ensure the targeting of the adjustment instructions. The optimized cross-chain communication protocol with embedded consensus prediction and scheduling logic specifically includes: establishing a consensus efficiency prediction model based on the historical consensus efficiency data of the target heterogeneous chain, real-time node load, and network bandwidth status; The historical consensus efficiency data refers to the number of messages that have completed consensus confirmation per unit time, the average consensus time, and the consensus success rate of the target heterogeneous chain in the past. Examples of historical consensus efficiency data include: the number of messages that have completed consensus confirmation in the past minute is 100-200, the average consensus time is 2-5 seconds, and the consensus success rate is over 99%. Real-time node load can be characterized by node CPU utilization and memory usage, and network bandwidth status can be characterized by data transmission rate. The model predicts the consensus processing capacity level of the target heterogeneous chain within a preset time window. For example, the preset time window can be 5 minutes, which means predicting the consensus processing capacity of the target heterogeneous chain within the next 5 minutes. The consensus efficiency prediction model can use a conventional machine learning model, such as a linear regression model, which is trained on historical data to make predictions. The consensus processing capability level refers to the level divided based on a preset rate range; The message delivery strategy is adjusted according to the consensus processing capability level: when the level is higher than the preset threshold, the real-time delivery mode is adopted; when the level is lower than the preset threshold, the time-sharing batch delivery mode is adopted. The real-time delivery mode means that the message is delivered immediately after it is generated, which is suitable for high-priority clearing messages; the time-sharing batch delivery mode means that the message is delivered in batches according to time. The process of the sender generating a cross-chain message packet specifically includes: the sender generating a key pair through an asymmetric encryption algorithm, the key pair including a private key and a public key, the private key being used for message digital signature, and the public key being synchronized to the node group and the target heterogeneous chain; The sender performs a hash operation on the original message to generate a unique hash value, and assigns a unified association identifier to the digital signature, hash value and original message. The associated identifier, digital signature, hash value, and original message are associated and encapsulated to form a cross-chain message packet.
[0016] The multi-layered verification association mechanism specifically includes: the receiver extracts the digital signature, hash value and message body corresponding to the association identifier in the cross-chain message packet to complete the first round of verification, including signature verification and hash value comparison; The recipient synchronizes the association identifier and the first-round verification result to the node group. The node group performs a second verification on the message packet based on the association identifier, forming a group verification result. The results of the first round of verification are compared with the results of the group verification. If they match, the verification is deemed successful; otherwise, the verification is deemed unsuccessful.
[0017] The smart contract verification result association recording logic specifically includes: smart contract preset receipt recording fields, including association identifier, sender information, receiver information, first round verification result, group verification result, and verification time; After the recipient completes the verification, it triggers a smart contract through an on-chain transaction. The smart contract binds and records various verification results with associated identifiers, and writes the receipt data into the target heterogeneous chain block. The smart contract establishes a verification result query index, with associated identifiers as the core keywords, supporting cross-chain node groups and related entities to query and verify as needed. If the verification fails, the smart contract records the nodes and reasons for the verification failure at each layer, generates failure tracing information, and feeds it back to the sender.
[0018] A message delivery and receipt verification system for heterogeneous blockchain communication, comprising a dynamic adaptation module, a message delivery module, a message verification module, and a receipt management module; The dynamic adaptation module is used to construct a dynamic adaptation layer that integrates a two-way adaptation feedback mechanism, and adopts an optimized cross-chain communication protocol with embedded consensus prediction scheduling logic to realize dynamic adaptation and scheduling during message delivery. The message delivery module is used by the sender to generate cross-chain message packets and deliver them to the target heterogeneous chain through the dynamic adaptation layer. The message verification module is used by the receiver to perform the first round of verification based on a multi-layer verification association mechanism, and synchronize it to the node group for group verification, comparing the first round of verification results with the group verification results to determine the final verification result. The receipt management module is used to trigger a smart contract with built-in verification result association recording logic after verification is completed, record receipt information, and realize on-demand feedback based on the verification results.
[0019] The dynamic adaptation module includes a strategy evaluation unit, a strategy adjustment unit, and a scheduling decision unit. The strategy evaluation unit continuously collects core characteristic information of the target heterogeneous chain and historical message delivery result data, and determines the matching degree between the current adaptation strategy and the target heterogeneous chain through statistical analysis. The strategy adjustment unit generates adaptation adjustment instructions based on the matching degree judgment result of the strategy evaluation unit and a preset adjustment rule base, optimizing the consensus adaptation parameters, format conversion rules, and protocol docking methods for subsequent message delivery. The scheduling decision unit constructs a consensus efficiency prediction model and dynamically selects and executes a real-time delivery mode or a time-sharing batch delivery mode according to the consensus processing capability level of the target heterogeneous chain.
[0020] The message delivery module includes a message encapsulation unit and a message sending unit. The message encapsulation unit is used by the sender to perform secure encapsulation operations on the original message, including generating a digital signature, calculating a hash value, assigning a unified association identifier, and performing association encapsulation to form a standard cross-chain message package. The message sending unit is used to submit the encapsulated cross-chain message package to the dynamic adaptation module to start the delivery process to the target heterogeneous chain.
[0021] The message verification module includes an initial verification execution unit, a group consensus unit, and a result arbitration unit. The initial verification execution unit is used by the receiver to perform the first round of verification on the cross-chain message packet, specifically including the validity verification of the digital signature and the integrity comparison of the message hash value. The group consensus unit is used to synchronize the association identifier and content of the message to be verified to the node group, organize the node group to perform independent verification, and summarize the results to form a group verification result. The result arbitration unit is used to compare the first round verification result with the group verification result and determine the final verification result of the message based on their consistency. The receipt management module includes a receipt recording unit and a feedback triggering unit. The receipt recording unit is triggered after verification and records key information such as the association identifier, verification result, and verification time as a structured receipt in the block of the target heterogeneous chain. The feedback triggering unit is used to execute feedback logic based on the final verification result. When the verification passes, result query is supported. When the verification fails, traceability information containing the failure node and reason is generated and fed back to the sender and the dynamic adaptation module.
[0022] In this embodiment, the sending chain is a blockchain deployed by a bank using a PoW consensus mechanism and an account model, while the target heterogeneous chain is a blockchain deployed by a securities institution using a PoS consensus mechanism and a UTXO model. The network protocols of the two are HTTP protocol and blockchain-specific P2P protocol, respectively, and cross-chain settlement message delivery and verification need to be implemented.
[0023] The sender (banking node) generates an original message containing the settlement amount and account information, generates a digital signature and hash value through asymmetric encryption, and encapsulates it into a cross-chain message packet. The dynamic adaptation layer collects core characteristic information of the target heterogeneous chain through a chain feature identification unit, adopts a "real-time delivery mode" for the PoS consensus type, converts the account model data to a UTXO-compatible format through a format conversion unit, and establishes a transmission channel by matching the P2P protocol through a protocol adaptation interface. The cross-chain protocol is optimized based on the target chain's real-time node load prediction consensus processing capability, prioritizing the delivery of this settlement message. After successful delivery by the adaptation layer, the receiver (securities verification node) completes the first round of verification and synchronizes it to the node group for secondary verification, triggering the smart contract to record receipt information. The dynamic adaptation layer collects delivery success rate data and optimizes the adaptation parameters for subsequent messages of the same type.
[0024] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
Claims
1. A message delivery and receipt verification method for heterogeneous chain communication, characterized in that: The method includes the following steps: A dynamic adaptation layer integrating a two-way adaptation feedback mechanism is constructed, and an optimized cross-chain communication protocol with embedded consensus prediction scheduling logic is adopted. The sender generates a cross-chain message packet and delivers it to the target heterogeneous chain through a dynamic adaptation layer; The sender refers to the entity that initiates the message in the sending chain; The receiver performs the first round of verification based on a multi-layered verification association mechanism, and synchronizes it to the node group for group verification; the verification result is determined by comparing the first round of verification results with the group verification results. The recipient refers to the entity in the target heterogeneous chain that receives and verifies the message; the node group refers to the group of nodes participating in cross-chain operations. Once verification is complete, the smart contract with built-in verification result association recording logic is triggered to record receipt information and provide on-demand feedback based on the verification results.
2. The message delivery and receipt verification method for heterogeneous chain communication according to claim 1, characterized in that: The construction of the dynamic adaptation layer integrating a bidirectional adaptation feedback mechanism specifically includes: Continuously collect core characteristic information of the target heterogeneous chain and message delivery result data, including message transmission success rate, parsing accuracy, and latency. The core characteristic information of heterogeneous chains refers to the information of each heterogeneous chain in terms of consensus mechanism type, data structure specifications, network protocol standards and node operating parameters. Perform statistical analysis on the collected data to determine the matching degree between the adaptation strategy and the target heterogeneous chain; The adaptation strategy refers to the set of consensus adaptation parameters, format conversion rules and protocol docking methods pre-defined by the dynamic adaptation layer for the core characteristic information of the target heterogeneous chain; Based on the matching degree and a preset adjustment rule base, adaptation adjustment instructions are generated to optimize the consensus adaptation parameters, format conversion rules and protocol docking methods of subsequent messages.
3. The message delivery and receipt verification method for heterogeneous chain communication according to claim 2, characterized in that: The optimized cross-chain communication protocol with embedded consensus prediction and scheduling logic specifically includes: A consensus efficiency prediction model is established based on the historical consensus efficiency data of the target heterogeneous chain, real-time node load, and network bandwidth status. The historical consensus efficiency data refers to the data related to the number of messages that have completed consensus confirmation per unit time, the average consensus time, and the consensus success rate of the target heterogeneous chain in the past. The predictive model outputs the consensus processing capability level of the target heterogeneous chain within a preset time window. The consensus processing capability level refers to the level divided based on a preset rate range; The message delivery strategy is adjusted according to the consensus processing capability level: when the level is higher than the preset threshold, a real-time delivery mode is adopted; when the level is lower than the preset threshold, a time-sharing batch delivery mode is adopted.
4. The message delivery and receipt verification method for heterogeneous chain communication according to claim 3, characterized in that: The process of the sender generating a cross-chain message packet specifically includes: The sender generates a key pair using an asymmetric encryption algorithm. The key pair includes a private key and a public key. The private key is used for digital signature of the message, and the public key is synchronized to the node community and the target heterogeneous chain. The sender performs a hash operation on the original message to generate a unique hash value, and assigns a unified association identifier to the digital signature, hash value and original message. The associated identifier, digital signature, hash value, and original message are associated and encapsulated to form a cross-chain message packet.
5. The message delivery and receipt verification method for heterogeneous chain communication according to claim 4, characterized in that: The multi-layered verification association mechanism specifically includes: The recipient extracts the digital signature, hash value, and message text corresponding to the associated identifier in the cross-chain message packet to complete the first round of verification, including signature verification and hash value comparison; The recipient synchronizes the association identifier and the first-round verification result to the node group. The node group performs a second verification on the message packet based on the association identifier, forming a group verification result. The results of the first round of verification are compared with the results of the group verification. If they match, the verification is deemed successful; otherwise, the verification is deemed unsuccessful.
6. The message delivery and receipt verification method for heterogeneous chain communication according to claim 5, characterized in that: The logic for associating the verification result of the smart contract with records specifically includes: The smart contract has pre-set receipt record fields, including association identifier, sender information, receiver information, first round verification result, group verification result, and verification time; After the recipient completes the verification, the smart contract is triggered through an on-chain transaction. The smart contract binds and records various verification results with associated identifiers, and writes the receipt data into the target heterogeneous chain block. The smart contract establishes a verification result query index, with the association identifier as the core keyword, supporting cross-chain node groups and related entities to query and verify on demand. When verification fails, the smart contract records the failure nodes and reasons at each layer, generates failure tracing information, and sends it back to the sender.
7. A message delivery and receipt verification system for heterogeneous blockchain communication, applied to the message delivery and receipt verification method for heterogeneous blockchain communication as described in any one of claims 1-6, characterized in that: The system includes a dynamic adaptation module, a message delivery module, a message verification module, and a receipt management module; The dynamic adaptation module is used to construct a dynamic adaptation layer that integrates a two-way adaptation feedback mechanism, and adopts an optimized cross-chain communication protocol with embedded consensus prediction scheduling logic to realize dynamic adaptation and scheduling during message delivery. The message delivery module is used by the sender to generate cross-chain message packets and deliver them to the target heterogeneous chain through the dynamic adaptation layer. The message verification module is used by the receiver to perform the first round of verification based on a multi-layer verification association mechanism, and synchronize it to the node group for group verification, comparing the first round of verification results with the group verification results to determine the final verification result. The receipt management module is used to trigger a smart contract with built-in verification result association recording logic after verification is completed, record receipt information, and realize on-demand feedback based on the verification results.
8. The message delivery and receipt verification system for heterogeneous chain communication according to claim 7, characterized in that: The dynamic adaptation module includes a strategy evaluation unit, a strategy adjustment unit, and a scheduling decision unit. The strategy evaluation unit is used to continuously collect core characteristic information of the target heterogeneous chain and historical message delivery result data, and to determine the matching degree between the current adaptation strategy and the target heterogeneous chain through statistical analysis. The strategy adjustment unit is used to generate adaptation adjustment instructions based on the matching degree judgment result of the strategy evaluation unit and in combination with the preset adjustment rule base, so as to optimize the consensus adaptation parameters, format conversion rules and protocol docking methods of subsequent message delivery. The scheduling decision unit is used to construct a consensus efficiency prediction model and dynamically select and execute a real-time delivery mode or a time-sharing batch delivery mode based on the consensus processing capability level of the target heterogeneous chain.
9. The message delivery and receipt verification system for heterogeneous chain communication according to claim 8, characterized in that: The message delivery module includes a message encapsulation unit and a message sending unit; The message encapsulation unit is used by the sender to perform secure encapsulation operations on the original message, including generating a digital signature, calculating a hash value, assigning a unified association identifier, and performing association encapsulation to form a standard cross-chain message packet; the message sending unit is used to submit the encapsulated cross-chain message packet to the dynamic adaptation module to start the delivery process to the target heterogeneous chain.
10. The message delivery and receipt verification system for heterogeneous chain communication according to claim 9, characterized in that: The message verification module includes a first verification execution unit, a group consensus unit, and a result arbitration unit; The initial verification execution unit is used by the receiver to perform the first round of verification on the cross-chain message packet, specifically including the validity verification of the digital signature and the integrity comparison of the message hash value; the group consensus unit is used to synchronize the association identifier and content of the message to be verified to the node group, organize the node group to perform independent verification, and summarize to form the group verification result; the result arbitration unit is used to compare the first round verification result with the group verification result, and determine the final verification result of the message based on the consistency between the two. The receipt management module includes a receipt recording unit and a feedback triggering unit; The receipt recording unit is used to be triggered after verification is completed, and to record key information such as association identifier, verification result, and verification time as a structured receipt into the block of the target heterogeneous chain; The feedback triggering unit is used to execute feedback logic based on the final verification result; when the verification passes, it supports result query; when the verification fails, it generates traceability information containing the failure node and the reason, and feeds the information back to the sender and the dynamic adaptation module.