Data communication method and system of data communication network
By unifying the data into JSON format and employing AES encryption, adaptive encoding, and multipath transmission, the problems of inconsistent data formats, insufficient security, and poor network adaptability are solved, achieving efficient, secure, and reliable data transmission.
Patent Information
- Application Number
- CN202511439465.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-10
- Publication Date
- 2026-01-16
AI Technical Summary
Existing data communication methods suffer from problems such as inconsistent data formats, insufficient security, poor network adaptability, single transmission paths, and a lack of effective data verification and anomaly handling mechanisms, resulting in low data transmission efficiency, insufficient security, and poor reliability.
The data format is unified using JSON, combined with AES encryption and dynamic key mechanism, adaptive encoding and multi-path transmission, and hash verification algorithm for data integrity verification. The data is then decrypted and restored at the receiving end.
It has achieved data format standardization, improved system compatibility and security, enhanced the adaptability and reliability of data transmission, ensured data integrity and timeliness, and reduced the risk of transmission interruption.
Smart Images

Figure CN121356752A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data communication technology, specifically to a data communication method and system for a data communication network. Background Technology
[0002] With the explosive growth of data volume and the ever-increasing demands for data security and transmission efficiency, traditional data communication methods are facing numerous challenges.
[0003] On the one hand, the diversity of data formats brings great inconvenience to data transmission and processing. Different systems and applications generate data in different formats, requiring complex format conversions during data transmission. This not only increases the processing burden on the system but also easily leads to data loss or errors.
[0004] On the other hand, data security is a critical issue in data communication. During data transmission, data faces risks such as theft and tampering. Traditional encryption methods often use fixed keys; once the key is cracked, data security is severely threatened. Moreover, with the continuous upgrading of network attack methods, data encryption algorithms need to possess higher security and dynamism.
[0005] Furthermore, the uncertainty of network conditions is also a significant factor affecting the quality of data communication. Parameters such as network bandwidth and packet loss rate fluctuate with changes in the network environment. Traditional fixed encoding methods cannot adaptively adjust to network conditions, resulting in low transmission efficiency when bandwidth is sufficient and severe data loss when network conditions are poor, thus failing to guarantee reliable data transmission.
[0006] During data transmission, single-path transmission is susceptible to network failures or congestion. Once a problem occurs along the path, data transmission will be interrupted, affecting the timeliness and integrity of the data. Simultaneously, at the data receiving end, the lack of effective integrity verification and anomaly handling mechanisms makes it impossible to promptly detect and address problems that arise during transmission, potentially leading to errors or incompleteness in the data received by the user.
[0007] Therefore, a data communication method and system for a data communication network has become an urgent problem to be solved. Summary of the Invention
[0008] The purpose of this invention is to provide a data communication method and system for a data communication network, in order to solve the problems existing in the current data communication methods, such as inconsistent data formats, insufficient security, poor network adaptability, single transmission path, and lack of effective data verification and anomaly handling mechanisms, thereby improving the security, reliability and efficiency of data communication.
[0009] To solve the above-mentioned technical problems, the technical solution provided by the present invention is: a data communication method for a data communication network, comprising the following steps:
[0010] S1, Data Preprocessing
[0011] At the data sending end, the data to be sent is standardized by converting data of different formats into JSON data format; the standardized data is encrypted using the AES algorithm to generate encrypted data packets; and a dynamic key mechanism is used to generate encryption keys based on the importance of the data and the transmission environment.
[0012] S2, Data Encoding and Transmission
[0013] An adaptive encoding method is used to encode the encrypted data packets;
[0014] The encoded data packet is divided into multiple small data blocks, and a unique identifier and sequence number are added to each data block;
[0015] The segmented data blocks are sent to the data receiving end through the data communication network. During the transmission process, multi-path transmission is adopted, and the data blocks are sent using multiple available paths in the network. When a path fails or becomes congested, it automatically switches to other available paths.
[0016] S3, Data Reception and Recovery
[0017] After receiving the data block, the data receiving end uses a verification algorithm to check the integrity of the data block and verify whether the data block has been damaged during transmission.
[0018] For data blocks that pass verification, sort them according to their sequence numbers to restore them into complete data packets;
[0019] The recovered data packet is decrypted, and the encrypted data packet is restored to the original data using the decryption key corresponding to the sending end.
[0020] The decrypted data is restored to its original format for user use.
[0021] Furthermore, the specific method for generating encrypted data packets is as follows:
[0022] Let E be the encryption function, K be the encryption key, and D be the plaintext data. json If the encrypted data packet is C, then the encrypted data packet is represented as:
[0023] C = C(K,D) json ).
[0024] Furthermore, the method for generating the encryption key is as follows: Based on the importance I of the data and the transmission environment S, the key K is dynamically generated using a hash function H: K = H(I, S, T);
[0025] Where I∈[1,5], the larger the number, the higher the importance; S is obtained through a comprehensive evaluation of the network's security indicators; T is the timestamp;
[0026] Key update: When data transmission reaches a certain number of times N or the time interval reaches Δt, the key is regenerated to enhance data security.
[0027] Furthermore, the adaptive coding method dynamically selects the coding algorithm based on network conditions, as detailed below:
[0028] When network bandwidth is sufficient and packet loss rate is low, use efficient encoding algorithms to improve data transmission efficiency;
[0029] When network conditions are poor, a coding algorithm with strong fault tolerance is used to ensure that data can still be correctly recovered even if some data packets are lost.
[0030] Furthermore, the dynamic selection coding algorithm is based on the following:
[0031] Define network bandwidth as B, in bps; packet loss rate as L, ranging from [0,1]; set a threshold B. th For the critical value of sufficient bandwidth, L th This is the critical value for a low packet loss rate;
[0032] When B≥B th And L≤L th When Huffman coding is used, its compression ratio is r1; the length of the data before encoding is L1, and the length of the data after encoding is L2, then: L2=L1×r1;
[0033] When B th or L>L th When using RS encoding, let the number of redundant symbols added be n. r The original number of data symbols is n d The total number of symbols after encoding is: n total =n d +n r ; when the number of lost items does not exceed n r / 2 Recover the original data in the case of a symbol.
[0034] Further, in step S2, the encoded data packet is divided into multiple small data blocks. The encoded data packet is P, and the set of divided data blocks is {B1, B2, ..., B}. n}; Each data block Bi The size is s i ,satisfy Where 1≤i≤n; |P| represents the length of data packet P.
[0035] Furthermore, the specific method for using multipath transmission is as follows: Let the set of available paths in the network be {Path1, Path2, ..., Path...} m}, data block B i Select Path j The probability is p ij ,satisfy Where 1≤j≤m;
[0036] Data blocks are sent using multiple available paths in the network. When a certain path... k In case of failure or congestion, automatically switch to another available path; Data block B i Reselect Path l The probability is adjusted to: p il =p il +Δp,p ik =p ik -Δp; where Δp is the path switching probability adjustment value;
[0037] The fault or congestion is detected by monitoring the path delay D. k and throughput T k Determine if D k >D th or T k <T th When a fault or congestion is considered to have occurred, D th and T th To set a threshold.
[0038] Furthermore, the specific method for performing integrity verification on data blocks is as follows:
[0039] A hash verification algorithm is used to calculate the hash value H of the received data block. received The sender has calculated and included the original hash value H when sending the data block. original By comparing H received and H original Verify whether the data block has been corrupted during transmission, i.e.:
[0040] If H received =H original If the data block is intact, it is complete; otherwise, it is corrupted.
[0041] Furthermore, in step S3, for data blocks that pass verification, their sequence numbers SN are used to... iIf the data is sorted using the Sort function, it will be restored to a complete data packet P. recovered The process is as follows: P recovered =Sort({B i |SN i});
[0042] The recovered data packet is decrypted, and the encrypted data packet is restored to the original data using the decryption key K corresponding to the sender; the decryption process is as follows: D recovered =D(K,P) recovered ), where D is the decryption function;
[0043] The decrypted data undergoes format restoration, converting data from a specific format back to its original format; the format restoration function is f. restore Raw data D for user use final For: D final =f restore (D recovered ).
[0044] The present invention also provides a data communication system for a data communication network, used to implement the above method, comprising:
[0045] Data transmission module: used for data preprocessing, data encoding and transmission;
[0046] Data receiving module: used for data reception and recovery;
[0047] Dynamic key generation module: used to generate encryption keys based on the importance of the data and the transmission environment;
[0048] Adaptive coding module: used to dynamically select the coding algorithm based on network conditions;
[0049] Multipath transmission management module: Used to manage multipath transmission, realize path switching and load balancing;
[0050] Integrity verification module: used to perform integrity verification on received data blocks;
[0051] Data recovery module: used to sort, decrypt, and restore the format of data blocks that have passed verification.
[0052] The advantages of this invention compared to the prior art are:
[0053] This invention solves the problems caused by the diversity of data formats by uniformly converting data of different formats into JSON data format, simplifies the data processing process, and improves the system's compatibility and scalability.
[0054] This invention uses the AES algorithm to encrypt data and combines it with a dynamic key mechanism to generate encryption keys based on the importance of the data and the transmission environment, and updates the keys regularly, which greatly enhances data security and effectively prevents data from being stolen and tampered with.
[0055] This invention employs an adaptive coding method that can dynamically select the coding algorithm based on network conditions. This improves transmission efficiency when network bandwidth is sufficient and ensures reliable data transmission when network conditions are poor, thereby enhancing the adaptability and efficiency of data transmission.
[0056] Multipath transmission technology uses multiple available paths in the network to send data blocks. When a path fails or becomes congested, it automatically switches to other available paths, which improves the stability and reliability of data transmission and reduces the risk of data transmission interruption.
[0057] This invention uses a hash verification algorithm to perform integrity verification on data blocks, which can promptly detect whether data blocks have been damaged during transmission, thus ensuring data integrity. Attached Figure Description
[0058] Figure 1 This is a flowchart of a data communication method for a data communication network according to the present invention.
[0059] Figure 2 This is a system block diagram of a data communication system for a data communication network according to the present invention. Detailed Implementation
[0060] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
[0061] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.
[0062] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0063] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0064] The following detailed description, in conjunction with the accompanying drawings, illustrates a data communication method and system for a data communication network according to the present invention.
[0065] Combined with appendix Figure 1-2This invention will be described in detail below.
[0066] A data communication method and system for a data communication network includes the following steps:
[0067] S1, Data Preprocessing
[0068] On the data sending end, the data to be sent is standardized by converting data of different formats into JSON data format. This step simplifies the data processing flow, improves the system's compatibility and scalability, and enables more efficient data interaction between different systems.
[0069] The standardized data is then encrypted using the AES algorithm to generate an encrypted data packet. The specific method is as follows:
[0070] The encryption function is E, the encryption key is K, and the plaintext data is D. json If the encrypted data packet is C, then the encryption process is represented as:
[0071] C = E(K,D) json The AES algorithm has high security and encryption efficiency, and can effectively protect the security of data during transmission.
[0072] A dynamic key mechanism is employed to generate encryption keys based on the importance of the data and the transmission environment. The encryption key generation method is as follows:
[0073] Based on the importance I of the data and the transmission environment S, a key K is dynamically generated using a hash function H: K = H(I,S,T); where I ∈ [1,5], and a larger number indicates higher importance; S is obtained through comprehensive evaluation using network security indicators; and T is a timestamp to ensure dynamic key updates. Simultaneously, a key update mechanism is introduced: when data transmission reaches a certain number of times N or the time interval reaches Δt, the key is regenerated to enhance data security.
[0074] S2, Data Encoding and Transmission
[0075] An adaptive encoding method is used to encode the encrypted data packets. The encoding algorithm is dynamically selected based on network conditions. When network bandwidth is sufficient and the packet loss rate is low, an efficient encoding algorithm (such as Huffman coding) is used to improve data transmission efficiency; when network conditions are poor, an encoding algorithm with strong fault tolerance (such as RS coding) is used to ensure that data can still be correctly recovered even if some data packets are lost.
[0076] Define network bandwidth as B, in bps; packet loss rate as L, ranging from [0,1]; set a threshold B. th For the critical value of sufficient bandwidth, Lth This is the critical value for a low packet loss rate;
[0077] When B≥B th And L≤L th When Huffman coding is used, its compression ratio is r1; the length of the data before encoding is L1, and the length of the data after encoding is L2, then: L2=L1×r1;
[0078] When B th or L>L th At this time, RS encoding is used. RS encoding improves the fault tolerance of data by adding redundant information. Let the number of added redundant symbols be n. r The original number of data symbols is n d The total number of symbols after encoding is: n total =n d +n r It is permissible to lose no more than n r / 2 Recover the original data in the case of a symbol.
[0079] The encoded data packet is divided into multiple smaller data blocks. The encoded data packet is denoted as P, and the set of the divided data blocks is {B1, B2, ..., B}. n}; Each data block B i The size is s i ,satisfy Where 1≤i≤n; |P| represents the length of data packet P;
[0080] Add a unique identifier ID to each data block i and serial number SN i Identifiers are used to distinguish different data packets, and sequence numbers are used to ensure the correct ordering of data blocks.
[0081] The segmented data blocks are sent to the data receiving end through a data communication network; during the transmission process, multipath transmission is adopted, utilizing multiple available paths in the network to send the data blocks.
[0082] Let the set of available paths in the network be {Path1, Path2, ..., Path...} m}, data block B i Select Path j The probability is p ij ,satisfy Where 1≤j≤m;
[0083] When a certain path k In case of failure or congestion, automatically switch to another available path; Data block B i Reselect Path l The probability is adjusted to: pil =p il +Δp,p ik =p ik -Δp; where Δp is the path switching probability adjustment value;
[0084] Faults or congestion are detected by monitoring path delay D. k and throughput T k Determine if D k >D th or T k <T th When a fault or congestion is considered to have occurred, D th and T th To set a threshold.
[0085] S3, Data Reception and Recovery
[0086] After receiving the data block, the data receiving end first performs an integrity check on the data block, using a check algorithm to verify whether the data block has been damaged during transmission.
[0087] A hash verification algorithm is used to calculate the hash value H of the received data block. received The sender has calculated and included the original hash value H when sending the data block. original By comparing H received and H original Verify whether the data block was corrupted during transmission, i.e., if H received =H original If the data block is intact, it is complete; otherwise, it is corrupted.
[0088] For data blocks that pass verification, their sequence number SN is used as the basis for determination. i If the data is sorted using the Sort function, it will be restored to a complete data packet P. recovered The process is as follows: P recovered =Sort({B i |SN i});
[0089] The recovered data packet is decrypted, and the encrypted data packet is restored to the original data using the decryption key K corresponding to the sender; the decryption process is as follows: D recovered =D(K,P) recovered ), where D is the decryption function;
[0090] Finally, the decrypted data is format-restored, converting data in a specific format back to its original format; the format-restore function is f. restore Raw data D for user use final For: D final =f restore (D recovered );
[0091] An exception handling mechanism is incorporated into the entire data reception and recovery process; when an exception occurs, such as data block loss, inability to decrypt, or format restoration failure, an error report is sent to the sender, requesting retransmission of the relevant data.
[0092] The specific methods for exception handling are as follows:
[0093] 1. Data block loss detection and handling
[0094] The receiving end maintains a timeout timer for each data block, starting from when the acknowledgment request for the data block is sent.
[0095] If within the preset timeout period (T) timeout No data block B received within ) i If it is missing, then it is marked as lost.
[0096] The timeout period can be dynamically adjusted based on the network round-trip time (RTT):
[0097] T timeout =α·RTT;
[0098] Where α is an adjustment coefficient, which can be selected as 1.5.
[0099] 2. Handling decryption failures
[0100] Calculate the hash value H of the decrypted data. decrypted , and the original hash value H attached to the sender original contrast;
[0101] If H decrypted ≠H original If so, it is marked as decryption failed.
[0102] Generate an error report, including the ID of the data block that failed to decrypt, the key version, and the error type.
[0103] 3. Handling format restoration failures
[0104] Perform format validation (such as JSON syntax check and field integrity check) on the restored data;
[0105] If the validation fails, record the reason for the failure (e.g., missing required fields).
[0106] Generate an error report, which includes the data block ID that failed to restore the format, the expected format type, and the error description.
[0107] 4. Comprehensive Anomaly Handling Process
[0108] Error reporting priority: data block loss > decryption failure > format restoration failure.
[0109] To avoid infinite retransmissions, set a maximum number of retries; after the number of retries is exceeded, terminate the transmission and report to higher layers.
[0110] To implement the above method, the present invention also provides a data communication system for a data communication network, comprising:
[0111] Data transmission module: used for data preprocessing, data encoding and transmission;
[0112] Data receiving module: used for data reception and recovery;
[0113] Dynamic key generation module: used to generate encryption keys based on the importance of the data and the transmission environment;
[0114] Adaptive coding module: used to dynamically select the coding algorithm based on network conditions;
[0115] Multipath transmission management module: Used to manage multipath transmission, realize path switching and load balancing;
[0116] Integrity verification module: used to perform integrity verification on received data blocks;
[0117] Data recovery module: used to sort, decrypt, and restore the format of data blocks that have passed verification.
[0118] The dynamic key generation module, adaptive encoding module, multipath transmission management module, integrity verification module, and data recovery module are connected to the data sending module and data receiving module through a data communication network to realize dynamic encryption, encoding, transmission, and recovery of data.
[0119] The specific implementation process of the data communication method and system of the data communication network of the present invention is as follows:
[0120] Data sender: Sends JSON data containing user order information, with a data importance level of I=3 (medium importance).
[0121] Transmission environment: Network security index S = 0.7 (obtained through real-time monitoring, ranging from 0 to 1, with higher values indicating greater security).
[0122] Timestamp: T = 1725678901 (Unix timestamp).
[0123] Network conditions: Bandwidth B = 10Mbps, packet loss rate L = 0.02.
[0124] Threshold setting: B th =8Mbps, L th =0.05.
[0125] Data block segmentation: The encoded data packet has a length |P| = 1024 bytes, which is divided into n = 4 data blocks, each with a size s. i = 256 bytes.
[0126] Multipath transmission: There are 3 available paths in the network {Path1, Path2, Path3}, each with an initial selection probability of p. i1 =p i2 =p i3 =31.
[0127] Anomaly handling: Timeout adjustment factor α = 1.5, network round-trip time RTT = 50ms.
[0128] Step S1: Data Preprocessing
[0129] (1) Format standardization
[0130] Convert the raw data to JSON format;
[0131] (2) Dynamic Key Generation
[0132] Generate a key using a hash function H (such as SHA-256): K = H(I,S,T) = H(3,0.7,1725678901);
[0133] The hash result is: K = 0x2a7d2c02a9e6f5a8b5e7d4c3b2a1f0e9 (16-byte AES key);
[0134] (3) Data encryption
[0135] JSON data is encrypted using the AES algorithm. json :
[0136] C = E(K,D) json );
[0137] Encrypted data packet length: |C| = 1056 bytes (padding may be added due to AES encryption).
[0138] Step S2: Data Encoding and Transmission
[0139] (1) Adaptive coding
[0140] Network bandwidth: B = 10Mbps ≥ B th =8Mbps;
[0141] Packet loss rate: L = 0.02 ≤ L th =0.05;
[0142] Choosing Huffman coding, with a compression ratio of r1 = 0.8, the encoded result is:
[0143] L2 = L1 × r1 = 1056 × 0.8 = 844.8 bytes (rounded up to 845 bytes);
[0144] (2) Data block partitioning
[0145] The encoded data packet P (845 bytes) is divided into 4 data blocks:
[0146] {B1,B2,B3,B4},s i = 256 bytes (B4 = 845 - 3 × 256 = 117 bytes);
[0147] Add an identifier ID to each data block i and serial number SN i :
[0148] B1 = {ID1, SN1 = 1, data = 256 bytes}, ..., B4 = {ID4, SN4 = 4, data = 117 bytes};
[0149] (3) Multipath transmission
[0150] Initial path selection probability:
[0151] For Path1, congestion occurs (delay D1 = 60ms > D). th =50ms), Adjustment probability:
[0152]
[0153] Data block B1 reselects path Path2 (probability p) 12 =0.383).
[0154] Step S3: Data Reception and Recovery
[0155] (1) Integrity verification
[0156] The receiver calculates the hash value H of B1. received , and the H attached to the sending end original contrast:
[0157] If H received =H original If so, the data block is complete.
[0158] (2) Data sorting and decryption
[0159] Data blocks sorted by sequence number: P recovered =Sort({B1,B2,B3,B4})=P;
[0160] Decrypt using key K: D recovered=D(K,P) recovered );
[0161] (3) Format restoration
[0162] Convert the decrypted JSON data back to its original format.
[0163] The present invention and its embodiments have been described above. This description is not restrictive, and the accompanying drawings are only one embodiment of the present invention; the actual structure is not limited thereto. In conclusion, if those skilled in the art are inspired by this description and design similar structures and embodiments without departing from the spirit of the invention, such designs should fall within the protection scope of the present invention.
Claims
1. A data communication method of a data communication network, characterized by, The method comprises the following steps: S1, data preprocessing At the data sending end, the data to be sent is standardized in format, and data in different formats is uniformly converted into JSON data format; the standardized data is encrypted by using an AES algorithm to generate an encrypted data packet; and an encryption key is generated according to the importance of the data and the transmission environment by using a dynamic key mechanism; S2, data encoding and transmission The encrypted data packet is encoded by using an adaptive encoding mode; The encoded data packet is divided into multiple small data blocks, and a unique identifier and a serial number are added to each data block; The divided data blocks are sent to the data receiving end through a data communication network; In the transmission process, multi-path transmission is adopted, and the data blocks are sent by using multiple available paths in the network; when a fault or congestion occurs in a certain path, the system automatically switches to other available paths; S3, data receiving and recovery After the data receiving end receives the data blocks, the data blocks are subjected to integrity checking by using a checking algorithm to verify whether the data blocks are damaged in the transmission process; For the data blocks that pass the checking, the data blocks are sorted according to the serial numbers and recovered into complete data packets; The recovered data packets are subjected to decryption processing, and the encrypted data packets are restored into original data by using a decryption key corresponding to the sending end; The decrypted data is subjected to format restoration, and the data in a specific format is converted back to the original format for user use.
2. A data communication method of a data communication network according to claim 1, characterized in that: The specific method for generating the encrypted data packet is as follows: Define the encryption function as E, the encryption key as K, and the plaintext data as D json The encrypted data packet is C, and the encrypted data packet is represented as: C = E(K, D json ).
3. A data communication method of a data communication network according to claim 2, characterized in that: The encryption key is generated by using a hash function H according to the importance I of the data and the transmission environment S: K = H (I, S, T); wherein I ∈ [1, 5], and the larger the number, the higher the importance; S is obtained by comprehensively evaluating the security index of the network; and T is a time stamp.
4. A data communication method of a data communication network according to claim 3, characterized in that: The adaptive encoding mode is to dynamically select an encoding algorithm according to the network status, and the specific content is as follows: When the network bandwidth is sufficient and the packet loss rate is low, an efficient encoding algorithm is used to improve the data transmission efficiency; When the network status is poor, an encoding algorithm with strong fault tolerance is used to ensure that the data can be correctly recovered in the case of partial data packet loss.
5. A data communication method of a data communication network according to claim 4, characterized in that: The basis for dynamically selecting the encoding algorithm is as follows: Define the network bandwidth as B, the unit is: bps; the packet loss rate is L, the value range is [0, 1]; Set threshold B th The critical value of sufficient bandwidth, L th The critical value of lower packet loss rate; When B≥B th and L≤L th , Huffman coding is adopted, the encoding compression rate is r1; the data length before encoding is L1, the data length after encoding is L2, then: L2=L1×r1; When B < B th or L > L th , RS encoding is used, let the number of added redundant symbols be n r , the number of original data symbols be n d , then the total number of encoded symbols: n total = n d + n r ; the original data is recovered in the case of losing no more than n r / 2 symbols.
6. A data communication method of a data communication network according to claim 5, characterized in that: In step S2, the encoded data packet P is divided into a plurality of small data blocks, and the set of the divided data blocks is {B1, B2, …, Bn}. n The size of each data block B i is s i , satisfying wherein 1≤i≤n; |P| represents the length of the data packet P.
7. A data communication method of a data communication network according to claim 6, characterized in that: The specific method for using multipath transmission is as follows: Let the set of available paths in the network be {Path1, Path2, ..., Path...} m }, data block B i Select Path j The probability is p ij ,satisfy Where 1≤j≤m; The data block is sent by using multiple available paths in the network, when a path Path k fails or is congested, the system automatically switches to other available paths; the data block B i reselects the path Pathl with the probability adjusted as: p il = p il + Δp, p ik = p ik - Δp; wherein, Δp is the path switching probability adjustment value. said failure or congestion by monitoring the delay D of the path k and the throughput T k If D k >D th or T k <T th a failure or congestion is assumed, D th and T th are set thresholds.
8. A data communication method of a data communication network according to claim 7, characterized in that: The specific method for integrity checking of the data blocks is as follows: A hash check algorithm is used to calculate the hash value H of the received data block received The sender has calculated and attached the original hash value H when sending the data block original The data block is verified for damage during transmission by comparing H received and H original , i.e. If H received = H original , then the data block is intact, otherwise the data block is corrupted.
9. A data communication method of a data communication network according to claim 8, characterized in that: In step S3, for the data block that passes the check, according to its sequence number SN i Sort, the process of restoring into a complete data packet P recovered is: P reconered = Sort({B i | SN i}) The decrypted data packet is decrypted using a decryption key K corresponding to the sending end to restore the original data. The decryption process is as follows: D recovered = D(K, P recovered ), wherein D is a decryption function. The decrypted data is format restored to convert the data in a specific format back to the original format; the format restoration function is f restore The original data D final used by the user is: D final = f restore (D recovered ).
10. A data communication system of a data communication network for implementing the data communication method of the data communication network according to any one of claims 1 to 9, characterized in that, It comprises: a data sending module for data preprocessing, data encoding and transmission; a data receiving module for data receiving and recovery; a dynamic key generation module for generating an encryption key according to the importance of the data and the transmission environment; an adaptive encoding module for dynamically selecting an encoding algorithm according to the network status; a multi-path transmission management module for managing multi-path transmission, realizing path switching and load balancing; an integrity checking module for integrity checking of the received data blocks; a data recovery module for sorting, decryption and format restoration of the data blocks that pass the checking.