A method for secure file sharing

By obtaining the server status in the banking business system, selecting a suitable file sharing method and using identification codes and key pairs for verification, the security risks in bank cross-network file transmission are solved, and safe and reliable sharing and unification of files are achieved. The security protection improves the transmission efficiency and security.

CN115189956BActive Publication Date: 2024-10-22中原银行股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210842001.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2024-10-22
Estimated Expiration
2042-07-18

AI Technical Summary

Technical Problem

Banks face problems such as complex network environments and data security protection during cross-network file transmission. How to achieve secure file sharing under huge security risks has become an urgent need.

Method used

By obtaining the server status of the banking business system, select appropriate file security sharing methods, including uploading or downloading files to third-party servers, and using identification codes and key pairs for verification and security scanning to avoid operation and maintenance complexity and potential security risks. , using synchronous and asynchronous upload and download mechanisms to build a unified file sharing platform to improve docking efficiency and security protection.

Benefits of technology

It realizes the safe and reliable sharing of files in the banking business system, avoids illegal theft and monitoring of the network, reduces the complexity of operation and maintenance, provides unified security protection and speed limit strategies, and improves the efficiency and security of file sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115189956B_ABST
    Figure CN115189956B_ABST
Patent Text Reader

Abstract

The present invention provides a method for secure file sharing, which is applied to a banking business system; the method comprises: obtaining the status of a server of a business object of the banking business system; selecting a method for secure file sharing according to the status of the server of the business object, the method comprising: uploading files to a third-party server and / or downloading files to respond to the file needs of the business object; through the method of the present invention, the needs of the business object for shared files can be met through cross-network file transmission in the face of problems and challenges such as complex network environment, multiple transmission scenarios, and data security protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of Internet security, and in particular relates to a file security sharing method. Background Art

[0002] At present, when banks carry out various businesses, they usually need to transfer files across the network with branches and third-party institutions. For example, reconciliation files, end-of-day files, account information, transaction information, etc. need to be transmitted over the network. In actual business, there are problems and challenges such as complex network environment, multiple transmission scenarios, and data security protection. How to achieve secure file sharing in the case of huge security risks on the network has also become an urgent problem to be solved. Summary of the invention

[0003] In view of the above problems existing in the prior art, the present invention provides a safe and reliable file sharing method that can be quickly implemented across networks.

[0004] To achieve the above purpose, the technical solution adopted by the embodiment of the present invention is:

[0005] A file security sharing method is provided, which is applied to a banking business system; the method comprises: obtaining the status of a server of a business object of the banking business system; and selecting a file security sharing method according to the status of the server of the business object, the method comprising: uploading files to a third-party server and / or downloading files to respond to the file demand of the business object.

[0006] In some embodiments of the present disclosure, the uploaded files include synchronous uploaded files and asynchronous uploaded files; the downloaded files include synchronous downloaded files and asynchronous downloaded files.

[0007] In some embodiments of the present disclosure, the synchronous uploading of files includes the following steps:

[0008] Step 1: The banking system uploads the file to the file storage terminal;

[0009] Step 2: the file storage end responds to the upload result and sends the file storage address to the banking system end;

[0010] Step 3: Based on the file transfer request of the business object, the bank business system sends the identification code of the business object and the storage address of the file corresponding to the file transfer request to the bank file transfer terminal;

[0011] Step 4: the bank file transmission end verifies the identification code and the file speed limit; when the verification result is yes, the bank file transmission end downloads the file corresponding to the file transmission request from the file storage end;

[0012] Step 5: the file storage terminal responds to the download request of the bank file transmission terminal and returns the file corresponding to the download request to the bank file transmission terminal; the bank file transmission terminal stores the file locally;

[0013] Step 6: Based on the address of the third-party server mapped by the identification code, the bank file transmission terminal logs into the third-party server and uploads the file to the third-party server;

[0014] Step 7: The third-party server responds to the upload result and sends the upload result to the bank file transmission terminal;

[0015] Step eight, the bank file transmission end responds to the upload result and returns the upload result to the banking business system end.

[0016] In some embodiments of the present disclosure, the file transfer request based on the business object, the banking business system end sends the identification code of the business object and the storage address of the file corresponding to the file transfer request to the bank file transfer end, and also includes: the banking business system end sends the FTP directory information of the third-party server to the bank file transfer end.

[0017] In some embodiments of the present disclosure, the asynchronous file uploading comprises the following steps:

[0018] Step 1: The banking system uploads the file to the file storage terminal;

[0019] Step 2: the file storage end responds to the upload result and sends the file storage address to the banking system end;

[0020] Step 3: Based on the file transfer request of the business object, the bank business system sends the identification code of the business object and the file storage address corresponding to the file transfer request to the bank file transfer terminal;

[0021] Step 4: the bank file transmission end verifies the identification code and the file speed limit; when the verification result is yes, the bank file transmission end submits the file upload request to the file transmission service thread pool, and after generating an asynchronous message identifier, the bank file transmission end responds to the file upload request of the bank business system end, and sends the file upload acceptance information and the asynchronous message identifier to the bank business system end;

[0022] Step 5: the bank file transmission end downloads the file corresponding to the file transmission request from the file storage end;

[0023] Step 6: the file storage terminal returns the file to the bank file transmission terminal, and the bank file transmission terminal stores the file locally;

[0024] Step 7: Based on the third-party server address mapped by the identification code, the bank file transmission terminal logs into the third-party server and uploads the file to the third-party server;

[0025] Step 8: The third-party server responds to the upload result and sends the upload result to the bank file transmission terminal;

[0026] Step nine, the bank file transmission end sends the upload result and the asynchronous message identifier to the bank message queue end;

[0027] Step ten, the banking service system monitors the message on the bank message queue, and obtains the upload result when the message matches the asynchronous message identifier.

[0028] In some embodiments of the present disclosure, the file transfer request based on the business object, the banking business system end sends the identification code of the business object and the file storage address corresponding to the file transfer request to the bank file transfer end, and also includes: the banking business system end sends the FTP directory information of the third-party server to the bank file transfer end.

[0029] In some embodiments of the present disclosure, the synchronous downloading of files comprises the following steps:

[0030] Step 1: The bank business system end calls the file download interface of the bank file transmission end, and sends the identification code of the business object and the file information of the file to be downloaded to the bank file transmission end;

[0031] Step 2: the bank file transmission terminal verifies the identification code and the file speed limit. When the verification result is yes, the bank file transmission terminal logs into the third-party server and downloads the file.

[0032] Step 3: The third-party server transmits the response file information to the bank file transmission terminal, and the bank file transmission terminal stores the file locally;

[0033] Step 4: the bank file transmission terminal performs a security scan on the file. After passing the security scan, the bank file transmission terminal uploads the file to the file storage terminal;

[0034] Step 5, the file storage terminal sends the file storage address to the bank file transmission terminal;

[0035] Step 6, the bank file transmission end sends the storage address to the banking service system end;

[0036] Step 7: Based on the storage address, the banking service system end downloads the file from the file storage end;

[0037] Step eight, the file storage end sends a response to the file download result to the banking service system end.

[0038] In some embodiments of the present disclosure, the banking business system end calls the file download interface of the bank file transfer end, and sends the identification code of the business object and the file information of the file to be downloaded to the bank file transfer end, and also includes: the banking business system end sends the FTP directory information of the third-party server to the bank file transfer end.

[0039] In some embodiments of the present disclosure, the asynchronous downloading of files includes the following steps:

[0040] Step 1: The bank business system end calls the file download interface of the bank file transmission end, and sends the identification code of the business object, the file storage directory, and the file information of the file to be downloaded to the bank file transmission end;

[0041] Step 2: the bank file transmission end verifies the identification code and the file speed limit; when the verification result is yes, the bank file transmission end submits the file download request to the file download service thread pool, and after generating an asynchronous message identifier, the bank file transmission end responds to the file download request of the bank business system end, and sends the file download acceptance information and the asynchronous message identifier to the bank business system end;

[0042] Step 3: Based on the identification code of the business object, the bank file transmission terminal logs into the third-party server and downloads the file based on the file storage directory;

[0043] Step 4: The third-party server sends the response file information to the bank file transmission terminal, and the bank file transmission terminal saves the file locally;

[0044] Step 5: the bank file transmission terminal performs a security scan on the file. When the security scan result is yes, the file is stored in the file storage terminal and the file storage address is obtained;

[0045] Step 6, the file storage terminal transmits the file storage address to the bank file transmission terminal;

[0046] Step 7, the bank file transmission end sends the asynchronous message identifier and the file storage address to the bank message queue end;

[0047] Step 8, the banking service system end monitors the download queue message of the bank message queue end, and when the download queue message matches the asynchronous message identifier, obtains the upload result information and the file storage address;

[0048] Step nine, the banking service system end downloads the file corresponding to the file storage address from the file storage end;

[0049] Step 10: the file storage end sends the response file download result to the banking business system end.

[0050] Compared with the prior art, the beneficial effects of the present invention are:

[0051] Through the file security sharing method of the present invention, when obtaining the status of the server of the business object, the file security sharing method is selected according to the status of the server, thereby avoiding the operation and maintenance complexity and potential security risks caused by the bank providing an SFTP server; and through key pairs, SFTP and other methods, it is effectively avoided that the file is illegally stolen or monitored by the network during the implementation of file sharing.

[0052] By building a unified file sharing platform, the bank's business systems can be easily and quickly accessed in a configured manner, improving the efficiency of file sharing between business systems and business objects, and providing unified security protection and speed limit strategies. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In the drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The same reference numerals with letter suffixes or different letter suffixes may represent different instances of similar parts. The accompanying drawings generally illustrate various embodiments by way of example and not limitation, and together with the specification and claims, are used to illustrate the disclosed embodiments. When appropriate, the same reference numerals are used throughout the drawings to refer to the same or similar parts. Such embodiments are illustrative and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.

[0054] Figure 1 A flowchart of a method for secure file sharing according to an embodiment of the present invention;

[0055] Figure 2 It is a timing diagram of synchronously uploading files in the file security sharing method of an embodiment of the present invention;

[0056] Figure 3 A flowchart of synchronously uploading files in a method for secure file sharing according to an embodiment of the present invention;

[0057] Figure 4This is a timing diagram of asynchronously uploading files in the secure file sharing method according to an embodiment of the present invention;

[0058] Figure 5 A flowchart of asynchronously uploading files in a secure file sharing method according to an embodiment of the present invention;

[0059] Figure 6 It is a timing diagram of synchronously downloading files in the file security sharing method of an embodiment of the present invention;

[0060] Figure 7 A flowchart of synchronously downloading files in a method for secure file sharing according to an embodiment of the present invention;

[0061] Figure 8 It is a timing diagram of asynchronously downloading files in the secure file sharing method of an embodiment of the present invention;

[0062] Fig. 9 The present invention is a flowchart of asynchronously downloading files in the secure file sharing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0063] Below, the specific embodiments of the present invention are described in detail in conjunction with the accompanying drawings, but they are not intended to limit the present invention. In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Below, the embodiments of the present invention are further described in detail in conjunction with the accompanying drawings and specific implementation methods, but they are not intended to limit the present invention.

[0064] All terms (including technical terms or scientific terms) used in the present disclosure have the same meanings as those understood by ordinary technicians in the field to which the present disclosure belongs, unless otherwise specifically defined. It should also be understood that terms defined in general dictionaries, such as general dictionaries, should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined herein.

[0065] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0066] At present, when banks carry out various businesses, they usually need to transfer files across the network with branches and third-party institutions. For example, reconciliation files, end-of-day files, account information, transaction information, etc. need to be transmitted over the network. In actual business, there are problems and challenges such as complex network environment, multiple transmission scenarios, and data security protection. How to achieve secure file sharing in the case of huge security risks in the network has also become an urgent problem to be solved. To this end, the present invention provides the following concept.

[0067] The design concept is: the business system within the bank initiates the upload or download of files to a third party. At this time, the third party needs to provide an FTP / SFTP server, and the file transfer service performs related file operations by logging into the FTP / SFTP server. The bank itself does not provide FTP / SFTP to the outside world, which can effectively avoid unnecessary risks caused by key leakage during use by third parties.

[0068] The file transfer service is configured based on different scenarios corresponding to upload and download. The configuration parameters mainly include the in-bank business system code, the address and username and password of the third-party server, speed limit, whether to transmit asynchronously, whether to use a key pair, etc. The above configuration is associated with a unique identification code (GroupID). When the in-bank business system calls the file transfer service to download a file, it shields other configuration details by passing the identification code. A brief introduction to different scenarios is also given here. For example, in scenario one, the bank file transfer end logs in to the third-party server and initiates a file download operation. For the third-party server, it is responding to the bank file transfer end with the file; in scenario two, the bank file transfer end or the bank business system end accesses the bank file storage end, and the bank file storage end responds to the request. This is also a specific application scenario for the response file. Correspondingly, the response download result corresponding to scenario 1 can be to just notify the bank file transfer end (caller) of the download result, whether it is success or failure. If it is successful (i.e., the download of the file is completed, and the file download process is guaranteed to be safe and reliable, and the downloaded file is complete), the relevant information such as the file path will be notified to the bank business system (client). If the download fails, the reason for the failure will be notified to the bank business system. So far, the following technical solution is constructed based on the above application scenarios and corresponding design concepts.

[0069] The present invention provides a method for secure file sharing. Figure 1 , the method is applied to a banking system; the method comprises:

[0070] Step S001, obtaining the status of the server of the business object of the banking business system;

[0071] Step S002, according to the status of the server of the business object, select a file security sharing method, which includes: uploading files to a third-party server and / or downloading files to respond to the file demand of the business object.

[0072] In this embodiment, the status of the server of the business object includes deactivated, disabled, unavailable or inaccessible state, that is, the business object cannot provide an effective and secure server for uploading and / or downloading files at least in the current state of the business, and then the banking business system implements a corresponding processing method for this state so that the business can proceed normally in a safe and reliable manner. In the embodiment of the present invention, since the banking business system does not directly provide a server for sharing files, such as an SFTP server, the operation and maintenance complexity and potential security risks caused by the provision of an SFTP server on the banking business system side are avoided; and the illegal theft or monitoring by the network during the implementation of file sharing is effectively avoided through key pairing.

[0073] In one embodiment of the present invention, the uploaded files include synchronous uploaded files and asynchronous uploaded files; the downloaded files include synchronous downloaded files and asynchronous downloaded files. The specific upload and download process steps will be described in detail below.

[0074] It should be noted that the file security sharing method of the embodiment of the present invention is implemented based on standard protocols. The standard network protocols supported by the file sharing method include: FTP, SFTP, but not limited to these. It covers the current mainstream protocols to the maximum extent, and can be compatible with more business objects, facilitating the implementation of a universal and secure file sharing solution for business development.

[0075] In one embodiment of the present invention, Figure 2 and Figure 3 , the synchronous uploading of files includes the following steps:

[0076] Step 1 S101, the banking system uploads the file to the file storage end; here, the storage medium of the file storage end can be selected according to the banking technology stack, such as object storage (Object-based Storage), NAS, etc. Object storage and NAS both belong to the new network storage architecture.

[0077] Object storage is a computer data storage architecture that manages data as objects, in contrast to other storage architectures such as file systems, which manage data as a hierarchy of files, and block storage, which manages data as blocks within blocks and sectors. Each object typically consists of the data itself, a variable amount of metadata, and a globally unique identifier.

[0078] Object storage can be implemented at multiple levels, including the device level (object storage device), the system level, and the interface level. In each case, object storage attempts to achieve functions that other storage architectures cannot solve. For example, interfaces that can be directly programmed through applications, namespaces that span multiple physical hardware instances, and data management functions such as data replication and data distribution at the object level granularity. Compared with databases, which are technologies for storing structured data, object storage is mainly aimed at storing large amounts of unstructured data, and the daily operations of banks are all unstructured data. These daily generated data are suitable for storage in object storage. In particular, object storage provides massive, secure, low-cost, and highly reliable cloud storage services by using the current mainstream cloud storage. Further, the device based on object storage technology is the object storage device (Object-based Storage Device), referred to as OSD. NAS storage uses NFS or CIFS command sets to access data, uses files as the transmission protocol, and implements network storage through TCP / IP. It has the advantages of good scalability, low price, and easy management by users. For example, the NFS file system is currently widely used in cluster computing.

[0079] Step 2 S102, the file storage end responds to the upload result and sends the file storage address to the banking system end;

[0080] Step three S103, based on the file transfer request of the business object, the bank business system end sends the identification code of the business object and the storage address of the file corresponding to the file transfer request to the bank file transfer end; further, step three also includes: the bank business system end sends the FTP directory information of the third-party server to the bank file transfer end; in this embodiment, the file transfer request also includes information for uploading the file to the third-party server.

[0081] Step 4 S104, the bank file transfer end verifies the identification code and file speed limit; when the verification result is yes, the bank file transfer end downloads the file corresponding to the file transfer request from the file storage end; in this embodiment, Redis is used to make a global file sharing speed limit strategy, the same below; in step 4, the identification code is verified for the sake of safety. Since banking business mainly involves financial business transactions and user personal privacy, necessary verification is required for security and to prevent the leakage of relevant information, and different levels of verification are performed according to the division of information security levels, which not only ensures security, but also does not hinder the speed of operating data. The main purpose of verifying the file speed limit is based on service overload protection to avoid system crashes due to overload during the process of uploading or downloading files, or due to individual users occupying the network channel for a long time, hindering other customers from performing related data operations.

[0082] Step 5 S105, the file storage terminal responds to the download request of the bank file transmission terminal and returns the file corresponding to the download request to the bank file transmission terminal; the bank file transmission terminal stores the file locally;

[0083] Step 6 S106, based on the address of the third-party server mapped by the identification code, the bank file transmission terminal logs into the third-party server and uploads the file to the third-party server;

[0084] Step 7 S107, the third-party server responds to the upload result and sends the upload result to the bank file transmission terminal;

[0085] Step eight S108, the bank file transmission end responds to the upload result and returns the upload result to the banking business system end.

[0086] In one embodiment of the present invention, Figure 4 and Figure 5 , the asynchronous file uploading comprises the following steps:

[0087] Step 1 S201, the banking system uploads the file to the file storage end;

[0088] Step 2 S202, the file storage end responds to the upload result and sends the file storage address to the banking business system end;

[0089] Step 3 S203, based on the file transfer request of the business object, the bank business system sends the identification code of the business object and the file storage address corresponding to the file transfer request to the bank file transfer end; further, step 3 also includes: the bank business system sends the FTP directory information of the third-party server to the bank file transfer end. In this embodiment, the file transfer request also includes information for uploading the file to the third-party server.

[0090] Step 4 S204, the bank file transmission end verifies the identification code and the file speed limit; when the verification result is yes, the bank file transmission end submits the file upload request to the file transmission service thread pool, and after generating an asynchronous message identifier, the bank file transmission end responds to the file upload request of the bank business system end, and sends the file upload acceptance information and the asynchronous message identifier to the bank business system end;

[0091] Step 5 S205, the bank file transmission end downloads the file corresponding to the file transmission request from the file storage end;

[0092] Step 6 S206, the file storage end returns the file to the bank file transmission end, and the bank file transmission end stores the file locally;

[0093] Step 7 S207, based on the third-party server address mapped by the identification code, the bank file transmission terminal logs into the third-party server and uploads the file to the third-party server;

[0094] Step eight S208, the third-party server responds to the upload result and sends the upload result to the bank file transmission terminal;

[0095] Step nine S209, the bank file transfer end sends the upload result and the asynchronous message identifier to the bank message queue end; in this step, the bank message queue end can select the corresponding message queue according to the bank technology stack, such as Kafka, rabbitmq, etc. Among them, Kafka is an open source stream processing platform developed by the Apache Software Foundation. It is a high-throughput distributed publish-subscribe message system that can process all action stream data of consumers on the website. This action (including web browsing, searching and other user actions) is a key factor in many social functions on the modern network. Related data is usually solved by processing logs and log aggregation due to throughput requirements. The purpose of Kafka is to unify online and offline message processing through Hadoop's parallel loading mechanism, and to provide real-time messages through clusters. In particular, it can solve the problem of message blocking or service inaccessibility due to various defects.

[0096] RabbitMQ is an open source message broker software that implements the Advanced Message Queuing Protocol (AMQP). It is scalable and used for cluster services. It also has message persistence, which can persist messages from memory to hard disk and then load them from hard disk to memory.

[0097] Step 10 S210, the banking service system monitors the message of the bank message queue, and obtains the upload result when the message matches the asynchronous message identifier.

[0098] In one embodiment of the present invention, Figure 6 and Figure 7 , the synchronous downloading of files comprises the following steps:

[0099] Step 1 S301, the bank business system end calls the file download interface of the bank file transfer end, and sends the identification code of the business object and the file information of the file to be downloaded to the bank file transfer end; further, step 1 also includes: the bank business system end sends the FTP directory information of the third-party server to the bank file transfer end; in this embodiment, the file information may include: file name, file size, file address, etc., which can be adjusted according to the requirements of the business object and the bank business system, and is not limited here. Here, the file information includes the FTP directory and file name of the third party outside the bank, and the included information can also be adjusted accordingly according to different application scenarios.

[0100] Step 2 S302, the bank file transmission terminal verifies the identification code and the file speed limit. When the verification result is yes, the bank file transmission terminal logs into the third-party server and downloads the file;

[0101] Step 3 S303, the third-party server transmits the response file information to the bank file transmission terminal, and the bank file transmission terminal stores the file locally;

[0102] Step 4 S304, the bank file transmission end performs a security scan on the file. After passing the security scan, the bank file transmission end uploads the file to the file storage end. In this embodiment, different security tools can be selected according to the technology stack, for example, by using clamAv open source software to perform file security scan, the same below;

[0103] Step 5 S305, the file storage terminal sends the file storage address to the bank file transmission terminal;

[0104] Step 6 S306, the bank file transmission end sends the storage address to the banking service system end;

[0105] Step 7 S307, based on the storage address, the banking system end downloads the file from the file storage end;

[0106] Step eight S308, the file storage end sends a response to the file download result to the banking business system end.

[0107] In one embodiment of the present invention, Figure 8 and Fig. 9 , the asynchronous downloading of files comprises the following steps:

[0108] Step 1 S401, the bank business system end calls the file download interface of the bank file transmission end, and sends the identification code of the business object, the file storage directory, and the file information of the file to be downloaded to the bank file transmission end;

[0109] Step 2 S402, the bank file transmission end verifies the identification code and the file speed limit; when the verification result is yes, the bank file transmission end submits the file download request to the file download service thread pool, and after generating an asynchronous message identifier, the bank file transmission end responds to the file download request of the bank business system end, and sends the file download acceptance information and the asynchronous message identifier to the bank business system end;

[0110] Step 3 S403, based on the identification code of the business object, the bank file transmission terminal logs into the third-party server and downloads the file based on the file storage directory;

[0111] Step 4 S404, the third-party server sends the response file information to the bank file transmission terminal, and the bank file transmission terminal saves the file locally;

[0112] Step 5 S405, the bank file transmission terminal performs a security scan on the file, and when the security scan result is yes, stores the file in the file storage terminal and obtains the file storage address;

[0113] Step 6 S406, the file storage terminal transmits the file storage address to the bank file transmission terminal;

[0114] Step 7 S407, the bank file transmission end sends the asynchronous message identifier and the file storage address to the bank message queue end;

[0115] Step eight S408, the banking system monitors the download queue message of the bank message queue, and when the download queue message matches the asynchronous message identifier, obtains the upload result information and the file storage address; when the match is successful, it indicates that the file download has been completed.

[0116] Step nine S409, the banking service system end downloads the file corresponding to the file storage address from the file storage end;

[0117] Step 10 S410: the file storage end sends the response file download result to the banking business system end.

[0118] In addition, although illustrative embodiments are described herein, the scope includes any and all embodiments having equivalent elements, modifications, omissions, combinations (e.g., combinations of schemes across various embodiments), adjustments, or variations based on the present disclosure. The elements in the claims are to be interpreted broadly based on the language used in the claims and are not limited to the examples described in this specification or during the continuation of this application. In addition, the steps of the disclosed methods may be modified in any way, including by reordering steps or inserting or deleting steps. Therefore, it is intended that the description be viewed merely as an example, with the true scope being represented by the following claims and their full range of equivalents.

[0119] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more aspects thereof) can be used in combination with each other. After reading the above description, other embodiments may be used by a person of ordinary skill in the art, for example. Moreover, in the above detailed description, various features may be combined together to simplify the present disclosure. This should not be interpreted as intending that the disclosed features that are not requested for protection are essential to any claim. Therefore, the following claims are incorporated into the specific implementation as examples or embodiments, wherein each claim itself is a separate embodiment, and it can be expected that these embodiments can be combined with each other in various combinations or permutations. The scope of the present invention should be determined with reference to the attached claims and the full scope of equivalents given by these claims.

Claims

1. A method for secure file sharing, characterized in that: Applied to a banking system; the method comprises: Get the server status of the business object of the banking system; According to the status of the server of the business object, a method of secure file sharing is selected, the method including: uploading files to a third-party server and / or downloading files to respond to the file demand of the business object; The uploaded files include synchronously uploaded files, and the synchronously uploaded files include: Step 1: The banking system uploads the file to the file storage terminal; Step 2: the file storage end responds to the upload result and sends the file storage address to the banking system end; Step 3: Based on the file transfer request of the business object, the bank business system sends the identification code of the business object and the storage address of the file corresponding to the file transfer request to the bank file transfer terminal; Step 4: the bank file transmission end verifies the identification code and the file speed limit; when the verification result is yes, the bank file transmission end downloads the file corresponding to the file transmission request from the file storage end; Step 5: the file storage terminal responds to the download request of the bank file transmission terminal and returns the file corresponding to the download request to the bank file transmission terminal; the bank file transmission terminal stores the file locally; Step 6: Based on the address of the third-party server mapped by the identification code, the bank file transmission terminal logs into the third-party server and uploads the file to the third-party server; Step 7: The third-party server responds to the upload result and sends the upload result to the bank file transmission terminal; Step 8, the bank file transmission end responds to the upload result and returns the upload result to the bank business system end; The configuration parameters for synchronous upload include at least: banking system code, third-party server address and user name and password, speed limit, whether asynchronous transmission is used, and whether a key pair is used. The configuration parameters are associated with a unique identification code.

2. The method according to claim 1, characterized in that The file uploading also includes asynchronous file uploading; The download files include synchronous download files and asynchronous download files.

3. The method according to claim 1, characterized in that The file transfer request based on the business object, the bank business system end sends the identification code of the business object and the storage address of the file corresponding to the file transfer request to the bank file transfer end, and also includes: the bank business system end sends the FTP directory information of the third-party server to the bank file transfer end.

4. The method according to claim 2, characterized in that: The asynchronous file upload comprises the following steps: Step 1: The banking system uploads the file to the file storage terminal; Step 2: the file storage end responds to the upload result and sends the file storage address to the banking system end; Step 3: Based on the file transfer request of the business object, the bank business system sends the identification code of the business object and the file storage address corresponding to the file transfer request to the bank file transfer terminal; Step 4: the bank file transmission end verifies the identification code and the file speed limit; when the verification result is yes, the bank file transmission end submits the file upload request to the file transmission service thread pool, and after generating an asynchronous message identifier, the bank file transmission end responds to the file upload request of the bank business system end, and sends the file upload acceptance information and the asynchronous message identifier to the bank business system end; Step 5: the bank file transmission end downloads the file corresponding to the file transmission request from the file storage end; Step 6: the file storage terminal returns the file to the bank file transmission terminal, and the bank file transmission terminal stores the file locally; Step 7: Based on the third-party server address mapped by the identification code, the bank file transmission terminal logs into the third-party server and uploads the file to the third-party server; Step 8: The third-party server responds to the upload result and sends the upload result to the bank file transmission terminal; Step nine, the bank file transmission end sends the upload result and the asynchronous message identifier to the bank message queue end; Step ten, the banking service system monitors the message on the bank message queue, and obtains the upload result when the message matches the asynchronous message identifier.

5. The method according to claim 4, characterized in that The file transfer request based on the business object, the bank business system end sends the identification code of the business object and the file storage address corresponding to the file transfer request to the bank file transfer end, and also includes: the bank business system end sends the FTP directory information of the third-party server to the bank file transfer end.

6. The method according to claim 2, characterized in that The synchronous downloading of files comprises the following steps: Step 1: The bank business system end calls the file download interface of the bank file transmission end, and sends the identification code of the business object and the file information of the file to be downloaded to the bank file transmission end; Step 2: the bank file transmission terminal verifies the identification code and the file speed limit. When the verification result is yes, the bank file transmission terminal logs into the third-party server and downloads the file. Step 3: The third-party server transmits the response file information to the bank file transmission terminal, and the bank file transmission terminal stores the file locally; Step 4: the bank file transmission terminal performs a security scan on the file. After passing the security scan, the bank file transmission terminal uploads the file to the file storage terminal; Step 5, the file storage terminal sends the file storage address to the bank file transmission terminal; Step 6, the bank file transmission end sends the storage address to the banking service system end; Step 7: Based on the storage address, the banking service system end downloads the file from the file storage end; Step eight, the file storage end sends a response to the file download result to the banking service system end.

7. The method according to claim 6, characterized in that The bank business system end calls the file download interface of the bank file transfer end, and sends the identification code of the business object and the file information of the file to be downloaded to the bank file transfer end, and also includes: the bank business system end sends the FTP directory information of the third-party server to the bank file transfer end.

8. The method according to claim 2, characterized in that: The asynchronous downloading of files comprises the following steps: Step 1: The bank business system end calls the file download interface of the bank file transmission end, and sends the identification code of the business object, the file storage directory, and the file information of the file to be downloaded to the bank file transmission end; Step 2: the bank file transmission end verifies the identification code and the file speed limit; when the verification result is yes, the bank file transmission end submits the file download request to the file download service thread pool, and after generating an asynchronous message identifier, the bank file transmission end responds to the file download request of the bank business system end, and sends the file download acceptance information and the asynchronous message identifier to the bank business system end; Step 3: Based on the identification code of the business object, the bank file transmission terminal logs into the third-party server and downloads the file based on the file storage directory; Step 4: The third-party server sends the response file information to the bank file transmission terminal, and the bank file transmission terminal saves the file locally; Step 5: the bank file transmission terminal performs a security scan on the file. When the security scan result is yes, the file is stored in the file storage terminal and the file storage address is obtained; Step 6, the file storage terminal transmits the file storage address to the bank file transmission terminal; Step 7, the bank file transmission end sends the asynchronous message identifier and the file storage address to the bank message queue end; Step 8, the banking service system end monitors the download queue message of the bank message queue end, and when the download queue message matches the asynchronous message identifier, obtains the upload result information and the file storage address; Step nine, the banking service system end downloads the file corresponding to the file storage address from the file storage end; Step 10: the file storage end sends the response file download result to the banking business system end.