Uplink data transmission method, system, device and storage medium
Through intelligent splitting and layered compression technology, heterogeneous coding encryption and intelligent path selection, the problems of compression rate, security and path selection in upstream data transmission are solved, and efficient and safe data transmission is achieved.
Patent Information
- Application Number
- CN202410580941.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-11
AI Technical Summary
The existing uplink data transmission solution lacks an intelligent hierarchical compression mechanism, a single encryption protection measure, and cannot effectively defend against man-in-the-middle attacks. The transmission path selection lacks intelligence, resulting in poor data transmission efficiency, security, and resource utilization.
Intelligent splitting technology is used to conduct semantic analysis of multimedia data, hierarchical compression processing, and generate redundant data blocks. It uses encryption algorithms and intelligent path selection algorithms based on heterogeneous coding technology to dynamically adjust transmission paths and bandwidth allocation, combined with erasure Code recovery mechanism ensures data integrity.
It achieves a balance between compression quality and efficiency, significantly improves data transmission performance and security, ensures that key data is transmitted through high-quality network channels, and ensures transmission quality and security to the greatest extent.
Smart Images

Figure CN118175212B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to an uplink data transmission method and system. Background Art
[0002] With the rapid popularization of mobile Internet and smart mobile terminals, the demand for transmission of multimedia data (such as images, videos, audio, etc.) is increasing. However, the existing uplink data transmission scheme has some obvious shortcomings: the lack of intelligent hierarchical compression mechanism for different content areas makes it difficult to balance the compression quality and compression rate, and cannot meet the needs of image quality and data flow at the same time; the encryption protection measures are single and cannot effectively defend against advanced security threats such as man-in-the-middle attacks, and the transmission security cannot be fundamentally guaranteed; the transmission path selection lacks intelligence and cannot be dynamically adjusted according to the network environment, which affects the efficiency and reliability of data transmission; at the same time, the existing scheme fails to make full use of terminal hardware resources, resulting in low compression and encryption efficiency, increasing terminal energy consumption and user waiting time. Summary of the invention
[0003] In view of the fact that the existing transmission methods lack intelligent hierarchical compression mechanism and single encryption protection measures, resulting in poor data transmission efficiency, security and resource utilization, the present invention is proposed.
[0004] Therefore, the problem to be solved by the present invention is how to improve transmission security, realize dynamic path selection, and effectively utilize terminal hardware resources through intelligent hierarchical compression of different content areas to provide an uplink data transmission solution.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0006] In a first aspect, an embodiment of the present invention provides an uplink data transmission method, which includes, at a terminal device end, using intelligent splitting technology to split multimedia data to be uploaded into different modes; using a deep learning model to perform semantic analysis on each modal data after splitting, identifying and marking key content areas, secondary content areas and ordinary content areas; performing layered compression processing on different content areas, applying a high-fidelity compression algorithm to the key content area, a high-compression rate algorithm to the secondary content area, and a low-fidelity compression algorithm to the ordinary content area; dividing the compressed data into original data blocks of fixed length, and generating corresponding redundant data blocks for each original data block; using an encryption algorithm based on heterogeneous coding technology to encrypt all data blocks, specifically including: dividing the generated original data blocks and redundant data blocks into multiple levels according to the importance of the content, and selecting a nonlinear heterogeneous coding algorithm Ai for each level; for each level, the system dynamically generates a The method comprises the following steps: first, a corresponding key stream is obtained, and the key stream is bound to the selected heterogeneous coding algorithm Ai; second, all the hierarchical data blocks are traversed, and the heterogeneous coding algorithm Ai and the corresponding key stream are selected according to their levels, and the heterogeneous coding encryption is performed on the data block to obtain a set of heterogeneous ciphertext blocks; third, an intelligent path selection algorithm is used to determine the optimal wireless access network path for each heterogeneous ciphertext block according to its level, and the blocks are uploaded in parallel through this path; the server receives heterogeneous ciphertext blocks from different network paths in real time, and dynamically adjusts the bandwidth allocation of each path according to the level of the heterogeneous ciphertext blocks and the reception status; the received heterogeneous ciphertext blocks are decrypted to check whether the corresponding original data blocks are lost or damaged; if there is loss or damage, the hierarchical erasure code recovery algorithm is executed using the corresponding redundant data block information to reconstruct the lost or damaged original data blocks; the server performs overall confirmation and feedback on all reconstructed original data blocks and the original data blocks directly decrypted.
[0007] As a preferred solution of the uplink data transmission method described in the present invention, wherein: performing layered compression processing on different content areas also includes actively interacting with users during the compression process, obtaining user feedback on the compression effect and combining semantic annotation to guide the selection of hierarchical compression algorithms and adaptive adjustment of parameters; performing similarity detection on compressed historical data, and performing incremental compression updates on the difference parts; selecting appropriate parallel compression algorithms and hardware acceleration methods based on terminal hardware conditions; deploying compression strategies and models in the cloud, and the terminal calling different cloud compression services as needed, and using cloud computing power to perform compression tasks; the compression system continuously analyzes the quality and efficiency indicators of compression results, and autonomously optimizes the compression process, algorithm selection and parameter configuration.
[0008] As a preferred solution of the uplink data transmission method described in the present invention, wherein: encrypting all data blocks using an encryption algorithm based on heterogeneous coding technology also includes: building a heterogeneous coding algorithm library for different data importance levels, including a variety of nonlinear heterogeneous coding algorithms {A1, A2, A3, ..., An}; traversing all graded data blocks to obtain heterogeneous ciphertext blocks generated after the data blocks are encrypted by heterogeneous coding; using pseudo-random permutation seeds to perform multiple rounds of confusion permutation operations on the heterogeneous ciphertext blocks to increase the disorder and chaos of the heterogeneous ciphertext blocks; interleaving the heterogeneous ciphertext blocks that have been confused and permuted with another ciphertext block of the same importance level; dividing the heterogeneous ciphertext blocks after the interleaving into ciphertext sub-blocks according to a fixed length, and dispersing and irregularly storing the ciphertext sub-blocks in all original data blocks and redundant data blocks; after completing this round of data transmission, performing security updates on the used key streams and heterogeneous coding algorithms to prepare for the next round of transmission.
[0009] As a preferred solution of the uplink data transmission method of the present invention, wherein: determining the optimal wireless access network path for each data block includes the following steps: constructing and deploying a multi-network situation awareness module to monitor and evaluate the key parameters of all available wireless access networks in the current environment in real time; assigning a network transmission priority to each data block according to the content area level, combined with its compression and encryption characteristics, to ensure that the key data blocks are assigned to high-quality channels; designing and implementing an intelligent path selection algorithm, comprehensively considering the data block level, network status information, transmission cost and security requirements, and making real-time decisions to determine the optimal wireless access network path; introducing a comprehensive resource allocation strategy to target key content areas, secondary content areas, and It performs differentiated wireless access network resource allocation for encrypted data blocks in the content area and the general content area; integrates intelligent traffic management components to adjust the transmission rate in real time and dynamically select backup paths according to network quality; accurately arranges the upload time window and sequence of original and redundant data blocks according to network conditions and path selection results, and gives priority to uploading key data blocks; establishes a feedback mechanism to continuously adjust and optimize the intelligent path selection algorithm based on actual transmission effects; immediately enables the backup path to retransmit redundant data blocks when the main data block fails to be uploaded to minimize the risk of data loss; evaluates after all data blocks are uploaded, and collects and analyzes data transmission logs to audit the entire data transmission and path selection process.
[0010] As a preferred solution of the uplink data transmission method described in the present invention, checking whether the original data block is lost or damaged includes the following steps: extracting ciphertext sub-blocks in sequence according to the order in which the data blocks are received by the server, and reorganizing the complete heterogeneous ciphertext blocks in the original order; reconstructing the key stream used for this round of transmission based on the key update mechanism; executing the decryption process for each reorganized heterogeneous ciphertext block, and performing integrity checks on all decrypted data blocks to determine whether the original data block is lost or damaged; if all original data blocks are not lost or damaged, it means that the transmission is successful, and data recovery and decompression operations are performed; if there is any original data block lost or damaged, the corresponding redundant data block information is used to execute the erasure code recovery algorithm to reconstruct the lost or damaged original data block; performing integrity checks on the reconstructed original data blocks again, and after determining that all data are complete and correct, performing data recovery and decompression operations; recording the data reception and decryption conditions of this round of transmission, including transmission quality, packet loss rate, and recovery efficiency, to provide feedback information for the next round of intelligent path selection and resource allocation.
[0011] As a preferred solution of the uplink data transmission method of the present invention, wherein: executing the erasure code recovery algorithm to reconstruct the lost or damaged original data block comprises the following steps: for all the original data block sets, a multi-level hierarchical erasure code encoding structure is pre-constructed, the bottom layer is the original data block itself, the middle layer is the erasure code with different redundancy, and the top layer is the highest redundancy erasure code;
[0012] The coded data of each level is cut into multiple coded data segments. The coded data segments of the same level are interleaved and stored according to a predetermined rule, and the coded data segments of different levels are scattered and irregularly stored in different storage units. After decryption, the original data blocks that are lost or damaged are detected, the distribution characteristics of the lost or damaged original data blocks in the entire original data block set are analyzed, and the degree of loss outbreak is evaluated based on the distribution characteristics. The erasure code recovery level is adaptively selected according to the degree of loss outbreak. Starting from the selected recovery level, the required redundant coded data segments are obtained level by level, and the decoding operations corresponding to this erasure code level are used to perform an attempt to reconstruct all lost or damaged original data blocks. If complete reconstruction is not possible, switch to a higher level of erasure code and incrementally obtain new coded data segments. Iteratively execute the process of switching, obtaining coded data segments and decoding operations until all lost or damaged original data blocks are completely reconstructed. The key indicators of this round of erasure code recovery process, including recovery success rate and delay efficiency, are counted and recorded, and the erasure code encoding strategy and parameter configuration are dynamically adjusted based on the key indicators.
[0013] As a preferred solution of the uplink data transmission method described in the present invention, the overall confirmation and feedback are performed, including: if all the data blocks to be verified are successfully verified, the server returns a successful reception response; if any data block fails to pass the verification, or all the original data blocks cannot be successfully reconstructed, the server returns a failed reception response, and triggers a retransmission mechanism to request the terminal to retransmit those incomplete or erroneous original data blocks.
[0014] In a second aspect, an embodiment of the present invention provides an uplink data transmission system, which includes a parallel compression module, which is used to select an adaptive compression algorithm for data compression processing according to the type of multimedia data to be uploaded at the terminal device end; a redundancy generation module, which is used to divide the compressed data into original data blocks of fixed length, and generate corresponding redundant data blocks for each original data block; a heterogeneous encryption module, which is used to encrypt all data blocks including original data blocks and redundant data blocks using an encryption algorithm based on heterogeneous coding technology; a path planning module, which is used to determine the optimal wireless access network path for each data block using an intelligent path selection algorithm, and upload the encrypted data blocks in parallel through the selected path; a bandwidth adjustment module, which is used for the server side to receive data from different wireless access network paths in real time, and dynamically adjust the bandwidth allocation of each path according to the receiving situation; a decryption and reconstruction module, which is used to decrypt the received encrypted data blocks and check whether the original data blocks are lost or damaged.
[0015] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program instructions are executed by the processor, the steps of the uplink data transmission method as described in the first aspect of the present invention are implemented.
[0016] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program instructions are executed by a processor, the steps of the uplink data transmission method as described in the first aspect of the present invention are implemented.
[0017] The beneficial effects of the present invention are as follows: the present invention integrates semantic analysis and hierarchical compression technology, applies high-fidelity compression to key content areas, and adopts high compression ratios to secondary areas, thereby achieving an effective balance between compression quality and efficiency, and significantly improving the overall performance of data compression; the compressed data is divided into blocks and redundant codes are generated, and combined with heterogeneous coding encryption technology, each individual data block cannot be decrypted and reconstructed to obtain complete information, thereby fundamentally enhancing the security of data transmission; for data blocks with different content importance levels, a comprehensive and differentiated intelligent path selection and network resource allocation strategy are innovatively introduced to ensure that high-priority data can obtain higher-quality and more efficient network transmission channels, thereby maximizing the transmission quality of key data. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 The figure is a framework flow chart of the uplink data transmission method.
[0020] Figure 2 The figure is a compression and encryption flow chart of the uplink data transmission method.
[0021] Figure 3 A computer device diagram for an uplink data transmission method. DETAILED DESCRIPTION
[0022] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.
[0023] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0024] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments. Example 1
[0025] Reference Figure 1~Figure 3 , is the first embodiment of the present invention, which provides an uplink data transmission method, including:
[0026] S1: On the terminal device side, for the multimedia data to be uploaded, an adaptive compression algorithm is selected according to the importance of its content to perform data compression processing.
[0027] Specifically, intelligent splitting technology is used to split composite multimedia data into different modes (such as images, videos, audio, etc.); deep learning models are used to perform semantic analysis on the split modal data, identify and mark key content areas, secondary content areas and ordinary content areas, in preparation for hierarchical compression; active interaction with users during the compression process, obtain user feedback on the compression effect and combine semantic annotation to guide the selection of hierarchical compression algorithms and adaptive adjustment of parameters to achieve the best compression expectations; hierarchical compression is performed on different content areas, high-fidelity compression algorithms are applied to key content areas, high-compression rate algorithms are applied to secondary content areas, and low-fidelity compression algorithms are applied to ordinary content areas; for compressed historical data, the similarity with current data is detected, and incremental compression updates are performed on the difference parts; appropriate hardware acceleration means are selected according to the terminal hardware conditions to execute compression algorithms in parallel to improve compression efficiency; complex compression strategies and models are deployed in the cloud, and the terminal calls different cloud compression services as needed, and uses cloud computing power to perform compression tasks; the compression system continuously analyzes the quality and efficiency indicators of compression results, and autonomously optimizes the compression process, algorithm selection and parameter configuration, and continuously iterates and improves the compression strategy.
[0028] It should be noted that the present invention innovatively integrates multiple compression algorithms, adaptively selects and schedules them according to the semantic annotation results, uses high-fidelity compression for key areas, and applies high compression rate processing to secondary areas, achieving an effective balance between compression quality and efficiency. In addition, a human-computer interaction optimization link is introduced to obtain user feedback and integrate semantic analysis results to guide the dynamic adjustment of compression algorithms and parameter configurations to ensure that the compression effect meets the best expectations.
[0029] It should be noted that the division of key content areas, secondary content areas and ordinary content areas is dynamic and configurable, including but not limited to the following: if an area contains a face, text or specific logo, it is marked as a key content area; if a user frequently clicks or zooms in on an area, it is marked as a key content area; if an area in the video has sudden movement or sound, it is marked as a key content area; if an area has high contrast, bright colors or special shape features visually, it is marked as a key content area; if the audio content contains high-volume paragraphs, key words or special melodies, it is marked as Key content area; if the application scenario requires special attention to privacy information, the area where the privacy information is located is marked as a key content area; if the area contributes little to the overall information communication and understanding and can withstand a certain degree of visual or auditory loss, it is marked as a secondary content area; if the area is mainly a static background or visually inconspicuous elements, it is marked as a secondary content area; if based on historical user feedback and interaction behavior, some areas are frequently ignored or regarded as unimportant, they are marked as secondary content areas; for areas that do not meet the criteria for key content areas or secondary content areas, they are marked as ordinary content areas.
[0030] S2: Split the compressed data into original data blocks of fixed length, and generate corresponding redundant data blocks for each original data block.
[0031] It should be noted that dividing the compressed data into multiple data blocks of fixed length instead of transmitting them as a whole is conducive to improving transmission parallelism and fault tolerance. At the same time, corresponding redundant data blocks are generated for each original data block. If the main data block is lost or damaged during transmission, these redundant blocks can be used to reconstruct and restore it, thereby greatly improving the reliability and robustness of data transmission. The innovative construction method of the original data block and the redundant data block makes the two interact and depend on each other, ensuring that it is difficult to reconstruct the complete data by attacking any data block alone, fundamentally enhancing the security of data transmission.
[0032] S3: All data blocks are encrypted using an encryption algorithm based on heterogeneous coding technology.
[0033] Specifically, in the heterogeneous coding algorithm library, three nonlinear heterogeneous coding algorithms {A1, A2, A3} are constructed for different content areas (key content area, secondary content area and general content area); based on the content area labeling results and semantic analysis results obtained in S1, the original data blocks and redundant data blocks generated by S2 are divided into three levels, and mapped to the three algorithms A1, A2, and A3 in the heterogeneous coding algorithm library respectively; the corresponding key stream is dynamically generated for each level of data block, and the key stream is tightly bound to the mapped heterogeneous coding algorithm Ai; all the graded data blocks are traversed, and according to the importance level of the data block, the key stream is selected to be bound to it. A given heterogeneous encoding algorithm Ai and key stream are used to perform heterogeneous encoding encryption on the data block to generate a heterogeneous ciphertext block; multiple rounds of confusion permutation operations are performed on the heterogeneous ciphertext block using a pseudo-random permutation seed to increase the disorder and chaos of the ciphertext block; the ciphertext block after confusion permutation is interleaved with another ciphertext block at the same level to make the two mutually dependent; the interleaved ciphertext block is divided into ciphertext sub-blocks according to a fixed length, and the ciphertext sub-blocks are scattered and irregularly mixed and stored in all original data blocks and redundant data blocks; for the key stream and heterogeneous encoding algorithm used in this round, a security update is performed after the data transmission is completed to prepare for the next round of transmission.
[0034] It should be noted that in order to verify the data integrity at the receiving end, the present invention performs the following operations: before encrypting the data block, for each original data block, its SHA-256 hash value is calculated; the SHA-256 hash value set of all original data blocks is recorded and transmitted to the server together with the encrypted ciphertext data; after the server decrypts and restores the original data block in S6, these pre-calculated and transmitted SHA-256 hash values can be used to compare with the SHA-256 hash values calculated by the decrypted and restored original data block, so as to determine whether the original data block is intact during transmission.
[0035] S4: Using the intelligent path selection algorithm, the optimal wireless access network path is determined for each heterogeneous ciphertext block level, and the data is uploaded in parallel through this path.
[0036] Specifically, build and deploy multi-network situational awareness modules to monitor and evaluate in real time the key parameters of all available wireless access networks in the current environment, including signal strength, network bandwidth, latency, congestion level, and estimated costs; assign network transmission priority to each data block based on the content area level (critical, secondary, and ordinary) and its compression and encryption characteristics to ensure that critical data blocks can be allocated to better channels; design and implement intelligent path selection algorithms to comprehensively consider data block levels, network status information, transmission costs, and security requirements, and make real-time decisions to determine the optimal wireless access network path; introduce a comprehensive resource allocation strategy to perform differentiated wireless access network resource allocation for encrypted data blocks in critical content areas, secondary content areas, and ordinary content areas. It integrates intelligent traffic management components to adjust the transmission rate and dynamically select backup paths in real time according to network quality, so as to achieve smooth switching of data blocks under different network environment changes; it accurately arranges the upload time window and sequence of original and redundant data blocks according to network conditions and path selection results, and gives priority to uploading the most critical data blocks; it establishes a feedback mechanism to continuously adjust and optimize the intelligent path selection algorithm based on actual transmission effects; when the upload of the main data block fails, it immediately enables the backup path to quickly retransmit the redundant data block to minimize the risk of data loss; it evaluates after all data blocks are uploaded, collects and analyzes data transmission logs to audit the entire data transmission and path selection process, ensures that the data reaches the server intact and safely, and further improves the intelligent path selection algorithm accordingly.
[0037] It should be noted that the comprehensive resource allocation strategy means: for encrypted data blocks in key content areas, select network channels that meet low latency and high bandwidth to ensure transmission efficiency; for encrypted data blocks in secondary content areas, give priority to the cost-effectiveness of the channel while ensuring moderate transmission efficiency, and select relatively low-cost but stable and reliable network paths; for encrypted data blocks in ordinary content areas, pay more attention to economy, and give priority to the network path with the lowest cost and highest benefit while meeting basic transmission quality requirements.
[0038] S5: The server receives heterogeneous ciphertext blocks from different network paths in real time, and dynamically adjusts the bandwidth allocation of each path according to the level and reception status of the heterogeneous ciphertext blocks.
[0039] S6: Decrypt the received heterogeneous ciphertext blocks and check whether the corresponding original data blocks are lost or damaged.
[0040] Specifically, according to the order in which the server receives data in S5, ciphertext sub-blocks are extracted from each encrypted data block in turn, and complete heterogeneous ciphertext blocks are reassembled in the original order; based on the key update mechanism recorded in S3, the key stream used for this round of transmission is reconstructed; for each reassembled heterogeneous ciphertext block, the decryption process is executed, and an integrity check is performed on all decrypted data blocks to determine whether the original data blocks are lost or damaged; if all original data blocks are not lost or damaged, it means that the transmission is successful, and data recovery and decompression operations are performed; if any original data blocks are lost or damaged, the corresponding redundant data block information is used to execute the erasure code recovery algorithm to reconstruct the lost or damaged original data blocks; the integrity check is performed again on the reconstructed original data blocks, and after determining that all data are complete and correct, data recovery and decompression operations are performed; the data reception and decryption conditions of this round of transmission, including transmission quality, packet loss rate, and recovery efficiency, are recorded to provide feedback information for the next round of intelligent path selection and resource allocation.
[0041] It should be noted that the decryption process is as follows: find the content area level (key content area / secondary content area / ordinary content area data) corresponding to the heterogeneous ciphertext block, and extract the nonlinear heterogeneous coding algorithm Ai bound to the level from the heterogeneous coding algorithm library according to the content area level; use the reconstructed key stream and the nonlinear heterogeneous coding algorithm Ai to perform heterogeneous decoding operations on the ciphertext block and output the decoded data; use the inverse operation of the pseudo-random permutation seed recorded in S3 to perform reverse obfuscation permutation on the decoded output to obtain the original data block or redundant data block.
[0042] It should be noted that the specific steps of the integrity check are as follows: calculate the hash value of the data block, compare the calculated hash value with the original hash value before transmission, if the hash values match, it is determined that the data block is not damaged, if the hash values do not match, it is considered that the data block is damaged and marked as lost or damaged.
[0043] Preferably, executing the erasure code recovery algorithm to reconstruct the lost or damaged original data block includes the following steps: for all the original data block sets, pre-constructing a multi-level hierarchical erasure code encoding structure, the bottom layer is the original data block itself, the middle layer (multiple) is the erasure code with different redundancy (the redundancy increases from low to high), and the top layer is the highest redundancy erasure code (providing the strongest data recovery capability); cutting the encoded data of each level into multiple encoded data segments, the encoded data segments of different levels are interleaved and stored according to a predetermined rule, and the encoded data segments of different levels are scattered and irregularly stored in different storage units (enhancing the anti-theft capability); after decryption, detecting the existence of lost or damaged original data blocks, and analyzing the lost or damaged original data blocks in the entire original data block set The system uses the distribution characteristics of the data and evaluates the degree of loss burst according to the distribution characteristics; it adaptively selects the erasure code recovery level according to the degree of loss burst and performs recovery; it starts from the selected recovery level, obtains the required redundant coded data segments level by level, and uses them to perform the decoding operation corresponding to this erasure code level, and tries to reconstruct all lost or damaged original data blocks; if complete reconstruction is not possible, it switches to a higher level of erasure code and incrementally obtains new coded data segments; it iteratively executes the process of switching, obtaining coded data segments and decoding operations until all lost or damaged original data blocks are completely reconstructed; it counts and records the key indicators of this round of erasure code recovery process, including recovery success rate and latency efficiency, and dynamically adjusts the erasure code encoding strategy and parameter configuration according to the key indicators.
[0044] Specifically, if the loss is local, a low-level erasure code is preferentially selected as the recovery entry point. If the loss is extensive or large-scale, a high-level erasure code level is directly selected.
[0045] S7: The server performs overall confirmation and feedback on all reconstructed original data blocks and directly decrypted original data blocks.
[0046] Specifically, if all the original data blocks to be verified are verified successfully, the server returns a successful reception response; if any data block fails to pass the verification, or all the original data blocks cannot be successfully reconstructed, the server returns a failed reception response and triggers the retransmission mechanism to request the terminal to retransmit the incomplete or erroneous original data blocks.
[0047] It should be noted that the uploaded object is a set of original data blocks, not a single data block. S6 performs decryption and integrity verification at the level of a single data block, and S7 performs verification and feedback of the entire data set.
[0048] Furthermore, the present embodiment also provides an uplink data transmission system, including a parallel compression module, which is used to select an adaptive compression algorithm for data compression processing according to the type of multimedia data to be uploaded at the terminal device end; a redundancy generation module, which is used to divide the compressed data into original data blocks of fixed length, and generate corresponding redundant data blocks for each original data block; a heterogeneous encryption module, which is used to encrypt all data blocks including original data blocks and redundant data blocks using an encryption algorithm based on heterogeneous coding technology; a path planning module, which is used to determine the optimal wireless access network path for each data block using an intelligent path selection algorithm, and upload the encrypted data blocks in parallel through the selected path; a bandwidth adjustment module, which is used for the server end to receive data from different wireless access network paths in real time, and dynamically adjust the bandwidth allocation of each path according to the receiving situation; a decryption and reconstruction module, which is used to decrypt the received encrypted data blocks and check whether the original data blocks are lost or damaged.
[0049] This embodiment also provides a computer device, which is applicable to the case of an uplink data transmission method, and includes a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions to implement the uplink data transmission method proposed in the above embodiment.
[0050] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0051] This embodiment further provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for implementing uplink data transmission proposed in the above embodiment is implemented.
[0052] In summary, the present invention integrates semantic analysis and hierarchical compression technology, applies high-fidelity compression to key content areas, and adopts high compression ratios for secondary areas, thereby achieving an effective balance between compression quality and efficiency, and significantly improving the overall performance of data compression; the compressed data is divided into blocks and redundant codes are generated, and combined with heterogeneous coding encryption technology, each individual data block cannot be decrypted and reconstructed to obtain complete information, thereby fundamentally enhancing the security of data transmission; for data blocks with different content importance levels, a comprehensive and differentiated intelligent path selection and network resource allocation strategy is innovatively introduced to ensure that high-priority data can obtain better-quality and more efficient network transmission channels, thereby maximizing the transmission quality of key data. Example 2
[0053] Reference Figure 1~Figure 3 , which is the second embodiment of the present invention, and this embodiment provides an uplink data transmission method. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.
[0054] Preferably, when a drone performs a remote sensing monitoring mission, it needs to upload the captured 5GB of high-definition video data to the ground control center. The network environment includes 4G / 5G cellular network and WiFi hotspot network, and the drone terminal device is configured with an 8-core CPU and 4GB of memory.
[0055] Specifically, the 5GB video data is split into video stream and audio stream, of which 30% of the video stream is key content, 50% is secondary content, and 20% is ordinary content. They are compressed using H.265 (high fidelity), H.264 (high compression rate), and HEVC (low fidelity) algorithms respectively. The total size of the compressed data is 2GB, with an average compression rate of 60%.
[0056] Furthermore, the 2GB compressed data is divided into 400 6MB original data blocks, and one redundant data block is generated for each original block, totaling 800 data blocks; three heterogeneous encoding algorithms are constructed: AES-128 (A1), AES-192 (A2), and AES-256 (A3); the original data blocks are divided into: 120 key levels (mapping A1), 200 secondary levels (mapping A2), and 80 ordinary levels (mapping A3); the corresponding algorithms are used to encrypt data blocks of each level, and encryption operations such as heterogeneous encoding are performed; the sha-256 hash values of all 400 original data blocks are calculated and transmitted.
[0057] Furthermore, the ciphertext blocks are reassembled in order and decrypted using the corresponding key stream and algorithm in a hierarchical manner; the sha-256 hash value integrity verification is performed on all 400 decrypted original data blocks, and the 18 damaged original data blocks found are reconstructed using redundant data blocks; the hash value of the reconstructed results is verified again to confirm that the 400 original data blocks are intact. All 400 original data blocks are successfully verified, and a successful reception response is returned to record the transmission status.
[0058] Preferably, the actual transmission time of the entire 5GB video data is increased by about 35% compared with ordinary HEVC compression and single-path transmission, and the quality of key data streams is well guaranteed. The comparison indicators of the present invention and the traditional method are shown in Table 1.
[0059] Table 1 Comparison indexes of the present invention and the traditional method
[0060] Indicator The present invention Traditional methods Compression 60% 45% Average packet loss rate 2.6% 6.8% Key data loss rate <0.1% >3.2% Data recovery efficiency 98.7% 92% Bandwidth Utilization 94% 67% Transmission efficiency 35% No significant changes Data confidentiality Completely safe Easy to hack
[0061] As can be seen from Table 1, the scheme of the present invention has the following advantages over the traditional method: higher compression rate, saving more uplink data; greatly reducing the average packet loss rate and key data loss rate, and improving transmission reliability; significantly improving data recovery efficiency, and being able to reconstruct damaged and lost data in a timely manner; greatly shortening the transmission time, especially for key data, which is accelerated by 35%; making fuller use of network bandwidth resources; based on heterogeneous encryption coding, data is completely confidential during transmission, and has higher security.
[0062] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A method for uplink data transmission, characterized in that: include, On the terminal device side, intelligent splitting technology is used to split the multimedia data to be uploaded into different modes; Use deep learning models to perform semantic analysis on the split modal data to identify and mark key content areas, secondary content areas, and general content areas; Performing layered compression processing on different content areas, applying a high-fidelity compression algorithm to key content areas, a high-compression rate algorithm to secondary content areas, and a low-fidelity compression algorithm to common content areas; Split the compressed data into original data blocks of fixed length, and generate corresponding redundant data blocks for each original data block; All data blocks are encrypted using an encryption algorithm based on heterogeneous coding technology, including: According to the importance of the content, the generated original data blocks and redundant data blocks are divided into multiple levels, and a nonlinear heterogeneous coding algorithm Ai is selected for each level; For each level, the system dynamically generates a corresponding key stream and binds this key stream to the selected heterogeneous encoding algorithm Ai; Traverse all the graded data blocks, select the heterogeneous encoding algorithm Ai and the corresponding key stream bound to it according to its level, perform heterogeneous encoding encryption on this data block, and obtain a set of heterogeneous ciphertext blocks; Using intelligent path selection algorithm, the optimal wireless access network path is determined for each heterogeneous ciphertext block level, and the data is uploaded in parallel through this path; The server receives heterogeneous ciphertext blocks from different network paths in real time, and dynamically adjusts the bandwidth allocation of each path according to the level and reception status of the heterogeneous ciphertext blocks; Decrypt the received heterogeneous ciphertext blocks and check whether the corresponding original data blocks are lost or damaged; If there is loss or damage, the corresponding redundant data block information is used to execute the hierarchical erasure code recovery algorithm to reconstruct the lost or damaged original data block; The server performs overall confirmation and feedback on all reconstructed original data blocks and directly decrypted original data blocks; The performing layered compression processing on different content areas also includes: Actively interact with users during the compression process, obtain user feedback on compression effects, and combine semantic annotations to guide the selection of hierarchical compression algorithms and adaptive parameter adjustment; For compressed historical data, detect the similarity with current data and perform incremental compression update on the difference part; Select appropriate hardware acceleration means according to the terminal hardware conditions to execute compression algorithms in parallel to improve compression efficiency; The compression strategy and model are deployed in the cloud. The terminal calls different cloud compression services as needed and uses cloud computing power to perform compression tasks. The compression system continuously analyzes the quality and efficiency indicators of compression results, and autonomously optimizes the compression process, algorithm selection, and parameter configuration; Determining the optimal wireless access network path comprises the following steps: Build and deploy a multi-network situational awareness module to monitor and evaluate key parameters of all available wireless access networks in the current environment in real time; According to the content area level, combined with its compression and encryption characteristics, each data block is assigned a network transmission priority to ensure that critical data blocks are allocated to high-quality channels; Design and implement intelligent path selection algorithms that comprehensively consider data block level, network status information, transmission cost, and security requirements to make real-time decisions to determine the optimal wireless access network path; Introducing a comprehensive resource allocation strategy to perform differentiated wireless access network resource allocation for encrypted data blocks in key content areas, secondary content areas, and general content areas; Integrated intelligent traffic management components to adjust transmission rates and dynamically select backup paths in real time based on network quality; Accurately arrange the upload time window and order of original and redundant data blocks according to network conditions and path selection results, and give priority to uploading key data blocks; Establish a feedback mechanism to continuously adjust and optimize the intelligent path selection algorithm based on actual transmission results; When the primary data block fails to be uploaded, the backup path is immediately enabled to retransmit the redundant data block to minimize the risk of data loss; After all data blocks are uploaded, an evaluation is performed, and data transmission logs are collected and analyzed to audit the entire data transmission and path selection process.
2. The uplink data transmission method according to claim 1, wherein: The method of encrypting all data blocks using an encryption algorithm based on heterogeneous coding technology also includes: All data blocks include original data blocks and redundant data blocks; Build a library of heterogeneous coding algorithms for different data importance levels, including multiple nonlinear heterogeneous coding algorithms {A1, A2, A3, ..., An}; Traverse all the classified data blocks to obtain the heterogeneous ciphertext blocks generated by the data blocks after being encrypted by heterogeneous coding; Use pseudo-random permutation seeds to perform multiple rounds of confusion permutation operations on heterogeneous ciphertext blocks to increase the disorder and confusion of heterogeneous ciphertext blocks; Interleave the obfuscated and permuted heterogeneous ciphertext block with another ciphertext block at the same level; The heterogeneous ciphertext blocks after interleaving are divided into ciphertext sub-blocks according to fixed lengths, and the ciphertext sub-blocks are scattered and stored irregularly in all original data blocks and redundant data blocks; After completing this round of data transmission, a security update is performed on the used key stream and heterogeneous encoding algorithm to prepare for the next round of transmission.
3. The uplink data transmission method according to claim 1, wherein: The checking whether the corresponding original data block is lost or damaged comprises the following steps: According to the order in which the server receives the data blocks, the ciphertext sub-blocks are extracted one by one, and the complete heterogeneous ciphertext blocks are reassembled in the original order; Reconstruct the key stream used in this round of transmission based on the key update mechanism; For each reorganized heterogeneous ciphertext block, a decryption process is performed, and integrity checks are performed on all decrypted data blocks to determine whether the original data blocks are lost or damaged; If all original data blocks are not lost or damaged, the transmission is successful, and data recovery and decompression operations are performed; If the original data block is lost or damaged, the corresponding redundant data block information is used to execute the erasure code recovery algorithm to reconstruct the lost or damaged original data block; Perform integrity check again on the reconstructed original data blocks, and after determining that all data is complete and correct, perform data recovery and decompression operations; The data reception and decryption status of this round of transmission, including transmission quality, packet loss rate, and recovery efficiency, are recorded to provide feedback information for the next round of intelligent path selection and resource allocation.
4. The uplink data transmission method according to claim 3, wherein: The execution of the erasure code recovery algorithm to reconstruct the lost or damaged original data block comprises the following steps: For all sets of original data blocks, a multi-level hierarchical erasure code encoding structure is pre-built, with the bottom layer being the original data block itself, the middle layer being erasure codes with different redundancy levels, and the top layer being the erasure code with the highest redundancy level; The coded data of each level is cut into multiple coded data segments, the coded data segments of the same level are interleaved and stored according to a predetermined rule, and the coded data segments of different levels are scattered and irregularly stored in different storage units; After decryption, detect the original data blocks that are lost or damaged, analyze the distribution characteristics of the original data blocks that are lost or damaged in the entire original data block set, and evaluate the degree of loss burst based on the distribution characteristics; Adaptively select the erasure code recovery level based on the burst level of loss; Starting from the selected recovery level, the required redundant coded data segments are obtained level by level, and the decoding operation corresponding to this erasure code level is performed using them to try to reconstruct all lost or damaged original data blocks; If complete reconstruction is not possible, switch to a higher-level erasure code and incrementally obtain new encoded data segments; Iteratively perform the process of switching, obtaining coded data segments, and decoding operations until all lost or damaged original data blocks are completely reconstructed; The key indicators of this round of erasure code recovery process, including recovery success rate and latency efficiency, are counted and recorded, and the erasure code encoding strategy and parameter configuration are dynamically adjusted according to the key indicators.
5. The uplink data transmission method according to claim 1, wherein: The overall confirmation and feedback of the execution includes: If all the data blocks to be verified are verified successfully, the server returns a successful reception response; If any data block fails to pass the verification, or all the original data blocks cannot be successfully reconstructed, the server returns a reception failure response and triggers the retransmission mechanism to request the terminal to retransmit those incomplete or erroneous original data blocks.
6. An uplink data transmission system, based on the uplink data transmission method according to any one of claims 1 to 5, characterized in that: include, A parallel compression module is used to select an adaptive compression algorithm for data compression processing according to the type of multimedia data to be uploaded at the terminal device end; A redundancy generation module is used to divide the compressed data into original data blocks of fixed length and generate corresponding redundant data blocks for each original data block; A heterogeneous encryption module, for encrypting all data blocks including original data blocks and redundant data blocks by using an encryption algorithm based on heterogeneous encoding technology; A path planning module, for determining the optimal wireless access network path for each data block using an intelligent path selection algorithm, and uploading the encrypted data blocks in parallel through the selected path; The bandwidth adjustment module is used for receiving data from different wireless access network paths in real time on the server side, and dynamically adjusting the bandwidth allocation of each path according to the receiving situation; The decryption and reconstruction module is used to decrypt the received encrypted data block and check whether the original data block is lost or damaged.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the uplink data transmission method described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the uplink data transmission method according to any one of claims 1 to 5 are implemented.
