A secure storage and transmission system for drone library data
By installing an edge processing unit in the drone hangar to encrypt and compress the drone hangar data, the problems of insufficient security protection of drone hangar equipment and data file leakage are solved, and the secure storage and transmission of data is realized.
Patent Information
- Application Number
- CN202411938945.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-01
AI Technical Summary
Because the drone hangar is deployed in remote areas, the equipment is insufficient security protection, and there are problems such as insufficient storage space and easy data files to be leaked. When compressing and encrypting the data files, the equipment performance is insufficient.
Design a secure storage and transmission system for drone hangar data, including drone hangar system and remote data reception system. The drone hangar system includes an edge processing unit, a drone hangar data unit, a remote control control unit, and a file synchronization control module. The edge processing unit encrypts and compresses the workflow log, remote control log file stream and drone media files through the communication module, log file encryption module and file compression encryption module to form an encrypted message and transmit it to the remote data receiving system.
Without affecting the performance of the drone hangar and remote control, efficient and rapid compression and encryption of data files are achieved, reducing the risk of data file leakage and ensuring the secure storage and transmission of data.
Smart Images

Figure CN119743318A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drone hangar data communication, and in particular to a secure storage and transmission system for drone hangar data. Background Art
[0002] With the rise of the low-altitude economy in recent years, drones have been widely used in various industries. The drone library and its drones are increasingly used in forest fire prevention, agricultural inspection, river inspection and other fields due to their features such as being able to be deployed in remote areas, automatic patrol and no human pilot.
[0003] However, since drone hangars are deployed in remote and sparsely populated areas, the safety protection of equipment cannot be fully guaranteed. At the same time, drone hangars and remote control devices also have problems with insufficient storage space and easy leakage of data files. If the data files are compressed and encrypted, drone hangars and remote control devices also have problems with insufficient performance. Summary of the invention
[0004] The present invention provides a safe storage and transmission system for drone hangar data to overcome the above technical problems.
[0005] In order to achieve the above object, the technical solution of the present invention is:
[0006] A safe storage and transmission system for drone hangar data, comprising a drone hangar system and a remote data receiving system;
[0007] The drone hangar system includes an edge processing unit, a drone hangar data unit, a remote control control unit and a file synchronization control module; the edge processing unit includes a communication module, a log file encryption module and a file compression encryption module; the communication module is used to provide a communication network so that the edge processing unit, the drone hangar data unit and the remote control control unit are in the same communication network.
[0008] The drone library data unit includes an identification module and a drone library log module. The identification module is used to identify the drone and obtain the identification code corresponding to the identified drone. The drone library log module is used to determine the identification code corresponding to the drone in the operation task, and obtain the workflow log of the corresponding drone based on the identification code and transmit it to the edge processing unit.
[0009] The remote control unit includes a log file stream module and a media file monitoring module;
[0010] The log file stream module is used to record the flight status data of the drone in real time and obtain the remote controller log file stream;
[0011] The media file monitoring module is used to set a monitoring operation to monitor the data stream file collected by the video acquisition module carried by the drone, and when the collected data stream file reaches the preset media file creation state, create a file storage path corresponding to the identification code to obtain the storage directory of the drone media file;
[0012] The built-in file scanning service is called. When new media files are detected in the storage directory, the stored drone media files are transferred to the edge processing unit.
[0013] The log file encryption module is used to encrypt the remote control log file stream and the workflow log, and obtain the remote control encrypted file and the workflow encrypted file;
[0014] The file compression and encryption module is used to encrypt and compress the drone media files and obtain the encrypted compressed files.
[0015] The file synchronization control module is used to convert the remote control encrypted file, the workflow encrypted file and the encrypted compressed file into encrypted messages, which are then transmitted and stored in the remote data receiving system.
[0016] Furthermore, the file compression and encryption module encrypts and compresses the drone media file to obtain the encrypted compressed file, which specifically includes the following steps:
[0017] S01: Obtain file data parameters of drone media files;
[0018] The file data parameters include data file type P, file format Q and digital byte stream M to be processed;
[0019] S02: Using the ZSTD algorithm, compress the data byte stream M to be processed to obtain a compressed byte stream M1 and a file length L;
[0020] S03: Obtain an MD5 value N according to the compressed byte stream M1 based on the MD5 algorithm;
[0021] S04: reconstructing the digital byte stream M to be processed according to the data file type P, the file format Q, the compressed byte stream M1, the file length L and the MD5 value N to obtain the digital file byte stream M2;
[0022] And the digital file byte stream M2 includes a head part and a body part;
[0023] The head part includes the data file type P, file format Q, file length L and MD5 value N in sequence;
[0024] The body part includes a compressed byte stream M1;
[0025] And the data file type P at least includes log file 00, image file 01 and video file 10;
[0026] The file format Q at least includes txt format 000, jpg format 001, png format 010, MP4 format 011 and AVI format 100;
[0027] S05: Use the RSA encryption algorithm to encrypt the digital file byte stream M2 to obtain a byte stream M3, that is, an encrypted compressed file.
[0028] Furthermore, the communication module is also used to call the log file encryption module or the file compression encryption module to encrypt the workflow log, the remote control log file stream and the drone media file, which specifically includes the following steps:
[0029] S10: the communication module adopts a Hessian communication framework, and receives the data to be encrypted sent from the remote control control unit or the drone hangar data unit through the Hessian communication framework, and obtains an encryption request instruction for the data to be encrypted;
[0030] The data to be encrypted is log file data or drone media files;
[0031] And the log file data includes workflow log and remote control log file stream;
[0032] S11: Determine the data type of the to-be-encrypted data corresponding to the encryption request instruction, and obtain an to-be-encrypted byte stream of the to-be-encrypted data based on the data type;
[0033] If it is confirmed that the data type of the data to be encrypted is log file data, the log file encryption module is called to encrypt the encrypted byte stream based on the AES encryption and decryption algorithm to obtain the remote control encrypted file;
[0034] If it is confirmed that the data type of the data to be encrypted is a drone media file, the file compression and encryption module is called to compress and encrypt the encrypted byte stream based on the ZSTD algorithm and the RSA encryption algorithm to obtain an encrypted compressed file.
[0035] Furthermore, the media file monitoring module uses the inotify tool to monitor the storage directory of the drone media files in real time.
[0036] Furthermore, the file synchronization control module forms an encrypted message by using the remote control encrypted file, the workflow encrypted file and the encrypted compressed file;
[0037] The remote control encrypted file, workflow encrypted file and encrypted compressed file are encapsulated and uploaded to the corresponding encrypted message through the file synchronization control module;
[0038] The encrypted message includes the flight mission ID, flight mission time and data file data stream;
[0039] And send a file upload request to the remote data receiving system through the file synchronization control module to transmit the remote control encrypted file, the workflow encrypted file and the encrypted compressed file to the remote data receiving system.
[0040] Furthermore, the remote data receiving system includes a data file scheduling processing module and a data processing module;
[0041] And the data processing module includes a data stream decryption module, a data stream parsing module, a file data stream decompression module, an OSS file storage module and a relational database module;
[0042] The data file scheduling processing module is used to call the data processing module to process the received data according to the received encrypted message, specifically:
[0043] S20: performing data file stream parsing on the received encrypted message by calling the data stream parsing module to obtain the parsed data file stream N and the flight mission ID value T;
[0044] S21: Decrypt the parsed data file stream N by calling the data stream decryption module to obtain the decrypted data stream N1, and parse the decrypted data stream N1 into the message data stream N2 according to the message format;
[0045] The message format includes data file type P1, file format P2, file length P3, MD5 value P4 and file byte stream P5;
[0046] S22: Calling the MD5 algorithm to obtain the MD5 value Q according to the file byte stream P5;
[0047] And compare the lengths of MD5 value P4 and MD5 value Q to see if they are the same;
[0048] If the length of the MD5 value P4 is the same as the length of the MD5 value Q, continue to execute step S23;
[0049] Otherwise, it is confirmed that the data file corresponding to the encrypted message sent by the file synchronization control module has been tampered with, and the processing of the data file is terminated;
[0050] S23: confirming the data file type according to the data file type P1;
[0051] If the data file type P1 is 00, the data file is confirmed to be a log file, and the AES encryption and decryption algorithm is used to decrypt and obtain the log file stream W1;
[0052] If the data file type P1 is 01 or 02, it is determined that the data file is a non-log file, and the file byte stream P5 is decompressed using the ZSTD algorithm to obtain the media file data stream W2;
[0053] S24: Based on the file format P2, the log file stream W1 or the media file data stream W2 is cached to the OSS file storage module, and the corresponding data storage link URL value U is obtained;
[0054] S25: Obtain the record file of the flight mission ID value T according to the flight mission ID value T, the data file type P1 and the data storage link URL value U, and store it in the relational database module;
[0055] And the relational database of the relational database module is specifically a Mysql database.
[0056] Beneficial effect: The present invention provides a secure storage and transmission system for drone hangar data. By installing an edge processing unit in the drone hangar, the workflow log, remote control log file stream and drone media file are transmitted to the log file encryption module and the file compression encryption module for encryption processing through the communication module. This can ensure that the data file can be compressed and encrypted efficiently and quickly without affecting the performance of the drone hangar and the remote control. By storing the compressed and encrypted data files in the drone hangar data unit and the remote control control unit, the remote control encrypted file, workflow encrypted file and encrypted compressed file are encrypted and transmitted to the remote data receiving system through the file synchronization control module, so as to avoid the problem of file leakage during data file transmission, so that when the physical security of the drone hangar equipment cannot be guaranteed, the stored data files greatly reduce the risk of leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0058] Figure 1 It is a schematic diagram of the structure of the secure storage and transmission system of the drone hangar data of the present invention. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] This embodiment provides a secure storage and transmission system for drone library data, such as Figure 1 As shown, it includes a drone hangar system and a remote data receiving system;
[0061] The drone hangar system includes an edge processing unit, a drone hangar data unit, a remote control control unit and a file synchronization control module; specifically, the edge processing unit is an edge computing device and its computing unit, and the edge computing device and the computing unit itself and the implementation method of the programming program of the computing unit are existing well-known technologies, which will not be described in detail here; the drone hangar data unit is a drone hangar device and its control software unit, and the device and control software of the drone hangar device and the control software unit are existing well-known technologies, which will not be described in detail here; the remote control control unit is a drone remote control and its control software unit, and the device and control software of the drone remote control and the control software unit are existing well-known technologies, which will not be described in detail here;
[0062] The edge processing unit includes a communication module, a log file encryption module and a file compression encryption module; the communication module is used to provide a communication network so that the edge processing unit, the drone hangar data unit and the remote control unit are in the same communication network;
[0063] The drone library data unit includes an identification module and a drone library log module. The identification module is used to identify the drone and obtain the identification code corresponding to the identified drone. The drone library log module is used to determine the identification code corresponding to the drone in the operation task, and obtain the workflow log of the corresponding drone based on the identification code and transmit it to the edge processing unit.
[0064] The remote control unit includes a log file stream module and a media file monitoring module;
[0065] The log file stream module is used to record the flight status data of the drone in real time and obtain the remote controller log file stream;
[0066] The media file monitoring module is used to set a monitoring operation to monitor the data stream file collected by the video acquisition module carried by the drone, and when the collected data stream file reaches a preset media file creation state, create a file storage path corresponding to the identification code to obtain the storage directory of the drone media file, and the preset media file creation state is the data volume threshold of the preset media file creation;
[0067] The media file monitoring module uses the inotify tool to monitor the storage directory of the drone media files in real time. The inotify tool is a file monitoring tool in the Linux kernel. This tool can monitor changes in the file system such as file modification, addition, deletion and other events. When a new media file is generated, the file compression and encryption module of the edge processing unit is called to compress and encrypt the media file.
[0068] The built-in file scanning service is called. When new media files are detected in the storage directory, the stored drone media files are transferred to the edge processing unit.
[0069] In a specific embodiment, the communication module is further used to call the log file encryption module or the file compression encryption module to encrypt the workflow log, the remote controller log file stream and the drone media file, specifically including the following steps:
[0070] S10: The communication module adopts the Hessian communication framework, and receives the data to be encrypted sent from the remote control control unit or the drone hangar data unit through the Hessian communication framework, and obtains the encryption request instruction of the data to be encrypted; wherein the Hessian communication framework is a lightweight RPC framework with extremely high network transmission speed, which can meet the communication requirements between the drone hangar data unit, the remote control control unit and the communication module in the edge processing unit in this embodiment;
[0071] The data to be encrypted is log file data or drone media files;
[0072] And the log file data includes workflow log and remote control log file stream;
[0073] S11: Determine the data type of the to-be-encrypted data corresponding to the encryption request instruction, and obtain an to-be-encrypted byte stream of the to-be-encrypted data based on the data type;
[0074] If it is confirmed that the data type of the data to be encrypted is log file data, the log file encryption module is called to encrypt the encrypted byte stream based on the AES encryption and decryption algorithm to obtain the remote control encrypted file; wherein the AES encryption algorithm is a symmetric encryption algorithm with high encryption and decryption speed and high security;
[0075] If it is confirmed that the data type of the data to be encrypted is a drone media file, the file compression and encryption module is called to compress and encrypt the encrypted byte stream based on the ZSTD algorithm and the RSA encryption algorithm to obtain an encrypted compressed file.
[0076] The log file encryption module is used to encrypt the remote control log file stream and the workflow log, and obtain the remote control encrypted file and the workflow encrypted file;
[0077] The file compression and encryption module is used to encrypt and compress the drone media files to obtain encrypted compressed files;
[0078] In a specific embodiment, the file compression and encryption module performs encryption and compression processing on the drone media file to obtain the encrypted compressed file, which specifically includes the following steps:
[0079] S01: Obtain file data parameters of drone media files;
[0080] The file data parameters include data file type P, file format Q and digital byte stream M to be processed;
[0081] S02: Using the ZSTD algorithm, compress the data byte stream M to be processed to obtain a compressed byte stream M1 and a file length L; wherein the ZSTD algorithm is a fast lossless compression algorithm, which is aimed at real-time compression scenarios at the zlib level and has a better compression rate;
[0082] S03: Obtain an MD5 value N according to the compressed byte stream M1 based on the MD5 algorithm;
[0083] S04: Reconstruct the digital byte stream M to be processed according to the data file type P, the file format Q, the compressed byte stream M1, the file length L and the MD5 value N to obtain a digital file byte stream M2, and the format of the digital file byte stream M2 is as shown in Table 1;
[0084] Table 1. Format of digital file byte stream M2
[0085]
[0086] And the digital file byte stream M2 includes a head part and a body part;
[0087] The head part includes the data file type P, file format Q, file length L and MD5 value N in sequence;
[0088] The body part includes a compressed byte stream M1;
[0089] And the data file type P at least includes log file 00, image file 01 and video file 10;
[0090] The file format Q at least includes txt format 000, jpg format 001, png format 010, MP4 format 011 and AVI format 100;
[0091] S05: Use the RSA encryption algorithm to encrypt the digital file byte stream M2 to obtain a byte stream M3, that is, an encrypted compressed file.
[0092] The file synchronization control module is used to convert the remote control encrypted file, the workflow encrypted file and the encrypted compressed file into encrypted messages, which are then transmitted and stored in the remote data receiving system.
[0093] In a specific embodiment, the file synchronization control module forms an encrypted message by converting the remote control encrypted file, the workflow encrypted file and the encrypted compressed file into an encrypted message.
[0094] The remote control encrypted file, the workflow encrypted file and the encrypted compressed file are encapsulated and uploaded as an encrypted message through the file synchronization control module;
[0095] The encrypted message includes the flight mission ID, flight mission time and data file data stream;
[0096] And send a file upload request to the remote data receiving system through the file synchronization control module to transmit the remote control encrypted file, workflow encrypted file and encrypted compressed file to the remote data receiving system. The file synchronization control module is mainly used to upload various logs or multimedia files. The method for uploading logs or multimedia files specifically includes the following steps:
[0097] S001: When the file synchronization control module of the drone hangar data unit and the remote control unit uploads a file, the data file type is first confirmed;
[0098] S002: If it is a log file, an encryption request is initiated to the communication module of the edge processing unit; and the data file compression and encryption module is called through the communication module of the edge processing unit to encrypt the file. If it is a media file, no processing is performed;
[0099] S003: The file synchronization control module encapsulates the upload request message, which includes the flight mission ID, flight mission time, and data file data stream;
[0100] S004: The file synchronization control module sends a file upload request to the remote data file receiving system;
[0101] In a specific embodiment, the remote data receiving system includes a data file scheduling processing module and a data processing module;
[0102] And the data processing module includes a data stream decryption module, a data stream parsing module, a file data stream decompression module, an OSS file storage module and a relational database module;
[0103] The data file scheduling processing module is used to call the data processing module to process the data according to the received encrypted message, specifically:
[0104] S20: performing data file stream parsing on the received encrypted message by calling the data stream parsing module to obtain the parsed data file stream N and the flight mission ID value T;
[0105] S21: by calling the data stream decryption module, decrypting the parsed data file stream N, obtaining the decrypted data stream N1, parsing the decrypted data stream N1 into the message data stream N2 according to the message format, and the format of the message data stream N2 is as shown in Table 2;
[0106] Table 2. Format of message data stream N2
[0107]
[0108] The message format includes data file type P1, file format P2, file length P3, MD5 value P4 and file byte stream P5;
[0109] S22: Calling the MD5 algorithm to obtain the MD5 value Q according to the file byte stream P5;
[0110] And compare the lengths of MD5 value P4 and MD5 value Q to see if they are the same;
[0111] If the length of the MD5 value P4 is the same as the length of the MD5 value Q, continue to execute step S23;
[0112] Otherwise, it is confirmed that the data file corresponding to the encrypted message sent by the file synchronization control module has been tampered with, and the processing of the data file is terminated;
[0113] S23: confirming the data file type according to the data file type P1;
[0114] If the data file type P1 is 00, the data file is confirmed to be a log file, and the AES encryption and decryption algorithm is used to decrypt and obtain the log file stream W1;
[0115] If the data file type P1 is 01 or 02, it is determined that the data file is a non-log file, and the file byte stream P5 is decompressed using the ZSTD algorithm to obtain the media file data stream W2;
[0116] S24: Based on the file format P2, the log file stream W1 or the media file data stream W2 is cached to the OSS file storage module, and the corresponding data storage link URL value U is obtained;
[0117] S25: Obtain the record file of the flight mission ID value T according to the flight mission ID value T, the data file type P1 and the data storage link URL value U, and store it in the relational database module;
[0118] And the relational database of the relational database module is specifically a Mysql database.
[0119] This embodiment generates operation log files and drone flight images and video files, i.e., media files, during the process of controlling the drone hangar and the drone control. The operation log files and the media files of the images / videos are compressed and encrypted by the edge processing unit, and then transmitted to the remote data receiving system in the cloud through the network for long-term storage. This embodiment installs an edge processing unit in the drone hangar, and uses the edge processing unit to compress and encrypt the data files, thereby ensuring that the data files can be compressed and encrypted efficiently and quickly without affecting the performance of the drone hangar and the drone remote controller; at the same time, the compressed and encrypted data files are used to optimize the storage space occupied by the data files, securely store the data files, and securely transmit them over the network.
[0120] Finally, 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A secure storage and transmission system for drone hangar data, characterized in that: Including drone hangar system and remote data receiving system; The drone hangar system includes an edge processing unit, a drone hangar data unit, a remote control unit and a file synchronization control module; the edge processing unit includes a communication module, a log file encryption module and a file compression encryption module; The communication module is used to provide a communication network so that the edge processing unit, the drone hangar data unit, and the remote control unit are in the same communication network; The drone library data unit includes an identification module and a drone library log module. The identification module is used to identify the drone and obtain the identification code corresponding to the identified drone. The drone library log module is used to determine the identification code corresponding to the drone in the operation task, and obtain the workflow log of the corresponding drone based on the identification code and transmit it to the edge processing unit. The remote control unit includes a log file stream module and a media file monitoring module; The log file stream module is used to record the flight status data of the drone in real time and obtain the remote controller log file stream; The media file monitoring module is used to set a monitoring operation to monitor the data stream file collected by the video acquisition module carried by the drone, and when the collected data stream file reaches the preset media file creation state, create a file storage path corresponding to the identification code to obtain the storage directory of the drone media file; The built-in file scanning service is called. When new media files are detected in the storage directory, the stored drone media files are transferred to the edge processing unit. The log file encryption module is used to encrypt the remote control log file stream and the workflow log, and obtain the remote control encrypted file and the workflow encrypted file; The file compression and encryption module is used to encrypt and compress the drone media files and obtain the encrypted compressed files. The file synchronization control module is used to convert the remote control encrypted file, the workflow encrypted file and the encrypted compressed file into encrypted messages, which are then transmitted and stored in the remote data receiving system.
2. A safe storage and transmission system for drone hangar data according to claim 1, characterized in that: The file compression and encryption module performs encryption and compression processing on the drone media file to obtain the encrypted compressed file, which specifically includes the following steps: S01: Obtain file data parameters of drone media files; The file data parameters include data file type P, file format Q and digital byte stream M to be processed; S02: Using the ZSTD algorithm, compress the data byte stream M to be processed to obtain a compressed byte stream M1 and a file length L; S03: Obtain an MD5 value N according to the compressed byte stream M1 based on the MD5 algorithm; S04: reconstructing the digital byte stream M to be processed according to the data file type P, the file format Q, the compressed byte stream M1, the file length L and the MD5 value N to obtain the digital file byte stream M2; And the digital file byte stream M2 includes a head part and a body part; The head part includes the data file type P, file format Q, file length L and MD5 value N in sequence; The body part includes a compressed byte stream M1; And the data file type P at least includes log file 00, image file 01 and video file 10; The file format Q at least includes txt format 000, jpg format 001, png format 010, MP4 format 011 and AVI format 100; S05: Use the RSA encryption algorithm to encrypt the digital file byte stream M2 to obtain a byte stream M3, that is, an encrypted compressed file.
3. A safe storage and transmission system for drone hangar data according to claim 2, characterized in that: The communication module is also used to call the log file encryption module or the file compression encryption module to encrypt the workflow log, the remote controller log file stream and the drone media file. Specifically, the following steps are included S10: the communication module adopts a Hessian communication framework, and receives the data to be encrypted sent from the remote control control unit or the drone hangar data unit through the Hessian communication framework, and obtains an encryption request instruction for the data to be encrypted; The data to be encrypted is log file data or drone media files; And the log file data includes workflow log and remote control log file stream; S11: Determine the data type of the to-be-encrypted data corresponding to the encryption request instruction, and obtain an to-be-encrypted byte stream of the to-be-encrypted data based on the data type; If it is confirmed that the data type of the data to be encrypted is log file data, the log file encryption module is called to encrypt the encrypted byte stream based on the AES encryption and decryption algorithm to obtain the remote control encrypted file; If it is confirmed that the data type of the data to be encrypted is a drone media file, the file compression and encryption module is called to compress and encrypt the encrypted byte stream based on the ZSTD algorithm and the RSA encryption algorithm to obtain an encrypted compressed file.
4. A safe storage and transmission system for drone hangar data according to claim 3, characterized in that: The media file monitoring module uses the inotify tool to monitor the storage directory of the drone media files in real time.
5. A safe storage and transmission system for drone hangar data according to claim 4, characterized in that: The method in which the file synchronization control module forms an encrypted message by using the remote control encrypted file, the workflow encrypted file and the encrypted compressed file is as follows: Encapsulate the remote control encrypted file, workflow encrypted file and encrypted compressed file and upload the corresponding encrypted message; The encrypted message includes the flight mission ID, flight mission time and data file data stream; And send a file upload request to the remote data receiving system to transmit the remote control encrypted file, the workflow encrypted file and the encrypted compressed file to the remote data receiving system.
6. A safe storage and transmission system for drone hangar data according to claim 5, characterized in that: The remote data receiving system includes a data file scheduling processing module and a data processing module; And the data processing module includes a data stream decryption module, a data stream parsing module, a file data stream decompression module, an OSS file storage module and a relational database module; The data file scheduling processing module is used to call the data processing module to process the data according to the received encrypted message, specifically: S20: performing data file stream parsing on the received encrypted message by calling the data stream parsing module to obtain the parsed data file stream N and the flight mission ID value T; S21: Decrypt the parsed data file stream N through the data stream decryption module to obtain the decrypted data stream N1, and parse the decrypted data stream N1 into the message data stream N2 according to the message format; The message format includes data file type P1, file format P2, file length P3, MD5 value P4 and file byte stream P5; S22: Calling the MD5 algorithm to obtain the MD5 value Q according to the file byte stream P5; And compare the lengths of MD5 value P4 and MD5 value Q to see if they are the same; If the length of the MD5 value P4 is the same as the length of the MD5 value Q, continue to execute step S23; Otherwise, it is confirmed that the data file corresponding to the encrypted message sent by the file synchronization control module has been tampered with, and the processing of the data file is terminated; S23: confirming the data file type according to the data file type P1; If the data file type P1 is 00, the data file is confirmed to be a log file, and the AES encryption and decryption algorithm is used to decrypt and obtain the log file stream W1; If the data file type P1 is 01 or 02, it is determined that the data file is a non-log file, and the file byte stream P5 is decompressed using the ZSTD algorithm to obtain the media file data stream W2; S24: Based on the file format P2, the log file stream W1 or the media file data stream W2 is cached to the OSS file storage module, and the corresponding data storage link URL value U is obtained; S25: Obtain the record file of the flight mission ID value T according to the flight mission ID value T, the data file type P1 and the data storage link URL value U, and store it in the relational database module; And the relational database of the relational database module is specifically a Mysql database.