A cross-network data exchange method and device and storage medium

By employing a cross-network data exchange method and leveraging the collaborative work of the client, server, and proxy, combined with double encoding and one-way gateway technology, the low efficiency and security issues of data sharing between local area networks are resolved, achieving efficient and secure data transmission.

CN117640615BActive Publication Date: 2026-04-28DIANKEYUN (BEIJING) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DIANKEYUN (BEIJING) TECH CO LTD
Filing Date
2022-08-09
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Between different local area networks (LANs), especially those with high security requirements, traditional manual data exchange methods are inefficient and pose a risk of virus and malicious code transmission, making it impossible to directly establish data sharing channels.

Method used

By adopting a cross-network data exchange method, and through the collaborative work of the client, server and agent, a secure data exchange channel is established using double encoding and one-way gateway technology to ensure the security and integrity of data during transmission.

Benefits of technology

It enables efficient and secure data exchange between different local area networks, improves transmission efficiency, prevents data attacks and information leaks during transmission, and ensures data reliability and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117640615B_ABST
    Figure CN117640615B_ABST
Patent Text Reader

Abstract

The application provides a cross-network data exchange method and device and a storage medium. The method comprises the following steps: a sending client receives a data file uploaded by a user; the data file is first encoded, and the encoded data file is transmitted to a server; the data file is first decoded at the server, the decoded data file is transmitted to a first file storage engine of the sending end, and a data link of the data file in the first file storage engine is sent to a sending agent end; the sending agent end acquires the data file from the first file storage engine based on the data link, second encodes the data file, and transmits the data file to a receiving end by using a one-way gate; the data file is second decoded at the receiving end, the receiving end pushes link information of the data file at the receiving end to a receiving client according to a preset corresponding relationship between the sending client and the receiving client, and the receiving client downloads the data file based on the link information of the data file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network data transmission technology, and in particular to a cross-network data exchange method, apparatus and storage medium. Background Technology

[0002] Between networks that are logically isolated using technical means and communicate without protocols, or between physically isolated networks, these local area networks (LANs) cannot directly communicate or access each other for security reasons. These LANs can be highly confidential individual LANs, or they can be public security networks, corporate intranets, etc. For example, public security networks have high data security requirements, so they are not directly connected to the internet. Similarly, within a corporate intranet, the networks of department A and department B in a company are both LANs with extremely high confidentiality requirements, so these two networks are not interconnected, let alone connected to the internet.

[0003] Some data needs to be shared between different independent local area networks (LANs). The traditional approach is to manually burn discs for import and export operations, which greatly reduces work efficiency and may inadvertently introduce viruses, malicious code, or other malicious information. In this situation, establishing data exchange and sharing channels between different LANs, while ensuring physical isolation between the two systems, becomes particularly important for filtering harmful information and improving work efficiency. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a cross-network data exchange method to eliminate or improve one or more defects existing in the prior art.

[0005] One aspect of the present invention provides a cross-network data exchange method, the method comprising the steps of:

[0006] The client receives a data file uploaded by the user, obtains the file information of the data file, constructs a transmission task based on the file information, and marks the task status of the transmission task as not started.

[0007] The data file is first encoded, the encoded data file is transmitted to the server and stored in the server's temporary folder, and the task status of the transmission task is marked as uploading.

[0008] The server performs the first decoding of the data file, transmits the decoded data file to the first file storage engine of the sending end, marks the task status of the transmission task as uploaded successfully, and sends the data link of the data file in the first file storage engine to the sending agent.

[0009] The sending agent retrieves the data file from the first file storage engine based on the data link, performs a second encoding on the data file, and transmits the data file with the second encoding completed to the receiving end using a one-way gateway;

[0010] The receiving end performs a second decoding of the data file. Based on the preset correspondence between the sending and receiving clients, the receiving end pushes the link information of the data file to the receiving client. The receiving client downloads the data file based on the link information. After the download is completed, the task status of the transmission task is marked as a successful download.

[0011] By adopting the above scheme, this scheme can provide a unified and reliable cross-network data exchange service. On the one hand, this scheme can establish a data exchange and sharing channel between different local area networks, i.e., between sending clients and receiving clients, thereby improving transmission efficiency. On the other hand, the first encoding can prevent data files from being attacked during transmission to the server, and the second encoding can prevent data files from being attacked during transmission to the receiving end. By using double encryption, the security of data transmission is improved and malicious information is filtered out.

[0012] In some embodiments of the present invention, the step of performing a second decoding of the data file at the receiving end further includes:

[0013] The receiving end performs a second decoding on the data file and stores the data file that has completed the second decoding in the cross-network device ready file holder. The data file is retrieved from the cross-network device ready file holder and transmitted to the second file storage engine of the receiving end. During the transmission, the task status of the transmission task is marked as synchronous. After the transmission is completed, the task status of the transmission task is marked as synchronized successfully.

[0014] In some embodiments of the present invention, the step of the receiving end pushing the link information of the data file at the receiving end to the receiving client according to a preset correspondence between the sending client and the receiving client includes:

[0015] Based on the correspondence between the sending client and the receiving client, the link information of the data file in the second file storage engine is pushed to the receiving client. After the push is completed, the task status of the transmission task is marked as a successful push.

[0016] In some embodiments of the present invention, the steps of receiving link information of a data file from a client, downloading the data file, and marking the task status of the transmission task as a download success status after the download is completed include:

[0017] The system receives the link information of the data file from the second file storage engine based on the client, retrieves the data file from the file storage engine, and marks the task status of the transfer task as a successful download after the download is completed.

[0018] In some embodiments of the present invention, the step of transmitting the decoded data file to the first file storage engine of the sending end further includes:

[0019] Compare the MD5 value of the data file before the first encoding with the MD5 value of the data file after the first decoding;

[0020] If they are the same, the decoded data file will be transmitted to the first file storage engine of the sending end;

[0021] If they are not the same, a transmission error is determined, and synchronization fails.

[0022] In some embodiments of the present invention, if the same, the step of transmitting the decoded data file to the first file storage engine of the sending end further includes:

[0023] A description file is constructed based on the file information of the data file, wherein the file information of the data file includes the file name, file type, number of fragments, fragment size, and file MD5 value;

[0024] The description file and the decoded data file are transmitted together to the first file storage engine of the sending end, and the restoreId of the data file in the first file storage engine is generated.

[0025] In some embodiments of the present invention, in the step of the sending agent retrieving the data file from the first file storage engine based on the data link,

[0026] The data file is retrieved from the first file storage engine based on the restoreId, and at the same time, the description file corresponding to the data file in the first file storage engine is also retrieved.

[0027] In some embodiments of the present invention, the step of transmitting the data file that has completed the second encoding to the receiving end using a one-way network gateway, and performing the second decoding of the data file at the receiving end includes:

[0028] The data file that has completed the second encoding is transmitted to the receiving file at the receiving end using a one-way network gateway;

[0029] The receiving end uses a scanning thread to scan the received file. If a data file is found in the received file, the data file is acquired and further decoded at the receiving end.

[0030] This invention provides a unified and reliable cross-network data exchange service for various business systems. By shielding the underlying implementation details of each cross-network device, it enables applications to quickly access cross-network data transmission capabilities. Simultaneously, this software significantly expands the service access capabilities of a single set of cross-network hardware through customizable cross-network exchange transmission protocols and routing rules, thereby reducing the usage and management costs of multiple hardware sets. This invention constructs a secure isolation wall between different network systems through dedicated hardware and security protocols, physically isolating the systems on both sides while filtering viruses, malicious code, and other information during data exchange. A strict authentication mechanism ensures that users obtain the data they need.

[0031] The present invention also provides a cross-network data exchange device, which includes a computer device, the computer device including a processor and a memory, the memory storing computer instructions, the processor executing the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the device implements the steps of the method described above.

[0032] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the aforementioned cross-network data exchange method. The computer-readable storage medium may be a tangible storage medium, such as random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, floppy disk, hard disk, removable storage disk, CD-ROM, or any other form of storage medium known in the art.

[0033] Additional advantages, objects, and features of the invention will be set forth in part in the description which follows, and will also become apparent in part to those skilled in the art upon studying the text, or may be learned by practice of the invention. The objects and other advantages of the invention will become apparent from the description and the accompanying drawings.

[0034] Those skilled in the art will understand that the objectives and advantages achievable with this invention are not limited to those specifically described above, and that the above and other objectives achievable with this invention will become clearer from the following detailed description. Attached Figure Description

[0035] The accompanying drawings, which are provided to further illustrate the invention and form part of this application, are not intended to limit the scope of the invention.

[0036] Figure 1 This is a schematic diagram of the first embodiment of the cross-network data exchange method of the present invention;

[0037] Figure 2This is a schematic diagram of a second embodiment of the cross-network data exchange method of the present invention;

[0038] Figure 3 This is a schematic diagram of the first sending and receiving method of the cross-network data exchange method of the present invention;

[0039] Figure 4 This is a schematic diagram of the second sending and receiving method of the cross-network data exchange method of the present invention;

[0040] Figure 5 This is a schematic diagram of the third sending and receiving method of the cross-network data exchange method of the present invention;

[0041] Figure 6 This is a schematic diagram of the fourth sending and receiving method of the cross-network data exchange method of the present invention. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the embodiments and accompanying drawings. Here, the illustrative embodiments and descriptions of this invention are used to explain the invention, but are not intended to limit the invention.

[0043] It should also be noted that, in order to avoid obscuring the invention with unnecessary details, only the structures and / or processing steps closely related to the solution according to the invention are shown in the accompanying drawings, while other details that are not closely related to the invention are omitted.

[0044] It should be emphasized that the term "including / comprises" as used herein refers to the presence of a feature, element, step, or component, but does not exclude the presence or addition of one or more other features, elements, steps, or components.

[0045] It should also be noted that, unless otherwise specified, the term "connection" in this article can refer not only to a direct connection, but also to an indirect connection involving an intermediary.

[0046] In the following description, embodiments of the invention will be illustrated with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar parts, or the same or similar steps.

[0047] To solve the above problems, such as Figure 1 , 3 As shown in Figure 4, this invention proposes a cross-network data exchange method, the steps of which include:

[0048] Step S100: The client receives the data file uploaded by the user, obtains the file information of the data file, constructs a transmission task based on the file information, and marks the task status of the transmission task as not started.

[0049] In some embodiments of the present invention, the sending client receives data files uploaded by the user from a mobile terminal, which may be a mobile phone, computer, or tablet computer, etc.

[0050] In some embodiments of the present invention, the client receives data files uploaded by users by receiving data files in fragments. A transmission task is generated based on the file name, file type, business system ID, transmission type, number of fragments, fragment size, file MD5 value and task creation time, and the task name is obtained.

[0051] Step S200: Perform a first encoding on the data file, transmit the encoded data file to the server, store it in the server's temporary folder, and mark the transmission task status as uploading.

[0052] In some embodiments of the present invention, in the step of performing the first encoding on the data file, the data file fragments are encoded. The encoding methods of the first encoding and the second encoding described in this scheme can both be Base64 encoding.

[0053] Step S300: The data file is first decoded on the server side, the decoded data file is transmitted to the first file storage engine of the sending end, the task status of the transmission task is marked as the upload success status, and the data link of the data file in the first file storage engine is sent to the sending agent.

[0054] In some embodiments of the present invention, the step of performing the first decoding of the data file on the server side further includes combining the decoded fragmented data files according to the fragmentation order to form a data file, and then transmitting the data file to the first file storage engine of the sending end.

[0055] In some embodiments of the present invention, both the first file storage engine and the second file storage engine can be the minio storage engine.

[0056] In step S400, the sending agent obtains the data file from the first file storage engine based on the data link, performs a second encoding on the data file, and transmits the data file with the second encoding completed to the receiving end using a one-way network gateway.

[0057] In some embodiments of the present invention, the data link may be the storage address of the data file in the first file storage engine.

[0058] This solution employs a one-way network gateway. The one-way network gateway ensures that data in a high-density network cannot flow to a low-density network, but data in a low-density network can flow to a high-density network, thus completely solving the problem of information leakage in high-density networks. Only by adopting a feedback-free one-way transmission technology can the developed security isolation and information one-way import system be guaranteed. The system uses a unique "one-way feedback-free transmission" technology to ensure the absolute one-way flow of data from the physical link layer and the transmission layer, ensuring the system's high reliability, high fault tolerance, high security, and high stability.

[0059] In step S500, the data file is decoded a second time at the receiving end. According to the preset correspondence between the sending client and the receiving client, the receiving end pushes the link information of the data file at the receiving end to the receiving client. Based on the link information of the data file, the receiving client downloads the data file. After the download is completed, the task status of the transmission task is marked as a successful download status.

[0060] The link information is the storage address of the data file at the receiving end.

[0061] In some embodiments of the present invention, the receiving end of this scheme first performs a second decoding on the data file, and then sends the data file to the receiving client according to the correspondence between the sending client and the receiving client, thereby further improving the security of data transmission.

[0062] In some embodiments of the present invention, the correspondence between the sending client and the receiving client is preset in the receiving end to ensure independent connection between the two and prevent data leakage.

[0063] By adopting the above scheme, this scheme can provide a unified and reliable cross-network data exchange service. On the one hand, this scheme can establish a data exchange and sharing channel between different local area networks, i.e., between sending clients and receiving clients, thereby improving transmission efficiency. On the other hand, the first encoding can prevent data files from being attacked during transmission to the server, and the second encoding can prevent data files from being attacked during transmission to the receiving end. By using double encryption, the security of data transmission is improved and malicious information is filtered out.

[0064] like Figure 2 As shown, in some embodiments of the present invention, the step of performing a second decoding of the data file at the receiving end further includes:

[0065] Step S510: The data file is decoded for the second time at the receiving end, and the data file after the second decoding is completed is stored in the cross-network device ready file holder. The data file is retrieved from the cross-network device ready file holder and transmitted to the second file storage engine at the receiving end. During the transmission, the task status of the transmission task is marked as the synchronization state. After the transmission is completed, the task status of the transmission task is marked as the synchronization successful state.

[0066] In some embodiments of the present invention, this solution stores the second decoded data file in a cross-network device ready file holder, which can temporarily store the data file and improve transmission confidentiality.

[0067] In some embodiments of the present invention, the step of the receiving end pushing the link information of the data file at the receiving end to the receiving client according to a preset correspondence between the sending client and the receiving client includes:

[0068] Step S520: Based on the correspondence between the sending client and the receiving client, push the link information of the data file in the second file storage engine to the receiving client. After the push is completed, mark the task status of the transmission task as a successful push status.

[0069] In some embodiments of the present invention, the solution pushes the link information of the second file storage engine to the receiving client in advance, instead of pre-building the corresponding connection relationship. The receiving client cannot know the source of the data in advance, thus improving the security of data transmission.

[0070] In some embodiments of the present invention, the steps of receiving link information of a data file from a client, downloading the data file, and marking the task status of the transmission task as a download success status after the download is completed include:

[0071] Step S530: Receive the client's link information for the data file in the second file storage engine, retrieve the data file from the file storage engine, and after downloading, mark the task status of the transfer task as a successful download status.

[0072] In some embodiments of the present invention, each step of this solution is configured to update the task status. The updated task status can be sent to the staff, who can understand the progress of the task in real time and respond quickly if any abnormality is found.

[0073] like Figure 5 , 6 As shown, in some embodiments of the present invention, the step of transmitting the decoded data file to the first file storage engine of the sending end further includes:

[0074] Compare the MD5 value of the data file before the first encoding with the MD5 value of the data file after the first decoding;

[0075] If they are the same, the decoded data file will be transmitted to the first file storage engine of the sending end;

[0076] If they are not the same, a transmission error is determined, and synchronization fails.

[0077] In some embodiments of the present invention, the MD5 Message-Digest Algorithm, a widely used cryptographic hash function, can produce a 128-bit (16-byte) hash value to ensure the integrity and consistency of transmitted information.

[0078] In some embodiments of the present invention, if the same, the step of transmitting the decoded data file to the first file storage engine of the sending end further includes:

[0079] A description file is constructed based on the file information of the data file, wherein the file information of the data file includes the file name, file type, number of fragments, fragment size, and file MD5 value;

[0080] The description file and the decoded data file are transmitted together to the first file storage engine of the sending end, and the restoreId of the data file in the first file storage engine is generated.

[0081] restoreId is the storage number of the data file in the first file storage engine.

[0082] In some embodiments of the present invention, the description file and the data file are jointly encoded and decoded in a second process, and finally downloaded to the receiving client.

[0083] In some embodiments of the present invention, in the step of the sending agent retrieving the data file from the first file storage engine based on the data link,

[0084] The data file is retrieved from the first file storage engine based on the restoreId, and at the same time, the description file corresponding to the data file in the first file storage engine is also retrieved.

[0085] In some embodiments of the present invention, the step of transmitting the data file that has completed the second encoding to the receiving end using a one-way network gateway, and performing the second decoding of the data file at the receiving end includes:

[0086] The data file that has completed the second encoding is transmitted to the receiving file at the receiving end using a one-way network gateway;

[0087] The receiving end uses a scanning thread to scan the received file. If a data file is found in the received file, the data file is acquired and further decoded at the receiving end.

[0088] In some embodiments of the present invention, the second encoded data file is a txt file, and the scanning thread scans the txt format file at the receiving end, and the scanning method can be to scan once at a preset interval.

[0089] The preset interval time can be 1ms, 0.5ms or 0.1ms.

[0090] In some embodiments of this invention, a ScanTask thread is used for scanning. The ScanTask thread continuously scans the received files on the receiving end. If a file is detected, a UDP message is sent to the UdpMessageHandlerTask thread. This thread stores the folder path of the encrypted version (txt file) of the original file into the "Cross-Network Device Ready File Holder". The DispatchThread thread monitors the "Cross-Network Device Ready File Holder". If a TXT version of the original file is found, it decodes the TXT version into the original file using Base64 and stores it in the "Cross-Network Device Ready File Holder", and pushes the file distribution message to the server.

[0091] By adopting the above scheme, the receiving end can obtain the data output by the sending end in real time, thereby improving transmission efficiency.

[0092] This invention first creates a task upon receiving a file to be sent at the sending end and uploads the file to a file storage engine. The sending agent downloads the file from the file storage engine, encodes and encrypts it into a TXT file, and places it in a designated folder on the network gateway. The network gateway then transfers files from the sending end's specific folder to the receiving end's specific folder. Then, upon detecting the file in its specific folder, the receiving end decodes the TXT file back into the original file, stores it in the file storage engine, and notifies the receiving client to download it. Once the download is complete, further operations can be performed on the file. This cross-network switching method enables applications to quickly access cross-network data transmission capabilities by shielding the underlying implementation details of various cross-network devices.

[0093] This invention provides a unified and reliable cross-network data exchange service for various business systems. By shielding the underlying implementation details of each cross-network device, it enables applications to quickly access cross-network data transmission capabilities. Simultaneously, this software significantly expands the service access capabilities of a single set of cross-network hardware through customizable cross-network exchange transmission protocols and routing rules, thereby reducing the usage and management costs of multiple hardware sets. This invention constructs a secure isolation wall between different network systems through dedicated hardware and security protocols, physically isolating the systems on both sides while filtering viruses, malicious code, and other information during data exchange. A strict authentication mechanism ensures that users obtain the data they need.

[0094] The beneficial effects of this invention include:

[0095] 1. This solution can provide a unified and reliable cross-network data exchange service. On the one hand, this solution can establish a data exchange and sharing channel between different local area networks, i.e., between sending clients and receiving clients, thereby improving transmission efficiency. On the other hand, the first encoding can prevent data files from being attacked during transmission to the server, and the second encoding can prevent data files from being attacked during transmission to the receiving end. By using double encryption, the security of data transmission is improved and malicious information is filtered out.

[0096] 2. This solution uses a one-way network gateway. The one-way network gateway ensures that data in a high-density network cannot flow to a low-density network, but data in a low-density network can flow to a high-density network, thus completely solving the problem of information leakage in high-density networks. Only by using feedbackless one-way transmission technology can the developed security isolation and information one-way import system adopt a unique "one-way feedbackless transmission" technology, which ensures the absolute one-way flow of data from the physical link layer and the transmission layer, ensuring the system's high reliability, high fault tolerance, high security and high stability.

[0097] 3. Each step of this solution is configured to update the task status. The updated task status can be sent to the staff, who can understand the progress of the task in real time and respond quickly if any abnormality is found.

[0098] 4. This solution includes three layers: server, proxy, and client. Its functions include decoupling, because one server can correspond to multiple proxies, and one proxy can correspond to multiple clients; another function is flexibility and adaptability.

[0099] Embodiments of the present invention also provide a cross-network data exchange device, which includes a computer device, a processor and a memory, wherein the memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the method described above.

[0100] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the aforementioned cross-network data exchange method. The computer-readable storage medium can be a tangible storage medium, such as random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, floppy disks, hard disks, removable storage disks, CD-ROMs, or any other form of storage medium known in the art.

[0101] Those skilled in the art will understand that the exemplary components, systems, and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software, or a combination of both. Whether implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention. When implemented in hardware, it can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the desired tasks. The programs or code segments can be stored in a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave.

[0102] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0103] In this invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with or in place of features of other embodiments.

[0104] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, various modifications and variations of the embodiments of the present invention are possible. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A cross-network data exchange method, characterized in that, The steps of the method include: The client receives a data file uploaded by the user, obtains the file information of the data file, constructs a transmission task based on the file information, and marks the task status of the transmission task as not started. The data file is first encoded, the encoded data file is transmitted to the server and stored in the server's temporary folder, and the task status of the transmission task is marked as uploading. On the server side, the data file is first decoded, and the decoded data file is transmitted to the first file storage engine of the sending end. The task status of the transmission task is marked as uploaded successfully, and the data link of the data file in the first file storage engine is sent to the sending agent. The sending agent retrieves the data file from the first file storage engine based on the data link, performs a second encoding on the data file, and transmits the data file with the second encoding completed to the receiving end using a one-way network gateway; The receiving end performs a second decoding of the data file. Based on the preset correspondence between the sending and receiving clients, the receiving end pushes the link information of the data file to the receiving client. The receiving client downloads the data file based on the link information. After the download is completed, the task status of the transmission task is marked as a successful download.

2. The cross-network data exchange method according to claim 1, characterized in that, The second decoding step of the data file at the receiving end also includes: The receiving end performs a second decoding on the data file and stores the data file that has completed the second decoding in the cross-network device ready file holder. The data file is retrieved from the cross-network device ready file holder and transmitted to the second file storage engine of the receiving end. During the transmission, the task status of the transmission task is marked as synchronous. After the transmission is completed, the task status of the transmission task is marked as synchronized successfully.

3. The cross-network data exchange method according to claim 1, characterized in that, The steps by which the receiving end pushes the link information of the data file on the receiving end to the receiving client according to the preset correspondence between sending and receiving clients include: Based on the correspondence between the sending client and the receiving client, the link information of the data file in the second file storage engine is pushed to the receiving client. After the push is completed, the task status of the transmission task is marked as a successful push.

4. The cross-network data exchange method according to claim 1, characterized in that, The steps for receiving link information from the client based on the data file, downloading the data file, and marking the task status of the transfer task as successful after the download is complete include: The system receives the link information of the data file from the second file storage engine based on the client, retrieves the data file from the file storage engine, and marks the task status of the transfer task as a successful download after the download is completed.

5. The cross-network data exchange method according to claim 1, characterized in that, The steps of transmitting the decoded data file to the first file storage engine at the sending end also include: Compare the MD5 value of the data file before the first encoding with the MD5 value of the data file after the first decoding; If they are the same, the decoded data file will be transmitted to the first file storage engine of the sending end; If they are not the same, a transmission error is determined, and synchronization fails.

6. The cross-network data exchange method according to claim 5, characterized in that, If they are the same, the step of transmitting the decoded data file to the first file storage engine of the sending end also includes: A description file is constructed based on the file information of the data file, wherein the file information of the data file includes the file name, file type, number of fragments, fragment size, and file MD5 value; The description file and the decoded data file are transmitted together to the first file storage engine of the sending end, and the restoreId of the data file in the first file storage engine is generated.

7. The cross-network data exchange method according to claim 6, characterized in that, In the step of retrieving data files from the first file storage engine based on a data link at the sending agent end... The data file is retrieved from the first file storage engine based on the restoreId, and at the same time, the description file corresponding to the data file in the first file storage engine is also retrieved.

8. The cross-network data exchange method according to claim 1, characterized in that, The data file that has completed the second encoding is transmitted to the receiving end using a one-way gateway. The steps for performing the second decoding of the data file at the receiving end include: The data file that has completed the second encoding is transmitted to the receiving file at the receiving end using a one-way network gateway; The receiving end uses a scanning thread to scan the received file. If a data file is found in the received file, the data file is acquired and further decoded at the receiving end.

9. A cross-network data exchange device, characterized in that, The apparatus includes a computer device, the computer device including a processor and a memory, the memory storing computer instructions, the processor executing the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the apparatus implements the steps of the method as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps of the cross-network data exchange method according to any one of claims 1-8.

Citation Information

Patent Citations

  • One-way gatekeeper interface circuit and method and readable storage medium

    CN112804265A

  • One-way file transfer system and method

    JP2017134809A