Cross-gatekeeper file transmission method and system, terminal equipment and storage medium

By performing file security detection and encryption processing in the cross-gatekeeper file transmission system, the problems of low efficiency and insufficient security of traditional cross-gatekeeper file transmission are solved, and more efficient and secure file transmission is achieved.

CN118802901AInactive Publication Date: 2024-10-18WINHONG INFORMATION TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411266718.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional cross-gateway file transfer is inefficient and lacks security. It requires manual operations and the data is vulnerable to security threats during the transfer process.

Method used

By obtaining the file list at the sending end, conducting security detection (including file size, virus and sensitive word detection) and marking qualified files as safe files to be sent, these files are encrypted and transmitted using the SFTP encryption protocol, and the files are encrypted and transmitted according to the requirements before transmission. The file type determines whether approval is required, improving transmission security and efficiency.

Benefits of technology

It improves the security and efficiency of cross-gateway file transmission, avoids manual transmission operations, and ensures the security and integrity of data during transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802901A_ABST
    Figure CN118802901A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-gatekeeper file transmission method and system, terminal equipment and a storage medium, and the method comprises the steps: obtaining a file list of to-be-sent files in response to a file ferry operation initiated by a user at a sending end, and obtaining a plurality of to-be-sent files according to the file list; performing security detection on each to-be-sent file according to a preset security detection condition, and for each to-be-sent file, if the to-be-sent file meets the preset security detection condition, marking the to-be-sent file meeting the preset case detection condition as a to-be-sent security file; wherein the preset security detection conditions include that the size of the file is within a preset threshold range, the file does not contain viruses and the file does not contain sensitive words; encrypting all the to-be-sent security files through an encryption protocol to obtain to-be-sent encrypted files; and sending the to-be-sent encrypted file to a receiving end, so that the receiving end receives the to-be-sent encrypted file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of file transmission between network gates, and in particular to a method, system, terminal equipment and storage medium for file transmission across network gates. Background Art

[0002] Cross-gateway data transmission is a method of achieving data exchange in a network isolation environment. It is usually used to transfer and share files or data between networks with different security levels or business requirements. Traditional cross-gateway data transmission is to exchange files across networks through CD burning, USB and other mobile storage devices. This method of file transfer and sharing requires manual burning and manual assisted data transmission during CD burning and USB transmission, which makes file transfer efficiency low. In addition, when traditional cross-gateway file data transmission is used, the transmitted data is not protected by security protection, which makes the data exposed during the transmission process, and it is difficult to avoid data security issues during the transmission process. Summary of the invention

[0003] The embodiments of the present invention provide a cross-gate file transmission method, system, terminal device and storage medium, which can effectively solve the problems of low transmission efficiency and lack of security in cross-gate file transmission in the prior art, and improve the efficiency and security of cross-gate file transmission.

[0004] An embodiment of the present invention provides a cross-gate file transmission method, which is applied to a cross-gate file transmission system, wherein the cross-gate file transmission system includes a sending end and a receiving end, and the sending end and the receiving end are respectively deployed in different networks; The cross-gateway file transmission method comprises: In response to a file ferrying operation initiated by a user at a sending end, a file list of files to be sent is obtained, and a number of files to be sent are obtained according to the file list; Perform security checks on each file to be sent according to preset security check conditions. For each file to be sent, if the preset security check conditions are met, the file to be sent that meets the preset case check conditions is marked as a safe file to be sent; wherein the preset security check conditions include: the file size is within a preset threshold range, the file does not contain viruses, and the file does not contain sensitive words; Encrypt all the security files to be sent through the encryption protocol to obtain the encrypted files to be sent; The encrypted file to be sent is sent to the receiving end, so that the receiving end receives the encrypted file to be sent.

[0005] Furthermore, before all the security files to be sent are encrypted by the encryption protocol, the method further includes: For each security file to be sent, obtaining the approval type of the security file to be sent; wherein the approval type includes: a type requiring approval and a type not requiring approval; the approval type is determined by the file type of the security file to be sent; If the approval type is a type that requires approval, the corresponding security file to be sent is marked as a file to be approved, and the file to be approved is transmitted to the corresponding approver, so that each approver can approve the corresponding file to be approved; When the pending documents are approved, the corresponding pending documents are fed back to the sending end; When the pending documents fail to be approved, the document information that has not passed the approval is extracted from the pending documents, and approval warning information is generated based on the document information that has not passed the approval, and the approval warning information is sent to the user.

[0006] Furthermore, the encryption protocol is the SFTP encryption protocol.

[0007] Furthermore, before all the security files to be sent are encrypted by the encryption protocol, the method further includes: Assembling all the security files to be sent according to the file list to obtain a security file package to be sent; Compressing the file list and the security file package to be sent to obtain a compressed security file package to be sent; The method of encrypting all the security files to be sent by using an encryption protocol to obtain the encrypted files to be sent includes: The compressed secure file package to be sent is encrypted through the SFTP encryption protocol to obtain an encrypted file to be sent.

[0008] Furthermore, the step of sending the encrypted file to be sent to the receiving end so that the receiving end receives the encrypted file to be sent includes: Establish an encrypted protocol session channel from the sender to the receiver; When the encryption protocol session channel is connected, the encrypted file to be sent is transmitted to the receiving end through the encryption protocol session channel.

[0009] Furthermore, after the receiving end receives the encrypted file to be sent, the method further includes: Decompressing and extracting the compressed security file package to be sent to obtain a number of files to be sent and a file list of the files to be sent; Store all files to be sent to the storage server at the receiving end; The file list is stored in a database.

[0010] Based on the above method embodiment, the present invention provides a corresponding device embodiment; An embodiment of the present invention provides a cross-gateway file transmission system, including: a sending end and a receiving end; the sending end and the receiving end are respectively deployed in different networks; The sending end is used to respond to the file ferrying operation initiated by the user at the sending end, obtain a file list of files to be sent, and obtain a number of files to be sent according to the file list; perform a security check on each file to be sent according to a preset security check condition, and for each file to be sent, if the preset security check condition is met, mark the file to be sent that meets the preset case detection condition as a safe file to be sent; wherein the preset security check condition includes: the file size is within a preset threshold range, the file does not contain viruses, and the file does not contain sensitive words; encrypt all safe files to be sent through an encryption protocol to obtain encrypted files to be sent; send the encrypted files to be sent to the receiving end, so that the receiving end receives the encrypted files to be sent.

[0011] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, a cross-gate file transmission method described in the above-mentioned embodiment of the invention is implemented.

[0012] Another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the cross-gate file transmission method described in the above-mentioned embodiment of the invention.

[0013] The following beneficial effects are achieved by implementing the present invention: The present invention provides a cross-gate file transmission method, system, terminal device and storage medium. The file transmission method is applied to a cross-gate file transmission system. The cross-gate file transmission system includes a sending end and a receiving end. The sending end and the receiving end are respectively deployed in different networks. At this time, the file transmission between the sending end and the receiving end belongs to the cross-gate file transmission. The method obtains a file list of files to be sent by responding to the file ferrying operation initiated by the user at the sending end, and obtains a number of files to be sent according to the file list. Security detection is performed on each file to be sent, and each file to be sent that meets the preset security detection conditions is marked as a safe file to be sent; wherein the preset security detection conditions include the detection of file size, file virus and file sensitive words; by performing security detection on the files to be sent under the preset security detection conditions, the security of data before the file is sent can be improved, thereby improving the security of the transmitted data; further, all the safe files to be sent that pass the security detection are encrypted by an encryption protocol to obtain the encrypted files to be sent, and then the encrypted files to be sent are transmitted to the receiving end, and the files to be sent are processed by the encryption protocol, thereby improving the security of file transmission between the sending end and the receiving end. Furthermore, manual transmission operations between the sending end and the receiving end are avoided, thereby improving the file transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 The present invention is a flowchart of a method for transmitting files across network gates provided by an embodiment of the present invention.

[0015] Figure 2 The present invention is a logical schematic diagram of a cross-gateway file transmission system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0017] In order to better understand the technical solution of the present invention and the technical effects that can be achieved, it is necessary to explain in advance that cross-gate data transmission is a method for realizing data exchange in a network isolation environment, which is usually used to transmit and share files or data between networks divided by different security levels or business requirements. In the present invention, the sender and the receiver are regarded as a group of "gates" located between different networks that need to transfer files, and it is explained how to realize cross-gate data transmission between the sender and the receiver, that is, cross-network data transmission between the sender and the receiver. The scheme of the present invention is specifically described below.

[0018] like Figure 1 As shown, a cross-gate file transmission method provided by an embodiment of the present invention is applied to Figure 2 The cross-gateway file transmission system shown includes a sending end and a receiving end, and the sending end and the receiving end are respectively deployed in different networks; The cross-gateway file transmission method comprises: Step S1: In response to a file ferrying operation initiated by a user at a sending end, a file list of files to be sent is obtained, and a number of files to be sent are obtained according to the file list; Step S2: Perform security checks on each file to be sent according to preset security check conditions. For each file to be sent, if the preset security check conditions are met, the file to be sent that meets the preset case check conditions is marked as a safe file to be sent; wherein the preset security check conditions include: the file size is within a preset threshold range, the file does not contain viruses, and the file does not contain sensitive words; Step S3: encrypt all the security files to be sent through an encryption protocol to obtain encrypted files to be sent; Step S4: Send the encrypted file to be sent to the receiving end, so that the receiving end receives the encrypted file to be sent.

[0019] For step S1, first respond to the file ferry operation initiated by the user at the sending end, obtain the file list of the files to be sent, the file list contains the identification information of several files to be sent, such as the location where each file to be sent is stored, and then obtain the physical files of each file to be sent from the database, network disk and server according to the list. Specifically, the initiator initiates the file ferry operation at the sending end. At this time, the sending end of the cross-gate file transmission system responds to the initiator's operation, starts to initiate the ferry, generates the batch data information of the current ferry initiation, marks the file ferry operation as waiting for execution, and informs the source network disk at the sending end to execute the file ferry operation in the form of an asynchronous push message queue verification task. After receiving the message, the source network disk obtains the file list of the files to be sent according to the content of the message, and obtains the physical files of each file to be sent from the source network disk based on the file list. Preferably, each file to be sent is recorded in an archive table, which can be used to record the files to be sent corresponding to each ferry initiation, and is used to distinguish the files to be sent corresponding to each operation when multiple people initiate file ferry operations at the same time.

[0020] For step S2, a security check is performed on each file to be sent. For each file to be sent, the file size, virus and sensitive word detection are performed in sequence. When the file size of the file to be sent is within the preset threshold range, does not contain viruses and does not contain sensitive words, the file to be sent is marked as a safe file to be sent. Preferably, the case detection also includes the detection of the file type. The detection of file size, virus, sensitive words and file type are all detected by calling a third-party service. Exemplarily, the sensitive word detection can be performed on the safe file to be sent by calling a third-party service related to the dictionary matching algorithm to perform sensitive word detection on the safe file to be sent, so as to preliminarily detect the obvious characteristics of sensitive words in the file to be sent, and obtain the list of sensitive words corresponding to the file to be sent through the third-party service. If there is no sensitive word, the sensitive word list is not fed back, or the fed-back sensitive word list is empty; if there is a sensitive word, the corresponding sensitive word is recorded in the archive table corresponding to the position of the file to be sent; the first round of preliminary screening of the file to be sent containing sensitive words is performed by this method. For virus detection, a third-party service related to file virus detection can also be called to detect whether there is a virus in the file to be sent. When a virus is detected, the third-party service will feedback the corresponding virus type, and then filter out the file to be sent containing the virus to avoid affecting the transmission of the remaining files to be sent. Similarly, the detection of file size and file type can also preliminarily filter out some files to be sent that do not meet the file size requirements and file type requirements. Preferably, during the security detection process, when there is a security problem in the file to be sent, the transmission of the file is terminated, and the security problem in the file to be sent is notified to the user in the form of an information prompt. For example, a security warning message containing a file sending status of failed sending is sent to the user, and the reason for the failure is stated in the warning message; when the file type does not meet the requirements, the user is informed that the reason is that the file type does not meet the set sendable file type; when the file size exceeds the preset threshold range, the user is informed of the current file size and the file size that exceeds; when the file contains a virus, the user is informed of the type of virus contained; when the file contains sensitive words, the corresponding sensitive word list is fed back to the security warning message.

[0021] Each file to be sent that meets the security detection conditions is regarded as a safe file to be sent.

[0022] In a preferred embodiment, before all security files to be sent are encrypted through an encryption protocol, it also includes: for each security file to be sent, obtaining the approval type of the security file to be sent; wherein the approval type includes: a type requiring approval and a type not requiring approval; the approval type is determined by the file type of the security file to be sent; if the approval type is a type requiring approval, the corresponding security file to be sent is marked as a file to be approved, and the file to be approved is transmitted to the corresponding approver, so that each approver can approve the corresponding file to be approved; when the file to be approved is approved, the corresponding file to be approved is fed back to the sending end; when the file to be approved is not approved, the file information that has not passed the approval in the file to be approved is extracted, and approval warning information is generated based on the file information that has not passed the approval, and the approval warning information is sent to the user.

[0023] Specifically, determine whether each security file to be sent requires further approval. For each security file to be sent, obtain the approval type of the security file to be sent, and determine whether it needs to perform an approval operation based on the approval type. Whether it is a file that needs approval is mainly determined by the file type. For some files with higher levels or higher importance, they are files that need approval; preferably, whether approval is required can also be customized by the user when it is initiated. For security files to be sent that require approval, mark them as files to be approved, send the files to be approved to the corresponding approvers for approval, and after the approval is completed, send the approved files to the source network disk for further processing through push processing. Preferably, when the approval is not passed, extract the file information that has not passed the approval in the files to be approved, and generate approval warning information based on the file information that has not passed the approval, and send the approval warning information to the user. The approval operation is mainly to further screen the sensitive words contained, and further screen out files containing sensitive information by reviewing the files by the approvers.

[0024] For step S3, all the security files to be sent are encrypted through an encryption protocol to obtain encrypted files to be sent.

[0025] In a preferred embodiment, the encryption protocol is the SFTP encryption protocol.

[0026] Specifically, when data is transmitted, protocols such as HTTP, HTTPS, FTP and SFTP can be used for transmission, but HTTP and FTP are plain text transmissions, which are easy to be intercepted and bring the risk of leakage; HTTPS and SFTP are transmitted in an encrypted manner, but HTTPS is suitable for the transmission of small files and small data packets, while SFTP is mainly used for the transmission of large files, and the transmission of large files is more stable. In addition, in some scenarios, the server requires only single-port connection communication, SFTP can solve the single port problem, and other protocols need to open more ports. Therefore, the present invention uses SFTP as an encryption protocol for data transmission to improve the security of data packet transmission.

[0027] In a preferred embodiment, before encrypting all the security files to be sent through an encryption protocol, it also includes: assembling all the security files to be sent according to the file list to obtain a security file package to be sent; compressing the file list and the security file package to be sent to obtain a compressed security file package to be sent; encrypting all the security files to be sent through an encryption protocol to obtain encrypted files to be sent includes: encrypting the compressed security file package to be sent through the SFTP encryption protocol to obtain the encrypted file to be sent.

[0028] Specifically, according to the file list, all approved pending files and pending security files that have passed security testing and do not require approval are assembled to obtain a pending security file package; the pending security file package is compressed to obtain a compressed pending security file package. The compressed pending security file package is encrypted using the SFTP encryption protocol to obtain a pending encrypted file.

[0029] It should be noted that the SFTP encryption protocol is implemented in the SFTP server at the sending end. SFTP (Secure File Transfer Protocol) itself does not directly provide the function of encrypting or decrypting files, but relies on the SSH protocol (Secure Shell) it contains to ensure the security of the file transfer process. The key pair is generated through the SSH protocol, and the compressed secure file package to be sent is encrypted with the public key, and the encrypted file to be sent is transmitted to the receiving end through the encryption protocol channel. When the receiving end receives the encrypted file to be sent, the private key corresponding to SSH of SFTP is used to decrypt the encrypted file to be sent. The decryption process is automatic, that is, when the encrypted file to be sent is transmitted to the receiving end, the decryption process is completed synchronously.

[0030] For step S4, in a preferred embodiment, sending the encrypted file to be sent to the receiving end so that the receiving end receives the encrypted file to be sent includes: establishing an encryption protocol session channel from the sending end to the receiving end; when the encryption protocol session channel is connected, transmitting the encrypted file to be sent to the receiving end through the encryption protocol session channel.

[0031] In a preferred embodiment, after the receiving end receives the encrypted file to be sent, it also includes: decrypting the encrypted file to be sent to obtain a compressed secure file package to be sent; decompressing and extracting the compressed secure file package to be sent to obtain a number of files to be sent and a file list of files to be sent; storing all files to be sent to the storage server of the receiving end; and storing the file list to a database.

[0032] Specifically, an SFTP encryption protocol session channel is established from the sender to the receiver. Preferably, the session channel is usually established when the sender and the receiver are connected for the first time. When it is not the first time to connect, the session channel is detected to see if the session channel is connectable. If it is connectable, there is no need to re-establish the session channel. If the sender and the receiver cannot establish a session channel, a message indicating that the sender fails to send the file to the receiver is fed back to the user. After the SFTP encryption protocol session channel from the sender to the receiver is successfully established, the encrypted file to be sent is sent to the receiver through the channel, so that after the receiver receives the encrypted file to be sent, the encrypted file to be sent is decrypted. The decryption operation is automatic decryption by the SSH protocol. The decryption operation is usually completed at the same time when the receiver receives the encrypted file to be sent, and a compressed secure file package to be sent is obtained; the compressed package is decompressed to obtain a decompressed file package, and then a file list and all files to be sent are extracted from the decompressed file package, and then all files to be sent are stored in the storage server of the receiver, so that they are stored in the file directory of the receiver, and the file list is stored in the database, and then visual data is generated according to the data corresponding to the file list called by the database.

[0033] Based on the above method embodiments, the present invention provides corresponding system embodiments.

[0034] like Figure 2 As shown, an embodiment of the present invention provides a cross-gate file transmission system, including: a sending end and a receiving end; the sending end and the receiving end are respectively deployed in different networks; The sending end is used to respond to the file ferrying operation initiated by the user at the sending end, obtain a file list of files to be sent, and obtain a number of files to be sent according to the file list; perform a security check on each file to be sent according to a preset security check condition, and for each file to be sent, if the preset security check condition is met, mark the file to be sent that meets the preset case detection condition as a safe file to be sent; wherein the preset security check condition includes: the file size is within a preset threshold range, the file does not contain viruses, and the file does not contain sensitive words; encrypt all safe files to be sent through an encryption protocol to obtain encrypted files to be sent; send the encrypted files to be sent to the receiving end, so that the receiving end receives the encrypted files to be sent.

[0035] It should be noted that the system item embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the system embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without creative work.

[0036] Those skilled in the art can clearly understand that for the sake of convenience and brevity, the specific working process of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0037] Based on the above method item embodiments, the present invention provides corresponding terminal device item embodiments.

[0038] An embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a cross-gate file transmission method described in any one of the present invention is implemented.

[0039] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0040] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.

[0041] The memory can be used to store the computer program, and the processor realizes various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0042] Based on the above method item embodiments, the present invention provides a corresponding storage medium item embodiment.

[0043] An embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute any one of the cross-gate file transmission methods described in the present invention.

[0044] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0045] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A cross-gateway file transmission method, characterized in that: Applied to a cross-gateway file transmission system, the cross-gateway file transmission system comprises a sending end and a receiving end, and the sending end and the receiving end are respectively deployed in different networks; The cross-gateway file transmission method comprises: In response to a file ferrying operation initiated by a user at a sending end, a file list of files to be sent is obtained, and a number of files to be sent are obtained according to the file list; Perform security checks on each file to be sent according to preset security check conditions. For each file to be sent, if the preset security check conditions are met, the file to be sent that meets the preset case check conditions is marked as a safe file to be sent; wherein the preset security check conditions include: the file size is within a preset threshold range, the file does not contain viruses, and the file does not contain sensitive words; Encrypt all the security files to be sent through the encryption protocol to obtain the encrypted files to be sent; The encrypted file to be sent is sent to the receiving end, so that the receiving end receives the encrypted file to be sent.

2. A cross-gateway file transmission method as claimed in claim 1, characterized in that: Before all secure files to be sent are encrypted via encryption protocols, it also includes: For each security file to be sent, obtaining the approval type of the security file to be sent; wherein the approval type includes: a type requiring approval and a type not requiring approval; the approval type is determined by the file type of the security file to be sent; If the approval type is a type that requires approval, the corresponding security file to be sent is marked as a file to be approved, and the file to be approved is transmitted to the corresponding approver, so that each approver can approve the corresponding file to be approved; When the pending documents are approved, the corresponding pending documents are fed back to the sending end; When the pending documents fail to be approved, the document information that has not passed the approval is extracted from the pending documents, and approval warning information is generated based on the document information that has not passed the approval, and the approval warning information is sent to the user.

3. A cross-gateway file transmission method as claimed in claim 1, characterized in that: The encryption protocol is the SFTP encryption protocol.

4. A cross-gateway file transmission method as claimed in claim 3, characterized in that: Before all secure files to be sent are encrypted via encryption protocols, it also includes: Assembling all the security files to be sent according to the file list to obtain a security file package to be sent; Compressing the file list and the security file package to be sent to obtain a compressed security file package to be sent; The method of encrypting all the security files to be sent by using an encryption protocol to obtain the encrypted files to be sent includes: The compressed secure file package to be sent is encrypted through the SFTP encryption protocol to obtain an encrypted file to be sent.

5. A cross-gateway file transmission method as claimed in claim 4, characterized in that: The step of sending the encrypted file to be sent to the receiving end so that the receiving end receives the encrypted file to be sent includes: Establish an encrypted protocol session channel from the sender to the receiver; When the encryption protocol session channel is connected, the encrypted file to be sent is transmitted to the receiving end through the encryption protocol session channel.

6. A cross-gateway file transmission method as claimed in claim 5, characterized in that: After the receiving end receives the encrypted file to be sent, the method further includes: Decrypt the encrypted file to be sent to obtain a compressed secure file package to be sent; Decompressing and extracting the compressed security file package to be sent to obtain a number of files to be sent and a file list of the files to be sent; Store all files to be sent to the storage server at the receiving end; The file list is stored in a database.

7. A cross-gateway file transmission system, characterized in that: include: The sending end and the receiving end are deployed in different networks respectively; The sending end is used to respond to the file ferrying operation initiated by the user at the sending end, obtain a file list of files to be sent, and obtain a number of files to be sent according to the file list; Perform security checks on each file to be sent according to preset security check conditions. For each file to be sent, if the preset security check conditions are met, the file to be sent that meets the preset case detection conditions will be marked as a safe file to be sent; wherein the preset security check conditions include: the file size is within a preset threshold range, the file does not contain viruses, and the file does not contain sensitive words; encrypt all safe files to be sent through an encryption protocol to obtain encrypted files to be sent; send the encrypted files to be sent to a receiving end, so that the receiving end receives the encrypted files to be sent.

8. A terminal device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, a cross-gate file transmission method as claimed in any one of claims 1 to 6 is implemented.

9. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute a cross-gate file transmission method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Data protocol conversion method and device, data transmission system and electronic equipment

    CN110381093A

  • File transmission method, device and equipment and readable storage medium

    CN112383612A

  • Security file ferrying system

    CN113794777A

Cited By

  • Cross-domain file secure transmission method, system and device and storage medium

    CN121530759A