CN110099104B - File transmission method, system and storage medium - Google Patents

File transmission method, system and storage medium Download PDF

Info

Publication number
CN110099104B
CN110099104B CN201910295684.5A CN201910295684A CN110099104B CN 110099104 B CN110099104 B CN 110099104B CN 201910295684 A CN201910295684 A CN 201910295684A CN 110099104 B CN110099104 B CN 110099104B
Authority
CN
China
Prior art keywords
file
target
server
stream
target file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910295684.5A
Other languages
Chinese (zh)
Other versions
CN110099104A (en
Inventor
石先江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910295684.5A priority Critical patent/CN110099104B/en
Publication of CN110099104A publication Critical patent/CN110099104A/en
Priority to PCT/CN2019/102534 priority patent/WO2020206904A1/en
Application granted granted Critical
Publication of CN110099104B publication Critical patent/CN110099104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to the field of big data, and provides a file transmission method, a file transmission system and a storage medium. The method comprises the following steps: the file transfer method comprises the steps that a file transfer request and a file stream to be transferred, which are transferred by a business server through a unified file transfer interface, are received through a file interface server, the unified file transfer interface converts the file stream to be transferred into a target file according to the file transfer request and sends the target file to an intranet area cloud storage server for storage, a file proxy server receives a file transfer instruction sent by the business server, obtains the target file stream corresponding to a target file identifier from the intranet area cloud storage server according to the file transfer instruction, and pushes the target file stream corresponding to the target file identifier to a target correlation party. The file transmission is realized in a file stream mode among different area networks by unifying file transmission logic and processing modes, and the file transmission can be realized more efficiently and more conveniently on the premise of ensuring data security.

Description

File transmission method, system and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a file transfer method, system, and storage medium.
Background
With the rapid development of computer multimedia technology, it is very important to control and manage the network big data resources. At present, Private Clouds (Private Clouds) are individually constructed for some proprietary resources, effective control on data, security and service quality is improved, and the Private Clouds are deployed in a firewall of an enterprise data center or a secure host hosting place, so that the security of the data is ensured. However, on a private cloud, different network areas have strict authority control, file transmission is very inconvenient, each file transmission needs to be separately developed, and the later maintenance cost is also different in implementation mode, so that the maintenance mode is complex and the operation cost is high.
Disclosure of Invention
Therefore, it is necessary to provide a file transfer method, a file transfer system, and a storage medium that are efficient and low in cost, in order to solve the technical problems of complicated file transfer methods and high cost.
A method of file transfer, the method comprising:
the file interface server receives a file outgoing request and a file stream to be transmitted, which are transmitted by a business server through a unified file calling interface, wherein the file outgoing request carries file storage information and first associated party transmission information;
the unified file calling interface converts the file stream to be transmitted into a target file according to the file outgoing request, and sends the target file to an intranet area cloud storage server for storage according to the file storage information;
the file proxy server receives a file outgoing instruction sent by the service server, wherein the file outgoing instruction carries a target file identifier, and a target file stream corresponding to the target file identifier is obtained from the intranet area cloud storage server according to the file outgoing instruction;
and the file proxy server acquires the transmission information of the first associated party, determines a first target transmission mode according to the transmission information of the first associated party, and pushes the target file stream corresponding to the target file identifier to the target associated party in the first target transmission mode.
In one embodiment, the step of acquiring, by the file proxy server, the target file stream corresponding to the target file identifier from the intranet zone storage server according to the file outgoing instruction further includes:
the file proxy server sends a file stream acquisition notification to a file intermediate server according to the file outgoing instruction, wherein the file stream acquisition notification carries the target file identifier;
and the file intermediate server reads a target file corresponding to the target file identifier from the intranet area cloud storage server in a file stream mode according to the target file identifier to obtain the target file stream, and pushes the target file stream to the file proxy server.
In one embodiment, the step of sending the target file to an intranet area cloud storage server for storage according to the file storage information further includes:
the unified file calling interface sends a login request to the intranet area cloud storage server, wherein the login request carries the identity information of the service server;
the intranet area cloud storage server verifies the login authority of the service server according to the identity information, and completes login operation according to the login authority;
the unified file calling interface acquires an encryption key corresponding to the service server, encrypts the target file according to the encryption key, and sends a storage request to the intranet area cloud storage server, wherein the storage request carries the encrypted target file;
and the intranet area cloud storage server acquires a corresponding decryption key according to the channel information corresponding to the service server, decrypts the target file according to the decryption key, and stores the successfully decrypted target file in the target position of the intranet area cloud storage server.
In one embodiment, the method further comprises:
the file proxy server receives a file incoming instruction sent by the service server, wherein the file incoming instruction comprises second associated party transmission information and target file information;
determining a second target transmission mode according to the second associated party transmission information, and acquiring a target file corresponding to the target file information from the target associated party according to the second target transmission mode;
the file proxy server uploads a target file corresponding to the target file information to an extranet area cloud storage server;
and the service server acquires the target file from the extranet area cloud storage server through the unified file calling interface.
In one embodiment, the step of acquiring, by the service server, the target file from the extranet area cloud storage server through the unified file call interface further includes:
the file interface server receives a file incoming request transmitted by the service server through the unified file calling interface, wherein the file incoming request comprises a file name and second associated party transmission information;
and the unified file calling interface acquires a target file in the cloud storage server of the extranet area and outputs a storage address of the target file and the parameter information of the target file.
A file transfer system, the system comprising:
the file transmission module is used for receiving a file transmission request and a file stream to be transmitted, which are transmitted by the business server through the unified file calling interface, through the file interface server, wherein the file transmission request carries file storage information and first associated party transmission information;
the intranet area file storage module is used for converting the file stream to be transmitted into a target file according to the file outgoing request through the unified file calling interface and sending the target file to an intranet area cloud storage server for storage according to the file storage information;
a target file stream obtaining module, configured to receive, by a file proxy server, a file outgoing instruction sent by the service server, where the file outgoing instruction carries a target file identifier, and obtain, according to the file outgoing instruction, a target file stream corresponding to the target file identifier from the intranet area cloud storage server;
and the file transmission module is used for acquiring the transmission information of the first associated party through the file proxy server, determining a first target transmission mode according to the transmission information of the first associated party, and pushing the target file stream corresponding to the target file identifier to the target associated party in the first target transmission mode.
A file transmission system comprises a file interface server, a service server, a file proxy server and an intranet area cloud storage server;
the file interface server is used for receiving a file outgoing request and a file stream to be transmitted, which are transmitted by the business server through the unified file transfer interface, wherein the file outgoing request carries file storage information and first associated party transmission information;
the file proxy server is used for receiving a file outgoing instruction sent by the service server, wherein the file outgoing instruction carries a target file identifier, and a target file stream corresponding to the target file identifier is obtained from the intranet area cloud storage server according to the file outgoing instruction;
the file proxy server is further configured to obtain the first associated party transmission information, determine a first target transmission mode according to the first associated party transmission information, and push a target file stream corresponding to the target file identifier to a target associated party in the first target transmission mode.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the respective method embodiment described above.
The file transmission method, the file transmission system and the storage medium receive a file outgoing request and a file stream to be transmitted, which are transmitted by a business server through a unified file transfer interface through a file interface server, the file outgoing request carries file storage information and first correlation party transmission information, the unified file transfer interface converts the file stream to be transmitted into a target file according to the file outgoing request and transmits the target file to an intranet area cloud storage server for storage according to the file storage information, a file proxy server receives a file outgoing instruction sent by the business server, the file outgoing instruction carries a target file identifier, the target file stream corresponding to the target file identifier is obtained from the intranet area cloud storage server according to the file outgoing instruction, the file proxy server obtains the first correlation party transmission information, and determines a first target transmission mode according to the first correlation party transmission information, and pushing the target file stream corresponding to the target file identifier to a target associated party in a first target transmission mode. By unifying file transmission logic and processing modes, file transmission and interaction are realized among different area networks in a file stream mode, and file transmission can be realized more efficiently and more conveniently on the premise of ensuring data security.
Drawings
FIG. 1 is a diagram of an application scenario of a file transfer method according to an embodiment;
FIG. 2 is a flowchart illustrating a file transfer method according to an embodiment;
FIG. 3 is a flowchart illustrating a file transfer method according to another embodiment;
FIG. 4 is a flowchart illustrating a file transfer method according to an embodiment;
FIG. 5 is a flowchart illustrating a file transfer method according to another embodiment;
FIG. 6 is a flowchart illustrating a file transfer method according to still another embodiment;
fig. 7 is a block diagram showing the configuration of a file transfer system in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The file transmission method provided by the application can be applied to the application environment shown in fig. 1. Fig. 1 is a diagram of an application environment in which a file transfer method operates in one embodiment. As shown in fig. 1, the application environment includes an intranet area a, an extranet area B, and an associator area C, where the intranet area a includes: the system comprises a business server 110, a file interface server 120, an intranet area cloud storage server 130 and a file intermediate server 140, wherein an extranet area B comprises an extranet area cloud storage server 150 and a file proxy server 160, and an associator area C comprises: the service server 171 and 174 corresponds to the caller, and the service server 171 and 174 corresponds to the associated party, so as to realize the file transmission between the caller and the associated party. The servers communicate with each other through a network, which may be a wireless or wired communication network, such as an IP network, a cellular mobile communication network, etc.
The server may be implemented by an independent server or a server cluster composed of a plurality of servers, and the server may also be understood as a system. Receiving a file outgoing request and a file stream to be transmitted, which are transmitted by a business server 110 through a unified file transfer interface, through a file interface server 120, the file outgoing request carrying file storage information and first related party transmission information, the unified file transfer interface converting the file stream to be transmitted into a target file according to the file outgoing request and transmitting the target file to an intranet area cloud storage server 130 for storage according to the file storage information, a file proxy server 160 receiving a file outgoing instruction sent by the business server 110, the file outgoing instruction carrying a target file identifier, acquiring the target file stream corresponding to the target file identifier from the intranet area cloud storage server 130 according to the file outgoing instruction, the file proxy server 160 acquiring the first related party transmission information and determining a first target transmission mode according to the first related party transmission information, and pushing the target file stream corresponding to the target file identifier to a target associated party in a first target transmission mode. The file transmission is realized in a file stream mode among different area networks by unifying file transmission logic and processing modes, and the file transmission can be realized more efficiently and more conveniently on the premise of ensuring data security.
In an embodiment, as shown in fig. 2, a file transmission method is provided, which is described by taking the method as an example applied to the file interface server and the service server in fig. 1, and includes the following steps:
step 210, the file interface server receives a file outgoing request and a file stream to be transmitted, which are transmitted by the service server through the unified file call interface, where the file outgoing request carries file storage information and first associated party transmission information.
The file interface server is a server for performing unified logic processing on file streams to be transmitted, the service server provides a simple and unified file calling interface, and the service server is a server for service processing. When a service server in an intranet region needs to transmit a file from the intranet to an extranet, a unified file calling interface is called to transmit the file to be transmitted to a file interface system in a file stream mode, and file storage information and related party transmission information are carried in a file transmission request.
The first associated party transmission information is used to describe corresponding transmission related information when the file is transmitted to the associated party, and includes, for example, a file transmission mode, such as SFTP/FTP/stream/interface, and the transmission modes corresponding to different associated parties may be different.
And step 220, converting the file stream to be transmitted into a target file by the unified file calling interface according to the file outgoing request, and sending the target file to the intranet area cloud storage server for storage according to the file storage information.
The unified file calling interface converts a file stream into a target file according to a file outgoing request, stores the target file to a target position of an intranet area cloud storage system, namely an IOBS-SF according to file storage information, wherein the IOBS-SF is used for providing cloud storage service of a security area, can be understood as a distributed file management system, and identifies the target file through a target file identifier.
The service server of the intranet area and the intranet area cloud storage server are located in an intranet (SF area), the SF area is a safe intranet area, files can be transmitted into the intranet from an extranet, but the files cannot be directly transmitted to the extranet from the SF area, and the files can be transmitted outwards in a streaming mode.
In step 230, the file proxy server receives a file outgoing instruction sent by the service server, where the file outgoing instruction carries a target file identifier, and obtains a target file stream corresponding to the target file identifier from the intranet area cloud storage server according to the file outgoing instruction.
The file proxy server is used for unifying processing authority and interactive modes and unifying a common interface mode to shield differences of interactive modes such as FTP/SFTP/SOCKET/file stream and the like and internally unifying the modes of the file stream. The file proxy server belongs to an external network partition (DMZ/PTR) area. The DMZ zone is an external gateway zone, which is a dangerous area because of the complex network environment, where the file needs to be safely scanned to transfer the file to the SF zone. The PTR zone is similar to the DMZ zone, but because it is a private line, facing a particular party of relevance, the risk factor is greater than the SF zone, but smaller than the DMZ zone. The DMZ and PTR domains cannot be directly connected and need to be transferred through the SF domain.
The calling party, namely the service server in the SF area, sends a file transmission instruction to the file proxy server to upload the file, wherein the file transmission instruction carries the ID of the file to be uploaded by the system, namely the target identification. And acquiring the target file corresponding to the target file identifier from the security area cloud storage system in a file stream form through the file intermediate server.
Step 240, the file proxy server obtains the first associated party transmission information, determines a first target transmission mode according to the first associated party transmission information, and pushes the target file stream corresponding to the target file identifier to the target associated party in the first target transmission mode.
After the file proxy server obtains the target file stream, the target file stream is converted into an interactive mode supported by an associated party according to a file transfer interactive mode (SFTP/FTP/stream/interface and the like) configured in the file proxy server to complete final interaction, and the file is pushed to the other party. The associated party refers to one or more of the service servers of the foreign network area.
In the embodiment, a file outgoing request and a file stream to be transmitted, which are transmitted by a business server through a unified file transfer interface, are received through a file interface server, the file outgoing request carries file storage information and first associated party transmission information, the unified file transfer interface converts the file stream to be transmitted into a target file according to the file outgoing request, and sends the target file to the cloud storage server in the intranet area for storage according to the file storage information, the file proxy server receives a file outgoing instruction sent by the service server, the file outgoing instruction carries a target file identifier, acquiring a target file stream corresponding to a target file identifier from an intranet area cloud storage server according to a file outgoing instruction, acquiring first associated party transmission information by a file proxy server, and determining a first target transmission mode according to the transmission information of the first associated party, and pushing the target file stream corresponding to the target file identifier to the target associated party in the first target transmission mode. The unified file transfer interface provides unified authority and file processing, file transfer is realized in a file stream mode among different area networks, file transfer can be realized more efficiently and more conveniently on the premise of ensuring data security, and the cost of file transfer is reduced.
In one embodiment, as shown in FIG. 3, step 230 includes:
step 231, the file proxy server sends a file stream acquisition notification to the file intermediate server according to the file outgoing instruction, where the file stream acquisition notification carries the target file identifier.
In step 232, the file intermediate server reads the target file corresponding to the target file identifier from the intranet area cloud storage server in a file stream form according to the target file identifier to obtain a target file stream, and pushes the target file stream to the file proxy server.
The file proxy server sends a notification message to the file intermediate server, then the notification message carries an ID of a file to be uploaded, the file intermediate server finds the target file from the intranet area cloud storage system according to the target file identification, reads the file in a file stream mode, and the file intermediate server sends the file stream to the file proxy server. Wherein the file intermediate server is a server belonging to the SF zone. In this embodiment, a file stream is obtained by a file intermediate server in an intranet zone and then pushed to a file proxy server in an extranet zone, so that cross-regional file stream interaction is realized.
In one embodiment, as shown in FIG. 4, step 220 further comprises:
step 221, the unified file call interface sends a login request to the intranet area cloud storage server, and the login request carries the identity information of the service server.
The intranet area cloud storage server provides services for all people, charging is carried out, the identity of a caller needs to be verified in each calling request, namely the identity server of the intranet area service server needs to be verified in the calling request. The identity information of the intranet zone service server may be ID identification of the server, account information, and the like.
And step 222, the intranet area cloud storage server verifies the login authority of the service server according to the identity information, and completes login operation according to the login authority.
After the login operation is successfully completed, the service server can upload and store the file in the intranet area cloud storage server.
Step 223, the unified file calling interface obtains an encryption key corresponding to the service server, encrypts the target file according to the encryption key, and sends a storage request to the intranet area cloud storage server, wherein the storage request carries the encrypted target file;
the target file of the service server is uploaded to the cloud storage server of the intranet area through the unified file calling interface for storage, and the unified file calling interface encrypts the target file and then uploads the encrypted target file, so that the information security of the target file is guaranteed.
And step 224, the intranet area cloud storage server acquires a corresponding decryption key according to the channel information corresponding to the service server, decrypts the target file according to the decryption key, and stores the successfully decrypted target file into the target position of the intranet area cloud storage server.
When the cloud storage server in the intranet area receives the encrypted target file uploaded by the unified file calling interface, verification is needed, and the encrypted target file which is successfully verified is decrypted. The verification is performed by determining channels corresponding to the service servers and acquiring corresponding decryption keys according to different channel information corresponding to different service servers. And storing the successfully decrypted target file into a target position of the cloud storage server of the internal network area to finish the storage process, thereby ensuring the effectiveness and the safety of the storage service.
In one embodiment, as shown in fig. 5, the file transfer method further includes the steps of:
in step 310, the file proxy server receives a file incoming instruction sent by the service server, where the file incoming instruction includes second associated party transmission information and target file information.
The file transfer instruction refers to an instruction for receiving a file transferred from the external network area to the internal network area by a service server in the internal network area. The second associator transfer information is used to describe transfer related information to be corresponded to when the associator transfers the file. The target file information refers to information for subsequently searching for a target file.
And 320, determining a second target transmission mode according to the second associated party transmission information, and acquiring a target file corresponding to the target file information from the target associated party according to the second target transmission mode.
The second associated party may transmit information including file transmission modes, such as SFTP/FTP/stream/interface, and the transmission modes corresponding to different associated parties may be different. The target file information may be a target file identifier, target file location information, etc. for subsequent searching of the target file.
In step 330, the file proxy server uploads the target file corresponding to the target file information to the cloud storage server in the extranet area.
And 340, the service server acquires the target file from the cloud storage server of the external network area through the unified file calling interface.
The file proxy server uploads the target file to the extranet area cloud storage system and sends target file information to the service server, wherein the target file information can be target file identification, target file position information and the like and is used for searching the target file subsequently. The unified file calling interface encapsulates a unified format to acquire the target file from the extranet area cloud storage system.
In this embodiment, a target file is acquired from a correlation party, that is, a service server in an extranet area, through a file proxy server in an extranet area, and the target file is uploaded to an extranet area cloud storage system, and target file information of the target file is sent to a service server in an intranet area, and the service server in the intranet area acquires the target file from the extranet area cloud storage system through a unified file call interface, so that file transmission from the extranet area to the intranet is realized.
In one embodiment, as shown in fig. 6, step 340 further comprises:
in step 341, the file interface server receives a file transfer-in request transmitted by the service server through the unified file transfer interface, where the file transfer-in request includes a file name and second associated party transmission information.
In step 342, the unified file calling interface acquires a target file in the cloud storage server in the extranet area and outputs a storage address of the target file and parameter information of the target file.
The file name refers to a name of a file that needs to be transmitted from an external network to an internal network. The second associated party transmission information is used for describing transmission related information corresponding to the file transfer by the associated party, such as file channel configuration information and the like.
The storage address of the target file refers to address information indicating a storage location of the target file, such as a storage unit number of the target file in the cloud storage server in the extranet area. The target file parameter information is information capable of determining the state of the target file, such as information indicating whether the target file is successfully acquired.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a file transfer system including: a file outgoing module 710, an intranet zone file storage module 720, a target file stream acquisition module 730, and a file transmission module 740, wherein:
the file outgoing module 710 is configured to receive, by the file interface server, a file outgoing request and a file stream to be transmitted, where the file outgoing request is transmitted by the service server through the unified file invoking interface, and the file outgoing request carries file storage information and first associated party transmission information.
And the intranet area file storage module 720 is configured to convert the file stream to be transmitted into a target file according to the file outgoing request through the unified file call interface, and send the target file to the intranet area cloud storage server for storage according to the file storage information.
And a target file stream obtaining module 730, configured to receive, by the file proxy server, a file outgoing instruction sent by the service server, where the file outgoing instruction carries a target file identifier, and obtain, according to the file outgoing instruction, a target file stream corresponding to the target file identifier from the intranet area cloud storage server.
The file transfer module 740 is configured to obtain the first affiliate transfer information through the file proxy server, determine a first target transfer manner according to the first affiliate transfer information, and push the target file stream corresponding to the target file identifier to the target affiliate in the first target transfer manner.
In an embodiment, the target file stream obtaining module 730 is further configured to send a file stream obtaining notification to the file intermediate server through the file proxy server according to the file outgoing instruction, where the file stream obtaining notification carries the target file identifier, and further configured to read, by the file intermediate server, the target file corresponding to the target file identifier from the intranet area cloud storage server in a file stream form according to the target file identifier, obtain the target file stream, and push the target file stream to the file proxy server.
In one embodiment, the intranet zone file storage module 720 includes:
the login unit is used for sending a login request to the cloud storage server in the intranet area through a unified file calling interface, wherein the login request carries the identity information of the service server;
the verification unit is used for verifying the login authority of the service server according to the identity information through the intranet area cloud storage server and completing login operation according to the login authority;
the encryption unit is used for acquiring an encryption key corresponding to the service server through the unified file calling interface, encrypting the target file according to the encryption key, and sending a storage request to the intranet area cloud storage server, wherein the storage request carries the encrypted target file;
and the decryption unit is used for acquiring a corresponding decryption key according to the channel information corresponding to the service server through the intranet area cloud storage server, decrypting the target file according to the decryption key, and storing the successfully decrypted target file into the target position of the intranet area cloud storage server.
For the specific limitation of the file transfer system, reference may be made to the above limitation of the file transfer method, which is not described herein again. The various modules in the file transfer system described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a file transmission system is provided and comprises a file interface server, a business server, a file proxy server and an intranet area cloud storage server.
The file interface server is used for receiving a file outgoing request and a file stream to be transmitted, which are transmitted by the business server through the unified file transfer interface, wherein the file outgoing request carries file storage information and first associated party transmission information, the unified file transfer interface converts the file stream to be transmitted into a target file according to the file outgoing request, and sends the target file to the intranet area cloud storage server for storage according to the file storage information.
The file proxy server is used for receiving a file outgoing instruction sent by the service server, the file outgoing instruction carries a target file identifier, and a target file stream corresponding to the target file identifier is obtained from the intranet area cloud storage server according to the file outgoing instruction.
The file proxy server is further used for acquiring the transmission information of the first associated party, determining a first target transmission mode according to the transmission information of the first associated party, and pushing the target file stream corresponding to the target file identifier to the target associated party in the first target transmission mode.
In an embodiment, the system further includes a file intermediate server, and the file proxy server is further configured to send a notification of obtaining a file stream to the file intermediate server according to the file outgoing instruction, where the notification of obtaining the file stream carries the target file identifier.
And the file intermediate server reads a target file corresponding to the target file identifier from the intranet area cloud storage server in a file stream mode according to the target file identifier to obtain a target file stream, and pushes the target file stream to the file proxy server.
In an embodiment, the file interface server is further configured to send a login request to the cloud storage server in the intranet area through the unified file call interface, where the login request carries the identity information of the service server.
The intranet area cloud storage server is further used for verifying the login authority of the service server according to the identity information and completing login operation according to the login authority.
The file interface server is further used for obtaining an encryption key corresponding to the service server through the unified file calling interface, encrypting the target file according to the encryption key, and sending a storage request to the intranet area cloud storage server, wherein the storage request carries the encrypted target file.
The intranet area cloud storage server is further used for obtaining a corresponding decryption key according to the channel information corresponding to the service server, decrypting the target file according to the decryption key, and storing the target file which is successfully decrypted into the target position of the intranet area cloud storage server.
In one embodiment, the system further comprises an extranet area cloud storage server. The file proxy server is further used for receiving a file incoming instruction sent by the service server, the file incoming instruction comprises second associated party transmission information and target file information, a second target transmission mode is determined according to the second associated party transmission information, and a target file corresponding to the target file information is obtained from the target associated party according to the second target transmission mode.
The file proxy server is further used for uploading the target file corresponding to the target file information to the cloud storage server in the extranet area.
The service server is further used for obtaining the target file from the external network area cloud storage server through the unified file calling interface.
In one embodiment, the file interface server is further configured to receive a file incoming request delivered by the service server through the unified file call interface, where the file incoming request includes a file name and the second associated party transmission information.
The unified file calling interface is further used for obtaining a target file in the cloud storage server of the external network area and outputting a storage address of the target file and parameter information of the target file.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: the file interface server receives a file outgoing request and a file stream to be transmitted, which are transmitted by the service server through the unified file calling interface, wherein the file outgoing request carries file storage information and first associated party transmission information. And the unified file calling interface converts the file stream to be transmitted into a target file according to the file outgoing request, and sends the target file to the intranet area cloud storage server for storage according to the file storage information. The file proxy server receives a file outgoing instruction sent by the service server, the file outgoing instruction carries a target file identifier, and a target file stream corresponding to the target file identifier is sent from the intranet area cloud storage server according to the file outgoing instruction. The file proxy server acquires the transmission information of the first associated party, determines a first target transmission mode according to the transmission information of the first associated party, and pushes a target file stream corresponding to the target file identifier to the target associated party in the first target transmission mode.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of file transfer, the method comprising:
the file interface server receives a file outgoing request and a file stream to be transmitted, which are transmitted by a business server through a unified file calling interface, wherein the file outgoing request carries file storage information and first associated party transmission information;
the unified file calling interface converts the file stream to be transmitted into a target file according to the file outgoing request, and sends the target file to an intranet area cloud storage server for storage according to the file storage information;
the file proxy server receives a file outgoing instruction sent by the service server, wherein the file outgoing instruction carries a target file identifier, and a target file stream corresponding to the target file identifier is obtained from the intranet area cloud storage server according to the file outgoing instruction;
and the file proxy server acquires the transmission information of the first associated party, determines a first target transmission mode according to the transmission information of the first associated party, and pushes the target file stream corresponding to the target file identifier to the target associated party in the first target transmission mode.
2. The method according to claim 1, wherein the step of the file proxy server obtaining the target file stream corresponding to the target file identifier from the intranet zone cloud storage server according to the file outgoing instruction further includes:
the file proxy server sends a file stream acquisition notification to a file intermediate server according to the file outgoing instruction, wherein the file stream acquisition notification carries the target file identifier;
and the file intermediate server reads a target file corresponding to the target file identifier from the intranet area cloud storage server in a file stream mode according to the target file identifier to obtain the target file stream, and pushes the target file stream to the file proxy server.
3. The method according to claim 1, wherein the step of sending the target file to an intranet area cloud storage server for storage according to the file storage information further comprises:
the unified file calling interface sends a login request to the intranet area cloud storage server, wherein the login request carries the identity information of the service server;
the intranet area cloud storage server verifies the login authority of the service server according to the identity information, and completes login operation according to the login authority;
the unified file calling interface acquires an encryption key corresponding to the service server, encrypts the target file according to the encryption key, and sends a storage request to the intranet area cloud storage server, wherein the storage request carries the encrypted target file;
and the intranet area cloud storage server acquires a corresponding decryption key according to the channel information corresponding to the service server, decrypts the target file according to the decryption key, and stores the successfully decrypted target file in the target position of the intranet area cloud storage server.
4. The method of claim 1, further comprising:
the file proxy server receives a file incoming instruction sent by the service server, wherein the file incoming instruction comprises second associated party transmission information and target file information;
determining a second target transmission mode according to the second associated party transmission information, and acquiring a target file corresponding to the target file information from the target associated party according to the second target transmission mode;
the file proxy server uploads a target file corresponding to the target file information to an extranet area cloud storage server;
and the service server acquires the target file from the extranet area cloud storage server through the unified file calling interface.
5. The method according to claim 4, wherein the step of the service server obtaining the target file from the extranet area cloud storage server through the unified file call interface further comprises:
the file interface server receives a file incoming request transmitted by the service server through the unified file calling interface, wherein the file incoming request comprises a file name and second associated party transmission information;
and the unified file calling interface acquires a target file in the cloud storage server of the extranet area and outputs a storage address of the target file and the parameter information of the target file.
6. A file transfer system, the system comprising:
the file transmission module is used for receiving a file transmission request and a file stream to be transmitted, which are transmitted by the business server through the unified file calling interface, through the file interface server, wherein the file transmission request carries file storage information and first associated party transmission information;
the intranet area file storage module is used for converting the file stream to be transmitted into a target file according to the file outgoing request through the unified file calling interface and sending the target file to an intranet area cloud storage server for storage according to the file storage information;
a target file stream obtaining module, configured to receive, by a file proxy server, a file outgoing instruction sent by the service server, where the file outgoing instruction carries a target file identifier, and obtain, according to the file outgoing instruction, a target file stream corresponding to the target file identifier from the intranet area cloud storage server;
and the file transmission module is used for acquiring the transmission information of the first associated party through the file proxy server, determining a first target transmission mode according to the transmission information of the first associated party, and pushing the target file stream corresponding to the target file identifier to the target associated party in the first target transmission mode.
7. The system according to claim 6, wherein the target file stream obtaining module is further configured to send a file stream obtaining notification to a file intermediate server through the file proxy server according to the file outgoing instruction, where the file stream obtaining notification carries the target file identifier, and further configured to read, by the file intermediate server, a target file corresponding to the target file identifier from the intranet area cloud storage server in a file stream form according to the target file identifier, obtain the target file stream, and push the target file stream to the file proxy server.
8. A file transmission system is characterized by comprising a file interface server, a service server, a file proxy server and an intranet area cloud storage server;
the file interface server is used for receiving a file outgoing request and a file stream to be transmitted, which are transmitted by the business server through a unified file transfer interface, wherein the file outgoing request carries file storage information and first associated party transmission information, the unified file transfer interface converts the file stream to be transmitted into a target file according to the file outgoing request, and sends the target file to the intranet area cloud storage server for storage according to the file storage information;
the file proxy server is used for receiving a file outgoing instruction sent by the service server, wherein the file outgoing instruction carries a target file identifier, and a target file stream corresponding to the target file identifier is obtained from the intranet area cloud storage server according to the file outgoing instruction;
the file proxy server is further configured to obtain the first associated party transmission information, determine a first target transmission mode according to the first associated party transmission information, and push a target file stream corresponding to the target file identifier to a target associated party in the first target transmission mode.
9. The system of claim 8, further comprising a file mediation server;
the file proxy server is further configured to send a file stream acquisition notification to the file intermediate server according to the file outgoing instruction, where the file stream acquisition notification carries the target file identifier;
the file intermediate server is used for reading a target file corresponding to the target file identifier from the intranet area cloud storage server in a file stream mode according to the target file identifier, obtaining the target file stream, and pushing the target file stream to the file proxy server.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201910295684.5A 2019-04-12 2019-04-12 File transmission method, system and storage medium Active CN110099104B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910295684.5A CN110099104B (en) 2019-04-12 2019-04-12 File transmission method, system and storage medium
PCT/CN2019/102534 WO2020206904A1 (en) 2019-04-12 2019-08-26 File transmission method and system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910295684.5A CN110099104B (en) 2019-04-12 2019-04-12 File transmission method, system and storage medium

Publications (2)

Publication Number Publication Date
CN110099104A CN110099104A (en) 2019-08-06
CN110099104B true CN110099104B (en) 2021-04-27

Family

ID=67444835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910295684.5A Active CN110099104B (en) 2019-04-12 2019-04-12 File transmission method, system and storage medium

Country Status (2)

Country Link
CN (1) CN110099104B (en)
WO (1) WO2020206904A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099104B (en) * 2019-04-12 2021-04-27 平安科技(深圳)有限公司 File transmission method, system and storage medium
CN110580244A (en) * 2019-09-12 2019-12-17 深圳乐信软件技术有限公司 file processing method and device, server and storage medium
CN110535977B (en) * 2019-09-29 2022-04-01 深圳市网心科技有限公司 File distribution method and device, computer device and storage medium
CN111031139A (en) * 2019-12-20 2020-04-17 深圳前海环融联易信息科技服务有限公司 Cross-domain file uploading method and device, electronic equipment and computer storage medium
CN111866087A (en) * 2020-06-29 2020-10-30 深圳壹账通智能科技有限公司 File processing method and device, storage medium and computer equipment
CN111818145B (en) * 2020-06-29 2021-03-23 苏州好玩友网络科技有限公司 File transmission method, device, system, equipment and storage medium
CN112671855B (en) * 2020-12-15 2023-08-25 中国建设银行股份有限公司 File transmission method and system
CN112653760B (en) * 2020-12-22 2023-03-24 平安银行股份有限公司 Cross-server file transmission method and device, electronic equipment and storage medium
CN113472781B (en) * 2021-06-30 2023-11-03 平安证券股份有限公司 Service acquisition method, server and computer readable storage medium
CN113542282A (en) * 2021-07-15 2021-10-22 曙光信息产业(北京)有限公司 Cross-computing center file transmission method, device, equipment and storage medium
CN114006755B (en) * 2021-10-29 2023-07-18 中国平安财产保险股份有限公司 Authentication method, system, device, equipment and storage medium for interface call permission
CN114124976A (en) * 2021-11-30 2022-03-01 北京中电普华信息技术有限公司 Service request processing system and method for realizing internal and external network penetration
CN114338650A (en) * 2021-12-23 2022-04-12 中电金信软件有限公司 File transmission method and device, electronic equipment and readable storage medium
CN114448974B (en) * 2022-01-13 2024-04-02 骤雨湾(武汉)技术服务有限公司 Remote file transmission method, device, equipment and storage medium
CN114448723A (en) * 2022-03-16 2022-05-06 成都思鸿维科技有限责任公司 Network access method and related device
CN114745367B (en) * 2022-03-25 2024-04-19 中国建设银行股份有限公司 Data transmission method, device, electronic equipment and storage medium
CN115348258A (en) * 2022-08-17 2022-11-15 中国建设银行股份有限公司贵州省分行 File transmission method, device and system and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843352A (en) * 2012-05-15 2012-12-26 广东电网公司茂名供电局 Cross-physical isolation data transparent transmission system and method between intranet and extranet
CN105530254A (en) * 2015-12-17 2016-04-27 浙江工业大学 Data communication method between internal and external networks
CN106936907A (en) * 2017-03-09 2017-07-07 腾讯科技(深圳)有限公司 A kind of document handling method, logical server, access server and system
CN109189826A (en) * 2018-08-14 2019-01-11 北京新广视通科技有限公司 A kind of government affairs service system based on big data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8510267B2 (en) * 2011-03-08 2013-08-13 Rackspace Us, Inc. Synchronization of structured information repositories
US10067780B2 (en) * 2015-10-06 2018-09-04 Cisco Technology, Inc. Performance-based public cloud selection for a hybrid cloud environment
CN107800713A (en) * 2017-11-10 2018-03-13 北京明朝万达科技股份有限公司 The secure exchange method and system of data between a kind of net
CN108881158A (en) * 2018-05-04 2018-11-23 北京明朝万达科技股份有限公司 Data interaction system and method
CN108897884A (en) * 2018-07-06 2018-11-27 郑州云海信息技术有限公司 A kind of data managing method and device based on cloud platform
CN110099104B (en) * 2019-04-12 2021-04-27 平安科技(深圳)有限公司 File transmission method, system and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843352A (en) * 2012-05-15 2012-12-26 广东电网公司茂名供电局 Cross-physical isolation data transparent transmission system and method between intranet and extranet
CN105530254A (en) * 2015-12-17 2016-04-27 浙江工业大学 Data communication method between internal and external networks
CN106936907A (en) * 2017-03-09 2017-07-07 腾讯科技(深圳)有限公司 A kind of document handling method, logical server, access server and system
CN109189826A (en) * 2018-08-14 2019-01-11 北京新广视通科技有限公司 A kind of government affairs service system based on big data

Also Published As

Publication number Publication date
WO2020206904A1 (en) 2020-10-15
CN110099104A (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN110099104B (en) File transmission method, system and storage medium
US11303431B2 (en) Method and system for performing SSL handshake
CN106549933B (en) Data transmission system and method of block chain
CN112686668A (en) Alliance chain cross-chain system and method
CN110535641B (en) Key management method and apparatus, computer device, and storage medium
CN104506483A (en) Method for encrypting and decrypting information and managing secret key as well as terminal and network server
CN109361663B (en) Method, system and device for accessing encrypted data
US20180063095A1 (en) Data encipherment prior to recipient selection
KR20180130203A (en) APPARATUS FOR AUTHENTICATING IoT DEVICE AND METHOD FOR USING THE SAME
AU2013269845A1 (en) Method for tracking a mobile device onto a remote displaying unit
CN113239403A (en) Data sharing method and device
CN114500064B (en) Communication security verification method and device, storage medium and electronic equipment
CN115334508A (en) Satellite short message communication method integrating authentication and encryption
CN111224958A (en) Data transmission method and system
CN104468074A (en) Method and equipment for authentication between applications
CN111064752B (en) Preset secret key sharing system and method based on public network
CN107995616B (en) User behavior data processing method and device
KR102219018B1 (en) Blockchain based data transmission method in internet of things
CN112217862A (en) Data communication method, device, terminal equipment and storage medium
KR20180138349A (en) IoT TERMINAL APPARATUS FOR GENERATING DYNAMIC SESSION KEY AND METHOD FOR USING THE SAME
CN115580415B (en) Data interaction authentication method, device and system in block chain
WO2023046177A1 (en) Unmanned aerial vehicle data encryption transmission method and apparatus, device, and storage medium
CN113420336B (en) Distributed predictor realization method and system
EA032424B1 (en) Method and system for determining that a sim and a sip client are co-located in the same mobile equipment
CN112751661B (en) Industrial field device privacy data protection method based on homomorphic encryption

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant