Information transmission method, device and storage medium
By analyzing real-time network bandwidth data and comparing it with historical data, adjusting the data packet capacity and sending priority, and combining compression strategies and error detection to optimize the data transmission process, the problem of insufficient flexibility of traditional information transmission technology when the network environment changes is solved, and the data transmission efficiency and reliability are improved.
Patent Information
- Application Number
- CN202411182720.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2044-08-27
AI Technical Summary
Traditional information transmission technology lacks flexibility when faced with rapidly changing network environments and diverse application requirements, resulting in uneven bandwidth utilization, data transmission delays, and suboptimal network resource allocation, increasing the risk of data corruption and loss, and affecting transmission efficiency and reliability.
By analyzing real-time network bandwidth data and comparing it with historical data, network performance is predicted, data packet capacity and sending priority are adjusted, appropriate compression strategies are selected based on data packet type and content type, and error detection and correction are performed to optimize the data transmission process.
It improves network utilization, reduces data transmission time, enhances the security and integrity of data transmission, reduces delays and errors, and improves the quality of network services and user experience.
Smart Images

Figure CN119094369B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to an information transmission method, device and storage medium. Background Art
[0002] The field of data transmission technology aims to achieve efficient and secure data transmission between devices through wired and wireless means, including signal modulation, coding, transmission protocols, error detection and correction mechanisms. Data integrity, security and transmission speed are key factors. In order to match differentiated network environments and application requirements, data transmission technologies include telecommunication networks, fiber optic communications, and satellite communications, supporting data synchronization from simple text messages to complex video streams and large-scale data centers.
[0003] Among them, the information transmission method aims to transmit data between information systems through technologies and technology combinations, improve the efficiency and reliability of data transmission, ensure the security of information during the transmission process, and optimize the transmission process to adapt to a variety of application scenarios and technical requirements, including data compression technology to shorten the transmission time by reducing the amount of data to be transmitted, and data encryption technology to ensure that data is not accessed or tampered with by unauthorized access during transmission.
[0004] Traditional information transmission technology lacks flexibility when dealing with rapidly changing network environments and diverse application requirements. When data volumes are large and network conditions are complex, traditional transmission strategies cannot fully adapt to fluctuations in network loads, resulting in uneven bandwidth utilization and data transmission delays. A consistent processing strategy is often adopted for data compression, ignoring differentiated data types and urgency requirements, leading to delays in critical data and non-optimized network resource allocation. The lack of real-time and dynamic processing mechanisms increases the risk of data being damaged or lost during transmission, affecting overall transmission efficiency and network reliability in data transmission scenarios with high speed and security requirements. Summary of the Invention
[0005] The purpose of the present invention is to provide an information transmission method, device and storage medium, which effectively reduce data transmission time and improve network utilization.
[0006] The purpose of the present invention can be achieved by the following technical solutions:
[0007] An information transmission method, comprising:
[0008] Step S1: Based on real-time network bandwidth data, analyze network traffic data and calculate bandwidth utilization, compare it with historical data transmission records, analyze changes in network performance parameters, and obtain a predicted value of information transmission efficiency;
[0009] Step S2: Based on the predicted value of the information transmission efficiency and in combination with the real-time network load, the capacity division and transmission priority of the data packet are adjusted to generate a data packet transmission configuration;
[0010] Step S3: Based on the data packet transmission configuration and in combination with the real-time network bandwidth, the data packet transmission time is calculated, and the compression level of the data packet is determined in combination with the time sensitivity and content type of the data packet;
[0011] Step S4: Based on the compression hierarchical calculation results, identify and match compression algorithms for multiple data packet types, perform data compression processing based on the priority, size, content type, and data characteristics of the data packet, and generate hierarchically compressed data packets;
[0012] Step S5: Based on the hierarchically compressed data packets, error detection and correction are performed during the transmission process, and data integrity verification is performed on the data packets that have completed transmission to generate an information transmission verification result.
[0013] The step S1 comprises:
[0014] Step S101: Based on the real-time network bandwidth data, obtain the bandwidth utilization rate during the sampling period:
[0015]
[0016] Where: U is the broadband utilization rate, p i is the number of packets in the ith second, s i is the average packet size in the i-th second, B is the network bandwidth, and n is the duration of the sampling period;
[0017] Step S102: Compare the obtained broadband utilization rate with the broadband utilization rate of the same period in history, and obtain the deviation between the current broadband utilization rate and the historical average level as the utilization rate deviation:
[0018]
[0019] Where: Z is the utilization rate deviation, μ is the arithmetic mean of the broadband utilization rate during the same period in history, and σ is the standard deviation of the broadband utilization rate during the same period in history;
[0020] Step S103: Predicting the load trend based on the usage rate deviation, and predicting the network delay based on the obtained load trend, and combining the current load rate to obtain a predicted value of information transmission efficiency:
[0021]
[0022] Where: E is the information transmission efficiency, α is the adjustment coefficient, D is the network delay, and L is the load rate.
[0023] The step S2 comprises:
[0024] Step S201: The real-time monitoring system continuously tracks network load data and generates a real-time quality score of the network:
[0025]
[0026] Where: Q is the real-time quality score, is the average network delay, P is the data packet loss rate, w1, w2, w3 are weight coefficients;
[0027] Step S202: Monitor the available network bandwidth in real time and obtain data packet segmentation results based on the size of the data packet and the service type, where the segmentation capacity of each data packet is:
[0028]
[0029] Where: C is the split capacity of each data packet, N is the number of data packets transmitted simultaneously, and S is the original size of a single data packet;
[0030] Step S203: Based on the real-time network load and the real-time quality score of the network, the impact of each data packet on the network performance is obtained, the sending priority of each data packet is set, and a data packet transmission configuration is generated, wherein the sending priority of each data packet is:
[0031] P i =v1·E i +v2·F i
[0032] Where: P i is the priority score of data packet i, E i is the urgency of data packet i, F i is the impact of data packet i on network performance, v1 and v2 are weights.
[0033] The step S3 comprises:
[0034] Step S301: Based on the data packet transmission configuration, the transmission time is estimated according to the size of multiple data packets and the current real-time network bandwidth to obtain the expected transmission time of each data packet:
[0035]
[0036] Where: T i is the expected transmission time of data packet i, C i is the size of data packet i;
[0037] Step S302: Based on the estimated transmission time of each data packet, combined with the priority and information type of the data packet, a time sensitivity score of each data packet is obtained:
[0038] S i =k1·P i +k2·T max,i
[0039] Where: S i is the time sensitivity score of packet i, T max,i is the maximum tolerated transmission time of data packet i, k1 and k2 are weights;
[0040] Step S303: Based on the time sensitivity score of each data packet, an information entropy algorithm is used to evaluate the data compression requirements and determine the compression level of the data packet in combination with the content type of the data packet and the network conditions.
[0041] The mathematical expression of the information entropy is:
[0042]
[0043] Where: H(X) is information entropy, P(x i ) is the data packet content type x i The probability, W weight, max(P(x i )) is the maximum value among the probabilities of the data packet content types, X is a random variable of the data packet content, representing the set of different possible content types of the data packet, and n1 is the number of data packet content types.
[0044] In the process of determining the compression level of the data packet, when the information entropy of the data is high, a higher level compression method is adopted to reduce the size of the data.
[0045] The step S4 comprises:
[0046] Step S401: Determine a data packet compression algorithm based on the data packet compression level and data packet type;
[0047] Step S402: Based on the hierarchical compression algorithm list, the priority, size, and content type of the data packet are analyzed to identify the characteristics of various transmission information and obtain the transmission information type analysis result;
[0048] Step S403: Based on the results of the transmission information type analysis, the data packet is compressed, the compression time and efficiency are calculated and recorded, and a hierarchically compressed data packet is generated. The compression efficiency is:
[0049]
[0050] Where: Z i is the compression efficiency of data packet i, V i is the volume before compression, V i ′ is the volume after compression, t iis the compression time of data packet i.
[0051] The step S5 comprises:
[0052] Step S501: Based on hierarchically compressed data packets, real-time network bandwidth monitoring is performed to record rate and load changes in the data stream, identify and analyze the impact of abnormal fluctuations on information transmission integrity, and obtain real-time transmission monitoring data;
[0053] Step S502: Based on the real-time transmission monitoring data, analyze the data flow anomalies and identify the error points, evaluate and record the occurrence frequency and type of various error points, and generate an error frequency analysis record;
[0054] Step S503: Based on the error frequency analysis record, integrity check is performed on the transmitted data, and data transmission parameters are adjusted to optimize the continuity and integrity of data transmission, thereby generating an information transmission verification result.
[0055] An information transmission device includes a memory, a processor, and a program stored in the memory, wherein the processor implements the above method when executing the program.
[0056] A storage medium stores a program, which implements the above method when executed.
[0057] Compared with the existing technology, the present invention has the following beneficial effects: by analyzing real-time network bandwidth data and comparing it with historical data, the real-time evaluation capability of bandwidth utilization is improved; by combining the adjustment of data packet capacity and sending priority to match network load changes, the management and scheduling of data streams are optimized, and the risk of network congestion is reduced; by selecting a matching compression strategy according to the data packet type and content, the data transmission time is effectively reduced, the network utilization rate is improved; by matching the compression algorithm and performing data integrity verification, the security and integrity of data transmission are improved, the risk of data corruption is reduced, the efficiency and reliability of data transmission are improved, the delays and errors in the transmission process are reduced, and the overall network service quality and user experience are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 Schematic diagram of the working process of an embodiment of the present invention;
[0059] Figure 2 This is a detailed flowchart of step S1 of an embodiment of the present invention;
[0060] Figure 3 This is a detailed flow chart of step S2 of an embodiment of the present invention;
[0061] Figure 4 This is a detailed flowchart of step S3 of an embodiment of the present invention;
[0062] Figure 5 This is a detailed flow chart of step S4 of an embodiment of the present invention;
[0063] Figure 6 This is a detailed flow chart of step S5 of an embodiment of the present invention;
[0064] Figure 7 4 is a system flow chart of an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0066] See also Figure 1 The present invention provides a technical solution, an information transmission method, comprising the following steps:
[0067] Step S1: Based on real-time network bandwidth data, analyze network traffic data and calculate bandwidth utilization. By comparing with historical data transmission records, analyze changes in network performance parameters and obtain transmission efficiency prediction information.
[0068] Step S2: Based on the transmission efficiency prediction information and in combination with the real-time network load, the data packet capacity and network bandwidth are analyzed to adjust the data packet capacity and configure the sending priority, thereby generating a data packet transmission configuration;
[0069] Step S3: Based on the data packet transmission configuration and in combination with the real-time network bandwidth, the data packet transmission time is calculated, the time sensitivity and content type of the data packet are analyzed, and the compression level of the data packet is calculated to obtain the compression classification calculation result;
[0070] Step S4: Based on the compression classification calculation results, identify and match the compression algorithms of multiple data packet types, combine the priority, size, content type, and data characteristics of the data packet, perform data compression processing, and generate a hierarchically compressed data packet;
[0071] Step S5: Based on the hierarchically compressed data packets, error detection and correction are performed during the transmission process, and data integrity verification is performed on the data packets that have completed transmission to generate information transmission verification results.
[0072] Transmission efficiency prediction information includes bandwidth fluctuation index, expected data delay and load peak index; data packet transmission configuration includes adjusted data packet size, data priority sequence and expected transmission time; compression grading calculation results include data compression ratio, data compression time and data compression efficiency evaluation; graded compression data packets specifically include compression algorithm type, data packet compression volume and data packet compression efficiency; information transmission verification results include error detection rate, number of transmission error corrections and data integrity status.
[0073] See also Figure 2 Based on real-time network bandwidth data, we analyze network traffic data and calculate bandwidth usage. By comparing it with historical data transmission records, we analyze changes in network performance parameters and obtain transmission efficiency prediction information. The specific steps are as follows:
[0074] S101: Based on real-time network bandwidth data, analyze current network traffic data and calculate bandwidth usage, and obtain the bandwidth usage analysis result as follows:
[0075] In sub-step S101, based on real-time network bandwidth data, the number and size of data packets per second are counted, the data flow per second is calculated, and the flow is divided by the maximum bandwidth of the network interface to calculate the bandwidth utilization, including the overall bandwidth utilization. Differentiated services are analyzed, including the proportion of bandwidth occupied by video streaming and email transmission. The formula is: Among them, U is the bandwidth utilization, p i is the number of packets in the ith second, s i is the average packet size in the i-th second, B is the network bandwidth, and the bandwidth utilization analysis results are obtained.
[0076] S102: Based on the bandwidth usage analysis result, by comparing and analyzing with historical data transmission records, analyzing and identifying the change trend of network bandwidth usage, and obtaining the load trend calculation result, the specific process is as follows;
[0077] In sub-step S102, based on the bandwidth usage analysis results, the current bandwidth usage is compared with the historical data of the same period in the past. The average and standard deviation of the bandwidth usage at the same time point in the past seven days are calculated. The Z-score method is used to determine whether there is a significant change in the current bandwidth usage, which is used as the usage deviation. The formula is: Where Z is the Z score, i.e., usage deviation, which indicates the deviation between the current bandwidth usage and the historical average bandwidth usage. U is the current bandwidth usage, μ is the historical average bandwidth usage, and σ is the standard deviation of the historical bandwidth usage. This method analyzes and identifies the changing trend of network bandwidth usage to obtain the load trend calculation result.
[0078] S103: Based on the load trend calculation results, the network delay and load data are evaluated, and the information transmission efficiency of the network is analyzed and predicted. The specific process of generating transmission efficiency prediction information is as follows:
[0079] In sub-step S103, based on the load trend calculation results, the network delay data and current load data are evaluated, and a prediction model is built using historical delay data. The upcoming network delay is predicted using the weighted moving average method. Combined with the current network load trend, an evaluation model is built to predict the network's information transmission efficiency. The formula is: Where E is the predicted information transmission efficiency, L is the current network load rate, D is the predicted network delay, and α is the adjustment coefficient, which reflects the impact of increased delay on information transmission efficiency and generates transmission efficiency prediction information.
[0080] See also Figure 3 Based on the transmission efficiency prediction information and the real-time network load, the data packet capacity and network bandwidth are analyzed to adjust the data packet capacity and configure the sending priority. The steps for generating the data packet transmission configuration are as follows:
[0081] S201: Based on the transmission efficiency prediction information, monitor the real-time network load data and evaluate the network quality to obtain the network status evaluation result. The specific process is as follows:
[0082] In sub-step S201, based on the transmission efficiency prediction information, a real-time monitoring system is used to continuously track network load data, including data inflow and outflow rates, peak load conditions, and service quality indicators, and calculate the real-time quality score of the network, taking into account delay, packet loss rate, and bandwidth utilization. The formula is: Where Q is the network quality score, is the average delay time, is the measured value, P is the data packet loss rate, U is the bandwidth utilization rate, w1 is the weight coefficient of the average delay time, w2 is the weight coefficient of the data packet loss rate, and w3 is the weight coefficient of the bandwidth utilization rate, which reflects the importance of network quality assessment. The network status assessment result is obtained, among which the network quality score and the status assessment result are not exactly the same, but the "network quality score Q" is a quantitative expression of the "network status assessment result".
[0083] S202: Based on the network status evaluation result, the data packet capacity and available network bandwidth are analyzed, and capacity segmentation strategies are matched for various data packets to obtain the data segmentation calculation result. The specific process is as follows;
[0084] In sub-step S202, based on the network status evaluation results, the network available bandwidth is monitored in real time, and capacity is divided according to the size of the data packet and the service type, including real-time video and file download, to ensure the optimal configuration of data packet transmission. The formula is Among them, C is the segmentation capacity of each data packet, B is the available bandwidth, N is the number of data packets transmitted simultaneously, and S is the original size of a single data packet. It ensures that the transmission of the packet does not exceed the network capacity and cause congestion, and obtains the data segmentation calculation result.
[0085] S203: Based on the data segmentation calculation result, combined with the real-time network load and network quality, the sending priority of the segmented data packets is adjusted, and the process of generating the data packet transmission configuration is specifically as follows;
[0086] In sub-step S203, based on the data segmentation calculation results, combined with real-time network load and network quality data, the sending priority of multiple data packets is adjusted, including calculating the priority score of each data packet based on its urgency and impact on the overall network performance, the formula is P i =v1·E i +v2·F i , where P i is the priority score of data packet i, E i Indicates the urgency of data packet i, F i represents the impact of data packet i on network performance, v1 and v2 are adjustment coefficients used to balance the weight of urgency and performance impact and generate data packet transmission configuration. i Will be affected by C and Q.
[0087] See also Figure 4 Based on the data packet transmission configuration and the real-time network bandwidth, the data packet transmission time is calculated, the time sensitivity and content type of the data packet are analyzed, and the compression level of the data packet is calculated. The specific steps to obtain the compression classification calculation result are as follows:
[0088] S301: Based on the data packet transmission configuration, the transmission time of multiple data packets is calculated by combining the current real-time network bandwidth to obtain the data transmission time prediction information.
[0089] In sub-step S301, based on the data packet transmission configuration, the transmission time is estimated according to the size of multiple data packets and the current real-time network bandwidth. For each data packet, the estimated transmission completion time is calculated taking into account the size after segmentation and the actual available network bandwidth. The formula is: Among them, T i is the transmission time of data packet i, C i is the size of data packet i, B is the current real-time network bandwidth, and the transmission time of multiple data packets is predicted to obtain data transmission time prediction information.
[0090] S302: Analyzing the time sensitivity of multiple data packets based on the data transmission time prediction information and combining the priority and information type of the data packets to obtain the time sensitivity evaluation result is as follows:
[0091] In sub-step S302, based on the data transmission time prediction information, the time sensitivity of multiple data packets is evaluated. According to the priority and information type of the data packets, including real-time communication and batch data, the time limit and business requirements of the data packets are considered, and a scoring model is applied to determine the time sensitivity of each packet. The formula is S i =k1·P i +k2·T max,i , where S i is the time sensitivity score of packet i, P i is the priority of data packet i, T max,i is the maximum tolerated transmission time of data packet i, k1 and k2 are weight coefficients, which are used to balance the impact of priority and time limit to obtain the time sensitivity evaluation result.
[0092] S303: Based on the time sensitivity assessment result, an information entropy algorithm is used to evaluate data compression requirements in combination with the content type of the data packet and the network conditions, and the compression levels of the various data packets are calculated to obtain the compression classification calculation results.
[0093] In sub-step S303, based on the time sensitivity assessment results, combined with the content type of the data packet and the current network conditions, including text, pictures, and videos, a data compression demand assessment is performed. According to the compressibility of the data packet content and the network bandwidth conditions, the optimal compression level of various types of data packets is calculated to obtain the compression grading calculation results.
[0094] Information entropy algorithm, the formula is:
[0095]
[0096] Calculate the compression level of the data packet, where H(X) is the information entropy, which represents the measure of uncertainty of the information, and P(x i ) is the data packet content type x i The probability of W is the weight coefficient, which is used to adjust the calculation accuracy of information entropy and to consider the impact of the uncertainty of the data packet content type on the information entropy. max(P(x i )) is the maximum value of the probability of the data packet content type, which is used to normalize the correction factor, X is the random variable of the data packet content, that is, the set of different possible content types of the data packet, n1 is the number of data packet content types, that is, the number of types of data packet content, i is the index of the data packet content type, from 1 to n1, x i is the i-th data packet content type, and P is the probability.
[0097] The specific execution process of the formula is as follows:
[0098] The number of occurrences of various data packet content types is counted, and the probabilities of various data packet content types are calculated. Based on the probability values, the logarithmic function in the information entropy formula is used to calculate the contribution of various data packet content types to the information entropy. A weight coefficient is introduced to adjust the calculation accuracy of the information entropy. At the same time, a correction factor is calculated based on the probabilities of various data packet content types. The impact of the uncertainty of the data packet content type on the information entropy is considered, and the results of each part are added together to obtain the information entropy value. When the information entropy of the data is high, a higher level of compression method is adopted to reduce the size of the data and evaluate the compression level required for the data packet.
[0099] See also Figure 5 Based on the compression classification calculation results, the compression algorithms of various data packet types are identified and matched. The data compression processing is performed based on the priority, size, content type, and data characteristics of the data packet. The specific steps for generating hierarchical compressed data packets are as follows:
[0100] S401: Based on the compression classification calculation results, the characteristics of various types of data packets are analyzed, and compression strategies and compression algorithms are matched for data packets of various compression levels to obtain a hierarchical compression algorithm list. The specific process is as follows;
[0101] In sub-step S401, based on the compression classification calculation results, the differentiated types of data packets are analyzed, including text, image, and video, and the compression strategy suitable for the characteristics of the data packets is determined. For multiple compression levels, the compression algorithm is matched, including using a fast but low compression algorithm for high-priority real-time video data, and using a high compression algorithm for non-real-time large file data. The formula is A i =f(K i ,T i ), where A i Indicates the selected compression algorithm number, K i is the compression level of data packet i, T i is the type of data packet i, f is a mapping function, which determines the compression algorithm according to the compression level and data type, and obtains a hierarchical compression algorithm list.
[0102] S402: Based on the hierarchical compression algorithm list, analyzing the priority, size, and content type of the data packet, identifying the characteristics of various transmission information, and obtaining the transmission information type analysis result. The specific process is as follows;
[0103] In sub-step S402, based on the hierarchical compression algorithm list, an iterative analysis of the data packets is performed, taking into account the priority, size, and content type of the data packets, and evaluating the transmission characteristics of differentiated data packets, including using a fast transmission path for high-priority small data packets and optimizing the transmission protocol for large data packets based on the content type. The formula is F i =g(P i ,Ci ,T i ), where F i is the transmission characteristic identifier of data packet i, P i , C i , T i are the priority, size and type of data packet i respectively, and g is a function used to analyze its transmission requirements according to these characteristics of the data packet and obtain the analysis result of the transmission information type.
[0104] S403: Based on the results of the transmission information type analysis, the data packet is compressed, the compression time and efficiency are calculated and recorded, and the process of generating a hierarchically compressed data packet is as follows;
[0105] In sub-step S403, based on the results of the transmission information type analysis, the data packets are actually compressed, the compression time and efficiency of each data packet are calculated, and storage and transmission are optimized. The formula is: Among them, Z i is the compression efficiency of data packet i, V i is the original data packet volume, V′ i is the volume after compression, t i To measure the time required for compression, indicate the efficiency of compression, evaluate the performance of compression algorithms, and generate hierarchical compressed data packets.
[0106] See also Figure 6 Based on hierarchical compression of data packets, error detection and correction are performed during transmission, and data integrity verification is performed on the transmitted data packets. The specific steps for generating information transmission verification results are as follows:
[0107] S501: Based on hierarchical compression of data packets, real-time network bandwidth monitoring is performed to record rate and load changes in data streams, identify and analyze the impact of abnormal fluctuations on information transmission integrity, and obtain real-time transmission monitoring data.
[0108] In sub-step S501, based on hierarchical compression of data packets, real-time network bandwidth monitoring is implemented to record the data flow rate and load changes in the network. Through real-time data analysis, abnormal fluctuations are identified and the impact of fluctuations on information transmission integrity is evaluated. The formula is: Among them, R i It represents the bandwidth change rate within the time interval Δt, and ΔB is the bandwidth change within the target time period. It identifies abnormal fluctuations in the data stream and evaluates the impact on transmission integrity to obtain real-time transmission monitoring data.
[0109] S502: Based on real-time transmission monitoring data, analyze data flow anomalies and identify error points, evaluate and record the occurrence frequency and type of various error points, and generate error frequency analysis records. The specific process is as follows:
[0110] In step S502, based on real-time transmission monitoring data, analyze the abnormal phenomena in the data stream, identify the error points, count the frequency and type of multiple types of errors, and determine the key fault source. The formula is E i =h(F i ,T e ), where E i represents the score of error point i, F i is the occurrence frequency of error point i, T e is the error type, h is a scoring function used to estimate the severity of the error based on the error frequency and type, and generate error frequency analysis records.
[0111] S503: Based on the error frequency analysis record, the integrity check of the transmitted data is performed, and the data transmission parameters are adjusted to optimize the continuity and integrity of the data transmission. The specific process of generating the information transmission verification result is as follows;
[0112] In sub-step S503, based on the error frequency analysis record, the integrity check of the data that has been transmitted is performed, the check result is analyzed, and the data transmission parameters are adjusted to optimize the continuity and integrity of the data. The formula is Among them, V i is the integrity ratio of data packet i, S i is the original size of data packet i, S err,i For the size of the detected erroneous data, the integrity of each data packet is calculated, the transmission parameters are optimized, the efficiency and accuracy of data transmission are improved, and the information transmission verification results are generated.
[0113] See also Figure 7 , an information transmission system is used to perform the information transmission method, an information transmission system comprising:
[0114] The network status assessment module monitors network traffic in real time and calculates usage based on real-time network bandwidth data. By comparing it with historical data transmission records, it obtains network performance analysis results.
[0115] The data packet configuration module analyzes the data packet capacity and bandwidth based on the network performance analysis results and the current network load, adjusts the data packet capacity segmentation and sending priority, and generates the segmentation adjustment configuration results;
[0116] The compression demand assessment module calculates the transmission time of the data packet based on the segmentation adjustment configuration result, evaluates the time sensitivity and content type of the data packet, analyzes the compression level of the data packet, and obtains the compression demand assessment result;
[0117] The information compression processing module generates the transmission data compression result by analyzing the priority, size, and content type of various data packets based on the compression demand assessment results;
[0118] The data transmission monitoring module monitors the information transmission process in real time based on the transmission data compression results. By monitoring abnormal fluctuations in network load and data flow, it identifies and records transmission errors and generates transmission error detection information.
[0119] The integrity check module performs integrity checks on the transmitted data packets based on the transmission error detection information, adjusts the data transmission parameters to optimize the integrity and continuity of the data, and generates information transmission verification results.
[0120] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
Claims
1. An information transmission method, characterized in that: include: Step S1: Based on real-time network bandwidth data, analyze network traffic data and calculate bandwidth utilization, compare it with historical data transmission records, analyze changes in network performance parameters, and obtain a predicted value of information transmission efficiency; Step S2: Based on the predicted value of the information transmission efficiency and in combination with the real-time network load, the capacity division and transmission priority of the data packet are adjusted to generate a data packet transmission configuration; Step S3: Based on the data packet transmission configuration and in combination with the real-time network bandwidth, the data packet transmission time is calculated, and the compression level of the data packet is determined in combination with the time sensitivity and content type of the data packet; Step S4: Based on the compression level calculation result, identify and match the compression algorithms of multiple data packet types, perform data compression processing based on the priority, size, content type, and data characteristics of the data packet, and generate a hierarchically compressed data packet; Step S5: Based on the hierarchically compressed data packets, error detection and correction are performed during the transmission process, and data integrity verification is performed on the data packets that have completed transmission to generate an information transmission verification result.
2. The information transmission method according to claim 1, wherein: The step S1 comprises: Step S101: Based on the real-time network bandwidth data, obtain the bandwidth utilization rate during the sampling period: Where: U is the broadband utilization rate, p i is the number of packets in the ith second, s i is the average packet size in the i-th second, B is the network bandwidth, and n is the duration of the sampling period; Step S102: Compare the obtained broadband utilization rate with the broadband utilization rate of the same period in history, and obtain the deviation between the current broadband utilization rate and the historical average level as the utilization rate deviation: Where: Z is the utilization rate deviation, μ is the arithmetic mean of the broadband utilization rate during the same period in history, and σ is the standard deviation of the broadband utilization rate during the same period in history; Step S103: Predicting the load trend based on the usage rate deviation, and predicting the network delay based on the obtained load trend, and combining the current load rate to obtain a predicted value of information transmission efficiency: Where: E is the information transmission efficiency, α is the adjustment coefficient, D is the network delay, and L is the load rate.
3. The information transmission method according to claim 2, wherein: The step S2 comprises: Step S201: The real-time monitoring system continuously tracks network load data and generates a real-time quality score of the network: Where: Q is the real-time quality score, is the average network delay, P is the data packet loss rate, w1, w2, w3 are weight coefficients; Step S202: Monitor the available network bandwidth in real time and obtain data packet segmentation results based on the size of the data packet and the service type, where the segmentation capacity of each data packet is: Where: C is the split capacity of each data packet, N is the number of data packets transmitted simultaneously, and S is the original size of a single data packet; Step S203: Based on the real-time network load and the real-time quality score of the network, the impact of each data packet on the network performance is obtained, the sending priority of each data packet is set, and a data packet transmission configuration is generated, wherein the sending priority of each data packet is: P i =v1·E i +v2·F i Where: P i is the priority score of data packet i, E i is the urgency of data packet i, F i is the impact of data packet i on network performance, v1 and v2 are weights.
4. The information transmission method according to claim 3, wherein: The step S3 comprises: Step S301: Based on the data packet transmission configuration, the transmission time is estimated according to the size of multiple data packets and the current real-time network bandwidth to obtain the expected transmission time of each data packet: Where: T i is the expected transmission time of data packet i, C i is the size of data packet i; Step S302: Based on the estimated transmission time of each data packet, combined with the priority and information type of the data packet, a time sensitivity score of each data packet is obtained: S i =k1·P i +k2·T max,i Where: S i is the time sensitivity score of packet i, T max,i is the maximum tolerated transmission time of data packet i, k1 and k2 are weights; Step S303: Based on the time sensitivity score of each data packet, an information entropy algorithm is used to evaluate the data compression requirements and determine the compression level of the data packet in combination with the content type of the data packet and the network conditions.
5. The information transmission method according to claim 4, characterized in that: The mathematical expression of the information entropy is: Where: H(X) is information entropy, P(x i ) is the data packet content type x i The probability, W weight, max(P(x i )) is the maximum value among the probabilities of the data packet content types, X is a random variable of the data packet content, representing the set of different possible content types of the data packet, and n1 is the number of data packet content types.
6. The information transmission method according to claim 4, characterized in that: In the process of determining the compression level of the data packet, when the information entropy of the data is high, a higher level compression method is adopted to reduce the size of the data.
7. The information transmission method according to claim 4, characterized in that: The step S4 comprises: Step S401: Determine a data packet compression algorithm based on the data packet compression level and data packet type; Step S402: Based on the hierarchical compression algorithm list, the priority, size, and content type of the data packet are analyzed to identify the characteristics of various transmission information and obtain the transmission information type analysis result; Step S403: Based on the results of the transmission information type analysis, the data packet is compressed, the compression time and efficiency are calculated and recorded, and a hierarchically compressed data packet is generated. The compression efficiency is: Where: Z i is the compression efficiency of data packet i, V i is the volume before compression, V i ′ is the volume after compression, t i is the compression time of data packet i.
8. The information transmission method according to claim 7, characterized in that: The step S5 comprises: Step S501: Based on hierarchically compressed data packets, real-time network bandwidth monitoring is performed to record rate and load changes in the data stream, identify and analyze the impact of abnormal fluctuations on information transmission integrity, and obtain real-time transmission monitoring data; Step S502: Based on the real-time transmission monitoring data, analyze the data flow anomalies and identify the error points, evaluate and record the occurrence frequency and type of various error points, and generate an error frequency analysis record; Step S503: Based on the error frequency analysis record, integrity check is performed on the transmitted data, and data transmission parameters are adjusted to optimize the continuity and integrity of data transmission, thereby generating an information transmission verification result.
9. An information transmission device comprising a memory, a processor, and a program stored in the memory, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
10. A storage medium having a program stored thereon, characterized in that: When the program is executed, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Data transmission method based on compression algorithm, terminal equipment and storage medium
CN110535869A
Dynamic adaptive compression in network storage device
US20170123704A1