A file transfer system based on real-time encryption and decryption
Through a real-time encryption and decryption system based on an event-driven architecture, combined with blockchain identity verification and cryptography technology, temporary keys are dynamically generated, which solves the shortcomings of existing encryption technologies in key management and data integrity verification, and realizes efficient and flexible end-to-end file transfer, improving the security and stability of the system in a dynamic environment.
Patent Information
- Application Number
- CN202510559431.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-04-30
AI Technical Summary
Existing encryption technologies have complexity and insufficient security in key management and data integrity verification, especially in dynamic environments, and are vulnerable to man-in-the-middle attacks in public channels. The separation of traditional tools leads to high development complexity and difficulty in achieving efficient and flexible real-time file transfer.
A real-time encryption and decryption system based on an event-driven architecture is adopted, combining blockchain identity authentication, cryptography technology and intelligent feedback optimization mechanism, temporary keys are dynamically generated to achieve end-to-end file transmission security, identity authentication and data integrity verification are provided through the blockchain platform layer, algorithm support layer for encryption and decryption and signature, network connection layer for data classification and transmission optimization, and intelligent management layer coordinates the collaborative work of each layer.
It improves the security and flexibility of file transfer, enhances the security and integrity of data under the common channel, optimizes the real-time encryption transmission process, reduces the complexity of key management, and improves the adaptability and stability of the system in a dynamic environment.
Smart Images

Figure CN120074822B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of information security and data protection, and particularly relates to a file transfer system based on real-time encryption and decryption. Background Art
[0002] Key Management is the management part of encryption keys in a cryptographic system. It includes the full life cycle management of key generation, exchange, storage, use, key destruction, and key replacement, and involves cryptographic protocol design, key servers, user programs, and other related protocols.
[0003] The core goal of key management is to ensure the confidentiality, integrity, and availability of keys, while reducing the risks of key leakage and unauthorized use. Common key management techniques include symmetric key management and asymmetric key management. For example, in asymmetric encryption, the secure storage and exchange of public and private keys during communication are key parts of key management; while symmetric encryption usually relies on secure key distribution mechanisms and key update strategies to ensure security.
[0004] Data Integrity is one of the three basic elements of information security. During the process of transmitting, storing information or data, it ensures that the information or data is not tampered with without authorization or can be quickly detected after being tampered with.
[0005] Data integrity verification is an important means to ensure that data is not tampered with or damaged during transmission. Its core is to verify whether the received file is the same as the file sent by the sender. Common integrity verification methods include hash functions, Message Authentication Codes (MAC), and digital signature techniques. These methods usually ensure that the data during transmission has not been maliciously modified or accidentally damaged by calculating the unique check value of the file.
[0006] End-to-End Encryption (E2EE) is a communication system in which only the users participating in the communication can read the information, which can prevent potential eavesdroppers including telecommunications providers, Internet service providers, etc., and the provider of this communication system from obtaining the plaintext of the communication between the two parties.
[0007] There are obvious problems of complexity and insufficient security in key management.
[0008] Currently, existing encryption technologies usually rely on long-term key storage or pre-distribution mechanisms. For example, symmetric keys are transmitted through RSA encryption, or shared keys are generated using Diffie-Hellman key agreement. First, this mechanism requires complex key management. The storage cost of keys is high and there is a risk of leakage. Second, once the long-term key is leaked, the security of the entire communication may fail completely. In the application scenario of real-time file transfer, these solutions cannot flexibly meet the dynamic task allocation or instant transmission requirements because they rely on a pre-established trust chain or fixed key mechanism.
[0009] Although end-to-end encryption is an effective means to ensure transmission security, the existing solutions have poor adaptability in dynamic environments. For the threat of man-in-the-middle eavesdropping, the defense capabilities of existing solutions are limited. Especially in the key negotiation phase, the lack of an effective authentication mechanism is likely to lead to session hijacking.
[0010] The security of the public channel is also an important issue. Although the encrypted data is protected to a certain extent during transmission, it may still be subject to man-in-the-middle attacks or eavesdropping during the key negotiation and transmission phases, resulting in a decline in system security. Facing these problems, it is difficult for existing technologies to provide an efficient and flexible solution.
[0011] In addition, in traditional file encryption and transmission systems, it is relatively complex to implement the complete process from network connection establishment to key negotiation and then to file transmission. The difficulties are mainly reflected in the following aspects:
[0012] First, there is a lack of a tight cooperation mechanism between different functional modules, resulting in the need to combine multiple independent tools or libraries to implement the full process. For example, network connections are usually implemented through the standard Socket API, while key negotiation may rely on specific functions in an encryption library (such as OpenSSL), and file encryption and transmission may require additional scripts or tools for management. This fragmented implementation method not only leads to high development complexity but also makes the system prone to compatibility problems in actual deployment.
[0013] Second, the integration of key negotiation and network connection has a certain technical threshold in traditional systems. Especially when negotiating keys in a public channel, it is necessary to effectively defend against man-in-the-middle attacks. This usually requires developers to design and implement a digital signature verification process, while ensuring the security and credibility of the authentication of both communication parties and the exchange of public keys. This implementation method requires a relatively high level of security capabilities from developers, and once designed improperly, it may leave security vulnerabilities.
[0014] In addition, the integrity verification and encryption / decryption operations during the file transfer process are often processed independently of each other. In traditional solutions, file transfer tools (such as FTP or HTTP) and encryption tools (such as GPG) usually belong to different technical fields, and developers need to design additional processes to achieve the connection between the two. For example, it is necessary to manually use the transfer tool to upload the file after encryption and repeat the decryption operation at the receiving end. This method is not only cumbersome but also prone to data leakage or damage due to operation errors.
[0015] Finally, another key issue in implementing the entire process lies in dynamics and real-time performance. Traditional tools are usually designed for static or single scenarios. For example, GPG is suitable for static file encryption but not for real-time file transfer. To achieve dynamic and real-time full-process connection, the system needs to be able to dynamically generate and destroy session keys, process segmented transfer data in real time, and be able to effectively recover when data is lost or the connection is interrupted. Solving these problems requires higher design complexity and resource management capabilities. Summary of the Invention
[0016] In view of this, the present invention provides a file transfer system based on real-time encryption and decryption, which realizes highly scalable and intelligent real-time encryption and decryption transfer of files through dynamic adaptation and modular design based on an event-driven architecture.
[0017] A file transfer system based on real-time encryption and decryption provided by the present invention includes: a blockchain platform layer, an algorithm support layer, a network connection layer, an intelligent management layer, and a user interaction layer;
[0018] Among them, the blockchain platform layer is used to provide functions of distributed identity authentication, log management, and data integrity verification; the algorithm support layer is used to provide functions of file encryption and decryption, digital signature, and key negotiation in the file transfer process; the network connection layer is used for data classification processing, protocol selection, and secure transfer management; the intelligent management layer coordinates the collaborative work of each layer through an event-driven and intelligent feedback optimization mechanism, and is used for global performance monitoring, dynamic resource allocation, and collaborative optimization; the user interaction layer serves as the entrance of the system to provide users with task management, task visualization monitoring, and user resource management functions, and supports data upload, network parameter configuration, and decryption result viewing.
[0019] Furthermore, the blockchain platform layer includes an identity authentication module, a trusted audit module, and a log management module. Among them, the identity authentication module is used to authenticate user identities by using the identity hash value stored in the blockchain and smart contracts; the trusted audit module provides a complete audit record for tasks and encryption processes; the log management module records system operation logs and sends a log record event to the intelligent management layer after the recording is completed.
[0020] Further, when the blockchain platform layer receives the hash value of the file and the hash chain - up event sent by the sender, it performs the chain - up operation on the hash value; when it receives the hash value verification event, it sends the hash value to the receiver to complete the verification;
[0021] The identity verification module verifies the legitimacy of the source of the access request generated by the user interaction layer when it receives the identity verification event, and publishes the identity verification result to the intelligent management layer; when it receives the signature verification event, it sends the public key to the intelligent management layer and triggers the public key sending event; when it receives the update event, it verifies the identity information. If the information is correct, it updates the identity information, triggers the update completion event, writes the update result into the platform log, and then triggers the log recording event. Otherwise, it triggers the identity verification failure and retains the original information event;
[0022] The log management module sends the log to the intelligent management layer when it receives the log request event, and performs the log chain - up operation when it receives the log upload event.
[0023] Further, the algorithm support layer includes a file processing module, a lattice cryptography module, and an integrity verification module. The file processing module encrypts the file to be sent or decrypts the received encrypted file using a shared key and a symmetric cryptography algorithm, and compresses the file; the lattice cryptography module includes a lattice - based key exchange protocol and a digital signature algorithm; the integrity verification module is used to check the integrity of the received file. It compares the hash value of the received file with the hash value in the blockchain platform to verify the data integrity.
[0024] Further, in the process of file encryption, when the file processing module receives the file encryption event, it reads the file selected by the user interaction layer and performs pre - processing. After receiving the negotiation key completion event, it obtains the key sent by the lattice cryptography module to complete the encryption of the file to be sent, and triggers the file encryption completion event; in the process of file decryption, when it receives the integrity verification completion event, it decrypts the received encrypted file, performs post - processing on the file, and then writes it into the user resource directory, and triggers the file write completion event;
[0025] The lattice cryptography module generates its own shared information when it receives the key negotiation start event, obtains the public key of the other party from the blockchain platform layer, signs the shared information with the private key after verifying the identity of the other party, sends the signed shared information to the other party. When the shared information returned by the other party is verified to be correct, it generates a shared key, triggers the key negotiation completion event, and sends the key to the file processing module;
[0026] The integrity verification module reads the received file and calculates its hash value when receiving the file reception completion event, requests the hash value of the file before transmission from the blockchain platform layer, and triggers the integrity verification completion event when the two hash values are consistent; calculates the hash value of the file to be sent when receiving the file encryption completion event, and triggers the hash on-chain event; when receiving the file integrity verification event, performs integrity verification on the received file.
[0027] Furthermore, the network connection layer includes an intelligent data classification module, an intelligent performance optimization module, and a communication management module. The intelligent data classification module is used to distinguish the types of transmitted data. The intelligent performance optimization module dynamically selects the optimal transmission strategy according to the type of data during data transmission. The communication management module establishes an end-to-end information transmission link for both communication parties to form a network connection;
[0028] The communication management module establishes a network connection according to the input data obtained by the user interaction layer when receiving the link establishment event, and triggers the network connection success event; sends the exchange information generated by the lattice cipher block to the other party and receives the exchange information of the other party when receiving the key negotiation start event; sends the file and triggers the file transmission completion event when receiving the file transmission start event; obtains optimization data from the intelligent performance optimization module to optimize network transmission when receiving the performance optimization event;
[0029] The intelligent data classification module triggers the classification completion event after completing the classification of the file when receiving the file transmission completion event;
[0030] The intelligent performance optimization module triggers the network performance optimization event when monitoring that the transmission efficiency is lower than the threshold, and provides optimization data when receiving the computing resource request event.
[0031] Furthermore, the optimization data provided by the intelligent performance optimization module when receiving the computing resource request event is as follows: for file data larger than the threshold, a sharding transmission mechanism is adopted and data recombination and integrity verification are performed after transmission. For signature data, a lightweight transmission mode is adopted. Among them, the shard size in the sharding transmission mechanism is calculated by a genetic algorithm.
[0032] Furthermore, the intelligent management layer includes an event-driven module, an intelligent optimization module, and an intelligent exception handling module;
[0033] The event-driven module sends the task to the corresponding module for processing according to the task type when receiving the task creation event; the intelligent optimization module dynamically adjusts by selecting an optimization strategy in combination with the data fed back by the communication management module when receiving the network performance optimization event; the intelligent exception handling module triggers the computing resource request event when monitoring that the encryption processing time of the algorithm support layer is greater than the threshold;
[0034] The intelligent management layer triggers the key negotiation start event when receiving the network connection success event, triggers the file encryption event when receiving the key negotiation completion event, and triggers the file transfer start event when receiving the file encryption completion event; triggers the log upload event at the sender when receiving the file transfer completion event, triggers the file integrity verification event at the receiver and clears the task cache; uploads the generated hash value to the blockchain platform when receiving the hash chain event and writes it into the log by the log management module; distributes the classified data to each layer when receiving the classification completion event, triggers the authentication event when an access request is generated at the user interaction layer or during system initialization, and triggers the signature verification event during key exchange; when receiving the public key sending event, calls the lattice password module to check whether the corresponding public key exists. If it exists and is not expired, reads the public key and sends it to the signature verification module. Otherwise, calls the authentication module to request the public key again and triggers the signature verification event after successfully receiving the public key.
[0035] Furthermore, when receiving the network performance optimization event, it dynamically adjusts by selecting an optimization strategy in combination with the data fed back by the communication management module. The specific method is as follows: triggers the line switching event when the current main line is congested, and calls the communication management module to perform dynamic line switching; triggers the multi-thread optimization event when the data block of the task is greater than the threshold, and notifies the network connection layer to use parallel data streams for transmission; triggers the data classification adjustment event when the recognition of the data type is incorrect or the classification is inaccurate; triggers the performance optimization event when the above processing does not achieve the expected effect.
[0036] Furthermore, the user interaction layer includes a block management module, a task management module, and a visualization monitoring module;
[0037] The block management module is used to manage the information of the blockchain platform layer within the set permissions; the task management module is used to send task data to the intelligent management layer and trigger the task creation event; the visualization monitoring module is used to display the system status including network connection status, task progress, and blockchain storage status in real time and trigger the block query request event;
[0038] The block management module triggers the block information acquisition event when receiving the block query request event, and sends the parsed data to the visualization monitoring module after receiving the query result returned by the blockchain platform layer, triggering the monitoring data update event; the visualization monitoring module dynamically updates the user interface according to the received data. Beneficial effects
[0039] By introducing blockchain, the present invention avoids the risk of long-term key storage. Combining with an efficient key negotiation protocol, it realizes the rapid generation of temporary keys to meet the requirements of real-time transmission scenarios. Through the mechanism of combining encryption and digital signature, it enhances the data security and integrity in the public channel. In terms of the adaptability of end-to-end encryption, it optimizes the real-time encryption transmission process in the one-to-one scenario and enhances the security and flexibility of file transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 FIG. is a schematic diagram of the system architecture of a file transmission system based on real-time encryption and decryption provided by the present invention.
[0041] Figure 2 FIG. is a schematic diagram of the process of real-time encryption and decryption of file transmission using a file transmission system based on real-time encryption and decryption provided by the present invention in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0042] The following examples are listed in conjunction with the drawings to describe the present invention in detail.
[0043] An event-driven architecture (Event Driven Architecture, EDA). An event-driven framework (EDA) defines a methodology for designing and implementing an application system in which events can be transmitted between loosely coupled components and services. An event-driven system typically consists of event consumers and event producers. Event consumers subscribe to events from the event manager, and event producers publish events to the event manager. When the event manager receives an event from an event producer, the event management forwards this event to the corresponding event consumer. If this event consumer is unavailable, the event manager will retain this event and forward it to the event consumer again after a period of time. This event transmission method in a message-based system is: store and forward.
[0044] A file transmission system based on real-time encryption and decryption provided by the present invention has a core idea that: through a mechanism of dynamically generating and instantaneously destroying temporary keys, combined with the organic combination of lattice-based quantum-resistant cryptography technology, event-driven architecture (EDA), blockchain authentication platform, and intelligent feedback optimization mechanism, a file encryption transmission system with dynamic adaptability, high security, and full-process credibility is constructed. On the premise of ensuring the identities of both known communication parties, end-to-end file transmission security is achieved, and the problems of complex key management, weak data integrity verification, and man-in-the-middle attack threats in traditional solutions are solved.
[0045] A file transmission system based on real-time encryption and decryption provided by the present invention, the system architecture is as Figure 1As shown in the figure, it includes: blockchain platform layer, algorithm support layer, network connection layer, intelligent management layer, and user interaction layer.
[0046] Among them, the blockchain platform layer is used to provide distributed identity authentication, log management, and data integrity verification functions, record key operations in the system through smart contracts, and ensure the credibility and traceability of the system; the algorithm support layer is used to provide file encryption and decryption, digital signature, and key negotiation functions in the file transfer process, support a variety of cryptographic algorithms, including file encryption and decryption algorithms, lattice-based digital signature algorithms, key negotiation protocols, and integrity verification algorithms, to ensure data confidentiality and transmission security; the network connection layer is used for data classification processing, protocol selection, and secure transmission management, supports real-time data sharding, routing optimization, and transmission exception handling, is responsible for network communication-related functions, and introduces evolutionary algorithms in computational mathematics into network efficiency optimization and machine learning-based data classification on the basis of establishing network connection communication. It is the core layer for realizing communication; the intelligent management layer is used for global performance monitoring, dynamic resource allocation, and collaboration optimization, is responsible for coordinating the collaborative work among layers, realizes system dynamic adaptation and performance improvement through event-driven and intelligent feedback optimization mechanisms, and uses machine learning algorithms to improve system operation efficiency and ensure stability in complex environments; the user interaction layer is used to provide user input and result output functions, provides an intuitive interface and operation commands for users, etc., supports operations such as data upload, network parameter configuration, and decryption result viewing, and provides task management, task visualization monitoring functions, and user resource management as the entrance of the system to users.
[0047] 1. Blockchain Platform Layer
[0048] The blockchain platform layer is an important part of this system. Utilizing the characteristics of blockchain such as decentralization, immutability, and transparent traceability, it provides technical support for the system's identity verification, data integrity guarantee, and operation auditing. In a data transmission system, identity verification and operation tracking are important links to ensure security and credibility. However, traditional centralized identity verification systems may face problems such as single-point failures, data tampering, and trust crises, while the distributed ledger and smart contract capabilities of blockchain technology can effectively overcome these deficiencies.
[0049] The blockchain platform layer includes an identity verification module, a trusted audit module, and a log management module. Among them, the identity authentication module is used to authenticate user identities through distributedly stored identity hash values and smart contracts; the log management module records system operation logs to ensure the immutability of key operations; the trusted audit module provides complete audit records and traceability capabilities for tasks and encryption processes.
[0050] The authentication module uses blockchain to store the public keys and relevant authentication information of both communication parties, and utilizes the distributed characteristics of blockchain to ensure the authenticity and non-forgeability of identity information during key negotiation and signature verification.
[0051] Specifically, when receiving an authentication event triggered by the intelligent management layer, the authentication module verifies the source legality of the access request generated by the user interaction layer and publishes the authentication result to the intelligent management layer; when receiving a signature verification event triggered by the intelligent management layer, the authentication module sends the public key to the intelligent management layer and triggers a public key sending event. Among them, the role of the public key sending event is to ensure that the intelligent management layer can obtain the correct public key for signature verification.
[0052] When receiving an update event triggered by the intelligent management layer, the authentication module verifies the identity information. If the information is correct, it updates the identity information and triggers an update completion event. The update result is written into the platform log and triggers a log recording event; otherwise, it retains the current information and triggers an event of retaining the original information in case of authentication failure.
[0053] The blockchain platform layer supports dynamic updates, can manage and revoke authentication information in real time, and improves the system's adaptability to complex identity management requirements.
[0054] The trusted audit module is used to compare the hash value of the file generated during the file transfer process of the system with the blockchain record to ensure that the file has not been tampered with. Even if transmission errors or malicious attacks occur, the problem can be quickly located and remedial measures can be taken. The blockchain platform layer first receives the file hash value and the hash uploading event sent by the sender, uploads the hash value to the chain and then waits for the receiver to request the hash value. When receiving the hash value verification event sent by the receiver, it triggers the blockchain platform layer to send the hash value to the receiver to complete the verification.
[0055] Log management module: The system uploads all key operations and transmission records to the chain after hash processing, including key negotiation logs, file transfer records, login and identity update operations, to ensure the integrity and non-tamperability of these records. After the recording is completed, a log recording event is sent to the intelligent management layer. The audit administrator can query the blockchain to obtain the full-process operation records to achieve traceability of abnormal behaviors and responsibility division. The administrator requests to view the logs through the interaction layer, and this request is received by the intelligent management layer and the intelligent management layer triggers a log request event. After receiving the log request event, the log management module sends the logs to the administrator and at the same time records the administrator's operations in the administrator's exclusive log. When receiving the log request event triggered by the intelligent management layer, the log management module sends the logs to the intelligent management layer; when receiving the log upload event triggered by the intelligent management layer, the log management module performs the log uploading operation.
[0056] By storing identity information, operation logs, and file hash records in the blockchain platform layer, the whole process credibility guarantee from identity authentication, permission management to data integrity verification is realized. The immutable feature of the blockchain provides a reliable basis for data traceability and auditing, effectively preventing tampering or malicious operations.
[0057] 2. Algorithm Support Layer
[0058] The algorithm support layer is the core computing module of the system, mainly used to provide functions such as data encryption and decryption, key negotiation, and digital signature, to ensure the data security and operation credibility of the entire system. This layer combines the current most advanced cryptographic algorithms, including lattice cryptosystems for key negotiation and digital signature, and efficient block encryption algorithms for data encryption. As an important technology for post-quantum cryptography, lattice cryptography can resist potential quantum computing attacks and improve the long-term security of the system.
[0059] The algorithm support layer includes a file processing module, a lattice cryptography module, and an integrity verification module.
[0060] The file processing module encrypts the file to be sent or decrypts the received encrypted file using a shared key and symmetric cryptography algorithms, and compresses the source file.
[0061] Specifically, during the file encryption process, when receiving a file encryption event triggered by the intelligent management module, the file processing module schedules available resources to read the file selected by the user interaction layer, preprocesses it according to the file size and type, and after receiving the negotiation key completion event, obtains the key sent by the lattice cryptography module to complete the encryption of the file to be sent, and triggers a file encryption completion event, waiting for the network connection layer to read and transmit. During the file decryption process, when receiving an integrity verification completion event triggered by the integrity verification module, the file processing module decrypts the received encrypted file and post-processes the file, then writes it into the user resource directory and triggers a file write completion event.
[0062] Among them, the shared key is generated by the lattice cryptography module through key negotiation. The method of compressing the source file is to compress it using a file compression algorithm before file encryption transmission to improve the transmission efficiency. To further adapt to multiple file types, the file processing module also has file format preprocessing and postprocessing functions to prevent the file from being unavailable due to unexpected changes in the format during the encryption and decryption process. The preprocessing includes format processing and file content compression. The postprocessing includes file decompression and file format recovery.
[0063] The lattice password module includes a lattice-based key exchange protocol and a digital signature algorithm. In the key exchange protocol, when the two communicating parties conduct key negotiation, a one-time temporary shared key is generated through the lattice password protocol to ensure the confidentiality and anti-attack ability of the key exchange process. This key is used as the key for the encryption algorithm of the file encryption / decryption function.
[0064] Specifically, when receiving the key negotiation start event triggered by the intelligent management layer, the lattice password module generates its own shared information and obtains the public key of the communication partner from the blockchain platform layer. After verifying the identity of the communication partner, it uses the private key to sign the shared information with the digital signature algorithm and sends the signed shared information to the communication partner to wait for the shared information returned by the other party. When the returned shared information is verified to be correct, a shared key is generated, and the key negotiation completion event is triggered, and the key is sent to the file processing module.
[0065] Since the key exchange protocol is vulnerable to man-in-the-middle attacks, during the process of sharing the key between the two parties, it is necessary to ensure that the shared information has not been hijacked and replaced. The present invention solves this problem through the digital signature algorithm in the lattice password module. Before the key negotiation, the public key is shared through the blockchain platform so that both parties can verify whether the received data comes from the correct IP. During the negotiation process, the data to be shared by both parties is signed with the private key and then sent to ensure the credibility and verifiability of the key negotiation process.
[0066] The integrity verification module is used to check the integrity of the received file. It compares the hash value of the received file with the hash value in the blockchain platform to verify the data integrity. At the same time, this module of the sender is responsible for calculating the hash of the file to be sent and uploading it to the blockchain platform for verification by the receiver.
[0067] Specifically, when receiving the file reception completion event triggered by the user interaction layer, the integrity verification module reads the received file and calculates its hash value, and requests the hash value of the file before transmission from the blockchain platform layer, compares the two hash values, and triggers the integrity verification completion event when they are consistent; when receiving the file encryption completion event triggered by the file processing module, the integrity verification module calculates the hash value of the file to be sent and triggers the hash on-chain event; when receiving the file integrity verification event triggered by the intelligent management layer, it performs integrity verification on the received file.
[0068] 3. Network connection layer
[0069] The network connection layer is the transmission core module of the system, responsible for data transmission, classification, and integrity verification, ensuring the reliability and security of the transmission process. It mainly includes an intelligent data classification module, an intelligent performance optimization module, and a communication management module.
[0070] Specifically, when receiving a link establishment event triggered by the intelligent management layer, the communication management module establishes an end-to-end information transmission link for both communication parties based on the input data obtained from the user interaction layer to form a network link, and triggers a network connection success event; when receiving a key negotiation start event triggered by the intelligent management layer, the communication management module sends the exchange information generated by the lattice cipher block to the other party and receives the exchange information of the other party; when receiving a file transfer start event triggered by the intelligent management layer, the communication management module sends the file and triggers a file transfer completion event; when receiving a performance optimization event triggered by the intelligent management layer, the communication management module obtains optimization data from the intelligent performance optimization module to optimize network transmission.
[0071] The intelligent data classification module is used to distinguish the types of transmitted data, such as file data, signature data, and network control information, etc. This module adopts a classification algorithm based on feature extraction and combines a machine learning model to improve the accuracy and real-time performance of classification. When receiving a file transfer completion event triggered by the communication management module, the intelligent data classification module sorts and classifies the received file, and then triggers a classification completion event. The management layer captures the event, distributes the classified data to each module, and passes the trigger event to each module.
[0072] The intelligent performance optimization module dynamically selects the optimal transmission strategy according to the classification results obtained by the intelligent data classification module during the data transmission process. The intelligent performance optimization module has a built-in real-time monitoring function. When it detects that the transmission efficiency is lower than the threshold due to excessive data volume or poor network status, it triggers a network performance optimization event; when receiving a computing resource request event triggered by the file processing module, the intelligent performance optimization module uses a reinforcement learning algorithm to temporarily increase computing resources for the algorithm support layer or execute in parallel.
[0073] The optimization data provided by the intelligent performance optimization module is an optimization strategy generated by a reinforcement learning algorithm. Specifically, for large file data, a sharding transmission mechanism is preferably adopted and data reorganization and integrity verification are performed after the transmission is completed. For signature data, a lightweight transmission mode is adopted to improve the transmission speed. Further, the present invention can use a genetic algorithm to calculate the optimal shard size.
[0074] In addition, the intelligent performance optimization module has a built-in exception handling mechanism. When the built-in real-time monitoring function detects transmission failure or excessive delay, it automatically triggers retransmission or attempts to switch lines to ensure the continuity and stability of data transmission, and triggers a network exception event. If the intelligent management layer sends other parameters or commands, it executes the commands of the intelligent management layer and triggers an execution completion event.
[0075] 4. Intelligent Management Layer
[0076] The intelligent management layer is the control and optimization center of the system, responsible for monitoring the running status of each module and making dynamic adjustments. It realizes efficient cooperation and intelligent optimization among modules by combining the event-driven architecture (EDA) and machine learning methods.
[0077] During the operation of the system, the intelligent management layer collects operation data, including task status, resource consumption, error logs, etc., and processes and analyzes the operation data through built-in analysis models, generating optimization suggestions or directly adjusting system parameters according to the analysis results.
[0078] When receiving the public key sending event triggered by the authentication module, the intelligent management layer calls the lattice cryptography module to check whether the public key corresponding to the user has been stored. If the public key already exists and has not expired, it is directly read from the cache and returned to the signature verification module; if it does not exist or has expired, the latest public key is requested again through the authentication module of the blockchain platform layer, stored in the cache after verifying its integrity, and the signature verification event is triggered after successfully receiving the public key. Among them, the signature verification event is used to call the authentication module of the blockchain platform layer to perform signature verification, and finally the verification result is sent to the intelligent management layer, and the intelligent optimization module decides whether to allow the data transmission to continue.
[0079] When receiving the task creation event triggered by the user interaction layer, the intelligent management layer completes the task allocation according to the received task data; during the task allocation process, the event-driven module is responsible for listening to the task creation event and sending the task to the corresponding sub-module for processing according to the task type (file transfer, signature verification, network information transfer, etc.).
[0080] When receiving a network performance optimization event triggered by the intelligent performance optimization module, that is, when the transmission efficiency of the network connection layer decreases at this time, the intelligent optimization module of the intelligent management layer combines the data fed back by the communication management module and selects an appropriate optimization strategy for dynamic adjustment: when the network load balancing strategy detects congestion on the current main line, the intelligent management layer triggers a line switching event and calls the communication management module to perform dynamic line switching, such as switching to a backup channel or enabling multipath transmission (such as MP-TCP); when it is detected that the data block of a task is large, the intelligent management layer triggers a multi-thread optimization event and notifies the network connection layer to use parallel data streams for transmission to improve throughput; when an incorrect identification or inaccurate classification of the data type is found, the intelligent management layer triggers a data classification adjustment event and notifies the intelligent data classification module to update the data classification rules and adjust the priority according to the current network conditions, such as reducing the transmission priority of large files and increasing the priority of short data packets; when all optimization measures fail to achieve the expected effect, the intelligent management layer triggers a performance optimization event, notifies the intelligent performance optimization module to re-evaluate the network status, and adjusts the optimization strategy according to historical data, such as switching to a low-latency compression mode, adjusting the window size, or optimizing the ACK confirmation mechanism. Through this mechanism, the intelligent management layer ensures dynamic adaptation of optimization strategies under different network conditions, improving the transmission stability and overall efficiency of the system.
[0081] When it is monitored that the encryption processing time of the algorithm support layer is greater than the threshold, the intelligent management layer triggers a computing resource request event; when receiving an event triggered by other layers, the intelligent management layer updates the current task information to the user interaction layer; when receiving a network connection success event triggered by the communication management module, the intelligent management layer triggers a key negotiation start event; when receiving a key negotiation completion event triggered by the lattice cipher module, it triggers a file encryption event; when receiving a file encryption completion event triggered by the file processing module, it triggers a file transmission start event; when receiving a file transmission completion event triggered by the communication management module, it triggers a log upload event at the sender and a file integrity verification event at the receiver, and clears the task cache; when receiving a hash chain event triggered by the integrity verification module, the intelligent management layer uploads the generated hash value to the blockchain platform and writes it into the log by the log management module; when receiving a classification completion event triggered by the intelligent data classification module, the intelligent management layer distributes the classified data to each layer.
[0082] When receiving a network anomaly event triggered by the intelligent performance optimization module, the optimization module of the intelligent management layer analyzes the running logs of each layer in real time, identifies potential problems, and proposes solutions. The specific methods are as follows:
[0083] First, the intelligent optimization module accesses the historical and real-time log data stored in the blockchain platform through the log management module, and classifies the types of network anomalies in combination with anomaly detection algorithms (such as Isolation Forest, Z-score detection), such as bandwidth bottlenecks, connection timeouts, packet losses, or abnormal traffic surges.
[0084] Secondly, after identifying the anomaly type, the intelligent optimization module triggers an optimization decision event and takes different measures according to the specific situation: if the anomaly is a bandwidth bottleneck or high latency, it calls the communication management module to re-evaluate the current line and triggers a line adjustment event to switch to a better network path; if the anomaly is a packet loss or an abnormal increase in the retransmission rate, it triggers a transmission protocol adjustment event to instruct the network connection layer to optimize the transmission protocol, such as adjusting the TCP congestion control algorithm (such as BBR, CUBIC) or adopting UDP + FEC (Forward Error Correction) to enhance reliability; if abnormal network traffic is detected, it triggers a security warning event to notify the trusted audit module to conduct a traceability analysis and send a warning message to the visualization monitoring module of the user interaction layer.
[0085] Thirdly, when receiving the execution completion event triggered by the intelligent performance optimization module, the intelligent management layer first confirms whether the optimization measure has taken effect successfully. The intelligent optimization module will trigger an execution feedback event, return the optimization result to the log management module for recording, and store the feedback data in the trusted audit module of the blockchain platform to ensure traceability. At the same time, the intelligent optimization module will also trigger a policy adjustment event to update the optimization policy library to make subsequent optimization decisions more targeted. When the optimization measure is successful, the intelligent management layer will trigger a system stability event to notify each layer to resume the normal working state. If the expected result is not achieved, the management layer will trigger a secondary optimization event to reselect the optimization policy in combination with historical data to ensure the best transmission performance is finally achieved.
[0086] When an access request is generated at the user interaction layer or during system initialization, the intelligent management layer triggers an authentication event; when key exchange occurs, the intelligent management layer triggers a signature verification event.
[0087] Furthermore, when the intelligent management layer detects task interruption or abnormal resource usage, it selects retry, adjustment, or alarm strategies according to the event priority. In addition, the intelligent management layer collaborates with the blockchain platform layer to verify the problem source through audit records, providing a comprehensive basis for system traceability and optimization. Through the introduction of the intelligent management layer, the system can maintain high efficiency and stability in a complex and changing operating environment, realizing the transformation from passive response to active optimization, fully reflecting the intelligent design concept of this system.
[0088] 5. User Interaction Layer
[0089] The user interaction layer is the bridge between the system and the user, responsible for receiving user input and feedback the processing results to the user, ensuring the operability and friendliness of the system. It mainly provides functions such as data upload, operation command input and result display. Through this layer, users can complete the full process of data transmission. The user interaction layer includes a block management module, a task management module and a visualization monitoring module.
[0090] Among them, the block management module provides users with the query function of the blockchain platform layer information and the management function of the block information within the scope of permissions.
[0091] The task management module realizes the dynamic management of multiple tasks, including task priority, resource allocation, etc. After the user creates a task, the task management module sends the task data to the intelligent management layer and triggers a task creation event.
[0092] The visualization monitoring module is used to display the system status in real time, including key data such as network connection status, task progress, and blockchain storage status. This module will send a block query request event to the block management module, requesting to obtain relevant information of the blockchain platform layer, such as authentication logs, transmission records, and smart contract execution status.
[0093] When the block management module receives the block query request event, it will send a block information acquisition event to the blockchain platform layer, requesting to query the transaction records or authentication status stored in the blockchain. The log management module or the trusted audit module of the blockchain platform layer responds to the request, returns the query result to the block management module, and triggers a block query result event.
[0094] After receiving the query result returned by the blockchain platform layer, the block management module will send the parsed data to the visualization monitoring module and trigger a monitoring data update event. The visualization monitoring module then dynamically updates the user interface according to the received data, enabling users to intuitively view the system status, data flow, and security audit information.
[0095] In addition, the visualization monitoring module will also display the anomaly detection events of the intelligent management layer. When the system detects an anomaly event (such as network anomaly, authentication failure, task timeout, etc.), the event-driven module will receive the anomaly event and trigger an anomaly alarm. The visualization monitoring module will display relevant alarm information on the user interface to remind users to take necessary intervention or operations.
[0096] All functions of this layer provide users with multiple development interaction methods, including CLI, WEB interaction, and GUI interaction. Through these interaction methods, user layer events are triggered. The management layer accepts these events, further processes the input, and sends other events. When a user logs in, the interaction layer sends data requests and login events to the management layer. The management layer receives the login events, sends login verification events and identity data to the blockchain platform, waits for the platform to return the login verification result event, and then feedbacks the login result to the user layer.
[0097] In addition, the blockchain platform layer also supports smart contract functions for automating the management of identity authentication processes and security policies. When the two communicating parties first establish a connection, the smart contract can automatically check the authentication information of both parties, dynamically adjust the security configuration according to preset rules, monitor and review the logs uploaded during the transmission process in real time, and send security level change events to the management layer. At the same time, the smart contract can also send task exception events to the management layer under specific conditions, such as when abnormal login attempts or file format inconsistencies are detected in the logs, enabling the management layer to automatically trigger an alarm or issue an instruction to interrupt the transmission, further enhancing the security of the system.
[0098] This system adopts a modular design. Each layer achieves efficient dynamic collaboration through an event-driven architecture (EDA), and combines data flow and feedback mechanisms to ensure the high-performance operation and security guarantee of the entire system in a complex environment.
[0099] As the trust root of the system, the blockchain platform layer provides basic support for user identity authentication and data integrity verification. When a user submits identity information through the user interaction layer, this layer automatically verifies the identity legitimacy through hash value comparison and smart contracts, and feedbacks the verification result to the user interaction layer. At the same time, the blockchain platform is also responsible for recording the logs of transmission tasks in the network connection layer and encryption operations in the algorithm support layer, ensuring the traceability and immutability of the operation process.
[0100] The user interaction layer is the entry and exit of the system, maintaining real-time interaction with all other layers. When a user uploads information such as files, enters IP addresses and ports, etc., the user interaction layer classifies this data and passes it to the algorithm support layer and the network connection layer respectively. For example, file data is encrypted and transmitted through the network connection layer, while identity information is verified by the blockchain platform layer. The user interaction layer also adjusts the interface layout and prompt information according to the optimization suggestions provided by the intelligent feedback optimization layer, such as displaying the network connection status and encryption task progress in real time. Finally, the user interaction layer presents the decrypted files, transmission logs, and other results to the user in a visual manner.
[0101] The connection between the algorithm support layer and the network connection layer is reflected in the data encryption / decryption and signature verification processes. Before transmission, the network connection layer passes the classified file data or control information to the algorithm support layer, which performs encryption or signature operations and returns the results. After transmission, the algorithm support layer verifies the signature and decrypts the file to ensure data integrity and confidentiality. The algorithm support layer also collaborates with the blockchain platform layer to record operation logs during key negotiation and signature processes, ensuring the credibility of critical steps. The intelligent feedback optimization layer monitors the resource usage of the algorithm support layer in real time, such as computing latency or key generation efficiency, and dynamically adjusts algorithm parameters or resource allocation strategies.
[0102] The network connection layer is the core of data flow and has a close connection with the algorithm support layer and the user interaction layer. The classification of file data and signature data is completed by the network connection layer, and then an appropriate transmission protocol is selected according to the data type and the algorithm support layer is called for encryption or signature operations. The network connection layer is also responsible for receiving network parameters (such as target IP, port) submitted by the user interaction layer, establishing a communication connection, and feeding back the results to the user interaction layer after completing the data transmission task. At the same time, the network connection layer interacts with the intelligent feedback optimization layer in real time, receiving optimization suggestions to adjust the transmission strategy, such as switching routes or adjusting shard sizes, to improve transmission efficiency and reliability.
[0103] The intelligent feedback optimization layer runs throughout the system and works in coordination with all layers. By collecting operation records of the user interaction layer, transmission status of the network connection layer, computing efficiency of the algorithm support layer, and audit logs of the blockchain platform layer, the intelligent feedback optimization layer conducts a global analysis of the system operation status and dynamically adjusts parameters and optimization strategies according to the results. For example, when the encryption efficiency of the algorithm support layer decreases, the intelligent feedback optimization layer will preferentially allocate more computing resources to it; when the transmission of the network connection layer is abnormal, this layer will suggest switching to an alternative channel or optimizing the shard strategy. In addition, the intelligent feedback optimization layer is also responsible for synchronizing the operation logs of each module to the blockchain platform layer, providing a reliable basis for system traceability and improvement. Embodiment
[0104] In this embodiment, a file transmission system based on real-time encryption / decryption provided by the present invention is adopted to achieve real-time secure transmission of confidential files. The processing flow is as Figure 2 shown, and specifically includes the following steps: First, it is required that the sender and the receiver clarify the file to be sent and the directory for receiving the file, and both parties need to clarify each other's IP address and open port to establish a network connection, so as to achieve effective two-way network communication, complete key exchange and file transmission, and the receiver must ensure that the directory has writable permissions.
[0105] S1. Establish a connection and exchange public keys. When both parties already know each other's network information, a reliable one-to-one connection is established through the TCP / IP protocol or any appropriate network protocol. In this example, a socket is used to establish the connection. The establishment of the connection is two-way, and both parties exchange digital signature public keys through the blockchain platform.
[0106] S2. Key generation. Use lattice-based cryptography such as NTRU or a key agreement protocol based on homomorphic encryption to generate a one-time file encryption and decryption key. To prevent man-in-the-middle attacks, the negotiation information sent is signed using the private key corresponding to the exchanged signature public key. Generate the key after mutual identity confirmation, otherwise terminate.
[0107] Using a key agreement protocol based on lattice cryptography and a digital signature algorithm can effectively ensure the computational security during the key agreement process and avoid the private key being cracked due to improper public key selection.
[0108] S3. File encryption. When both communication parties have the file encryption key for this time, the file sender uses the generated key as the encryption key for the block cipher AES-128 and encrypts the file.
[0109] S4. File transfer. The sender generates an encrypted file, generates a SHA256 hash value to verify the file integrity, and finally sends the encrypted file and uploads the hash value to the blockchain.
[0110] Since the MD5 and SHA-1 algorithms can already be collided, the hash algorithm actually used should be a hash algorithm with higher strength than these two algorithms.
[0111] S5. Verify integrity, decrypt and write to file: The receiver receives the encrypted file, first generates the SHA256 hash value of the received file and compares it with the SHA256 hash value on the platform to verify the data integrity. After confirming that the file has not been artificially or accidentally modified, use the file decryption key, that is, the file encryption key of the sender, to decrypt and obtain the original file.
[0112] After the above steps, the entire process from establishing a network connection, generating a shared key, sending an encrypted file to finally decrypting the file is completed.
[0113] Finally, it should be noted that: Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these changes and modifications.
[0114] The above is only one embodiment of the present invention, but it cannot limit the scope of the present invention. Any structural changes made in accordance with the present invention, as long as they do not deviate from the essence of the present invention, should be regarded as falling within the protection scope of the present invention and being restricted. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process and related explanations of the above-described method can refer to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0115] The term "comprising" or any other similar term is intended to cover non-exclusive inclusion, so that a process, method, article or apparatus / method comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent in these processes, methods, articles or apparatus / methods.
[0116] So far, the technical solution of the present invention has been described in combination with the further embodiments shown in the drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0117] In summary, the above is only the preferred embodiment of the present invention, and is not used to limit the protection scope of the present invention. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A file transfer system based on real-time encryption and decryption, characterized in that, Including: A blockchain platform layer, an algorithm support layer, a network connection layer, an intelligent management layer, and a user interaction layer; Among them, the blockchain platform layer is used to provide functions such as distributed identity authentication, log management, and data integrity verification. The algorithm support layer is used to provide functions such as file encryption and decryption, digital signature, and key negotiation in the file transfer process. The network connection layer is used for data classification processing, protocol selection, and secure transmission management; The intelligent management layer coordinates the collaborative work of each layer through an event-driven and intelligent feedback optimization mechanism, and is used for global performance monitoring, dynamic resource allocation, and collaborative optimization; The user interaction layer serves as the entry of the system to provide users with task management, task visualization monitoring, and user resource management functions, and supports data upload, network parameter configuration, and decryption result viewing; The intelligent management layer includes an event-driven module, an intelligent optimization module, and an intelligent exception handling module; The event-driven module sends tasks to the corresponding modules for processing according to the task type when receiving a task creation event; The intelligent optimization module dynamically adjusts by selecting an optimization strategy in combination with the data fed back by the communication management module when receiving a network performance optimization event; The intelligent exception handling module triggers a computing resource request event when it monitors that the encryption processing time of the algorithm support layer is greater than the threshold; The intelligent management layer triggers a key negotiation start event when receiving a network connection success event, triggers a file encryption event when receiving a key negotiation completion event, and triggers a file transfer start event when receiving a file encryption completion event; When receiving a file transfer completion event, it triggers a log upload event at the sender, triggers a file integrity verification event at the receiver, and clears the task cache; When receiving a hash chain-up event, it uploads the generated hash value to the blockchain platform and writes it into the log by the log management module; When receiving a classification completion event, it distributes the classified data to each layer, triggers an authentication event when an access request occurs in the user interaction layer or during system initialization, and triggers a signature verification event during key exchange; When receiving a public key sending event, it calls the lattice cryptography module to check whether the corresponding public key exists. If it exists and has not expired, it reads the public key and sends it to the signature verification module. Otherwise, it calls the authentication module to request the public key again, and triggers a signature verification event after successfully receiving the public key; When receiving a network performance optimization event, it dynamically adjusts by selecting an optimization strategy in combination with the data fed back by the communication management module. The specific method is as follows: When the current main line is congested, it triggers a line switching event and calls the communication management module to perform dynamic line switching; When the data block of the task is greater than the threshold, it triggers a multi-thread optimization event and notifies the network connection layer to use parallel data streams for transmission; When there is an incorrect identification or inaccurate classification of the data type, it triggers a data classification adjustment event; When the above processing does not achieve the expected effect, it triggers a performance optimization event.
2. The file transfer system according to claim 1, wherein The blockchain platform layer includes an identity authentication module, a trusted audit module, and a log management module. Among them, the identity authentication module is used to authenticate user identities by using the identity hash values stored in the blockchain and smart contracts; the trusted audit module provides a complete audit record for tasks and encryption processes; the log management module records system operation logs and sends log record events to the intelligent management layer after the recording is completed.
3. The file transfer system according to claim 2, characterized in that, When the blockchain platform layer receives the hash value of the file sent by the sender and the hash-on-chain event, it performs an on-chain operation on the hash value; when it receives a hash value verification event, it sends the hash value to the recipient to complete the verification. The identity authentication module, when receiving an identity authentication event, verifies the source legality of the access request generated by the user interaction layer and publishes the identity authentication result to the intelligent management layer; when receiving a signature verification event, it sends the public key to the intelligent management layer and triggers a public key sending event. When receiving an update event, it verifies the identity information. If the information is correct, it updates the identity information, triggers an update completion event, writes the update result into the platform log, and then triggers a log record event; otherwise, it triggers an identity authentication failure event to retain the original information. The log management module, when receiving a log request event, sends the log to the intelligent management layer, and when receiving a log upload event, performs a log on-chain operation.
4. The file transfer system according to claim 1, wherein, The algorithm support layer includes a file processing module, a lattice cryptography module, and an integrity verification module. The file processing module encrypts the file to be sent or decrypts the received encrypted file by using a shared key and a symmetric cryptography algorithm, and compresses the file. The lattice cryptography module includes a lattice-based key exchange protocol and a digital signature algorithm; the integrity verification module is used to check the integrity of the received file. It compares the received file hash value with the hash value in the blockchain platform to verify data integrity.
5. The file transfer system according to claim 4, wherein The file processing module, during the file encryption process, when receiving a file encryption event, reads the file selected by the user interaction layer and performs preprocessing. After receiving the negotiated key completion event, it obtains the key sent by the lattice cryptography module to complete the encryption of the file to be sent, and triggers a file encryption completion event. During the file decryption process, when receiving an integrity verification completion event, it decrypts the received encrypted file, performs post-processing on the file, writes it into the user resource directory, and triggers a file write completion event. The lattice cryptography module, when receiving a key negotiation start event, generates its own shared information, obtains the other party's public key from the blockchain platform layer, signs the shared information with the private key after verifying the other party's identity, sends the signed shared information to the other party. When the shared information returned by the other party is verified to be correct, it generates a shared key, triggers a key negotiation completion event, and sends the key to the file processing module. The integrity verification module reads the received file and calculates its hash value when receiving the file reception completion event, requests the hash value of the file before transmission from the blockchain platform layer, and triggers the integrity verification completion event when the two hash values are consistent; calculates the hash value of the file to be sent when receiving the file encryption completion event, and triggers the hash on-chain event; when receiving the file integrity verification event, performs integrity verification on the received file.
6. The file transfer system according to claim 1, characterized in that, The network connection layer includes an intelligent data classification module, an intelligent performance optimization module, and a communication management module. The intelligent data classification module is used to distinguish the types of transmitted data. The intelligent performance optimization module dynamically selects the optimal transmission strategy according to the type of data during data transmission. The communication management module establishes an end-to-end information transmission link for both communication parties to form a network connection; The communication management module establishes a network connection according to the input data obtained from the user interaction layer when receiving the link establishment event, and triggers the network connection success event; When receiving the key negotiation start event, it sends the exchange information generated by the lattice cipher block to the other party and receives the exchange information of the other party; when receiving the file transmission start event, it sends the file and triggers the file transmission completion event; when receiving the performance optimization event, it obtains optimization data from the intelligent performance optimization module to optimize network transmission; The intelligent data classification module triggers the classification completion event after completing the classification of the file when receiving the file transmission completion event; The intelligent performance optimization module triggers the network performance optimization event when it monitors that the transmission efficiency is lower than the threshold, and provides optimization data when receiving the computing resource request event.
7. The file transfer system according to claim 6, characterized in that, The optimization data provided by the intelligent performance optimization module when receiving the computing resource request event is as follows: for file data larger than the threshold, a sharding transmission mechanism is adopted and data recombination and integrity verification are performed after transmission. For signature data, a lightweight transmission mode is adopted. Among them, the shard size in the sharding transmission mechanism is calculated by a genetic algorithm.
8. The file transfer system according to claim 1, wherein, The user interaction layer includes a block management module, a task management module, and a visualization monitoring module; The block management module is used to manage the information of the blockchain platform layer within the set permissions; The task management module is used to send task data to the intelligent management layer and trigger the task creation event; The visualization monitoring module is used to display the system status including network connection status, task progress, and blockchain storage status in real time, and trigger the block query request event; The block management module triggers the block information acquisition event when receiving the block query request event, and sends the parsed data to the visualization monitoring module after receiving the query result returned by the blockchain platform layer, triggering the monitoring data update event; The visualization monitoring module dynamically updates the user interface according to the received data.
Citation Information
Patent Citations
Distributed data transmission method, device and system
CN115412568A