Multi-network channel transmission method based on block chain
By blockchain -based multi -network channel transmission methods, the problems of data loss, error code and unstable transmission in data transmission in multi -network multi -channel data transmission are solved, and the stability and efficiency of data transmission are achieved, and data monitoring and optimization are optimized Trace the source mechanism.
Patent Information
- Application Number
- CN202411233916.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2025-01-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the data transmission process of multi-network and multi-channel, data loss, data error, data transmission instability are often encountered, which affects the efficiency and quality of data aggregation and transmission. In addition, traditional methods have shortcomings in data monitoring and traceability.
Adopt a multi-network channel transmission method based on blockchain, evaluate the network through preset network quality analysis indicators, select the best channel, build a blockchain network, and use encryption and authentication mechanisms to ensure secure communication. The data packet is hashed and a smart contract is created on the blockchain. The smart contract automatically monitors the data transmission and dynamically adjusts the strategy. The data receiving terminal verifies and records the results, triggering the data retransmission mechanism.
Improved the stability and efficiency of data transmission, dynamically adjust the strategy through smart contracts, effectively manage the data transmission process, realize the integrity and accuracy verification of data transmission, timely restore or re -transmit damaged data packets, improve the quality of data transmission And optimize the traceability mechanism.
Smart Images

Figure CN119363362A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of multi-network channel transmission technology, and specifically to a multi-network channel transmission method based on blockchain. Background Art
[0002] The application of blockchain technology in multi-network channel transmission is a field full of potential. It is gradually changing the traditional way of data exchange by providing a decentralized, secure and transparent data transmission platform. The core advantage of blockchain is that it can ensure the integrity and immutability of data during transmission between different network nodes. However, the multi-network and multi-channel data transmission process often encounters problems such as data loss, data error, and unstable data transmission, which greatly affects the efficiency and quality of data aggregation transmission. At the same time, the traditional data aggregation transmission method has deficiencies in data monitoring and traceability. The lack of an effective monitoring mechanism means that when problems occur during data transmission, it is difficult to quickly and accurately locate the source of the problem. Therefore, it is necessary to design a multi-network channel transmission method based on blockchain to improve the quality of data transmission and optimize the traceability mechanism. Summary of the invention
[0003] The purpose of the present invention is to provide a multi-network channel transmission method based on blockchain to solve the problems raised in the above background technology.
[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a multi-network channel transmission method based on blockchain, the operation steps of the method include: Step S1: Evaluate the existing network through the preset network quality analysis indicators, select the best network channel, build the blockchain network, and use encryption and authentication mechanisms to ensure secure communication between nodes; Step S2: Split the original data into data packets, perform hashing on each data packet, and create a corresponding smart contract on the blockchain; Step S3: Analyze strategies to improve data transmission efficiency, automatically monitor data transmission through smart contracts, and dynamically adjust strategies based on actual conditions; Step S4: The data receiving terminal verifies each data packet, uses the blockchain's smart contract to record the verification results on the chain, and determines the transmission integrity; Step S5: When data transmission abnormality is detected, a data retransmission mechanism is triggered, and the abnormality cause and processing process are recorded.
[0005] According to the above technical solution, step S1 further includes the following steps: Step S11: real-time monitoring of preset network quality analysis indicator data in the existing network, wherein the network quality analysis indicator data includes but is not limited to: network congestion degree data, stability data within a specific time period, and network delay difference data between different regions; Step S12: comprehensively evaluating multiple candidate network channels based on the network quality analysis index, automatically selecting the optimal network channel using a multi-objective optimization algorithm based on the evaluation results, and identifying multiple suboptimal network channels using a genetic algorithm, wherein the optimal network channel and the suboptimal network channels constitute a multi-network channel combination; Step S13: Integrate the multi-network channels into the blockchain network, monitor the status of each channel in real time through a multi-channel monitoring terminal, and dynamically adjust the network channel and data transmission strategy according to the real-time monitoring network quality analysis indicator data; Step S14: Conduct performance testing on the blockchain network with integrated multi-channel transmission mechanism, evaluate its performance in different scenarios, optimize it according to the test results, deploy the optimized blockchain network to the actual environment, and establish a complete operation and maintenance system to ensure the stable operation and continuous iteration and upgrade of the network.
[0006] According to the above technical solution, step S2 further includes the following steps: Step S21: Analyze the transmission data through a machine learning model to identify key data and non-key data of the transmission data, wherein the key data includes: sensitive data and high-frequency usage data, assign priority according to the importance and usage frequency of the transmission data, and dynamically adjust the transmission granularity according to the analysis of the transmission data. When the data is identified as key data, a finer segmentation granularity is adopted. Conversely, when the data is identified as non-key data, the segmentation granularity is increased, and the transmission data is segmented into small data packets. The segmented data packets are encapsulated with necessary header information, wherein the header information includes: data packet sequence number, total number of data packets, data segment length, and checksum; Step S22: Process the small data packet through parallel hash processing and Merkle tree, create a smart contract on the blockchain, and the user can adjust the data structure to store the detailed information of the small data packet. In the default state, the data structure includes: hash value, original data identifier, segmentation order, priority, data size. When the small data packet is uploaded, the corresponding transmission status and timestamp are recorded on the smart contract; Step S23: Based on dividing the transmission data into the small data packets, the data is submitted to the blockchain network in an aggregated manner, and the data transmission process is further optimized through an intelligent trigger module based on time, event or condition. The time-based module refers to automatic submission once a preset time is reached, the event-based module refers to automatic submission when the preset specific event requirements are met, and the condition refers to automatic submission when the network congestion level is lower than the set threshold. The preset value can be set by the user according to his or her own needs. When the preset condition set by the user is not received, the system runs according to the default value.
[0007] According to the above technical solution, step S3 further includes the following steps: Step S31: using a smart contract for data transmission efficiency detection, the data transmission efficiency detection includes: receiving, processing and strategy analysis functions of the data, and setting corresponding monitoring logic and thresholds in the smart contract; Step S32: The smart contract receives and processes transmission data packets from various network channels in real time, calculates and updates the transmission efficiency index, automatically evaluates the current data packet transmission efficiency based on the pre-set detection logic and threshold, identifies potential performance bottlenecks and optimization space, and evaluates the impact of different strategies on the transmission efficiency of the data packets through the machine learning model, and predicts the implementation effect of each strategy; Step S33: Based on the strategy analysis results, the smart contract selects the optimal adjustment strategy, and the smart contract sends instructions to the smart contract execution terminal to perform corresponding strategy adjustment operations.
[0008] According to the above technical solution, step S4 further includes the following steps: Step S41: The data receiving terminal receives data packets from multiple network channels, and performs preliminary integrity and format checks on the data packets by verifying whether the header information of the data packets is complete and conforms to a preset format. When the preliminary check fails, the data packet is judged to be incomplete / formatted incorrectly, and the data receiving terminal generates a data error report for the data packet transmission, and records the error information on the chain through a smart contract, and sends a retransmission request to the retransmission request terminal at the same time. On the contrary, when the check succeeds, it is judged that the data packet transmission has passed the preliminary check; Step S42: Based on the data packets that have passed the preliminary verification, the data receiving terminal will further verify whether the data packet transmission is correct and whether it has not been tampered with through the Merkle tree. When it is identified that there is an error or damage in the data segment of the data packet, the data receiving terminal uses the RS code to restore the lost or damaged data. When it cannot be restored, an error report is generated and recorded through the smart contract; Step S43: The data receiving terminal encodes the verification result into result data, and records the result data on the blockchain through the smart contract of the blockchain. The smart contract automatically determines the integrity of the data transmission based on the recorded verification result. When all data packets pass the verification, it is determined that the data transmission is successful. Otherwise, the corresponding exception processing will be triggered and the exception report will be sent to the intelligent exception processing terminal.
[0009] According to the above technical solution, the step S5 further includes: based on the abnormal report and the current network status, analyzing the characteristics of different network channels, dynamically selecting a suitable network channel for retransmission, and analyzing the critical data and the non-critical data of the transmission data according to step S21, adopting fine-grained retransmission for the critical data and coarse-grained retransmission for the non-critical data. When performing the retransmission operation, repeat steps S3 and S4 to analyze the relevant information of the retransmitted data.
[0010] According to the above technical solution, the system includes a network quality analysis module, a transmission data analysis module, a smart contract execution module, and a data receiving module: The network quality analysis module is responsible for real-time monitoring of network quality analysis indicator data in the existing network; The transmission data analysis module is responsible for running a machine learning model to analyze the transmission data, identify key data and non-key data, and assign priorities according to the importance and frequency of use of the data; The data receiving module is used to receive data packets from multiple network channels, check the integrity and format of the transmitted data, determine whether the transmitted data is successful, and adopt a retransmission mechanism for data that has not been successfully transmitted.
[0011] According to the above technical solution, the network quality analysis terminal includes a multi-channel monitoring module, an evaluation and selection module, a multi-channel integration module, and an optimization and deployment module: The multi-channel monitoring module is used to monitor the preset network quality analysis indicator data in the existing network in real time, and the network quality analysis indicator data includes but is not limited to: network congestion degree data, stability data within a specific time period, and network delay difference data between different regions; The evaluation and selection module is used to comprehensively evaluate multiple candidate network channels based on the network quality analysis index, automatically select the optimal network channel using a multi-objective optimization algorithm based on the evaluation results, and identify multiple suboptimal network channels using a genetic algorithm. The optimal network channel and the suboptimal network channels constitute a multi-network channel combination; The multi-channel integration module is integrated into the blockchain network and is responsible for real-time monitoring of the status of each channel and dynamically adjusting the network channel and data transmission strategy based on the real-time monitored network quality analysis indicator data; The optimization and deployment module is used to perform performance testing on the blockchain network that integrates a multi-channel transmission mechanism, evaluate its performance in different scenarios, optimize it according to the test results, deploy the optimized blockchain network to the actual environment, and establish a complete operation and maintenance system to ensure the stable operation and continuous iterative upgrade of the network.
[0012] According to the above technical solution, the transmission data analysis module includes a transmission data segmentation module, a data packet encapsulation module, an intelligent trigger module, and an intelligent contract execution module: The transmission data segmentation module is used to identify the key data and non-key data of the transmission data, wherein the key data includes sensitive data and high-frequency data, assign priorities according to the importance and frequency of use of the transmission data, and dynamically adjust the transmission granularity according to the analysis of the transmission data. When the data is identified as key data, a finer segmentation granularity is adopted. On the contrary, when the data is identified as non-key data, the segmentation granularity is increased to segment the transmission data into small data packets. The data packet encapsulation module is used to encapsulate the necessary header information of the segmented data packets, and the header information includes: data packet sequence number, total number of data packets, data segment length, and checksum; The intelligent trigger module is responsible for monitoring the trigger mechanism based on time, events or conditions, further optimizing the data transmission process, and automatically submitting data packets to the blockchain network through preset time, events or conditions; The smart contract execution module is used to receive and process transmission data packets from various network channels, calculate and update transmission efficiency indicators, automatically evaluate the current data packet transmission efficiency based on the preset detection logic and threshold, identify potential performance bottlenecks and optimization space, and through the machine learning model, the smart contract evaluates the impact of different strategies on the transmission efficiency of the data packet and predicts the implementation effect of each strategy.
[0013] According to the above technical solution, the data receiving module includes an error report recording module, a data retransmission request module, and an exception handling module: The error report recording module is used to determine that the data packet is incomplete / wrong in format when the preliminary verification fails, and the data receiving terminal generates a data error report for the data packet transmission, and records the error information on the chain through the smart contract. When it is identified that there is an error or damage in the data segment of the data packet, the data receiving terminal uses the RS code to restore the lost or damaged data. When it cannot be restored, an error report is generated and recorded through the smart contract. When it cannot be restored, an error report is generated and recorded through the smart contract; The data retransmission request module is responsible for sending a retransmission request to the retransmission request terminal when the data packet verification fails; The exception handling module is used to analyze the characteristics of different network channels based on the exception report and the current network status, and dynamically select a suitable network channel for retransmission.
[0014] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention, by real-time monitoring of network quality analysis indicators and adopting multi-objective optimization algorithms and genetic algorithms, can automatically select optimal and suboptimal network channels and construct multi-channel combinations, thereby improving the stability and efficiency of data transmission, analyzing transmission data through machine learning models, identifying key data and assigning priorities, more intelligently processing data and optimizing transmission granularity, automatically monitoring data transmission conditions using smart contracts, and dynamically adjusting strategies based on real-time data to effectively manage the data transmission process, and performing efficient integrity and accuracy verification at the data receiving terminal through technologies such as Merkle trees and RS codes, and promptly recovering or retransmitting damaged data packets; when data transmission anomalies are detected, the data retransmission mechanism can be quickly triggered, and the cause of the anomaly and the processing process can be recorded, thereby improving the quality of data transmission and optimizing the traceability mechanism. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 A schematic diagram of a flowchart of a multi-network channel transmission method based on blockchain provided in Embodiment 1 of the present invention; Figure 2 A schematic diagram of the module composition of a multi-network channel transmission system based on blockchain provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] Embodiment 1: This embodiment can be applied to the scenario of data transmission optimization in a multi-network environment. The method can be executed by a multi-network channel transmission method based on blockchain provided in this embodiment. Figure 1 A flowchart diagram of a multi-network channel transmission method based on blockchain provided in Embodiment 1 of the present invention, the method specifically comprises the following steps: Step S1: Evaluate the existing network through the preset network quality analysis indicators, select the best network channel, build the blockchain network, and use encryption and authentication mechanisms to ensure secure communication between nodes; Step S2: Split the original data into data packets, perform hashing on each data packet, and create a corresponding smart contract on the blockchain; Step S3: Analyze strategies to improve data transmission efficiency, automatically monitor data transmission through smart contracts, and dynamically adjust strategies based on actual conditions; Step S4: The data receiving terminal verifies each data packet, uses the blockchain's smart contract to record the verification results on the chain, and determines the transmission integrity; Step S5: When data transmission abnormality is detected, a data retransmission mechanism is triggered, and the abnormality cause and processing process are recorded.
[0018] In an embodiment of the present invention, the step S1 further includes the following steps: Step S11: real-time monitoring of preset network quality analysis indicator data in the existing network, wherein the network quality analysis indicator data includes but is not limited to: network congestion degree data, stability data within a specific time period, and network delay difference data between different regions; Step S12: comprehensively evaluating multiple candidate network channels based on the network quality analysis index, automatically selecting the optimal network channel using a multi-objective optimization algorithm based on the evaluation results, and identifying multiple suboptimal network channels using a genetic algorithm, wherein the optimal network channel and the suboptimal network channels constitute a multi-network channel combination; Step S13: Integrate the multi-network channels into the blockchain network, monitor the status of each channel in real time through a multi-channel monitoring terminal, and dynamically adjust the network channel and data transmission strategy according to the real-time monitoring network quality analysis indicator data; Step S14: Conduct performance testing on the blockchain network with integrated multi-channel transmission mechanism, evaluate its performance in different scenarios, optimize it according to the test results, deploy the optimized blockchain network to the actual environment, and establish a complete operation and maintenance system to ensure the stable operation and continuous iteration and upgrade of the network.
[0019] In an embodiment of the present invention, the step S2 further includes the following steps: Step S21: Analyze the transmission data through a machine learning model to identify key data and non-key data of the transmission data, wherein the key data includes: sensitive data and high-frequency usage data, assign priority according to the importance and usage frequency of the transmission data, and dynamically adjust the transmission granularity according to the analysis of the transmission data. When the data is identified as key data, a finer segmentation granularity is adopted. Conversely, when the data is identified as non-key data, the segmentation granularity is increased, and the transmission data is segmented into small data packets. The segmented data packets are encapsulated with necessary header information, wherein the header information includes: data packet sequence number, total number of data packets, data segment length, and checksum; Step S22: Process the small data packet through parallel hash processing and Merkle tree, create a smart contract on the blockchain, and the user can adjust the data structure to store the detailed information of the small data packet. In the default state, the data structure includes: hash value, original data identifier, segmentation order, priority, data size. When the small data packet is uploaded, the corresponding transmission status and timestamp are recorded on the smart contract; Step S23: Based on dividing the transmission data into the small data packets, the data is submitted to the blockchain network in an aggregated manner, and the data transmission process is further optimized through an intelligent trigger module based on time, event or condition. The time-based module refers to automatic submission once a preset time is reached, the event-based module refers to automatic submission when the preset specific event requirements are met, and the condition refers to automatic submission when the network congestion level is lower than the set threshold. The preset value can be set by the user according to his or her own needs. When the preset condition set by the user is not received, the system runs according to the default value.
[0020] In an embodiment of the present invention, step S3 further includes the following steps: Step S31: using a smart contract for data transmission efficiency detection, the data transmission efficiency detection includes: receiving, processing and strategy analysis functions of the data, and setting corresponding monitoring logic and thresholds in the smart contract; Step S32: The smart contract receives and processes transmission data packets from various network channels in real time, calculates and updates the transmission efficiency index, automatically evaluates the current data packet transmission efficiency based on the pre-set detection logic and threshold, identifies potential performance bottlenecks and optimization space, and evaluates the impact of different strategies on the transmission efficiency of the data packets through the machine learning model, and predicts the implementation effect of each strategy; Step S33: Based on the strategy analysis results, the smart contract selects the optimal adjustment strategy, and the smart contract sends instructions to the smart contract execution terminal to perform corresponding strategy adjustment operations.
[0021] In an embodiment of the present invention, the step S4 further includes the following steps: Step S41: The data receiving terminal receives data packets from multiple network channels, and performs preliminary integrity and format checks on the data packets by verifying whether the header information of the data packets is complete and conforms to a preset format. When the preliminary check fails, the data packet is judged to be incomplete / formatted incorrectly, and the data receiving terminal generates a data error report for the data packet transmission, and records the error information on the chain through a smart contract, and sends a retransmission request to the retransmission request terminal at the same time. On the contrary, when the check succeeds, it is judged that the data packet transmission has passed the preliminary check; Step S42: Based on the data packets that have passed the preliminary verification, the data receiving terminal will further verify whether the data packet transmission is correct and whether it has not been tampered with through the Merkle tree. When it is identified that there is an error or damage in the data segment of the data packet, the data receiving terminal uses the RS code to restore the lost or damaged data. When it cannot be restored, an error report is generated and recorded through the smart contract; Step S43: The data receiving terminal encodes the verification result into result data, and records the result data on the blockchain through the smart contract of the blockchain. The smart contract automatically determines the integrity of the data transmission based on the recorded verification result. When all data packets pass the verification, it is determined that the data transmission is successful. Otherwise, the corresponding exception processing will be triggered and the exception report will be sent to the intelligent exception processing terminal.
[0022] In an embodiment of the present invention, the step S5 further includes: based on the abnormal report and the current network status, analyzing the characteristics of different network channels, dynamically selecting a suitable network channel for retransmission, analyzing the critical data and the non-critical data of the transmission data according to step S21, adopting fine-grained retransmission for the critical data and coarse-grained retransmission for the non-critical data, and when performing the retransmission operation, repeating steps S3 and S4 to analyze the relevant information of the retransmitted data.
[0023] Embodiment 2: Embodiment 2 of the present invention provides a multi-network channel transmission system based on blockchain. Figure 2 A schematic diagram of the module composition of a multi-network channel transmission method based on blockchain provided in Embodiment 2 of the present invention is shown in FIG. Figure 2 As shown, the system includes a network quality analysis module, a transmission data analysis module, a smart contract execution module, and a data receiving module: The network quality analysis module is responsible for real-time monitoring of network quality analysis indicator data in the existing network; The transmission data analysis module is responsible for running a machine learning model to analyze the transmission data, identify key data and non-key data, and assign priorities according to the importance and frequency of use of the data; The data receiving module is used to receive data packets from multiple network channels, check the integrity and format of the transmitted data, determine whether the transmitted data is successful, and adopt a retransmission mechanism for data that has not been successfully transmitted.
[0024] In some embodiments of the present invention, the network quality analysis terminal includes a multi-channel monitoring module, an evaluation and selection module, a multi-channel integration module, and an optimization and deployment module: The multi-channel monitoring module is used to monitor the preset network quality analysis indicator data in the existing network in real time, and the network quality analysis indicator data includes but is not limited to: network congestion degree data, stability data within a specific time period, and network delay difference data between different regions; The evaluation and selection module is used to comprehensively evaluate multiple candidate network channels based on the network quality analysis index, automatically select the optimal network channel using a multi-objective optimization algorithm based on the evaluation results, and identify multiple suboptimal network channels using a genetic algorithm. The optimal network channel and the suboptimal network channels constitute a multi-network channel combination; The multi-channel integration module is integrated into the blockchain network and is responsible for real-time monitoring of the status of each channel and dynamically adjusting the network channel and data transmission strategy based on the real-time monitored network quality analysis indicator data; The optimization and deployment module is used to perform performance testing on the blockchain network that integrates a multi-channel transmission mechanism, evaluate its performance in different scenarios, optimize it according to the test results, deploy the optimized blockchain network to the actual environment, and establish a complete operation and maintenance system to ensure the stable operation and continuous iterative upgrade of the network.
[0025] In some embodiments of the present invention, the transmission data analysis module includes a transmission data segmentation module, a data packet encapsulation module, an intelligent triggering module, and an intelligent contract execution module: The transmission data segmentation module is used to identify the key data and non-key data of the transmission data, wherein the key data includes sensitive data and high-frequency data, assign priorities according to the importance and frequency of use of the transmission data, and dynamically adjust the transmission granularity according to the analysis of the transmission data. When the data is identified as key data, a finer segmentation granularity is adopted. On the contrary, when the data is identified as non-key data, the segmentation granularity is increased to segment the transmission data into small data packets. The data packet encapsulation module is used to encapsulate the necessary header information of the segmented data packets, and the header information includes: data packet sequence number, total number of data packets, data segment length, and checksum; The intelligent trigger module is responsible for monitoring the trigger mechanism based on time, events or conditions, further optimizing the data transmission process, and automatically submitting data packets to the blockchain network through preset time, events or conditions; The smart contract execution module is used to receive and process transmission data packets from various network channels, calculate and update transmission efficiency indicators, automatically evaluate the current data packet transmission efficiency based on the preset detection logic and threshold, identify potential performance bottlenecks and optimization space, and through the machine learning model, the smart contract evaluates the impact of different strategies on the transmission efficiency of the data packet and predicts the implementation effect of each strategy.
[0026] In some embodiments of the present invention, the data receiving module includes an error reporting and recording module, a data retransmission request module, and an exception handling module: The error report recording module is used to determine that the data packet is incomplete / wrong in format when the preliminary verification fails, and the data receiving terminal generates a data error report for the data packet transmission, and records the error information on the chain through the smart contract. When it is identified that there is an error or damage in the data segment of the data packet, the data receiving terminal uses the RS code to restore the lost or damaged data. When it cannot be restored, an error report is generated and recorded through the smart contract. When it cannot be restored, an error report is generated and recorded through the smart contract; The data retransmission request module is responsible for sending a retransmission request to the retransmission request terminal when the data packet verification fails; The exception handling module is used to analyze the characteristics of different network channels based on the exception report and the current network status, and dynamically select a suitable network channel for retransmission.
[0027] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0028] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A multi-network channel transmission method based on blockchain, characterized by: The operating steps of the method include: Step S1: Evaluate the existing network through the preset network quality analysis indicators, select the best network channel, build the blockchain network, and use encryption and authentication mechanisms to ensure secure communication between nodes; Step S2: Split the original data into data packets, perform hashing on each data packet, and create a corresponding smart contract on the blockchain; Step S3: Analyze strategies to improve data transmission efficiency, automatically monitor data transmission through smart contracts, and dynamically adjust strategies based on actual conditions; Step S4: The data receiving terminal verifies each data packet, uses the blockchain's smart contract to record the verification results on the chain, and determines the transmission integrity; Step S5: When data transmission abnormality is detected, a data retransmission mechanism is triggered, and the abnormality cause and processing process are recorded.
2. According to claim 1, a multi-network channel transmission method based on blockchain is characterized in that: The step S1 further comprises the following steps: Step S11: real-time monitoring of preset network quality analysis indicator data in the existing network, wherein the network quality analysis indicator data includes but is not limited to: network congestion degree data, stability data within a specific time period, and network delay difference data between different regions; Step S12: comprehensively evaluating multiple candidate network channels based on the network quality analysis index, automatically selecting the optimal network channel using a multi-objective optimization algorithm based on the evaluation results, and identifying multiple suboptimal network channels using a genetic algorithm, wherein the optimal network channel and the suboptimal network channels constitute a multi-network channel combination; Step S13: Integrate the multi-network channels into the blockchain network, monitor the status of each channel in real time through a multi-channel monitoring terminal, and dynamically adjust the network channel and data transmission strategy according to the real-time monitoring network quality analysis indicator data; Step S14: Conduct performance testing on the blockchain network with integrated multi-channel transmission mechanism, evaluate its performance in different scenarios, optimize it according to the test results, deploy the optimized blockchain network to the actual environment, and establish a complete operation and maintenance system to ensure the stable operation and continuous iteration and upgrade of the network.
3. A multi-network channel transmission method based on blockchain according to claim 2, characterized in that: The step S2 further comprises the following steps: Step S21: Analyze the transmission data through a machine learning model to identify key data and non-key data of the transmission data, wherein the key data includes: sensitive data and high-frequency usage data, assign priority according to the importance and usage frequency of the transmission data, and dynamically adjust the transmission granularity according to the analysis of the transmission data. When the data is identified as key data, a finer segmentation granularity is adopted. Conversely, when the data is identified as non-key data, the segmentation granularity is increased, and the transmission data is segmented into small data packets. The segmented data packets are encapsulated with necessary header information, wherein the header information includes: data packet sequence number, total number of data packets, data segment length, and checksum; Step S22: Process the small data packet through parallel hash processing and Merkle tree, create a smart contract on the blockchain, and the user can adjust the data structure to store the detailed information of the small data packet. In the default state, the data structure includes: hash value, original data identifier, segmentation order, priority, data size. When the small data packet is uploaded, the corresponding transmission status and timestamp are recorded on the smart contract; Step S23: Based on dividing the transmission data into the small data packets, the data is submitted to the blockchain network in an aggregated manner, and the data transmission process is further optimized through an intelligent trigger module based on time, event or condition. The time-based module refers to automatic submission once a preset time is reached, the event-based module refers to automatic submission when the preset specific event requirements are met, and the condition refers to automatic submission when the network congestion level is lower than the set threshold. The preset value can be set by the user according to his or her own needs. When the preset condition set by the user is not received, the system runs according to the default value.
4. According to claim 3, a multi-network channel transmission method based on blockchain is characterized in that: The step S3 further comprises the following steps: Step S31: using a smart contract for data transmission efficiency detection, the data transmission efficiency detection includes: receiving, processing and strategy analysis functions of the data, and setting corresponding monitoring logic and thresholds in the smart contract; Step S32: The smart contract receives and processes transmission data packets from various network channels in real time, calculates and updates the transmission efficiency index, automatically evaluates the current data packet transmission efficiency based on the pre-set detection logic and threshold, identifies potential performance bottlenecks and optimization space, and evaluates the impact of different strategies on the transmission efficiency of the data packets through the machine learning model, and predicts the implementation effect of each strategy; Step S33: Based on the strategy analysis results, the smart contract selects the optimal adjustment strategy, and the smart contract sends instructions to the smart contract execution terminal to perform corresponding strategy adjustment operations.
5. According to claim 4, a multi-network channel transmission method based on blockchain is characterized in that: The step S4 further comprises the following steps: Step S41: The data receiving terminal receives data packets from multiple network channels, and performs preliminary integrity and format checks on the data packets by verifying whether the header information of the data packets is complete and conforms to a preset format. When the preliminary check fails, the data packet is judged to be incomplete / formatted incorrectly, and the data receiving terminal generates a data error report for the data packet transmission, and records the error information on the chain through a smart contract, and sends a retransmission request to the retransmission request terminal at the same time. On the contrary, when the check succeeds, it is judged that the data packet transmission has passed the preliminary check; Step S42: Based on the data packets that have passed the preliminary verification, the data receiving terminal will further verify whether the data packet transmission is correct and whether it has not been tampered with through the Merkle tree. When it is identified that there is an error or damage in the data segment of the data packet, the data receiving terminal uses the RS code to restore the lost or damaged data. When it cannot be restored, an error report is generated and recorded through the smart contract; Step S43: The data receiving terminal encodes the verification result into result data, and records the result data on the blockchain through the smart contract of the blockchain. The smart contract automatically determines the integrity of the data transmission based on the recorded verification result. When all data packets pass the verification, it is determined that the data transmission is successful. Otherwise, the corresponding exception processing will be triggered and the exception report will be sent to the intelligent exception processing terminal.
6. A multi-network channel transmission method based on blockchain according to claim 5, characterized in that: The step S5 further includes: based on the abnormal report and the current network status, analyzing the characteristics of different network channels, dynamically selecting a suitable network channel for retransmission, analyzing the critical data and the non-critical data of the transmission data according to step S21, adopting fine-grained retransmission for the critical data and coarse-grained retransmission for the non-critical data, and when performing the retransmission operation, repeating steps S3 and S4 to analyze the relevant information of the retransmitted data.
7. A multi-network channel transmission system based on blockchain, characterized by: The system includes a network quality analysis module, a transmission data analysis module, a smart contract execution module, and a data receiving module: The network quality analysis module is responsible for real-time monitoring of network quality analysis indicator data in the existing network; The transmission data analysis module is responsible for running a machine learning model to analyze the transmission data, identify key data and non-key data, and assign priorities according to the importance and frequency of use of the data; The data receiving module is used to receive data packets from multiple network channels, check the integrity and format of the transmitted data, determine whether the transmitted data is successful, and adopt a retransmission mechanism for data that has not been successfully transmitted.
8. According to claim 7, a multi-network channel transmission system based on blockchain is characterized in that: The network quality analysis terminal includes a multi-channel monitoring module, an evaluation and selection module, a multi-channel integration module, and an optimization and deployment module: The multi-channel monitoring module is used to monitor the preset network quality analysis indicator data in the existing network in real time, and the network quality analysis indicator data includes but is not limited to: network congestion degree data, stability data within a specific time period, and network delay difference data between different regions; The evaluation and selection module is used to comprehensively evaluate multiple candidate network channels based on the network quality analysis index, automatically select the optimal network channel using a multi-objective optimization algorithm based on the evaluation results, and identify multiple suboptimal network channels using a genetic algorithm. The optimal network channel and the suboptimal network channels constitute a multi-network channel combination; The multi-channel integration module is integrated into the blockchain network and is responsible for real-time monitoring of the status of each channel and dynamically adjusting the network channel and data transmission strategy based on the real-time monitored network quality analysis indicator data; The optimization and deployment module is used to perform performance testing on the blockchain network that integrates a multi-channel transmission mechanism, evaluate its performance in different scenarios, optimize it according to the test results, deploy the optimized blockchain network to the actual environment, and establish a complete operation and maintenance system to ensure the stable operation and continuous iterative upgrade of the network.
9. A multi-network channel transmission system based on blockchain according to claim 8, characterized in that: The transmission data analysis module includes a transmission data segmentation module, a data packet encapsulation module, an intelligent trigger module, and an intelligent contract execution module: The transmission data segmentation module is used to identify the key data and non-key data of the transmission data, wherein the key data includes sensitive data and high-frequency data, assign priorities according to the importance and frequency of use of the transmission data, and dynamically adjust the transmission granularity according to the analysis of the transmission data. When the data is identified as key data, a finer segmentation granularity is adopted. On the contrary, when the data is identified as non-key data, the segmentation granularity is increased to segment the transmission data into small data packets. The data packet encapsulation module is used to encapsulate the necessary header information of the segmented data packets, and the header information includes: data packet sequence number, total number of data packets, data segment length, and checksum; The intelligent trigger module is responsible for monitoring the trigger mechanism based on time, events or conditions, further optimizing the data transmission process, and automatically submitting data packets to the blockchain network through preset time, events or conditions; The smart contract execution module is used to receive and process transmission data packets from various network channels, calculate and update transmission efficiency indicators, automatically evaluate the current data packet transmission efficiency based on the preset detection logic and threshold, identify potential performance bottlenecks and optimization space, and through the machine learning model, the smart contract evaluates the impact of different strategies on the transmission efficiency of the data packet and predicts the implementation effect of each strategy.
10. A multi-network channel transmission system based on blockchain according to claim 9, characterized in that: The data receiving module includes an error reporting and recording module, a data retransmission request module, and an exception handling module: The error report recording module is used to determine that the data packet is incomplete / wrong in format when the preliminary verification fails, and the data receiving terminal generates a data error report for the data packet transmission, and records the error information on the chain through the smart contract. When it is identified that there is an error or damage in the data segment of the data packet, the data receiving terminal uses the RS code to restore the lost or damaged data. When it cannot be restored, an error report is generated and recorded through the smart contract. When it cannot be restored, an error report is generated and recorded through the smart contract; The data retransmission request module is responsible for sending a retransmission request to the retransmission request terminal when the data packet verification fails; The exception handling module is used to analyze the characteristics of different network channels based on the exception report and the current network status, and dynamically select a suitable network channel for retransmission.